Stock recovery automatically replace - Xiaomi Mi Mix 2 Questions & Answers

Goodmorning, I've a strange problem with flashing recovery.
I used lastest fastboot
I've flashed the recovery (fastboot flash...) Then booted into it directly (fastboot boot recovery...) And obviously problems with mounting data.
The real problem is that when I reboot system , twrp is automatically erased and stock recovery is mounted.
I've tried everything, new recovery,new fastboot...
Please help me

That's standard with a lot of OEM ROMS on many different phones. You can flash magisk or SuperSU to preserve your flashed twrp.

sbeaber4 said:
That's standard with a lot of OEM ROMS on many different phones. You can flash magisk or SuperSU to preserve your flashed twrp.
Click to expand...
Click to collapse
That won't work, the no-verity-opt zip is needed to preserve twrp or it will always revert back to the stock one.

Go here
https://forum.xda-developers.com/mi-mix-2/how-to/guide-mi-mix-2-unroot-restore-recovery-t3770690
And DL the TWRP & no-verity-opt-encrypt 1.6
follow the directions starting with
Open a command prompt and verify your device appears in fastboot
Then run
Code:
fastboot flash recovery C:\Twrp__chinese_Android8.img
Click to expand...
Click to collapse

Pitrino said:
Goodmorning, I've a strange problem with flashing recovery.
I used lastest fastboot
I've flashed the recovery (fastboot flash...) Then booted into it directly (fastboot boot recovery...) And obviously problems with mounting data.
The real problem is that when I reboot system , twrp is automatically erased and stock recovery is mounted.
I've tried everything, new recovery,new fastboot...
Please help me
Click to expand...
Click to collapse
- flash latest twrp https://twrp.me/xiaomi/xiaomimimix2.html
- reboot to recovery with hardware keys (volume-up + power) immediately after flashing
That solved the problem for me.

Related

[Please help]Bootloop, adb "unauthorized, fastboot flash not working, CWN not working

