Flashing over custom kernel - Xiaomi Redmi Note 4 Questions & Answers

Hello guys, I'm on custom AEX treble build with Franco kernel.
My question is: can I flash other custom ROMs over custom kernel or will I have to go back stock kernel before flashing other treble build?

vbchimtekar said:
Hello guys, I'm on custom AEX treble build with Franco kernel.
My question is: can I flash other custom ROMs over custom kernel or will I have to go back stock kernel before flashing other treble build?
Click to expand...
Click to collapse
I am going to assume that you are going to do a clean flash/factory reset (deleting apps and their data). When you flash a rom it flashes a kernel so custom kernel is gone.
Although you didn't ask I will state it anyways. If you are trying different custom kernels you need to flash back to the roms original kernel before flashing a new kernel.

cidxtc said:
I am going to assume that you are going to do a clean flash/factory reset (deleting apps and their data). When you flash a rom it flashes a kernel so custom kernel is gone.
Although you didn't ask I will state it anyways. If you are trying different custom kernels you need to flash back to the roms original kernel before flashing a new kernel.
Click to expand...
Click to collapse
I had flash custom kernel once only. Thanks bro for your help.

Related

[Q] [Noob Question] Wifi lib ?

Hey there,
I have a Xperia neo with unlocked bootloader and Inteks clean Kernel and Stock Rom.
Before i went back to stock rom i was using different custom Roms Like miui or Cynagenmod. Now that im back to Stock i noticed that my wifi-connection is not that good like with a custom rom.
I always wipe my data before flashing another rom, so that shouln´t be the problem.
My question is now ? Is there way to get the Wifi library/apk from the custom rom and simply install it to custom rom ?
If yes where do i get these files
Pät said:
Hey there,
I have a Xperia neo with unlocked bootloader and Inteks clean Kernel and Stock Rom.
Before i went back to stock rom i was using different custom Roms Like miui or Cynagenmod. Now that im back to Stock i noticed that my wifi-connection is not that good like with a custom rom.
I always wipe my data before flashing another rom, so that shouln´t be the problem.
My question is now ? Is there way to get the Wifi library/apk from the custom rom and simply install it to custom rom ?
If yes where do i get these files
Click to expand...
Click to collapse
You will need modded kernel to get the libs...
adridu59 said:
You will need modded kernel to get the libs...
Click to expand...
Click to collapse
Right now i have Inteks Kernel, so you mean, if i get the wifi.lib from a miui rom i will need the specific Kernel for this rom e.g. Jasonsteins Kernel.
Then stock rom would work with the new wifi lib, but probaly nothing else : ?

[Q] Do I have to reflash the rom if i change the kernel ?

I want to install a custom kernel and I have a custom ROM. So do i need to reflash the rom after i flash a kernel ?
mjurgilas said:
I want to install a custom kernel and I have a custom ROM. So do i need to reflash the rom after i flash a kernel ?
Click to expand...
Click to collapse
Basically no, though it might be the case with some ROMs.

do I need to flash a appropriate kernel before flashing a rom

I see a lot of ROMS posted list kernels other than mine (NC2). Do I need to flash those kernels prior to flashing those roms or not?
Also, If I want to go back to a NC2 roms will I night to flash that kernel back?
I am confused, please lmk. Thanks!
panxpany said:
I see a lot of ROMS posted list kernels other than mine (NC2). Do I need to flash those kernels prior to flashing those roms or not?
Also, If I want to go back to a NC2 roms will I night to flash that kernel back?
I am confused, please lmk. Thanks!
Click to expand...
Click to collapse
No need to flash kernal.
But, If your developer of Rom said that custom Kernal is required then you should flash custom kernal....
For backing to stock rom you need SP TOOLS (Smart phone tool) & Scatter file.
Every custom Rom does have its own kernel included which works perfectly with it. You don't need to flash any kernel. Just if you want to change the kernel you can change it afterwards. If you want to go back to your rom you have had before, just backup your system folder with twrp for example recovery and then you can restore it back. Hope that helped.

Device not booting up after flashing any Custom Kernel on any Custom ROM

I tried Radon Kernel on Havoc OS, AOSP Extended and Nitrogen OS. I did the same with Franco Kernel on the same ROMs. The device was stuck on MI logo. I waited for some time and yet it didn't boot up.
Here are the steps I followed:
Flashed Custom ROM
Flashed Custom Kernel
Gapps
and Lazy Flasher
Is there something I'm doing wrong here. In the order or anything? I need help!!
(I checked to see if my bootloader got locked but it's fine)
Madhav Nemani said:
I tried Radon Kernel on Havoc OS, AOSP Extended and Nitrogen OS. I did the same with Franco Kernel on the same ROMs. The device was stuck on MI logo. I waited for some time and yet it didn't boot up.
Here are the steps I followed:
Flashed Custom ROM
Flashed Custom Kernel
Gapps
and Lazy Flasher
Is there something I'm doing wrong here. In the order or anything? I need help!!
(I checked to see if my bootloader got locked but it's fine)
Click to expand...
Click to collapse
First Format data(must do)
Then Wipe data reset
Flash rom
Gapps
Reboot
naik2902 said:
First Format data(must do)
Then Wipe data reset
Flash rom
Gapps
Reboot
Click to expand...
Click to collapse
Sorry, I was asking about when I should flash the cutom kernel. I see you didn't mention anything about the kernel in your answer.
Madhav Nemani said:
Sorry, I was asking about when I should flash the cutom kernel. I see you didn't mention anything about the kernel in your answer.
Click to expand...
Click to collapse
Is ur device properly booting on stock kernel without using that lazy flasher ?
naik2902 said:
Is ur device properly booting on stock kernel without using that lazy flasher ?
Click to expand...
Click to collapse
Yes it does. I flash lazy flasher every time I flash a new custom ROM. Should I not flash it when flashing Custom Kernel?

Root, Custom Rom, Kernel and updates

Hi all, at the moment I have the RR custom rom with my OP7Tpro rooted.
How to update the ROM without losing the root permissions?
How to flash a new kernel without breaking everything? (I was trying to figure out what's the best between arter97 and blu_spark)
How to do both things in a row? first the new rom and then the kernel or viceversa?
Thanks in advance
1) https://www.reddit.com/r/oneplus/comments/cnejw1/how_to_apply_ota_updates_on_your_op77_pro_and/ ah sorry you have RR i dont know im on OOS
2) FK kernel manager ( there you can backup you kernel or flash a new one), but arter97 is for OOS and blu_spark i dont know but i think it is the same
3) rom then kernel
ManuelS99 said:
Hi all, at the moment I have the RR custom rom with my OP7Tpro rooted.
How to update the ROM without losing the root permissions?
How to flash a new kernel without breaking everything? (I was trying to figure out what's the best between arter97 and blu_spark)
How to do both things in a row? first the new rom and then the kernel or viceversa?
Thanks in advance
Click to expand...
Click to collapse
(1) Update by following the update instructions on the RR ROM 1st post - then patch the "boot.img" using Magisk --> then use computer to "fastboot flash boot [your Magisk patched boot].img".
(2) RR ROM has own (lineage-based? kernel) - OP doesn't recommend custom kernels as might break some features (arter97 kernel on RR ROM breaks in-screen FP function for e.g).
(3) Usually advised to flash custom ROM then kernel.

Categories

Resources