• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Root [H631/MS631] CyanogenMod 12.1 for LG G Stylo

Noobified, I noticed you uploaded android_device_lge_g4stylus-common to your github, did adding the open source lights hal build fix the backlight and notification leds? I was gonna look at it, but if you have it patched up already then ill see if i can chip in somewhere else.

Also, im running with a core i3 and 4gb ram with a 7200rpm drive, so full build times for me are around 3 hours with ccache, but if needed I can probably run a few builds while im at school. Just lemme know, I saw you said you had someone lined up to run builds.
 
Noobified, I noticed you uploaded android_device_lge_g4stylus-common to your github, did adding the open source lights hal build fix the backlight and notification leds? I was gonna look at it, but if you have it patched up already then ill see if i can chip in somewhere else.

Also, im running with a core i3 and 4gb ram with a 7200rpm drive, so full build times for me are around 3 hours with ccache, but if needed I can probably run a few builds while im at school. Just lemme know, I saw you said you had someone lined up to run builds.
The backlight always worked. It was the notification LED. He said it did work but it was buggy and since I don't have the device it's hard to write a light HAL that is proper. LG modifications are so unnecessary. The hardware doesn't support red blink. Instead it uses a pattern id written by the framework to turn the led on/off at certain speeds to create a sort of blink. The modifications they made are hard to adapt. I'm thinking maybe someone with a device and coding skills can write a HAL with definitions of the pattern id for example writing 0 turns the led off and 3 makes it blink for a missed notification. Someone just needs to write a non-framework depending HAL to write the pattern id the kernel defines.
 
The backlight always worked. It was the notification LED. He said it did work but it was buggy and since I don't have the device it's hard to write a light HAL that is proper. LG modifications are so unnecessary. The hardware doesn't support red blink. Instead it uses a pattern id written by the framework to turn the led on/off at certain speeds to create a sort of blink. The modifications they made are hard to adapt. I'm thinking maybe someone with a device and coding skills can write a HAL with definitions of the pattern id for example writing 0 turns the led off and 3 makes it blink for a missed notification. Someone just needs to write a non-framework depending HAL to write the pattern id the kernel defines.

I had the same problem with the emotional led on the og volt. i ended up kanging a lights hal from i believe it was the e980 that fixed the led blink and gave all the colors without the need to set any sort of pattern files. ill do some looking around, chances are theres another phone we can kang from without having to worry about the pattern id stuff.

as i dont have the h631 or ms631 that we can currently boot cm on, ill need a tester if i find something. someone who has the device that knows what they are doing with it will be ideal. ill post more if i find something out and put out a feeler for testers, since this will be an issue to be solved on the ls770 too once we find a way to bypass bootloader lock.
 
I'm more in need of GPS. However, I have the phone and experience programming but not much with Android ROMs or HAL. Tell me what I'd have to do. I can Google the rest.
 
I'm more in need of GPS. However, I have the phone and experience programming but not much with Android ROMs or HAL. Tell me what I'd have to do. I can Google the rest.

First, look into building Android from source with Noobified's device, vendor and kernel trees. Make sure you can build successfully and boot before moving any further.

Then, look at devices that are similar to ours (snapdragon 410) that have device trees on cyanogenmod, slimrom, omnirom, etc githubs. Look through their commit histories and see what they did to fix things. It's a murky sort of water to tread as some devs are better at documenting their changes than others, but try hard and want it bad enough and you will get it.

Look on pdadb for similar devices, you can browse by chipset. Then find out their model names which are almost always different than the phone model. For example, the lg volt had the model name x5. Then Google Android_device_lge_x5 for example and see what you find.
 
Anyone find a solution for Pandora it keeps skipping on cm12
Use google music. It doesn't have any commercial ads that I know of ( but I am using an ad-blocker) The skips may be related to the app or your signal most likely. Anyways, just give google music a try.
 
Back
Top Bottom