Update 2012\05\16
Removed blank bootmenu folder
Cleaned up init script, removed unsupported lines, added supported lines
Included SD Card Cache Tweak with 2048 value, to match io tweaks
**The lines weren't supported on Bravo Froyo Kernel, added new lines from /sys/block/mmcblk0/queue/iosched**
**If the removed lines are supported on GB Kernel, let me know and I'll make a zip for each kernel.**
**Just remove the last 2 lines of the init script if you don't want\need the SD Cache Tweak**
Update 2012\05\15
Removed Undervolt settings -- makes zip universal for Defy, Defy+, Bravo, and Milestone
SIO IO Scheduler now properly loads -- no market app needed now.
I originally made this for the Bravo, my phone, but posted it in the Defy forums as well. Since they're getting good results, I thought you guys would like them as well. In theory, it should work with Bravo, Defy, Defy+, Milestone 2, Cliq 2, Droid X, Droid2....basicly any phone with OMAP36XX and Froyo or Gingerbread Kernel (and same mount points as Bravo\Defy).
V2 Removed the Undervolt Settings, caused problems with GB kernel's 4 Vsels, and fixed it so SIO would load without a market app (original DX script didn't work right).
Copy of Original Bravo Post
This CWM compatible zip will install the DroidX smartassv2 and BOOSTEDassV2 cpu governors as well as the SIO Kernel Scheduler. While I've only tested this on CM9, it should work on ANY rom with init.d support and Defy 2nd-init Bootmenu....meaning all CM7\9 and Miui roms. I'm unsure if MS2Ginger and Stock Froyo have init.d support. It also undervolts the rom to [email protected], [email protected], and [email protected] Those values work fine with CM9 on my phone, meaning no fc's due from being too undervolted. -- Not Anymore
To install, simply flash the zip in cwn and you're done. Wiping Cache and Dalvik Cache isn't necessary.
To use the Governors, select the governor in the CM Performance Menu and select apply on boot, or use a CPU Governor program from the market. I recommend No Frills CPU Control --- its free, no ads, no bs permissions, and you can select the io scheduler.
To use the SIO Kernel Scheduler, install No Frills Cpu Control from the market and select SIO (or noop) from the bottom menu. (Not Necessary Now)
I haven't used SIO very much (5-10 mins now), but it seems to be working well. The noop scheduler works great, and is what I normally use; but I've always read good things about SIO (and wanted to use it), so I thought I'd include it as well.
I'd give thanks to the authors of the Governors and Schedulers, but I have no idea who wrote them....I only found them in Beanstown106's DroidX Miui V4 rom and they happen to work wonderfully on the Bravo.
thx for this work but when i install this zip over cwm5 i become an "Status 6" error.
oh0 said:
thx for this work but when i install this zip over cwm5 i become an "Status 6" error.
Click to expand...
Click to collapse
Odd. I flashed 3 times before uploading to make sure it worked. And it works on Defy and Bravo. Does the MS2 use --mount("ext3", "EMMC", "/dev/block/mmcblk1p21", "/system");-- to mount /system in roms?
I decided to recheck my scripting, and I left and forgot some () in it. I uploaded my pc's copy, and not the edited one on my phone. Oops, sorry. I'll have a new zip up in about 5 minutes.
New zip attached to the first post.
so the installation works. but wenn i select one of the governors it go´s back to ondamed. I use CM9 with GB Kernel.
I know that it works on Defy CM9 with GB kernel, and MS2Ginger with GB kernel as well. The Bravo only has Froyo Kernel so its impossible for me to test with it. The governors themselves came from MiuiV4 Droid X with GB kernel. Everyone seems to be using the BoostedAssV2 governor and getting good results with it.
Are you using the CM Performance Menu to set the governor? If so, try out No Frills CPU Control (free from market). You'll also be able to tell if SIO is loading with No Frills as well.
I'm curious if its a Milestone CM9 bug since it works just fine on Defy (& +) and Bravo CM9. Can anyone here try on CM7 or CM9 with Froyo kernel? Do you have CM9 with Froyo kernel?
Something to try is to open terminal on the phone and type:
su
insmod /system/lib/modules/cpufreq_BOOSTEDassV2.ko
insmod /system/lib/modules/cpufreq_smartassv2.ko
(or use -- adb shell insmod rest/of/command)
and see if they load manually.
when i use terminal and tip insmod /system/lib/modules/cpufreq_BOOSTEDassV2.ko it say´s "faild (File exists).
€: with no-frills cpu controll it works.
thanks.
oh0 said:
when i use terminal and tip insmod /system/lib/modules/cpufreq_BOOSTEDassV2.ko it say´s "faild (File exists).
Click to expand...
Click to collapse
Means its loaded.
I'd ask you to post a logcat, but after watching my logcat output, it doesn't explicitly show which governor is used, is being changed, or exact commands. Try SetCPU or No Frills from the market. A few Defy users use SetCPU, I use No Frills. One Defy user had to use System Tuner Pro to use them, but I don't think he read the first post correctly and was trying to load them from the bootmenu.
Try enabling "Load all Modules" in the CPU part of the bootmenu and Enable Overclocking from there as well. It shouldn't matter (Load all Modules) since the governors are loaded in an init script, but that's how my phone is right now, and the first script initially was. Also ondemand is the default fallback governor when nothing is used, which could explain why ondemand keeps getting selected no matter what you do.
lsmod (run in terminal) shows all modules loaded
Here's a screenshot of my lsmod
ok i found the mistake "Load all Modules" was disable.
oh0 said:
ok i found the mistake "Load all Modules" was disable.
Click to expand...
Click to collapse
So its working now?
i can switch the govenor with no-frills. but not over Settings->performance
but when i switch the govenor with no-frills to smartassV2 it shows me in Settings->Performance that it is SamartassV2.
sry for my bad english ;-)
At least its working now. That's a start anyways. Odd that its not in the CM Menu. They are for my phone and Defy.
How about sio, does it load properly? Just lsmod and it will be sio_iosched.
terminal shows me: "sio_iosched 3444 2 - Live 0xbf0d4000"
I think it works.
this really improves the performance of the phone? I install speedyv7! are similar?
fedegin said:
this really improves the performance of the phone? I install speedyv7! are similar?
Click to expand...
Click to collapse
Never heard of speedyv7 until now. I looked over its scripts and the only commands that are the same refer to the IO scheduler; which won't work on my phone (doesn't have the deadline IO or some of the io queue commands). The IO commands, other than using sio, are exactly the same so there shouldn't be any problems using them together. SIO will be the scheduler used if the scripts are used together since my init script loads afterwords.
FYI, SIO is a mix between the NOOP and DEADLINE schedulers and is supposed to be better. "Supposed to" are the key words, but SIO has been working great on my phone since I first installed it, though I haven't ran any benchmarks or tests to confirm anything between IO's, governors, and performance; but judging by how my phone feels now, sio and BOOSTEDassV2 make a good combination. Long ass sentence, huh; I suppose it's a triple compound.
Now I have to make a speedyv7 script for my Bravo, damn you
Thanks for pointing them out.
Currently installing v2.2...
Fingers crossed!
EDIT:
Installed, everything went smooth as silk.
I can set it from Settings > CyanogenMod > Performance > CPU Settings
I have had V6 SuperCharger for a month. Does SIO interfere somehow?
djlooka said:
Currently installing v2.2...
Fingers crossed!
EDIT:
Installed, everything went smooth as silk.
I can set it from Settings > CyanogenMod > Performance > CPU Settings
I have had V6 SuperCharger for a month. Does SIO interfere somehow?
Click to expand...
Click to collapse
I don't think so. Maybe with Kick Ass Kernelizer since they both load an IO Scheduler, but whichever one is loaded last will have the settings stick. My script runs pretty early, so chances are its settings will be overwritten by KaK.
If you're going to use SIO, I'd rerun Kernelizer and pick "sio" to be safe.
Will this work with JB?
Megalith27 said:
Will this work with JB?
Click to expand...
Click to collapse
Yes, I tried it last monday.
I noticed less battery drain, specially when the phone is sleep.
Been using it on the smartass profile for now... gonna try boostedass tomorrow.
Froyo kernel here.
Hi I checked this with ICS 4.0.4 and when I install it through CWM all went OK.
Now when I go to performance settings of ICS i have 2 times 1000 mhz? I even did a clean install for verification.
So in short I have:
300 Mhz
600 Mhz
1000 Mhz
1000 Mhz
Any idea? I'm missing the 800 Mhz value.
Thanks!
Alchedin said:
Hi I checked this with ICS 4.0.4 and when I install it through CWM all went OK.
Now when I go to performance settings of ICS i have 2 times 1000 mhz? I even did a clean install for verification.
So in short I have:
300 Mhz
600 Mhz
1000 Mhz
1000 Mhz
Any idea? I'm missing the 800 Mhz value.
Thanks!
Click to expand...
Click to collapse
It's not the Governor but the CM9 4.0.4 Bootmenu issue, as it is ported to MS2 from Defy and Defy only has 3 CPU frequencies, 3rd and 4th ones on MS2 are being duplicated by default.
Use Milestone 2 Toolbox or Bootmenu CPU Setting to introduce/change 800 Mhz and Vsel3 value that works for you.
Related
11-24-2010 UPDATE
http://www.ziggy471.com/2010/11/24/ziggy471-kernels-incbravoevo-updated-24-nov/
11-14-2010 UPDATE
http://www.ziggy471.com/2010/11/14/ziggy471-kernels-incbravoevo-updated-14-nov/
11-13-2010 UPDATE
http://www.ziggy471.com/2010/11/13/ziggy471-kernels-incbravoevo-updated-13-nov/
11-05-2010 UPDATE - Sorry for the late update!
http://www.ziggy471.com/2010/11/05/ziggy471-evo-kernels-fps-fixed-updated-5-nov/
10-28-2010 UPDATE
http://www.ziggy471.com/2010/10/28/betaziggy471-evo-kernel-updated-28-oct/
10-26-2010 UPDATE!
ZIGGY updated the kernel. Here is the link. (It's the link that has evo in it)
http://www.ziggy471.com/2010/10/26/...credible-aospevobravo-kernels-updated-26-oct/
ZIGGY, thanks for visiting this thread and thanks for a great kernel.
10-25-2010
Hey Everyone, first of all I DO NOT take any credit for this kernel. I came across it in Myn's Rom thread and since it didn't have it's own thread, I just wanted to start one so people could find it easily. I also noticed it in VirusRom's thread. So whoever ziggy is, thanks a lot! I'm getting great battery life on this kernel and according to the threads, it looks like others are also. Here's the link to ziggy471 website with the download. Thanks again ziggy!
http://www.ziggy471.com/downloads/?did=31
source can be found here ~~~> https://github.com/ziggy471/linux-2.6.32.25/tree/evo
gotshores said:
Hey Everyone, first of all I DO NOT take any credit for this kernel. I came across it in Myn's Rom thread and since it didn't have it's own thread, I just wanted to start one so people could find it easily. I also noticed it in VirusRom's thread. So whoever ziggy is, thanks a lot! I'm getting great battery life on this kernel and according to the threads, it looks like others are also. Here's the link to ziggy471 website with the download. Thanks again ziggy!
http://www.ziggy471.com/downloads/?did=31
Click to expand...
Click to collapse
+1 on this bro! Found the kernel this morning while looking for bakes kernel lol. Awsome one got lil lags here n their but can b workable
Sent from my PC36100 using Tapatalk
ya man, i ran it the other day and had great battery, but i thought it had affected my 4g connection, so i flashed another kernel. i reflashed ziggy's today because i missed the battery effect and i haven't had any issues all day (4G connects just fine). I not too technical, so i don't know the in's and out's of this kernel, but i do notice my battery life at the end of the day.
you said that you came across it on Myn's ROM. Is that the ROM your currently running? Just want to see how it works on others
ya, i'm using myn's rom and have only used that so far. would be interesting to see how it run's on other roms
im using a htc evo 4g with ziggys Ziggy471Kernel-EVO-update_signed-10242010-1644
on the download page it says alot but doesnt really explain how to access anything.
http://www.ziggy471.com/2010/10/23/z...kernel-23-oct/
i cannot adb in, says device not found, but via terminal if i do lsmod i get this
bcm4329 210342 0 – live 0xbf000000
if i try init.d or /proc/undervolt i get permission denied.
i did enter SU before entering anything, i dont know whats going on.
if i do cat /proc/undervolt i get the list of undervolt values like shown a few pages ago...
can anyone help?
Ziggy471 HTC EVO Kernel 23 Oct
NOTICE: I am not responsible for anything that may or may not happen to your phone, except for maybe it running faster. You break it, you fix it.
23 Oct 2010:
Kernel version 2.6.32.24
Overclocked
1.28GHz, I don’t recommend this setting, it doesn’t appear to work on the newer Desire ports. I recommend 1.113 or 1.15.
BFS 357 CPU Scheduler
BFQ IO Scheduler
Swap enalbed
SLUB (Unqueued Allocator)
All CPU governors, Interactive is the default
CPU Undervolt control via /proc/undervolt – built in, not a module
http://forum.xda-developers.com/showthread.php?t=775997&highlight=voltage+module
Fix for slow SD card access
http://forum.xda-developers.com/showthread.php?t=815557
CIFS
EXT4
TUN
A few tweaks here and there.
etc…
Also included in the update:
1. For any ROM that has busybox’s run-parts enabled, I added a screen state frequency/governor switching script, located in /system/etc/init.d. This means you do not have to use setcpu to control the frequency or governor anymore. If you prefer not using this script, delete it
The defaults for the script:
AWAKE_GOVERNOR=”interactive”
AWAKE_GOVERNOR_FREQENCY_MAX=”1113600″
AWAKE_GOVERNOR_FREQENCY_MIN=”245000″
SLEEP_GOVERNOR=”powersave”
SLEEP_GOVERNOR_FREQENCY_MAX=”460800″
SLEEP_GOVERNOR_FREQENCY_MIN=”245000″
2. remount script that will be installed to /system/bin.
Valid input format:
remount [ro|rw|status]
ro = read only (default)
rw = read write (to make modifications)
status = current mount mode
3. hosts file that blocks most ads, if you find more, let me know
also new kernel released on the 24th...
http://virusrom.com/Kernels/Ziggy471/Ziggy471Kernel-EVO-update_signed-10242010-1644.zip
hmm might give this kernel a try...I'm willing to try anything to save battery life...
intheb0x said:
Ziggy471 HTC EVO Kernel 23 Oct
NOTICE: I am not responsible for anything that may or may not happen to your phone, except for maybe it running faster. You break it, you fix it.
23 Oct 2010:
Kernel version 2.6.32.24
Overclocked
1.28GHz, I don’t recommend this setting, it doesn’t appear to work on the newer Desire ports. I recommend 1.113 or 1.15.
BFS 357 CPU Scheduler
BFQ IO Scheduler
Swap enalbed
SLUB (Unqueued Allocator)
All CPU governors, Interactive is the default
CPU Undervolt control via /proc/undervolt – built in, not a module
http://forum.xda-developers.com/showthread.php?t=775997&highlight=voltage+module
Fix for slow SD card access
http://forum.xda-developers.com/showthread.php?t=815557
CIFS
EXT4
TUN
A few tweaks here and there.
etc…
Also included in the update:
1. For any ROM that has busybox’s run-parts enabled, I added a screen state frequency/governor switching script, located in /system/etc/init.d. This means you do not have to use setcpu to control the frequency or governor anymore. If you prefer not using this script, delete it
The defaults for the script:
AWAKE_GOVERNOR=”interactive”
AWAKE_GOVERNOR_FREQENCY_MAX=”1113600″
AWAKE_GOVERNOR_FREQENCY_MIN=”245000″
SLEEP_GOVERNOR=”powersave”
SLEEP_GOVERNOR_FREQENCY_MAX=”460800″
SLEEP_GOVERNOR_FREQENCY_MIN=”245000″
2. remount script that will be installed to /system/bin.
Valid input format:
remount [ro|rw|status]
ro = read only (default)
rw = read write (to make modifications)
status = current mount mode
3. hosts file that blocks most ads, if you find more, let me know
also new kernel released on the 24th...
http://virusrom.com/Kernels/Ziggy471/Ziggy471Kernel-EVO-update_signed-10242010-1644.zip
Click to expand...
Click to collapse
Is there a changelog for the latest?
Trying it now. I wonder why he left out 2 of the most popular frequencies 1119 and 1228. Goes from 1115 to 1280, thats a pretty big jump......
myn said on his thread that he can confirm that adb doesn't work on the kernel released on the 24th also. if ziggy gets adb to work, he's gonna recommend it. i don't use adb, i do use terminal emulator every now and then, but haven't check to see if that wouldn't work either.
phistyle said:
hmm might give this kernel a try...I'm willing to try anything to save battery life...
Click to expand...
Click to collapse
I just grabbed it and id say Im a heavy user and i took it off the charger at 4:30am and it just died on me at 11 something ... id say pretty good battery life... using Myn's Rom
Problem with the broken adb shell is that it's causing some users to have problems using Titanium Backup. I love the kernel, but won't use it as a daily driver until Ti works without issue.
gotshores said:
myn said on his thread that he can confirm that adb doesn't work on the kernel released on the 24th also. if ziggy gets adb to work, he's gonna recommend it. i don't use adb, i do use terminal emulator every now and then, but haven't check to see if that wouldn't work either.
Click to expand...
Click to collapse
Crazy, ADB works fine for me with the one from the 24th.
do i have to go into adb shell in order to change the clock speed?
sorry im a newb...
f10g44 said:
do i have to go into adb shell in order to change the clock speed?
sorry im a newb...
Click to expand...
Click to collapse
you can use setcpu or Overclock wideget
nugzo said:
Crazy, ADB works fine for me with the one from the 24th.
Click to expand...
Click to collapse
you lucky ****er lol,
i think your the ONLY one adb shell is working for!
ugh,
we need to get someone in here that knows how to run and tweak this kernel.
its got so much crap built in and its hard to access it all, i wish there was a write up for us evo owners...
someone get ziggy in here or someone that knows about this!
The kernel that was released on the 24th seems to be well put together, I'm oc to the fullest and stable as can be, will report back what the battery life is.
Funny thing my ADB has nvr been broken and the 24th works fine for me
Sent from my phone.. I think Tapatalk???
Version 6 ULTIMATE is out!!
1. Updated to version 21a kernel
2. Optimized tegra battery profiling in both cores utilizing Interactive and Conservative (when screen is off)
3. Sleep Tweak Optimized
4. Ram timing optimizations tweaks directly from the kernel (no init.d required) utilizing Jew's
5. Removed harmony based drivers in kernel
6. Based on 8.6.6.10 ROM
7. Deodexed and zipaligned
Battery profiling as follows
100-90% - 1472 MHZ
90-50% - 1336 MHZ
50-15% - 1232 MHZ
15-1% - 912 MHZ
Here is the link
www.tunerspotter.com/clemsyn/ClemsynKERNELromCOMBOversion6Final.zip
Voodoo module fix
www.tunerspotter.com/clemsyn/Clemsynvoodoomodulefix.zip
BTW, if you like our work, please dont hesitate to donate
---------------------------------------------------------------------
Version 5 Final is out
Kernel
1. Based on 8.6.6.9 kernel
2. Updated kernel to release 13
ROM
1. Based on 8.6.6.10 by Asus
Link
www.tunerspotter.com/clemsyn/ClemsynKERNELromCOMBOversion5afinalrelease.zip
Version 4 Final Release is out based on 3.2 HC
Kernel
1. Updatd to 8.4.4.11 kernel
2. FS ext4 data changed to writeback mode (from ordered)
3. Updatd per nvidia (see git)
4. Updated to Elite version
ROM
1. Updated to 3.2 release by Asus
2. Odexed
Here is the link
www.tunerspotter.com/clemsyn/ClemsynKERNELromCOMBOversion5afinalrelease.zip
BTW, if you like our work, pls dont hesistate to click the donations button under our sig Thanks
-------------------------------------
Version 3 Final Release is out
KERNEL:
1. Added Mmap to video frame buffers
2. Updated i2c driver as per Nvidia's
ROM:
1. Added Facebook app, Video Sound and Reboot to recovery app
2. Kept Odexed
LINK:
www.tunerspotter.com/clemsyn/ClemsynKERNELromCOMBOversion3finalrelease.zip
BTW, If you like our work, pls click on donation butto under our sig Thanks
---------------------------------------------
Version 3A is OUT!
1. Odexed version of 8.4.4.11
2. Rooted 8.4.4.11
3. Disabled Recovery option due to being odexed
Link:
www.tunerspotter.com/clemsyn/ClemsynKERNELromCOMBOversion3a.zip
BTW, if you like our work, pls clean on donation button under our sig Thanks
Version 2B RELEASED!
1. Fix Market issue with some apps not showing
2. Enable "boot to recovery" Option in Shutdown
3. Deodexed
BIG THANKS TO ROACH2010 for 1-3
Here is the link
www.tunerspotter.com/clemsyn/ClemsynKERNELromCOMBOversion2b.zip
LMK of any issues. THANKS!
-------------------------------------------------------------------------------------
Version 2 RELEASED!
1. Fixed battery profiling to utilized 1504 at 100%-90% battery level
2. Fixed browser crash when entering into settings
3. Added ext4 optimizations in the ROM
4. Added input settings to disable tap to click
5. Removed chinese apks
6. Added Spare parts
www.tunerspotter.com/clemsyn/ClemsynKERNELromCOMBOversion2.zip
BTW if you like our work, pls click on the donations button under our usernames. THANKS.
----------------------------------------------------------------------------------------------------------------------
Introducing my first build for a kernel+ROM combo with battery profiling which decreases the speed of the CPU depending on battery level. It is automatic and overclocked at 1504 ghz and goes all the way down to 912 mhz. More details of the kernel and ROM below.
---------
KERNEL
---------
1. Includes Blades overclocking features with max at 1646 mhz (very stable in my tablet)
2. Includes undervolting feature (thanks to CPAjustes)
3. Includes voodoo sound (thanks to supercurio)
4. Overclocked 2d/3d gpu at 400 mhz
5. VDE and sound overclocked at 300 mhz
6. Based from ASus release
7. data/app feature included
8. netarchy's disable tap included (just download his app to enable)
9. VOLTAGES per frequency are as follows
1646 - 1450mv
1600 - 1400mv
1504 - 1300mv
1400 - 1200mv
1200 - 1150mv
1000 - 1100mv
912 - 1050mv
817 - 1025mv
760 - 975mv
608 - 950mv
503 - 875mv
456 - 825mv
314 - 800mv
216 - 750mv (can be uundervolted to 725mv per Pimpmycpu)
------
ROM
------
1 Battery profiling (Thanks to Calkulin) are as follows
a. automatically overclocked at 1504 with battery level at 100-90%
b. overclocked at 1400mhz when battery level drops to 90-50%
c. overclocked at 1200mhz when battery is at 50-15%
d. underclocked at 912mhz when battery level is at 15% and below
2. Battery profiling is automatically disabled when SetCPU is installed so you can overclocked more when you install SetCPU (or you can edit the init.d script)
3. Pimpmycpu is installed for undervolting and stress testing
4. Voodoosound App free version is installed
5. Dual battery widget installed
6. RAM script optimizations include (Thanks to Juwel)
7. CPU governor set at interactive
8. SDCARD optimization script by me and Calkulin
9. Based from 8.4.4.7 release
10. system/app deodexed (thanks to Roach2010 for this)
Here is the link
www.tunerspotter.com/clemsyn/CLEMSYNkernelROMcombo.zip
HOW TO INSTALL:
1. BACKUP..BACKUP..Backup
2. Enter Clockworkmod Recovery
3. Clear data/factory
4. Install zip file
5. Reboot
TIPS
1. Please do not enable "Force minimal freq when sleeping" in Pimpmycpu because it will have a conflict with the battery profiling script.
2. Install netarchy's app to disable tap to click
3. Install Setcpu to disable Battery profiling script (will allow you to overclock more)
4. If you want to overclock (or underclock) more without installing SETCPU, edit the init.d script at /system/etc/init.d/02cpufreq_screenstate_scaling
5. To try a certain speed without installing SETCPU or editing the script. Enable the frequency at PIMPmycpu and you can test it out. It will default back to battery profiling speed when the screen turn off or when you press the power button.
BTW, this is an overclocked build so your mileage will vary If you are unable to boot at 1504, do not install this. Thanks.
Also, if you like our work, please click on our donation button under our username. THANKS
Awesome
Sweeet !! Do we know how much battery saving that can give ? Is is a drastic change ?
Good work !
Testing it right now.
I spy with my little eye, a new ROM for me to try!
LINK is up. BIG thanks to chatch15117 for the ftp site
TIP
1. Please do not enable "Force minimal freq when sleeping" in Pimpmycpu because it will have a conflict with the battery profiling script.
2. Install netarchy's app to disable tap to click
3. Install Setcpu to disable Battery profiling script (will allow you to overclock more)
4. If you want to overclock (or underclock) more without installing SETCPU, edit the init.d script at /system/etc/init.d/02cpufreq_screenstate_scaling
5. To try a certain speed without installing SETCPU or editing the script. Enable the frequency at PIMPmycpu and you can test it out. It will default back to battery profiling speed when the screen turn off or when you press the power button.
Thanks a lot man, i will try this when im home, the first thing to do
Sent from my HTC Sensation Z710e using Tapatalk
nordicfastware said:
Sweeet !! Do we know how much battery saving that can give ? Is is a drastic change ?
Good work !
Click to expand...
Click to collapse
Would really depend on how much you can undervolt your cpu (via pimpmycpu) and how you set the profiling frequencies at (editing the init.d script). With the script, you can edit a certain frequency at a certain battery level Ihave included File expert (to mount system/etc as rw) and Estro File explorer
This looks awesome! I'm excited to use this combo, will a restore of stock rom data cause issues? I figure it does hence the backup/wipe steps but its still worth asking
Sent from my pimped out cappy
yup,that is what i`m talking about more roms more pleasure for us
awesome job Clemsyn
Wow, nice work.
But i'm only interessted in the kernel. Will you further support the other thread with your kernels?
4. If you want to overclock (or underclock) more without installing SETCPU, edit the init.d script at /system/etc/init.d/02cpufreq_screenstate_scaling
What if I want to overclock the gpu some more? Can I do that?
Thanks Clem!!
Great to see new cooks in the kitchen, variety is the spice!
I am keen to try your ROM combo without installing SetCPU, however wanted to ask a question.
AS we all know, when we sign into market our tablets efficiently start automatic download and installation of programs we have purchased/previously installed.
I purchased SetCPU a while back and it's often one of the first apps to get installed.
I will try to be quick and cancel the installation, but wondered if it does happen to get installed, and then I uninstall it, will the automatic CPU throttling settings be messed up or will they automatically kick back in if they see SetCPU is uninstalled?
Thanks!
One other really important question:
Does this have the option to boot into recovery (long press power) like Prime 1.5?
Just makes any future changes that much easier.
Thanks.
Globespy said:
Thanks Clem!!
Great to see new cooks in the kitchen, variety is the spice!
I am keen to try your ROM combo without installing SetCPU, however wanted to ask a question.
AS we all know, when we sign into market our tablets efficiently start automatic download and installation of programs we have purchased/previously installed.
I purchased SetCPU a while back and it's often one of the first apps to get installed.
I will try to be quick and cancel the installation, but wondered if it does happen to get installed, and then I uninstall it, will the automatic CPU throttling settings be messed up or will they automatically kick back in if they see SetCPU is uninstalled?
Thanks!
Click to expand...
Click to collapse
If setcpu is installed, then battery profiling script is disabled. If uninstalled, then battery profiling is enabled upon reboot.
Globespy said:
One other really important question:
Does this have the option to boot into recovery (long press power) like Prime 1.5?
Just makes any future changes that much easier.
Thanks.
Click to expand...
Click to collapse
Not yet but will include it in my next release including a few ext4 optimizations and try inserting huawei modem usb
thanks...trying...to download at work...
looks like the server is getting hammer with download...
Also thanks for the ram script preinstall
sontin said:
Wow, nice work.
But i'm only interessted in the kernel. Will you further support the other thread with your kernels?
Click to expand...
Click to collapse
Yes I will. Will update it soon.
Globespy said:
Thanks Clem!!
Great to see new cooks in the kitchen, variety is the spice!
I am keen to try your ROM combo without installing SetCPU, however wanted to ask a question.
AS we all know, when we sign into market our tablets efficiently start automatic download and installation of programs we have purchased/previously installed.
I purchased SetCPU a while back and it's often one of the first apps to get installed.
I will try to be quick and cancel the installation, but wondered if it does happen to get installed, and then I uninstall it, will the automatic CPU throttling settings be messed up or will they automatically kick back in if they see SetCPU is uninstalled?
Thanks!
Click to expand...
Click to collapse
When setting up your gmail account after flashing a ROM you don't have to load previously installed/downloaded apps. Just don't check the "Restore data from my account" tick box.. Might be named slightly different but that's the gist of it.
If you have it load to reinstall your apps then you can get around this by either using Titanium Backup, or Astro file manager has a free app-backup but it doesn't work as well (can't get secured apps, etc.)
browser fc
Everytime i go into browser settings i get fc.... tried clearing data in apps... no dice.
Smooth rom otherwise ! Looking forward to updates.
amerikian said:
Everytime i go into browser settings i get fc.... tried clearing data in apps... no dice.
Smooth rom otherwise ! Looking forward to updates.
Click to expand...
Click to collapse
Try using Pimpmycpu and choosing a lower frequency for max (don't turn off the screen or else the battery profile will push it backup to 1504).
Can it be use with CPU Master instead of setcpu?
If not, what is the different with working with one but not the other?
Disclaimer:
I don't take any responsibility if your phone explodes, your girl/boyfriend breaks up with you or any other stuff.
Do not flash on anything else than an GT-S7500! No L model or W model, else you get a shiny brick.
Don't forget your warranty will get void if you flash this trough odin. (Unless someone figures out a way to reset the custom binary counter)
So flash AT YOUR OWN RISK.
Click to expand...
Click to collapse
Based on official Samsung Sources. Governors copied from freexperia github. Other changes by me.
Features:
- unsecured
- smartassV2
- SavagedZen (beware: in sleep mode cpu speed is capped at 480Mhz)
- noop sheduler by default
- minimium frequency set at 122Mhz
- enabled 19Mhz and 61Mhz frequencies (use setcpu or similar)
Click to expand...
Click to collapse
Tested with S7500XXLC2/S7500OXXLC1/S7500XXLC2. Flash with odin.
OC Build:
- Overclock frequencies seem to have the same performance but OC is indeed working, thanks to mb-14!
(Confirmed after many tests quadrant/setcpu/neocore cpu frequency is the same from minimal overclock to 1200Mhz)
- My phone as crashed 3 since I've overclocked it, so beware!
- Unless there is a better way of ocing, my newer builds will have oc disabled.
OC build v2 (31 May, 22h):
- Removed all overclock frequencies but 1200Mhz.
Bugs affecting all builds (even official ones):
- "Fuel gauge" might be bugged (maybe due to old/bugged samsung sources?) update:might be an rom bug instead.
- 3 pole headphones have noise in one channel and then the noise disappears (jack sensing bug?)
Sources Help & feedback are appreciated.
EDIT:
New kernel posted minimal changes again (samsung config updated from a new version LE1)
If you don't want an yellow triangle at boot flash my custom rom and then flash the kernel using the terminal.
1-Extract the tar.md5 file
2-Copy the boot.img to the sdcard
3-Use the terminal (or adb) as root to cd to the sdcard folder
4-Then type this "dd if=boot.img of=/dev/block/mmcblk0p8"
If you want to flash a custom recovery it works too, type "dd if=recovery.img of=/dev/block/mmcblk0p12"
Then you can flash whatever rom you want as long you don't use odin to flash an custom kernel or recovery you can keep your warranty intact (if you never flashed any custom kernel/recovery that is).
Keep in mind that this doesn't clear the counter only makes the triangle go away.
Click to expand...
Click to collapse
Custom recovery based on cm9 (5.5.0.4) posted (appears to work fine but more testing is required). Bootloop fixed. If you get stuck in recovery (unknown boot mode) go to "advanced" and choose "reboot recovery" when it is finished rebooting into cwm again choose "reboot system now".
DEVELOPMENT IS STOPPED. I no longer have the ace plus.
successfully flashed on my S7500DDLD1...only thing i noticed is after the flashing is complete phone doesnt boot normally but stays in download mode so i manually rebooted and i have ur kernel on my phone...take ur time and improvise it (startup scripts ,CM/MIUI support) , ALL THE BEST...
Wot's the benefit to flash custom kernel??.... Anyway gud step move ahead in making custom rom also for ace plus
Sent from my GT-S7500 using Tapatalk 2
deadwood01 said:
successfully flashed on my S7500DDLD1...only thing i noticed is after the flashing is complete phone doesnt boot normally but stays in download mode so i manually rebooted and i have ur kernel on my phone...take ur time and improvise it (startup scripts ,CM/MIUI support) , ALL THE BEST...
Click to expand...
Click to collapse
Odd mine rebooted and worked fine on first attempt. I've only messed with one script so far. I'm still thinking what I should add to the kernel.
I'm trying to build aosp but so far no luck.
balliboxer said:
Wot's the benefit to flash custom kernel??.... Anyway gud step move ahead in making custom rom also for ace plus
Sent from my GT-S7500 using Tapatalk 2
Click to expand...
Click to collapse
So far it's to have new governors and a new sheduler.
BUG :
1 . When on savagedzen gov unlocking the phone from sleep is delayed/laggy also if u r listening to music and the lock the screen then the music starts lagging tried increasing the min freq still the same , may be something like a deep sleep or sod bug..
deadwood01 said:
BUG :
1 . When on savagedzen gov unlocking the phone from sleep is delayed/laggy also if u r listening to music and the lock the screen then the music starts lagging tried increasing the min freq still the same , may be something like a deep sleep or sod bug..
Click to expand...
Click to collapse
I'm trying to reproduce the bug, but since my phone is still charging I can't seem to get the music lagging. What music app and music format are you using?
blackburner said:
I'm trying to reproduce the bug, but since my phone is still charging I can't seem to get the music lagging. What music app and music format are you using?
Click to expand...
Click to collapse
Stock music player , mp3 format...
Even while charging the bug exists...
deadwood01 said:
Stock music player , mp3 format...
Even while charging the bug exists...
Click to expand...
Click to collapse
Strange I can't seem to make it lag on savagedzen. The UI feels slower but music isn't lagging. Do you have any sound effect enabled?
Edit: I've got lag when using the EQ and waking the phone.
Edit 2: I've uploaded a hopefully fixed version, let's also hope that the changes that I made won't screw up the battery life.
flashed test kernel 3
the same bug exists wen used with EQ but the intensity of the bug is only 20% compared to the previous one also increasing the min freq to 480 completely nullifies the bug...also with EQ off the bug doesnt exist
will see how the battery life is... btw have u played with the drivers/bus to change the battery life...?
I can't get any lag at all now (after v3). Can you give my all your parameters? EQ settings, mp3 bitrate, where is your music stored and if using an sd card what type of sd card are you using.
I've set the minimum at 19Mhz and on air plane mode and by morning I still had the same battery than yesterday (89%).
The only thing that I changed was the cpu frequency table to include 800 Mhz at the same voltage than 600 Mhz and so far it seems ok, but might not be true to all phones.
blackburner said:
If anyone wants the sources just ask! (Maybe setting up a github account is a good idea?) Help is appreciated.
Click to expand...
Click to collapse
Setting up a github repo is indeed a good idea.Maybe then i can help
mb-14 said:
Setting up a github repo is indeed a good idea.Maybe then i can help
Click to expand...
Click to collapse
I've posted a link to the sources on github. I'm still learning how to use git. But I'm still uploading the sources.
Edit: Uploaded!
Can anybody help me with the cpu frequencies? I've cracked part of it but I don't know what to change since if OC to 1200Mhz I only get 600 Mhz performance
I've attached the table I'm using (xls since ods xda upload gave me the finger lol)
blackburner said:
Can anybody help me with the cpu frequencies? I've cracked part of it but I don't know what to change since if OC to 1200Mhz I only get 600 Mhz performance
I've attached the table I'm using (xls since ods xda upload gave me the finger lol)
Click to expand...
Click to collapse
Check my fork of your kernel on my github.I have got OC working.
P.S: Could you update your repo to the latest kernel source from samsung?My net speed is very sucky
mb-14 said:
Check my fork of your kernel on my github.I have got OC working.
P.S: Could you update your repo to the latest kernel source from samsung?My net speed is very sucky
Click to expand...
Click to collapse
I don't see any new kernel versions on the Samsung open source release center.. I'm still going to test oc did you change anything else than the CPU frequency table?
Edit: Overlclock is working! Thanks to mb-14!
Anyway it looks like the cpu when on OC is always working at the same frequency, since by overclocking it to 1017 I get an 150 ms reduction on setcpu native bench. And it remains the same for all the other frequencies.
For what I've understanded of PLL and CPU clocks looks like the cpu is running at 1200 MHz. (In the frequency table you can claim any frequency but it doesn't mean the cpu is running at that speed)
Edit: With OC my phone crashes after a while (ram dump mode)
Edit 2: Neocore doesn't seem to care too about the cpu frequency I set above the stock 1008Mhz. From 1017Mhz to 1200Mhz the score is always the same (85,6Fps)
Hello,
i have flash your kernel and its running very good!
Galaxy S7500
2.3.6 (S7500XXLA3)
Antutu 3596
Quadrant 2458
Neocore 85,4fps (1018mhz-1200mhz)
with OC 1,2GHZ and Performace mode
thanks!
I wait for the next version
heXXer321 said:
Hello,
i have flash your kernel and its running very good!
Galaxy S7500
2.3.6 (S7500XXLA3)
Antutu 3596
Quadrant 2458
Neocore 85,4fps (1018mhz-1200mhz)
with OC 1,2GHZ and Performace mode
thanks!
I wait for the next version
Click to expand...
Click to collapse
So you found no difference between overclocked frequencies too?
Unfortunately, no difference....
im upgrading the kernel...
my wish:
can you try to integrate the BLN mod?
I found a manual but I have to search again...
thanks
Edit: with new test_stable kernel (1008mhz) 84,3fps neocore
before with 1018mhz it was at 85,4fps
heXXer321 said:
Unfortunately, no difference....
im upgrading the kernel...
my wish:
can you try to integrate the BLN mod?
I found a manual but I have to search again...
thanks
Edit: with new test_stable kernel (1008mhz) 84,3fps neocore
before with 1018mhz it was at 85,4fps
Click to expand...
Click to collapse
the bln mod sounds useful I will check it out!
Edit: flash the new oc version
Yesss!It is very useful!!
neocore says 85,5fps
Edit: The statistic from nofrills cpu control shows that cpu step 61mhz not is in use.my min frequenz is 19mhz.
sorry for my bad english im german ;-)
who finds fault, may keep them ;-)
Hello guys & Gals
In this tutorial we will be learning how to change deep sleep state in STOCK ROMS/STOCK based ROMS in Samsung galaxy S Advance.
First of all What is deepest sleep State?
"CPU on the Mobiles have variable speeds, like CPUs on laptops. We can work at 200, 500, 800, 1000, 1200 and 1400 MHz, depending on what application we're running.
When there's nothing to do, the CPU should go into "deep sleep" state, which means basically stopped, so it consumes very little power."
By default, Deep sleep state will be 3 in STOCK JB and can be increased till maximum 5.
Now lets start with it.
Requirements:
Samsung galaxy S advance running any STOCK based ROM
Rooted
Root explorer
Terminal emulator
Kernel having init.d support (CoCore-E/EP 6.0 or above)
Instructions
First Download the deepsleep.zip
Extract the zip and you will be getting a file
Copy the file to your phone in Internal storage/Memory card.
Open root explorer and give it root permissions.
Now navigate to System/etc and make a folder named"init.d" if it is not there.
Long press the folder and some options will pop out.
Click on permissions and tick the first 9 brackets(i.e change the permission to 0777)
Now Change Ownership to root root 0:0
Next move the file "deepsleep" from the Storage to the init.d folder.
Change the permissions and the ownership same as you did for the init.d folder.
Reboot your phone.
How do I know That my Deep sleep state has been changed to 4?
Open Terminal Emulator and type the following commands & you should be getting your answer.
su
cat /d/cpuidle/deepest_state
Click to expand...
Click to collapse
You can change deep sleep state to 5 by editing the deepsleep file in init.d and replacing 4 by 5. (similar to make it 3)
NOTE: Don't Use Deep Sleep State 5 on pegasusq(sio governors), It may cause system instability. Instead use indemand+cfq in deep sleep state 5. (but still you may encounter random reboots)
Enjoy better battery backup in standby mode.
If you are using CM10.1/10.2 there is a option to change deep sleep state in settings>advance>deep sleep. You will not be needing any script in CM.
init.d script by anantttt
This is my first post on XDA, So do thank me if you like it & sorry for any typos.
:fingers-crossed:
#PEACE
Thanks man
I'm using the valor 4 with the init.d script
So, i must think that the pegasusq + sio or noop or row scheduler and deep at 4 work normal? i'm using in this moment ondemandq + noop as test
FabioSan said:
Thanks man
I'm using the valor 4 with the init.d script
So, i must think that the pegasusq + sio or noop or row scheduler and deep at 4 work normal? i'm using in this moment ondemandq + noop as test
Click to expand...
Click to collapse
I am using Deepsleep 4 with PegasusQ + SIO on CM 10.1. Without problems. Deepsleep 5 makes reboot, but 4 is working good.
shut_down said:
I am using Deepsleep 4 with PegasusQ + SIO on CM 10.1. Without problems. Deepsleep 5 makes reboot, but 4 is working good.
Click to expand...
Click to collapse
I'm using Ondemandq + noop + deep at 4 no problems But i'm not sure if it's better pegasusq, ondemandq or hotplug xD
Off Topic closed
You are using my script. Dah anyways, why did you open another thread when I already explained in a tutorial to make init.d scripts. See this
http://forum.xda-developers.com/showthread.php?t=2503884
But still good work
anantttt said:
You are using my script. Dah anyways, why did you open another thread when I already explained in a tutorial to make init.d scripts. See this
http://forum.xda-developers.com/showthread.php?t=2503884
But still good work
Click to expand...
Click to collapse
Sorry dude i too got that script from another person and really didn't know who made it.
Right now i am online from my cell so will edit your name in document afterwards when i will be on my pc.
FabioSan said:
Thanks man
I'm using the valor 4 with the init.d script
So, i must think that the pegasusq + sio or noop or row scheduler and deep at 4 work normal? i'm using in this moment ondemandq + noop as test
Click to expand...
Click to collapse
Try using pegasusq instead of ondemand.
Ankurzl said:
Try using pegasusq instead of ondemand.
Click to expand...
Click to collapse
I'm using Pegasusq + noop from some days but sincerly i don't see sensible differences ._.
At least the battery is that, and also the phone u.u
I was running Cromi 4.7 and upgraded to 5.3 today. I also switched over to Hund's 3.4 kernel.
Now, when I change the power setting to performance or eco, the tablet freezes and then restarts (in Balanced mode).
The options I picked during the install process are-
US hunds with experimental tweaks
Software rendering disabled
GPU OC
CPU OV
GPU UV
I can't figure out if I messed something up during the install or if I need to play with the settings in Hunds app. Any ideas?
vickker said:
I was running Cromi 4.7 and upgraded to 5.3 today. I also switched over to Hund's 3.4 kernel.
Now, when I change the power setting to performance or eco, the tablet freezes and then restarts (in Balanced mode).
The options I picked during the install process are-
US hunds with experimental tweaks
Software rendering disabled
GPU OC
CPU OV
GPU UV
I can't figure out if I messed something up during the install or if I need to play with the settings in Hunds app. Any ideas?
Click to expand...
Click to collapse
If you are using Hund v3.4.3 ET with the ET build.prop, you should NOT install the GPU OC, CPU OV, and GPU UV because the ET is already UV/OC for the kernel. Can you tell me what you have in your init folder? You can go here and find it: "/system/ect/init". It is a easy fix that I believe... One more question, did you do a clean installation with a data format?
Thanks,
LMK
LetMeKnow said:
If you are using Hund v3.4.3 ET with the ET build.prop, you should NOT install the GPU OC, CPU OV, and GPU UV because the ET is already UV/OC for the kernel. Can you tell me what you have in your init folder? You can go here and find it: "/system/ect/init". It is a easy fix that I believe... One more question, did you do a clean installation with a data format?
Thanks,
LMK
Click to expand...
Click to collapse
Thanks so much for helping me out with this.
I misunderstood the relationship between the kernel and the ROM. I thought the kernel made those options possible, but that I still needed to select them. So, simply using Hund v 3.4.3 ET enables these options automatically.
The init.d folder has the following files in it: 50CleanTWEAKS, 70B2R, 80Fsync, 89OV, 90 UV, 91GPUUV, and 99hundsapp.
Before I flashed the ROM I did a factory reset with TWRP.
vickker said:
Thanks so much for helping me out with this.
I misunderstood the relationship between the kernel and the ROM. I thought the kernel made those options possible, but that I still needed to select them. So, simply using Hund v 3.4.3 ET enables these options automatically.
The init.d folder has the following files in it: 50CleanTWEAKS, 70B2R, 80Fsync, 89OV, 90 UV, 91GPUUV, and 99hundsapp.
Before I flashed the ROM I did a factory reset with TWRP.
Click to expand...
Click to collapse
I think that your problem is that you under voltage too much which causes the kernel running unstable... So you could try this to see if you can fix your issues...
First, you may want to do a nandroid back from TWRP. Just in case you want to go back to your original state...
Second, delete these files from your init folder: "89OV, 90 UV, 91GPUUV".
Third, reboot your device and see if it is still rebooting when switching to performance mode....Good luck...:fingers-crossed:
Please report back what is happening when you delete those files, thanks..