Help how to do the Root on the Xiaomi Mi 8 device with the MIUI Global Stable!! - Xiaomi Mi 8 Themes, Apps, and Mods

Hi everyone, I am recently registered on this site. from some days I have the desire to do the Root on the miui global stable, it is consequently on my beloved Xiaomi Mi 8, the problem is: when the device is turned off I turn on the device pressing it under volume key + ignition key at the same time to enter in recovery mode, the latter makes me enter in "Official" mode, in the sense that it does not let me enter twrp mode where there are install, settngs, advacend options, backup ... but in the official one with only 3 buttons: wipe , connect to mi account ... So I thought of flashing the twrp via fastboot, I finally entered it, but the problem is that when I go to Install, to install the root, I can't do that, because characters (alphanumeric) appear long and randomly, so I can't identify which folder I put the Magisk on, it appears in both folders and subfolders. somewhere I read to install a zip file called LazyFlasher, to avoid possible blocking at startup, in fact I try before installing this zip file, with various combinations (first rom, then magisk, both rom and magisk, first magisk then rom , first rom that gate at the end the cache then magisk) but all fail, so I am forced to flash through fastboot with the tool I flash, because at every start it always took me back to twrp without the possibility of moving, it seems that the touch does not respond at the user's commands. So I know that this LazyFlasher file causes me to "bypass" this problem, give me confirmation ??. Thank you. PS: so far I haven't managed to install the Magisk root yet, can you give me a hand, maybe the twrp has some problems? or is my device not compatible with this version of twrp ??, I tell you that in the past with the miui global beta it didn't give me this problem. Thank you all

Have you even unlocked your bootloader? If not look for the official Xiaomi tool, it's the only way how you are able to flash twrp and root your phone.

altae said:
Have you even unlocked your bootloader? If not look for the official Xiaomi tool, it's the only way how you are able to flash twrp and root your phone.
Click to expand...
Click to collapse
Thanks for the reply, I solved everything, unlocked BL, installed twrp (no stock) and installed root. but I have a problem, when I installed the root, every time I want to restart the device for a series of reasons (slowness, delete cache, rest ...) it starts in twrp not in the system, so I have to delete everything it's starting again. I heard that the LazyFlasher file makes it possible to remedy this problem, essentially it allows you to bypass the security of android to avoid bootloap, and I hope it also corrects this problem (which when I reboot the device, I want to install a zip file, I it always starts in twrp), but during the flash of this zip (LazyFlasher) I get an error: the Updater process ended with error: 1 Error installing zip '/sdcard/lazyflasher-no-verify-opt-encrypt.zip. Thanks a lot. PS: but this file, lazyflasher should be mounted on an SD card to work ?? I don't have it on my device

Paoloqu24 said:
Thanks for the reply, I solved everything, unlocked BL, installed twrp (no stock) and installed root. but I have a problem, when I installed the root, every time I want to restart the device for a series of reasons (slowness, delete cache, rest ...) it starts in twrp not in the system, so I have to delete everything it's starting again. I heard that the LazyFlasher file makes it possible to remedy this problem, essentially it allows you to bypass the security of android to avoid bootloap, and I hope it also corrects this problem (which when I reboot the device, I want to install a zip file, I it always starts in twrp), but during the flash of this zip (LazyFlasher) I get an error: the Updater process ended with error: 1 Error installing zip '/sdcard/lazyflasher-no-verify-opt-encrypt.zip. Thanks a lot. PS: but this file, lazyflasher should be mounted on an SD card to work ?? I don't have it on my device
Click to expand...
Click to collapse
Flash a DM-Verity No-Encryption ZIP to remove encryption and disable the Verity check. OR if you want to keep encryption and root -flash a 3rd party Kernel like MiPa or Sphinx after Magisk.

Agimax said:
Flash a DM-Verity No-Encryption ZIP to remove encryption and disable the Verity check. OR if you want to keep encryption and root -flash a 3rd party Kernel like MiPa or Sphinx after Magisk.
Click to expand...
Click to collapse
thank you. in the past I flamed DM-Verity No-Encryption ZIP to remove encryption and disable Verity checking. in fact after immediately this zip I put magisk. at the access of the dispay I saw a magisk icon, so it means root installed successfully. but the problem is: when I reboot the device to clear the cache ... or install a module on the magisk, it always starts in twrp, so I have to start all over again. there is a way to keep cryptography and root, without any booting going into twrp but into the system. thank you

