tdm
Well-known member
I tried with no luck, phone still boots up as soon as you plug it in, but I'm not sure I have everything necessary:
commit:95e3f4ca
I did a bit of sleuthing...
The stock initrd contains only one reference to chargerlogo, and that is in the init binary:
boot.img-ramdisk$ find . -type f | xargs grep chargerlogo
Binary file ./init matches
boot.img-ramdisk$
Looks like the sources to this are system/core/init/init.c (in IHO). Of course there are no references to chargerlogo there because this is surely an LG specific change. I looked in the LG VM670 code drop and they don't appear to have published their changes to system/core at all. The only init.c is in oprofile, which is obviously not the droid we're looking for.
So it seems that to get this working, we either need to ask LG for their changes to system/core (politely), or find the mechanism that it uses and modify it ourselves. I'll poke around a bit more and see if I can figure out the mechanism.