[Q] How to Overclock CPU & GPU that survives a reboot ?? - Motorola Atrix 2

I am new to overclock things, I am running on stock 2.3.6 today after a prolong research I managed to overclock my CPU and GPU. I've followed the following Method:
http://rootzwiki.com/topic/14511-opptimizer-projekt-milestone-overclock-for-omap4-devices/
I've done everything except the part i was not able to understand:
"Loading at Boot/Scripts:
The new update.zip's will install a basic init.d script to "/system/etc/init.d/00opptimize". If you've found settings that are "stable" for your device, and you'd like to run these at boot, you may edit this file accordingly. Be default, this script only loads the kernel modules. This requires your ROM to have init.d support to work. If you cannot find a method of getting init.d working, you can use Script Manager to execute this file at boot."
Now whenever I am restarting my phone it is going back to its stock speed, I just want to know that how can I set it to work even after restart.
I kindly request Jim, lkrasner, JRW 28,alteredlikeness,rdavisct,cogeary andApex_Strider to help me with this issue as i know our phone is capable of handling 1250MHz CPU and 384 MHz of GPU Speed.
Thank You.

john1989 said:
I am new to overclock things, I am running on stock 2.3.6 today after a prolong research I managed to overclock my CPU and GPU. I've followed the following Method:
http://rootzwiki.com/topic/14511-opptimizer-projekt-milestone-overclock-for-omap4-devices/
I've done everything except the part i was not able to understand:
"Loading at Boot/Scripts:
The new update.zip's will install a basic init.d script to "/system/etc/init.d/00opptimize". If you've found settings that are "stable" for your device, and you'd like to run these at boot, you may edit this file accordingly. Be default, this script only loads the kernel modules. This requires your ROM to have init.d support to work. If you cannot find a method of getting init.d working, you can use Script Manager to execute this file at boot."
Now whenever I am restarting my phone it is going back to its stock speed, I just want to know that how can I set it to work even after restart.
I kindly request Jim, lkrasner, JRW 28,alteredlikeness,rdavisct,cogeary andApex_Strider to help me with this issue as i know our phone is capable of handling 1250MHz CPU and 384 MHz of GPU Speed.
Thank You.
Click to expand...
Click to collapse
CPU overclocking can be tricky, if not downright frustrating as hell. Its a matter of testing, and running at slightly bumped-up speeds over the course of the OC'ing process to find a stable CPU frequency setting. Not all users can hit 1.2GHz or higher, whereas others can. It depends on the device, and nothing is really 'static' as far as "across the board" potential CPU clock speeds for our device. There is an init.d support .zip that can be flashed for roms that do not have init.d support (such as stock rom) but this will not work for ICS or JB versions since they are running newer kernels and as the init.d support is designed to work on the "older" kernel modules.
Sent from my MB865 using xda premium

I've downloaded moto_init_d-signed.zip and mo_simp_1.5_edison-signed.zip from http://code.google.com/p/opptimizer/downloads/list and flashed in CWM now I've init.d in my /system/etc/init.d
I've successfully overclocked my phone to 1250 MHz for CPU and 384 MHz for GPU Using:
# echo 3 1250000000 1390000 > /proc/overclock/mpu_opps
# echo 384000000 > /proc/overclock/gpu_opps
I've even confirmed my speed in setcpu and by using it says I am running on 1250 MHz, and my phone is very much stable I played modern combat 2 for around 1/2 an hour and used my phone for around 3-4 hours without any bootloop.
Only the problem is that I am not able to survive my overclock after reboot. After reboot it is reverting back to 1000Mhz

john1989 said:
I've downloaded moto_init_d-signed.zip and mo_simp_1.5_edison-signed.zip from http://code.google.com/p/opptimizer/downloads/list and flashed in CWM now I've init.d in my /system/etc/init.d
I've successfully overclocked my phone to 1250 MHz for CPU and 384 MHz for GPU Using:
# echo 3 1250000000 1390000 > /proc/overclock/mpu_opps
# echo 384000000 > /proc/overclock/gpu_opps
I've even confirmed my speed in setcpu and by using it says I am running on 1250 MHz, and my phone is very much stable I played modern combat 2 for around 1/2 an hour and used my phone for around 3-4 hours without any bootloop.
Only the problem is that I am not able to survive my overclock after reboot. After reboot it is reverting back to 1000Mhz
Click to expand...
Click to collapse
You have to physically change the echo table values using Root Explorer using the text editor. Look for this section in the 00pptimize file and change echo 3 at this code line:
# Droid3/Bionic/Atrix2 stock Settings
# echo 3 1000000000 1375000 > /proc/overclock/mpu_opps
# echo 2 800000000 1313000 > /proc/overclock/mpu_opps
# echo 1 600000000 1200000 > /proc/overclock/mpu_opps
# echo 0 300000000 1025000 > /proc/overclock/mpu_opps
Then, click back to save the .bak file and reboot. Changes should stick through reboot after this.
Sent from my MB865 using xda premium

