yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Original Android Development] katmai1973:
unfortunately, had this hang screen bug with 19.1_cfs2 too... :(

I tried to activate mobile data (just activate, but w/o actual data sending or receiving - because data was allowed in menu but denied by droidwall and apndroid) and there was no bug

When I tried to catch it by my old method (appsfire - updating "my apps") - the bug was present... :(

I'll stay on this kernel and will avoid of using appsfire and market - in order to check - if the bug will occure for some other reasons
[Optimus One, P500 Original Android Development] katmai1973:
Cached hang screen bug in opera mini, on home page of this site, when pressed "select your device" box, and then tried to tap p500 from the swype. It hang after "p" :(
[Optimus One, P500 Original Android Development] franciscofranco:
THANK YOU! At the moment I have no idea what the **** are the messages in the logcat, but I'll see what I can do, thanks!
[Optimus One, P500 Original Android Development] franciscofranco:
Ok I narrowed it down and it seems like it's a deadlock in the surfaceflinger/framebuffer code. I suspect this is caused by the disable of Vsync. While it may boost the gaming performance it may hurt other things. I'll compile it now with Vsync enabled and I'll let you people test it.
[Optimus One, P500 Original Android Development] Garuxa:
No problem, I'm just trying to help even in the least that either and I understand that your work continues to improve :)
[Optimus One, P500 Original Android Development] franciscofranco:
Someone test this and try to reproduce the screen hang:

http://www.multiupload.com/BJ8ZLMLFAE
[Optimus One, P500 Original Android Development] Garuxa:
Ok, testing
[Optimus One, P500 Original Android Development] Garuxa:
@Franco, again the same problem, this time it was updated apps to the market and hung up the phone and then put the black screen and not respond :(

All this using devoid. #froyo-final + link2sd (ext3) + No-Frills 768/480 smartass (E/S: vr)

I am attaching 2 logcat's for your review them
[Optimus One, P500 Original Android Development] iNeri:
Then you can let us choose between game boost or no hang screen:D, anyway i wonder why this not happen to all, i no have any hang screen:confused:(fresh install may be? apps2sd script?) so i staying on 19.1 ;)
[Optimus One, P500 Original Android Development] franciscofranco:
**** that's not good at all...I don't know what to do really. I'll ask in the Recognized Devs forum, maybe someone knows something. Thank you, I'll do my best to fix that ****.
[Optimus One, P500 Original Android Development] Garuxa:
I hope you can find a solution. Good Luck :)
[Optimus One, P500 Original Android Development] ccdreadcc:
i suspect its the multitouch inversion fix u have included..
[Optimus One, P500 Original Android Development] franciscofranco:
****...I just used sippolos driver. I'll compile a new one with the LG drivers and see what happens, be right back.
[Optimus One, P500 Original Android Development] franciscofranco:
Can anyone test this one again please:

removed url
[Optimus One, P500 Original Android Development] ccdreadcc:
downloading but dont expect results sooner,i m busy playing fifa with my friends :P
[Optimus One, P500 Original Android Development] Garuxa:
ok, testing again :p
[Optimus One, P500 Original Android Development] franciscofranco:
Thanks guys :)
[Optimus One, P500 Original Android Development] fserve:
that hang bug happens in cyanogen? (i never got one of those...)
[Optimus One, P500 Original Android Development] socialdistortion:
Don't think so. I use CM7 and haven't faced this bug.
[Optimus One, P500 Original Android Development] ccdreadcc:
then maybe bug only in cfs? Oo

im using void froyo with cfs kernel, but the last kernel seems to be stable....
[Optimus One, P500 Original Android Development] Garuxa:
@Franco, after using for more than 30 minutes the phone not to go back to hang the screen :). But now I think that the bug had before with the touch (much cpu usage by touching the screen) :(

Neocore w sound: 55.3 FPS

Neocore w sound touching the screen: 36.8 FPS

Neocore w/o sound: 58.8 FPS

Neocore w/o sound touching the screen: 40.3 FPS

Antutu: 1689

Antutu touching the screen: 1415

Camera and Video Camera works fine

Headset Button works fine

If this kernel cfs leave it so, recommend changes to cm7 and use the kernel for better performance? or we change the kernel drivers bfs? Because apparently this screen hang problem is not in the bfs version (It is possible that answered this question in other pages but I would like you to answer that for me to know whether to change or not :))
[Optimus One, P500 Original Android Development] franciscofranco:
I guess the problem was in the bloody touchscreen driver...I'll still wait for any devs to answer me in the Recognized Devs forum before oficially releasing the update. I don't know if the bug happens with newer roms or not to be honest, so I can't say.
[Optimus One, P500 Original Android Development] dr.notor:
Meh... Oh well, maybe the dirty oneliner hack to reduce the CPU load on touch is the best solution. :p
[Optimus One, P500 Original Android Development] Garuxa:
I see, then will wait to see what will happen to the kernel and see if there is I change the rom mik_os or stay with the current devoid
[Optimus One, P500 Original Android Development] Garuxa:
@Franco, Damn! I had my phone in my pocket and see it and was again a black screen and buttons shining :(, my phone did not respond so he had to remove the battery and put it back. I will return to version 18.1 cfs for now, just this and the previous version that I have no problem with my phone :(

I add my logcat is useful if you
[Optimus One, P500 Original Android Development] terratrix:
Battery drains on 3g, but on wifi it doesn't ...

Using mik's 6.5.7 and v19.1cfs kernel
[Optimus One, P500 Original Android Development] ElGeorge:
Just wanted to report that I've been using v19.1 (BFS) on Mik's 6.5.7 for the last 24 hours and...

- No hanged screen bug

- No Wifi issues

Regarding the Touchscreen/CPU Load issue I've tested with the "System Tuner" app that others have mentioned and I must say that definitely the CPU load rises when you touch the screen, but at least for me it doesn't reach the 100% that some other users have mentioned. In my case it goes up to around 40%. I did a test also with "OS Monitor" and on that app the % reported was lower, so I'm going to test a third CPU load app just to check which one is more accurate on this matter.

The only major problem that I've experienced so far is that I've been unable to install Darktremor's App2sd. I tried Beta4 (without installing Zram previously) and I got the bootloop. Someone suggested to try the latest stable instead of one of the betas, and I'll do that tomorrow.

One thing I experienced that it's worth noting is that after using the "Reboot Recovery" option on "Quick Reboot" app it seems that my FS got corrupted and I started experiencing errors when trying to enable WiFi. I wiped everything up and re-flash Rom and Kernel and the issue went away. I haven't installed Quick Reboot back since others suggested that using those reboot into recovery options can corrupt the FS.
[Optimus One, P500 Original Android Development] alexlacra:
using franco's v19 and mik 6.5.5. best combo so far for me.
[Optimus One, P500 Original Android Development] Javi22:
I had that problem too. What you have to do is install the stable version and then go to terminal and type su and then "a2sd reinstall "

On the other hand, I want to know what governor do you use people, you will tell me test yourself... Ok I have done it but I have not drawn any conclusions. So what do you think?
[Optimus One, P500 Original Android Development] fserve:
Smartass
[Optimus One, P500 Original Android Development] devlin2427:
I have managed to go 4 and a half days with a single charge with mik s latest and v19. No bugs our mishaps of any kind.

Fantastic job Francisco.
[Optimus One, P500 Original Android Development] Bytecode:
Franco,why can't I find your kernel in Kernel manager pro? Optimus one is now supported,dunno if you know :)
[Optimus One, P500 Original Android Development] franciscofranco:
I know, I'm the one responsible for the Optimus One addition but it's **** to have it only avaliable on the Pro version thats why I haven't added anything there yet, but it's something to consider.
[Optimus One, P500 Original Android Development] iNeri:
im on cm7 6.5.7 and kernel 19.1 cfs.

no hang screen at all. so, its not cfs version issue

Enviado desde mi LG-P500 usando Tapatalk
[Optimus One, P500 Original Android Development] franciscofranco:
I know, I think it's the mix between this kernel and 2.2, but I have to make it stable for every version of android, and I'll get it fixed, as you can see by my github I'm working on it.
[Optimus One, P500 Original Android Development] Garuxa:
For more than 8 hours I am with the kernel 18.1 cfs and devoid rom, there is no screen hang ... So you can not be a problem of my phone that damn bug
[Optimus One, P500 Original Android Development] blueren:
Did you mean 19.1? Screen hang is only on 19+
[Optimus One, P500 Original Android Development] franciscofranco:
That's what he said...

Just hold on, I'm doing what I can. The only thing that's ****ing with me is that I haven't changed ANYTHING that could do such a thing so I'm going a little blind now until I get it fixed somehow.
[Optimus One, P500 Original Android Development] Garuxa:
Quiet Franco, take your time to find the solution, no one hurries you ... If you upload another kernel and I have time .. 'll try to help even in something
[Optimus One, P500 Original Android Development] franciscofranco:
Can anyone try to reproduce the hang in this one please:

url removed
[Optimus One, P500 Original Android Development] Garuxa:
Testing :)
[Optimus One, P500 Original Android Development] ElGeorge:
Man... that's short of amazing. :eek:

I'm definitely puzzled on how some of you guys are able to get such a long battery life with your phones. So far for me Battery life with Mik's 6.5.7 with Franco Kernel 19.1 (BFS) seems better than other ROMs/Kernels I've tried but nothing even close to what you're showing. I'm starting to think that it might be related to my phone network itself, as I've read that not all carriers configure their networks in the same way and that those differences can have a direct impact on how the phones performs in terms of battery life on a given carrier. The other possibility is that I have a hardware related issue (either the battery or the phone itself). :confused:

I took these screen-shots a few moments ago:

Last night I charged my phone to 100%, then I rebooted it and unplugged it (3G data on) and let it rest on my table until this morning. On that standby period of 5 hours the phone got to 93% (1.4% per hour). Afterward I've used it for some web browsing on the forums and the market and that got me to 72% (when I took the screen-shots).

Could you answer some of these questions:

- How's your battery life with WiFi or 3G (your screen-shot shows 2G)? Is it better or worse than 2G for you?. In my case I can't use 2G because my carrier's EDGE coverage it's pretty lame in my location (3G is much much better here). I can say that I get better battery life with WiFi than 3G.

- Do you have installed any app that runs as service to receive push notifications? In my case the first two apps that I install after flashing a ROM are K-9 Mail and Whatsapp, but I've checked the battery stats, wakelocks etc. and it seems that neither of those two apps are draining my battery.
[Optimus One, P500 Original Android Development] manast:
Try the below one. It works quite well for me and the looks are the same as the standard Clock app. The features are great. :)