[Please help]Bootloop, adb "unauthorized, fastboot flash not working, CWN not working
Hi everybody!
First of all, I'm not an Android noob, I've experience with fastboot and adb commands, android app developement and Stock/Custom Roms/recoveries in general.
Also, I extensively used google and the xda search for this issue but unfortunately didn't come any further.
To make things a little shorter, and avoid a wall of text, here are my problems.
- I'm using CM11 and CWM on a rooted Maguro.
- Initial Problem: Device is stuck in a Bootloop and I want to backup my personal data
- Therfore, wiping is not desired.
- I can boot into Downloading Mode (e.g. for Odin) and Bootloader Mode
- I can boot into recovery (CWM 6.0.4.7) through bootloader menu or fastboot
- In recovery, adb recognizes the device but it is displayed as "unauthorized", so I cant pull any files that way
- Afaik, the device should be accessible in recovery mode, so I thought maybe it would be a good idea, if I installed TWRP instead of CWM and see if it works then.
- I tried installing the new recovery (TWRP) through fastboot (fastboot erase recovery, fastboot flash recovery), and fastboot states, that it was successfull. HOWEVER, when I reboot, the recovery is still CWM and untouched.
- I read, that CM11 may under certain circumstances overwrite any recovery with CWM ob boot, so I made sure to direktly boot into recovery from the bootloader after flashing TWRP over fastboot. Still, CWM is untouched.
- I tried installing TWRP over Odin. Odin too states, that flashing the recovery was successful, but again, CWM remains untouched.
- Then I tried erasing and reflashing "bootloader", "radio", "boot" and a stock "system" through fastboot. (I carefully did not erase "userdata"). All finished successfully according to fastboot but a reboot showed the system in the same state as before.
- At this point, I assume, that I don't have write-access to the device anymore, as silly as that sounds.
At this point, I'm stuck at a dead end and don't know how to proceed, so every help you could provide would be incredibly appreciated.
Of course, I'm also willing to go into more details, but in order to keep this post from getting too long, I didn't do it in the first place.
Many thanks in advance for oyu assistance!
Greetings
Jules
i have the same problem
jules.renz said:
Hi everybody!
First of all, I'm not an Android noob, I've experience with fastboot and adb commands, android app developement and Stock/Custom Roms/recoveries in general.
Also, I extensively used google and the xda search for this issue but unfortunately didn't come any further.
To make things a little shorter, and avoid a wall of text, here are my problems.
- I'm using CM11 and CWM on a rooted Maguro.
- Initial Problem: Device is stuck in a Bootloop and I want to backup my personal data
- Therfore, wiping is not desired.
- I can boot into Downloading Mode (e.g. for Odin) and Bootloader Mode
- I can boot into recovery (CWM 6.0.4.7) through bootloader menu or fastboot
- In recovery, adb recognizes the device but it is displayed as "unauthorized", so I cant pull any files that way
- Afaik, the device should be accessible in recovery mode, so I thought maybe it would be a good idea, if I installed TWRP instead of CWM and see if it works then.
- I tried installing the new recovery (TWRP) through fastboot (fastboot erase recovery, fastboot flash recovery), and fastboot states, that it was successfull. HOWEVER, when I reboot, the recovery is still CWM and untouched.
- I read, that CM11 may under certain circumstances overwrite any recovery with CWM ob boot, so I made sure to direktly boot into recovery from the bootloader after flashing TWRP over fastboot. Still, CWM is untouched.
- I tried installing TWRP over Odin. Odin too states, that flashing the recovery was successful, but again, CWM remains untouched.
- Then I tried erasing and reflashing "bootloader", "radio", "boot" and a stock "system" through fastboot. (I carefully did not erase "userdata"). All finished successfully according to fastboot but a reboot showed the system in the same state as before.
- At this point, I assume, that I don't have write-access to the device anymore, as silly as that sounds.
At this point, I'm stuck at a dead end and don't know how to proceed, so every help you could provide would be incredibly appreciated.
Of course, I'm also willing to go into more details, but in order to keep this post from getting too long, I didn't do it in the first place.
Many thanks in advance for oyu assistance!
Greetings
Jules
Click to expand...
Click to collapse
ROM: FML-AOSP-5.0-20141207-maguro.zip (http://forum.xda-developers.com/galaxy-nexus/development/rom-fml-fork-life-06-05-2014-v2-t2764064)
Recovery: CWM V6.0.5.1
majeida said:
ROM: FML-AOSP-5.0-20141207-maguro.zip (http://forum.xda-developers.com/galaxy-nexus/development/rom-fml-fork-life-06-05-2014-v2-t2764064)
Recovery: CWM V6.0.5.1
Click to expand...
Click to collapse
Sorry, but I can't see, how this is supposed to help, since my problem is not "I'm looking for a new ROM"
sorry for the misunderstanding
jules.renz said:
Sorry, but I can't see, how this is supposed to help, since my problem is not "I'm looking for a new ROM"
Click to expand...
Click to collapse
sorry i have the same problem .
I'm using FML-AOSP-5.0-20141207-maguro and CWM V6.0.5.1 on a rooted Maguro.
Your personal data includes what?? Apps or photos and videos?
varadparulekarofficial said:
Your personal data includes what?? Apps or photos and videos?
Click to expand...
Click to collapse
yes
have you tried using the fastboot boot "/path/to/recovery.img-name-here" fastboot option to just directly boot into twrp without installing it? I used to use fastboot boot for different recovery and boot imgs I wanted to test out first before actually installing them. and I had a similar issue to what yours sounds like before in which I was able to use fastboot boot recovery.img when I wasn't able to get different custom recovery to install at the time.
ashclepdia said:
have you tried using the fastboot boot "/path/to/recovery.img-name-here" fastboot option to just directly boot into twrp without installing it? I used to use fastboot boot for different recovery and boot imgs I wanted to test out first before actually installing them. and I had a similar issue to what yours sounds like before in which I was able to use fastboot boot recovery.img when I wasn't able to get different custom recovery to install at the time.
Click to expand...
Click to collapse
I used this method
*I boot into costum temporary recovery "TWRP 2.8.3.0" Then I tried erasing and reflashing "bootloader", "radio", "boot" and new "system" through recovery All finished successfully according to TWRP but a reboot showed the system in the same state as before

[HELP] Unable to flash Stock/TWRP recovery or Any ROM via FASTBOOT(bootloader)

I was on OOS community build 3.5.3 with modified twrp-3.0.2-19-oneplus3.
I wiped everything except internal storage after that I tried to flash official TWRP.
After installing official twrp via modified TWRP. Niether I can boot into my recovery nor able to install any recovery via fastboot.
it I use "fastboot flash recovery recovery.img"
after installing recovery with this command My bootloader get stuck then I have to again restart my bootloader.
please help
You're probably stil on 3.5.2 firmware which isnt compatible with official twrp. Try and get into fastboot and try flashing modified twrp again. Then reboot in recovery and flash 3.2.6 firmware (not the rom) from modified twrp. Then reboot and flash official twrp from recovery or in flashify app.
i had this problem the other day, fixed this by flashing the modified recovery from a post here turn it off the booted it up by holding vol down + power and somehow it worked i was able to go into twrp
innocentwoolf said:
I was on OOS community build 3.5.3 with modified twrp-3.0.2-19-oneplus3.
I wiped everything except internal storage after that I tried to flash official TWRP.
After installing official twrp via modified TWRP. Niether I can boot into my recovery nor able to install any recovery via fastboot.
it I use "fastboot flash recovery recovery.img"
after installing recovery with this command My bootloader get stuck then I have to again restart my bootloader.
please help
Click to expand...
Click to collapse
I have same issue it is called half-brick go to full brick post here (http://forum.xda-developers.com/oneplus-3/how-to/guide-mega-unbrick-guide-hard-bricked-t3405700)
read whole post and prefer method 2 it will work like charm and i got when i am installing freedom os CE version and if it work then thank me
are you stuck with a black screen when booting to recovery if yea then wits the same situation i was in.
http://forum.xda-developers.com/showpost.php?p=68691560&postcount=56 that recovery helped me
Seagorilla2 said:
You're probably stil on 3.5.2 firmware which isnt compatible with official twrp. Try and get into fastboot and try flashing modified twrp again. Then reboot in recovery and flash 3.2.6 firmware (not the rom) from modified twrp. Then reboot and flash official twrp from recovery or in flashify app.
Click to expand...
Click to collapse
yes.. tried that only and it worked...
thanks
danxtian said:
are you stuck with a black screen when booting to recovery if yea then wits the same situation i was in.
http://forum.xda-developers.com/showpost.php?p=68691560&postcount=56 that recovery helped me
Click to expand...
Click to collapse
that helped me to thanks

[SOLVED] HELP! i'm stuck in a boot loop! :(

my flashing history:
i was on audax (oos based nougat rom) with blu spark kernel before, then went to official ob1, then back to audax, then back to stock oos nougat and now i flashed audax and after clean flashing it, it just wont boot up.
when i try to boot up i see the 1+ logo but then it reboots to recovery. i also tried flashing stock nougat again and also flashed stock kernel manually but it also doesnt work.
i always do:
1. wipe system/dalvic/cache/data
2. install ROM
3. wipe dalvik/cache
4. flash magisk (also tried without flashing magisk)
5. reboot
i've been looking on the interwebs all day but nothing worked.. help pls :/
EDIT: problem was blu spark twrp. Maybe installing Oreo ****ed it up. I flashed codeworkx newest twrp universal build and now Im able to boot again!! Btw: I also found that magisk 15.0 prohibits a proper boot up and results in a boot loop. version 15.2, however, does the trick!
when it auto reboot to recovery, formate data
When s**t happens, it is wise to start everything from scratch:
-boot in fastboot mode and flash stock recovery with "fastboot flash recovery recovery.img" (rename recovery.img with your recovery filename), then reboot recovery and select english, advanced, adb sideload;
-flash stock OS with "adb sideload rom.zip" (rename rom.zip with your Oxygen OS filename).
Procedure will require some minute because of the large file size. Remember to save all your data on internal storage first!
I advice you to flash original recovery because often sideloading in TWRP leads to some error.
Your phone will boot again... after that you may reflash TWRP, Magisk etc
I had the same issue. Bootloop and jumb into recovery by itself. You have to flash magisk 15.2 via recovery and will be boot.
redatak said:
I had the same issue. Bootloop and jumb into recovery by itself. You have to flash magisk 15.2 via recovery and will be boot.
Click to expand...
Click to collapse
He says that it occurs even without Magisk... I had a similar trouble once, and the only way to solve it was the procedure I wrote above...
I dont know if you can boot it w/o root
redatak said:
I dont know if you can boot it w/o root
Click to expand...
Click to collapse
Why not? Stock OS is not rooted.
jonsat said:
Why not? Stock OS is not rooted.
Click to expand...
Click to collapse
He said audrax not stock oos
SOLVED! TWRP was the only variable left that I didn't think of. See initial post for solution. thx for help!

[Recovery][TWRP] Mi 8 Lite TWRP-3.2.3 Multilanguage from 4pda

RECOVERY information:
Name Version: Xiaomi Mi 8 Lite Multilanguage TWRP
Download:
DOWNLOAD
MOD EDIT: Link removed, side is containing warez
How to install:
Fastboot just run .bat file to install it from fastboot mode
TWRP.img can be flashed manually from fastboot
all credits goes to @wzsx150, and poison-74 (4pda)
U know if this is compatible with latest Miui EU rom?
Is data decryptable?
Not entire related to Platina but Mi8 SE users are having trouble with twrp and miui eu.
Thanks.
Have downloaded and installed file recovery.img with twrp, works ok with xiaomi.eu rom.
I have MIUI 10 xiaomi.eu 9.1.10 android 9
lucainno said:
Have downloaded and installed file recovery.img with twrp, works ok with xiaomi.eu rom.
I have MIUI 10 xiaomi.eu 9.1.10 android 9
Click to expand...
Click to collapse
Can you enter in twrp and see if data folder is avalable?
Or it ask a password?
Go recovery no enter password, press cancell .
Before wipe Save All data to PC
(this action wipe All data and internal Memory) Wipe data factory reset and reboot phone
install update recovery.img multilanguage
Please help me, how enter to twrp recovery on Mi8 Lite ? I try all buttons combinations and nothing.
Power of phone
Press Vol + and Power for 5 seconds for enter recovery
Hi guys, I just went from Redmi5 Plus to Mi8 lite, unfortunately I have to wait for the famous 360 hours in the meantime I'm downloading what I need on the R5Plus was available Orange Fox recovery, which automatically decrypted the partitions without having to install lazy Flasch later, here how does this TWRP mod do this?
I would like to install the Xiaomi Eu as soon as I unlock the bootloader I am currently on last Global Stable 10.2.2.0 a help thanks.
It's work on android pie beta global 9.3.1?
this should be a new one:
MOD EDIT: Link removed, side is containing warez
This build does not work with Pie - can someone update the initial post?
excuse me sir, ust want to ask, after flashing twrp 1003 version why after reboot always revert to stock recovery, is there any to fix it, thanks
edit : i already fix it
falqon said:
excuse me sir, ust want to ask, after flashing twrp 1003 version why after reboot always revert to stock recovery, is there any to fix it, thanks
edit : i already fix it
Click to expand...
Click to collapse
Could you please share how you fixed it?
Just upgraded the ROM to 10.3.2.0 and now TWRP recovery always reverted to stock recovery after reboot.
reflash your twrp via adb and when u type "fastboot reboot" press and hold Volume Up until enter twrp, and then try to reboot recovery via twrp. i can't share youtube link, afk right now
falqon said:
reflash your twrp via adb and when u type "fastboot reboot" press and hold Volume Up until enter twrp, and then try to reboot recovery via twrp. i can't share youtube link, afk right now
Click to expand...
Click to collapse
Done this several times, but I didn't use hard buttons, instead i used fastboot boot recovery.img command to reboot to recovery after flashing recovery. I also tried rebooting to recovery from twrp without problem, but after rebooted to system, twrp reverted to stock recovery, everytime.
I didn't have this problem with MIUI 10.3.1.0 with the same TWRP.
edit : I'm using TWRP 0330 btw, and somehow there was no swipe to allow modification confirmation when the phone rebooted to twrp for the 1st time after flashing twrp.
Wonder why.
ne0t said:
Done this several times, but I didn't use hard buttons, instead i used fastboot boot recovery.img command to reboot to recovery after flashing recovery. I also tried rebooting to recovery from twrp without problem, but after rebooted to system, twrp reverted to stock recovery, everytime.
I didn't have this problem with MIUI 10.3.1.0 with the same TWRP.
edit : I'm using TWRP 0330 btw, and somehow there was no swipe to allow modification confirmation when the phone rebooted to twrp for the 1st time after flashing twrp.
Wonder why.
Click to expand...
Click to collapse
check your display panel via device hardware info on playstore, mine is synaptic, not all twrp version work on this panel, i'm using twrp 3.2.3-1003 btw
https://www.youtube.com/watch?v=7eeiSm7rzZY
falqon said:
check your display panel via device hardware info on playstore, mine is synaptic, not all twrp version work on this panel, i'm using twrp 3.2.3-1003 btw
https://www.youtube.com/watch?v=7eeiSm7rzZY
Click to expand...
Click to collapse
Tks, but I don't have problem with TWRP 0330, it works fine, including touch screen, the problem is TWRP get replaced by Stock Recovery everytime I boot my my phone to system.
I don't want to root my phone, just like to have TWRP recovery around so I can use it to flash hosts file for ads blocking and some other things.
Someone told me i need to flash lazyflasher...I'm going to do it later ..
ne0t said:
Tks, but I don't have problem with TWRP 0330, it works fine, including touch screen, the problem is TWRP get replaced by Stock Recovery everytime I boot my my phone to system.
I don't want to root my phone, just like to have TWRP recovery around so I can use it to flash hosts file for ads blocking and some other things.
Someone told me i need to flash lazyflasher...I'm going to do it later ..
Click to expand...
Click to collapse
Boot to recovery through fastboot and then flash the image or the zip through TWRP, then to flash it reboot again to TWRP before to boot up to system.
SubwayChamp said:
Boot to recovery through fastboot and then flash the image or the zip through TWRP, then to flash it reboot again to TWRP before to boot up to system.
Click to expand...
Click to collapse
Tried that too, actually more, boot to recovery from fastboot with fastboot boot recovery.img command and also hard button, boot to recovery from twrp recovery, flash recovery.img, boot to twrp recovery again twice, but stock recovery still came back.
ne0t said:
Tried that too, actually more, boot to recovery from fastboot with fastboot boot recovery.img command and also hard button, boot to recovery from twrp recovery, flash recovery.img, boot to twrp recovery again twice, but stock recovery still came back.
Click to expand...
Click to collapse
No. don´t try to boot to recovery from fastboot after to flash it, don´t flash it through fastboot.
Do the next three steps and see what happens but do it exactly the same or won´t worth the try:
- In fastboot delete recovery partition by typing fastboot erase recovery
- Then reboot to recovery (don´t flash it yet) by typing fastboot boot twrp.img (rename recovery image firstly to twrp)
- Now once in TWRP flash the zip or image to the recovery partition, when you finish go to Reboot options within TWRP and choose recovery to boot to it before to boot up to system. If you boot at this instance to TWRP then the issue have to be solved, reboot normally to system.
Edit: If this way the problem is not solved then after to install TWRP flash Magisk that can prevent it to be overwritten.

Unable to boot into TWRP recovery (twrp-3.2.3-1 dumpling/OOS 9.0.3 Pie)

Hey Guys,
somehow, I seem to be too dumb to install TWRP to my new dumpling. I did the following:
- run the official updates (9.0.3 Pie)
- unlock the bootloader using adb
- successfully flash the latest TWRP recovery (twrp-3.2.3-1 dumpling from their HP)
So far, no problems at all. Then I booted directly into recovery, so it won't be overwritten again: I tried unplug + Power/Volume Down, command "fastboot reboot recovery" and selecting recovery from the menu. But everytime I end up with the beautiful stock recovery, I never even saw the TWRP interface.
Any suggestions ? Any help would be much appreciated!!
My only idea: The latest TWRP is from 08/2018, maybe its not compatible to Pie ?!
_Kingo said:
Hey Guys,
somehow, I seem to be too dumb to install TWRP to my new dumpling. I did the following:
- run the official updates (9.0.3 Pie)
- unlock the bootloader using adb
- successfully flash the latest TWRP recovery (twrp-3.2.3-1 dumpling from their HP)
So far, no problems at all. Then I booted directly into recovery, so it won't be overwritten again: I tried unplug + Power/Volume Down, command "fastboot reboot recovery" and selecting recovery from the menu. But everytime I end up with the beautiful stock recovery, I never even saw the TWRP interface.
Any suggestions ? Any help would be much appreciated!!
My only idea: The latest TWRP is from 08/2018, maybe its not compatible to Pie ?!
Click to expand...
Click to collapse
hi dude, to stay on TWRP you have to flash MAGISK, if not TWRP will always be overwritten by the StockRecovery!!
flash TWRP
reboot into TWRP
flash Magisk within TWRP
reboot system
happy flashing!
nicorvienne said:
hi dude, to stay on TWRP you have to flash MAGISK, if not TWRP will always be overwritten by the StockRecovery!!
flash TWRP
reboot into TWRP
flash Magisk within TWRP
reboot system
happy flashing!
Click to expand...
Click to collapse
Hi, thanks, but I think you did not understand my problem: I can't reboot into TWRP. Instead I end up in stock, no matter what I do...
_Kingo said:
Hi, thanks, but I think you did not understand my problem: I can't reboot into TWRP. Instead I end up in stock, no matter what I do...
Click to expand...
Click to collapse
hi dude, sorry - now i got you
# after flashed TWRP unplug your device and reboot directly into the bootloader-mode (‘Volume Up’ + ‘Power’ button altogether) and navigate to 'Recovery' or
# fastboot boot 'recovery.img'
i recommend flashing twrp-3.2.3-x_blu_spark_v9.91_treble-op5_op5t.img : https://github.com/engstk/android_device_oneplus_cheeseburger/releases
SOLVED
I tried the 9.x recovery from this thread:
https://forum.xda-developers.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673
works like a charm!
I thougth, the official TWRP site would be the best source, but well... lesson learnt. Anyway, thanks for trying to help, nicorvienne
_Kingo said:
Hey Guys,
somehow, I seem to be too dumb to install TWRP to my new dumpling. I did the following:
- run the official updates (9.0.3 Pie)
- unlock the bootloader using adb
- successfully flash the latest TWRP recovery (twrp-3.2.3-1 dumpling from their HP)
So far, no problems at all. Then I booted directly into recovery, so it won't be overwritten again: I tried unplug + Power/Volume Down, command "fastboot reboot recovery" and selecting recovery from the menu. But everytime I end up with the beautiful stock recovery, I never even saw the TWRP interface.
Any suggestions ? Any help would be much appreciated!!
My only idea: The latest TWRP is from 08/2018, maybe its not compatible to Pie ?!
Click to expand...
Click to collapse
try this.
https://forum.xda-developers.com/oneplus-5t/development/root-install-twrp-xposed-framework-t3910141
Newbie needs help twrp
I am having the same problem and I have tried everything I unlock bootloader and flash TWRP successfully except I can never get into TWRP I try the key combo I tried to use the fastboot command all it does is it brings me back to fastboot mode how can I get to twrp with my new OnePlus 5T
[email protected] said:
I am having the same problem and I have tried everything I unlock bootloader and flash TWRP successfully except I can never get into TWRP I try the key combo I tried to use the fastboot command all it does is it brings me back to fastboot mode how can I get to twrp with my new OnePlus 5T
Click to expand...
Click to collapse
try to flash an older version of twrp through "ADB minimal fast boot".
I use Twrp and am not using Magisk or rooted.

Categories

Resources