Today I was working with some gproj sources but in the corner of my eye I did see recognized CyanogenMod developer "rmcc" better known as Ricardo Cerqueira pushed a RIL change upstream which bypassed CM code review.
His patch can be found over here: https://github.com/CyanogenMod/andr...mmit/84e44a43ac2d0de4e3acd86322ffff43c38904e7
I'm not yet sure what impact his patch actually has but I think it's worth to keep an eye on this change.
This may be a workaround for the SIM Pin bug we are still working on.
I did some investigation on this pushed patch.
It should fix the constant RIL crashing which occurs on our device, due to RIL calling for an unimplemented function.
This may also fix the "deep sleep" issues, as I suspect the constantly crashing RIL may cause this but this claim I'm not sure about it's just a hypothesis which I had.
Currently I'm building CM-12.1 to try and find out the real implications of the patch and verify what has been improved exactly.
This is the second update.
The build I tried worked like a charm no RIL bug anymore!
It was just like I suspected due to constant crashing of the RIL,
I just suspected this due to outdated and old blobs in use, but "Ricardo Cerqueira" proved this was also fixable on the RIL side.
Unfortunately the "deep sleep" issue still hasn't been solved.
In the meantime I will just continue porting over KK blobs and try to make LG OG more CAF codebased.
This fix will assure you at least can enjoy stable CM-12.1 for now until I got everything sorted out and 100% working right.
I'm currently trying to find out what might cause problem of the phone not entering "deep sleep"
What I suspect currently is something with a service called qseecomd which is crashing.
When looking into kernel "dmesg" I found that the "power management" related stuff about exiting deep sleep is constantly right after qseecomd crashing.
Currently I'm busy trying to find a way to fix this issue.
I found out there are actually 2 wakelock issues which prevent the phone from entering "Deep Sleep".
First wakelock is: pm8xxx_adc_wakelock, which I already found a solution for. This patch I will try to upload to gerrit codereview today.
The second wakelock is a more difficult one to track down.
The name of the wakelock is "KeyEvents" but I really can't seem to find out what exactly is causing this.
What I know is that it's RIL/Radio related as when I put the phone in "Airplane Mode" this wakelock is released and phone goes into "Deep Sleep" without any problems.
I will keep investigating this problem and hopefully find a proper solution soon.
When someone has any suggestions please let me know.
And in the meantime I hope CM Team will merge my patch for the pm8xxx_adc_wakelock (Fingers Crossed)
The patch I uploaded can be found over here: http://review.cyanogenmod.org/#/c/113721/
/dev/ks_bridge 0660 system system /dev/efs_bridge 0660 system system [COLOR="Orange"]Needs to be replaced with:[/COLOR] /dev/ks_hsic_bridge 0660 system system /dev/efs_hsic_bridge 0660 system system
we can add problems with autorotate to bug list. it's weird. I noticed that it works only once for YouTube. hangouts rotating only chat, not main window and other (but maybe not every) apps rotating always..
@PsychoGame how is your work going on? have you got your repos on gh?
Sent from LG Optimus G