What is bricked kernel? - HTC Sensation

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.

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.

[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

Hefe Kernel Q&A

Let the OC/UV fun begin...
Good job bro mind if I test it on some of my roms?
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
If im using a rom with LZ kernel already on it is it safe to flash this kernal ?
erikmm said:
Good job bro mind if I test it on some of my roms?
Click to expand...
Click to collapse
I'd be delighted if you tried it out. Let me see what I can do about a boot screen if you decide to distribute it.
hey jeffsf i gonna release a rom in couple days so do you mind if I use your awesome kernel?
Jeff(or Hefe if you prefer)
Nice work here. Just what we needed. I have one request(which if you know me you know I hardly ever make them). Any way in a future release you might be able to get Badass as a governor and sio as a scheduler? I find that combo works incredibly well an another phone of mine and would love to see how it treats the 4g. Also what are you using to set UV if System Tuner ain't sticking? I really hate Set CPU so I'm hoping for another recomendation. Thanks for this.
jeffsf said:
I'd be delighted if you tried it out. Let me see what I can do about a boot screen if you decide to distribute it.
Click to expand...
Click to collapse
well if you have your source up(just saw u do) ill download it and change the bootsplash and build it thanks bro
----------------------------------------------
If helped don't be afraid to hit the thanks button it doesn't bite lol
Is this safe to use on the Nexus Beam Rom?
Sent from my SGH-T959V using xda app-developers app
yes already tested by me
hechoen said:
I have one request(which if you know me you know I hardly ever make them). Any way in a future release you might be able to get Badass as a governor and sio as a scheduler? I find that combo works incredibly well an another phone of mine and would love to see how it treats the 4g. Also what are you using to set UV if System Tuner ain't sticking? I really hate Set CPU so I'm hoping for another recomendation. Thanks for this.
Click to expand...
Click to collapse
Let me look into finding and understanding the Badass governor, as well as the schedulers. I try to be conservative and only put things in that I understand, rather than just throwing in the kitchen sink. I agree that both governors and schedulers can impact both user experience as well as battery life.
OK, I found a better source of badass from showp1984 / "Bricked"
On the UV table, I need to work through how Linux deals with what I am used to knowing as sysctl as well as what the various apps expect.
hechoen said:
Also what are you using to set UV if System Tuner ain't sticking? I really hate Set CPU so I'm hoping for another recomendation. Thanks for this.
Click to expand...
Click to collapse
Voltage Control worked for my limited time testing this lastnight.
Is it possible to backup the kernel before flashing yours? I tried to use the SGS Kernel Flasher from the market place but it isn't compatible with TWRP. Or is it recommended/manditory that I completely reflash the OS, then flash the kernel, then just restore apps using Titanium Backup Pro? Still getting the hang of it... I just have it burnt in my memory not to restore a backup over a different kernel... thanks to bhundven
rbedell said:
Is it possible to backup the kernel before flashing yours? I tried to use the SGS Kernel Flasher from the market place but it isn't compatible with TWRP. Or is it recommended/manditory that I completely reflash the OS, then flash the kernel, then just restore apps using Titanium Backup Pro? Still getting the hang of it... I just have it burnt in my memory not to restore a backup over a different kernel... thanks to bhundven
Click to expand...
Click to collapse
Do a nandroid prior to flashing so if something breaks you can revert.
TWRP will backup your kernel. You will also need a backup of /system/lib/modules/bcm4329.ko Using TWRP to backup /system will cover you there.
I flash more kernels every day than I want to admit. The kernel is in a different partition than the system or data, so the chance of corruption of your "ROM" is pretty small. The only file changed in /system should be the bcm4329.ko (WiFi/Bluetooth module).
Posted from my AOKP-ified SGS4G
Anyone trying this out on provision rom?
Sent from my SGH-T959V using xda premium
jeffsf said:
TWRP will backup your kernel. You will also need a backup of /system/lib/modules/bcm4329.ko Using TWRP to backup /system will cover you there.
I flash more kernels every day than I want to admit. The kernel is in a different partition than the system or data, so the chance of corruption of your "ROM" is pretty small. The only file changed in /system should be the bcm4329.ko (WiFi/Bluetooth module).
Posted from my AOKP-ified SGS4G
Click to expand...
Click to collapse
Thank you for clearing that up... I feel better testing stuff out now. A little safer knowing TWRP covers everything. Thank you for being so helpful.
Great kernel! I am using setcpu and changed 1.2 to .1 all down 100 voltage and every thing is running great and better battery life.
Sent from my SGH-T959V using xda app-developers app
I just realized I am on the old kernel and I am undervolted using setcpu... Am I only partially under volted? I noticed its only the bottom in the negative. I'm used to using tegrak lol.
Edit: I just realized one is saved and the other is current... duh lol.
sent from The Backwoods in South Texas
flashed this kernel couple days ago, its good.
but......sad to say 4 me, i dont see any difference in battery life (running cm9, kernel it came with lasted about 16hours with wifi on and only txting), with this kernel my phones battery life only last about 8-10hours (thats with and without wifi on), trying my phone on 200/1400 and at 55% (unplugged it about 7 1/2hours ago), but my wifi has not been on. (i also saw a very bad drop rate, lost 17% battery life in about hour 1/2(wifi was off and it was just sitting)not sure if its because its set at 200/1400 or something else, and i have no other apps running in the background), im not to worried about it since im trying to buy a new phone soon, so for now im trying to make the best i can out of this phone.
any tips to help increase battery life with this kernel overclock/underclock wise?
Jenovah said:
any tips to help increase battery life with this kernel overclock/underclock wise?
Click to expand...
Click to collapse
Glad to hear it is solid for you!
Have you tried switching to the smartassv2 governor? It is not set as default when the kernel boots (you want a robust kernel when you have to boot into recovery).

[Q] How to lock CPU frequency?

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*

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