custom kernel - Xiaomi Mi A1 Questions & Answers

I don't know how to flash a custom kernel can anyone tell me how it is done (In this phone only I.e mi a1)

Custom rom 243 said:
I don't know how to flash a custom kernel can anyone tell me how it is done (In this phone only I.e mi a1)
Click to expand...
Click to collapse
Download the kernel
Boot into twrp
Flash kernel in twrp
Flash magisk (in stock rom)
Reboot

varben said:
Download the kernel
Boot into twrp
Flash kernel in twrp
Flash magisk (in stock rom)
Reboot
Click to expand...
Click to collapse
How to do it in custom rom?

Custom rom 243 said:
How to do it in custom rom?
Click to expand...
Click to collapse
Skip magisk if you don't want root.

varben said:
Skip magisk if you don't want root.
Click to expand...
Click to collapse
If i want to flash custom kernel have to root needed? Magisk is have to installed?

no1golfboy said:
If i want to flash custom kernel have to root needed? Magisk is have to installed?
Click to expand...
Click to collapse
Depends on the kernel. Read the guide of the kernel developer.

Related

[Q] Android newbie question

hi all,
new at android, migrating from apple.
i Have Galaxy S4 (i9500)
after i'm using CF-Auto-Root (Chainfire)
on Stock ROM Can i flash custom Rom ???
and what happen to root privileges ???
do i need to root again ???
tnx
nls4ever said:
hi all,
new at android, migrating from apple.
i Have Galaxy S4 (i9500)
after i'm using CF-Auto-Root (Chainfire)
on Stock ROM Can i flash custom Rom ???
and what happen to root privileges ???
do i need to root again ???
tnx
Click to expand...
Click to collapse
Just flash. All custom ROMs have root.
Btw, you need a custom recovery to flash a ROM (like TWRP, CWM)
kingzain900 said:
Just flash. All custom ROMs have root.
Btw, you need a custom recovery to flash a ROM (like TWRP, CWM)
Click to expand...
Click to collapse
ok, but the first time i move to custom rom i need to root, right ???
nls4ever said:
ok, but the first time i move to custom rom i need to root, right ???
Click to expand...
Click to collapse
Not necessarily. You can flash a custom recovery through Odin and not root it at all and then just install a already rooted ROM.
kingzain900 said:
Not necessarily. You can flash a custom recovery through Odin and not root it at all and then just install a already rooted ROM.
Click to expand...
Click to collapse
which custom recovery you recommend ???
nls4ever said:
which custom recovery you recommend ???
Click to expand...
Click to collapse
CWM is always reliable. Some prefer TWRP. I'm using Philz Touch. It depends on your preferences. CWM is the most stable.

[Q] Is Rooting and flashing a custom ROM the same thing?

The title is basically my question, but to elaborate: Do I need to do an initial process before flashing a custom ROM or does flashing a custom ROM form part of rooting?
you need root to flash a custom rom.
you can say root is only a doorway to customization.
khantastic said:
you need root to flash a custom rom.
you can say root is only a doorway to customization.
Click to expand...
Click to collapse
Incorrect. You don't need root to flash a custom rom.
You need a custom recovery to flash rom. You don't need root for that.
Lennyz1988 said:
Incorrect. You don't need root to flash a custom rom.
You need a custom recovery to flash rom. You don't need root for that.
Click to expand...
Click to collapse
But is it possible to flash a custom recovery without root?
LironImaN said:
But is it possible to flash a custom recovery without root?
Click to expand...
Click to collapse
Yes it is, but you will lose your warranty anyway, it's not important if you got root or not

[Q] Am I doing it right?

