{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Shabbypenguin and the Android Creative Syndicate
present to you
Battery Tweak RC1
This is really a tool for power users
If you don't consider yourself 'comfortable' with messing with your phone, then don't.
This is mostly the work of collin_ph, all the ideas are mostly his and I have only contributed in part to getting some things functioning correctly and some optimizations for the NS4G.
What does it do?
This tweak creates a service that periodically checks the phone's power source.
If the power source changes, it reconfigures the device for maximum performace, battery and safety.
Tweaks memory settings for current power source
Re-clocks CPU based upon battery remaining or current power source
Reclocks for maximum performance if on AC power
Reclocks for maximum performance and charging safety if on USB
Reclocks for performance and battery if on Battery
As Battery life is diminished, Maximum CPU frequency is lowered
Tweaks scaling charactaristics depending on power sourcee
CPU Scales up less frequently on battery power
CPU Scales up more frequently on USB/AC power
The CPU is allowed to scale dynamically in all charging states based upon CPU usage
Includes a batt-cfg utility to configure the system
You may load 1 of 3 pre built profiles
Manually configure CPU Frequencies in all charging states
Determine the percentage of underclocking as the battery drains
Configure how often to poll the power state / battery statys
Disable batt.sh service from running at startup
Includes a batt-rm.sh uninstall utility
Includes a batt-diag diagnostic utility
Includes optional Disk performance tweaks (enabled by default)
Includes overheating controls to lower your cpu if the phone starts to overheat
The Tools
The entire 'application' is written in shell code and was first written just to give a performance and battery boost, but since has evolved more and more.
All the tools mentioned will be utilized either through the terminal, or in adb shell.
batt.sh
This is the core of the entire script. Don't mess with it.
The one thing you should do after installing the script:
Code:
Code:
pidof batt.sh
If theres any number showing up after it, then it's working fine.
batt-cfg
This is the 'main menu' of sorts, as it gives the user all the options and allows them to toggle tweaks/mods on the fly.
batt-diag
It's a diagnostics utility, allowing you or someone knowledgeable to figure out any issues that you may be having with your device and be able to pinpoint exactly where the problem is.
batt-diag -v gives a more thorough output as you can see here; http://pastie.org/1162034
batt-rm.sh
It's a battery tweak removal script, follow the onscreen prompts and it should remove just about any trace of the battery tweak script.
The Presets
The presets are just default configurations that I have set up that can make your phone more efficient without you, the user, having to manually set everything.
The preset of 800 literally means that 800000 is the scaling_max_freq, or the max frequency, that your phone can achieve after you enable it.
Just typing 1, and then enter, you'll be ready and set to go. Same with 2 or 3.
Customize Settings
This is only for the experienced user, and it allows you to manipulate most/ifnotall the configurables on your device.
Note, you do not need to configure anything to enable this battery mod. Default settings will be assigned at 800MHz.
All the settings explain what each option does, so read them carefully.
Disk Boost
Remounts via noatime and nodiratime. Look up what that means on your own, and why it benefits performance the way it does.
Prerequisites needed to run this
netarchy's kernel
Matr1x kernel
seems to work with every rom
If you're running any other kind of kernel, feel free to try it but i cannot guarantee that it will work.
This script will WORK even if you don't have the import call at boot, but it won't survive on the next reboot. AKA if you dont have this rom kernel, when the phone boots it may not start batt.sh if you are willing please check and let me know if the rom/kernel supports it.
You can check via:
Code:
Code:
pidof batt.sh
NOTE: This script will also prompt you to try to run itself as root if you use it in terminal.
Contributors:
Collin_ph
Decad3nce
myn
onicrom
shabbypenguin
nullghost (aka tehdarkknight)
nubecoder - so he might not cry any moar
Download
*make sure to ignore some of the finer things on the screens they came from the epic version which im working on *
*make sure you are running these as root*
*disable setcpu while running this*
reserved for something
Makes me want to get a Nexus...
EPIC PORT [email protected]!!!!!
why so you can try it on your evo3d?
Great job bro!
Sent from my Nexus S 4G using Tapatalk
I can't wait to try this.
dreamsforgotten said:
Great job bro!
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
OT: but those lyrics are from Tears for Fears, he simply did a cover
Sent from my Nexus S 4G using XDA App
derekwilkinson said:
I can't wait to try this.
OT: but those lyrics are from Tears for Fears, he simply did a cover
Sent from my Nexus S 4G using XDA App
Click to expand...
Click to collapse
Well I covered my ass by citing a reference : p
Sent from my Nexus S 4G using Tapatalk
Now that's what I'm talking about, great job can't wait to get this up and running
Sent from my Nexus S 4G using XDA Premium App
Nice job. I might play around with this later tonight. Nicely done.
I install it but were i go for settings?
Sent from my Nexus S 4G using Tapatalk
renizo said:
I install it but were i go for settings?
Sent from my Nexus S 4G using Tapatalk
Click to expand...
Click to collapse
batt-cfg check the op for more
Sent from my Nexus S 4G using Tapatalk
either thru terminal emulator or adb shell
Anyway to add support for init.d by putting or editing a different script? Using opensoju, i dont know much about init.d or how it is implemented into a rom.
I love this original mod by collin. Glad to see you guys working w him
Uncle Jimmy says hello
uhh no idea all i know is the init script is there
It's been forever since I've used Collin's tweak with my Hero so please forgive the stupid question: if I flash a Rom or kernel do I need to reflash the batt tweak zip?
Sent from my Nexus S 4G using Tapatalk
rom yes, kernel no
shabbypenguin said:
uhh no idea all i know is the init script is there
Click to expand...
Click to collapse
After flashing netarchy beta 1.3.5, init.d was created and is executing at boot. In the kernel. Learn something new everyday Thanks for this mod. Ima big fan of ACS.
Uncle Jimmy says hello
running deck's ROM 1.2x, netarchy kernel 1.3.0.12 CFS universal and it survives reboot,.
Thanks for this. I also ran this on my hero back in the day.
so you can just flash this zip & you're ready to go if you want to leave everything at their default state?
everything seems to be working for me with KingsROM & Netarchy Kernel!
Related
I take no responsibility for ANY damage / data loss may occur. Use this at your own risk. Beta quality software!/Alpha quality features!
The news:
4.9 - THIS IS HIGLY TEST RELEASE
+ Profiles support
+ Bus frequency switching for Siyah kernel
+ Widget with profile switcher and app launcher (passive!)
+ Recovery instructions: lets you place CWM flashable boot settings deleter
+ CPU history: now can reset and refresh graphs
+ Root detection improvement (I hope...)
Voltage Control Extreme unlock Key on Android Market!
For now features exclusive to Extreme version are:
+ More than two profiles
+ CPU History page
+ overvolting capability (max +50mV, 1500mV absolute maximum)
+ increased uv range (max -250mV)
Click to expand...
Click to collapse
Sources available, project on google code:
http://code.google.com/p/voltage-control/
Look for kernels with this label:
Kernel developers who added VC support please show this image in your topic
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Uploaded with ImageShack.us
Features:
- minimum/maximum CPU frequency choosing
- selecting IO scheduler
- selecting CPU governor
- changing voltage per frequency
- chosing which frequencies should be used and which shouldnt
- saving settings to be automatically applied at boot (init.d script)
- saving/loading a OC profile
- well designed and highly optimised UI (I hope..)
- robust kernel detection, support of not-so-well-working kernels
- Siyah kernel interfaces (Charging current and GPU OC/UV)
- device info page
- (extreme) CPU usage history page
About donations:
This software is available free of charge.
It cooperates with OC kernel by raspdeep.
It uses some code from: MarketEnabler (Fool your market to make all apps visible!)
If you find this software useful, please consider funding a beer and pizza. There is a "Donate to me" link just over my avatar.
Donator list:
nitr8
kalpik
laststufo
glitterballs
screwyluie
Gembol
Coreym
Thanks!
How to?
Generally idea is simple: make changes to one tab and hit apply. If any changes have been made apply/discard buttons appear on bottom.
The first tab, "General" allows to change Scheduler,Governor/min and max frequencies.
Make changes and click apply
So, you want to pick a maximum/minimum frequency?
Just chose from slider and hit apply.
Governor/scheduler can be choosen by picking from the list, then hitting apply.
You can always discard changes before applying if you want start from loaded settings.
The "Advanced" tab has sliders to control undervolting settings and green/red icons, representing enabled/disabled state.
(green = enabled, red = disabled)
Pick your settings and hit apply, or discard and start over.
Profile support:
If you want to save as boot or as profile, you need to make adjustments and on "General" or "Advanced" tab and then apply them where applicable.
To save as boot -> press menu key, then select "Save as boot settings".
To save as profile -> press menu key, then select "Save profile".
Boot settings are automatically loaded on every device boot.
Profile settings can be loaded by pressing menu -> "Load profile"
Both "boot" and "profile" settings can be deleted from menu.
RECOVERY
If Your device freezes after boot because of too agressive boot settings:
Flash Voltage Scheduler Remover by user Coreym, via CWM. Don't forget to press thanks under one of his posts!
FAQ:
Q: Extreme version?
Yes, I wanted to give some extras for people that support my work.
For now features exclusive to Extreme version are:
+ overvolting capability (max +50mV, 1500mV absolute maximum)
+ increased uv range (max -250mV)
Q: What is it?
Its voltage control app for undervolt and overclocking kernels providing sysfs interface, designed and implemented by raspdeep (thank You!) It is being tested on his kernel releases and I can guarantee (kind of) its functionality on those kernels.
The idea of the app is to keep all simple as possible, not adding any startup services and reusing existing solutions (such as init.d support).
Q: What does it mean to undevolt, and what is overclocking?
Read more in "OC / UV 101" section That is a detailed(sort of) explanation what UV/OC means.
Check this great overclocking/undervolting guide by shaolin95 (thanks!) and discussion topic!
Prerequisites:
-root (superuser + su)
-busybox
-OC kernel supporting either UVLF and UVHF (Version 1.61) or UV_mV_table (1.97 and up)
-init.d scripts support for apply on boot
3.0.1 - OLD version;
Thanks mate will check this out looks pretty sweet.
Sent from my GT-I9100 using XDA App
4,5 version pushed to market ;p
Thanks a lot for your app xan.
Would it be possible to include GPU OC as well? I saw you were using Siyah kernel which does support that ^_^
What are the interfaces? I have something coming for Siyah in the following week
Take a look at these this post:
http://forum.xda-developers.com/showpost.php?p=18315860&postcount=3897
It has an example init.d script.
The init.d script for GPU OC or UV doesn't work for some people. Thats including myself, I change the value and save the script but nothing changes, I use Nenamark2 to see if my fps has changed, I still get around 50fps (400Mhz)
I asked someone else whose script was working somehow and he achieved 57fps on 400mhz.
I hope you try another way just like Tegrak app to OC and UV its GPU.
I'll defiantly buy it if Siyah kernel is supported
MrPhilo said:
The init.d script for GPU OC or UV doesn't work for some people. Thats including myself, I change the value and save the script but nothing changes, I use Nenamark2 to see if my fps has changed, I still get around 50fps (400Mhz)
I asked someone else whose script was working somehow and he achieved 57fps on 400mhz.
I hope you try another way just like Tegrak app to OC and UV its GPU.
I'll defiantly buy it if Siyah kernel is supported
Click to expand...
Click to collapse
The GPU script was a reference for the interface used.
xan said:
What are the interfaces? I have something coming for Siyah in the following week
Click to expand...
Click to collapse
That's great , waiting for this, could you possibly give us a hint what's coming up next? Btw using voltage control atm for uving and I love it. Especially that it doesn't run in background but makes a script which no other CPU control app does (as far as I know). Thanks for your great work
Sent from my Miuibuntu Revolution GT-I9100 using XDA App
Xan, you agree with take the source in my rom?
Maybe I can add GPU oc support, but I need first the voltage sysfs, how I can implement it.
Sent from my GT-I9100
The licencing after last rewrite (4.x) changed, its now closed.
You are free to work with the sources on google code (3.x)
The source of app wont be updated to latest version.
I'm implementing GPU oc/uv (UI!) myself, it will be available today/tomorrow.
Charging speed changes will be available too: http://forum.xda-developers.com/showpost.php?p=18471684&postcount=5059
About sysfs itself: check siyah sources.
xan said:
The licencing after last rewrite (4.x) changed, its now closed.
You are free to work with the sources on google code (3.x)
The source of app wont be updated to latest version.
I'm implementing GPU oc/uv (UI!) myself, it will be available today/tomorrow.
Charging speed changes will be available too: http://forum.xda-developers.com/showpost.php?p=18471684&postcount=5059
About sysfs itself: check siyah sources.
Click to expand...
Click to collapse
Why it is now closed source?
netchip said:
Why it is now closed source?
Click to expand...
Click to collapse
Quite a lot of work has been put into latest branch, I dont think I want any clones floating around.
Most was put into ui / look /feel of app..
It doesnt differ much in 'getting' and 'setting' the values, so 3.x code is still very valid and working.
xan said:
Quite a lot of work has been put into latest branch, I dont think I want any clones floating around.
Most was put into ui / look /feel of app..
It doesnt differ much in 'getting' and 'setting' the values, so 3.x code is still very valid and working.
Click to expand...
Click to collapse
I dont want to make a clone.
My intention is include it in a new secret AOSP rom ...
In the settings app.
Sent from my GT-I9100
With the new changes and the possibility of custom frequency steps in upcoming syiah kernel 2.1... Is this app going to be updated to support those ? Because now when I change the frequency steps I can only modify them using setcpu, voltage control cant see the new values and displays only old ones. Same applies for the cpu usage screen.
I bought the premium version because of the syiah extras, so I am hoping it will be updated in the future
Great app btw, been using the old one on my SGS1 back in the days.
xeq544 said:
With the new changes and the possibility of custom frequency steps in upcoming syiah kernel 2.1... Is this app going to be updated to support those ? Because now when I change the frequency steps I can only modify them using setcpu, voltage control cant see the new values and displays only old ones. Same applies for the cpu usage screen.
I bought the premium version because of the syiah extras, so I am hoping it will be updated in the future
Great app btw, been using the old one on my SGS1 back in the days.
Click to expand...
Click to collapse
Will do my best, I'm not sure how to handle this at this moment...
Will not run in ICS rom. Any chance of an update?
How come, it works for me.
Maybe some details?
Great work!
Sent from my GT-I9100 using xda premium
xan said:
How come, it works for me.
Maybe some details?
Click to expand...
Click to collapse
Nvm. I uninstalled it, then downloaded from market and this time it worked. I have the Extreme version installed.
Thanks.
I'm kinda new at the whole flashing kernel thing. i just downloaded and flashed the Tiamat_Evo (v4.0.6) on my GB 2.3.3 with CyanogenMad-7.0.3.1.
What are the ways to check the max/min speeds now and what are recommend ranges for long battery life and or fast performance on the EVO
+1 in advance
There's an app called CPU Spy Beta out...I couldn't find it in the market. Try Google...they seem to have everything. I'm underclocked with interactiveX 128/768. Runs great on battery with freedom kernal
HTC EVO 4G running MIKG 2.45
slimno19 said:
There's an app called CPU Spy Beta out...I couldn't find it in the market. Try Google...they seem to have everything. I'm underclocked with interactiveX 128/768. Runs great on battery with freedom kernal
HTC EVO 4G running MIKG 2.45
Click to expand...
Click to collapse
is this it?
https://market.android.com/details?id=com.bvalosek.cpuspy
If you use Setcpu to set frequencies it also has a feature that does the same thing. Go to the info tab then select time in state. Tells you everything that app does and more.
Sent from my PC36100 using Tapatalk
Cm7 has a built in CPU setting.
Settings - cyanogenmod settings - performance - CPU settings
I run min 128 Max 614, still speedy no reboots (unless I undervolt too much)
Also check out vipermod, it was designed around the tiamat kernel to allow you to change the voltages to your CPU. This also helps battery life!
Sent by Supersonic!
imheroldman said:
Cm7 has a built in CPU setting.
Settings - cyanogenmod settings - performance - CPU settings
I run min 128 Max 614, still speedy no reboots (unless I undervolt too much)
Also check out vipermod, it was designed around the tiamat kernel to allow you to change the voltages to your CPU. This also helps battery life!
Sent by Supersonic!
Click to expand...
Click to collapse
I'm undervolted by 100 and I get get more and more battery life the longer I condition my battery. I'm also set at min 691 and max 921
The more that your phone spends time that it's switching clock speeds (drastic changes) seems like a waste of power.
imheroldman said:
Cm7 has a built in CPU setting.
Settings - cyanogenmod settings - performance - CPU settings
I run min 128 Max 614, still speedy no reboots (unless I undervolt too much)
Also check out vipermod, it was designed around the tiamat kernel to allow you to change the voltages to your CPU. This also helps battery life!
Sent by Supersonic!
Click to expand...
Click to collapse
Awesome, ill try that. is it best to reboot after applying the new settings?
If you just changed clock frequencies then no need to reboot as It's done on the fly. If you change voltages then you need to reboot. Vipermod is an excellent script. I have used it on sense kernels even though it wasn't made for them.
After looking closer at the vipermod script it doesn't say a reboot is required unless going back to factory defaults.
Sent from my PC36100 using Tapatalk
@civicboy, no real need to reboot, make sure the settings don't cause your phone to reboot on its own before checking set at boot. Same goes for undervolting, and, you are more likely to get reboots with undervolting. I have seen peoples phones that wont accept any undervolting... be cautious... do it in 25mv increments to find what your phone can handle... have the reset file on your sdcard at all times. Sounds scary but its really not that bad once you figure it out.
Check back with your results or if you need more info.
Sent by Supersonic!
imheroldman said:
@civicboy, no real need to reboot, make sure the settings don't cause your phone to reboot on its own before checking set at boot. Same goes for undervolting, and, you are more likely to get reboots with undervolting. I have seen peoples phones that wont accept any undervolting... be cautious... do it in 25mv increments to find what your phone can handle... have the reset file on your sdcard at all times. Sounds scary but its really not that bad once you figure it out.
Check back with your results or if you need more info.
Sent by Supersonic!
Click to expand...
Click to collapse
here are my values. i went down to 100, however, i dont know what the factory values are so I cant confirm that it worked, or that the values stuck after reboot
Can anyone confirm by looking at these numbers?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
those numbers look too high. after you changed the value, did you enter "10" to save the changes and re-write to the init.d file?
alaman68 said:
those numbers look too high. after you changed the value, did you enter "10" to save the changes and re-write to the init.d file?
Click to expand...
Click to collapse
probably not, since i cant say yes right away lol
EDIT: I am just going to reset to factory, do the reboot, and start over.... making sure i save changes
Why am I getting this error at the bottom of the screen?
[/IMG]
Are you typing SU before you start vipermod? You have to give TU root for vipermod to work.
I think i got it figured out. i reflashed and restarted process and works great now, keeping all values. i went down -50. dont want to push my luck. Thanks for all the help!
Be sure to get vipers zip for reseting to default. This allows you to push the voltages and if you get boot looping you can just flash the reset from recovery.
And I gave you a "thanks" for actually thanking those that help out.
BuddaBelly said:
Be sure to get vipers zip for reseting to default. This allows you to push the voltages and if you get boot looping you can just flash the reset from recovery.
And I gave you a "thanks" for actually thanking those that help out.
Click to expand...
Click to collapse
lol awesome. thanks man.
You are talking about the original zip file right? can i just creat a folder called vipermod and store it in that incase of emergency?
ha, i was going to pop his "thanks" cherry too.
there is restore defaults .zip you can flash. Put it on your sd for safe keeping wherever you like and remember.
Terminal emulator is fun to learn too
alaman68 said:
ha, i was going to pop his "thanks" cherry too.
there is restore defaults .zip you can flash. Put it on your sd for safe keeping wherever you like and remember.
Terminal emulator is fun to learn too
Click to expand...
Click to collapse
Where can i get that?
http://bit.ly/nNN1P6
That's the file you need. Just put it on the root of the sdcard or wherever you know it's at and if you get into trouble going to crazy on voltages just flash it from recovery. It will reset your voltages back to defaults.
***THIS APP NEEDS A ROOT PHONE***
This app includes root tools that you can use with a simple click. Its currently under development, this means that it will get new things added.
***INCLUDES***
Reboot
Reboot in Recovery Mode
Reboot in Bootloader Mode
Quick Reboot
Power off your device
Wipe cache and dalivk-cache
Wipe dalvik-cache
Wipe battery stats
wipe cache
Free up RAM
backup bootanimation
install bootanimation
Save a LogCat
Save App specific LogCat
Turn On/Off CPU2
Kernel mods:
1. Overclock
2. Select Governor
3. Governor Settings for:
---EVERY GOVERNOR (PLEASE REPORT IF IT DOESN'T WORK)
***ONLYE FOR GALAXY NEXUS AND GALAXY SIII***
CPU temperature notification.
I will add more and more features.
Download now from PLAY STORE!!!
Looks good thanks. Will helping testing as much as possible.
Sent from my Galaxy Nexus using Tapatalk 2
Really nice stuff! If I were you, I'll add extra features that no other competitors have
Swyped on my Galaxy Nexus running AOKP with Franco Kernel
very good work, compliments!!
Version 1.5
Changed orientation to portrait. Added a bootanimation preview button. Easier file chooser for bootanimation. Completely different look for kernel mods. App more user friendly. Fixed some minor bugs. Removed some unused toast messages.
Need some test for bootanimaton preview. Please report back
Updated to latest, Version 1.6, with many fixes
unforgivenmercy said:
Looks good thanks. Will helping testing as much as possible.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Could you try the cpu temp notification, just turn it on and off like 10 times and tell me if you get any FC or if its not showing.
Thanks
Version 1.7
A lot of bug fix. Fixed governor settings not applying, added a check box to set governor at boot, fixed clear cache for ROMs that doesn't support it, fixed crash for CPU temp notification, fixed loop when device can't reboot, clear cache, etc. Added GSF id and System id info, (Will just show it to you).
Click to expand...
Click to collapse
If anyone get any other FC when enabling CPU temperature read, please report it again, since it should be fixed. Thanks.
New version with Rom management. Only available for CWM Recovery!!
I think you have a minor typo in OP 'turn off CPU 2' should be 'turn off CPU 1' as cores are CPU 0, CPU 1 (duel core) then CPU 2 and CPU 3 (for quad core device)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Galaxy Nexus
The Gingerbread Man said:
I think you have a minor typo in OP 'turn off CPU 2' should be 'turn off CPU 1' as cores are CPU 0, CPU 1 (duel core) then CPU 2 and CPU 3 (for quad core device)
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Yes I know that, but for not developers people seeing a number 1 is like the first CPU will be off. Since you normally start counting with the number 1. I did name it number 1 in one of the tests and I received a lot of e-mails asking me if its safe to turn off the first CPU and why I'm not doing it with the second CPU. So I decided to change the number so that way people wont get confused.
So basically you are right, but I did it on purpose.
Rotary Heart said:
Yes I know that, but for not developers people seeing a number 1 is like the first CPU will be off. Since you normally start counting with the number 1. I did name it number 1 in one of the tests and I received a lot of e-mails asking me if its safe to turn off the first CPU and why I'm not doing it with the second CPU. So I decided to change the number so that way people wont get confused.
So basically you are right, but I did it on purpose.
Click to expand...
Click to collapse
I see and no worries I was just checking, I don't intend on using this but just wanted to make sure you knew the correct labeling for the cores
Sent from my Galaxy Nexus
The Gingerbread Man said:
I see and no worries I was just checking, I don't intend on using this but just wanted to make sure you knew the correct labeling for the cores
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Thanks anyway
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Krazeecracker, Thomas.Raines and Team Fah-Q! presents
The Lightning Zap! kernel for the Hercules
ATTN:
I Krazeecracker, thomas.raines, Team Fah-Q!, nor it's affiliates claim responsibility for anything you do to damage, destroy, brick, explode, or otherwise screw up your device.
I revamped the Lightning Zap! kernel across the board. Since I have so many of them I was loosing where I was on each one. So I have now broken it down into 3 phases:
Phase 1: Introduction of LZ kernel to device
Phase 2: Fine tuning of tweaks, values, etc
Phase 3: Implementation of OC/UV
Phase 4: Continue updating and adjusting as necessary
From now on I will name the .zip accordingly as well:
Sky_p2.1
On a good note, I think this latest update will finalize phase 2 and now I can work on OC/UV...
Features:
Improved performance
Improved battery life
Improved network speeds
Improved boot times
Smoother scrolling
Better responsiveness
Cleaner file systems
Governor tweaks for amazing speed and performance without sacrificing battery life
Improved Memory and Ram tweaks
Improved Internet speed
Amazing kernel tweaks, build.prop mods, init.d scripts and more!
Instructions:
Make a backup
Download LightningZapv1Sky.zip to PC
Transfer LightningZapv1Sky.zip to your sdcard
Or just download it straight to your phone
Reboot to recovery
Flash
Phone will automatically reboot after install**
Wait 10 minutes
Enjoy the Lightning Zap!
ATTN!
If you are currently on any version of Lightning Zap! kernel, you must either replace your build.prop from your ROM or re-flash your current ROM. Or you can open your build.prop with a text editor and delete all lines below the Lightning Zap Tweaks entry.
This kernel was tested on ParanoidAndroid. This kernel and tweaks will work with any version of CM10 post 14OCT.
**First boot, especially after a fresh install of your ROM (wipe system cache etc, flash ROM gapps Lightning Zap) will take a while. It will seem to hang between a blank screen (which use to be the 2nd boot splash) and the boot animation. There is no need to panic. Everything is fine. It is the vacuum script trying to clean databases that have yet to be created. After first boot, your phone will boot as normal (a little faster actually)...
After first boot, ensure your I/O scheduler is set to cfq and your governor is set to ondemand to gain the maximum benefits of Lightning Zap!
See 3rd post for further instructions on improving and customizing your Lighting Zap! experience.
Source Code:
msm8660-common_lz_kernel
vendor_lz-kernel.git(scripts and zipalign binary)
Special thanks to:
gs2usr for the link to source code...
xan for Voltage Control app
Download links and changelog
Downloads and changelog
Sky_p3.2-1.zip
Vibration fixed thanks to tmob.
Sky_p3.2.zip with rotation fix included
Skipped 3.1 because it was incomplete
Added userspace voltage control (You can now use an app or script to control your voltage. I tested with Voltage Control (preferred) and Antutu CPU Master)
For badass battery life, I am using noop io-scheduler, Lionheart governor, underclocked at 1026Mhz, and globally dropped voltage by -100mV
Deep sleep is working right again (doesn't take forever for it to enter ds)
Leaned up thread and removed old versions. They are gone for good so please don't ask...
Sky_p3.0.zip
Fixed the ability to set max/min cpu frequency. Thanks to car vs driver for pointing me in the right direction
Added OC/UV from flappjaxxx h0tcakez kernel source
Fine tuned ondemand governor
Archived changelog
Plans:
I want to trim down the oc frequencies. I think that 29 is just too much. I also want to cut back on the governors and io-schedulers. There are so many to choose from and everyone has their preferences. How bout some feedback in the general scetion here
Enjoy the Zap!
More tips and tricks
This is already included but left for reference.
The governor tweak is set for a fairly balance of performance and battery life. If you find yourself needing battery life over performance, you can make some minor changes. Here's how:
1 Download Script Manager from the market (it's free)
2 Open Script Manager and navigate to /system/etc/init.d
3 Press menu/more/advanced options and select mount as RW
4 Select 01governor and select "edit" at the top (this will open the file in atext editor)
5 Uncomment (remove # in the particular line) and change:
Code:
echo "45" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
To:
Code:
echo "[COLOR=red]70[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
6 Select menu/save
7 Press the skull and cross bones icon at the top (this will allow Super User)
8 Press run, close app and enjoy
This will result is slightly slower performance but higher battery life.
If you want even better battery life:
1 Following steps 1-4
2 Add a # at the begining of lines 11 to 19
3 Scroll to "pwoersaver" section
4 Remove the # at the begining of lines 28, 30-38 and 43
Code:
#AWAKE_GOVERNOR="ondemand"
#SLEEP_GOVERNOR="ondemand"
# echo "70" > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold;
etc
Code:
AWAKE_GOVERNOR="powersaver"
#SLEEP_GOVERNOR="powersaver"
echo "20000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate;
5 Follow steps 6-8 (no need to select super user icon if you already did)
This will result in lower performance, but ultimate battery life
When running in a higher performance mode (especially for gaming) you can disable powersave_bias by changing the 1 to a 0 like this:
Code:
echo "1" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
echo "[COLOR=red]0[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/powersave_bias;
Powersave_bias only allows the CPU to peak for small increments at a time, and not allow the CPU to remain peaked even when the system calls for it. In gaming, that could result in choppy, laggy perofrmance and slow FPS..
Although it says not to in the script, you can change the sampling rate as well. Do not go below 50000. I left it at 57500 as I found this seems good setting for smooth scrolling and performance.
Code:
echo "[COLOR=Red]57500[/COLOR]" > /sys/devices/system/cpu/cpufreq/ondemand/sampling_rate;
Always leave SLEEP_GOVERNOR="powersave" uncommented (no #) and do not uncomment any other SLEEP_GOVERNOR as this will keep ultimate battery save while screen is off.
Only change values in increments of 5 for the up_threshold.
This is already included but left here for reference.
Source code tips
Needs updating.
just add this to your local_manifest.xml:
Code:
<remote fetch="https://github.com/TeamFahQ" name="LZkernel" />
<project name="msm8660-common_lz_kernel.git" path="samsung/msm8660-common" remote="LZkernel" revision="jellybean" />
<project name="vendor_lz-kernel.git" path="vendor/lz-kernel" remote="LZkernel" revision="master" />
Then add this to your cm.mk file i your device directory:
Code:
# adding Lightning Zap tweaks to build
$(call inherit-product, vendor/lz-kernel/lightningzap.mk)
And don't forget to remove the kernel entry in your cm.dependencies found in your device directory...
First! This should be fun...
Sent from my Nexus 7 using xda app-developers app
Nice... If only it had OC/UV... the dev said he would add it later.
Nice, but I have to admit this is quite confusing for me to read, a lot of stuff. (I'm ADHD)
TheLastSidekick said:
Nice, but I have to admit this is quite confusing for me to read, a lot of stuff. (I'm ADHD)
Click to expand...
Click to collapse
Lol, basically just flash with the rotation fix and your good to go. If you have the need for more juice then follow the third post. And fourth is for adding to an existing ROM your going to build, i.e. your kangs
Wait so this is the same as the one on skyrocket? So we still need rotation fix?
Sent from my All-Starred P.A.C SGH-T989
ArcticFish said:
Wait so this is the same as the one on skyrocket? So we still need rotation fix?
Sent from my All-Starred P.A.C SGH-T989
Click to expand...
Click to collapse
Correct lol
Couldn't you just merge the rotation fix zip and the kernel together? It would make things easier in a sense.
Shmi117 said:
Couldn't you just merge the rotation fix zip and the kernel together? It would make things easier in a sense.
Click to expand...
Click to collapse
done!
Thanks! I'll be sure to incorporate your kernel in an upcoming build dedicated to battery life!
Sent from my SAMSUNG-SGH-T989 using xda app-developers app
https://www.dropbox.com/s/vofmxdvp1mbuqkp/SkyLZv3.zip rotation fix included and now in OP!
Pardon me if I missed it, but is this kernel for Jelly Bean or Ice cream sandwich? Thanks.
GreggoryD502 said:
Pardon me if I missed it, but is this kernel for Jelly Bean or Ice cream sandwich? Thanks.
Click to expand...
Click to collapse
Jellybean only
I am currently on all-star ROM and on speed test the download is about 1mb slower but the upload was about 1.5mb higher on my network. I also notice the vibration isn't as strong is that me or does it have to do with the kernel as for battery I'm not sure yet. Thanks
Sent from my SAMSUNG-SGH-T989 using xda premium
Flashed on Dec 1 AOKP nightly.. working good so far.. thanks!!!
Sent from my Jellylicious T989
Running now, thanks man! Gonna run a full cycle tomorrow and will report back on battery
droidz79 said:
I am currently on all-star ROM and on speed test the download is about 1mb slower but the upload was about 1.5mb higher on my network. I also notice the vibration isn't as strong is that me or does it have to do with the kernel as for battery I'm not sure yet. Thanks
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
Vibration is fine on my end. And its also sleeping like a baby. And running it through the yes yesterday before posting it ran comparable to kko! :thumbup:
Warning : Stritcly FORBIDDEN to share MY work on Phonandroid
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Kernel Architect is some scripts to set your kernel without application and 100% compatible with all Kernels
only if you have a Snapdragon 800 as processor
You can modify :
- governors
- schedulers
- max frequences *
- table of voltages *
* if your kernel have OC/UV options
List of commands
Open an application like Android Terminal Emulator
Start always a session with su + enter ...
Code:
Architect
*that give you some informations and recommandations
Code:
governors
*that will show you all governors available
Code:
name of governor
conservative
interactive
wheatley
ondemand
performance
powersave
userspace
*that will activate the governor of your choice ( say me if you want another )
Code:
schedulers
*that will show you all schedulers availables
Code:
name of scheduler
cfq
deadline
noop
row
sio
fiops
test-iosched
vr
zen
*that will activate the scheduler of your choice
Code:
freq
*that will show you some informations about frequences of your CPU
Code:
freqmax1,3
freqmax1,4
freqmax1,5
freqmax1,6
freqmax1,7
freqmax1,8
freqmax1,9
freqmax2,3
freqmax2,5
freqmax2,7
*That will activate the max fréquence of your cpu : 1,3Ghz to 2,7Ghz
Code:
volt
*That will show your table of voltages CPU
Code:
volt0
*That will set the original table of voltages
Code:
volt-25
volt-50
volt-75
volt+25
volt+50
volt+75
*That will set - or + in mV
that will show you before and after
Warning: the base is volt0
How to have these scripts actived at boot
2 way :
- the folder init.d
- use Script manager
1) init.d
Copy your combinaison, for example :" interactive, deadline, volt-25 and past it in /system/etc/init.d/
Don't forget to be in root explorer and give right permissions *... ( read, write, execute )
You can find all my scripts in /system/bin/
or : Kernel-Architect-scripts.zip
2) Script Manager
Take the application Script Manager on play store
Choose the script, give root access and apply at boot
You can find all my scripts in /system/bin/
or : Kernel-Architect-scripts.zip
*** Kernel Architect-signed.zip ***
Uninstall Kernel Architect-signed.zip
Kernel-Architect-scripts.zip
- Reboot in your Recovery
- Install Architect_Edition-signed
- Enjoy
~~~~~~~~~~~~~~~~~~~~~~~~~
More
Take my TWRP theme :
Our themes1080p
- Download
- Reboot on Recovery
- Install
- Reboot on Recovery
- Enjoy
~~~~~~~~~~~~~~~~~~~~~~~~~
Reserved for OP
This is awesome. Great directions, works like a charm.
And first!
Sent from my SM-N900T using Tapatalk
I like alternatives. Especially the simplicity. Thanks.
I really expected a lot more activity in here. I would be here more often, but haven't had a single issue with the scripts. $hts on point. Battery lasting 3 days sometimes and I don't have to touch a thing or ever re-tweak. Just set all my (your) scripts on boot... Done.
And I still like the fact I don't have to mess around with an app.
Sent from any phone that isn't made by Apple.
Good stuff, simple and convenient - and sometimes silence is a good thing
dwitherell said:
Good stuff, simple and convenient - and sometimes silence is a good thing
Click to expand...
Click to collapse
Anybody need to begin by silence
Very good work, works great....thank you sir
reason for not much traffic, not many people like venturing into the kernel area and such....
But for peeps like us, this rocks.
:good::good:
dwitherell said:
Good stuff, simple and convenient - and sometimes silence is a good thing
Click to expand...
Click to collapse
I hear you. I was more leaning towards some thanks buttons being pressed. Maybe a question or two. But mainly on these threads you see a ton of requests. You should know, your thread(s) are full of requests. LOL.
TheAxman said:
Very good work, works great....thank you sir
reason for not much traffic, not many people like venturing into the kernel area and such....
But for peeps like us, this rocks.
:good::good:
Click to expand...
Click to collapse
True DAT...
Sent from any phone that isn't made by Apple.
noobtoob said:
I hear you. I was more leaning towards some thanks buttons being pressed. Maybe a question or two. But mainly on these threads you see a ton of requests. You should know, your thread(s) are full of requests. LOL.
True DAT...
Sent from any phone that isn't made by Apple.
Click to expand...
Click to collapse
I gave you another thanks, this baby is way nice...again thanks for giving me a toy to play with...this has some potential. And it works great...no issues here sorry to say.
What is the benefit to using this versus setcpu or trickster?
Sent from my SM-N900T using Tapatalk
useltonm said:
What is the benefit to using this versus setcpu or trickster?
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
The benefit is not using an app.
NorthLight said:
The benefit is not using an app.
Click to expand...
Click to collapse
Why is that a benefit though? I'm not trying to be difficult, I'm genuinely interested. If using something like this increases my Android knowledge, I'm all for it. I would just like to know before I dig into it more.
Sent from my SM-N900T using Tapatalk
useltonm said:
Why is that a benefit though? I'm not trying to be difficult, I'm genuinely interested. If using something like this increases my Android knowledge, I'm all for it. I would just like to know before I dig into it more.
Sent from my SM-N900T using Tapatalk
Click to expand...
Click to collapse
This mod will allow for all your specified kernel settings to load at boot via androids init.d. Apps like Trickster will load up in system memory after the OS has booted and will then apply the modifications you specify. You could say that scripts like this are "cleaner" ways of applying tweaks as it is done during boot naturally through the OS and negates the need to have an additional app starting and running in the background. That being said, init.d scripts are not as user friendly as apps like Trickster and could take some time to get used to if you don't have much experience with them. The scripts may also increase boot time but will most likely be a negligible amount.
themichael said:
This mod will allow for all your specified kernel settings to load at boot via androids init.d. Apps like Trickster will load up in system memory after the OS has booted and will then apply the modifications you specify. You could say that scripts like this are "cleaner" ways of applying tweaks as it is done during boot naturally through the OS and negates the need to have an additional app starting and running in the background. That being said, init.d scripts are not as user friendly as apps like Trickster and could take some time to get used to if you don't have much experience with them. The scripts may also increase boot time but will most likely be a negligible amount.
Click to expand...
Click to collapse
Thank you. Time to start reading.
Sent from my SM-N900T using Tapatalk
themichael said:
This mod will allow for all your specified kernel settings to load at boot via androids init.d. Apps like Trickster will load up in system memory after the OS has booted and will then apply the modifications you specify. You could say that scripts like this are "cleaner" ways of applying tweaks as it is done during boot naturally through the OS and negates the need to have an additional app starting and running in the background. That being said, init.d scripts are not as user friendly as apps like Trickster and could take some time to get used to if you don't have much experience with them. The scripts may also increase boot time but will most likely be a negligible amount.
Click to expand...
Click to collapse
Exactly !
Thanks