Best kernel configuration (for rooted G4) to improve speed and battery - G4 Q&A, Help & Troubleshooting

With root we can modify some kernel parameters of a stock or modded kernel. What is the best configuration you have found to improve speed and battery?
I start first.
ROM Genisys 3.4 Marshmellow 6.0
Kernel SuperXe 1.6 (stock cpu freq)
App Kernel Adiutor
CPU Governor (for big and LITTLE cores): interactive
GPU Governor msm-adreno-tz
Adreno idler: on
Scheduler I/O: Zen with 512kB Read-ahead (for internal memory); BFQ with 2048kB Read-ahead (for external SD - 64GB)
TCP congestion: Westwood
Doze settings: GeraldRudi profile
With that settings, apps and games run fast and smooth and I have a great battery life for a day full of work. And yours?

Stock.
Everything runs fast and stable. Battery lasts all day, 4h SoT :good:

I am the battery champion around here - lol
I routinely get 22-30 hours!
running Stock 20B, rooted, unlocked bootloader and a few little tweaks here and there (chase down what apps are running when idle and kill them off if not necessary with Autostarts or similar program and debloat anything your do not need - I use Link2SD and convert system apps to user apps then reboot and uninstall them)
and don't run silly stuff you don't need, such as CPU governor - the one already running on your phone works as well as any, having two just wastes CPU time and confuses things

WTF? said:
I am the battery champion around here - lol
I routinely get 22-30 hours!
Click to expand...
Click to collapse
22 hours SoT indeed is very impressive. 22 hours runtime is nothing special, at all :good:

Pfeffernuss said:
22 hours SoT indeed is very impressive. 22 hours runtime is nothing special, at all :good:
Click to expand...
Click to collapse
your comment seems silly, what kind of moron would keep his screen on continuously for 22 or 30 hours?
like when you are talking on the phone, typically don't need the screen on for that! - or using the phone for music, or as a wifi hotspot, etc.
the trick I was trying to convey here is to keep the screen *off* as much as possible, and as few apps and processes running as possible, both background and foreground!
but I certainly didn't mean the phone was idle either, it's always being used :good:

WTF? said:
your comment seems silly, what kind of moron would keep his screen on continuously for 22 or 30 hours?
like when you are talking on the phone, typically don't need the screen on for that! - or using the phone for music, or as a wifi hotspot, etc.
the trick I was trying to convey here is to keep the screen *off* as much as possible, and as few apps and processes running as possible, both background and foreground!
but I certainly didn't mean the phone was idle either, it's always being used :good:
Click to expand...
Click to collapse
So the result is normal and/or really bad, without stating the SoT.
22/30 hours is nowhere near champion level, at all. Hence my ironic remark.

Related

Best SetCPU Config for Desire

