Root, Custom Rom, Kernel and updates - OnePlus 7T Pro (Regular & McLaren) Q & A

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.

Related

How best to flash Lineage Os 14.1 by TheStrix with Radon, Magisk, and stuff

Hey guys, I want to switch to LOS14.1 by TheStrix, because it is now stable and bug-free.
There are some other things i want to flash too, so I just wanted to clear things up a bit.
I want to flash radon kernel, Arise sound mod, and magisk, because apparently magisk will allow me to use banking apps.
From referring to other people on the forum, i have the following:
1)Flash CM14 Firmware
2)Flash ROM
3)Flash GAPPS
4)Flash Radon Kernel
5)Reboot and setup phone
6)Flash magisk
7)Enable hide root
8)Flash Arise sound mod with arise magisk compatibility module.
So I have some questions regarding this procedure.
Do I have to flash supersu before flashing Magisk?
Is it worth it to switch data and cache to F2FS?
Do I need to switch recoveries to do this?
Is this the right order to flash the ROM and accompanying zips?
I am using the snapdragon redmi note 3 with fpc fingerprint sensor.
I have an officially unlocked bootloader.
I am currently on RR_MM official.
I would test it out myself, but i'm in college, so i don't really have time to do that.
If anyone would share their experiences or give me some pointers, it would be much appreciated.
No you must switch to RR n
[email protected] said:
No you must switch to RR n
Click to expand...
Click to collapse
Why is it a must to switch to rr n over los?
I actually don't really mind using either ROM, but I wanted to test out LOS for a while.
No its laggy too much
what i just did in the beginning was to wipe everything except the external sd card.
i would suggest to run the rom the rom first time without new kernel. i just updated my RR Nougat to todays release and wanted to flash radon just ahead, had some errors in recovery doing so. did a reboot, new rom was there but no radon. again flashing within recovery and no problems. with arise i have no clue, i dont use it
Quote from the Radon kernel v4.3 changelog, applicable to your step 4, 5 and 6.
Umang96 said:
If your rom uses magisk root, then don't flash radon immediately after rom, first boot to system once.
Click to expand...
Click to collapse

Flashing over custom kernel

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.

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?

I got a stupid doubt

