Can't install twrp - Xiaomi Mi Mix 2S Questions & Answers

After updating my phone to MIUI 11 I can no longer install TWRP. I am able to get to fastboot but when I run the command to install twrp it just sits there and eventually I have to reboot my phone. No error or anything, just doesn't install.
Any thoughts?
EDIT: Nevermind I was able to use the all in one tool and make it work

Related

Cannot get ROMs to boot after installing from TWRP

I have had success flashing two ROMS (Lineage OS with MicroG and HavocOS) so far, but at some point, I am now getting nowhere fast trying to reinstall either of these after several clean attempts. I keep ending up at a black screen with a blue light and no more TWRP and no more bootable OS.
Here's what I did...
Starting fresh... Used MSMDownloadTool V4 to install OOS (enchilada_22_O.09_180517) then updated with local update file (OnePlus6Oxygen_22_OTA_030_all_1904032206)
Then, enable developer options, OEM unlock, USB debugging, advanced reboot
Reboot to fastboot and execute "fastboot oem unlock" in Powershell with admin rights
Reboot to OOS, then check developer options again, all good
Reboot to fastboot, execute "fastboot boot twrp-3.2.3-x_blu_spark_v9.91_op6.img"
Reboot to TWRP, install Magisk-v19.2.zip, reboot to OS (to verify root)
Reboot to TWRP, install ROM zip, then install twrp-3.2.3-x_blu_spark_v9.91_op6.
Select Reboot to Recovery within TWRP
And then.... black screen with blue solid light. Can't load TWRP nor can I boot into OS.
I have also tried wiping during some of these attempts and that didn't help. At one point, I had a bricked phone with no bootloader/fastboot, but saved it with the MSM tool.
Can someone please tell me what am I doing wrong? I see some ROMs (such as Lineage0S 16 with MicroG) saying to install a stock OOS twice along with TWRP, then the LOS ROM+TWRP, but I could never get beyond the first attempt at installing stock ROM+TWRP. Same thing happens.
EDIT: Resolved below.
Do you have magisk installed after reboot twrp ?
cypress16 said:
I have had success flashing two ROMS (Lineage OS with MicroG and HavocOS) so far, but at some point, I am now getting nowhere fast trying to reinstall either of these after several clean attempts. I keep ending up at a black screen with a blue light and no more TWRP and no more bootable OS.
Here's what I did...
Starting fresh... Used MSMDownloadTool V4 to install OOS (enchilada_22_O.09_180517) then updated with local update file (OnePlus6Oxygen_22_OTA_030_all_1904032206)
Then, enable developer options, OEM unlock, USB debugging, advanced reboot
Reboot to fastboot and execute "fastboot oem unlock" in Powershell with admin rights
Reboot to OOS, then check developer options again, all good
Reboot to fastboot, execute "fastboot boot twrp-3.2.3-x_blu_spark_v9.91_op6.img"
Reboot to TWRP, install Magisk-v19.2.zip, reboot to OS (to verify root)
Reboot to TWRP, install ROM zip, then install twrp-3.2.3-x_blu_spark_v9.91_op6.
Select Reboot to Recovery within TWRP
And then.... black screen with blue solid light. Can't load TWRP nor can I boot into OS.
I have also tried wiping during some of these attempts and that didn't help. At one point, I had a bricked phone with no bootloader/fastboot, but saved it with the MSM tool.
Can someone please tell me what am I doing wrong? I see some ROMs (such as Lineage0S 16 with MicroG) saying to install a stock OOS twice along with TWRP, then the LOS ROM+TWRP, but I could never get beyond the first attempt at installing stock ROM+TWRP. Same thing happens.
Click to expand...
Click to collapse
What I did is this...
After your first step which is "Starting fresh... Used MSMDownloadTool V4 to install OOS (enchilada_22_O.09_180517) then updated with local update file (OnePlus6Oxygen_22_OTA_030_all_1904032206)", I install again the "OnePlus6Oxygen_22_OTA_030_all_1904032206" to follow the step that requires flashing OOS twice.
Then I followed the steps in https://forum.xda-developers.com/oneplus-6/how-to/tutorial-decrypt-flash-rom-pie-oreo-roms-t3838643, this is to decrypt my device and to be able to flash any ROM infinite times without corrupting again my device.
I suggest you use a newer MSM tool to restore to stock. Then, do local upgrade twice to install the zip on the both slots. Then proceed to unlock the bootloader.
Anytime u flash twrp u need to flash magisk too (no need to reboot if you are using the same slot before flashing magisk) , I think on the last step u forget that
Just boot to twrp and flash magisk again
I wrote that before ? 2e post
Thanks for all the tips. Finally got it working. This is nothing like the Samsung phones I'm used to.....
Here is the process I followed and I finally have a working system with the Havoc Rom, MicroG, the blu_spark kernel and magisk:
MSMDownloadTool V4 to install OOS (enchilada_22_O.09_180517) then updated with local update file (OnePlus6Oxygen_22_OTA_030_all_1904032206)
Unlock booloader
Flash TWRP
Reboot to TWRP and flash oos 9.0.5 ota zip and flash TWRP
Reboot to TWRP
Flash oos 9.0.5 ota zip and TWRP again
Reboot to TWRP
Factory reset
Flash ROM
Reboot TWRP
Flash Magisk
Flash Kernel
Reboot to TWRP
Flash microg
Resume normal life after two excruciating days of failed attempts

