So here's what I did to cause my phone to get stuck on the logo screen:
1. Unlocked my phone using the Mi Unlock
2. Used ADB to install twrp-3.3.1-0-nitrogen
3. I couldn't mount my Data or SD Card folders due to encryption, so someone told me to use TWRP to format data, which I did. It didn't boot up after that.
I've tried the following fixes:
1. TWRP > Advanced Wipe > Cache / Data / Internal Storage / System
2. TWRP > Install > MIUI 11 V11.0.2.0.PEDCNXM
3. TWRP > Install > MIUI 11 V11.0.3.0.PEDCNXM
4. TWRP > Install > Magisk-v20.4
No luck, still stuck on boot. Anyone kind enough to please help?
I had the same problem when I backed up the global rom with OrangeFox and restarted the system without installing anything.
The following procedure worked for me.
User the latest version of TWRP 3.3.1 do not use OrangeFox
1. First you must remove the encryption, Wipe> Format Data, confirm by typing "yes"
2. Advanced Wipe and clean Dalvik, Cache, Data, System and Vendor.
3. Then proceed with the installation.
In my case I installed xiaomi.eu_multi_MIMAX3_V11.0.2.0.QEDCNXM_v11-10
Hope this helps!
irinho said:
I had the same problem when I backed up the global rom with OrangeFox and restarted the system without installing anything.
The following procedure worked for me.
User the latest version of TWRP 3.3.1 do not use OrangeFox
1. First you must remove the encryption, Wipe> Format Data, confirm by typing "yes"
2. Advanced Wipe and clean Dalvik, Cache, Data, System and Vendor.
3. Then proceed with the installation.
In my case I installed xiaomi.eu_multi_MIMAX3_V11.0.2.0.QEDCNXM_v11-10
Hope this helps!
Click to expand...
Click to collapse
Thanks a lot for the reply!
I somehow managed to get it working with OrangeFox, so I'm going to try it for awhile till it breaks. But I can't seem to pass the SafetyNet Check in Magisk, so I might have to your tips eventually.
What I did was:
1. Use the MI Flash tool + 11.03 CN Fastboot ROM to get out of the boot loop.
2. Loaded OrangeFox-R10.1-stable-nitrogen and Magisk-v20.4 on an SD Card
3. ADB + Fastboot to install twrp-3.3.1-0-nitrogen, then installed OrangeFox
4. Using OrangeFox, installed Magisk-v20.4
Hadron001 said:
Thanks a lot for the reply!
I somehow managed to get it working with OrangeFox, so I'm going to try it for awhile till it breaks. But I can't seem to pass the SafetyNet Check in Magisk, so I might have to your tips eventually.
What I did was:
1. Use the MI Flash tool + 11.03 CN Fastboot ROM to get out of the boot loop.
2. Loaded OrangeFox-R10.1-stable-nitrogen and Magisk-v20.4 on an SD Card
3. ADB + Fastboot to install twrp-3.3.1-0-nitrogen, then installed OrangeFox
4. Using OrangeFox, installed Magisk-v20.4
Click to expand...
Click to collapse
I have not yet rooted with magisk on xiaomi.eu so I have no way of giving an opinion on what may have gone wrong in your case.
But did you install the most current magisk from magisk.me and clear the cache?
maybe this video can help you. shows a Brazilian installing orangefox and rooting with magisk in the global rom and everything works, Magisk passes the SafetyNet test. https://youtu.be/O5bq1HMFREI?t=328
Related
Hi,
I try to install LineageOS 14.1 + Magisk 15.0 without encryption on Data, but it always is encrypted after installation again.
Here are the steps I take:
1. Install TWRP 3.2.1-0
2. Boot into TWRP recovery (getting prompted to enter pattern so it can decrypt data)
3. Format Data (forced to type "yes" , so did not only wipe it)
4. Reboot into recovery to proove that I am unencrypted now (not prompted again for the pattern again)
5. Install LineageOS 14.1
6. Install Magisk 15.0
7. Install Google Apps
8. Reboot into system, installing LineageOS, some apps, etc.
The next time I boot into recovery, I get prompted for the pattern so I guess my Data partition is encrypted again.
I tried several variants of install packages, also the "no-enforce-encrypt-no-verify" package (after installing LineageOS), but got no luck so far.
Please could someone tell me what I am doing wrong and what to do to avoid encryption of data again?
Thank you!
fex42
fex42 said:
Hi,
I try to install LineageOS 14.1 + Magisk 15.0 without encryption on Data, but it always is encrypted after installation again.
Here are the steps I take:
1. Install TWRP 3.2.1-0
2. Boot into TWRP recovery (getting prompted to enter pattern so it can decrypt data)
3. Format Data (forced to type "yes" , so did not only wipe it)
4. Reboot into recovery to proove that I am unencrypted now (not prompted again for the pattern again)
5. Install LineageOS 14.1
6. Install Magisk 15.0
7. Install Google Apps
8. Reboot into system, installing LineageOS, some apps, etc.
The next time I boot into recovery, I get prompted for the pattern so I guess my Data partition is encrypted again.
I tried several variants of install packages, also the "no-enforce-encrypt-no-verify" package (after installing LineageOS), but got no luck so far.
Please could someone tell me what I am doing wrong and what to do to avoid encryption of data again?
Thank you!
fex42
Click to expand...
Click to collapse
Use this recovery:
Pendragon2000 said:
Use this recovery:
Click to expand...
Click to collapse
Thank you, but it seems not to be caused by my TWRP version (3.2.1-0). In the meantime I installed LineageOS 15.1 but did format data again just before rebooting and now data stays unencrypted (does not ask me for unlock pattern in TWRP). Even after installing Magisk v15.0 later, is stays unencrypted . But in MagiskManager there's the checkbox set "keep force encryption" - dont know if that does matter? On my Redmi Note 4 this checkbox is not set.
Same problem here with my Redmi K20 Pro. The problem occurred after I reboot my phone to uninstall FDE.AI magisk module. My phone then encrypts itself. Factory reset, format data, repair partition, re-flashing stock ROM doesn't solve the problem. Have you solved it yet?
I recently unlocked my bootloader after waiting for 1440 hours. I am/was currently on MIUI 10.0.1.0 but wanted to install a custom rom like lineage 15.1. I installed Red Wolf TWRP and then tried to install the rom. I went to Advanced Wipe section of the recovery and checked Dalvik, Cache, Data and System but not Vendor and Internal Storage. It wiped those partitions without any error. But after that i tried to install the rom but halfway through install it ended with "Update Process Ended with Error 7" and a line saying "Failed to Mount /system (Invalid Argument)" and changed the system partition size to zero. I had to repair it and flash MIUI back using fastboot.
I did this same process over and over with different recoveries ( RED WOLF, ORANGE WOLF and even official TWRP) and different builds of lineage (rom zip was never corrupted) and even with ressurection remix but still failed and same thing happened again and again. Am I doing something wrong in the process? I didn't flash lazyflasher as I read in multiple threads that it is not necessary if flashing a custom rom. Please guide?
I hope it works for my English.
1- mount > select all > restart recovery
2- full wipe > install rom and gapps > format data
prospektus said:
I hope it works for my English.
1- mount > select all > restart recovery
2- full wipe > install rom and gapps > format data
Click to expand...
Click to collapse
Thanks for replying. You said full wipe. Should I include vendor as well or just regular (Dalvik, Cache, Data and System)?
thrustaxehandle said:
Thanks for replying. You said full wipe. Should I include vendor as well or just regular (Dalvik, Cache, Data and System)?
Click to expand...
Click to collapse
yes.. delete internal memory. rom board. format data.
thrustaxehandle said:
I recently unlocked my bootloader after waiting for 1440 hours. I am/was currently on MIUI 10.0.1.0 but wanted to install a custom rom like lineage 15.1. I installed Red Wolf TWRP and then tried to install the rom. I went to Advanced Wipe section of the recovery and checked Dalvik, Cache, Data and System but not Vendor and Internal Storage. It wiped those partitions without any error. But after that i tried to install the rom but halfway through install it ended with "Update Process Ended with Error 7" and a line saying "Failed to Mount /system (Invalid Argument)" and changed the system partition size to zero. I had to repair it and flash MIUI back using fastboot.
I did this same process over and over with different recoveries ( RED WOLF, ORANGE WOLF and even official TWRP) and different builds of lineage (rom zip was never corrupted) and even with ressurection remix but still failed and same thing happened again and again. Am I doing something wrong in the process? I didn't flash lazyflasher as I read in multiple threads that it is not necessary if flashing a custom rom. Please guide?
Click to expand...
Click to collapse
You need to upgrade to a higher version for twrp. 3.2.2
prospektus said:
yes.. delete internal memory. rom board. format data.
Click to expand...
Click to collapse
OK. I will try your method and will report back.
Update: I tried your method but still failed. Any other solution will be appreciated.
esiv129 said:
You need to upgrade to a higher version for twrp. 3.2.2
Click to expand...
Click to collapse
I'm already using TWRP version 3.2.3
thrustaxehandle said:
OK. I will try your method and will report back.
Update: I tried your method but still failed. Any other solution will be appreciated.
I'm already using TWRP version 3.2.3
Click to expand...
Click to collapse
try again unlock
prospektus said:
try again unlock
Click to expand...
Click to collapse
I again tried the process as follows:
Flashed MIUI 9.6.4.0 with MiFlash using clean and lock option.
Then I unlocked it again using miunlock.
Then I flashed RedWolf v28 beta recovery by booting it and flashing it from inside recovery.
This time I flashed lazyflasher and checked options disable dm-verity and force encrypt in recovery and installed magisk. It did it perfectly.
Then I went to Advanced Wipe Section of Wipe tab and checked all the option required like cache, dalvik, data, system and even vendor. It wiped it without any problems like always.
But here the same problem starts to arise: when I again tried to install lineage 15.1 (downloaded latest build this time too) it starts but after halfway through it says Updater process ended with Error 7
Cannot install sdcard/lineage-build date and version
and Unable to mount /system (invalid argument)
When i restart recovery system partition size changes to zero and I have to repair it by changing the file system option.
Currently now I'm on MIUI 9.6.4.0 with RedWolf recovery (options disable dm-verity and force encrypt are enabled) and lazyflasher and Magisk installed. I can use my phone when I flash MIUI 9 or 10 using but it not letting me to install any custom rom. I'm really frustrated.
thrustaxehandle said:
I again tried the process as follows:
Flashed MIUI 9.6.4.0 with MiFlash using clean and lock option.
Then I unlocked it again using miunlock.
Then I flashed RedWolf v28 beta recovery by booting it and flashing it from inside recovery.
This time I flashed lazyflasher and checked options disable dm-verity and force encrypt in recovery and installed magisk. It did it perfectly.
Then I went to Advanced Wipe Section of Wipe tab and checked all the option required like cache, dalvik, data, system and even vendor. It wiped it without any problems like always.
But here the same problem starts to arise: when I again tried to install lineage 15.1 (downloaded latest build this time too) it starts but after halfway through it says Updater process ended with Error 7
Cannot install sdcard/lineage-build date and version
and Unable to mount /system (invalid argument)
When i restart recovery system partition size changes to zero and I have to repair it by changing the file system option.
Currently now I'm on MIUI 9.6.4.0 with RedWolf recovery (options disable dm-verity and force encrypt are enabled) and lazyflasher and Magisk installed. I can use my phone when I flash MIUI 9 or 10 using but it not letting me to install any custom rom. I'm really frustrated.
Click to expand...
Click to collapse
When you get the mount error, come to the home page and get to the mount. speak enable all options enable all options. speak restart recovery restart recovery. make format data
Not sure if the link is forbidden? I can't tell you sorry. https://www.youtube.com/watch?v=dzrWkjOfndA&t=501s
I have read replies and everyone is sharing his bit of suggestions, here are mine
1. boot redwolf as FASTBOOT BOOT recovery.img - (if you arent already)
2. change file type of /data partition to-from (xFat to ext4) and wipe all partitions (internal storage can be skipped)
3. instead of linage15.1 same package, try downloading some other custom rom, i recomend DotOS2.5 or Crdroid4.6.2
4. uncheck enforce md5 bla bla while flashing zip.
i hope you will succeed
Can someone tell me how I can safely update from open beta 9 to open beta 20 while maintaining root. I just want to make sure if there are any extra steps since open beta 9 was before the treble update. I am rooted with magisk.
also can anyone share updated twrp links or links for anything else I need if possible. Thanks
I heard that, I followed the guide in the development section and got and error when trying to flash it. I'm on TWRP 3.2.3-1 as well.
Yes, everything is fine, I have root. It took me a while, because of TWRP. The only problem is, that while you can get magisk, twrp will get overwritten by stock and I could not prevent it.
Process:
1. Install stock recovery (from here: https://www.androidfilehost.com/?fid=674106145207488252) in fastboot (fastboot flash recovery filename.img)
2. Install the new open beta
3. Download magisk on your phone
4. Install TWRP by codeworkx (from here: https://forum.xda-developers.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673) in fastboot and boot to twrp immediately.
5. Install magisk from within TWRP's first boot
6. After reboot twrp will most likely get overwritten by stock recovery, but we don't care as we have magisk already.
7. Profit.
@jazzgott so is there no way for me to reinstall twrp after updating? How will I update to new versions after?
@jccspeed
1. flash twrp via fastboot (pc, usb cable and phone and everything in need for this needed)
2. after flashing the recovery, turn off your phone, this is important.. do NOT boot your phone into the OS after flashing.. turn it off (chose power off with your volume keys within the fastboot mode and press the standby button once shortly)
3. hold volume down und power button at the same time until you see the "boot loader unlocked" warning stuff.. keep it pressed there for 2 or 3 more seconds. then let loose of these buttons.
4. you should now be in TWRP. congratulations.
if you now flash magisk, you will keep twrp as long as you keep magisk installed. you can freely boot into the OS and still have TWRP installed. How ever, if you don't install magisk and boot into your OS, your OS will overwrite TWRP with stock recovery.
forgot to mention: please use codeworkx pie twrp. its the one I have installed and have gotten into no problems so far.
@jazzgott @moeq123
Does this method erase the user data? I am encrypted and rooted(magisk). I want to preserve all my data.
@ajithpoison
at first I want to mention something important: always do a full backup.
if you unroot your phone (say, if you uninstall magisk using the uninstall.zip from within the magisk app itself and reboot) you should be able to update to open beta 20 via system update settings (where you need to choose a .zip file for the update.. so you need to download the open beta 20 rom from onceplus website).
(please verify that you are on stock recovery after the uninstalling magisk and reboot process. do this by booting into recovery with the power and volume down method. if you don't know how, google how to boot into recovery for your device)
This updating process should not erase your user data at all.
But be aware, that, if you want to go back to stable releases, you have to wipe everything.. so your user data will be erased if you choose to go back to stable releases.
if you want root and twrp back again, follow my instructions mentioned above.
@moeq123
Let me explain my situation in brief.
I am on the open beta channel. I am rooted(magisk) and I have the official TWRP and I am encrypted.
This is how I update everytime:
1. Download the zip
2. Reboot to recovery
3. Wipe cache and dalvik
4. Install update.zip
5. Install Magisk
6. Wipe cache and dalvik again
7. Reboot
This time, the above method will not work due to the compatibility thingy. I want to preserve app data. There are specific apps which I use and I don't want to lose those app's data. Previously I used titanium backup to take backup of app data. I am not sure whether backing up the app data and then restoring it will work since I am upgrading from oreo to pie. Is there any definite way to backup and restore app data after upgrading to pie?
I am summing up the method which I have to follow now. Correct me if I am wrong.
There are two methods which I know as of now.
Method 1:
The official method given by FunkWizard which involves deleting the compatibility.zip for which some users have reported ERROR 7.
Method 2:
1. Download Magisk & OB20 and have it in internal storage and switch off the phone.
2. Install stock recovery via fastboot.
3. Install the new open beta via stock recovery and switch off.
4. Install TWRP by codeworkx and boot to recovery
5. Install magisk from within TWRP's first boot
6. Clear cache and dalvik
7. Reboot to system and Profit.
(Will TWRP remain as a recovery after following all this or will it get overwritten by the stock recovery?)
@moeq123
Nevermind. I have got it to work without losing any data. I followed all the steps which were in the post by @funkwizard who put up the OP5T OB20 Official update post. It worked well except for one thing. The magisk manager did not show up even after installing magisk through the recovery. (I use BluSpark recovery). So I did a manual installation of the magisk manager apk and everything worked fine. I did not lose any data and so far no bugs.
1. Download resources:
a. Download the rom UL USER, leave it there and do nothing to it yet.
b. Download the twrp.zip file https://mega.nz/#!l8BXgaDL!Y1AH5TM9jKI5r6LtEKFN_4Po105glHNR602yVDipfF8 (if you still have twrp installed beforehand)
c. Magisk 20.0 https://github.com/topjohnwu/Magisk/releases/download/v20.0/Magisk-v20.0.zip
2. Proceed:
Do not update the UL USER rom from the device's interface (SYSTEM UI), power off, boot into TWRP. Select install zip in the following order:
a. Rom UL USER
b. Twrp.zip
c. Magisk v20.0 (or exit the main menu, select Advanced, install root also)
Done, exit the main menu select advanced wipe, wipe cache, dalvik.
Reboot the device.
Done.
By chicken
This did not completely work for me going from .35 to .64. All the steps completed successfully but when I rebooted the phone, Magisk was not installed so I didn't have root. I was able to then boot to TWRP and successfully install Magisk, but I don't know why it didn't work the first time. Anyone else try this? Did it work as intended for you?
One other thing I noticed - TWRP no longer has an option to wipe the cache under wipe > advanced, only for Dalvik/ART cache. Why?
Wish I would have tried this before i updated and lost root, i flashed a root boot.img with fastboot now im bricked and don't know what to do.
EDIT: got twrp did a factory reset and im in now.
dungnghien said:
1. Download resources:
a. Download the rom UL USER, leave it there and do nothing to it yet.
b. Download the twrp.zip file https://mega.nz/#!l8BXgaDL!Y1AH5TM9jKI5r6LtEKFN_4Po105glHNR602yVDipfF8 (if you still have twrp installed beforehand)
c. Magisk 20.0 https://github.com/topjohnwu/Magisk/releases/download/v20.0/Magisk-v20.0.zip
2. Proceed:
Do not update the UL USER rom from the device's interface (SYSTEM UI), power off, boot into TWRP. Select install zip in the following order:
a. Rom UL USER
b. Twrp.zip
c. Magisk v20.0 (or exit the main menu, select Advanced, install root also)
Done, exit the main menu select advanced wipe, wipe cache, dalvik.
Reboot the device.
Done.
By chicken
Click to expand...
Click to collapse
In my experience after install back twrp reboot back to recovery (twrp) before flashing magisk .
Does this work when updating to A10?
Good evening everyone
I followed steps on this page https://forum.xda-developers.com/re...edmi-note-8-pro-guide-firmwares-twrp-t3987121 and installed twrp and root perfectly with miui 10.4.2. I then installed miui_BEGONIAGlobal_V11.0.1.0.PGGMIXM_f057ff19fc_9.0.zip successfully using twrp. When I rebooted twrp was missing and the standard recovery popped up instead of twrp. Would reinstalling twrp and following the directions based on the site listed above allow me to root miui 11 before I brick my phone again? Has anyone successfully rooted miui 11 on Redmi note 8 pro global version?
When phone bricked, you should flash the phone with Miflash again. Then flash recovery, reboot to recovery. In twrp, install miui 11 recovery file.zip. After that, you do not restart, do these steps:
3.Install and look for the supersu folder>select the file SuperSu_instsller.zip and install.
4. Make Wipe, Advanced Wipe, Dalvik/Art Cache, Data and Cache and swipe
5. Make Wipe and Format Data
6. Mount the SD card, install magisk-uninstaller.zip to remove the old Magisk
7. Install magisk-release.zip Install the new Magisk v20.2
8. Advanced > File Manager >system_root / system > Delete the recovery_fromboot.p file
9. Advanced (put 2 checkmarks) Close AVB2.0
10. Advanced (put 2 ticks) RM Force encrypt
11. Reboot System
12. Pass authorization, install the Magisk app-release.apk
13. Click in the application: Check SafeNet status
Click to expand...
Click to collapse
I'm success with bigonia China version. But you should use Magisk 19.3, miui 11 not compatible with magisk 20.1