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

Root Homeless Kernel 1.0

The following is NOT a screenshot of our phone, but it does illustrate the point i'm trying to make, note how much system_server uses compared to our phone, and how much Cell Standby Uses (This should display most of the power should be used roughly when not in use). This is how i'm trying to get our usage to look, where actual user activity is what drains the battery, not LG Engineers in hamster wheels.

android-battery-usage.jpg


What I interpret when I see my own battery screen with system_server that high in our phones is that about 50-70% of the battery wasn't used by me, but it can be if I fix it.
screen_batt.jpg
 
I think it's responsible for data and firing off some usb related events, but i'm not 100% sure.
Either way, data isn't always in use so during this period we should try to use as little cpu cycles as possible to allow the phone's hardware to enter deep sleep modes. It's definately required from what I can tell for proper operation, I just think the code has room for tuning.

by looking at those debug messages, it looks like it can be tuned a bit by something like this:

If Not UsbStatus = 'UNPLUGGED' then
Fire Event
End if

as opposed to just firing it all the time regardless if it's already in the new state or not, unless there's a valid reason for that. If that event is fired, there could be other routines handling that event and doing more work for nothing each time it fires, even worse triggering even more of their own events like a chain reaction.

Hmmm... it's probably for FOTA updates or Internet Connection mode via USB. (I'm teaching myself Java since I'm broke. Only 3 hrs worth so correct me if I'm wrong) If you were to decompile the apk, edit the code to detect if the usb is unplugged, then recompile it just in the apk, then you might just have the app run it once, then pretty much disable usb(or just internet connection mode/FOTA) until the event is repeated or the phone is rebooted.
 
Hmmm... it's probably for FOTA updates or Internet Connection mode via USB. (I'm teaching myself Java since I'm broke. Only 3 hrs worth so correct me if I'm wrong) If you were to decompile the apk, edit the code to detect if the usb is unplugged, then recompile it just in the apk, then you might just have the app run it once, then pretty much disable usb(or just internet connection mode/FOTA) until the event is repeated or the phone is rebooted.

Pretty much, except it should only fire when it actually changes from one state to another, not from the same state to the same state all the time.

The source is already available if you want to take a look to work up your skills, it's always a good way to get better and understand more things when programming. It should be in LG's Source code, and if not, then googles own code (Android Developers)

If you manage to change the source post up the modified files here in a zip and i'll compile it.
 
Pretty much, except it should only fire when it actually changes from one state to another, not from the same state to the same state all the time.

The source is already available if you want to take a look to work up your skills, it's always a good way to get better and understand more things when programming. It should be in LG's Source code, and if not, then googles own code (Android Developers)

If you manage to change the source post up the modified files here in a zip and i'll compile it.


I'll give it a shot tomorrow if I can. Still fighting some sickness. :(
 
Flashed the Homeless kernel ... after a full charge, no widgets, data, bluetooth, wi-fi, gps and 4G enabled ...

after 2 hours 40 minutes my battery has dropped 31 percent, but this is with straight 4G connectivity, no web browsing and a few texts.
 
http://db.tt/BrnsLQgR

well sorry i didn't post the picture but it gave me almost 20 hours that was with about 11 hours under light wifi use and almost 8 of 4g with light use some phone calls few texts and some Facebook and web browsing i calibrated for the first time let it drain now it's charging once it charges up will calibrate again I'm also using optimizer I rebooted and have not experience any more lagging but did notice a longer boot time other than that will keep posting.
 
I got some great numbers. I'm using Gingersteem with the Homeless kernel. I'm using Chuck Norris mode through the Esteem Optimizer, have my brightness at about 15%, and am doing no animations. I'm only running a few widgets and launcher pro.

Yesterday on 4g with light use, I squeezed out about 14 hours.
Today, on wifi with light to moderate use, I got 12.5 hours and I still have 43%! That's really amazing!
 
I got some great numbers. I'm using Gingersteem with the Homeless kernel. I'm using Chuck Norris mode through the Esteem Optimizer, have my brightness at about 15%, and am doing no animations. I'm only running a few widgets and launcher pro.

Yesterday on 4g with light use, I squeezed out about 14 hours.
Today, on wifi with light to moderate use, I got 12.5 hours and I still have 43%! That's really amazing!

Under the stock battery? I am using the extended battery I guess it might be different depending on the actual phone as they said every phone is different but Kanaida you the men good job.
 
hey Kanaida thanks for getting this out! sounds like its working well so far and Im sure you'll find some ways to tweak some more out of it. Just wanted to suggest a few apps to some of you LG guys that I use to help keep an eye on my kernel and battery life when choosing not to O/C;

