JOBAN-Kernal Tweak?

thrivin

Well-known member
Aug 4, 2011
93
18
0
Not sure if you guys have seen this, but adfadd has been CM7 to work with Optimus One. It is about to be officially accepted into their repositories.

As part of this they have built a new kernal that eliminates all of the bugs.Black screen etc.

As part of their conversations they discovered this:


Francisco Franco - Ricardo, I compiled kernels for that device some months ago (@xda) and after the official LG 2.3/.35 kernel, after unlocking the device the screen just stood there black until the screen was tapped. I've tried everything, tracking down the screen_on procedure, decreasing the msleeps, removing LG functions etc etc nothing worked. Have you encountered that problem, and if you did, how did you fix it?

Ricardo Cerqueira - +Francisco Franco I didn't have that problem... Both the original LG source and the unified LG 7x27 I'm using worked fine in that regard.

Francisco Franco - Do you have debug.sf.hw=1 in the build.prop?

Ricardo Cerqueira - +Francisco Franco No, that completely disables hardware compositing :)

Francisco Franco - Exactly. My bet was that the bug was in the LG gralloc or something, which LG masked using that debug.sf.hw=1 in the .prop because once we took it out the blackscreen bug appeared. It was a nasty move by LG, but I guess you guys have it fixed in the CM tree.

Ricardo Cerqueira - +Francisco Franco Not exactly. LG uses qualcomm's gpu compositing, which can be picked out of CAF but is incompatible with CM7 (seriously breaks compatibility with non-qualcomm platforms)

If you were using the original gralloc, that's probably the least of your problems :) That stuff has a ton of dependencies.

Francisco Franco - Hmm good to know. I'm pretty impressed how you didn't encounter that bug, if you have 5m spare time just go over to the XDA's P500 section, there's plenty of posts about the blackscreen bug, including my kernel thread. We never managed to fix it, being it in the rom or the kernel, so you not having it surprises me big time.

Ricardo Cerqueira - +Francisco Franco Er, I just thought of something. You may be talking about an old, known bug on all qualcomms... Did you disable FRAMEBUFFER_CONSOLE? Surfaceflinger on GB fails in ugly ways when it's enabled, especially if you use GL FB objects (like the electron beam)

Francisco Franco - CONFIG_FRAMEBUFFER_CONSOLE=y I don't know if I should cry or laugh...

https://plus.google.com/u/0/115049428938715274412/posts/TjMUxbiVRZs

If you modified your kernal would we have the fix?

If so you will be my f-ing hero.
 
Where is the original thread so we can follow it and see if they found a fix for it or not?
 
I read that the official cm7 will use the. 35 kernel. Were outed again.(sigh)
But hopefully this kernel issue being discussed,and possibly fixed will help.
 
You're right. The latest is that its a.35 kernal and New baseband.

My hope is that the dev continues to put out updates for his unofficial .32 CM7 Rom.

Damn, I thought we were so close.
 
Hence the title ill ask my question here.
@Joban, any thoughts in tweaking the kernel, moding or making it better. Don't know if this is possible, but adding a battery saver script? This oxygen rom sucks battery.
Thanks
 
Hence the title ill ask my question here.
@Joban, any thoughts in tweaking the kernel, moding or making it better. Don't know if this is possible, but adding a battery saver script? This oxygen rom sucks battery.
Thanks

You might want to try Experia for the battery it seems to do better than any others I have tried, not that it changes the need for more tweaking but for now may give you a little boost.
 
  • Like
Reactions: LifesGoodPhoenix
what so "CONFIG_FRAMEBUFFER_CONSOLE=y" fixed the blackscreen bug?

and for the com.android.phone error it has been gone on the CM7.2 roms so we dont need to worry about that!
 
  • Like
Reactions: LifesGoodPhoenix
Joban
You're the expert, but my interpretation of the thread is that the framebufffer console should be DISABLED so that would imply =N wouldn't it?
 
ill try to compile my kernel again but i lost all my source files so i need to start all over again.
 

Trending Posts

Forum statistics

Threads
956,727
Messages
6,969,644
Members
3,163,604
Latest member
ymtonstes