It is reverting back to its stock after reboot even after editing echo values.
By the way thank you for your valuable replies I am working on it if I find a way I will post in general thread.

john1989 said:
It is reverting back to its stock after reboot even after editing echo values.
By the way thank you for your valuable replies I am working on it if I find a way I will post in general thread.
Click to expand...
Click to collapse
I will test also after FXZ'ing back to stock rooted 2.3.6. and let you know how I manage to OC this way. I PM'd you also, so I'll be getting back shortly with more info...
Sent from my MB865 using xda's premium carrier pigeon service

http://forum.xda-developers.com/showpost.php?p=27710171&postcount=118
this is the method PM'd by alteredlikeness to me.
Alteredlikeness I am bowing down your method works like charm and If XDA will allow me I will hit thanks button for minimum 1 million times
I would also like to thank Apex_Strider for showing patience and replying to all my questions.
Tomorrow I will post a fresh thread along with screen shots of overclocking that can survive even after reboot

john1989 said:
http://forum.xda-developers.com/showpost.php?p=27710171&postcount=118
this is the method PM'd by alteredlikeness to me.
Alteredlikeness I am bowing down your method works like charm and If XDA will allow me I will hit thanks button for minimum 1 million times
I would also like to thank Apex_Strider for showing patience and replying to all my questions.
Tomorrow I will post a fresh thread along with screen shots of overclocking that can survive even after reboot
Click to expand...
Click to collapse
Correct. I linked you to that post since it kind of shows how to get to and edit the 00opptimize file - also, make sure you delete the .bak that gets created - if there is a .bak file in the init.d folder, you will bootloop!

alteredlikeness said:
Correct. I linked you to that post since it kind of shows how to get to and edit the 00opptimize file - also, make sure you delete the .bak that gets created - if there is a .bak file in the init.d folder, you will bootloop!
Click to expand...
Click to collapse
Indeed, deleting the .bak file created after changing the echo table values is a key step. I forgot to tell him that, since I always delete without even thinking about it -done it so many times it almost comes as an involuntary response after editing the CPU frequency scaling!
Sent from my MB865 using xda's premium carrier pigeon service

Related

[App BETA][Updated 10.17.11]viperMOD Voltage Control (post only if you are a tester!)

