[Q] Flashing 2 kernels? - HTC Sensation

CAn you flash more than one kernel and run them both? How do get rid of one kernel? Does kernel mess with ROM?

pranker98 said:
CAn you flash more than one kernel and run them both? How do get rid of one kernel? Does kernel mess with ROM?
Click to expand...
Click to collapse
Hi,
You can only flash one kernel at a time.
But you can flash as many as you want until you find one that works well for you.
Make a nandroid backup,
wipe cache and dalvik,
flash new kernel like a ROM,
reboot.

Related

[Q] Flashing kernals and roms questions

I have a kernel that i found that i want to flash. When you flash a kernel, does it replace a flashed ROM or do they combine?
Also, when you flash anything (ROM or kernel) does it replace the stock ROM or does it take a spot next to it? Can you make several spots so there can be more than one ROM? What is wiping out a ROM? If you leave a ROM, can you save your setting so when you go back you don't have to start over again? Can you back up contacts,messages, and apps from stock ROM and extract the data to the new ROM?
I AM CONFUSED
pranker98 said:
I have a kernel that i found that i want to flash. When you flash a kernel, does it replace a flashed ROM or do they combine?
Also, when you flash anything (ROM or kernel) does it replace the stock ROM or does it take a spot next to it? Can you make several spots so there can be more than one ROM? What is wiping out a ROM? If you leave a ROM, can you save your setting so when you go back you don't have to start over again? Can you back up contacts,messages, and apps from stock ROM and extract the data to the new ROM?
I AM CONFUSED
Click to expand...
Click to collapse
1. No, they "combine"
2. It replaces it when you flash
3. Yes, but its more complicated than just flashing multiple roms. There is an app but it doesn't support Sensation.
4. Wiping a ROM is just that, wiping your phone of the ROM along with all your app,data and anything else on the phone(SD card not effected).
5. Umm. I don't understand your question completely but yes flashing a new ROM over an old ROM will preserve your data but you can flash a different rom and expect it to work. For example ARHD-->ARHD(updated) is OK but ARHD --> Insertcoin wont work.
6. Yes, its called titanium backup. Look it up.
thanks. after reading this, I stumbled on radios. what are radios?
pranker98 said:
thanks. after reading this, I stumbled on radios. what are radios?
Click to expand...
Click to collapse
Radio is what gives your phone signal. which version works best for you will depend on your location and carrier so you will just have to experiment. its generally advised that you flash the latest recommended version stated on the rom your using
pranker98 said:
I have a kernel that i found that i want to flash. When you flash a kernel, does it replace a flashed ROM or do they combine?
Also, when you flash anything (ROM or kernel) does it replace the stock ROM or does it take a spot next to it? Can you make several spots so there can be more than one ROM? What is wiping out a ROM? If you leave a ROM, can you save your setting so when you go back you don't have to start over again? Can you back up contacts,messages, and apps from stock ROM and extract the data to the new ROM?
I AM CONFUSED
Click to expand...
Click to collapse
kevinliu2336 said:
1. No, they "combine"
2. It replaces it when you flash
3. Yes, but its more complicated than just flashing multiple roms. There is an app but it doesn't support Sensation.
4. Wiping a ROM is just that, wiping your phone of the ROM along with all your app,data and anything else on the phone(SD card not effected).
5. Umm. I don't understand your question completely but yes flashing a new ROM over an old ROM will preserve your data but you can flash a different rom and expect it to work. For example ARHD-->ARHD(updated) is OK but ARHD --> Insertcoin wont work.
6. Yes, its called titanium backup. Look it up.
Click to expand...
Click to collapse
The only thing I'd add is that for:
o If you leave a ROM, can you save your setting so when you go back you don't have to start over again?
You can do a Nandroid backup from CWM recovery, it takes a snapshot of the ROM, Kernel, Data,.. You can then play with other ROMs. Then at a later date restore the Nandroid backup from CWM and you're back at the earlier ROM.
It's extremely important that when you play with ROMs you backup a working version. It saves a lot of swearing when you lose a nice working system unintentionally. It's happened a couple of times to me and it's a bugger.

How to get back stock kernel?

When I did my wipes flashed I somehow had Air Kernel still, I think? I've been on Matr1x, but I'm not sure how to get back to the stock kernel reliably and without erasing anything.
torchie said:
When I did my wipes flashed I somehow had Air Kernel still, I think? I've been on Matr1x, but I'm not sure how to get back to the stock kernel reliably and without erasing anything.
Click to expand...
Click to collapse
Just wipe cache, dalvik and flash the stock kernel. You can find them here in the forums.
mdean1981 said:
Just wipe cache, dalvik and flash the stock kernel. You can find them here in the forums.
Click to expand...
Click to collapse
I can't find them in the forums. There's just custom kernels.
torchie said:
I can't find them in the forums. There's just custom kernels.
Click to expand...
Click to collapse
flash the stock ROM without wiping.

[Q] Back to stock from custom kernel?