Can't flash twrp

Hey. Following issue: I used to have my phone rooted and wanted to update it. Since I couldn't get a zip file from the official OnePlus webpage I used the download button from the system update and got it from there. Of course it also automatically removes your root so I had to try to flash twrp again. My bootloader is still unlocked (debugging and oem both activated) so that wasn't any issue. I got the newest enchilada and tried the flash boot command with the twrp enchilada image, however after a short message including hoot and and an ok at the end my phone goes into the fastboot icon and is stuck there until I restart it. Twrp doesn't start whatsoever. I also tried the fastboot --set-active= command but that didn't help as well. Adb is also on the newest version and I also got the newest enchilada. Any ideas?
P.S: already searched a lot on the forum but none of the aforementioned solutions did anything thanks for any help regardlessly
Gosick1337 said:
Hey. Following issue: I used to have my phone rooted and wanted to update it. Since I couldn't get a zip file from the official OnePlus webpage I used the download button from the system update and got it from there. Of course it also automatically removes your root so I had to try to flash twrp again. My bootloader is still unlocked (debugging and oem both activated) so that wasn't any issue. I got the newest enchilada and tried the flash boot command with the twrp enchilada image, however after a short message including hoot and and an ok at the end my phone goes into the fastboot icon and is stuck there until I restart it. Twrp doesn't start whatsoever. I also tried the fastboot --set-active= command but that didn't help as well. Adb is also on the newest version and I also got the newest enchilada. Any ideas?
P.S: already searched a lot on the forum but none of the aforementioned solutions did anything thanks for any help regardlessly
Click to expand...
Click to collapse
What version rom is currently installed
MrSteelX said:
What version rom is currently installed
Click to expand...
Click to collapse
Oxygenos 10.3.0 on my oneplus6.
https://forum.xda-developers.com/on...overy-unofficial-twrp-touch-recovery-t3860815 has everything you need to install twrp

[HELP] bootloop when trying to update rom