https://market.android.com/details?id=com.vp.alarmClockPlusDock&feature=search_result
[Optimus One, P500 Original Android Development] lekhwani:
that's what we meant . Until the recovery is intact, its 99.9999% unbrickable.

Edit: It was for acrossy.
[Optimus One, P500 Original Android Development] Momaro:
Thanks for this. Ugly as sin but the added information is very useful.
[Optimus One, P500 Original Android Development] Yusei:
Cokie666 thank you

I love that changes in notification bar
[Optimus One, P500 Original Android Development] acrossy:
lucky strike :D
[Optimus One, P500 Original Android Development] Yusei:
My battery it's a problem, my phone it's draining battery...

Plz what is the best setcpu profile with this rom?
[Optimus One, P500 Original Android Development] franciscofranco:
You don't need SetCpu profiles with smartass. If create profiles that's what gonna kill your battery because it will be against the governor purpose.

New kernel will be up in an hour or so.
[Optimus One, P500 Original Android Development] Yusei:
So o have to put scalling smartass right?
[Optimus One, P500 Original Android Development] Yusei:
I have installed gallert 3-d from market and now on my app gallery make a zeam force close before opening.

And i can't find the gallery that i have downloaded from market to uninstall it...
[Optimus One, P500 Original Android Development] franciscofranco:
Yes, that's correct.
[Optimus One, P500 Original Android Development] Yusei:
Can you save my ass with the other problem i had?
[Optimus One, P500 Original Android Development] franciscofranco:
I have no idea.

