gsstudios / initramfs3

initramfs for Dorimanx Kernel for Stock 4.1.2, JB AOSP roms, KK, LP and MM roms.
https://gsstudios.github.io
4 stars 4 forks source link

Battery charging animation only appears once and never appears again after dissappearing #3

Open gsstudios opened 8 years ago

gsstudios commented 8 years ago

Project commencement: January 20th 2016

Project Status: Paused. Not my top priority.

Things to do:

ETA: Dunno.

gsstudios commented 8 years ago

@Lysergic-Acid @chhapil

Any idea what could be the issue?

gsstudios commented 8 years ago

b020 doesn't solve the issue even after updating most parts of the ramdisk

CaioSchnepper commented 8 years ago

maybe selinux is joking on you?

gsstudios commented 8 years ago

It's possible. I'll see if it makes a difference with selinux enabled (after fixing all of the build errors first)

gsstudios commented 8 years ago

Edit: All findings didn't fix the charging issue. Back to the drawing board :)

gsstudios commented 8 years ago

Gustavo kernel had no problem with charging animation.

Possible reasons:

Kernel areas/files of interest:

gsstudios commented 8 years ago

I have a new idea now. I'll copy the charger binary from CM13 ramdisk and hope for the best :)

Marshmallow kernel seemed to have charging animation restored :)

For reference: https://github.com/gsstudios/initramfs3/issues/21

gsstudios commented 8 years ago

Solved! Replacing the symlink with the proper binary worked fine. Tested on CM12.1 official nightly :)

gsstudios commented 8 years ago

Previous fix seems to only work on initial boot. Back to the drawing board!