Hello
Does anybody use set cpu with HTC Desire ?
I would like to know wich settings work the best for you. I am trying to get the best compromise between battery life and performance.
Thanks
128MHz - 998MHz ondemand. I get more than enough life out of it. I found that if your using AOSP and not really doing much on it like just texting or calling people, capping the max to about 600MHz or 500MHz if you want, works a dream and you get even longer out of it.
Smartass is better or worse ?
I do not see any real difference between smartass and interactive in term of battery live and performance.
On demand seems to drain slightly faster than smartass.
I set my Desire to 384-1136 with interactive govenor.
I charge it once i a day each time before I go to bed anyways (sleeping time usually23.00 - 05.00), so further battery saving is not necessary to me
Edit...my normal usages are:
Syncs (no auto sync by opening):
Friendstream 4 hrs
News 4 hrs
Weather 6 Hrs
push Yahoomail
push Googlemail
push Whatsapp
push EBuddy
Active background :
Lookout antivirus
No app killer used
Phone calls : about 1-2 hrs each day
Music listening mit DSP add-on : 4 hours
Fruit ninja (man! this is addictive!) : 1 hrs
Browsing (Dolphin HD + Android market) : 2 hrs
welll....every time I charge my battery it is about 15-25% left till out of juice...if I use my phone more than those, I have to charge it earlier (more than once a day)
245 - 985 MHz Conservative give mere 36 hours power and running smooth.
Sent from my HTC Desire using XDA Premium App
For me the battery has never lasted more than a day... Even on my un-rooted one...
BTW: Battery live depends on many things
1. Your ROM and kernel
2. Your runnning application, syncs, etc.
3. your usage and settings such as cpu freq, display brightnes, airplane mode, etc.
4. Received signal quality.
5. The condition of the battery...is it top fit for example?
It is difficult to measure the battery live.
@atuladhikari : battery live has nothing to do with rooting..
aaa said:
BTW: Battery live depends on many things
1. Your ROM and kernel
2. Your runnning application, syncs, etc.
3. your usage and settings such as cpu freq, display brightnes, airplane mode, etc.
4. Received signal quality.
5. The condition of the battery...is it top fit for example?
It is difficult to measure the battery live.
@atuladhikari : battery live has nothing to do with rooting..
Click to expand...
Click to collapse
It's LIFE not live
Sent from my HTC Desire using XDA Premium App
kpyhere said:
Smartass is better or worse ?
Click to expand...
Click to collapse
I don't like using any of the other governors since I get lag. I hate lag. OnDemand gets rid of the lag for me. I've had it before where I was using smartass and it took ~30 seconds for my screen to turn back on from idle. I wasn't too impressed.
setcpu
thanks meaple for your advice
i think that set cpu is fine on "ondemand" for some roms and for others roms no
set cpu is included on oxygen settings and running well
Cool, I need to download Setcpu
128-998 ondemand
screen off 128-384 ondemand
in call 128-384 ondemand
I get very good battery and performance with theses settings.
Which app do you guys recommend? Tried overclock widget doesn't seem to be working.
Am on Insertcoin stock GB rom.
dezpo said:
Which app do you guys recommend? Tried overclock widget doesn't seem to be working.
Am on Insertcoin stock GB rom.
Click to expand...
Click to collapse
Maybe SetCpu?
bates060 said:
It's LIFE not live
Sent from my HTC Desire using XDA Premium App
Click to expand...
Click to collapse
DidI do that?....I did.... LOL.
I used to use set cpu
set a profile like
Smartass
on charge - 1113mhz
80% - 100% - 998mhz
59% - 79% - 600mhz
35% - 58% - 500mhz
Screen Off - 300mhz
Priority was higher for lower battery %
BUT I stopped using it because of the little bugs, like when it changes to 384mhz for no reason after unlocking screen
It also affects the standard script with the rom you install, so you can never uninstall it properlu, you have to do a full wipe install and never install it, until I did that my phone was always a little laggy
I prefer my phone without it Each to their own
@shankly1985 - you didn't noticed wakeup lag with 128 MHz?
I must use 245 - x MHz to properly and fast unlock my phone.
Best Setcpu config for Desire is - no Setcpu at all.
BigMrB said:
BUT I stopped using it because of the little bugs, like when it changes to 384mhz for no reason after unlocking screen
It also affects the standard script with the rom you install, so you can never uninstall it properlu, you have to do a full wipe install and never install it, until I did that my phone was always a little laggy
I prefer my phone without it Each to their own
Click to expand...
Click to collapse
I couldn't agree more with you. Experienced all of the above so no go.
245-1033mHZ with smartass give me two day out of my desire loaded with insercoin 1.0.9 with v06 kernel !
I am mostly sending Text message and some calls.
drakexpl said:
@shankly1985 - you didn't noticed wakeup lag with 128 MHz?
I must use 245 - x MHz to properly and fast unlock my phone.
Click to expand...
Click to collapse
Not at all mate, I get zero lag on my phone. when I check the info on the setcpu app and time in state 128 is at 85% so my phone is using very little cpu.

[Q] Dat memory usage, yo...[VZW Gnex] (SOLVED-ISH)