franco.Kernel.v7 is avaliable. Changelog in the first post. Enjoy and post feedback, thanks.
[Optimus One, P500 Original Android Development] lupohirp:
with new kernel gained about 5 frames! tested with eternal legacy and not with crappy benchmarks!!!now game is running great!and this game...is a heavy game!:)
[Optimus One, P500 Original Android Development] Yusei:
It's very fluid with v7
[Optimus One, P500 Original Android Development] Zerobarat1:
Don't know but to me it's working perfectly on mik's 6.4.2 :P
[Optimus One, P500 Original Android Development] Yusei:
Its normal after update the compilatiom number kernel v5?

Didnt i update correctely?
[Optimus One, P500 Original Android Development] franciscofranco:
I forgot to update the text where the version shows xD you did it fine. Thanks for the feedbacks, keep them coming ;)
[Optimus One, P500 Original Android Development] blueren:
man your updates are too fast! :P
[Optimus One, P500 Original Android Development] Ojaser6:
Thanks, that worked great. I'm also lacking the stock calendar app, can somebody upload theirs for me please? :)

Also how do I update the kernel?
[Optimus One, P500 Original Android Development] rforums:
Just one doubt .. can I use just the v7 kernel with my void rom with no additional changes?
[Optimus One, P500 Original Android Development] katmai1973:
V19.1_cfs5

Phone hang when tried to update application in the Market (same as before)

UPD: after reboot, downloaded Angry Birds from the Market succesfully, but after 15-20 min of playing - hanged again

