overclocking shell script - HD2 Android Q&A, Help & Troubleshooting and Genera

So, i've been searching high and low for a few days with no results. I found some for froyo, and Droid X, but not for Gingerbread (specifically Snapdragon cpu's)
Does anyone know of a OC script that would run at boot? Using apps causing a lag in the speed adjustment when booting.
I know that Cyanogenmod has it built in, but im using MIUI, thus i do not have that option.
Thank you for reading

Related

Anyone with Froyo and OVERCLOCKED?

So now that I have Froyo, how do I overclock it?
I'm rooted with stock build (FRF50).
There have been a few tutorials out there but I'm not sure what is applicable now and whether they will still work.
If they do still work, can someone pls recommend a good one that will work for sure with Froyo?
Thanks lots in advance!
Hi there,
I've been running FroYo overclocked for a few days now and am absolutely loving it.
I'm running the leaked build that Paul uploaded, and running the pre-rooted kernel from Cyanogen. Other than that, I manage the CPU's speed with SetCPU, running at a max of 1113MHz.
The kernel can be found at http://forum.xda-developers.com/showthread.php?t=686627
codesplice said:
Hi there,
I've been running FroYo overclocked for a few days now and am absolutely loving it.
I'm running the leaked build that Paul uploaded, and running the pre-rooted kernel from Cyanogen. Other than that, I manage the CPU's speed with SetCPU, running at a max of 1113MHz.
The kernel can be found at http://forum.xda-developers.com/showthread.php?t=686627
Click to expand...
Click to collapse
what he said...
Umm...
OT
...Android kernels don't get "rooted". Root on these phones simply means having the "su" app with suid set, and superuser.apk around to manage thos permissions. If you can put those two files in place with a stock kernel, and properly set the permissions, you have root.
endOT
That said, there appear to be two "packaged" solutions to OC your FroYo:
Cyanogen's update.zip (not only does it put in an overclockable kernel, it also roots your phone).
Pershoot's newly-posted kernel (this is what I'm running...)
Of course, if you are brave, you can always "roll your own". People are clearly doing this, as there are FroYo Nexus One's out there showing 1.2ghz speeds.
big_adventure said:
Umm...
OT
...Android kernels don't get "rooted". Root on these phones simply means having the "su" app with suid set, and superuser.apk around to manage thos permissions. If you can put those two files in place with a stock kernel, and properly set the permissions, you have root.
Click to expand...
Click to collapse
You also need ro.secure=0 in the default.prop file (of the ramdisk portion of boot.img). So you could say the kernel gets 'rooted' this way (correct me if I'm wrong).
(On the Motorola Milestone this is not possible even though you can add "su" and "Superuser.apk", although on the Droid you can)
has anyone really gotten a real world speed increase with the OC'ed cpu? Yes it can technically run faster, but do our phones ever really max out the cpu when we are using them? Personally I feel that the ram adds more to the speed of the phone than the cpu. But that just an opinion. I'll have to see about doing some testing to see what the active cpu levels are under use.
followinginsanity said:
has anyone really gotten a real world speed increase with the OC'ed cpu? Yes it can technically run faster, but do our phones ever really max out the cpu when we are using them? Personally I feel that the ram adds more to the speed of the phone than the cpu. But that just an opinion. I'll have to see about doing some testing to see what the active cpu levels are under use.
Click to expand...
Click to collapse
You can see improvements with benchmarks, but as far as noticing a difference... no, not really. There's always the placebo effect of "wow, this is so much faster with a ~10% overclock", but I don't think it's really a difference that you can pick up on. There are a lot of other things that could account for a 10-15% performance difference at any given time.
Granted, I could tell more of a difference on 2.1 than I can on 2.2 Froyo's JIT capability improves the efficiency to the point that you really can't tell a difference at all. Under 2.1, I at least felt like the menus were just a little snappier. Everything is snappy under Froyo though.
Clear as mud, lol?
side by side with a stock clocked n1 was the only way i could see a differance.
but its not a drastic differance, like a stock droid vs 800 mhz droid

Correct kernel for Rooted Droid with CM6

I just installed the CyanogenMod 6.0.0 Droid-RC1 and i need to know the correct kernel for OC.
Just use P3Droid's kernels, they work with any Rom.
Sent from my Droid using XDA App
I use Chevy's ultra low voltage kernels - but be aware that some phones can't handle the low voltage/high frequency combo.
thanks for the info
I have used P3 and Chevy both 1.0 low voltage. Chevy made my phone run hot so I use P3.
Can't run anything faster than 1.0
I have used P3Droid's and Chevy's 1100 mhz kernels, anything over that and my phone would freeze and reboot, or boot loop. I tested a new kernel from kdlfg and OMG, it's amazing for me. I can run it at 1200 and NO problems, quadrant score was 1694 at 1200/300, first time I could run over 1100. Doesn't heat up, everything works fine. There are several voltage levels, the link is below, I am using one of the test kernels (1288a). The test kernels are the one's to use, the ones above them are the ones you can find on Rom Manager. Enjoy!
http://www.droidforums.net/forum/dr...hium-mod-kernels-official-kernel-lithmod.html
Are these jdlfg kernels okay foe UD 8.0?
Currently using chevy lv 1.1 with no problems.
can't post links yet apparently, but on the cyanogenmod forum for the moto droid, the two kernels people seem to be gravitating towards the most are jdlfg and slayher both threads are viewable on the front page, and I know at least jdlfg has and 'any kernel' release for other roms.

Over Clock Kernel - wifi error

I am running CM6 A013 with oc-legend-cm-2.6.29.6 kernel. Everything seems to be working just fine except for the wifi. Has anyone gotten the wifi to work with the oc kernels?
I read in another thread that we could take the wlan.ko file from an old ROM. Does anyone have a copy of this file or would anyone be willing to pull the file so that I can test it? I really appreciate it.
same situation here. neither kernels work with cm6's wifi and hotspot. can someone fix this please! i really want my wifi back! i didnt do a backup before hand!
Im looking at this and it looks easier than just replacing the entire kernel like you guys did, read here from that guy's post above:
"How to do it for kernel_legend_13be9c9c:
At first, you should read zanfur's post and his patch.
I just modified two tables in acpuclock-arm11.c excluding his having written.
1. modify cpufreq.c to let SetCPU to access freq tables
2. modify acpuclock-arm11.c to let HTC Legend be able to overclocking
3. modify msm7227_defconfig to disable PERFLOCK [optional]
You might not need modify defconfig when you use SetCPU which can purchase in Android Market.
SetCPU can disable PERFLOCK by setting. ([menu] -> [Perflock Disabler])"
Click to expand...
Click to collapse
So, with that said, I would take that file or file(s) and replace them with the ones in our current kernel made for our phone... might work and your wifi won't be broken.
You guys are running a kernel made for a different device.
could some one say in plain english the exact steps to get the old kernel back? the one from CM6
lilhaiti said:
I am running CM6 A013 with oc-legend-cm-2.6.29.6 kernel. Everything seems to be working just fine except for the wifi. Has anyone gotten the wifi to work with the oc kernels?
I read in another thread that we could take the wlan.ko file from an old ROM. Does anyone have a copy of this file or would anyone be willing to pull the file so that I can test it? I really appreciate it.
Click to expand...
Click to collapse
That kernel is not built for our wifi chip. The kernel needs to be built for the BCM chipset and not the TI. Further, the wifi module needs to be in sync with the kernel build. Android 101.
I am not sure what we are going to gain from overclocking. There just doesn't seem to be any end goal, other than bragging rights on a benchmark where the Aria can only hope to be among the best of the mediocre CPUs. If it's for flash - forget it. We don't have the instruction set required in the CPU. The downside is the potential to add instability and confuse test results for mods that can actually increase functionality.
I like overclocking and running a couple benchmarks once in a while. For day to day use I'm more interested in downclocking but only if it can increase battery life.
Sent from my HTC Liberty using XDA App
the extra speed of the OC makes a big different on the games, that's the reason I like it... Games run smoother with the OC kernel.... do the test.. try to run Abduction with the stock Kernel for a while and then with the OC.. you'll see the difference... also Live Wallpapers with the stock kernel is choppy... it is smooth with the OC.
Hell my nexus one has been over clocked since the day I got it (rooted that same day ) not that a 1ghz phone really needs it. Well the Nexus One maybe for gaming but my Captivate and Vibrant on the other hand doesn't need it period. You won't get better performance gaming with any other android handset out there to date. Still my Captivate is over clocked to 1.2ghz lol. Like I say there's something fun about pushing the limits.
It really just another thing to tweak and play around with on your device. It's always fun to push the limits.
There are several reason why I would like to overclock. 1. The 3D photo gallery loads photos really slow with the stock kernel, but with an overclocked kernel the pics loaded very quickly. 2. It's nice to run a 3D game or two without chopping. Just to name a couple. It would be nice to have an Aria kernel that works with all of the phones hardware. And showing off benchmark number is nice as well.

New Aria user here...

Hello there XDA I just switched to the Aria from the Captivate. I am new to Android modding, so please bear with me.
I like the phone, It doesnt bother me losing screen space. However it is a bit slow with the 600 MHZ processor.
So if there are some people kind enough to guide me to/through the following it would be appreciated.
1. I would like to overclock it a bit, maybe to 800.
2. General performance tweaks
3. Get rid of Att bloatware
4. Root ( z4root is not in the market anymore and ATT disables side loading.)
Sent from my HTC Liberty using XDA App
Everything u need is in the android Dev. Section for the aria its really simple. To find and to follow..I use cm6 rc2. It overclocks very nicely
Sent from my Liberty using XDA App
Hey Joshua, being new to the Aria as well (less than a month), I haven't looked into overclocking it... but I am running CM 6.1 RC 2, what do I need to do to start overclocking?
Install SetCPU to overclock. I wouldn't go over 825mhz as it starts getting unstable.
As for rooting, search for posts by user asiancuta. He did a really good write up that included a key point I didn't see anywhere else. It's titled NOOBZ: easy guide to rooting your aria.... Read all instructions, and make sure you understand it first.
To install cyanogenmod 6.1 rc2 do a search for That aria - she's so racy!
Sent from my Liberty using XDA App
Mike's Aria said:
Install SetCPU to overclock. I wouldn't go over 825mhz as it starts getting unstable.
Click to expand...
Click to collapse
In the other overclocking thread (or overcloking as the OP spelled it ) several people posted that they were running at 864... what type of instability is likely? Also, doesn't overclocking HAVE to have some sort of adverse effect? Like reduced reliability or an increased likelihood of hardware failure? If there are no adverse effects, why would HTC not set the CPU higher from the factory?
I want to try it, but I feel like I pushed the limits of my comfort zone just by rooting and installing CM...
911jason said:
In the other overclocking thread (or overcloking as the OP spelled it ) several people posted that they were running at 864... what type of instability is likely? Also, doesn't overclocking HAVE to have some sort of adverse effect? Like reduced reliability or an increased likelihood of hardware failure? If there are no adverse effects, why would HTC not set the CPU higher from the factory?
I want to try it, but I feel like I pushed the limits of my comfort zone just by rooting and installing CM...
Click to expand...
Click to collapse
I always lean on the side of caution when it comes to overclocking a phone. I don't want to fry the processor since I can't replace it as easily as one on a computer.
Processors are never set from the factory to run at their fastest.
Sent from my Liberty using XDA App
While it might seem odd since all these phones have the same hardware they don't all respond the same to overclocking. Some people can do 864. I can't even get my phone to do anything over 825 and even 825 gives me issues. I like to keep mine between 768-787. Over doing it can cause damage and shorten the life of the processor but keeping it around 800 is probably safe as long as you moniter temps. Heat is the real enemy here. Manufacturers are trying to balance cost, reliability, battery life. Our little phone use a smaller battery and so a lower clock speed keeps the phone running longer. And the aria is a mid range phone, they don't want it to be faster than the more expensive phones. Also Higher clock speeds will drain your battery faster. At 768 the phone is noticeably snappier and the battery drain over stock isn't even noticeable.
Huh. That's good to know, Callmearia. However I don't even know where to start on any of this. I've never 'flashed' a phone or anything like that before.
Sent from my HTC Liberty using XDA App
This is a really good guide explaining how to root your phone and install a custom recovery, Clockwork, with which you can flash ROMs, make backups, and a bunch of other stuff:
http://forum.xda-developers.com/showthread.php?t=788737
You will still not be able to sideload apps just by rooting though. You will need to flash a ROM in order to do that. Check out the Android Development section, it is all there.
L551 said:
Huh. That's good to know, Callmearia. However I don't even know where to start on any of this. I've never 'flashed' a phone or anything like that before.
Sent from my HTC Liberty using XDA App
Click to expand...
Click to collapse
I think most people can hit 864 now using CM6.1 RC2. I think some tweaks were made to allow it. Before I was only hitting 825mhz or 844mhz when I ran in to stability problems... but now I have none. Or, it could be due to the fact it's colder here now.
Alright, so after some adb troubles with Ubuntu 10.10, I am now rooted, woo!
So now, where to go from here?
This worked flawlessly and easy. Less than 5 minutes
http://forum.xda-developers.com/showpost.php?p=7449486&postcount=1
EDIT : I see that you already got rooted.
You have two choices for Attn1's custom ROMS
Liberated or Cyanogenmod
http://forum.xda-developers.com/showthread.php?t=819715
http://forum.xda-developers.com/showthread.php?t=821642
Take in mind that CM has more customizable features, INCLUDING OVERCLOCKING. Liberated doesn't.
Place the .zip on your SD card. Enter clockworkmod recovery by holding down the volume down button after restarting phone. Wipe Data, Cache, Dalvik Cache. Go to install zip from Sdcard. Pick the file. It should install. wait, and reboot and continue.
Customize it to your liking. Download apps/widgets
Turn off unnecessary background items. (Auto Sync)
Decrease Brightness
Only use GSM networks
(these are battery saving tips....lots more)
http://forum.xda-developers.com/showthread.php?t=505419
That is the SetCPU for XDA members.
To install, go through ADB in the command line, or download FASTAPP Install from the Market and place the .apk on your sd card and install it from there.
kaschenberg said:
I think most people can hit 864 now using CM6.1 RC2. I think some tweaks were made to allow it. Before I was only hitting 825mhz or 844mhz when I ran in to stability problems... but now I have none. Or, it could be due to the fact it's colder here now.
Click to expand...
Click to collapse
That's probably true. I haven't tried going over 825 since way back with dumfuqs kernel.
Alrighty... did all that, now running cyanogenmod on my Aria! \o/
No more ATT bloatware.
I made sure to do a nandroid backup just in case.
Also overclocked to 768MHz. Phone seems a bit quicker.
Thanks guys
Any other tips?
Oh also adb stopped working again on Ubuntu >.< Anyone know how to fix that?
Sent from my Liberty using XDA App
L551 said:
Alrighty... did all that, now running cyanogenmod on my Aria! \o/
No more ATT bloatware.
I made sure to do a nandroid backup just in case.
Also overclocked to 768MHz. Phone seems a bit quicker.
Thanks guys
Any other tips?
Oh also adb stopped working again on Ubuntu >.< Anyone know how to fix that?
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Make sure you install the google apps package.
Also, Not too sure.
I use windows. Works perfectly on there. try that
Yup I made sure to install that. Need my market.
I'll see if it works on windows later.
Sent from my Liberty using XDA App
L551 said:
Alrighty... did all that, now running cyanogenmod on my Aria! \o/
No more ATT bloatware.
I made sure to do a nandroid backup just in case.
Also overclocked to 768MHz. Phone seems a bit quicker.
Thanks guys
Any other tips?
Oh also adb stopped working again on Ubuntu >.< Anyone know how to fix that?
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Try leaving the OC alone after the reflash.. It's defaulted to 864mhz and it works flawlessly for me.
It was default 600MHz for me.
EDIT: Holding down 1 to access voicemail no longer works, as there is no voicemail number in the options. What is it?
Sent from my Liberty using XDA App
L551 said:
It was default 600MHz for me.
EDIT: Holding down 1 to access voicemail no longer works, as there is no voicemail number in the options. What is it?
Sent from my Liberty using XDA App
Click to expand...
Click to collapse
Its different for every one. My VM is a local number. You can always just use your phone number.
I recently set my VM to go thru my Google Voice number now.
Sent from my Liberty using XDA App
Using my own number worked.
However, now my phone is freezing randomly, and causing the launcher to hang. (ADW and LauncherPro both do this)
It seems android.process.acore always takes alot of CPU time when it does this.

[Q] Creamed Glacier 7.1 overclock apps?

I ran the virtuous affinity rom for a few days and liked it. It allowed me to overclock my mt4g up to about 1.8ghz without any heat or crashing issues. the ondemand scaling worked quite well and kept my phone cool and my battery life high but all my apps were able to access the power made available by overclocking. I just recently flashed creamed glacier 7.1 because i really like some of the features that ics has to offer. I am torn though because i cant seemed to get any of my overclock applications to scale properly. I have tried no frills, and antutu both of which worked fine on virtuous affinity. when i try to run either of these on creamed glacier 7.1 they overclock my processor but it constantly runs at the max speed limit. the only scale that doesnt do this is the power saver which automatically runs at .122 ghz no matter the circumstances. I really like this rom but a big advantage the root gave me was the ability to overclock. Tmobile has the phone governed at 1ghz when it can easily run 1.5 as a daily speed and if scaled right 1.7 or 1.8 ran well. If anyone knows of any better apps that match with the creamed glacier kernel please let me know. I have tried fixing permissions, turning off logging, reinstalling the apps, and none of these things seem to help in the least. Thanks to all who take the time to read this. (ps please excuse my lack of formal grammar)
I really like ROM toolbox, or voltage control. However I have seen in several ICS roms that you can overclock from the settings without the need for an app. Dig around in your settings, maybe yours has that as well? I run mine normally about 1.3 which is more than sufficient for my usage.

Categories

Resources