twrp problems - Xiaomi Mi 8 Questions & Answers

Im only able to boot to one twrp with this phone which is twrp by wzcx150, others just doesnt boot using adb: fastboot boot twrp.img, even if i flash it with adb : fastboot boot recovery twrp.img, im using xiaomi.eu newest weekly build. Does someone know solution to this problem?

TWRP stuck on MIUI 11
Hey, I updated my rooted device today to MIUI 11 today and after rebooting it was stuck on twrp logo. I flashed Fox recovery and it works fine but for some reason I can't get root privileges even after flashing normal Magisk or Canary through Fox recovery. I have tried every available TWRP version including LR Team's TWRP but all of them get stuck on recovery image. So can someone help me in rooting my device.

Related

Unable to flash TWRP after with OOS 4.0.2

I flashed TWRP with succes according to cmd. But when booting to recovery it gives me the stock recovery. I had the same problem with my OPX. Someone on here said that MM had a new bootloader so i had a TWRP that was compatible with that bootloader. Is this the same for OP3T? If so can anyone link this
medick_ said:
I flashed TWRP with succes according to cmd. But when booting to recovery it gives me the stock recovery. I had the same problem with my OPX. Someone on here said that MM had a new bootloader so i had a TWRP that was compatible with that bootloader. Is this the same for OP3T? If so can anyone link this
Click to expand...
Click to collapse
flash twrp 3.0.4.0 (in OP3 forums, now unified), from fastboot boot immediately to recovery it should boot TWRP, flash SuperSU or similar (or kernel that will rename stock recovery) to keep TWRP, reboot recovery from TWRP to check it works, reboot to system and profit.
if you don't root, stock recovery will keep coming back.

Unable to install TWRP

Hello guys.
I have a problem trying to install custom recovery on my phone. I tried the fastboot method ( fastboot flash recovery twrp.img ) it does install the twrp but after reboot the official recovery it's back.
The problem is that is not the first time I try to install, before I succeeded because I had the startup page of twrp with that slide. Now no matter what twrp I try to install it boots in twrp and after reboot stock comes back.
I tried even those scripts which are installing automatically the recovery but without success.
Any thoughts?
Many thanks
romica said:
Hello guys.
I have a problem trying to install custom recovery on my phone. I tried the fastboot method ( fastboot flash recovery twrp.img ) it does install the twrp but after reboot the official recovery it's back.
The problem is that is not the first time I try to install, before I succeeded because I had the startup page of twrp with that slide. Now no matter what twrp I try to install it boots in twrp and after reboot stock comes back.
I tried even those scripts which are installing automatically the recovery but without success.
Any thoughts?
Many thanks
Click to expand...
Click to collapse
i have same issue. I use miui 11 android 9.
You have to flash magisk or other rom.

Stock boot.img is not booting on boot_b