better battery stats (lets you track any thing causing wake-locks, full or partial)
cpu spy (awesome listing of cpu "in-state" times)

and Kanaida do you think those flashing this kernel when coming from an O/C kernel or some other custom would benefit from a "kernel cleaning script" to possibly help avoid the loops? way beyond my scope but there are several out there in other forums that help to clear the init.d folder of volt scheduler, screenstate scaling scripts and clear some cache waste that can get left behind from using O/C & U/V kernels and/or apps.
heres a link to an old one but it gives you an idea of some necessary code (not stuff you dont already know obviously). I guess the code would be similar but that it just needs to be shelled/packaged differently?

[ROM]01/05/2011 CM7 android 2.3.4 - Page 732 - xda-developers

cheers...and congrats on your new kernel!
 
I am on the ics hybrid rom, how would I go about changing the model number to get lg optimizer to recognize it.

For anyone who doesn't know, In order to get lg optimizer to recognize your phone on the ICS Hybrid rom you must do the following.
1-Enter rom tool box.
2-Go to the performance tab.
3-Enter build prop editor and serch for ro.product.model.
4-click ro.product.model and edit the current name in the box, change it to LG-MS910 and save.
5-Reboot.

Disclaimer:****I myself am not responsible if you edit something other than whats been posted here.****
 
For anyone who doesn't know, In order to get lg optimizer to recognize your phone on the ICS Hybrid rom you must do the following.
1-Enter rom tool box.
2-Go to the performance tab.
3-Enter build prop editor and serch for ro.product.model.
4-click ro.product.model and edit the current name in the box, change it to LG-MS910 and save.
5-Reboot.

Disclaimer:****I myself am not responsible if you edit something other than whats been posted here.****
yea that prop shouldnt get touched, just the version, user, n host prop. ;)
 
thank you for the kernel it works great n just want to show how much my stock battery lasted......light weight use......talk,txt,web,youtube,facebook,4g lte on,gps on,....and used setpcu on the screen off...almost 16hrs :eek:
 

Attachments

  • 1jpg.jpg
    1jpg.jpg
    41.4 KB · Views: 83
  • 2.jpg
    2.jpg
    35.4 KB · Views: 86
  • 3.jpg
    3.jpg
    23.4 KB · Views: 83
  • 4.jpg
    4.jpg
    68.1 KB · Views: 84
  • 5.jpg
    5.jpg
    23.2 KB · Views: 78
  • 6.jpg
    6.jpg
    18.9 KB · Views: 82
  • 7.jpg
    7.jpg
    16.1 KB · Views: 81
  • 8.jpg
    8.jpg
    26 KB · Views: 86
Also try to keep wifi always enabled, and add the networks for your house, work and friends houses. Seems from testing out that wifi uses much less battery to download the same amount of data than 4G. In my example 4G was used for maybe a few texts in the car, Pandora to and from work, some web browsing on smoke breaks.

I'm still measuring the same charge from yesterday.
It's been 20 hours on battery, 25% left when I woke up for a morning snack. Left it unplugged on purpose. I think it's gonna do 6 more hours ;) I'll post a screen around lunch time at work.
 
thank you for the kernel it works great n just want to show how much my stock battery lasted......light weight use......talk,txt,web,youtube,facebook,4g lte on,gps on,....and used setpcu on the screen off...almost 16hrs :eek:


That's awesome. Thanks for th screenshots :D

I'm curious how much using setcpu profiles for screen off really helps. Until last night I was doing the same thing. Now, as an experiment, I have the cpu frequency and governor set in rom toolbox. It just loads on boot and thats it... No service running in the background and tying up ram best I can tell. Cpuspy says most of the time the cpu is at 122 mhz or in deep sleep without using profiles.
 
uploadfromtaptalk1329490057691.jpg
this is with light use some calls some text web browsing about 11 hours wifi and 9 under 4g with an extended battery I feel I could get more will continue testing setcpu at 368 max 245 both screen and charging.
 
On my extended battery I got over a full days use with this kernel. I love it and I put fast reboot on to automatically run when I turn on my screen and I have had to lag. Great work.
 
...I put fast reboot on to automatically run when I turn on my screen and I have had to lag. Great work.

How did you set Fast Reboot to run automatically when you turn on the screen?
I may figure it out on my own, but atm I'm scratching my head on that one...
 
How did you set Fast Reboot to run automatically when you turn on the screen?
I may figure it out on my own, but atm I'm scratching my head on that one...

Well there are apps like bomb that task, memory booster and others which are realllly good.

Also "Gemini task killer widget" can clean up memory just like fast reboot with a simple shake of the phone.
 
Back
Top Bottom