regarding kernel - Xiaomi Redmi Note 5 Pro Questions & Answers

Hi! How can I revert back to stock kernel provided by the custom rom? Will I need to restore the backup (boot partition) in twrp? Or do I need to dirty flash the custom rom I'm in? I'm curious and new to this kind of things. Thank you.

giiieeeXD said:
Hi! How can I revert back to stock kernel provided by the custom rom? Will I need to restore the backup (boot partition) in twrp? Or do I need to dirty flash the custom rom I'm in? I'm curious and new to this kind of things. Thank you.
Click to expand...
Click to collapse
either way will replace it to stock from rom.

Related

Backup Kernel Before Flashing New One?

Is there a way to back up the kernel on my existing ROM before I flash dumfuqs latest one? In case I don't like the latest one is there a way to revert back to the original kernel? Thanks in advance!
pettigrew95 said:
Is there a way to back up the kernel on my existing ROM before I flash dumfuqs latest one? In case I don't like the latest one is there a way to revert back to the original kernel? Thanks in advance!
Click to expand...
Click to collapse
I might be wrong but i think the normal kernel is included with the rom and you just reflash the rom if you dont like the oc kernal (or nandroid backup)
pettigrew95 said:
Is there a way to back up the kernel on my existing ROM before I flash dumfuqs latest one? In case I don't like the latest one is there a way to revert back to the original kernel? Thanks in advance![/Q]
after you re-boot into recovery using ROM Manager you select "nanadroid" and then select backup... it backs up ROM and Kernel
Click to expand...
Click to collapse
Ok I get that but I was wondering in regards to lets say if I install the new kernel and then installs apps and make system settings changes and then I want to revert back to the old kernel without losing the apps and system settings? Also I'm asking this because I'm thinking about flashing the dumfuq 3.5 kernel on Chiefs OTA update ROM. Anyone running this combination? Thanks.

[Q] Custom ROM and 4.0.4 question

I updated to 4.0.4 last weekend with the leak. I now want to flash GummyNex to my Nexus. Must I flash back to 4.0.2 before I load GummyNex or any other custom ROM? Or can I just flash the custom ROM on top of the 4.0.4 update?
No just wipe data, dalvik, cache and flash the ROM you want to flash with gapps (if required) and kernel (if you desire to)
Thanks! I appreciate it. I've never flashed a custom ROM...just the unofficial OTA's. The kernel is a totally separate file correct?
CuppaCoffee8 said:
Thanks! I appreciate it. I've never flashed a custom ROM...just the unofficial OTA's. The kernel is a totally separate file correct?
Click to expand...
Click to collapse
Yes, you can flash kernel after flashing the custom rom, but keep in mind that some kernels only work for a specified build.
CuppaCoffee8 said:
Thanks! I appreciate it. I've never flashed a custom ROM...just the unofficial OTA's. The kernel is a totally separate file correct?
Click to expand...
Click to collapse
Yes kernel is a separate file. Some ROMs will include a kernel with their ROM (mostly stock kernel but it could be different).
So if you flash a ROM (or a update), flash the kernel update again because flashing the ROM zip will override your kernel.
Press the thanks button if I helped, thanks

Custom ROM 4.3 to. kitkat 4.4

I am running IOKP 4.3.1 on my nexus. I have downloaded the OTA update for kitkat 4.4. Can I flash the 4.4 update from cwm or so I have to return to stock then flash it? I ask this because my stock backup will not restore due to md5 mismatch. Thanks for any advice.
Anyone?
Just backup, restore a flash the 4.4 ROM.
Sent from my Nexus 7
OK I've backed up iokp. Can I now flash 4.4 from cwm? Or do I need to flash stoc first?
razormccabe said:
OK I've backed up iokp. Can I now flash 4.4 from cwm? Or do I need to flash stoc first?
Click to expand...
Click to collapse
You can only flash an OTA if you are on stock ROM.
OK but how do I get back to stock ROM then? My backup won't restore.
razormccabe said:
OK but how do I get back to stock ROM then? My backup won't restore.
Click to expand...
Click to collapse
If you don't know how to flash back to stock manually you are probably better off using one of the toolkits in the development forums.
meekrawb said:
If you don't know how to flash back to stock manually you are probably better off using one of the toolkits in the development forums.
Click to expand...
Click to collapse
Sorry I should have asked how I can do this without a pc...
razormccabe said:
Sorry I should have asked how I can do this without a pc...
Click to expand...
Click to collapse
Tasssadar has some stock flashable zips here:
http://forum.xda-developers.com/showpost.php?p=48544617&postcount=255
Don't forget to thank him if you use it.
They seem to be stock kitkat. I would need to flash stock JB and then flash KK though, yeah?
razormccabe said:
They seem to be stock kitkat. I would need to flash stock JB and then flash KK though, yeah?
Click to expand...
Click to collapse
No. Just wipe(cache, dalvik cache, data, and system) and then flash KK and you are done.
Another edit: Since you can't use a computer for this, you should download a few other ROMs so you have something else to flash if something goes wrong. I would really only recommend upgrading if you have access to a computer. Things can go wrong very easily. Good luck.
Thanks very much!
They aren't update custom ROMs, they're like factory images. You just need a kitkat 4.4 custom ROM that you can flash in custom recovery. If you don't have custom recovery on your tablet, you need to use your PC to flash it, or just boot temporarily.
Afterwards, restore your tablet, clear cache and dalvik cache, install zip, choose your custom rom, and flash it.
If there is an update for a ROM (such like nightlies for CM) you wouldn't have to restore the tablet, just flash the updated custom ROM because it's just an upgrade.
Sent from my Nexus 7

How to backup stock kernel?

Anyone know of an app or a way?
You could install a custom recovery and create a backup of the entire ROM from the custom recovery or did you just want the stock kernel?
I want to be able to be able to revert back to the stock kernel easily after switching to another without having to reflash kitkat with Odin.
Will you be trying a custom rom? I ask because stock kernels tend to only work with Samsung-based roms. Most custom roms are based on a cm11 or aosp kernel.
ROM Toolbox Pro can backup your kernel. Not sure if the free version will though. You can check
audit13 said:
Will you be trying a custom rom? I ask because stock kernels tend to only work with Samsung-based roms. Most custom roms are based on a cm11 or aosp kernel.
Click to expand...
Click to collapse
No, I'm on a stock rom.
OKAstro said:
ROM Toolbox Pro can backup your kernel. Not sure if the free version will though. You can check
Click to expand...
Click to collapse
I can't find any option to backup the kernel in the pro version.
MikeRWK said:
No, I'm on a stock rom.
I can't find any option to backup the kernel in the pro version.
Click to expand...
Click to collapse
1. Open ROM Toolbox
2. Choose ROM Installer
3. Swipe right
4. Choose Backup & Restore
5. Backup Kernel is 3rd choice.
6. Note backup location so you'll know where it is
MikeRWK said:
No, I'm on a stock rom.
I can't find any option to backup the kernel in the pro version.
Click to expand...
Click to collapse
Or, if u flash a custom kernel and don't like it and want to revert to the stock kernel easliy, just dirty flash the Rom again, no wiping needed...
I ended up flashing CM11 and I made a complete backup before I flashed.
Thanks for the help guys
Sent from my SGH-i747M

Stock Kernel

I need some help. I'm pretty noob with all what is related to kernel and Custom Rom in general. I just wanted to know if using QPST method I restore the stock kernel, if previously I installed another one with a Custom Rom.
And if i doesn't, where can I find it?
Yes, it restores all necessary partitions including stock kernel

Categories

Resources