Hello, i have tried to update to the latest crdroid "april 23" zip and it has made my phone unbootable. After i have finished flashing rom and recovery flasher, i have not been able to decrypt my phone after the reboot to recovery to try and install gapps and magisk. I've also tried to boot to the rom and it has only showed a black screen, and after that it reboot to recovery. The decryption message has appeared again when i did that and after i decrypted and flashed the other stuff i have not been successful to boot to the rom. I have then once again tried wiping and flashing rom and recovery and reboot to recovery again, and again the decryption promt did not appear. After that i've tried booting to system once again and it appeared and after flasshing the stuff again it still has not booted. I've tried downgrading to the previous version when i wiped instead of the newest one and reboot to recovery again and then it didnt show the prompt. I tried rebooting to system again to get the prompt to decrypt but now it doesn't appear even then. I've also tried using the command "twrp decrypt (my pin)" and it gave me an error. I am now in school and cannot do anything untill i get home but even then my computer monitor has been hit and now doesnt function so i cant even do anything via ADB. I have another computer and monitor and im thinking about using it instead. Can i get a step by step on how i can get my phone to boot once again? Even if i lose all my data im fine with it but i prefer not to since i have alot of pictures that i really wanna keep. All help is appreciated. Now that i cant boot to the rom i cant use telegram on the web either so im completely ****ed. Cheers!
An update .zip is always installed to the inactive slot. Start TWRP and open the reboot menu. Change the slot back to your running system. From there you can try to find the reason why your update fails. You don't need a decrypted TWRP for this.
You can also change the boot slot via fastboot command
Code:
fastboot --set-active=a (slot a)
fastboot --set-active=b (slot b)
-or short-
fastboot -aa (slot a)
fastboot -ab (slot b)

Failed root, stuck on unlocked bootloader warning message.

Hi everyone,
I have tried to get root priviledges following a guide from Droidwin.com to flash Magisk throught TWRP. At the very last step, after flashing Magisk 19.3 throught TWRP when I tried to reboot my phone, it gets stuck on the "unlocked bootloader warning message", which is supposed to disappear after a few seconds and move on to the boot animation.
It seems like I can go to the stock recovery, which shows fastboot and wipe actions. At this point, I can acces the fastboot screen, but the device is not listed using the ADB command "adb devices", nothing is find.
I'm wondering, what can I try to restore the phone ? I thank you in advance for any suggestions.
Here are some additionnal informations:
---Device---
Oneplus nord running OxygenOS 10.5.5, european version.
---What I've done to get in this situation---
Unlock bootloader using ADB
Launch an TWRP image file using ADB
"Try" to root using Magisk 19.3 zip throught TWRP
Power off from recovery (using TWRP touch interface), but the guide tells to click reboot at this step ...
Get stuck on the warning message, not having any boot animation.
Try to boot in Fastboot.
Turn the Nord Off and start it with plus minus and Power.
Boot TWRP with "Fastboot boot "TWRP File name.img" and flash magisk 20.4
Thank you @denndenn.
I'm able to launch TWRP using the ADB command "fastboot boot [twrpfile].img". But when TWRP starts, it asks me for my decryption password, I type it, brief lines of code says "unable to read system/apex" before showing the home page of TWRP. Someone knows what this means, and if that can be the cause ?
I've then tried to reflash Magisk 19.3, which lead to the same result. I couldn't figure out how load Magisk 20.4 to my internal storage in order to flash it trought recovery ... Do you know how to flash a file which is not on my phone ?
Search forum....
Msm tool oneplus nord wipes phone but fixes any issues
thibdur said:
Thank you @denndenn.
I'm able to launch TWRP using the ADB command "fastboot boot [twrpfile].img". But when TWRP starts, it asks me for my decryption password, I type it, brief lines of code says "unable to read system/apex" before showing the home page of TWRP. Someone knows what this means, and if that can be the cause ?
I've then tried to reflash Magisk 19.3, which lead to the same result. I couldn't figure out how load Magisk 20.4 to my internal storage in order to flash it trought recovery ... Do you know how to flash a file which is not on my phone ?
Click to expand...
Click to collapse
Plug your phone to your PC while in TWRP, then you can use adb to push files to your phone, for example with adb push magisk.zip /sdcard. Then, flash Magisk in TWRP.
How about flashing stock boot to see if your OPN boots to system again and then simply load Magisk zip to your internal storage and then flash via TWRP?
Thank you a lot for your suggestions !
Here is the solution in my case :
Because fastboot was working, I was able to flash stock oxygen rom, and get every working, but it needs to erase all your data.
You can find a guide on the XDA topic "[ROM][STOCK][FASTBOOT][OPN] Stock Fastboot ROMs for OnePlus Nord". The rom list have the lastest roms version (09/2020), and the process is super automated.
Have a good week-end XDA !

Oneplus 6 and magisk (stuck in fastboot )