This is going to be the thread for everyone to post in when they are testing the app, regardless of device. Please only post in this thread if you are a tester to minimize on clutter.
Ok guys, I have a test version of the app ready and I need some testers! This app was put together by Smurph82 (Ben), me (Derek), and another friend of mine (Will) with Ben doing the majority of the coding. If Smurph82 asks you anything, ANSWER HIM! He is the guy who will get this fixed! Please bear with us as we get the bugs worked out and get this to be the best voltage control app out there!
Some things don't work and I need help figuring out what else isn't working. I'm looking for 2-3 testers for devices I don't officially support right now. (check the list in my sig of officially supported devices and make sure you're applying to beta test for a device not listed there) All testers will get the paid version of the app when done, assuming you provide me with feedback of this app. Here are a few rules...
0.) You must be on a HAVS/SVS kernel (exceptions Nexus S/NS4G with mathkid or Netarchy kernel). If you don't know what this means, please do not send me a request to beta test. You must also be on a ROM that supports init.d (99% of ROMs)
1.) If you are selected to be a tester, you WILL NOT send this app to anyone else and you will use it only on your personal devices.
2.) If you are not selected to be a tester, please don't blow up my PMs or thread complaining about it.
3.) You will provide me with some feedback about the app, what works and what doesn't, what should be implemented and/or taken out. I don't think this is an unreasonable request.
4.) To be an official beta tester, your submissions will BY PM ONLY. This information needs to be sent to me or I will ignore your PM. I don't have time to respond and ask for the information that I need. Please don't post in this thread for wanting to test, this thread is for the testers to post their results and collaborate with one another. Please include this with your beta testing submission:
Device:
ROM:
Kernel:
Please also keep replying with our whole conversation so I can reference it.
5.) I may be going to bed soon so if you get nothing from me tonight, I will hit you up tomorrow.
Thanks guys, I look forward to working with all of my beta testers!!
Known Issues:
[*]Landscape in 2nd tab doesn't scroll
Some voltages presets need to be implemented
Links are too small
[*]Netarchy kernel detection shows UNKNOWN
Shouldn't show init.d button if one doesn't exist
[*]App looks in the wrong place for SVS kernel voltages
Cannot save init.d file
Alright, I've run into one problem right off the bat but I think it will be easy to solve.
It says:
"File at /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs was not found
My frequency tables are at:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
I know it will work, I've been using the vipermod terminal script to change my voltages, it just can't find my frequency tables it seems.
EDIT: i messed up the file path for my tables (left out the /cp0) fixed now.
I am also getting the same issue of:
File at /system/etc/init.d/74havsvoltages was not found.
DEVICE: HTC EVO 4G
KERNEL: TIAMAT 3.3.7
Im getting file at /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels)havs was not found
Also I cant adjust voltages up or down as I keep getting a pop up saying "This is not a HAVS kernel"
MIUI 1.8.12 DEXT
HTC DESIRE
SVS stock kernel [email protected] 2.6.37
Dont like the contacts font colour either imho difficult to read
File at /system/etc/init.d/74havsvoltages was not found.
DEVICE: NEXUS ONE
KERNEL: IR 2.6.38.8_AVS-CM7_CFS_20110813_1517
Already off to a fantastic start lol
OK, so issues with SVS detection. On the main page, does it detect that you are running an SVS kernel? It should say "This is an SVS kernel" right?
Do you already have an init.d file there from the viperMOD script when you try to read it? If so, can you back it up, delete it, and try to generate a new voltage file from the app?
Thanks guys!
yes it detects that I have an SVS kernel. Tried deleting the 99voltages file in my init.d and still no dice.
-viperboy- said:
Already off to a fantastic start lol
OK, so issues with SVS detection. On the main page, does it detect that you are running an SVS kernel? It should say "This is an SVS kernel" right?
Do you already have an init.d file there from the viperMOD script when you try to read it? If so, can you back it up, delete it, and try to generate a new voltage file from the app?
Thanks guys!
Click to expand...
Click to collapse
device : nexus s
rom : oxygen 2.2.1
kernel : tried both matr1x 5.5 and netarchy 1.4.0
i am having the same issue. the main page does not detect SVS kernel. it says this is a UNKNOWN kernel. (and i thought netarchy and matr1x are the only kernel compatible to this.
gotta go to sleep now, i will check again tomorrow ..
ok viperboy, first off thanks! i have several initial observations. the app assumes you have the voltage script installed in order to work. i think this should be the opposite. if not detected on app install the app should install one for the user, otherwise you would still need to use the vipermod te script in order to use the app by saving changes on default settings to create the init.d script. second, at a hi density view of 200, the lettering in your about section is a bit too small and your links are barely viewable. this needs to be adjusted. and finally, if you make a voltage selection too low for your phone to handle and need to do a battery pull because your phone locks up, i LOVE how it automatically resets itself to kernel defaults negating the need for having to flash a reset zip, bravo!! however, it changes your customized cpu settings as well. in my case it changed my cpu levels from 128/499 smartass to 245/998 interactive.
evo 4g/decks 1.3b2/sz 2.2.1 cfs
Thanks bud
ropodope
499mhz is the new 998mhz.
Jake33108 said:
yes it detects that I have an SVS kernel. Tried deleting the 99voltages file in my init.d and still no dice.
Click to expand...
Click to collapse
Please explain a little bit further. It sees its an SVS kernel, then what happens? Can't create the voltages?
saryu said:
device : nexus s
rom : oxygen 2.2.1
kernel : tried both matr1x 5.5 and netarchy 1.4.0
i am having the same issue. the main page does not detect SVS kernel. it says this is a UNKNOWN kernel. (and i thought netarchy and matr1x are the only kernel compatible to this.
gotta go to sleep now, i will check again tomorrow ..
Click to expand...
Click to collapse
OK, no Netarchy/mathkid kernels show up as unknown. Thanks for the info.
ropodope said:
ok viperboy, first off thanks! i have several initial observations. the app assumes you have the voltage script installed in order to work. i think this should be the opposite. if not detected on app install the app should install one for the user, otherwise you would still need to use the vipermod te script in order to use the app by saving changes on default settings to create the init.d script. second, at a hi density view of 200, the lettering in your about section is a bit too small and your links are barely viewable. this needs to be adjusted. and finally, if you make a voltage selection too low for your phone to handle and need to do a battery pull because your phone locks up, i LOVE how it automatically resets itself to kernel defaults negating the need for having to flash a reset zip, bravo!! however, it changes your customized cpu settings as well. in my case it changed my cpu levels from 128/499 smartass to 245/998 interactive.
evo 4g/decks 1.3b2/sz 2.2.1 cfs
Thanks bud
ropodope
499mhz is the new 998mhz.
Click to expand...
Click to collapse
Well, it shouldn't install one for the user, it should just error. We don't want to set a bad voltage that is too low for your phone or anything!
The links are an easy fix, thanks for the input.
And as far as setting too low of a voltage, that's because it doesn't write the init.d file yet. You could still end up with the same problem as the script if you set a voltage too low and saved it. And it shouldn't have changed anything like that at all. Could you explain how it changed your CPU settings??
Quick update, it reads my init.d 74havsvoltages file that the script made now. But it still won't let me lower or raise anything.
When I hit the "Adjust Voltages" tab it says "A havs or svs file cannot be found. Are you sure your kernel supports this?"
I believe this is because its looking for my files under:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
and
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_svs
when my voltages are really at:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Just out of curiosity does this require root privileges maybe? Because I never got a SU request for it.
Jake33108 said:
Quick update, it reads my init.d 74havsvoltages file that the script made now. But it still won't let me lower or raise anything.
When I hit the "Adjust Voltages" tab it says "A havs or svs file cannot be found. Are you sure your kernel supports this?"
I believe this is because its looking for my files under:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs
and
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_svs
when my voltages are really at:
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Click to expand...
Click to collapse
Ok, small oversight on that. Thanks much!
naf007 said:
Im getting file at /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels)havs was not found
Also I cant adjust voltages up or down as I keep getting a pop up saying "This is not a HAVS kernel"
MIUI 1.8.12 DEXT
HTC DESIRE
SVS stock kernel [email protected] 2.6.37
Dont like the contacts font colour either imho difficult to read
Click to expand...
Click to collapse
If the app does not detect the HAVS file correctly it will not allow you to update as it would be have not files.
I know that viperBoy requested your specs for being a beta tester
but please provide me with your phone, ROM, and Kernel in your post so I can
better understand your problem. This was built on an Evo 4g, CM7, Tiamat 4.0.*. Thanks.
/sys/devices/system/cpu/cpu0/cpufreq/vdd_levels_havs is the path that I knew development on my platform. I am working on this.
Already off to a fantastic start lol
OK, so issues with SVS detection. On the main page, does it detect that you are running an SVS kernel? It should say "This is an SVS kernel" right?
Do you already have an init.d file there from the viperMOD script when you try to read it? If so, can you back it up, delete it, and try to generate a new voltage file from the app?
Click to expand...
Click to collapse
It does detect that its a SVS on the main page
I deleted my file that I created with the script and tried to generate a new one but no change
HTC DESIRE
MIUI 1.8.12 DEXT XPART
Stock Kernel SVS [email protected] 2.6.37
I don't have an example of the /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
can someone please post me one thanks. Sorry the svs had not been implentment due to the fact that I only have one phone.
I'm restoring a backup right now, I'll post mine in just a second.
sure. i set the voltages too low on purpose in order to cause my phone to lock so that i would have to do a battery pull because i was curious to see if my kernel voltage defaults would be restored on reboot....and they were. i think that is great. i then reset them using the app to where i knew my phone would handle them. after doing so i took a look at my custom cpu settings which i have set to retain on reboot. when i did they were completely changed from 128/499 smartass to 245/998 (stock settings) along with the governor being changed to interactive. i just thought that was weird.
also the tapatalk app is not allowing me to reply to this thread. it keeps saying "failed to connect to forum. please check with the forum administrator if this problem persists". i have to reply from my laptop.
ropodope
499mhz is the new 998mhz.
Here's my file. All of my build info is in my sig.
Jake33108 said:
Here's my file. All of my build info is in my sig.
Click to expand...
Click to collapse
Thanks I will be working on this.

Milestone Stock with DSIfix makes sense

I'm testing 6 month various mods and stoxk Version to get an stable milestone firmware. Now I found my solution:
If anybody is interested in.
Milestone Froyo Stock Africa Kernel
DSIfix from kabaldan (many many thanks)
Overclock 900
Gingerbread theme
Launcher pro
On my stone it runs very stable, smooth and without any freezes/or reboots and no battery drain.
I have not found any Mod which works like this
Sent from my Milestone using XDA Premium App
Excelent
duddle said:
I'm testing 6 month various mods and stoxk Version to get an stable milestone firmware. Now I found my solution:
If anybody is interested in.
Milestone Froyo Stock Africa Kernel
DSIfix from kabaldan (many many thanks)
Overclock 900
Gingerbread theme
Launcher pro
On my stone it runs very stable, smooth and without any freezes/or reboots and no battery drain.
I have not found any Mod which works like this
Sent from my Milestone using XDA Premium App
Click to expand...
Click to collapse
Can you post the links to the files that your using??? ROM, KERNEL, THEME AND OVERCLOCK FILE??? i ll like to test it...
Hmmm if you talk about overall speed and stability, go for CM 6.3.0 then update to 6.3.1 via the CM update engine inside the rom. This plus the dsifix newest version = nothing beats it, even stock roms.
I've been running similar to this for quite some time, and NOTHING BEATS STOCK BATTERY LIFE. That is my biggest problem with all the custom roms.
b4 i bought my xperia play this is the setup i wished someone would make, but i had no idea how to go abouts it myself, if you could make a quick guide on how to achieve this setup im sure many would be very appreciative.
Give me a gew days please
At the moment i'm without real internet access
Sent from my Milestone using xda premium
so what are all those mods about then?
I've used Stock-ROM for a long time as well, but i was not able to get any modules working (DSIfix). how did you do that?
thx for your help!
Can you post nandroid backup of this ROM? I'm really want to try it.
Thanks
duddle said:
I'm testing 6 month various mods and stoxk Version to get an stable milestone firmware. Now I found my solution:
If anybody is interested in.
Milestone Froyo Stock Africa Kernel
DSIfix from kabaldan (many many thanks)
Overclock 900
Gingerbread theme
Launcher pro
On my stone it runs very stable, smooth and without any freezes/or reboots and no battery drain.
I have not found any Mod which works like this
Sent from my Milestone using XDA Premium App
Click to expand...
Click to collapse
Kernel from here:
http://and-developers.com/sbf:milestone221
I used the africa kernel (full sfb not service!) because it the newest one with less DSI errors but should also work with others
I use Androidiani OR
http://code.google.com/p/androidiani-openrecovery/
to root the phone NOT for overclock!!!
GB Theme:
http://forum.xda-developers.com/showpost.php?p=12366159&postcount=846
I like it - thanks sileshn
for dsifix on stock 2.2 you need
=> german language follow this link
http://www.android-hilfe.de/root-ha...sammen-mit-dsifix-ko-laden-4.html#post1854391
thanks tuxor! <=
some additional modules (I think important is the new symsearch.ko!
https://raw.github.com/nadlabak/and...gingerbread/prebuilt/lib/modules/symsearch.ko
https://raw.github.com/nadlabak/and...erbread/prebuilt/lib/modules/cpufreq_stats.ko
https://raw.github.com/nadlabak/and...gingerbread/prebuilt/lib/modules/overclock.ko
copy all modules to /system/lib/modules
should have permission 644 and owner root:shell (0:2000)
0)
backup your phone - I prefer nandroid!!!!!
If something went wrong your phone will not boot!
Then go back to androidiani or and fix the problem with console or recover your backup!
1)
if not already done:
copy mot_boot_mode to mot_boot_mode.bin
create a new one (with the same permissions and ownership)
/system/bin/mot_boot_mode:
--
#!/system/bin/sh
export PATH=/system/bin:$PATH
#run original script
mot_boot_mode.bin
for BOOT in "/system/etc/init.d/"*; do
.$BOOT
done
--
2)
create
/system/etc/init.d/00modules:
--
#!/system/bin/sh
insmod /system/lib/modules/symsearch.ko
insmod /system/lib/modules/dsifix.ko
insmod /system/lib/modules/cpufreq_stats.ko
insmod /system/lib/modules/overclock.ko
--
# then dsifix together with overclock should works fine
3)
/system/etc/init.d/10overclock:
--
#!/system/bin/sh
echo "5 900000000 62" > /proc/overclock/mpu_opps
echo "4 700000000 54" > /proc/overclock/mpu_opps
echo "3 500000000 47" > /proc/overclock/mpu_opps
echo "2 250000000 34" > /proc/overclock/mpu_opps
echo "1 125000000 32" > /proc/overclock/mpu_opps
--
additional benefit:
all apps where now shown in battery statistiks
dsifix - i tried version 2.4 - without any problems, no batt drain
at the moment I try 2.61 seems also works fine
please follow the thread of kabladan
http://forum.xda-developers.com/showthread.php?t=1210819
thanks to kabaldan for this great work!
I use link2sd (market) to expand the memory of the phone
(hint: format your sdcard with a second FAT partition for that - NOT ext2/3/4)
christian7301 from android-hilfe forum uses memhack from which also should work fine.
Hope that will help
If anybody can explain me how to make a nandroid backup without my personal data I will do that.
thanks !!
duddle said:
If anybody can explain me how to make a nandroid backup without my personal data I will do that.
Click to expand...
Click to collapse
if you are using a current OR you can choose which partitions should be backuped to nandroid. I guess you have to select all except 'Data'.
isn't gingerbread web browser better than stock?
bonanza123 said:
thanks !!
if you are using a current OR you can choose which partitions should be backuped to nandroid. I guess you have to select all except 'Data'.
Click to expand...
Click to collapse
So I tried to make a nandroid backup excluding personal data. The restore doesnt run.
The problem I realized - I deleted some core apps cause I dont use them. E.g. I use launcher pro so I deleted tbe default launcher.
The nandroid restore was succsessful but first boot of the device fails because of the lack of a launcher.
So at the moment I could not create a bootable nandroid - sorry
Sent from my Milestone using xda premium
I'll give this a go and make a nandroid backup for guys interested today.
Update : I'll make a nandroid of the full stock rom with fixes and a flashable zip with the fixes alone.
Flashable zip
Here is the flashable zip of the fixes mentioned in OP. The only requirement is that you have the ability to run AOR, meaning you need vulnerable recovery flashed. I tried this on a fresh flash of the ARAB sbf.
Please backup before flashing this. This is for stock milestone roms only.
This zip will accomplish the following.
1. Root your phone
2. Install busybox
3. Install modules and script to overclock your phone to the settings shown below. You can edit the 10Overclock file to your liking. I have used CM6 settings.
Code:
echo "5 1000000000 64" > /proc/overclock/mpu_opps
echo "4 800000000 59" > /proc/overclock/mpu_opps
echo "3 600000000 52" > /proc/overclock/mpu_opps
echo "2 400000000 40" > /proc/overclock/mpu_opps
echo "1 250000000 32" > /proc/overclock/mpu_opps
4. Activate init.d support. You can add additional scripts to this folder to run it, like apps2ext, Zeppe's Supercharger, Kernel Tweaks etc.
5. Install the latest DSI Fix 2.61 ( thanks to the master )
6. Install autoboot to recovery script. I have included an app, quickboot for it. Those who have APM can use that.
I have also added an awesome app called CPUStats which is very handy to see information about your CPU stats . Thanks to amossam the developer.
If you have any doubts, please ask. A few screenshots.
sileshn said:
Here is the flashable zip of the fixes mentioned in OP. The only requirement is that you have the ability to run AOR, meaning you need vulnerable recovery flashed. I tried this on a fresh flash of the ARAB sbf.
Please backup before flashing this. This is for stock milestone roms only.
This zip will accomplish the following.
1. Root your phone
2. Install busybox
3. Install modules and script to overclock your phone to the settings shown below. You can edit the 10Overclock file to your liking. I have used CM6 settings.
Code:
echo "5 1000000000 64" > /proc/overclock/mpu_opps
echo "4 800000000 59" > /proc/overclock/mpu_opps
echo "3 600000000 52" > /proc/overclock/mpu_opps
echo "2 400000000 40" > /proc/overclock/mpu_opps
echo "1 250000000 32" > /proc/overclock/mpu_opps
4. Activate init.d support. You can add additional scripts to this folder to run it, like apps2ext, Zeppe's Supercharger, Kernel Tweaks etc.
5. Install the latest DSI Fix 2.61 ( thanks to the master )
6. Install autoboot to recovery script. I have included an app, quickboot for it. Those who have APM can use that.
I have also added an awesome app called CPUStats which is very handy to see information about your CPU stats . Thanks to amossam the developer.
If you have any doubts, please ask. A few screenshots.
Click to expand...
Click to collapse
Brilliant work as usual. If your ever looking to train an apprentice, I'm a second year IT student looking to learn how
LuigiC6 said:
Brilliant work as usual. If your ever looking to train an apprentice, I'm a second year IT student looking to learn how
Click to expand...
Click to collapse
Thanks for the compliment, but in reality you'll have more tech brains than me.
I use the Claro - Brasil SBF and I got no DSI errors .
Maybe you want to test it too.
can anyone compare overall speed, multitasking abilities, gaming performance and battery life (maybe stock browser) of this solution to CM7?
MuF123 said:
can anyone compare overall speed, multitasking abilities, gaming performance and battery life (maybe stock browser) of this solution to CM7?
Click to expand...
Click to collapse
Compared to CM7 this rom is perfect. Excellent battery life, decent gaming performance, very speedy with no slow down, and excellent multitasking. Only downside is less customization abilities, but one could easily get past that

