add oneplus6 firmware stuff to todo and update readme

This commit is contained in:
Bit Borealis 2023-03-31 21:33:05 +00:00
parent 38cdc5c69c
commit 5fd85168d9
Signed by: theotheroracle
GPG Key ID: 2D816A2DCA6E5649
2 changed files with 14 additions and 2 deletions

View File

@ -6,8 +6,7 @@ to check for syntax errors, run `nix repl replEval.nix` and once inside the repl
check for syntax errors
# Setup for not nixos
Install nix on your system following the instructions here:
https://nixos.org/download.html
Install nix on your system following the instructions [here.](https://nixos.org/download.html)
Add the nixos 22.11 channel to your system, since we're basing on the latest stable branch for now.
`nix-channel --add https://nixos.org/channels/nixos-22.11 nixos`

13
TODO.md
View File

@ -21,3 +21,16 @@ https://nixos.wiki/wiki/Nixpkgs/Create_and_debug_packages
https://rycee.gitlab.io/home-manager/options.html#opt-programs.fish.enable
- firejail
- git config
> bitborealis: in the oneplus 6 the sensors area connected to a separate low power processor
Some people are trying to write drivers for communicating with it but its still WIP
https://lore.kernel.org/lkml/20230330164633.117335-1-me@dylanvanassche.be/
> well, I'd assume a sane kernel driver for a wired headset would expose an iio device, just as a sane driver for the i2c IMU
though with oneplus6 you can't access that i2c master because it's locked out from Linux and you don't actually own the device in the sense that you could change that
> android uses NIH qcom-specific protocol to talk to a different cpu core that runs singed fw and can access the i2c master
bitborealis: you can flash anything you want, yes, but if it's not signed with a private key you don't have it won't boot
boot.img being an exception, assuming you have "unlocked bootloader"