[Q] How to remove custom Kernel? - Nexus S Q&A, Help & Troubleshooting

I'd like to remove the trinity Kernel for JellyBean. I enjoy it's overclock but I hate it when my phone just randomly reboots. Is there a way to remove it. I have created a backup before I flashed it, but I'd like to remove it without having to restore to that backup.
Thanks

flash your rom without wiping, then flash gapps

ej8989 said:
flash your rom without wiping, then flash gapps
Click to expand...
Click to collapse
I should have mentioned, I'm running stock. No custom rom installed

Just flash a different custom kernel or the stock kernel. If you want a different custom kernel, and you want something stockish, you wan try SimpleKernel or thalamus kernel. As for the stock, I think you can find a flashable zip somewhere here in the NS forum.

Related

[Q] About flashing custom ROMs

Hi everyone!
I am fairly new with android and I just rooted my transformer last night. I was also able to install a custom ROM, revolver 3.11.1 (Honeycomb).
If I want to flash an ICS ROM (Revolver, Android Revolution or Codename), from a custom HC ROM, do I have to do anything else? Or can I just flash it straight away?
Based on what I've read, if ever I wish to downgrade back to honeycomb, I would not just flash a honeycomb ROM. I have found a few guides on how to downgrade back to Honeycomb from ICS. Is this correct?
Since you have cwm, It's as simple as going into recovery and flashing your desired custom rom.
Normal procedure (to avoid conflicts/problems) is to wipe and/or format before flashing a new rom.
A good tool to have is the superwipe lite script found in the Revolution HD thread. (I personally use that instead of the wipe option that is in CWM).
Oh...and you can also backup your current ROM and state by using the backup function in CWM BEFORE you wipe/format. Just in case you don't like the new rom and want to revert.
FYI...if you go ICS and want to restore your HC rom...a restore then a reflash of the HC Rom is needed.
Thanks for the reply!
Just to clarify, once I flash an ICS custom ROM and didn't like it, I can't just flash back to a HC custom rom or stock HC rom. Is this correct?
ragnaboy2010 said:
Thanks for the reply!
Just to clarify, once I flash an ICS custom ROM and didn't like it, I can't just flash back to a HC custom rom or stock HC rom. Is this correct?
Click to expand...
Click to collapse
Yup. Even if you use the restore function...you need to flash that particular HC ROM over the restore. (Because the backup doesn't backup the kernel...so if you don't flash the HC rom...the ICS kernel is still there...and you won't be able to boot)
sorry to hijack the thread but my question is similar so i dun want to start a new one
I am currently on revolver 3.11 as well and thinking to update to a ICS custom rom
I am using the blade OC kernel at the moment. I just want to ask if the new rom comes with the ICS kernel or do I need to look for an ICS kernel to put it manually?
Also, I just want to check that Ti Backup does not back up downloaded data right?
Thanks a million
strikeraj said:
sorry to hijack the thread but my question is similar so i dun want to start a new one
I am currently on revolver 3.11 as well and thinking to update to a ICS custom rom
I am using the blade OC kernel at the moment. I just want to ask if the new rom comes with the ICS kernel or do I need to look for an ICS kernel to put it manually?
Also, I just want to check that Ti Backup does not back up downloaded data right?
Thanks a million
Click to expand...
Click to collapse
Everything is included when you flash one of the available ICS ROM.
There is no custom ICS kernel right now anyway as Asus have not released the kernel source.

cm10.1 with custom kernel

Sorry if this has already been asked before. If you already have a custom ROM with stock kernel, and now you want to install a custom kernel, would you just boot into custom recovery then flash it on top of the existing ROM just like flashing Gapps? or do you have to wipe the ROM first, flash the kernel then ROM after that? Here's another question. Custom ROMs come with their own kernels, would my custom kernel get overwritten when I upgrade my ROM to a newer version (for example from cm10.1-20130226 to cm10.1-20130309?
k20- said:
Sorry if this has already been asked before. If you already have a custom ROM with stock kernel, and now you want to install a custom kernel, would you just boot into custom recovery then flash it on top of the existing ROM just like flashing Gapps? or do you have to wipe the ROM first, flash the kernel then ROM after that? Here's another question. Custom ROMs come with their own kernels, would my custom kernel get overwritten when I upgrade my ROM to a newer version (for example from cm10.1-20130226 to cm10.1-20130309?
Click to expand...
Click to collapse
Correct just copy the kernel to your sdcard clear cache in recovery and flash away.
I tried your ROM and rebooted twice and still looking good. Hope it'll still survive after the 3rd reboot. However, I notice some delay before the first ring back, probably due to weak signal in my area. I'll try more at different locations in the next few days to see how it goes. I really appreciate your contribution and all coders with TeamChopsticks who have nailed down the root cause of audio loss in the cm10.1 nightlies for skyrocket.
I'm having problem with Carbon ROM. My video doesn't playback I only see purple screen. However taking pictures is fine but both the qualities are low. I already set to HD. I flashed AOKP from toyes and REVOLT they had no problems with the video.
sent from Skyrocket

[Q] Do I have to flash a specific Kernel before flashing CM 10.1??

I'm wondering if I have to flash a specific Kernel before flashing custom roms ( CM specifically ). My device is P3110 running stock 4.1.2 . Any help will be much appreciated, thanks guys.
Edit: Does flashing the CM Rom zip file flash the newest CM kernel or should I flash it manually?
kareemgonna said:
I'm wondering if I have to flash a specific Kernel before flashing custom roms ( CM specifically ). My device is P3110 running stock 4.1.2 . Any help will be much appreciated, thanks guys.
Edit: Does flashing the CM Rom zip file flash the newest CM kernel or should I flash it manually?
Click to expand...
Click to collapse
Next blackhawx 1.8.3 developed ketut.kumayaja
kareemgonna said:
I'm wondering if I have to flash a specific Kernel before flashing custom roms ( CM specifically ). My device is P3110 running stock 4.1.2 . Any help will be much appreciated, thanks guys.
Edit: Does flashing the CM Rom zip file flash the newest CM kernel or should I flash it manually?
Click to expand...
Click to collapse
You never want to flash a kernel before flashing a rom because the rom will over write the kernel when it installs its own. If you want a custom kernel flash it right after flashing the rom.
All roms come with their own kernel.
Sent from your phone. You should be careful where you leave that thing.
Thanks
Skipjacks said:
You never want to flash a kernel before flashing a rom because the rom will over write the kernel when it installs its own. If you want a custom kernel flash it right after flashing the rom.
All roms come with their own kernel.
Sent from your phone. You should be careful where you leave that thing.
Click to expand...
Click to collapse
That's exactly what I needed to know, I have another android device ( Xperia mini pro ) and every time I need to install a custom rom, I have to flash its kernel first. Here it seems like flashing the rom via recovery also flashes the kernel. Thanks for the help appreciated.
kareemgonna said:
I'm wondering if I have to flash a specific Kernel before flashing custom roms ( CM specifically ). My device is P3110 running stock 4.1.2 . Any help will be much appreciated, thanks guys.
Edit: Does flashing the CM Rom zip file flash the newest CM kernel or should I flash it manually?
Click to expand...
Click to collapse
The CM zip file has everything it needs. You just need to have a recovery ROM to be able to install CM from recovery. Additionally, you might want to reset various things from recovery before installing CM. Notice that if you reset the internal sdcard you will lose all your data (which might or might not be what you want).

[Q] Flashing over a custom kernel.

I'm currently on Cataclysm Rom + Franco Kernel. Wanna flash ElementalX kernel without losing data. How can i do it?
Vyshy92 said:
I'm currently on Cataclysm Rom + Franco Kernel. Wanna flash ElementalX kernel without losing data. How can i do it?
Click to expand...
Click to collapse
Just flash it. Don't do any wipes. You never lose data flashing a kernel.
Sent from my Nexus 9 using XDA Free mobile app
Am fairly sure that in the flash instructions of your chosen kernel it says to "dirty flash ROM" before flashing g kernel. Dirty flash won't or rather shouldn't wipe data. I've done it in past with no problems. Follow OP instructions and you'll be just fine and keep all your data.
Is it okay to flash a custom kernel on stock?
Im running stock 5.1 R3 with TWRP.
MushyMan said:
Is it okay to flash a custom kernel on stock?
Im running stock 5.1 R3 with TWRP.
Click to expand...
Click to collapse
So long as its a compatible one yes its fine. Look in the dev. Sections and look at op of some kernels. Will tell you what they work on and how to flash. As your on stock ROM remember to make a backup and find and download stock kernel as if you want to change between kernels you'll need to flash the stock version before you flash new kernel.
Good luck.

Need a few qiuck tips. Regarding rooting and flashing

I am about to flash my nexus 5 device.
I was wondering.. if i unlock the bootloader and install a custom recovery plus create a backup.. that means ill have basicly a backup on my phone of a factory ROM and kernel right ?
So If i play around with custom roms and Kernels does that mean if I want to go back to stock kernel or/and ROM I can just recover my backup files from ,for example, CWM ?
And also if anyone here knows... how big difference can a kernel for battery life extension make ?
Then..
If I want to flash both.. Custom ROM and Kernel.. Rom comes first ? And if after that .. lets say I have flashed Cyanogenmod , and I have decided to change ROMs , Do I have to flash factory ROM ? Or I can just factory reset and Flash ir over the Cyanogenmod ?
For example.. for elementalX kernel I read this line... "You should only flash ElementalX over the kernel that came with your ROM!!!" I assume that means I do flash the ROM first... and what if I want to change Kernels later on? I re-flash the factory kernel ? And how do I do that?
For now that would be it
Thanks
Yes, installing a custom recovery (I recommend TWRP) allows you to create a backup of the existing ROM for restoration at a later point in time if you don't like the phone's existing ROM. Restoring TWRP backups have always worked except for me except in a couple of situations where I could not boot the restored ROM without first doing a factory wipe of the data and cache partitions.
I can't comment on custom kernels except to say that everyone uses their phone in different ways and getting the best battery life and performance may require a lot of tweaking. You could just try different kernels to see which one suits your needs.
You can restore the ROM's original kernel by extracting the kernel from the original ROM and flashing it. Alternatively, you could dirty flash the over the existing ROM. For example, if you are running CM12.1 2015-12-30 with a custom kernel and you want to go back to CM12.1 2015-12-30 without the custom kernel, you could just re-flash the entire CM12.1 2015-12-30 ROM again.
audit13 said:
Yes, installing a custom recovery (I recommend TWRP) allows you to create a backup of the existing ROM for restoration at a later point in time if you don't like the phone's existing ROM. Restoring TWRP backups have always worked except for me except in a couple of situations where I could not boot the restored ROM without first doing a factory wipe of the data and cache partitions.
I can't comment on custom kernels except to say that everyone uses their phone in different ways and getting the best battery life and performance may require a lot of tweaking. You could just try different kernels to see which one suits your needs.
You can restore the ROM's original kernel by extracting the kernel from the original ROM and flashing it. Alternatively, you could dirty flash the over the existing ROM. For example, if you are running CM12.1 2015-12-30 with a custom kernel and you want to go back to CM12.1 2015-12-30 without the custom kernel, you could just re-flash the entire CM12.1 2015-12-30 ROM again.
Click to expand...
Click to collapse
Thanks!
What advantages does TWRP has over CWM ? And also does it recover other files as well or just the system ones ?
And I guess its safer to just extract the original ROMs kernel.. Just how do i do that ?
TWRP is well supported and features a simple touch interface. TWRP will recover the system and data files.
Not necessarily safer to flash just the kernel rather than the entire ROM. It also saves time and effort because, if the kernel is not extracted and compiled for flashing in recovery, it could cause the phone to bootloop.
I've never extracted the kernel myself but this may help: https://www.youtube.com/watch?v=rLhprnOF6-U
audit13 said:
TWRP is well supported and features a simple touch interface. TWRP will recover the system and data files.
Not necessarily safer to flash just the kernel rather than the entire ROM. It also saves time and effort because, if the kernel is not extracted and compiled for flashing in recovery, it could cause the phone to bootloop.
I've never extracted the kernel myself but this may help:
Click to expand...
Click to collapse
Thanks!
So.. If, lets say, I flash cyanogenmod. Then Flash custom kernel. In order to change other kernel which is also custom , I should first flash the factory ROM which will have kernel on it ? And then reflash the ROM and then flash the new kernel ?
Im sorry , I also read a lot about this and somewhere on the way got really confused , haha.
Let's assume you flash CM version 1 and then you flash custom kernel "Kernel A". If you want to try another custom kernel named "Kernel B", you could just flash "Kernel B" over "Kernel A". If the developer of "Kernel B" cays it must be flashed over CM's original kernal, you could still flash "Kernel B" over "Kernel A" and hope it works. If it doesn't work, you could dirty flash CM version 1 over the existing ROM, then flash "Kernel B".
audit13 said:
Let's assume you flash CM version 1 and then you flash custom kernel "Kernel A". If you want to try another custom kernel named "Kernel B", you could just flash "Kernel B" over "Kernel A". If the developer of "Kernel B" cays it must be flashed over CM's original kernal, you could still flash "Kernel B" over "Kernel A" and hope it works. If it doesn't work, you could dirty flash CM version 1 over the existing ROM, then flash "Kernel B".
Click to expand...
Click to collapse
Thank you. Made things much clearer. Dirty flash means just flashing over the existing custom ROM and Kernel right?
And also.. What about if i have CM and Kernel B ... But i want to go change to ParanoidAndroid and still keep the Kernel B? This ROM would remove the Kernel and I would have to re flash ir right?
And also if I am just switching around ROMs only.. I can just flash them one over another? Perhaps a factory reset is healthy in between though.
Dirty flash means flashing over the existing ROM without wiping the system in recovery.
Flashing any ROM over an existing ROM will replace the system and kernel. If you want to change ROMs altogether, you'd flash PA and then flash Kernel B.
When changing ROMs, I always recommend a full wipe (i.e. system, data, cache).
audit13 said:
Dirty flash means flashing over the existing ROM without wiping the system in recovery.
Flashing any ROM over an existing ROM will replace the system and kernel. If you want to change ROMs altogether, you'd flash PA and then flash Kernel B.
When changing ROMs, I always recommend a full wipe (i.e. system, data, cache).
Click to expand...
Click to collapse
Alright. And just one last thing that I got a bit confused of..
When I root and install a custom ROM, I am not going to receive OTAs. If I just flash the newest custom ROM does that work as an update? Or the newest ROM can ble flashed over the newest android? If so... How do I exactly get the newest updates manually? I have to flash to factory ROM and then somehow flash the update? By far thats how I understood it.
rihz said:
Alright. And just one last thing that I got a bit confused of..
When I root and install a custom ROM, I am not going to receive OTAs. If I just flash the newest custom ROM does that work as an update? Or the newest ROM can ble flashed over the newest android? If so... How do I exactly get the newest updates manually? I have to flash to factory ROM and then somehow flash the update? By far thats how I understood it.
Click to expand...
Click to collapse
Depends on which rom, but updates to custom roms generally can just be flashed over. Not sure of the MM jump, but from KK to LP, it worked fine so far. Whatever you do read the instructions of the rom and kernel builders. You get lucky sometimes and can dirty flash things that should not be dirty flashed, but if there are issues, there are instructions on the rom or kernel page how to start again.
If you are factory modified and want a factory image you need to flash in fastboot. If on a custom rom, well, like I said follow their advice. Make sure to backup with recovery and save on computer before doing anything.
wangdaning said:
Depends on which rom, but updates to custom roms generally can just be flashed over. Not sure of the MM jump, but from KK to LP, it worked fine so far. Whatever you do read the instructions of the rom and kernel builders. You get lucky sometimes and can dirty flash things that should not be dirty flashed, but if there are issues, there are instructions on the rom or kernel page how to start again.
If you are factory modified and want a factory image you need to flash in fastboot. If on a custom rom, well, like I said follow their advice. Make sure to backup with recovery and save on computer before doing anything.
Click to expand...
Click to collapse
Okay, thanks!
And Happy New year to you all!

Categories

Resources