hi guys,
my op6 is running stock oos with magisk as root. My phone worked fine for several months. Today I tried switching magisk from the stable version to canary by first upgrading the manager app and then hitting the direct install option. This failed several times and I got an error saying:
! Unable to unpack boot image
I thought this could be fixed by a reboot, but well... it wasn't. Now the phone only boots into the bootloader. I booted into twrp and tried to uninstall magisk via the uninstall.zip. This fails with error
-Unpacking boot image
! Unsupported/Unknown image format
- Unmounting partitions
cd /tmp/repackorig/ && /sbin/magiskboot unpack -h '/tmp/repackorig/boot.img' process ended with ERROR: 1
Error unpacking image
I don't really know what this means. I'm guessing my boot.img is corrupted?
Is there any way I can solve this problem without a factory reset? Can I just flash the stock boot.img via fastboot?
Do you have any idea what went wrong here, so that I can avoid the error next time?
Yesterday I broke op5 during the magisk update. The repair was simple, flash stock boot.img as boot partition.
I flashed it from TWRP.
Try dirty flashing your ROM without flashing magisk.
I'm also facing the same issues. Tried updating from the Magisk App. Didn't receive any error messages. After reboot I'm stuck in fastboot mode and I cannot access recovery. I do not have a backup of the data on this phone.
Is there any way I can still (temporarily) access the data? I'm panicking a little bit. My OOS is stock and rooted and hasn't been updated in about a year. I'm not sure if I can still figure out the specific OOS version that is installed.
EDIT:
Have been trying to flash the stock boot.img with fastboot. I've tried both 10.0.1 and 10.3.0 so far. Both resulted in the "BOOTLOADER UNLOCKED" warning and got stuck there. 10.3.1 is my last option, because I don't think I've updated this device since. Would it make a difference if I tried to do it from twrp?
EDIT2:
I do however have access to the recovery mode now. If I'm not mistaken this means I might be able to extract the data.
EDIT3:
The recovery mode is not asking me for my unlock pattern (which I think it should be doing) and is not showing up under 'adb devices'. I've tried flashing the boot.img of all OOS versions I can think of with fastboot, nothing will let me boot back in or let me access adb through the recovery. Am I ****ed?
MoresM said:
I'm also facing the same issues. Tried updating from the Magisk App. Didn't receive any error messages. After reboot I'm stuck in fastboot mode and I cannot access recovery. I do not have a backup of the data on this phone.
Is there any way I can still (temporarily) access the data? I'm panicking a little bit. My OOS is stock and rooted and hasn't been updated in about a year. I'm not sure if I can still figure out the specific OOS version that is installed.
EDIT:
Have been trying to flash the stock boot.img with fastboot. I've tried both 10.0.1 and 10.3.0 so far. Both resulted in the "BOOTLOADER UNLOCKED" warning and got stuck there. 10.3.1 is my last option, because I don't think I've updated this device since. Would it make a difference if I tried to do it from twrp?
EDIT2:
I do however have access to the recovery mode now. If I'm not mistaken this means I might be able to extract the data.
EDIT3:
The recovery mode is not asking me for my unlock pattern (which I think it should be doing) and is not showing up under 'adb devices'. I've tried flashing the boot.img of all OOS versions I can think of with fastboot, nothing will let me boot back in or let me access adb through the recovery. Am I ****ed?
Click to expand...
Click to collapse
Maybe it's worth trying change the slot and see if it will start? Of course from the fastboot level.
MoresM said:
I'm also facing the same issues. Tried updating from the Magisk App. Didn't receive any error messages. After reboot I'm stuck in fastboot mode and I cannot access recovery. I do not have a backup of the data on this phone.
Click to expand...
Click to collapse
I managed to fix it as well by flashing the stock boot.img for my software version to both slot_a and slot_b using fastboot. I left the active slot setting alone otherwise.
Afterwards I booted into twrp through fastboot and installed blu spark twrp and magisk 21.4 from there as a user suggested on the Magisk github: https://github.com/topjohnwu/Magisk/issues/3924
Note that github link also has a solution to flawlessly upgrade to latest Magisk without data loss but I haven't had the time to look at it.

Categories

Resources