[Q] How to lock CPU frequency? - HTC One S

As title says, is there any way to lock the CPU frequency? Or do i have to flash a custom kernel? No matter i set the frequency to my desired max freq, the CPU just don't stick. I used several apps like setcpu, voltage control and kernel tuner with no luck.. i even turned on the power saving mode to lower the CPU clock, but still it bypasses it. The thing is, I still don't have the guts to try that since i'm still S-On and a total newbie when it comes to rooting, s-off, supercid, et al..
Btw, my phone is HTC One S with viperROM 2.2.0, but i'm still on stock kernel..
Sent from my Viper One S using xda premium

Stock kernel doesn't allow changes in clockspeed afaik. So I guess you would need a different kernel and also root to actually give apps the rights to change these values in the first place.
Sent from my HTC One S using xda app-developers app

Oxious119 said:
Stock kernel doesn't allow changes in clockspeed afaik. So I guess you would need a different kernel and also root to actually give apps the rights to change these values in the first place.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
So i guess that was it. To install a custom kernel. I just don't want to mess up with the kernel stuff just yet since i'm still new at this. By any chance, do you know if i've installed a custom kernel, can i go back to the stock one if things go haywire? One more thing, i can't find in the dev section on how to revert to stock kernel and where can i download it..
Sent from my Viper One S using xda premium

The stock kernel is included in the respective RUUs. You can flash it just like all other kernels to revert to your stock kernel.
Edit: Once you are s-off with a custom recovery you can just create a mirror image of your whole system before trying a new kernel. So when things go wrong or you're just not satisfied you can use the image to recover your system.
There should be a couple of good tutorials and tools around the forums to explain everything in detail and help you with technical difficulties.
Sent from my HTC One S using xda app-developers app

Oxious119 said:
The stock kernel is included in the respective RUUs. You can flash it just like all other kernels to revert to your stock kernel.
Edit: Once you are s-off with a custom recovery you can just create a mirror image of your whole system before trying a new kernel. So when things go wrong or you're just not satisfied you can use the image to recover your system.
There should be a couple of good tutorials and tools around the forums to explain everything in detail and help you with technical difficulties.
Sent from my HTC One S using xda app-developers app
Click to expand...
Click to collapse
One last question, i just created a nandroid backup, if ever in the future that problems arise after flashing a custom kernel, and then i restore the nandroid i just made, would the custom kernel be replaced by the kernel included in the nandroid backup? Or kernels aren't included in the backup?
Sent from my Viper One S using xda premium

gelo01 said:
One last question, i just created a nandroid backup, if ever in the future that problems arise after flashing a custom kernel, and then i restore the nandroid i just made, would the custom kernel be replaced by the kernel included in the nandroid backup? Or kernels aren't included in the backup?
Sent from my Viper One S using xda premium
Click to expand...
Click to collapse
They are, not it won't flash unless you are s-off. You need to fastboot the kernel (boot.img).
http://www.youtube.com/watch?v=5xVl2dBTnmI&feature=youtube_gdata_player
hTConeS | SoFF | CharmAnDroiD | eleMeNtal
*INveRTeD sENsE 5 ROM+ThEmE+TwEAkS*
*CharmAnDroiD 3.0 FULL ROM UPDATE*

Related

[Q] OC Daemon, help with stock ROM?