Hi I'm new to this flashing stuff , earlier I tried and flashed some roms , now I'm on poco but I can't understand what is this firmware and vendor flashing thing ? I'm on pixel experience and I want to try a Rom and in the thread the Dev said to flash firmware and vendor but no links to download them ! Can anyone help me please ?
as @dalyer replied here
You're using the term firmware wrong.
Stock MIUI comprises several bits.
E.g. recovery, kernel, vendor, firmware, os proper etc
Custom ROMs usually use twrp as the recovery and comprise kernel and OS proper but still need the xiaomi vendor and firmware.
Many recent custom ROMs now bundle their own version of the vendor.
But they still require the firmware which provides access to the low level hardware - e.g. modems, radio interface layer RIL etc.
Click to expand...
Click to collapse
this is the vendor+firmare collection by Akhil
https://mirror.akhilnarang.me/MIUI/beryllium/
9.6.27-9.0 is the most popular one!
before July2019, all custom roms were Vendor dependent! but now like Pixel, all roms have their own vendor but still need firmware from the above link to be flashed saperately
1. flash firmware in twrp
2. Flash new rom (lets say CR DROID / or AOSIP etc_)
3. flash GAPPS (pixel has gapps included but other roms don't have ! (gapps.org)
4. flash kernel (optional) (i use Franco kernel)
5. flash DFE (disable force encryption treble) - if you don't wana get locked out while trying different rom!
6. flash Magisk 19.4
7. Reboot!
YasuHamed said:
as @dalyer replied here
this is the vendor+firmare collection by Akhil
https://mirror.akhilnarang.me/MIUI/beryllium/
9.6.27-9.0 is the most popular one!
before July2019, all custom roms were Vendor dependent! but now like Pixel, all roms have their own vendor but still need firmware from the above link to be flashed saperately
1. flash firmware in twrp
2. Flash new rom (lets say CR DROID / or AOSIP etc_)
3. flash GAPPS (pixel has gapps included but other roms don't have ! (gapps.org)
4. flash kernel (optional) (i use Franco kernel)
5. flash DFE (disable force encryption treble) - if you don't wana get locked out while trying different rom!
6. flash Magisk 19.4
7. Reboot!
Click to expand...
Click to collapse
Ok gotcha! Thanks brother
@ sanjay sahu said:
Ok gotcha! Thanks brother
Click to expand...
Click to collapse
Alternate site for vendor/firmware file: https://drive.google.com/drive/mobile/folders/1zGc3v1ahsN2dpkPppNAJJMDHKl8jnQmj

Android 10 Kernel with Wireguard module

There are no Android 10 Kernel threads that I could find, so i want to know if there are any kernels for Android 10 (Currently using the Bliss ROM) that have the Wireguard kernel module ?
Yoda007 said:
There are no Android 10 Kernel threads that I could find, so i want to know if there are any kernels for Android 10 (Currently using the Bliss ROM) that have the Wireguard kernel module ?
Click to expand...
Click to collapse
? KalinaNegev: Continuum Turbulence 2 - Kernel
? Redmi Note 3 Pro (Kenzo)
? By MocaRafee
? 24/03/2020
? Changelog:
* Added back WireGuard Support
* Added some optimization to the Audio
* Overclocked CPU and GPU DDR to 1296MHz and BIMC to 648MHz for the OCed variant
Big thanks to @Krittin for the Overclocked DDR & BIMC
? Additional Info:
* Support AOSP (Nougat, Oreo, Pie, Ten)
? Notes:
* Available 4 version: Normal, Normal with JackFix, OC, and OC with JackFix.
* Some notes about additional optimization based on experience. READ HERE.
Download Link:
MOD EDIT: Link Removed
? Subscribe: nTu21 ?
#kalinanegev #kernel #kenzo
Thanks, the kernel module option is now available in the Wireguard app, but unfortunately is not working - when i click to enable it it tries but does not work. So if you encounter another kernel that supports it in the future, please post the link here.
Yoda007 said:
Thanks, the kernel module option is now available in the Wireguard app, but unfortunately is not working - when i click to enable it it tries but does not work. So if you encounter another kernel that supports it in the future, please post the link here.
Click to expand...
Click to collapse
Try this
Elindir kernel
https://github.com/androbada525/Eli...4/Elindir-v4-60Hz-kenzo-22032020-05.47.08.zip
Note:
Never flash custom kernel over another custom kernel.
Always dirty flash the current rom zip first .
before flashing this kernel. Dirty flash ur current rom zip To restore stock kernel.
Then flash this kernel and wipe cachedalvik.
Thank you! Will try next week (tried the v4 Elindir with no success but did it over another custom kernel, so need to try again over stock ROMs) since before i was trying different kernels i did a nandroid backup, flashed a kernel, then restored the nandroid backup. After restoring a nandroid backup i got a bootloop and had to return to an Android 9 backup., and i am not in the mood to set up my phone again this weekend. Your way (dirty flashing of rom to get old kernel back) sounds much faster heh.
BTW: Is the nandroid backup not working a specific ROM issue (Bliss) or does it happen with all Android 10 ROMS ? I have the latest 3.3.1 official TWRP.
Yoda007 said:
Thank you! Will try next week (tried the v4 Elindir with no success but did it over another custom kernel, so need to try again over stock ROMs) since before i was trying different kernels i did a nandroid backup, flashed a kernel, then restored the nandroid backup. After restoring a nandroid backup i got a bootloop and had to return to an Android 9 backup., and i am not in the mood to set up my phone again this weekend. Your way (dirty flashing of rom to get old kernel back) sounds much faster heh.
BTW: Is the nandroid backup not working a specific ROM issue (Bliss) or does it happen with all Android 10 ROMS ? I have the latest 3.3.1 official TWRP.
Click to expand...
Click to collapse
Stay on android 9 . 10 roms got issues with flashing procedure.
To flash Most of the 10 roms u need to strictly follow
Wipe all, format data, reboot to recovery again , install rom and gapps. Only then 10 will boot.
Even before restoring nandroid u need to do format data command.
They say its happens coz of broken installation script on 10.
Android 9 flashing instruction is very simple.
Factory reset
Install rom and gapps
Reboot.
Now encryption on 10 is fixed in latest havoc, syberia.
I m waiting for bliss to fix it.
Black_Stark said:
Note:
Never flash custom kernel over another custom kernel.
Always dirty flash the current rom zip first .
before flashing this kernel. Dirty flash ur current rom zip To restore stock kernel.
Then flash a kernel and wipe cachedalvik.
Click to expand...
Click to collapse
Or you can just backup the existing boot.img and reflash if needed? No? Also there's this twrp flashable module by AnggaSync which cleans the boot.img for flashing a kernel.

Categories

Resources