I have tried almost every rom/kernel combination available and cannot seem to sustain an acceptable amount of RAM usage. I constantly have over 60-70% memory usage and there is NOTHING installed on the phone yet! It's causing massive slowdowns that make the phone nearly unusable. I cant seem to find the problem.
Currently using PA 4.3 beta with ASKP 4/2 build. Same issue. I've tried 4.2.2 roms, 4.3 roms, and every available 4.4.2 rom + kernels.
Is there any way to cut down the RAM usage? An app, a mod, a kernel/rom combo that will help me out here? Or is it just my device? I had one before and do not remember it being this awful before
since nobody seems to have any insight, id like to update with a note or two...
PA 4.3-Beta2/Dirty-V 20140422 is BADASS. Memory management is MUCH better. only about 40-50% RAM usage anymore. here are the settings im using (with TricksterMod for PERFORMANCE...battery is...meh):
General Tab:
I/O - 1280/fiops
CPU -
Min 350000
Max 1650000
Max Scr. Off 525000
Min Scr. On 350000
Governor - interacivex/smartassv2/ondemand (i switch between them for no reason at all really, just to test the difference. none really noticed. dyninteracive causes bootloop)
Specific Tab:
Content Adaptive Brightness - ON
Force Fast Charge - ON
Multicore Power Saving - 2 (just because...dont really know what impact it has)
High Performance Sound - ON
Headphone Volume Boost - 1
Vibrator Strenght - 127
Dynamic FSYNC - ON (havent noticed an impact either way...maybe battery life?)
Temperature Limit - 80
Temperature Throttle - ON
GPU OC - 384MHz (512 on my device causes garbage/lag in alot of games)
ZRAM - OFF (dont really understand its purpose...)
Voltages are untouched (suggestions?)
Phone does get pretty hot playing games like Asphalt 8/Real Racing 3/CoD: BOZ/CoD: Strike Team/anything graphically intense, but they all run exceptionally well. Apps that arent intense on resources are super snappy and much more responsive than they used to be on any other kernel/rom combo i tried.
These are just MY settings (again...for PERFORMANCE) Battery life is great depending on what im doing and how long im doing it for. Left alone with moderate internet usage i can get about 3/4 day with it. Gaming...forget it lol.
Any tips on better performance without the heat?

[GUIDE] [ROOT] ExtremE Battery Life, ie Ultra power saving mode!