[Q] Motorola Milestone XT720 OVERCLOCK -2.april.2012.

I have motorola milestone xt720 rooted, custom rom kang cm7 with 2.3.7.
I used:
-Milestone Overclock (android market) and it didnt work (it needs official rom).
-Motomizer (free version) and it did overclock my xt720 to 1ghz with vsel 64, but it wasnt permanent. In every reboot or start up it was making it back to stock clock 720mhz.
The problem is that i want permanent overclock, even if i reboot phone.
Is there a program that s gonna help me do that?
If not, i heard that i can do it manually changing a system file. Which file is it?
I really need an answer, so please take your time and give it a comment.
I don't think it can be permanent . Maybe you should get your answer from the developer . I used milestone overclock and tick set on boot . I'm on CM 6.3.7 .
Generally, to figure out what's going on look in /system/etc/init.d for a file with "overclock" in the name and look what it does. Usually there is an option there to load a file but it varies a lot among ROMs (Dexter used /sdcard/ocsettings.txt IIRC). ROMs designed for Motomizer have init.d scripts that are somewhat different and I'm not very familiar with them.
The CM6 one is somewhat complex because it's working around a bug in Milestone Overclock that prevents it from loading at boot. Briefly, Milestone Overclock saves its apply on boot preference to the sdcard--this allows you to disable it if necessary by removing the sdcard and deleting the file--but it always gets launched at boot before the sdcard has finished being scanned and isn't mounted, so it is never able to read its preference and defaults to not apply. I believe fjfalcon's CM7 uses the same method CM6.3.7 uses. CM6 and at least fjfalcon's CM7 have reworked overclock modules that use symsearch designed for eclair kernels.
Anyway the point is there are a lot of CM7 ROMs for XT720 that do these things differently. Start by looking in /system/etc/init.d and see what your ROM does. If you're using fjfalcon's CM7, I think we expect Milestone Overclock to "just work", but that's not something I've personally tested recently.
TechfanGR said:
I have motorola milestone xt720 rooted, custom rom kang cm7 with 2.3.7.
I used:
-Milestone Overclock (android market) and it didnt work (it needs official rom).
-Motomizer (free version) and it did overclock my xt720 to 1ghz with vsel 64, but it wasnt permanent. In every reboot or start up it was making it back to stock clock 720mhz.
The problem is that i want permanent overclock, even if i reboot phone.
Is there a program that s gonna help me do that?
If not, i heard that i can do it manually changing a system file. Which file is it?
I really need an answer, so please take your time and give it a comment.
Click to expand...
Click to collapse
Personally I use milestone overclock and I check apply on boot.
Sent from my XT720 using XDA
Thank you for your helpful comments.
Here i am again, posting a reply to thank you for commenting in my thread.
Well, about milestone overclock:
It downloads and installs correctly via android market and it launches without problem.
As usual, i have to check for giving super user privilidges to the program. I did that.
But when i try to change cpu speed, it sais failed etc etc. So, it s not working.
So, this custom rom isnt made for milestone overclock. That s a fact.
Your information about the system file for cpu overclock etc, is helpful. However, i firstly sent a message to rom's owner. That way, i wont mess with files i m not supposed to.
If you saw this thread, and have info that s helpful... COMMENT.
Thank you,
TechfanGR
My CM 7.2.0 works perfectly with milestone overclock.
fjfalcon said:
My CM 7.2.0 works perfectly with milestone overclock.
Click to expand...
Click to collapse
Same here. Ran for months with no problems at all. Now I'm running CM9 with no issues either.
Only issue I ever had was when I had milestone overclock installed to the SD card it didn't set my clock on boot like it should have. Could you be having a similar problem?
Well, updated my 26.2.2012 version and it worked (motorola milestone) as it should....
Maybe i did something wrong while using this rom.
Now (thankfully) it works perfectly.
Ty all for your comments.
This rom (kang cm7.2 with 2.3.7 and github) is the best for xt720.
You can set personalized presets with milestone overclock but you need to add a script, I added this on init.d, and set the cpu governor to interactive from 250 to 1126
Code:
echo "1126000" > /proc/overclock/max_rate
echo "67" > /proc/overclock/max_vsel
echo "0 1126000" > /proc/overclock/freq_table
echo "5 1126000000 67" > /proc/overclock/mpu_opps
echo "1 1024000" > /proc/overclock/freq_table
echo "4 1024000000 59" > /proc/overclock/mpu_opps
echo "2 720000" > /proc/overclock/freq_table
echo "3 720000000 56" > /proc/overclock/mpu_opps
#optional
#echo "3 550000" > /proc/overclock/freq_table
#echo "2 550000000 56" > /proc/overclock/mpu_opps
hi!
i'm on the latest cronosx and now i'm facing the fact i can't really OC my phone..
i edited the script file as usual, making max freq 1ghz . and now i see on android sys info that it runs on 720.
i downloaded milestone oc to see what's up.. it can't load the module, giving me error and can't do anything with it..
i don't understand what's wrong with previous versions it had absolutely no probs.. what can i do?
the apps using SU r these:
ram manager
root explorer
titanium backup
milestone oc