Froyo 2.2.1

245/710 ondemand
[Optimus One, P500 Original Android Development] franciscofranco:
How nice...
[Optimus One, P500 Original Android Development] fserve:
Maybe gcc 4.6 problem? i know that it's weird, but u changed compiler right?

I've used 4.5.2 code sourgery g++ EABI for my tests

http://www.codesourcery.com/sgpp/lite/arm/portal/subscription?@template=lite
[Optimus One, P500 Original Android Development] franciscofranco:
I know that compiler. Ultimately it could be the problem, let's see...
[Optimus One, P500 Original Android Development] Garuxa:
Strange .. took more than an hour with a maximum use of the phone with 19.1-cfs5 and devoid.. and screen does not hang :confused:. The only thing that happened was that I had a FC to play Fruit Ninja, but I think it was because the phone was a bit hot for the use that was giving him :D. And the market does not happen anything .. not if you have to do that yesterday I was automatically upgraded to the latest version of the market ..
[Optimus One, P500 Original Android Development] katmai1973:
I'm using latest Market too... it is not only problem with Market

I catched this bug when playing Angry Birds (19.1cfs5), and ones even when just slid homescreens in the LauncherPro (19.1cfs2)...
[Optimus One, P500 Original Android Development] franciscofranco:
Try this one: http://www.multiupload.com/KRSSIPVSL6
[Optimus One, P500 Original Android Development] Garuxa:
I just proves :)
[Optimus One, P500 Original Android Development] katmai1973:
it seems like this is something different

tried to catch hang as usually (many times)

so far no hangs...

...but continue testing
[Optimus One, P500 Original Android Development] Garuxa:
@Franco:

With cfs6 version (as with the cfs5) I don't have hang-screen :)

Neocore w sound: 56.1 FPS

Neocore w sound touching the screen: 37.3 FPS :(

Neocore w/o sound: 59.5 FPS

Neocore w/o sound touching the screen: 40.8 FPS :(

Antutu: 1680

Antutu touching the screen: 1399

Camera and Video Camera works fine

Headset Button works fine

By chance have you removed the drivers for the display of the v19 right :(? Because according to the tests I did, touching the screen we see a somewhat important drop in fps
[Optimus One, P500 Original Android Development] franciscofranco:
I guess it was a problem with the compiler then. I added back the improved drivers so I don't know.
[Optimus One, P500 Original Android Development] ccdreadcc:
I was gonna post that I didn't have any hangs, but after I opened xda in dolphin hd, it hanged..
[Optimus One, P500 Original Android Development] Garuxa:
Ok, then upload it to prove it, proves how it behaves :)
[Optimus One, P500 Original Android Development] katmai1973:
so far no more hangs! :)

Neocore w sound: 40.8 FPS

Neocore w sound touching the screen: 32.8 FPS :(

Froyo 2.2.1

729/245/interactive
[Optimus One, P500 Original Android Development] Javi22:
Omg great kernel! For me after one day, everything working, no bugs, good performance and no battery drain. Difficult to be better :)

Even I have noticed something strange, after one day without charging, battery was on 40%, then I charged it for about 10 minutes. Then I unplugged and let the phone idle, and battery started increasing xD. Maybe it increased 4 or 5 %

However I made a battery calibration before and after flashing. Should I do anything..?
[Optimus One, P500 Original Android Development] katmai1973:
I had hangs very easy but with latest revision (19.1_cfs6) it's gone!!! :D

I can't catch it anymore! :p

franciscofranco - thank You, Man!!!
[Optimus One, P500 Original Android Development] katmai1973:
this is a miracle! You are discovered perpetuum mobile!!!! :D
[Optimus One, P500 Original Android Development] Javi22:
Yeah sure :D the kernel is more than perfect, makes increasing my battery itself xD

Ok but seriously, have I to do anything or not? Calibration again?
[Optimus One, P500 Original Android Development] iNeri:
Hum, i noticed that too.

My phone charge to 76% i disconeted the charger and fall to sleep, when i wake up i check the % to see how much drain then i se 78% o,O? this on 8hrs or idle,so i think that i was dreaming couse i was drunk of sleep yet:p

all this after calibrate the battery from recovery wiping bat statts when charge was 100% then drain to 0%
[Optimus One, P500 Original Android Development] fserve:
Maybe i was right! \o/ hehehe :D

Next step, ask miks_os to write a init.d script to get less battery drain with:

echo 1500 > /proc/sys/vm/dirty_writeback_centisecs

:D
[Optimus One, P500 Original Android Development] franciscofranco:
Thanks for pointing it out. I did in fact think of it but I thought it wouldn't be the reason. ;)

There isn't that much difference in battery when adding that line. I think I can add it directly to the kernel. I'll look at it when I'm back home.

My friend didn't get the hang when using this last kernel too, so I guess it's fixed.

I'll push a final download in some hours ;)
[Optimus One, P500 Original Android Development] fserve:
My mother got a galaxy 5. (It became the cheaper Android in Brazil, and is quite equal to P500 that costs twice the price -- i prefeer p500.)

I'm doing 2050 points in antutu and 70fps on neocore. [Screen res is lower, so we cant compare with p500]

Was thinking in patch your kernel... ehehehe =D

Hardware is quite similar, same processor, same GPU, will check samsung hacks later =)
[Optimus One, P500 Original Android Development] franciscofranco:
That **** won't work, this kernel has LG crap everywhere and there is different hardware lol
[Optimus One, P500 Original Android Development] katmai1973:
fserve