I'm confused about revert back from custom kernel. If I flash some custom kernel that changing the ramdisk or other binaries how do I reset kernel partition before moving back to stock or another kernel without issues?
micens said:
I'm confused about revert back from custom kernel. If I flash some custom kernel that changing the ramdisk or other binaries how do I reset kernel partition before moving back to stock or another kernel without issues?
Click to expand...
Click to collapse
for stock, just flash the stock kernel(zipped or boot.img) or reflash the rom without wiping. for going to another custom kernel, just flash the other kernel over without wiping anything. or you can reflash your rom, then the new kernel, without wiping anything.
Hi,
Just in case for a stock kernel flashable zip: http://forum.xda-developers.com/showthread.php?t=2518816.
Thank you
So, if I flash the stock kernel from recovery it returns everything was changed by custom kernel?
That`s good, and so easy
micens said:
Thank you
So, if I flash the stock kernel from recovery it returns everything was changed by custom kernel?
That`s good, and so easy
Click to expand...
Click to collapse
everything within the kernels range, yes. but a few kernels include system files, it wont change those files. reflashing your rom(without wiping) will get those files back. most kernels dont touch system files, but a very few kernels do.
Ok. Thank`s again :good:
One question more
When I did Full Wipe, everything about custom kernel will gone? Because I don`t understand about changed ramdisk and this staff
micens said:
One question more
When I did Full Wipe, everything about custom kernel will gone? Because I don`t understand about changed ramdisk and this staff
Click to expand...
Click to collapse
no. only your user data will go. kernel/rom stays.
Thank`s,
But, with Full Wipe thing I mean Factory reset + Wipe Cache + Wipe Dalvik Cache + Manual Format /system. Do I need doing "fastboot erase boot" or something like this to full Wipe custom kernel?
micens said:
Thank`s,
But, with Full Wipe thing I mean Factory reset + Wipe Cache + Wipe Dalvik Cache + Manual Format /system. Do I need doing "fastboot erase boot" or something like this to full Wipe custom kernel?
Click to expand...
Click to collapse
all that does is wipe data.
you cant just wipe a kernel away. you need to replace it. you phone can not boot or operate in any way without a kernel. a kernel connects the os to the processor to the battery to the rest of the hardware. if you erase your kernel, you will have a non functional electronic device. you will either have to flash a different kernel, or reflash your rom.
if you erase your kernel, you will have a non functional electronic device. you will either have to flash a different kernel, or reflash your rom.
Click to expand...
Click to collapse
Yes I know this... When erase kernel with "fastboot erase boot" and then flash another kernel that`s it? No data from other kernel like changed ramdisk leave somewhere? That part of this I do not understand about changed ramdisk and other binaries from some kind of custom kernel.
micens said:
Yes I know this... When erase kernel with "fastboot erase boot" and then flash another kernel that`s it? No data from other kernel like changed ramdisk leave somewhere? That part of this I do not understand about changed ramdisk and other binaries from some kind of custom kernel.
Click to expand...
Click to collapse
Just flash another kernel. You can flash kernels over each other with no problem.
Sent from my Nexus 5
micens said:
Yes I know this... When erase kernel with "fastboot erase boot" and then flash another kernel that`s it? No data from other kernel like changed ramdisk leave somewhere? That part of this I do not understand about changed ramdisk and other binaries from some kind of custom kernel.
Click to expand...
Click to collapse
you can do that if you like.
anyways, if a kernel has its own ramdisk, and not an anykernel, then the ramdisk will get replaced every time you flash a kernel. if you are flashing an anykernel, then its best to either reflash your rom first or the roms kernel(stock kernel if stock rom). you can do it your way too, erase than flash
That` s what interested me
Thank you very much

[Q] Hey,I need some help

Hello,i need some help regarding wipe.. I have the Faux kernel and stock Rom.I want to make a fresh install,if i will wipe the phone does the kernel deletes? Thank you
"Wiping" only regards data and cache partitions. It does not interfere with /system or /boot, so no, wiping won't delete the kernel... obviously. Otherwise, your phone wouldn't boot right?
ToastnButter said:
"Wiping" only regards data and cache partitions. It does not interfere with /system or /boot, so no, wiping won't delete the kernel... obviously. Otherwise, your phone wouldn't boot right?
Click to expand...
Click to collapse
So,what i should do now for a new ROM/KERNEL?
Root your phone, get custom recovery and start flashing.
OR, if you want to go back to stock, there's a detailed tutorial somewhere in the forums
ToastnButter said:
Root your phone, get custom recovery and start flashing.
OR, if you want to go back to stock, there's a detailed tutorial somewhere in the forums
Click to expand...
Click to collapse
I have CWM,so i just need to re-flash the new kernel?
Yup.
ToastnButter said:
Yup.
Click to expand...
Click to collapse
I know that Pink kernel needs a custom rom,so now i just flash the new rom and after the new kernel right?
But Faux Kernel says that doesnt support the custom rom,wtf
Well you ALWAYS have to make sure it's compatible. Otherwise your phone won't boot, and you'll loose 10 minutes of your life getting it back on its feet.

little help needed

Guys i want to try new kernels but no one mentioned how to revert back if iam not satisfied with the kernels or just i have to try different kernels as i see a note saying kernels should be flashed on stock kernel so if i want to flash another kernel over existing custom kernel i have to get back to stock how can i do that will twrp restore works and what partions should i have to restore
Manivannan9444 said:
Guys i want to try new kernels but no one mentioned how to revert back if iam not satisfied with the kernels or just i have to try different kernels as i see a note saying kernels should be flashed on stock kernel so if i want to flash another kernel over existing custom kernel i have to get back to stock how can i do that will twrp restore works and what partions should i have to restore
Click to expand...
Click to collapse
should just flash stock boot img if you want to over ride the kernel wipe the cache as of now none of the kernels use ram disc changes so dirty flashing custom kernel over another works fine for the time being
strikerdj2011 said:
should just flash stock boot img if you want to over ride the kernel wipe the cache as of now none of the kernels use ram disc changes so dirty flashing custom kernel over another works fine for the time being
Click to expand...
Click to collapse
Is this link
Not sure if flashify works with dual partitions or not but it allows u to back up boot.img
You can always just revert back to stock by downloading the full rom from oneplus, and installing it through official twrp. Usually recommend doing a wipe of everything system included, and then adb side loading the full rom. It will state there is no os installed at the end when attempting to reboot, just continue on and your phone will boot.

Categories

Resources