H!i Can someone tell me if I'm doing it right?
Ahmm I want to root and flash a rom on my note 3 sm-n9005
can you guys tell me if my sequence are correct
1st: ROOT my phone
2nd: Flash a RECOVERY
3rd: Flash a CUSTOM ROM
and lastly Flash a KERNEL
I'd really appreciate your feedbacks!
Thank you so much!!
thirdempire said:
H!i Can someone tell me if I'm doing it right?
Ahmm I want to root and flash a rom on my note 3 sm-n9005
can you guys tell me if my sequence are correct
1st: ROOT my phone
2nd: Flash a RECOVERY
3rd: Flash a CUSTOM ROM
and lastly Flash a KERNEL
I'd really appreciate your feedbacks!
Thank you so much!!
Click to expand...
Click to collapse
Root is not necessary as many custom rom come with pre-rooted.
The sequence should be:
1- Flash a RECOVERY
2- Flash a CUSTOM ROM
3- ROOT my phone (optional, depending on ROM)
4- and lastly Flash a KERNEL
vndnguyen said:
Root is not necessary as many custom rom come with pre-rooted.
The sequence should be:
1- Flash a RECOVERY
2- Flash a CUSTOM ROM
3- ROOT my phone (optional, depending on ROM)
4- and lastly Flash a KERNEL
Click to expand...
Click to collapse
THANK YOU! This helps a lot..
Ahmm can I ask one more question..
Is it okay if ill replace the kernel of a custom rom into a different kernel?
Ex. I have this ROM(gummyrom) which has it's own Kernel, then i downloaded 'Lean Kernel' is it okay just to replace the kernel of 'GummyRom' into 'Lean Kernel'?
thirdempire said:
THANK YOU! This helps a lot..
Ahmm can I ask one more question..
Is it okay if ill replace the kernel of a custom rom into a different kernel?
Ex. I have this ROM(gummyrom) which has it's own Kernel, then i downloaded 'Lean Kernel' is it okay just to replace the kernel of 'GummyRom' into 'Lean Kernel'?
Click to expand...
Click to collapse
Sorry I cannot answer to this question.
You should consult in the supporting thread of the specific rom/kernel.
vndnguyen said:
Sorry I cannot answer to this question.
You should consult in the supporting thread of the specific rom/kernel.
Click to expand...
Click to collapse
Alright, thanks tho!

Want to change my kernel without wiping?

I'm currently on Franco Kernel but want to change to ElementalX kernel.
I've read that you can't just install the new kernel over the old kernel is that true?
Will I need to do wipe my device in order to install?
It's recommended to dirty flash stock or your rom, depending on what you use. No need to wipe anything.
Regards,
JoKe_42 said:
It's recommended to dirty flash stock or your rom, depending on what you use. No need to wipe anything.
Regards,
Click to expand...
Click to collapse
I'm not using any ROM just the Franco kernel.... so I should just flash over Franco with ElementalX kernel?
Newerabs said:
I'm not using any ROM just the Franco kernel.... so I should just flash over Franco with ElementalX kernel?
Click to expand...
Click to collapse
Flash a stock boot.img (which is the stock kernel) first then flash SuperSU if you want root, then flash elemental.

TWRP Install S7 Edge Android 7.0

What About no-verity-opt-encrypt ???
What exactly are you asking?
Tareq.tfn said:
What About no-verity-opt-encrypt ???
Click to expand...
Click to collapse
I believe some custom roms require flashing that, but I just rooted and installed twrp.
If flashing SupermanRom, then you need to install no_verity_opt_encrypt before flashing ROM.
Bjaped said:
I believe some custom roms require flashing that, but I just rooted and installed twrp.
If flashing SupermanRom, then you need to install no_verity_opt_encrypt before flashing ROM.
Click to expand...
Click to collapse
Thank's
I want to install Offical Android 7 then Install TWRP so i ask about (no_verity_opt_encrypt)
Bjaped said:
I believe some custom roms require flashing that, but I just rooted and installed twrp.
If flashing SupermanRom, then you need to install no_verity_opt_encrypt before flashing ROM.
Click to expand...
Click to collapse
Not really. It was just required for kernels with non disabled encryption but eventually it was integrated into SuperSU and now with sources we have non encrypted kernels. And why before flashing the rom?
Tareq.tfn said:
Thank's
I want to install Offical Android 7 then Install TWRP so i ask about (no_verity_opt_encrypt)
Click to expand...
Click to collapse
You don't need it anymore, as we have kernel sources and You can download any rom and it will be working without encryption.
Tareq.tfn said:
Thank's
I want to install Offical Android 7 then Install TWRP so i ask about (no_verity_opt_encrypt)
Click to expand...
Click to collapse
If it's not a custom rom then yes you will need to flash no verity zip unless you plan to root in which you can flash supersu which includes no verity.

Categories

Resources