Problem installing TWRP - Xiaomi Mi A2 Lite Questions & Answers

Hello,
Yesterday, i spent 7hours trying to install TWRP on my brand new Mi A2 Lite. At the end, i had the message, system is destroyed.
I could flash a new rom using Miflash. Now, my phone is working with 10.0.4.
When i try to boot in recovery, i have the no command message with the android green guy on his back ....
So know is it useful to install the original recovery before trying to install TWRP ? If, yes, how ?
If not, and i can install TWRP. Please, can someone give me a working tutorial ?
Thx in advance !

Arzargul said:
Hello,
Yesterday, i spent 7hours trying to install TWRP on my brand new Mi A2 Lite. At the end, i had the message, system is destroyed.
I could flash a new rom using Miflash. Now, my phone is working with 10.0.4.
When i try to boot in recovery, i have the no command message with the android green guy on his back ....
So know is it useful to install the original recovery before trying to install TWRP ? If, yes, how ?
If not, and i can install TWRP. Please, can someone give me a working tutorial ?
Thx in advance !
Click to expand...
Click to collapse
The recovery with the green guy is the stock one. For twrp: put twrp.zip in your storage or sd card and you must start in fastboot (fastboot boot twrp.img). Once you booted in twrp you flash twrp.zip from storage to have it permanently. Since you have pie firmware it might be better to use twrp from here which is said to be built with pie kernel, I'm not sure that's necessary.

Related

Recovery rebooting without flashing

Hi
While flashing CM13 on my redmi 1s, I did a clean install, meaning wiping everything, and then when I went to flash CM13, TWRP just reboots the moment I swipe to install. This happens with any .zip file.
I installed CWM using fastboot, and that gives me the same problem. The moment I try to flash/install anything using a recovery, that recovery reboots and doesn't flash anything. My device is now useless since it doesn't have an OS installed and no way of doing so..
From what I can tell the system partition is bad because when I boot into recovery it isnt mounted
When I take out the battery now it just goes straight to the fastboot screen. I can take it into recovery but it goes to fastboot by default
Please help
Hi dude,
i guess you have checked the integrity of your cm13 ROM file and (winrar>test archive) , your best bet would be flashing a fastbootrom and then come back to cm. Head over to miui and download latest fastboot rom applicable to you.
And its usual booting into fastboot when there is no OS installed atleast for our device so chill dont loose hopes..!
vbvn said:
Hi dude,
i guess you have checked the integrity of your cm13 ROM file and (winrar>test archive) , your best bet would be flashing a fastbootrom and then come back to cm. Head over to miui and download latest fastboot rom applicable to you.
And its usual booting into fastboot when there is no OS installed atleast for our device so chill dont loose hopes..!
Click to expand...
Click to collapse
Flashing the fastboot rom doesn't work.. My recovery is broken too, because I can't flash anything.. In either MiRecovery 2.0.1, CWM or twrp.. When I flash the MIUI rom via fastboot it just boots into recovery..
EDIT, I just got it into MIUI but the 4.3 version from china, without Google, and I can't download google via the MI market. So i'm downloading an international version now and will try to flash using MiFlash.
Does anyone know how I can fix the recovery? It still won't flash anything and reboots the moment I try to.

I can't reflash stock recovery

