Files
pmaports-rtwo/device/community/device-oneplus-enchilada/modules-initfs
T
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

9 lines
111 B
Plaintext

bq27xxx_battery_i2c
bq27xxx_battery
i2c_qcom_geni
rmi_core
rmi_i2c
qcom_spmi_haptics
qcom_spmi_rradc
qcom_smbx