Hey guys, I have been reading alot of good things about the OC Daemon and want to give it a try, but I dont want to flash a new ROM. I believe someone said that it could run on the stock ROM, is this correct?
Could someone guide me through getting this up and running on the stock ROM? (TMOUS, 2.3.3)
I am S-OFF and perm rooted, but am holding out for CM7. I was using setCPU, but had issues with it. It would cause my phone to freeze several times a day, as well as request SU permission a thousand times a day. It would over/underclock fine, but even at 1.5Ghz, it was unstable despite a higher than usual voltage ( I tried many values and gave up).
I followed the guide that was written for the EVO3D and setCPU, but dont know how to do this with the OC Daemon.
I assume I just put some file on my SD card and use root explorer to open it? Then, load some kind of custom kernal to get it to overclock? Im a noob when it comes to this sort of thing, but can follow directions well.
Would it even be worth it without a custom ROM that integrates it? I dont want another setCPU ordeal.
Thanks!
Matt
The kernel needs to support it. Stock kernel does not support it.
Sent from my HTC Sensation Z710e using XDA App
pr0x2 said:
The kernel needs to support it. Stock kernel does not support it.
Sent from my HTC Sensation Z710e using XDA App
Click to expand...
Click to collapse
Is there a way to use it in the way that setCPU was used? I believe the process for setCPU involved us loading some kind of custom kernal. Could this be done as well, or is this the likely reason that setCPU was having issues?
EDIT: here is what I followed: http://forum.xda-developers.com/showthread.php?p=15446921
Thanks,
Matt
Just download a rom that supports daemon OC like Virtuous Sensation.
Cheers.
I know this was well covered and is an old thread but I do have another question about this. If CID is for the country code, do I still need it for my unlocked Sensation Z710e has never been connected to a carrier? I have flashed a couple of ROMs with no issue already but if the ROM says that you must superCID, is this something that I still need to do on my phone? Oh, this came with what looked like an Asian ROM but the US ROMs installed and I use it on tmousa.
Thx.

What is bricked kernel?

I heard about a Bricked Kernel. What is the advantage of having this kernel over regular, stock one? What does a kernel in general change in the phone (cpu speed? graphics? sound?)?
http://forum.xda-developers.com/showthread.php?t=1256668
Everything you need to know buddy. Read this thread and be sure to thank the dev showp-1984 for his hard work if you decide to use it
Sent from my HTC Sensation Z710e using XDA App
Any alternate kernel might/might not be better than the supplied one. You need to try them and see if they improve things for you and your usage profile.
Make sure that the Kernel is fully compatible with your chosen ROM. Make sure you do a Nandroid backup first, so if it goes tits up you can revert back to a working version.

[Q] Undervolting with Cyanogenmod 9 which Kernel?

Hey everyone,
can anyone tell me what I need to do, to undervolt my sensation with cyanogenmod 9 rc1? I read that I need an other kernel, but which kernel should I use? And what do I need to flash it? Is it enough to flash it like roms with 4ext touch recovery?
Greetings bootscreen
Sent from my HTC Sensation using xda app-developers app
Download system tuner from the market.
Sent from my HTC Sensation 4G
doesn't work.
with the original cyanogen 9 kernel its unpossible to undervolt. neither with setcpu nor with system tuner i can see a voltage option
Yes you do flash kernels like roms.
Sent from my HTC Sensation 4G
and which kernel should i use / need for cyanogenmod? somewhere in the past i read something about special kernels for asop roms/cyanogenmod
bootscreen said:
and which kernel should i use / need for cyanogenmod? somewhere in the past i read something about special kernels for asop roms/cyanogenmod
Click to expand...
Click to collapse
Use this: http://forum.xda-developers.com/showthread.php?t=1269247
To change voltages use System Tuner.
sorry for my late response but in the last days i had to much to do.
now i will try the kernel from tamcore (http://files.tamcore.eu/android/?dir=tamcore-kernel) because he is a german developer and its based on the faux123 kernel so the undervolting works.
and now i will try http://forum.xda-developers.com/showthread.php?t=1743055 because it looks easier than system tuner. i hate this ugly app -.-
but thanks anyway =)
I'm sorry buddy I'm still learning myself.
Sent from my HTC Sensation 4G with Beats Audio using xda app-developers app
I would still prefer system tuner, because you won't have to flash stuff all the time to test it out.
@Mesaman2012 why do you say sorry? you helped me how i can flash the kernel
@ridder215215 yeah it is circular with the undervoltage flash script but i find its easier than the ugly and unclear system tuner ^^ and i don't need to install an additional app =)
now my sensation has CM9 RC1 with Tamcores Kernel, it is undervolted and its stable =) so i think this thread can closed

Best stable kernels to use with stable CM10 build?