You can see here - there is very advanced stuff for Galaxy 5 from Madteam
[Optimus One, P500 Original Android Development] fserve:
Yeah, madteam is brazilian, like i am, i know their work. i've got a cyanogen 2.3.5 that i got on their forum -)

but franco.kernel is something in other level of coolness :-) (I like having things like the new 2.6.32.44 on my phone!)

But sorry for that offtopic, thanks franco for your info about lg kernel.

People with 2.2, no more hangs? :-)
[Optimus One, P500 Original Android Development] vetdrchandan:
I updated my mobile kernel. Now I am happy that my phone respond well. Thanks franco.

LG OPTIMUS P500, mik's OS 2.3.4
[Optimus One, P500 Original Android Development] franciscofranco:
A new stable version is up. Changelog is in the first post as usual - which is cleaned up and made easier to read. Enjoy and as always give me feedback.
[Optimus One, P500 Original Android Development] vetdrchandan:
Hey franco all things are perfect but my mobile

Screen is not going off after 15 sec. I checked all setting but of no use. Help me please??

LG OPTIMUS P500, mik's OS 2.3.4
[Optimus One, P500 Original Android Development] franciscofranco:
What do you mean? I need more details...
[Optimus One, P500 Original Android Development] vetdrchandan:
I installed kernel v19.1 in my p500 in the night. All is well but 2day I noticed that my screen is not turning off as it should be after some time. My previous kernel was v18.1 what else you wanna know.

LG OPTIMUS P500, mik's OS 2.3.4
[Optimus One, P500 Original Android Development] franciscofranco:
No idea about that. Update to the latest mik's update and my latest kernel.
[Optimus One, P500 Original Android Development] rajathvsm:
Tell what value is checked in Settings>Display>Screen timeout

Better keep it to 15 secs.
[Optimus One, P500 Original Android Development] yachimya:
19.2 bfs is giving me kernal panic after installing on mik's 6.5.7 when it starts booting the LG logo. It automatically runs into a continuous reboot.
[Optimus One, P500 Original Android Development] roi14:
franco sir, i think there's a problem with kernel 19.2 bfs,.i've tried flashing it twice but i can't get past through the first LG Logo for it shows a kernel panic,.something with Linux written on it,.i did wipe cache and dalvik cache,.just reporting,.:)
[Optimus One, P500 Original Android Development] franciscofranco:
Oh oh, what have I done...sec.
[Optimus One, P500 Original Android Development] seriousia:
Kernel panic after LG logo

19.2 cfs

Here is d image

http://m.UploadEdit.com/e96/43107018.jpg

Stockrom 2.2(10b)

So Back to 19.1 cfs6 :D

Sent from my LG-P500
[Optimus One, P500 Original Android Development] franciscofranco:
Thanks, I think I know what I did, enabled something in the config that I shouldn't have. Compiling, sorry for the inconvenience.
[Optimus One, P500 Original Android Development] vetdrchandan:
I think my problem is solved I reboot my phone and now my screen behaves normal i.e turning off after 15Sec. But I think my phone is heating up more than usual, am I did something wrong or

???

LG OPTIMUS P500, mik's OS 2.3.4

LG OPTIMUS P500, mik's OS 2.3.4
[Optimus One, P500 Original Android Development] franciscofranco:
CFS version is up, BFS coming after compiling. Should be fine now :)

EDIT: BFS is up too. I hope everything is working like it should. I'll wait for positive feedbacks.
[Optimus One, P500 Original Android Development] Abhiroxx:
Link is not working
[Optimus One, P500 Original Android Development] Bec de Xorbin:
Buy a better internets.

---

Thank you franco again! Excellent work.