Hi there,
I've been rooting phones since Android 2, but lately it has been quite a challenge.
What I did so far:
Unpack new Xiaomi MI A2 (jasmine) device
Enabled Developer, USB debugging, OEM unlock in Android settings
Code:
fastboot oem unlock
Code:
fastboot flash boot_b TWRP-3.2.3-jasmine-20180804.img
TWRP ran fine. However, started with boot_a again.
OTA updated (about 6 times) to the newest version (Android 10, QKQ1.190910.002 V11.0.12.0.QDIMIXM)
Code:
fastboot flash boot_b twrp-3.4.0-0-jasmine_sprout.img
TWRP started only to the splash screen (showing "teamwin" and "Recovery Project 3.4.0-0"). Why is TWRP not starting properly?
Downloaded the stock fastboot image V11.0.12.0.QDIMIXM from https ://xiaomifirmwareupdater.com/archive/miui/jasmine/ and flash the stock boot.img via
Code:
fastboot flash boot_b jasmine_global_images_V11.0.12.0.QDIMIXM_10.0/images/boot.img
(my goal is to later patch it with Magisk and then install the patched version). However, the stock boot.img just hangs forever on the androidone screen. Why is the stock boot.img not starting properly?
I haven't used the Mi Unlock app and I didn't do an "fastboot flashing unlock_critical" yet. Is this necessary? What do I have to do to make the boot images work?
floydsen said:
Hi there,
I've been rooting phones since Android 2, but lately it has been quite a challenge.
What I did so far:
Unpack new Xiaomi MI A2 (jasmine) device
Enabled Developer, USB debugging, OEM unlock in Android settings
TWRP ran fine. However, started with boot_a again.
OTA updated (about 6 times) to the newest version (Android 10, QKQ1.190910.002 V11.0.12.0.QDIMIXM)
TWRP started only to the splash screen (showing "teamwin" and "Recovery Project 3.4.0-0"). Why is TWRP not starting properly?
Downloaded the stock fastboot image V11.0.12.0.QDIMIXM from https ://xiaomifirmwareupdater.com/archive/miui/jasmine/ and flash the stock boot.img via (my goal is to later patch it with Magisk and then install the patched version). However, the stock boot.img just hangs forever on the androidone screen. Why is the stock boot.img not starting properly?
I haven't used the Mi Unlock app and I didn't do an "fastboot flashing unlock_critical" yet. Is this necessary? What do I have to do to make the boot images work?
Click to expand...
Click to collapse
why do you feel you must use boot images ...the tried and working method for "jasmine" is to boot custom recovery and then flash magisk zip ( root only ) ..or...flash custom recovery installer zip which will flash recovery to both a/b slots.. then flash magisk
to properly boot you need to overcome stuff like secure boot and force encryption
if you aren't planning on custom roms just boot twrp to flash magisk
or
flash installer zip for recovery and wipe everything including formatting data to remove encryption and boot directly to recovery to install custom rom
twrp custom recovery had problems with decryption on stock rom ...secure boot won't allow booting modified images ..
lastly remember on jasmine there is no recovery partition..so everything is in the boot image ..magisk and recovery ..so everytime you flash stock , stock boot overwrites these changes and should flash everything again
tbh that's why i converted to wayne to get old partition layout as the A/B story pissed me off
KevMetal said:
why do you feel you must use boot images ...the tried and working method for "jasmine" is to boot custom recovery and then flash magisk zip ( root only ) ..or...flash custom recovery installer zip which will flash recovery to both a/b slots.. then flash magisk
to properly boot you need to overcome stuff like secure boot and force encryption
if you aren't planning on custom roms just boot twrp to flash magisk
or
flash installer zip for recovery and wipe everything including formatting data to remove encryption and boot directly to recovery to install custom rom
twrp custom recovery had problems with decryption on stock rom ...secure boot won't allow booting modified images ..
lastly remember on jasmine there is no recovery partition..so everything is in the boot image ..magisk and recovery ..so everytime you flash stock , stock boot overwrites these changes and should flash everything again
tbh that's why i converted to wayne to get old partition layout as the A/B story pissed me off
Click to expand...
Click to collapse
Ok. So I'm back to Stock image jasmine_global_images_V11.0.12.0.QDIMIXM_10.0 by executing "flash_all.sh". You are saying I should "simply boot". You mean:
Code:
fastboot boot TWRP-3.4.0-0-jasmine_sprout-for_V11.0.12.0.img
right? That doesn't work, it won't boot. How do I overcome secure boot and force encryption?
floydsen said:
Ok. So I'm back to Stock image jasmine_global_images_V11.0.12.0.QDIMIXM_10.0 by executing "flash_all.sh". You are saying I should "simply boot". You mean:
right? That doesn't work, it won't boot. How do I overcome secure boot and force encryption?
Click to expand...
Click to collapse
yes im saying that but post a pic of the error ...why or how doesn't it boot ..
if it is the official twrp just dump it and look for the unofficial Russian one or one modified by Nebrassy or use Orange fox and or Pitch black ..official is broken last time i checked
also the name of that looks like one hell of a job ..shorten it to
recovery.img or twrp.img
fastboot boot recovery.img
but first run
fastboot getvar all
& also run fastboot flashing unlock_critical
but most importantly get another recovery
& i don't want to insult your intelligence but after flashing stock did you check to make sure bootloader was still unlocked and that dev settings was activated and that adb was toggled to on and that you authorised adb again
basicall after stock boot device and do the above ..plug in usb ..toggle adb ..authorise ..run adb devices ..if you see your device ..adb reboot bootloader ..fastboot devices ..see your device ..fastboot getvar all ..see bootloader is unlocked ..fastboot flashing unlock_critical if not done yet ...make sure to do ALL the above again after data gets wiped.....put twrp in adb folder ( MUST BE UNOFFICIAL RUSSIAN OR MODUFIED BY NEBRASSY ..rename to revovery.img ...fastboot boot recovery.img .. use file manager to put magisk.zip on internal then flash ..then reboot to rooted phone with stock recovery ...
Sent from my wayne using XDA Labs
KevMetal said:
why do you feel you must use boot images ...the tried and working method for "jasmine" is to boot custom recovery and then flash magisk zip ( root only ) ..or...flash custom recovery installer zip which will flash recovery to both a/b slots.. then flash magisk
to properly boot you need to overcome stuff like secure boot and force encryption
if you aren't planning on custom roms just boot twrp to flash magisk
or
flash installer zip for recovery and wipe everything including formatting data to remove encryption and boot directly to recovery to install custom rom
twrp custom recovery had problems with decryption on stock rom ...secure boot won't allow booting modified images ..
lastly remember on jasmine there is no recovery partition..so everything is in the boot image ..magisk and recovery ..so everytime you flash stock , stock boot overwrites these changes and should flash everything again
tbh that's why i converted to wayne to get old partition layout as the A/B story pissed me off
Click to expand...
Click to collapse
KevMetal said:
yes im saying that but post a pic of the error ...why or how doesn't it boot ..
if it is the official twrp just dump it and look for the unofficial Russian one or one modified by Nebrassy or use Orange fox and or Pitch black ..official is broken last time i checked
Sent from my wayne using XDA Labs
Click to expand...
Click to collapse
Of course it is the official one. OMFG twrp-3.4.0-0-jasmine_sprout.img is broken (freezes on the TWRP splash screen), but version 3.3.1 seems to work. That's a relief, so I will try to flash magisk now. Although, I think I will need to do the decryption thing for jasmine first, but I guess I'll follow https://www.the***********.com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/ mostly
floydsen said:
Of course it is the official one. OMFG twrp-3.4.0-0-jasmine_sprout.img is broken (freezes on the TWRP splash screen), but version 3.3.1 seems to work. That's a relief, so I will try to flash magisk now. Although, I think I will need to do the decryption thing for jasmine first, but I guess I'll follow https://www.the***********.com/install-twrp-recovery-root-xiaomi-mi-a2-a2-lite/ mostly
Click to expand...
Click to collapse
jajaja well now you know ...be careful ...some "official" roms are also more buggy than unofficial ones for Jasmine/Wayne..
LOS is an example ..so be forewarned .. if you like android 1 i guess stock rooted is a smart option to keep updates and keep device certified for google stuffs . .
alternativeky go FULL custom rom because stock and custom recovery is just a pain and not worth the hassle on an A/B treble device flashable by fastboot ..just boot the recovery when if ever needed
fyi ..you can flash magisk and it will boot ...if you don't try changing the recovery ..so you can have stock rooted with magisk without rcustom recovery...* recommended by me if you only wamt stock with root
Sent from my wayne using XDA Labs
All good now, thanks for your help! I just flashed Magisk (and also TWRP) and everything works nicely! I will need to get some experience, but I'll keep in mind that I maybe want to get rid of the TWRP recovery. Finally security testing is fun again. Thx!

Question TWRP Won't stick

Hello, I am trying to flash TWRP from this thread on to my Mi 11 it works fine when i use fastboot boot twrp.img and then install twrp using Flash Current TWRP.
But when i then reboot my device miui 12 gets in a bootloop. So i flash miui again to get it working and TWRP is gone and so on.... any fix for this?
Write in those threadd. It is no needed to open new.

Unable to start TWRP (loops)

Hi,
I have C11 RMX2185, unlocked bootloader, installed TWRP and then some roms (pixel experience, next stock android 11, next CipherOS-2.0-KNIGHT)
everything worked fine and I was preparing to try some other ROMS
But now I am unable to enter TWRP (I was, I flashed roms with TWRP before)
In fastboot I do fastboot reboot recovery and TWRP started to load (blue TWRP logo), and it blink and logo, blink - logo,.... forever
I tried to flash boot.img, flash TWRP again, tried another release of TWRP for RMX2185, flashing vbmeta, format userdata, ..... all kind of posibilities without any error but stil unable to run TWRP
I can boot into system (CipherOS-2.0), I can do things in fastboot, when it loops in starting TWRP it is able to react to adb reboot
I run out of ideas.
Thanks in advance for some kicks in the back

Categories

Resources