I just learned about the kernels for the XL and was interested in having the s2w feature. Can anyone advise the most stable build I can use with stable CM10 on the phone? I am new to kernel flashing and in a few threads, it appears the kernels are either CM10 nightly enabled (past the stable -- incompatible) or for Sense ROMs (also incompatible).
the kernels in the android development are sense only. since you want sleep2wake the only real option for you is rohan's kernel, its meant for aosp roms like cm10, and is the only kernel for jb roms that has s2w.
And for future references, if I am running on Rohan's kernel and flash a Sense ROM over it what would happen? Are you suppose to flash the kernel with a Sense kernel before going back to a Sense rom?
an_xda said:
And for future references, if I am running on Rohan's kernel and flash a Sense ROM over it what would happen? Are you suppose to flash the kernel with a Sense kernel before going back to a Sense rom?
Click to expand...
Click to collapse
Yes, non sense kernels will not work with sense roms. Reinstall stock or one of the other sense kernels when you switch roms.
Sent from my HTC One X using xda premium
Skeeterdrums said:
Yes, non sense kernels will not work with sense roms. Reinstall stock or one of the other sense kernels when you switch roms.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I should be more clear. If I had Rohan on my phone and went to a Sense ROM before flashing a Sense kernel, would I brick my device or would the kernel just 'not work/disable itself'?
an_xda said:
I should be more clear. If I had Rohan on my phone and went to a Sense ROM before flashing a Sense kernel, would I brick my device or would the kernel just 'not work/disable itself'?
Click to expand...
Click to collapse
You would just soft brick and the phone would be stuck in boot loop. Why would you even try?
Sent from my One X using xda premium
ChefAnt said:
You would just soft brick and the phone would be stuck in boot loop. Why would you even try?
Sent from my One X using xda premium
Click to expand...
Click to collapse
So if you are on CM10, how would you flash the Sense kernel and a Sense ROM? What would the order be?
an_xda said:
So if you are on CM10, how would you flash the Sense kernel and a Sense ROM? What would the order be?
Click to expand...
Click to collapse
First make a full wipe (factory reset, all that), then flash your rom using the typical procedures, then flash a sense kernel. Same goes for AOSP, make a full wipe if coming from another rom, flash the rom, then the kernel.
utkaar099 said:
First make a full wipe (factory reset, all that), then flash your rom using the typical procedures, then flash a sense kernel. Same goes for AOSP, make a full wipe if coming from another rom, flash the rom, then the kernel.
Click to expand...
Click to collapse
No this could be wrong. I am assuming OP is on 1.14 hboot. Older hboots allow you to flash kernels. With 1.14, kernels will not flash in recovery. Either use fastboot to flash kernels or use flash image GUI app found in the themes and apps section. After kernel is flashed then flash your ROM in recovery as normal.
Sent from my One X using xda premium
Thanks folks. Just what I needed to know for future references.
What the other guy said is true, but that was actually what I was hinting at when I said "typical procedure." I'll be more specific next time... Also, your very welcome!
Sent from my HTC One XL using xda app-developers app
ChefAnt said:
No this could be wrong. I am assuming OP is on 1.14 hboot. Older hboots allow you to flash kernels. With 1.14, kernels will not flash in recovery. Either use fastboot to flash kernels or use flash image GUI app found in the themes and apps section. After kernel is flashed then flash your ROM in recovery as normal.
Sent from my One X using xda premium
Click to expand...
Click to collapse
in this process, when should you do the full wipe? before or after flashing the new kernel using the fastboot method?

HTC One XL oc tools