DroidX CPU Governors and SIO Kernel Scheduler V2.2

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.

[Q] CPU's rude frequencies

Hello xda!
Theres something strange going on with my Sensation..
I can not set up my own frq's.
Everytime I set some it goes higher. For example..
I am @ 1080-475 I switch the window to set some profiles and back to the main. bah.. Current max: 1134.. 1450.. 1552.. 1134.
Bar I set before should lock it @ 1080 and it does but just in practice.
I was trying to set some other governors with no succes. It goes higher everytime.
Root acces was given, ROMs tested.
I got phone from my brother. Is it even possible to change some hardware settings or wtf is it that block my ideas????
Lynxen said:
Hello xda!
Theres something strange going on with my Sensation..
I can not set up my own frq's.
Everytime I set some it goes higher. For example..
I am @ 1080-475 I switch the window to set some profiles and back to the main. bah.. Current max: 1134.. 1450.. 1552.. 1134.
Bar I set before should lock it @ 1080 and it does but just in practice.
I was trying to set some other governors with no succes. It goes higher everytime.
Root acces was given, ROMs tested.
I got phone from my brother. Is it even possible to change some hardware settings or wtf is it that block my ideas????
Click to expand...
Click to collapse
what rom do you have?
insert this line in init.qcom.post_boot.sh file
echo the value > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
in the <the value> put your desired freq
do the same for cpu1
then reboot
note: put the lines where it starts with :
case "$target" in
"msm8960")
rzr86 said:
what rom do you have?
insert this line in init.qcom.post_boot.sh file
echo the value > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
in the <the value> put your desired freq
do the same for cpu1
then reboot
note: put the lines where it starts with :
case "$target" in
"msm8960")
Click to expand...
Click to collapse
I am using SlimKat and Viper. Same bug excist @ both of the roms. Kernels provided with shantur, sebastian and libelty are bugged.
I've changed those values with no results. Once I was trying to set maxcpu_info my root explorer stucked @ saving process. Sth was remaking values @ 1540000 mhz just after rootacces was given to explorer. Some deep **** is going down there.
That's why Sensations are overheating, it's same bug threw all stock kernels/rom @ this forum.
Max values can not be set! They re permanent for some reason - failed coding I suppose.
Libelty Kernel fix Vipers issues. There's no kernel working with KK.
Lynxen said:
I am using SlimKat and Viper. Same bug excist @ both of the roms. Kernels provided with shantur, sebastian and libelty are bugged.
I've changed those values with no results. Once I was trying to set maxcpu_info my root explorer stucked @ saving process. Sth was remaking values @ 1540000 mhz just after rootacces was given to explorer. Some deep **** is going down there.
That's why Sensations are overheating, it's same bug threw all stock kernels/rom @ this forum.
Max values can not be set! They re permanent for some reason - failed coding I suppose.
Libelty Kernel fix Vipers issues. There's no kernel working with KK.
Click to expand...
Click to collapse
liberty's and sebastianFM's kernel aren't bugged
i have changed cpu frequencies successfully
in vipers rom disable pnpmanger from venom tweaks
then put your desired cpu freq
about slimkat rom i can't tell you somethig because i have never used that rom
also in stock kernels you can't changed nothing
they do not support overclock or underclock
rzr86 said:
liberty's and sebastianFM's kernel aren't bugged
i have changed cpu frequencies successfully
in vipers rom disable pnpmanger from venom tweaks
then put your desired cpu freq
about slimkat rom i can't tell you somethig because i have never used that rom
also in stock kernels you can't changed nothing
they do not support overclock or underclock
Click to expand...
Click to collapse
It's possible to scale CPU frequency in slimkat ROM too.

Categories

Resources