GUIDE TO EXTEND YOUR BATTERY LIFE UP TO THE LIMIT
20% Enough For A Day!​It is one of the best option if you left home with less juice, and are going to be in a trouble!
Yesterday, when I was on a trip with my friends, I forgot to charge my battery, and guess what: just 17% of juice left on my device at early 6 AM! So, I used this simple method, which I am going to explain down there, then while returning home at 9:30, 6% of juice was available!
The thins that I did was, listened to music for more than 10 hours (via earphones), Took photos for more than 15 mins (altogether), Surfed 3G for about 7-10 mins (on way back to home! ), and some phone calls!
Click to expand...
Click to collapse
App required:-
No-frills CPU Control: Most of the custom ROMs have this app integrated, but you can also download from Play store! https://play.google.com/store/apps/details?id=it.sineo.android.noFrillsCPU
STEPS:-
1. Go to No Frills Cpu Control or Cpu Settings(on most ROM's settings)
2. Select:
-Ondemand (Extreme Battery life)
-Powersaver/Conservative (Ultra Extreme battery, but laggy)
3. Tick Apply on boot and choose Apply!
4.Youre done, Enjoy ur maximum battery life!
-P.S: To have these governer, i.e. "ondemand/Powersaver/Conservative" you must be on Custom kernel bcoz, its not available for stock kernel!
Click to expand...
Click to collapse
Here's the pic of mine battery within 2 hours (27%-22%). And post your best battery status too!
Click to expand...
Click to collapse
Non Sense and Requires custom kernel
bt its too lag, and the cpu always 126 mhz
GalKill said:
bt its too lag, and the cpu always 126 mhz
Click to expand...
Click to collapse
Its for emergency, and you can use ondemand governer to reduce lags!
Ondemand governer takes phone to deep sleep while screen turned off, and required CPU value, when needed!
myaservip said:
Non Sense and Requires custom kernel
Click to expand...
Click to collapse
It works fine, give it a try during emergency!
i mean not suitable for all
myaservip said:
i mean not suitable for all
Click to expand...
Click to collapse
Indeed, It is not suitable for multi tasking
lionelsuyog said:
Its for emergency, and you can use ondemand governer to reduce lags!
Ondemand governer takes phone to deep sleep while screen turned off, and required CPU value, when needed!
Click to expand...
Click to collapse
well for your kind information all the governers (if have custom kernel) take phone to deepsleep while screen off. And as per your thread title i don`t think the guide is that effective becoz this governer thingy is known by almost every one here.Not trying to flame but just wanted to say that don`t open new threads for such known things.
stock kernel have 2 governor
bcm21553 and performance
this trik can be apply when we use custom kernel
i know about this long time ago
:cheers:

Improving SOT without crippling performance

I see alot of people here claiming to have 6 hours of SOT on regular basis.
I dont see that is possible unless the phone is running whole day on 0% brightness with airplane mode on.
Is there any trick I'm missing on or what?
yes, root your device, install trickster mod, and put your cpu with noop and governor ondemand and min. 374mhz max. 1574mhz, and your gpu on powersave profile with 330Mhz on GPU! and of course lowering the brightness depending of your needs, if yu are outside you need to raise it, but if inside you can lower it!
i have ~6:40 OST with that settings
copy2050 said:
yes, root your device, install trickster mod, and put your cpu with noop and governor ondemand and min. 374mhz max. 1574mhz, and your gpu on powersave profile with 330Mhz on GPU! and of course lowering the brightness depending of your needs, if yu are outside you need to raise it, but if inside you can lower it!
i have ~6:40 OST with that settings
Click to expand...
Click to collapse
your performance must suffer.. does it?
IamFlynn said:
your performance must suffer.. does it?
Click to expand...
Click to collapse
no, my performance is good, no lag, no nothing...i cant see any problem with my device...with this is perfect to me!
i'm not a gamer, so i only play casual games on it and use basic stuff like music, camera and web browsing...and i tell you: my performance is superb!
because i have my phone bloat free, apllyed some mod's to build.prop and etc etc, is not only the trickster mod who gives to my phone this performance even with this settings!

Screen on time

Hello everyone, what's the most SOT you got on your sgh i747 ? I am now running official cm12.1 and the highest SOT was 3h30.
If you had more than that, please tell us how.
Cheers
Sent from my SAMSUNG-SGH-I747 using Tapatalk
I think this should've been posted in AT&T Galaxy S III Q&A, Help & Troubleshooting.
Any-who, I can't even get 3 hrs of SOT but battery can easily last ~30hrs of deep-sleep/light usage. I'd love to know a fix T.T
The most I've gotten was 4 hrs SOT using the S3Rx ROM a long time ago.
Flashed the 5.1.1 OctOs-OctL M4 rom with latest regular DKP kernel and pico GApps, and got the black-out theme from playstore: Intellidemand governer and zen schedueler; read ahead set to 1024 for internal and external; westwood tcp congestion, undervolted -100mv across the board, simple GPU algorithm from faux, gpu voltage intact, underclocked to max freq 1242mhz. ~10% battery for every ~40-ish minutes of youtube. adaptive brightness; stock battery, NJ2 modem. Not too shabby, eh?
SirLaughsalot said:
Flashed the 5.1.1 OctOs-OctL M4 rom with latest regular DKP kernel and pico GApps, and got the black-out theme from playstore: Intellidemand governer and zen schedueler; read ahead set to 1024 for internal and external; westwood tcp congestion, undervolted -100mv across the board, simple GPU algorithm from faux, gpu voltage intact, underclocked to max freq 1242mhz. ~10% battery for every ~40-ish minutes of youtube. adaptive brightness; stock battery, NJ2 modem. Not too shabby, eh?
Click to expand...
Click to collapse
Whoa! Thanks for sharing your settings. I'm on OctOs too!
@canodroid15, have you been able to get results like this? I know you also tweak your kernel a bit on OctOs.
Some stuff I missed in the first post: GPU gov is "simple," along with faux's simple algorithm, KSM(?) Is disabled (the option where it takes less CPU, not sure if that was enable or disable) GPU clock is 480, read ahead was actually 2048 for ext and int. Screen timeout is 30 seconds, live display is set to automatic. Results: (lots of WiFi, YouTube, and general browsing/messaging. Little to no data/GPS usage, sync is off, greenify stuff)
By this day I'm able to acquire such sot on Mokee rom. It's quite fast. But unstable. Self reboots on typing and calls.
Is OctOs rly stable to be daily driver?
#000000 said:
By this day I'm able to acquire such sot on Mokee rom. It's quite fast. But unstable. Self reboots on typing and calls.
Is OctOs rly stable to be daily driver?
Click to expand...
Click to collapse
OctOs is good for a daily driver, but I heard that bluetooth is no good on M4. You have to update to the latest weekly of OctOS to fix that. I think the weeklies are stable in that regard. I've been playing around with the CyanogenMod With a Twist by matrixzone; using the deathly kernel. Getting really good results with that too. Some more tweaking, and I'm confident that I'll hit the 4 hrs of SOT.
#000000 said:
By this day I'm able to acquire such sot on Mokee rom. It's quite fast. But unstable. Self reboots on typing and calls.
Is OctOs rly stable to be daily driver?
Click to expand...
Click to collapse
SirLaughsalot said:
OctOs is good for a daily driver, but I heard that bluetooth is no good on M4. You have to update to the latest weekly of OctOS to fix that. I think the weeklies are stable in that regard. I've been playing around with the CyanogenMod With a Twist by matrixzone; using the deathly kernel. Getting really good results with that too. Some more tweaking, and I'm confident that I'll hit the 4 hrs of SOT.
Click to expand...
Click to collapse
Yes, the latest weeklies are extremely stable and much preferred over the M4 release.
sjamie said:
Yes, the latest weeklies are extremely stable and much preferred over the M4 release.
Click to expand...
Click to collapse
Yay. I'm enjoying it right now. But I've found a bit of bug for me. I'm unable to switch network operator. It just gives me an error. I need it to use 3g cos my operator uses roaming with other one for 3g... Yay, it's Ukraine Bros.
I747 unlocked NJ2 modem and bootloader.
#000000 said:
Yay. I'm enjoying it right now. But I've found a bit of bug for me. I'm unable to switch network operator. It just gives me an error. I need it to use 3g cos my operator uses roaming with other one for 3g... Yay, it's Ukraine Bros.
I747 unlocked NJ2 modem and bootloader.
Click to expand...
Click to collapse
Bug confirmed!
You might want to report that to the devs at OctOS. Anyone else got some crafty stuff for SOT? Here's what I got so far:
ROM: matrixzone's CM OS with a twist (7/21)
GApps: PA modular Pico universal
Kernel Auditor settings:
CPU:
max clock @1242mhz
Interactive gov
Multi-core power saving set to aggressive
-75Mv across the board for voltage
Disable MPDecision and enable Intelliplug with Eco Performance profile
486 max freq for screen off
I/O:
Tripndroid schedueler
int read ahead set to 2048
ext read ahead 1024, and bfq sched
Misc:
Disable KSM (optional)
Westwood tcp congestion.
As always, disable sound and vibrations on touches, adaptive brightness, Greenify with root. Oh, and chummy dev team's Black-out theme
I'm playing with dkp kernel, and such pretty stuff..
I'll attach screenshot to this post after uni. There are will be different settings than previous in this thread.
So here is result of heavy use when 50%+ of brightness when playing MMO and mostly surfing via chrome. OctOs last nightly. With last dkp. From 04.10
Min mhz 54, max 1026.
Multicore PS aggressive.
Freelunch gov.
Undervolting - 25 each freq.
GPU to 300 mhz with simple algorithm by faux.
Laziness to 1.
Ramp threshold to 8.
All other is like listed some posts before mine.
I think you can get up to 5 hrs with moderate use. I'll try tomorrow.
@SirLaughsalot, thanks for sharing your settings!
CAUTION: Excessive moisture may develope in your pants. Keep the tissues handy.
Crazy sh** coming soon. Stay tuned peeps
EDIT: Hold on to your butts people. This one's gonna take a while .
FIRST AND FOREMOST: THE RESULTS
Everything about my phone's hardware is stock, other than protective casing. Stock 2100mAh battery. It went through two full charge cycles before this, and charging was done %0 to %100 when the phone was turned off. Everything you see below is real. I sh** you not. No point in making stuff up. An important thing to note is that these settings are not keeping gamers in mind. Simple users who are willing to sacrifice 720p video streaming (videos are laggy @720p. Happens to me on every LP rom.) will find these settings useful.
1. Scenario one: Normal college day. Phone taken off charge at 7:30 am. Full brightness til ~5pm. Battery lasted well over 12 hours. Battery finally ran out because I forcefully drained it by watching a few episodes of a show via firefox. At standby, I am very confident in it lasting well over a day or two.
2. Scenario two: Non-stop screen-on the moment I took the phone off charge. Started a youtube video (all cutscenes from the game Asura's Wrath; ~5 hrs long @480p) using youtube app, volume with speakers, lowest brightness the whole time. Mt. Everest was toppled by my crotch after I saw these results.
Yep. 7 hrs of screen on time. Again, I'm not here to troll. I have better things to do (like tweaking my phone ).
Here are the long awaited settings (first system settings, then Kernel Auditor):
THE ROM/GAPPS:
ROM: Latest BrokenOS (v3.9) taken from their G+ page.
GApps: tk modular PICO universal
Flashing method: Latest TWRP, first wiped everything in advanced wipe options except for ext sd and usb-otg. Then I formatted data, and hit factory reset. After that, I rebooted the recovery via reboot options in twrp, and selected the flashing order as follows (flashing from ext SD card, btw): ROM, GApps, SuperSU. Reboot once done.
SYSTEM SETTINGS
.25x animation speed in dev options, "faster than light" animations speed in Nova launcher settings.
Sync is off, mobile data is off unless necessary; same goes for WiFi.
Applied "Pitch Black Free" layers via built-in Layers Manager.
Adaptive screen brightness, Livedisplay set to automatic, Screen time-out set to 30 seconds. Daydream is set to off. Ambient display is off.
Hardware buttons backlight set to 1 second timeout. Disabled on screen nav-bar by going into settings>broken pieces>navigation>0dp nav bar height. Disabled Broken recents menu (using stock recents menu for convenience).
Disabled NFC, Hotspot search, and Location.
Dark material keyboard found in settings>language and input>android keyboard (AOSP)>appearance and layouts
Backup and reset is off.
Vibrate on touch disabled for the keyboard.
Dial pad tones, Screen locking Sounds, Touch Sounds, Vibrate on Touch are all diabled under "other sounds" found in settings>Sound and Notification.
Adaway is installed and running
Greenify installed and running. Do NOT greenify AdAway and Pitch Black. Wakelock detector should be left alone too, if you have that installed as well
Brightness usually kept at minimum via quick settings slider bar.
Uninstalled Amaze, Browser, and Email via built in system app uninstall tool. Replaced them with inbox, firefox, and ES File explorer. This is a personal preference, and not really necessary.
Kernel Auditor Settings:
CPU:
Frequencies: 1134 max, 384 min.
Governor: darkness
leave everything else stock.
CPU Voltage
MAY NOT WORK ON EVERY PHONE. Proceed at your own risk. Be sure APPLY ON BOOT is DISABLED
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
CPU Hotplug
Disable MPDecision and enable IntelliPlug if it isn't set this way already.
Conservative profile for intelliplug
Max screen off freq set to 486MHz. Leave everything else stock.
GPU
Everything stock because they revert back. If you can change it, then try "simple" governer for GPU.
Schedueler
sio for internal, bfq for ext.
Read-ahead: 1024kb for bot int and ext.
Kernel Samperage Merging
disable KSM (you choice on this one)
Misc Controls
optional: 100% vibration
Dynamic FSync enabled
TCP Congestion: Westwood
Well, There you have it. I hope this helps you lot, @sjamie , @#000000 , @youssefkr . Be sure to hit thanks, and if you can; SAY NO TO WINDOWS: http://www.linuxmint.com/, as well as https://sites.google.com/site/easylinuxtipsproject/mint-cinnamon-first Be sure you get the Cinammon edition if your computer can run Windows 7 and above. Second URL follows Cinammon, but the same site has the same guide designed for other distributions as well.
That's all for now folks. Cheers!
Lol Bros. 150mv undervolt... Still no bugs. With awesome OctOs ^^ and dkp kernel
Will try to undervolt more.
And battery lasts more longer and longer
My best battery performance with my 4 years old device and original battery presently on pac rom and dkp 4 Oct kernel
This is my BBS results with 50 MV under volt on board and using greenify with xposed
Total ON time 21 hrs 27 minutes
Screen on time 4 hrs 44 minutes
Sent from my SGH-T999 using Tapatalk
Whoa! You guys have some amazing battery life. The max I have gotten was about 12 hours of use and 2 hours of screen on time. Of course I dont really mess with the frequency and volts. I just like it stock.

Categories

Resources