Hi. Wich tools can be used to overclock a little the cpu, and/or gpu?
I've noticed some performance drop in 3d since sense 5, comparing with sense 4. Specially with WAZE app.
Thanks all.
You first need a custom kernel to OC. Then you can use apps like Trickster Mod, Kernel Tuner, and others to tune the kernel settings.
Sent from my Evita.
Can you give me some help to go with a custom kernel? Does they improve a lot over the default ones? I was looking at BEASTMODE rld 3.5...
There are only two available for Sense 5, Beastmode and Elemental. Asking for a suggestion isn't allowed so I can't do that. They're both pretty good though.
Sent from my Evita.
OC'ing HTC One X
Google and/or YouTube Beastmode. Plenty of info available.
FedericoUY said:
Can you give me some help to go with a custom kernel? Does they improve a lot over the default ones? I was looking at BEASTMODE rld 3.5...
Click to expand...
Click to collapse
If you are looking to overclock, then a custom kernel is a must, so in that way its an "improvement" (at least more features) than stock kernel. On a stock kernel, CPU frequencies over the "official" spec will not be available (not even appear) on overclocking tools/apps. Also, custom kernel will generally give more choice of governors, if you are into such things.
Ok, after I get a solution with the connectivity problem I'll try to switch kernel. But what about 3d performance loss with this now rom, particulary with sense 5 I guess? Is that normal?
I never noticed a performance loss with 3d on Sense 5, but you can OC both 2d and 3d with the Beastmode kernel.
Sent from my Evita.
Ok, the kernel installation is just from twrp like a rom choosing wich one to install right? Are there any noticeable gains with them? Whether it is beastmode or elemental x?
FedericoUY said:
Ok, the kernel installation is just from twrp like a rom choosing wich one to install right? Are there any noticeable gains with them? Whether it is beastmode or elemental x?
Click to expand...
Click to collapse
Yes, kernels are flashed in recovery. Beastmode is s-on friendly, but Elemental requires s-off according to the top post of that thread.
Whether you notice any gains will probably depend on how you use your phone and how you tweak, so I don't think there is any blanket response to that question. If you have given this much thought to it, just go ahead and flash. You can always dirty flash the ROM to go back to stock kernel, if you don't like the results. Or make a nandroid backup before you flash the kernel, which I recommend before flashing anything, anyway.
If I flash a kernel, whether elemental or beastmode, is there a way to return to orginal kernel only without flashing the entire rom?
You only need to dirty flash the ROM, that's flashing the ROM again without wiping anything except cache and dalvik. All of your settings, apps, and so on will remain, you'll actually not notice any changes at all. If for some reason you don't want to do that you can just flash the boot.img from the ROM zip to get the stock kernel back.
Sent from my Evita.
That's just what I needed to know. Thanks for the thousanth time timmaaaa. Cheers!
You're welcome, glad to help.
Sent from my Evita.
FedericoUY said:
If I flash a kernel, whether elemental or beastmode, is there a way to return to orginal kernel only without flashing the entire rom?
Click to expand...
Click to collapse
Dude, I already answer that question before you even asked it. Did you read my previous post?
Sent from my HTC One XL using xda app-developers app
redpoint73 said:
Dude, I already answer that question before you even asked it. Did you read my previous post?
Sent from my HTC One XL using xda app-developers app
Click to expand...
Click to collapse
I made a different question later, about just returning to previous kernel WITHOUT flashing the entire rom. I've read your post, and was helpful as well. Thank you.
Hi again. If I backup my current rom (system/data/boot) with the stock kernel, then I flash a moded kernel, and then I restore my backup (maybe because I'm not comfortable with the new flashed kernel for example), the kernel will be restored as it was on the moment of the backup right?
That's correct, but you don't necessarily need to restore the backup to get the stock kernel back. You can just flash the boot.img from the ROM zip, or dirty flash the ROM.
Sent from my Evita.
So flashing the boot.img will only flash the kernel.... Intresting. Thanks!
FedericoUY said:
I made a different question later, about just returning to previous kernel WITHOUT flashing the entire rom..
Click to expand...
Click to collapse
I don't think you understand what a "dirty flash" is. Flash without doing a factory reset (but wipe cache and Dalvik, which you shoud pretty much do with any significant system change). It retains all your settings, apps, etc. which are contained in the user data partition. It only touches the partitions where the ROM itself and kernel are located. It doesn't take any more time than flashing the stock boot.img.
---------- Post added at 10:17 AM ---------- Previous post was at 10:15 AM ----------
FedericoUY said:
So flashing the boot.img will only flash the kernel.... Intresting. Thanks!
Click to expand...
Click to collapse
Actually, there are other contents in boot.img besides just the kernel. But for practical purposes, nothing that significant.

Categories

Resources