Hi, yestarday I flashed CM 14 with TWRP to try it, and today I have tried to return to stock rom & recovery but I can't do it. At the beginning I have tried to flash stock recovery that I have downloaded from op.net with fastboot and I couldn't do it and after I have tried to do the same process but this time flash it with TWRP and also this time I couldn't able to fix it. In fine I have installed the stock ROM via TWRP and I managed to install it but now the problem is that I still can not install the stock recovery and accordingly I can't install op3 update.
An another problem is that I have tried to re-lock OEM from fastboot and when I try to turn on the phone, is asks me a pin to enable it and I don't know that pin because I haven't set no one
ICosmin said:
Hi, yestarday I flashed CM 14 with TWRP to try it, and today I have tried to return to stock rom & recovery but I can't do it. At the beginning I have tried to flash stock recovery that I have downloaded from op.net with fastboot and I couldn't do it and after I have tried to do the same process but this time flash it with TWRP and also this time I couldn't able to fix it. In fine I have installed the stock ROM via TWRP and I managed to install it but now the problem is that I still can not install the stock recovery and accordingly I can't install op3 update.
An another problem is that I have tried to re-lock OEM from fastboot and when I try to turn on the phone, is asks me a pin to enable it and I don't know that pin because I haven't set no one
Click to expand...
Click to collapse
Need to download custom twrp http://forum.xda-developers.com/devdb/project/dl/?id=21065&task=get
Then use flashify to flash recovery
cbendixe84 said:
Need to download custom twrp http://forum.xda-developers.com/devdb/project/dl/?id=21065&task=get
Then use flashify to flash recovery
Click to expand...
Click to collapse
i have already flashed twrp 3.0.2.2 but now I would flash stock recovery but when I try to install it and turn into it op3 show me only op logo and after a few seconds the screen become black.
your phone is bricked I'm assuming. there is a thread for that. that should work for you!
sahed01 said:
your phone is bricked I'm assuming. there is a thread for that. that should work for you!
Click to expand...
Click to collapse
No it isn't. Because I managed to put stock ROM into it via adb with push command and after I have installed it from twrp that works. My only problem is that i can't flash stock recovery.
i have the same issue. Tried many times but i'm getting a black screen after one plus logo for both stck recovery and unmodified twrp. only moidified twrp is working. please let me know if u find a way to resolve this.
thanks in advance
varmasagiraju said:
i have the same issue. Tried many times but i'm getting a black screen after one plus logo for both stck recovery and unmodified twrp. only moidified twrp is working. please let me know if u find a way to resolve this.
thanks in advance
Click to expand...
Click to collapse
I downloaded the stock rom and inside it(stock rom.zip) i put the stock recovery after I reflashed the stock rom via adb from twrp and in fine I locked bootloader.
ICosmin said:
I downloaded the stock rom and inside it(stock rom.zip) i put the stock recovery after I reflashed the stock rom via adb from twrp and in fine I locked bootloader.
Click to expand...
Click to collapse
you can reboot in to stock recovery without any issues?? I think I should give it a try. And you are saying the bootloader is locked again ?
varmasagiraju said:
you can reboot in to stock recovery without any issues?? I think I should give it a try. And you are saying the bootloader is locked again ?
Click to expand...
Click to collapse
Yes, I manage to reboot into stock recovery and i relocked bootloader(you needn't relock bootloader if you do not want)
ICosmin said:
Yes, I manage to reboot into stock recovery and i relocked bootloader(you needn't relock bootloader if you do not want)
Click to expand...
Click to collapse
Great. Can I place the file in beta8 rom .zip file and flash it using adb ??
If this procedure doesn't you can download an older version of oxygen os and update it via ota. At the first attempt when you will try it will give you an error and at the second attempt It will download all the ROM again and it will reflash by itself
varmasagiraju said:
Great. Can I place the file in beta8 rom .zip file and flash it using adb ??
Click to expand...
Click to collapse
I suggest you to try at the beginning with the beta 7 because if that procedure not work for you, you can't downgrade to beta 7.
ICosmin said:
I suggest you to try at the beginning with the beta 7 because if that procedure not work for you, you can't downgrade to beta 7.
Click to expand...
Click to collapse
Thank you.
Will let you know if it worked.
I had that problem.
Solution as follows, worked everytime for me: (I have not tried this method with the newest beta 8)
1. Flash OOS 3.2.6 firmware in twrp.
2. Reboot to fastboot and flash official oxygen os recovery downloaded from the OnePlus website. (This is still the old version for some reason, thus why it won't work)
3. Side load community build with oxygen os recovery, this will flash the new firmware back and update the recovery to be community build compatible.
4. Before rebooting erase everything (factory restore)
5. Reboot to OOS, finish setting up.
6. Turn on advance reboot in developer settings.
7. Reboot to recovery via the reboot menu. First time boot into the recovery may take sometime, but it has always worked for me.
8. After everything looks good, go ahead and OEM lock in fastboot, recovery should work as usual this time and format your phone
OP did you find a solution to this?? Im on the same boat as you

couldn't boot to twrp recovery after flashing cm14

hi'
i have flashed cm14 nightly with aroma (gapps) on cm13 on my oneplus 3
now i couldn't go neither to recovery mode nor to current cm 14 rom to change my rom
i am out of ideas i tried in every possible way to my knowledge pleasee help me ........................
Flash the modified twrp 3.0.2-22 via fastboot.
Get modified twrp here i asume that you know how to flash it?
Boot in fastboot > fastboot flash recovery Recovery filename.img
I had the same problem. Flashing modified twrp worked for me, thanks! But now if I to flash stock recovery (to install otas), I can't boot to recovery. E: oxygenos otas can be installed with twrp, so no problem anymore
plz send me the link of modified twrp
i coudnt find it on google properly plz
Try the link given by Demian3112. It works
THQ thq soon much.. Its working
Demian3112 said:
Get modified twrp here i asume that you know how to flash it?
Boot in fastboot > fastboot flash recovery Recovery filename.img
Click to expand...
Click to collapse
Yes its working
Thank q very much
THQ thq soon much.. Its working
AJay27 said:
Try the link given by Demian3112. It works
Click to expand...
Click to collapse
THQ for ur valuable suggestion
My killer is back
Demian3112 said:
Get modified twrp here i asume that you know how to flash it?
Boot in fastboot > fastboot flash recovery Recovery filename.img
Click to expand...
Click to collapse
Hii,
Still the problem remains same I will explain in detail
I am back to cm14.1 when I flashed twrp from the above link
When I tried to flash some other ROMs they are flashed but screen goes blank after oneplus boot animation,
If I flash 14.1 ROM it is working fine
From cmd non of the recovery where flashed only the above is working
Plz help me
I want to go back to stock soon
It's because of the system partition rewriting issue. People in the cm and other communities are already working on it. Basically the boot partitions get rewritten when we install the cm 14.1 . It happens to some variants while others works fine. Just the issue because of not enough testing. Will be sorted out within time.
What you can do is. Use flashify app or fastboot from your pc and flash your twrp back after installing and booting into the cm 14.1. You can use any twrp no modified versions needed as far as it is supported by your device model. Ciao. Hit thanks if i helped.
sanjumalik720 said:
It's because of the system partition rewriting issue. People in the cm and other communities are already working on it. Basically the boot partitions get rewritten when we install the cm 14.1 . It happens to some variants while others works fine. Just the issue because of not enough testing. Will be sorted out within time.
What you can do is. Use flashify app or fastboot from your pc and flash your twrp back after installing and booting into the cm 14.1. You can use any twrp no modified versions needed as far as it is supported by your device model. Ciao. Hit thanks if i helped.
Click to expand...
Click to collapse
ohhh
then what is the solution ?????
Thank you very much
Demian3112 said:
Get modified twrp here i assume that you know how to flash it?
Boot in fastboot > fastboot flash recovery Recovery filename.img
Click to expand...
Click to collapse
I had the same problem as OP, got stuck with the CM 14 and did not like it (to early, to many bugs)
Wanted to go back to CM 13 but was unable to get into TWRP, and unable to flash CM13 back. Tried with fastboot and adb sideload, nothing worked.
The modified TWRP let me do i full wipe of the phone, (wiped Data, Dalik/ART, and system.) then copied the CM13 Stable release from here onto the phone, together with Gapps, and now everything is back to normal.
Again thank you, and thanks XDA! Somehow you always manage to save my ass after i messed with my device
Balaji Dasari said:
ohhh
then what is the solution ?????
Click to expand...
Click to collapse
Just flash the twrp image file again. The one you used before. Just flash it again. The same way you did back then.

Help! Tried installing TWRP now my phone ONLY boots into TWRP!

I'm on Whyred in the U.S.. I unlocked my bootloader today after the two week waiting period then tried to install TWRP with ADB command lines and got the
"FAILED (remote: Anti-rollback check failed)" error so I then attempted to install TWRP through the TWRP recovery itself but accidentally ticked "Boot" as the destination. Now my phone will only boot into TWRP recovery and I can't get into MIUI 9.6.3.0 anymore! What can I do to bring my phone back?
JackOfOwls said:
I'm on Whyred in the U.S.. I unlocked my bootloader today after the two week waiting period then tried to install TWRP with ADB command lines and got the
"FAILED (remote: Anti-rollback check failed)" error so I then attempted to install TWRP through the TWRP recovery itself but accidentally ticked "Boot" as the destination. Now my phone will only boot into TWRP recovery and I can't get into MIUI 9.6.3.0 anymore! What can I do to bring my phone back?
Click to expand...
Click to collapse
Download the miui 9.6.3.0 rom, extract boot.img from that, copy it to phone, flash it in the boot partition, voila.
http://bigota.d.miui.com/V9.6.3.0.O...ProGlobal_V9.6.3.0.OEIMIFD_7fe1fc0813_8.1.zip
attitude12 said:
Download the miui 9.6.3.0 rom, extract boot.img from that, copy it to phone, flash it in the boot partition, voila.
http://bigota.d.miui.com/V9.6.3.0.O...ProGlobal_V9.6.3.0.OEIMIFD_7fe1fc0813_8.1.zip
Click to expand...
Click to collapse
It worked! You're a lifesaver, man. Thought for sure I had FUBARed my new phone. I used an OTG USB stick to flash the boot.img from.
JackOfOwls said:
It worked! You're a lifesaver, man. Thought for sure I had FUBARed my new phone. I used an OTG USB stick to flash the boot.img from.
Click to expand...
Click to collapse
Glad I could help. Next time, be more careful. ??
I don't think I'd be monkeying around so much with my new phone if Xiaomi didn't make it so damn difficult to install TWRP recovery on their "anti-rollback" roms now. It's impossible to install TWRP using adb now because of the ""FAILED (remote: Anti-rollback check failed)" error and even installing TWRP Recovery through TWRP doesn't seem to work, or at least I can't figure out how to do it (it reboots to stock recovery). Bah. I think we need an updated guide or something.
JackOfOwls said:
I don't think I'd be monkeying around so much with my new phone if Xiaomi didn't make it so damn difficult to install TWRP recovery on their "anti-rollback" roms now. It's impossible to install TWRP using adb now because of the ""FAILED (remote: Anti-rollback check failed)" error and even installing TWRP Recovery through TWRP doesn't seem to work, or at least I can't figure out how to do it (it reboots to stock recovery). Bah. I think we need an updated guide or something.
Click to expand...
Click to collapse
You need to flash lazyflasher after you flash TWRP within TWRP. So that MIUI won't replace it with its stock recovery every time.
attitude12 said:
You need to flash lazyflasher after you flash TWRP within TWRP. So that MIUI won't replace it with its stock recovery every time.
Click to expand...
Click to collapse
Okay, I finally figured out the problem. I was installing lazyflasher right after installing TWRP Recovery and got no errors, but every guide I've read has been telling me to press both "power" and "volume +" until I see the Mi Logo then release "power" while continuing to press "volume +" until the TWRP recovery screen shows up but every time I did that it would boot right into Android. But on my phone I have to release both buttons as soon as I see the Mi Logo and then it will boot into TWRP. So that was what was stumping me. Now it's all sorted and I just made my first Backup with TWRP so all is golden now
Thanks for all your help.
JackOfOwls said:
Okay, I finally figured out the problem. I was installing lazyflasher right after installing TWRP Recovery and got no errors, but every guide I've read has been telling me to press both "power" and "volume +" until I see the Mi Logo then release "power" while continuing to press "volume +" until the TWRP recovery screen shows up but every time I did that it would boot right into Android. But on my phone I have to release both buttons as soon as I see the Mi Logo and then it will boot into TWRP. So that was what was stumping me. Now it's all sorted and I just made my first Backup with TWRP so all is golden now
Thanks for all your help.
Click to expand...
Click to collapse
No problem, glad all is fine now.
attitude12 said:
No problem, glad all is fine now.
Click to expand...
Click to collapse
I have one final question which you might be able to answer: if I wanted to re-lock the bootloader and unroot my device back to factory defaults, I heard I can just flash the MIUI 9.6.3.0 rom over my existing install of MIUI 9.6.3.0. Where would I download the correct rom for that for my Xiaomi Redmi Note 5 (model #: M1803E7SH) for the GSM Unlocked Global version I have?
JackOfOwls said:
I have one final question which you might be able to answer: if I wanted to re-lock the bootloader and unroot my device back to factory defaults, I heard I can just flash the MIUI 9.6.3.0 rom over my existing install of MIUI 9.6.3.0. Where would I download the correct rom for that for my Xiaomi Redmi Note 5 (model #: M1803E7SH) for the GSM Unlocked Global version I have?
Click to expand...
Click to collapse
Download fastboot ROM and flash it using MiFlash, you have to select clean all and lock option to relock bootloader
en.miui.com/a-234.html for fastboot ROM. Latest ROM version is 9.6.4
http://en.miui.com/download-342.html#508 for recovery ROM
JackOfOwls said:
I have one final question which you might be able to answer: if I wanted to re-lock the bootloader and unroot my device back to factory defaults, I heard I can just flash the MIUI 9.6.3.0 rom over my existing install of MIUI 9.6.3.0. Where would I download the correct rom for that for my Xiaomi Redmi Note 5 (model #: M1803E7SH) for the GSM Unlocked Global version I have?
Click to expand...
Click to collapse
This the link for 9.6.3.0 fastboot rom: http://bigota.d.miui.com/V9.6.3.0.O...FD_20180810.0000.00_8.1_global_2866f278d0.tgz
You got a guide in the previous comment.
P.S: This is the link i'm using if i wanna flash any official miui rom. You got fastboot/recovery versions. Tho' it's in russian.
I can't install twrp, how do you install TWRP through the TWRP recovery itself ?

Can NOT boot into custom recovery after MIUI Pie 10.3.1 Global Stable update

My bootloader is unlocked.
After installing PIE update to MIUI Global 10.3.1.0 Stable, when I try to boot OrangeFox recovery ver. R9.0-2 for Whyred using fastboot command "fastboot boot recovery.img" in CMD ( the result is shown below), the phone does NOT boot in OrangeFox recovery. It just remain stuck on MI logo after booting ...
C:\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' OKAY [ 0.951s]
booting OKAY [ 0.157s]
Finished. Total time: 1.158s
Kindly advise on how to resolve the issue
Did you temporarily deactivate the Anti-Rollback-Feature with
>fastboot flash antirbpass dummy.img
where you will find the dummy.img in the official download of the Xiaomi firmware before trying to boot into recovery?
This needs to be done in the same fastboot-session that you want to boot into recovery.
NOTE 5 PRO Soft Bricked recovery bootLoop after MIUI Pie 10.3.1 Global Stable update
One more!! Hello i have a note 5 pro, yesterday it received automatic OTA update of miui 10.3.1.0.PEIMIXM with android 9.0, after install it soft bricked saying this miui version cant be installed on this device.
it lets me wipe data, which didnt help, also i connect with mi assistant using my pc suite nothing works, pc suite wont even recognize the phone on windows 10,.
PLEASE HELP! !
Kindly advise on how to resolve the issue[/QUOTE]
JosephusQuint said:
Did you temporarily deactivate the Anti-Rollback-Feature with
>fastboot flash antirbpass dummy.img
where you will find the dummy.img in the official download of the Xiaomi firmware before trying to boot into recovery?
This needs to be done in the same fastboot-session that you want to boot into recovery.
Click to expand...
Click to collapse
Many thanks for the advice. Worked like a charm. :good:
No, I did NOT deactivate the Anti-Rollback-Feature which was causing the problem.
In the past, whenever I installed custom recovery on my device including the first time, I did NOT have to flash dummy.img as my device booted into custom recovery without flashing dummy.img.
P.S.: I used dummy.img from this thread:
Everything About Anti Roll-back [Whyred]
ExoticPoint said:
One more!! Hello i have a note 5 pro, yesterday it received automatic OTA update of miui 10.3.1.0.PEIMIXM with android 9.0, after install it soft bricked saying this miui version cant be installed on this device.
it lets me wipe data, which didnt help, also i connect with mi assistant using my pc suite nothing works, pc suite wont even recognize the phone on windows 10,.
PLEASE HELP! !
Kindly advise on how to resolve the issue
Click to expand...
Click to collapse
ONLY IF you have Unlocked-Bootloader, then you can use this MIUI Flashing Guide- Method 2: Fastboot Update to unbrick your device.
Please carefully chose the firmware version (Global / India) to download the fastboot stock ROM for your device.
Lahoria said:
Many thanks for the advice. Worked like a charm. :good:
No, I did NOT deactivate the Anti-Rollback-Feature which was causing the problem.
In the past, whenever I installed custom recovery on my device including the first time, I did NOT have to flash dummy.img as my device booted into custom recovery without flashing dummy.img.
P.S.: I used dummy.img from this thread:
Everything About Anti Roll-back [Whyred]
Click to expand...
Click to collapse
Great that it solved your problem!
As addendum: The Anti-Rollback (afaik) has to be disabled every single time the recovery is changed/updated. This caught me off guard as I wanted to update TWRP from within the offical TWRP app. This failed and made my recovery unusable (Although I could still normally boot into system).
So let this be a cautionary tale to people.
I can't boot to my custom recovery in my redmi note 5. it is booting to the original recovery. I tried TWRP and REDWOLF recoveries . It will boot in the first time, then I reboot my phone after that when I reboot, it is booting to the original recovery. Same happened when I tried RED WOLf recovery. Pls help me.
Ayyappadas said:
I can't boot to my custom recovery in my redmi note 5. it is booting to the original recovery. I tried TWRP and REDWOLF recoveries . It will boot in the first time, then I reboot my phone after that when I reboot, it is booting to the original recovery. Same happened when I tried RED WOLf recovery. Pls help me.
Click to expand...
Click to collapse
After flash twrp, just flash magisk zip through twrp recovery...

Categories

Resources