/init battery drain problem solved BUG in system binaries
*EDIT*: The problem was solved with the April update of NOS, but maybe it is a good hint for future problems with /init draining battery anyway...
Any findings so far? I'm facing the same problem, stock kernel, firmware v35?
/init is keeping the phone awake
As mentioned above, according to BBS process /init starts draining the battery even in flight mode.
In dmesg, a lot of these errors occured:
Code:
[45045.222289] init: cannot execve('/system/bin/dpmd'): Exec format error
[45050.218719] init: cannot execve('/vendor/bin/msm_irqbalance'): Exec format error
I found
this where
justandy32 found a solution for the problem:
- /system/bin/dpmd
- /vendor/bin/msm_irqbalance
are corrupted which leads to the error. One will need to remove the first line of the binaries which contains the text
WARNING: linker Warning: unable to normalize "null" , be careful not to use a normal text editor, I used this command on a linux computer, terminal in twrp would do also I think:
where filename is the dpmd or msm_irqbalance binary.
After that I had to chmod 755 both files again and change GID to 2000 shell, I did this with Total Commander.
For convenience I added both repaired binaries as a zip file to this post.
Of course, root is necessary for all of this! :laugh:
Curious if this bug is already corrected in the next update.
Thanks for sharing this ROM I use as a daily driver!