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?
Related
So I've been flashing various roms, kernels, and radios onto my Nexus S since the release. I've never read to deeply into the exact procedure for flashing these items.
I know you are suppose to wipe device, cache, davik, ect. But then are you suppose to flash the rom, reboot the device, and then flash the kernel and radio?
What if you wiped the device and just flashed a rom without a kernel? Does the kernel you have previously take into effect or is it built into the rom?
No, Roms come with a kernel. If you don't flash a kernel you will have whatever kernel the developer uses in his/her Rom.
Sent from my Nexus S 4G using XDA Premium App
housry23 said:
No, Roms come with a kernel. If you don't flash a kernel you will have whatever kernel the developer uses in his/her Rom.
Sent from my Nexus S 4G using XDA Premium App
Click to expand...
Click to collapse
Wha? Not all ROM's come with kernels... if you flash one that does not have a kernel then you will be left with what you had before (stock).
Hey everyone I'm kinda new to the whole kernel flashing business and I'm trying to flash the UV Trinity kernel to my Nexus S. From what I've read I only need to flash the zip from recovery without having to do any sort of wiping. The main problem when I tried this is that the phone went into a boot loop and wouldn't go past the boot animation for the kernel. I'm not sure if it's because the kernel is based off of 2.3.4 and I'm currently running CM-7.0.3. Morfic's thread indicated that the kernel was made for CM7 so I don't know what's going wrong here.
boredomkillz said:
Hey everyone I'm kinda new to the whole kernel flashing business and I'm trying to flash the UV Trinity kernel to my Nexus S. From what I've read I only need to flash the zip from recovery without having to do any sort of wiping. The main problem when I tried this is that the phone went into a boot loop and wouldn't go past the boot animation for the kernel. I'm not sure if it's because the kernel is based off of 2.3.4 and I'm currently running CM-7.0.3. Morfic's thread indicated that the kernel was made for CM7 so I don't know what's going wrong here.
Click to expand...
Click to collapse
You have a ROM based on 2.3.3, meaning it's not compatible with a kernel made for 2.3.4.
Try flashing the latest cm7 and then the kernel.
Sent from my Nexus S using Tapatalk
treUse said:
You have a ROM based on 2.3.3, meaning it's not compatible with a kernel made for 2.3.4.
Try flashing the latest cm7 and then the kernel.
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Would it work if I tried a CM7 variant that's based off of the 2.3.4 source? I'm going for a stable phone and unsure about the nightly builds at this point. If not I'll probably just wait CM to update and release the rom.
boredomkillz said:
Would it work if I tried a CM7 variant that's based off of the 2.3.4 source? I'm going for a stable phone and unsure about the nightly builds at this point. If not I'll probably just wait CM to update and release the rom.
Click to expand...
Click to collapse
it should work on any 2.3.4 cm based roms.
Hi my skyrocket is currently running 4.0.3 ics leaked rom, and I was wondering if i could flash custom kernel on ics rom, or would I have to stock gingerbread to use custom kernel. I just do not want to get bricked etc. Thank you.
It depends on the ROM, if it's SKY ICS or some other modded Samsung rom, then you pretty much have to stick with stock, or do some research because I don't really know what Kernels are available for it. Maybe someone with more knowledge will chime in...
If it's AOSP based (CM9, AOKP, Chimaira, etc), then the only other option I know of is InstigatorX's kernel, which seems to work quite well. Pick a stable version, since the latest has issues with the camera. The stock kernel for CM9 is also quite good, but the CPU governors added in Instigators are great for saving battery.
http://forum.xda-developers.com/showthread.php?t=1721235
ian619420 said:
Hi my skyrocket is currently running 4.0.3 ics leaked rom, and I was wondering if i could flash custom kernel on ics rom, or would I have to stock gingerbread to use custom kernel. I just do not want to get bricked etc. Thank you.
Click to expand...
Click to collapse
You can flash cymbaline. Don't try to flash instigator's cm9 kernal you aren't using an aosp rom. Cymbaline fits your deal nicely. You'll dig it.
Sent from my part of the problem
boobah204 said:
You can flash cymbaline. Don't try to flash instigator's cm9 kernal you aren't using an aosp rom. Cymbaline fits your deal nicely. You'll dig it.
Sent from my part of the problem
Click to expand...
Click to collapse
second this
boobah204 said:
You can flash cymbaline. Don't try to flash instigator's cm9 kernal you aren't using an aosp rom. Cymbaline fits your deal nicely. You'll dig it.
Sent from my part of the problem
Click to expand...
Click to collapse
That what i use. +1
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
norbarb said:
That what i use. +1
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I also use this kernel and in conjunction with System Tuner for OC/UV.
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*
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.