Paoloqu24 said:
thank you. in the past I flamed DM-Verity No-Encryption ZIP to remove encryption and disable Verity checking. in fact after immediately this zip I put magisk. at the access of the dispay I saw a magisk icon, so it means root installed successfully. but the problem is: when I reboot the device to clear the cache ... or install a module on the magisk, it always starts in twrp, so I have to start all over again. there is a way to keep cryptography and root, without any booting going into twrp but into the system. thank you
Click to expand...
Click to collapse
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.

As far as I understand, you are having problems while booting into TWRP. You should boot into TWRP right after flashing it, and boot into OS once again and reboot to recovery. It should work. If you see the stock recovery, keep flashing TWRP. If you want to temporarily flash it, use "fastboot boot TWRP.img" command.

The War Profiteer said:
As far as I understand, you can't boot into TWRP. You should boot into TWRP right after flashing it, and boot into OS once again and reboot to recovery. It should work. If you see the stock recovery, keep flashing TWRP. If you want to temporarily flash it, use "fastboot boot TWRP.img" command.
Click to expand...
Click to collapse
No problems booting into TWRP.
You can use "fastboot.exe flash recovery twrp.img"
Then reboot phone and hold volume-up+power. When booting until TWRP appears. If you miss it and it tries to boot it will overwrite it. But I've never had issues otherwise.

Agimax said:
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.
Click to expand...
Click to collapse
Thanks for the reply. I will choose the first option, I replace the stock kernel with sphinx kerne, so I get more functionality, battery life, performance, fluidity ... also the developer has mentioned us, if any desired functionality is missing in this kernel, it is possible ask the developer to add us. so I choose the first option, I have some questions before replacing the stock kernel: 1) is it possible to restore the kernel stock, in case of problem, if yes, where can I get the kernel for Mi 8? 2) if in the future there will be a new update of sphinx kerne, how do I understand if a new update has been released? will you notify me ?? 3) are you sure that after these steps, upon restarting the phone, I will find the root installed ?, if I would like to restart the device, it will not boot in twrp but in the system, because I replaced the stock kernel, the same thing is also valid for the magisk modules, zip files ... 4) the last fundamental thing, will I receive updates via OTA ?? if not, is there a way to install future updates (I would like to try the latest magisk version, 19.3) ?. 5) it is safe if I install update via ota, it does not start in twrp, but system. 6) the steps to do are, flash twrp custom via fastboot, I choose to delete the memory, restart twrp, copy the files (MIUI global stable, sphinx kernel, dm-verify), flash rom, flash dm-verify, flash magisk, flash kernel, device reboot, all right. Thanks a lot for the questions

Agimax said:
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.
Click to expand...
Click to collapse
I get an error during the installation of sphinx: the Updater process ended with error: 1 Error installing zip '/sdcard/sphinx.zip

Agimax said:
You shouldn't have these problems:
Flash ROM and Keep Encryption:
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'DM-Verity' file is the ONLY thing the file is named. The filename triggers what is installed during flash)
Flash MAGISK
Flash 3rd Party Kernel (I prefer MiPa or Sphinx found in other threads)
Reboot and enjoy!
Flash ROM and REMOVE Encryption: (Keeps Stock Kernel)
Flash TWRP
Boot into TWRP and flash MIUI ROM
Flash TWRP again (select flash image, then select recovery partition, then select recovery file)
Flash DM-Verity ZIP here-->: DM-Verity (Make sure 'verity' AND 'forceencryp' is in the file name. The filename triggers what is installed during flash)
Reboot and enjoy!
If you have problems with any of them, you might need to format internal storage first (where you have to answer 'yes' in TWRP)
/.
Click to expand...
Click to collapse
both methods don't work, the first one gives me error when I install kernel, the second one on startup gives me a lot of error

I managed to install the root, doing the following steps: flash twrp via fastboot, copy the files to the internal memory, install rom files, install magisk files, install dm-verify, then reboot, and it works perfectly. but I have some problems: when I reboot the device, it starts in twrp not in the system, and therefore I am forced to do it again. help me !! kernel replacement gives me error, both

