Files
DrRac27 a5a7883caa device-oneplus-enchilada: charge in initramfs
If your enchilada turns off because the battery is drained and you plug
it in and walk away you will come back to a phone that is still empty
(at least with FDE). With these modules running in the initramfs
charging works. I verified this by pressing the Volume-Down while
booting and in the debug shell I typed:

$ cat /sys/class/power_supply/bq27411-0/current_now

... which returns a negative number while unplugged and a number close
to but below 1500000 if plugged in.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/9201>
2026-08-05 20:54:36 +00:00
..