Doesn't work on samsung-i9100
Created by: ollieparanoid
It couldn't detect the charging mode for the samsung-i9100
when I've tested it yesterday. The kernel command line is always the same, no matter if it should enter charging mode or not:
console=ttySAC2,115200 consoleblank=0 androidboot.hardware=smdk4210 loglevel=4 console=ram androidboot.serialno=00099991717777e sec_debug.enable=0 sec_debug.enable_user=0 c1_watchdog.sec_pet=5 sec_log=0x100000@0x4d900000 s3cfb.bootloaderfb=0x5ec00000 ld9040.get_lcdtype=0x0 consoleblank=0 lpj=3981312 vmalloc=144m
@drebrez wrote in https://github.com/postmarketOS/pmbootstrap/issues/1081#issuecomment-370619092
I've downloaded the lineage os kernel for the
samsung-i9100
, extracted the initramfs and the internalboot.cpio
. Inside the init executable I've found this line/sys/class/power_supply/battery/batt_lp_charging
, maybe they check that right at the beginning to decide if they have to go in charge mode or not. Can you check what's the value inside that file? With and without the usb connected?
Sure!
- With USB connected:
1
- Without USB connected:
0