Paoloqu24 said:
I managed to install the root, doing the following steps: flash twrp via fastboot, copy the files to the internal memory, install rom files, install magisk files, install dm-verify, then reboot, and it works perfectly. but I have some problems: when I reboot the device, it starts in twrp not in the system, and therefore I am forced to do it again. help me !! kernel replacement gives me error, both
Click to expand...
Click to collapse
You should not have errors flashing a kernel. Maybe you should flash all partition images from fastboot. Or maybe wrong recovery? What version are you using?

Agimax said:
You should not have errors flashing a kernel. Maybe you should flash all partition images from fastboot. Or maybe wrong recovery? What version are you using?
Click to expand...
Click to collapse
the kernel is: Sphinx-v2.9

Paoloqu24 said:
the kernel is: Sphinx-v2.9
Click to expand...
Click to collapse
I mean what version of recovery. You should use this one (v3.3.1) or newer: https://www.androidfilehost.com/?fid=3556969557455275724
It's from this thread: https://forum.xda-developers.com/mi-8/development/recovery-unofficial-twrp-recovery-t3893823

Agimax said:
I mean what version of recovery. You should use this one (v3.3.1) or newer: https://www.androidfilehost.com/?fid=3556969557455275724
It's from this thread: https://forum.xda-developers.com/mi-8/development/recovery-unofficial-twrp-recovery-t3893823
Click to expand...
Click to collapse
TWRP 3.3.1.1 https://eu.dl.twrp.me/dipper/

I followed in this guide "https://clk.ink/7q4SUR" but instead of installing Disable_Dm-Verity_FEC_v1.1.zip I downloaded Disable_Dm-Verity_ForceEncrypt_09.02.2018.zip, is it the same ?, also I saw that, when I go inside the magisk, and I click on uninstall> restore image, a warning appears "there is no original boot image", I also executed this command in powershell "fastboot getvar current-slot" but I get a "GetVar Variable Not found" error. I don't know how to solve. thank you

Related

Rooting officially unlocked Redmi note 3 kenzo

in every forum ,about rooting rn3 pro i got only that i have to flash cracked boot.img or ubp zip after flashing supersu.zip.are they outdated.cant we do direct flash supersu zip directly using alka/cofface recovery or i have to use diseable verify option in recovery advanced menu.very messy please help me
Camlin3 said:
in every forum ,about rooting rn3 pro i got only that i have to flash cracked boot.img or ubp zip after flashing supersu.zip.are they outdated.cant we do direct flash supersu zip directly using alka/cofface recovery or i have to use diseable verify option in recovery advanced menu.very messy please help me
Click to expand...
Click to collapse
Simple steps:
1. Go in fastboot mode.
2. Flash official twrp.
3. Boot in recovery.
4. Flash supersu zip.
5. Reboot your phone.
And yeah, allow modification to system partition when asked in recovery. The only downside of the official recovery is that it will be replaced by the stock recovery on boot. No prob, you can flash it again. No need to flash custom cooked boot image or something.
To keep recovery forever:
In system partition, there will be a file next to build.prop, named something like recovery-boot-bak or something, delete it and then flash twrp and this time it will stay.
Archit9169 said:
Simple steps:
1. Go in fastboot mode.
2. Flash official twrp.
3. Boot in recovery.
4. Flash supersu zip.
5. Reboot your phone.
And yeah, allow modification to system partition when asked in recovery. The only downside of the official recovery is that it will be replaced by the stock recovery on boot. No prob, you can flash it again. No need to flash custom cooked boot image or something.
To keep recovery forever:
In system partition, there will be a file next to build.prop, named something like recovery-boot-bak or something, delete it and then flash twrp and this time it will stay.
Click to expand...
Click to collapse
After flashing for ex. Resurrection Remix (or any other custom rom) the device asks whether it should leave an old recovery or not. Flashing official miui zip doesn't touch the recovery at all.
So it's not necessary to delete any files (regarding my experience).
Sent from Note 3, Xiaomi Redmi Note 3.

Some root questions

