Hey guys, I'm having a problem.
I've installed the Miui 10 8.7.12 Global Beta and all is well, however i want to install TWRP so I can root and uninstall some Xiaomi apps still on the phone. However whenever I try to install TWRP via fastboot there are a few problems I face.
1) I flash twrp.img and its fine then I do fastboot reboot with volume up + power to go into recovery, but instead of taking me to TWRP, or even the stock recovery it keeps going back into fastboot mode.
2) When I try another method with adb reboot recovery it says device not found
3) If I try and directly go into recovery with fastboot boot twrp.img it restarts the phone and goes into the mi screen and nothing happens from there.
I've tried every possible combination I can think of and made sure I downloaded the proper TWRP from the official website and it still isn't working. Any input?
*EDIT*
I managed to figure it out! SORRY!!! Delete pls!
What was the problem?
how you solved ?
you got the anti rollback ?
You should boot phone with twrp.img like this. Don't reboot.
fastboot boot twrp.img
Then format data.
achfighter said:
You should boot phone with twrp.img like this. Don't reboot.
fastboot boot twrp.img
Then format data.
Click to expand...
Click to collapse
it works! thanks
achfighter said:
You should boot phone with twrp.img like this. Don't reboot.
fastboot boot twrp.img
Then format data.
Click to expand...
Click to collapse
really helpfull i was looking several days and didnt found, thanks
Quote:
Originally Posted by achfighter
You should boot phone with twrp.img like this. Don't reboot.
fastboot boot twrp.img
Then format data.
can i do this method without format data ?
I did it and I just got a: "The system has been destroyed" !!!! ¬_¬ -_-
achfighter said:
You should boot phone with twrp.img like this. Don't reboot.
fastboot boot twrp.img
Then format data.
Click to expand...
Click to collapse
syaren said:
Quote:
Originally Posted by achfighter
You should boot phone with twrp.img like this. Don't reboot.
fastboot boot twrp.img
Then format data.
can i do this method without format data ?
Click to expand...
Click to collapse
If you didn't format data, firmware may reinstall stock recovery after reboot.
Blue line, redline twrp blanck screen
Hi guys after installing miui pro miui 10 Oreo , my twrp become blank screen , i try to install using cmd , and i try to boot using cmd also didn't work , help me this .
Related
Hi everyone !
Yesterday, I wanted to wipe cache for some reasons, and I stupidly restarted the phone while formatting cache.
Result :
-A bootloop at the firt restart, then a "Error !"
-Can't acces Recovery mode, "Error !". I tried power button+volum up, don't work.
-ADB don't work anymore, I can't see the phone via adb devices
The only thing I can do is execute fastboot commands in Windows. I successfully made a tethered TWRP recovery, but I seriously don't know what to do from here. I tried flahsing a ROM, but it didn't worked (still have Error !).
I tried install permanent TWRP (unofficial), but I can't acces it. Probably because my bootloader is locked.
So... what should I do ?
Fastboot format cache should do the trick.
KillerNo2 said:
Fastboot format cache should do the trick.
Click to expand...
Click to collapse
I tried it.
Still don't start correctly, don't forget that I did some **** to try to fix it :s
The ROM is probably also damaged...
EDIT : Now it don't show the Error ! anymore, it always return to fastboot mode...
Baldriksen said:
I tried it.
Still don't start correctly, don't forget that I did some **** to try to fix it :s
The ROM is probably also damaged...
EDIT : Now it don't show the Error ! anymore, it always return to fastboot mode...
Click to expand...
Click to collapse
After formating cache you should've been able to get into recovery mode, if not, download recovery image from here then:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash fastboot droidboot.img
You can always sideload stock roms from there.
KillerNo2 said:
After formating cache you should've been able to get into recovery mode, if not, download recovery image from here then:
fastboot flash recovery recovery.img
fastboot flash boot boot.img
fastboot flash fastboot droidboot.img
You can always sideload stock roms from there.
Click to expand...
Click to collapse
I get this :
">fastboot flash F:\recovery.img
unknown partition 'F:\recovery.img'
error: cannot determine image filename for 'F:\recovery.img'"
EDIT : oh **** sorry i misswrited the command é_è
EDIT 2 : THANKS ! I have acces to normal recovery. Can you tell me what should I do now ? (seriously don't want to make everything goes brick again ^^')
Baldriksen said:
I get this :
">fastboot flash F:\recovery.img
unknown partition 'F:\recovery.img'
error: cannot determine image filename for 'F:\recovery.img'"
Click to expand...
Click to collapse
Put all image files into the adb folder.
KillerNo2 said:
Put all image files into the adb folder.
Click to expand...
Click to collapse
Sorry, I edited my message, the error was from me.
So now I am on recovery... what should I do ?
Baldriksen said:
Sorry, I edited my message, the error was from me.
So now I am on recovery... what should I do ?
Click to expand...
Click to collapse
Download stock ROM from Asus site, and then sideload the ROM in recovery mode. Follow 3.2) Flashing Zenfone 2 via ADB in this thread.
KillerNo2 said:
Download stock ROM from Asus site, and then sideload the ROM in recovery mode.
Click to expand...
Click to collapse
Sideload with "Apply update from ADB" ?
The stock ROM is a zip of about 1.1GB ? I heard that their were update only package and full firmware ?
Baldriksen said:
Sideload with "Apply update from ADB" ?
The stock ROM is a zip of about 1.1GB ? I heard that their were update only package and full firmware ?
Click to expand...
Click to collapse
That zip file is a full firmware.
Thanks !
I did it and I have now the stock firmware installed correctly !
I have the same problem... But there is no option to fastboot format cache... only normal boot, power off, recovery mode... can't enter recovery mode either...
ndruqltn said:
I have the same problem... But there is no option to fastboot format cache... only normal boot, power off, recovery mode... can't enter recovery mode either...
Click to expand...
Click to collapse
You need to follow the steps in this thread to install drivers and adb package first. Fast boot firmat cache is the command that you should type in on your PC.
Just a thought but instead of trying to install anything through adb why not instal a pre-rooted rom img through fastboot too. You can always wipe out root with the next OTA...
I have already wipe cache and now boots up properly but the problem is that touch screen doesn't seem to work...
Can't connect my Zenfone 2 to my pc even though I have installed drivers and adb...
Hi guys,
I've just updated to newest OOS firmware wich is 5.1.2 and I'm facing a weird problem.
Every time I flash codeworks TWRP and reboot to system, the next time i try to boot to recovery it boots to the original recovery.
It's like when I flash TWRP it doesn't remain persistent. When i flash it through fastboot and straightly boot from fastboot to recoverry I succeed to get in TWRP but as soon as I reboot to system and try to boot to recovery I reach the original OnePlus recovery.
Is anyone facing the same problem ?
And also do you have any idea about what i could do to solve this problem ?
Thanks in advance for your answers !
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Adnan008 said:
If you don't have root or custom kernel its normal, plus you should use blu spark's twrp, its newer and more reliable.
Click to expand...
Click to collapse
Indeed, I just needed to flash magisk to get it persistent. I'll try blu spark's one as you suggested.
Thank you very much for your answer !
Cheers !
Nothing to do with recoveries or kernel. After you do the fastboot flash recovery TWRP in fastboot, do this: "fastboot boot TWRP". I believe that's the right command. Basically after you flash it, manually boot to recovery through fastboot one time. After that it'll work from inside the phone or with the button combination with the phone off.
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
pinnekeshaar said:
Jesus people are lazy these days.
First off there are official twrp versions for a reason!
Download the latest version: https://dl.twrp.me/dumpling/
Reboot into flash boot with the following command from your rom: adb reboot bootloader
With phone in fastboot mode: fastboot flash recovery 'twrp.img'
(You don't need to type out the entire file path you can just drag the file into the terminal and it'll insert the file location)
The reason you're not getting back into that recovery is because you're not booting into the recovery before you reboot into your ROM.
There is an option to boot straight into the recovery from the fastboot mode
Click to expand...
Click to collapse
Actually not that lazy because I used to do what you mentionned.
The thing is that a flash of Magik is needed to patch twrp. That's the step I forgot in the procedure and explained here.
So before being unpleasant, please know what you're talking about...
Cheers !
I have managed till installing twrp, however it seems like all the downloaded rom files and decrypt.zip are encrypted. I tried to copy 'em to the internal storage again but as I boot to twrp it again goes to encrypted mode. In Twrp, I tried to enable the MTP and copy files directly but it always fails. How do I go from here?? Please help!
Phone : MI mix 2
bootloader : unlocked
Twrp : installed
Twrp variant: Dwight twrp
Rom : Pixel Experience/ RR/ HAVOC etc
Use orange twrp
KaptanHarlock said:
Use orange twrp
Click to expand...
Click to collapse
orange twrp ? could you tell me where can I get it?
My 2 cents:
If you can still boot whatever OS you have right now, back up things you need (including internal storage), then format /data. Reboot into recovery and flash whatever you want, optionally DecScript to switch to unencrypted data after next boot. OrangeFox recovery is not necessary but its UI could be seen as intuitive to some.
AndyYan said:
My 2 cents:
If you can still boot whatever.... .
Click to expand...
Click to collapse
I can boot in Twrp and Miui10 OS too. I want to install custom rom, but the rom.zip files turns out encrypted when booting up in Twrp. while being in Twrp I tried to transfer " unencrypted rom.zip " files in my PC to internal storage to flash it but I can't transfer it even after enabling MTp in Twrp.
How do I install the rom is my problem. Shall I wipe data, cache? and then how?
xdasith said:
I can boot in Twrp and Miui10 OS too. I want to install custom rom, but the rom.zip files turns out encrypted when booting up in Twrp. while being in Twrp I tried to transfer " unencrypted rom.zip " files in my PC to internal storage to flash it but I can't transfer it even after enabling MTp in Twrp.
How do I install the rom is my problem. Shall I wipe data, cache? and then how?
Click to expand...
Click to collapse
So you're seeing the storage as encrypted (garbled content)? I never actually used encrypted data so I don't know for sure, but Wight's TWRP might not be able to decrypt MIUI's /data, so IMO you do need to format (not wipe) /data. You might also need to reboot to recovery once after that, so that the storage is recognized properly by PC.
..d properly by PC.[/QUOTE said:
Thanks. ok I will factory reset the phone reboot to twrp. Im using Mi phone for the first time, so i was scared that might locked the bootloader again. it wont relock the bootloader would it? guess im asking too many stupid questions. I never had to go thru this kinda situation on my samsung devices. Thanks for helping
Click to expand...
Click to collapse
AndyYan said:
So you'... C.
Click to expand...
Click to collapse
still not working. I wonder how people are installing Roms when you are booting in Twrp and finding everything encrypted.
xdasith said:
still not working. I wonder how people are installing Roms when you are booting in Twrp and finding everything encrypted.
Click to expand...
Click to collapse
Boot into TWRP and select Wipe and then Select the Format Data button.
Make sure you're not sliding to factory reset or advance wiping.
NOTE: This will erase all the information from the phone including internal storage. Make a backup prior this process.
After you're done, you can connect the phone to a PC while on TWRP to copy the rom zip files to internal storage and flash them. A backup from TWRP is highly recommended just in case.
xdasith said:
still not working. I wonder how people are installing Roms when you are booting in Twrp and finding everything encrypted.
Click to expand...
Click to collapse
Emphasis on "format (not wipe)"... Lester already made it clear for you.
lester0310 said:
Boot into TWRP and......
Click to expand...
Click to collapse
thanks. I'll do that as soon as I reach home. I'll let you know the progress. I hope everything works well.
AndyYan said:
Emphasis on "format (not wipe)"... Lester already made it clear for you.
Click to expand...
Click to collapse
Ok. Now I got it. I'll do that n will let you know. Thanks again. Can't wait to try the rom. I'll drop some "beer" coins in ROM's donate account soon. Hope the link works.
AndyYan said:
Emphasis on "format (not wipe)"... Lester already made it clear for you.
Click to expand...
Click to collapse
Thanks for the help. I'll drop some beer coins at your rom's Donate link soon
xdasith said:
I have managed till installing twrp..c
Click to expand...
Click to collapse
Hey! It works! I'm enjoying LOS16 on mi mix 2.
My problems :
1. Booting to Recovery Twrp :
only thru fastboot mode > fastboot boot twrp.img, Mi inbuilt recovery prevent me to boot to twrp.
Is there any way to go to twrp by just pressing buttons?
2. Flashing magisk/Universal_Decrypt.Zip Bootloops
xdasith said:
Hey! It works! I'm enjoying LOS16 on mi mix 2.
My problems :
1. Booting to Recovery Twrp :
only thru fastboot mode > fastboot boot twrp.img, Mi inbuilt recovery prevent me to boot to twrp.
Is there any way to go to twrp by just pressing buttons?
2. Flashing magisk/Universal_Decrypt.Zip Bootloops
Click to expand...
Click to collapse
Both work fine on my side so I'm assuming there's still something wrong with your setup, but on the other hand I don't really have a clue...
xdasith said:
Hey! It works! I'm enjoying LOS16 on mi mix 2.
My problems :
1. Booting to Recovery Twrp :
only thru fastboot mode > fastboot boot twrp.img, Mi inbuilt recovery prevent me to boot to twrp.
Is there any way to go to twrp by just pressing buttons?
2. Flashing magisk/Universal_Decrypt.Zip Bootloops
Click to expand...
Click to collapse
1- There are multiples ways to reboot to recovery:
Buttons combination: Turn the phone off and press Power + Volume Down and it will boot to recovery.
Apps (root required): There are multiples apps that has a option to reboot to recovery directly. Search something like advance reboot on Play Store.
adb (USB debugging required): Running the command "adb reboot recovery" from terminal will reboot the phone into recovery.
2- To flash magisk, first flash the rom and gapps and reboot to system, finish the initial setup and then reboot to recovery and flash the magisk zip file. Next reboot will take a few minutes.
Edit: The universal decrypt file is not necessary since the data partition is no longer encrypted.
lester0310 said:
1- There are multiples ways to reboot to recovery:
Buttons combination: Turn the phone off and press Power +...
Edit: The universal decrypt file is not necessary since the data partition is no longer encrypted.
Click to expand...
Click to collapse
Yes i agree. The thing is Mi has its own recovery, thats preventing me from going to twrp directly, (even though) twrp is properly installed. if i press the button combination it will go to the "Miui inbuilt recovery" Not to twrp. so i go the fastboot mode and boot to Twrp recovery thru adb command. If only I could suppress inbuilt recovery and boot to twrp recovery it would be great. Apps like "boot to recovery" only initiate booting in recovery. It fails to choose Twrp because there are two recovery inside.
In my previous devices, honor 8pro n Samsung 8+ this wasnt an issue. But with Mi phone...
Does yours boots to Twrp directly with the button combination?
xdasith said:
Yes i agree. The thing is Mi has its own recovery, thats preventing me from going to twrp directly, (even though) twrp is properly installed. if i press the button combination it will go to the "Miui inbuilt recovery" Not to twrp. so i go the fastboot mode and boot to Twrp recovery thru adb command. If only I could suppress inbuilt recovery and boot to twrp recovery it would be great. Apps like "boot to recovery" only initiate booting in recovery. It fails to choose Twrp because there are two recovery inside.
In my previous devices, honor 8pro n Samsung 8+ this wasnt an issue. But with Mi phone...
Does yours boots to Twrp directly with the button combination?
Click to expand...
Click to collapse
That's means that the TWRP recovery is not installed, there's is just one recovery partition and only one can be installed at the same time.
From fastboot mode run "fastboot flash recovery twrp.img"
That will replace the stock recovery and you will be able to boot to twrp with the button combination and any other app running the reboot recovery command.
lester0310 said:
That's means that the TWRP recovery is not installed, there's is just one recovery partition and only one can be installed at the same time.
From fastboot mode run "fastboot flash recovery twrp.img"
That will replace the stock recovery and you will be able to boot to twrp with the button combination and any other app running the reboot recovery command.
Click to expand...
Click to collapse
I installed Twrp with that command only once. After that, i have been using "fastboot boot twrp.img" only to boot in twrp.
Ok ill try reflashing twrp again with "fastboot flash recovery twrp.img"
xdasith said:
I can boot in Twrp and Miui10 OS too. I want to install custom rom, but the rom.zip files turns out encrypted when booting up in Twrp. while being in Twrp I tried to transfer " unencrypted rom.zip " files in my PC to internal storage to flash it but I can't transfer it even after enabling MTp in Twrp.
How do I install the rom is my problem. Shall I wipe data, cache? and then how?
Click to expand...
Click to collapse
Just remove lockscreen protection before rebooting into recovery. You will be fine. Do this before everytime you want something done in TWRP. You won't have to format DATA partition everytime. TWRP will decrypt with default password and you'll be good. I have moved between MIUI 10 and pie roms without trouble this way.
---------- Post added at 05:32 PM ---------- Previous post was at 05:31 PM ----------
xdasith said:
I installed Twrp with that command only once. After that, i have been using "fastboot boot twrp.img" only to boot in twrp.
Ok ill try reflashing twrp again with "fastboot flash recovery twrp.img"
Click to expand...
Click to collapse
You can just use power + volume up combo to get into TWRP recovery. You don't basically need to fastboot for recovery after it's installed.
Hi, yesterday I was flashing a rom with flash tool. It finished, reboot but it didn't start anymore. No fastboot nor recovery. Seems to be dead.
Is there a way to start it?
Thanks,
Andrés
Does this help?
Please report back.
Hi! thanks, it worked. Now I'm having a different issue with TWRP.
I install TWRP via fastboot, but i can't access the data inside the phone nor do the wipes. It shows errors.
When I boot the TWRP i don't enter any password or something like that.
Any ideas? It is a TWRP issue?
Thanks
andres88_ said:
Hi! thanks, it worked. Now I'm having a different issue with TWRP.
I install TWRP via fastboot, but i can't access the data inside the phone nor do the wipes. It shows errors.
When I boot the TWRP i don't enter any password or something like that.
Any ideas? It is a TWRP issue?
Thanks
Click to expand...
Click to collapse
Glad to hear your device is back from the dead.
Are all TWRP functions available? And all info gibberish?
Before installing TWRP, you can also see if it works without installing it by just booting it.
Code:
fastboot [B]boot[/B] recovery TWRP.img
See if folders are readable now, then extract data. Try different TWRP's. There are a few for Mi Max 3. Keep trying, TWRP does have some rare and occasional hiccups with password and decrypting. Also for me. Just reboot and try again until it works. Try to boot Orange Fox in recovery if needed.
Second, if nothing works, you may try and download the ROM you used before updating. Extract boot.img, recovery.img and system.img from old ROM and flash with fastboot:
Code:
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
This will restore the 3 .img's. Boot into recovery and see if you can pull data.
Let me kow if it helps because maybe otherwise you have to worry about flashing full ROM and lose data.
Addendum: if you run into trouble when flashing you can use Xiaomi ADB/ Fastboot Tools. Install Java first though. Also, please be aware of Xiaomi's ARB feature.
Hi everybody and thanks in advance.
1) I install TWRP through fastboot and a PC
2) I boot TWRP and it works fine
3) But then I restart the phone and it changes to stock xiaomi recovery
-I've tried with different TWRPs (geoanto and whyle)
-My device is a Mi10T
Why doesn't TWRP save completely into my system? Why does it change to stock recovery?
Hi,
after flashing twrp using the command "fastboot flash recovery twrp.img", type in adb "fastboot boot twrp.img" to boot directly to twrp and it won't be replaced after that by mi recovery.
zaqm said:
Hi,
after flashing twrp using the command "fastboot flash recovery twrp.img", type in adb "fastboot boot twrp.img" to boot directly to twrp and it won't be replaced after that by mi recovery.
Click to expand...
Click to collapse
Thanks for your answer
The problem I have now is that when I start the system and then try to open the recovery, it returns to the xiaomi stock one.
LikMaw said:
Thanks for your answer
The problem I have now is that when I start the system and then try to open the recovery, it returns to the xiaomi stock one.
Click to expand...
Click to collapse
Follow the procedure again to flash the twrp recovery using the abovementioned commands.
Good luck, zaqm!