I want to root my poco f1 ....
But i have some questions regarding it
1. Will my data be format while rooting and installing twrp
2. How i will get ota update
3. Will installing ota update also format my data?
1. Your whole internal data needs to be wiped... To flash the force decryption enabler at first...
Even while installing twrp via fastboot.. Your data will be formated
2. You will get updates... But not via ota.... Yes you will get to download the updateds in some roms... But you need to dirty flash them.
3. While dirty flashing.... Formatting data is not required.
roxor101 said:
1. Your whole internal data needs to be wiped... To flash the force decryption enabler at first...
Even while installing twrp via fastboot.. Your data will be formated
2. You will get updates... But not via ota.... Yes you will get to download the updateds in some roms... But you need to dirty flash them.
3. While dirty flashing.... Formatting data is not required.
Click to expand...
Click to collapse
Does the twrp with working decryption also need to format my data?
You can root your device in two ways.
First, with twrp (OTA won't work afterwards)
Second, without twrp (OTA will work)
First method, unlock the bootloader (device will be wiped)>Grab the twrp with working decryption>Boot your device into fastboot and type fastboot flash recovery twrp.img (or whatever the recovery image name is)>Now type fastboot boot twrp.img (or whatever the recovery image name is)>Once booted into twrp, swipe to allow modification>Now download Magisk installer and copy into the device>Flash it?Reboot to system>Profit.
N.B. After flashing twrp, make sure to first boot into twrp before booting into system or else device will restore stock recovery. If you need to update in future, just grab the twrp flashable update package and flash it. That's it. No need for OTA.
Second method, this will also require an unlocked bootloader. Once the bootloader is unlocked, get the stock boot image of your current software (e.g. if you are on miui 10 with October security patch, make sure to grab the stock boot image for miui 10 october). Now install Magisk manager apk in your device. Now open magisk manager and go to install. You will find an option for patching stock boot image. Click on it and select the stock boot image. Magisk will patch the boot image and will place it in your internal memory. Now boot into fastboot mode and type fastboot boot patched_boot.img (or whatever the name is). Once device is booted into system, go to Magisk and click on Install>Direct install (recommended).Magisk will get flashed by itself and reboot. Once rebooted, go to Magisk manager and check. If you do everything correctly, you are rooted.
N.B. When you get an OTA update, open Magisk and go to Unsinatll and click on "Complete uninstall". It will uninstall magisk and revert your stock boot image back. Note that, if you play witgh system partition like modifying build.prop or change host file or bootanimantion or any such thing, you won't be able to get any further OTA update. In that case, you need to flash the complete fastboot rom through MiFlash tool.
For more information, please go to Magisk thread or search online.

*Urgent* Need clarifications regarding the flashing of TWRP recovery & custom ROMs

*Urgent* Need clarifications regarding the flashing of TWRP recovery & custom ROMs
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:.
Click to expand...
Click to collapse
i'm no expert and i'm fairly new to flashing if you're kind enough to read it here's my 2cents.
1) I believe it is necessary to flash with that command & have TWRP as your custom recovery , it is packed with powerful tools. so i don't see a problem not wanting it permanently and it saves you the hassle of flashing it again when changing roms , fixes,etc..
2) Yes , you need to flash the DFE so you won't encounter any errors in TWRP later.
3) " Dalvilk/ART cache, Data, System, Cache " this should be okay , no need to flash everything. for best practices do a factory wipe in TWRP and in advanced mode wipe those 4. make sure to create a backup in-case something goes wrong.
4) I haven't tried this yet , but it seems not doable as you need permission in the phone for the default USB connection toggle if it's in data transfer mode , usb debuggin , charging etc. best is boot your phone then do the transfer in file manager.
5) Yes it is safe since OTG is another form of External Data devices such as SD Card , etc.
6) No it wouldn't affect the rom functionality since rom and recovery is two different thing.. but still , to avoide future mishaps stick with TWRP
you can check this helpful link by madsponge26 : https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
imegsp said:
I want to flash a custom ROM (Pixel Experience Plus) on my Poco/Pocophone F1.
It would be of great help if I get clarifications regarding the following:
1. After unlocking the bootloader, is it necessary to flash TWRP recovery using 'fastboot flash recovery' cmd command, to flash a custom ROM? Or can TWRP recovery just be booted by using the 'fastboot boot' cmd command & then flash the ROM? (This is because I'd prefer to flash a custom ROM without permanently flashing TWRP recovery, I want TWRP temporarily)
2. In case if it's necessary to flash TWRP using 'fastboot flash recovery' cmd command, then do I have to flash DFE (Disable Force Encryption). Can I skip flashing DFE? (Because I don't want to flash DFE & want TWRP temporarily)
3. I want a clean install of the custom ROM. So, can I wipe Dalvilk/ART cache, Data, System, Cache, Internal Storage, SDCard? i.e. everything except, USBOTG (Because, the custom ROM & firmware ZIP files are stored in it & I'll flash them from USB OTG device).
Would this type of wiping affect the TWRP recovery?
4. After wiping everything except USBOTG, can the custom ROM & firmware ZIP files be transferred into the phone's internal storage by connecting it to the PC, while in TWRP recovery?
5. Is it safe to flash the ZIP files from a USB OTG device?
6. As I already mentioned that I want TWRP temporarily (If it's possible). After flashing the firmware & custom ROM. If the recovery is still a stock Mi recovery. Would it affect the functioning of the custom ROM in any way?
If all of the above can be done, is this one of the proper way to flash/boot TWRP recovery & flash a custom ROM? If not, please guide me accordingly.
Click to expand...
Click to collapse
1. if you always want to depend on PC to trigger your Poco in to recovery then use command "fastboot boot recovery.img", otherwise lets say you are on the move and got pixel update! you can simply download it , and flash it in 15 mins on the go , so mainly its upto you . from security point of view, yes its not good to have twrp flashedi n your /recovery , anyone can boot and do harm! , so its a judgement call for you...
2. again upto you, DFE wont interfere/confilt with either rom or twrp
3. android device have various paritition wiping "/system" & "/data" (user setting and apps & appdata) is ENOUGH and called CLEAN FLASHING in various threads of custom roms. you don't have to wipe internal storage!!! you will lose you data... BUT YES if you get encryption error then you must click "FORMAT DATA" button on twrp in order to make storage usable/accessable to twrp. this FORMAT DATA will format your /data /system and /internalStorage partitions and you will delete all your data! then you can flash custom rom of your choice from scratch
4. you don't get access of TWRP FILEMANAGER via fastboot commands from pc, BUT you can do similar by enableing TWRP SIDELOAD option under settings, this adb sideload is a mode listening for new incoming file to flash! if you side load pixelrom.zip from fastboot command while your twrp has active sideload waiting, fastboot will start sending the file and twrp will wait and as soon as the transmit is completed! the file will automatically be flashed!. ,
however you can put files in usbotg drive or combo drive and using file manager in twrp move files from HERE to THERE!
5. I always do it!, but make sure the connection is not faulty!!! otherwise high chances of incomplete flashing and I lost my redmi3i due to impcomplete flashing of stable rom! (bricked)
6. no it wont affect! infact you can even keep the /recovery partition blank! ( fastboot erase recovery).
for MIUI FLASHING/ROOTING / Disabling force encryption etc , this post is king
https://forum.xda-developers.com/poco-f1/how-to/xiaomi-poco-f1-unlock-bootloader-custom-t3839405
I am on HAVOC2.8 and this is how i did it
1. flashed TWRP 3.3.1 unofficial (download it from HERE ) ref Reference - as official twrp has TOUCH driver issues. this one worked with me very well
2. I wiped /data, /system then
3. flashed VENDOR.zip from HERE
4. FLASHED CUSTOM ROM (i use HAVOC2.8)
5. FLASHED DFE HERE - REFERENCE
6. FLASHED GOOGLE APPS ( GAPPS.ORG) ( ARM64>9.0MicroPackage)
7. Flash Optimus Drunk Kernel ( OPTIONAL- havoc uses shadow kernel , i feel OD kernel is better, battery and 4g connectivity)
8. FLASHING MAGISK19.3
9. when i was on havoc2.7, by using MIGRATE, it made flashable zip of my APPS+DATA, stored in internalStorage, and now I will FLASH that file., Mine size goes to 2gb you can get it from HERE
10. WIPE CACHE/DELVIK
11. REBOOT
fire reboot may go in to bootloop and then second reboot may take a while and finally you should see Pixel Setup asking google accounts and info etc
once after you finish setup! don't RESTORE APPS from PLAYSTORE, (download only license apk, in my case I have purchases many apps from playstore and saperate license info is always appear in intial setup! SELECT THOSE ONLY)
ONCE playstore is DONE downloading all your selected (fewer) apps, and MAGISK ROOT is working...... put device on AIRPLANE MODE
FROM DROP DOWN Notification panel, CLICK MIGRATE, and it will prompt you what do you wana restore from your previouce ROM to newly flashed HAVOC ..APPS+SETTINGS+PERMISSION+DATA etc - migrate restoration may take upto 30 mins,
once done, uninstall from system and reboot device!
REMEMBER I DONOT RECOMEND MIGRATE TRICK FOR WHATSAPP, it doesn't work properly and NOTIFICATION ISSUES with BLANK DP observed by me whenever I forcely re-instated whatsapp by migrate!

Can't install TWRP properly.

Hey guys. I'm trying to root my device using TWRP and magisk, and so far nothing seems to be right. The custom recovery keeps reverting back to stock recovery. And even if i flash it again it doesn't detect my internal storage.
I also flashed that decrypt(pie).zip file.
I unlocked my bootloader using the official tool if it matters. Any help is appreciated. Thanks.
Here are some advice for you:
1.You shold reboot into twrp in first reboot,
CUSTOM RECOVERY WILL BE WIPE during stock flimware is booting(the "Zenfone" with four dots screen).
2.Flash Magisk20.3 or newer version.
3.Official twrp cannot read encrypted data pratition, AsusDecryption(Pie).zip maybe only can disable stock forceencrypt.
4.The method I use:
Boot into fastboot->Flash TWRP (via computer)->Boot into TWRP->Keep System Read only->Flash Magisk zip file->Reboot into system->Install Magisk Manger->Let Magisk recover itself and reboot->Done
(Wish you can understand my terrible English)
wang1024 said:
Here are some advice for you:
1.You shold reboot into twrp in first reboot,
CUSTOM RECOVERY WILL BE WIPE during stock flimware is booting(the "Zenfone" with four dots screen).
2.Flash Magisk20.3 or newer version.
3.Official twrp cannot read encrypted data pratition, AsusDecryption(Pie).zip maybe only can disable stock forceencrypt.
4.The method I use:
Boot into fastboot->Flash TWRP (via computer)->Boot into TWRP->Keep System Read only->Flash Magisk zip file->Reboot into system->Install Magisk Manger->Let Magisk recover itself and reboot->Done
(Wish you can understand my terrible English)
Click to expand...
Click to collapse
Thank you. Flashing the Disable encryption zip file fixed the issue. So far TWRP is still there.

Question How to install TWRP permanently for Redmi Note 10 (sunny)?

I am having a tough time installing TWRP on (sunny) as I am not used to A/B partitioned devices. The stock recovery is replaced every time once I boot back to system. I have been using fastboot to get the custom recovery. It would be helpful if someone could tell how to get it installed permanently as there is no recovery partition in A/B devices. There was no option for Recovery Ramdisk in TWRP.
Thank You
If you change the boot.img, the recovery is automatically changed. There is no other way.
The boot.img includes the recovery. This is the reason.
So is there no way to get recovery without altering the boot?
Once you install the ROM via TWRP, I believe you need to go to Advanced > Install Recovery Ramdisk > flash the TWRP image file from microSD.
I haven't gotten to test this myself since I am still waiting for the bootloader unlock, others can confirm if it is the case or if I said something false.
Alternatively, I think crDroid dev for this phone bundles it with TWRP... actually, I think dev dropped it in latest release.
syntheticdingo said:
Once you install the ROM via TWRP, I believe you need to go to Advanced > Install Recovery Ramdisk > flash the TWRP image file from microSD.
I haven't gotten to test this myself since I am still waiting for the bootloader unlock, others can confirm if it is the case or if I said something false.
Alternatively, I think crDroid dev for this phone bundles it with TWRP... actually, I think dev dropped it in latest release.
Click to expand...
Click to collapse
I am using an unofficial twrp and it is not having Install ramdisk option.
Unofficial Twrp 3.5.1 Sunny
1) Installing boot.img changes the recovery to the one it contains.
2) You can change the recovery by subsequently installing recovery on the ramdisk.
But whenever I flash the boot.img again, the recovery changes again.
Even version 3.5.1 of TWRP includes a ramdisk installation feature. Look for it in "Advanced".
StaryMuz said:
1) Installing boot.img changes the recovery to the one it contains.
2) You can change the recovery by subsequently installing recovery on the ramdisk.
But whenever I flash the boot.img again, the recovery changes again.
Even version 3.5.1 of TWRP includes a ramdisk installation feature. Look for it in "Advanced".
Click to expand...
Click to collapse
As I said before that option isn't available in the Advanced option despite me looking for it.
EDIT: I used a different recovery.img TWRP 3.5.2 for sunny, and it had the option. I am linking it here so you can use it.

Categories

Resources