I'm so to ask such a newb question, but I'm all out of ideas.
I unlocked the bootloader on my Mi 9 - I have the Chinese version.
I enabled developer options and turned on USB Debugging.
I downloaded TWRP.
I verified that I could push commands to my phone by rebooting it - adb reboot bootloader
That worked just fine. The phone booted to bootloader.
Then I tried to flash TWRP.
C:\Users\***\Documents\TEMP>fastboot flash recovery twrp-3.2.3-1-cepheus-mauronofrio.img
target reported max download size of 536870912 bytes
sending 'recovery' (56928 KB)...
OKAY [ 1.275s]
writing 'recovery'...
OKAY [ 0.305s]
finished. total time: 1.582s
C:\Users\***\Documents\TEMP>fastboot reboot
rebooting...
finished. total time: 0.003s
C:\Users\Brett\Documents\TEMP>
From what I can tell, the flash worked. I see no errors.
Following the instructions I see over at the Cyanogenmod forums, I held the Volume Up button.
The phone immediately went to bootloader.
I tried Volume Up and the Power button.
The phone immediately went to bootloader.
I saw somewhere that for phones that are Oreo and later, to use "recovery_ramdisk" but that partition does not exist.
It's almost like there is no recovery that I can boot up. I'm not sure what I am doing wrong.
Has anyone run into this before?
Thanks!
funmunke said:
I'm so to ask such a newb question, but I'm all out of ideas.
I unlocked the bootloader on my Mi 9 - I have the Chinese version.
I enabled developer options and turned on USB Debugging.
I downloaded TWRP.
I verified that I could push commands to my phone by rebooting it - adb reboot bootloader
That worked just fine. The phone booted to bootloader.
Then I tried to flash TWRP.
C:\Users\***\Documents\TEMP>fastboot flash recovery twrp-3.2.3-1-cepheus-mauronofrio.img
target reported max download size of 536870912 bytes
sending 'recovery' (56928 KB)...
OKAY [ 1.275s]
writing 'recovery'...
OKAY [ 0.305s]
finished. total time: 1.582s
C:\Users\***\Documents\TEMP>fastboot reboot
rebooting...
finished. total time: 0.003s
C:\Users\Brett\Documents\TEMP>
From what I can tell, the flash worked. I see no errors.
Following the instructions I see over at the Cyanogenmod forums, I held the Volume Up button.
The phone immediately went to bootloader.
I tried Volume Up and the Power button.
The phone immediately went to bootloader.
I saw somewhere that for phones that are Oreo and later, to use "recovery_ramdisk" but that partition does not exist.
It's almost like there is no recovery that I can boot up. I'm not sure what I am doing wrong.
Has anyone run into this before?
Thanks!
Click to expand...
Click to collapse
Try this dm-verity disabler
https://zackptg5.com/android.php#disverfe
What I did is like this
Flash rom
Flash dm-verity disabler
Flash magisk
Done
BTW, I don't quite understand your problem
Your phone stuck in bootloader or TWRP?
For TWRP you can try that dm-verity disabler
Thanks, this saved my life. I had problems with
"FAILED (remote: Token Verify Failed, Reboot the device)"
After i flashed the last rom i used(Pixel Experince) with this dm-verity disable it workes now !!
funmunke said:
I'm so to ask such a newb question, but I'm all out of ideas.
I unlocked the bootloader on my Mi 9 - I have the Chinese version.
I enabled developer options and turned on USB Debugging.
I downloaded TWRP.
I verified that I could push commands to my phone by rebooting it - adb reboot bootloader
That worked just fine. The phone booted to bootloader.
Then I tried to flash TWRP.
C:\Users\***\Documents\TEMP>fastboot flash recovery twrp-3.2.3-1-cepheus-mauronofrio.img
target reported max download size of 536870912 bytes
sending 'recovery' (56928 KB)...
OKAY [ 1.275s]
writing 'recovery'...
OKAY [ 0.305s]
finished. total time: 1.582s
C:\Users\***\Documents\TEMP>fastboot reboot
rebooting...
finished. total time: 0.003s
C:\Users\Brett\Documents\TEMP>
From what I can tell, the flash worked. I see no errors.
Following the instructions I see over at the Cyanogenmod forums, I held the Volume Up button.
The phone immediately went to bootloader.
I tried Volume Up and the Power button.
The phone immediately went to bootloader.
I saw somewhere that for phones that are Oreo and later, to use "recovery_ramdisk" but that partition does not exist.
It's almost like there is no recovery that I can boot up. I'm not sure what I am doing wrong.
Has anyone run into this before?
Thanks!
Click to expand...
Click to collapse
many users run into this problem, including me.
just boot to bootloader, flashing latest twrp
don't restart your phone using command, just press vol. up + power
you'll directly booting into twrp in few seconds
tawa2525 said:
Try this dm-verity disabler
https://zackptg5.com/android.php#disverfe
What I did is like this
Flash rom
Flash dm-verity disabler
Flash magisk
Done
BTW, I don't quite understand your problem
Your phone stuck in bootloader or TWRP?
For TWRP you can try that dm-verity disabler
Click to expand...
Click to collapse
I can't get TWRP to come up. I flash the image and then try to boot to recovery, but there is no recovery. When you try to get fastboot.
ain_gt said:
many users run into this problem, including me.
just boot to bootloader, flashing latest twrp
don't restart your phone using command, just press vol. up + power
you'll directly booting into twrp in few seconds
Click to expand...
Click to collapse
I tried that and got fastboot instead of TWRP
funmunke said:
I tried that and got fastboot instead of TWRP
Click to expand...
Click to collapse
So...I figured it out. You are going to laugh at me.
That version of TWRP was garbage. I switched to another version and now I'm up and running.
Thanks to everyone who responded!
Related
Long story short, got a brand new Dev Edition at work. Unlocked the bootloader from Moto. Downloaded all the latest TWRP img and SUperSU zip for rooting but TWRP never installs. Here is what the output from fastboot says:
Code:
C:\Users\***********\Downloads>mfastboot flash recovery openrecovery-twrp-2.8.4.0-ghost.img
(bootloader) Variable not supported!
target max-download-size: 768MB
sending 'recovery' (9184 KB)...
OKAY [ 1.005s]
writing 'recovery'...
OKAY [ 0.998s]
finished. total time: 2.006s
I then select to boot into recovery right from the bootloader menu and it just boots to the system. If I "adb reboot recovery" I get stock recovery and not TWRP. I undertsand the system is overwriting my TWRP but thats due to not booting into TWRP first after flashing so it can disable it.
I have read and read and read and found numerous people with no answers other that just keep flashing it. I have flash CWM/Older TWRPs/PHiLz multiple times with the same result.
Thoughts/help/anything? (yes i have tried different ports/cables/etc, same results)
slim
UPDATE:
So I got a little bit closer, flash the recovery and then unplugged from computer, selected to boot into recovery from fastboot menu but now it just boots to black.
WTF is going on. I've had easier times with Samsung and LG products.
Sounds like you're using the power button instead of volume up to select an option in the bootloader. Reflash the recovery then select boot into recovery using volume up.
Ahhh FFS. That's it. Forgot about that. Been a while.
Cheers!
I know you said using the right keys fixed it... But I'm just adding this tip in case others come across this thread...
We've also seen where some have had to reboot-bootloader and go into recovery IMMEDIATELY after flashing recovery or it wont stick. example:
mfastboot flash recovery twrp.img
mfastboot reboot-bootloader
{then use the phone's on screen instructions to select recovery}
This has happened when flashing back to stock recovery too.
I've got a moto x '14 verizon XT1096. Tried to use fastboot to load twrp to eventually get to install Cm13. However, it threw this message:
C:\adb>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (0 KB)...
OKAY [ 0.006s]
writing 'recovery'...
(bootloader) Invalid boot image
FAILED (remote failure)
finished. total time: 0.024s
Dumbass me thought it would be a good idea to unplug the device and simply try again. Well, what a bad decision. The phone now flashes the "no command" robot on it's back. yes, flashes. i can get back to fastboot, but after this i'm not sure what to do.
Thanks in advance. I'm fairly new at this, be easy on me.
Try this. This is my mini guide I wrote in another thread.
Well, at first I tried to flash twrp through fastboot but the original recovery override the twrp recovery.
So, what I did, instead of flashing, I just temporary booted into twrp.
adb reboot bootloader
fastboot boot twrp.img (and not fastboot flash recovery twrp.img)
Then phone booted into twrp, I flash supersu 2.46.
Then I easily downloaded twrp manager from google play and installed twrp recovery to my xt1096.
Have fun
Use this https://twrp.me/devices/motorolamotox2014.html
Click to expand...
Click to collapse
Hi all,
I'm trying to understand what did I do wrong.
I bought my device with an unlocked bootloader miui V8 (global rom).
I tried to flash TWRP recovey and MIUI PRO rom. I follow the steps that are mentioned here
and got soft brick - the device got stuck on the mi logo (with the unlock sign), even when I wait in patience the device just turned off.
- At the beginning I flashed the TWRP recovery by xuefer, boot into it and flashed the dm-verity disabler (as mentioned in the guide) and got error 1.
I reboot the device and it didn't boot.
- I boot to the recovery again and wipe the data - didn't boot.
Boot to recovery again and wipe to factory
-I flashed the MIUI PRO rom and the device still didn't boot.
I tired to flash the TWRP recovery by iscle - now the dm-verity disabler succeed but the device still didn't boot.
made the wiping steps as above again - and the device still got stuck at the mi logo.
At any step I manged to boot into the TWRP recovery and fastboot mode.
My lest option was to go back to the global stock rom using MiFlash
Now I'm on Global MIUI 9 with locked bootloadr
What did I do wrong?
I want to unlock the bootloader and to get back my control on my device.
Please advice
Thanks
Download the latest TWRP on this forum. Flash it. After, go to twrp, wipe data, cache, flash MIUI PRO rom, and after flash also flash the latest SuperSU zip. Then try again and see if it's gonna boot up.
how sure were you that the device had an unlocked bootloader when you purchased it? if it was brand new, certainly its bootloader is locked.
Do you have an open padlock when your phone is booting ?
Remember to boot to twrp just after flashing and before booting to the rom.
Thank you all for your answers!
Thank you all for your answers!
ekin_strops said:
Download the latest TWRP on this forum. Flash it. After, go to twrp, wipe data, cache, flash MIUI PRO rom, and after flash also flash the latest SuperSU zip. Then try again and see if it's gonna boot up.
Click to expand...
Click to collapse
This is exectly what I've done. and I't didn't worked.
Can you please point me to exact TWRP that you meant?
What about the dm-verity disabler ? it isn't necessary?
ondoy1943 said:
how sure were you that the device had an unlocked bootloader when you purchased it? if it was brand new, certainly its bootloader is locked.
Click to expand...
Click to collapse
I've checked the bootloader status in the Dev menu and with fastboot (fastboot oem device-info).
In addtion to all I had the open padlock sign when the turned on the device.
lightman33 said:
Do you have an open padlock when your phone is booting ?
Remember to boot to twrp just after flashing and before booting to the rom.
Click to expand...
Click to collapse
I had the open padlock sign.
Now unfortunately I flashed with MiFlash the global rom and my bootloader is locked.
I want to know the mistake I've done - so I don't fail with it again after I'll get the approval to open my bootloader.
Thanks
no mistake, they are three batches files in the rom zip. One of them is relocking the bootloader.
Flash_all with without erase data
Flash_all with wipe data
Flash_all with relock bootloader
I don't know miflash interface but you unfortunately choose the third choice. You need now to unlock your bootloader again (maybe by creating a new xiaomi account, not sure of this).
lightman33 said:
no mistake, they are three batches files in the rom zip. One of them is relocking the bootloader.
Flash_all with without erase data
Flash_all with wipe data
Flash_all with relock bootloader
I don't know miflash interface but you unfortunately choose the third choice. You need now to unlock your bootloader again (maybe by creating a new xiaomi account, not sure of this).
Click to expand...
Click to collapse
I'm sorry if you miss understood me, but I meant to the mistake I've made with the TWERP and rom flashing.
I can't figured out what I've did wrong.
Sorry if was not clear but the problem could be here :
Now unfortunately I flashed with MiFlash the global rom and my bootloader is locked.
II think you choose in Mi Flash tool an option to flash with re-lock the bootloader (don"t know how it's designed in the app because I flashed my phone manually, using one of the 3 batch files).
Hope it will help you.
lightman33 said:
Sorry if was not clear but the problem could be here :
Now unfortunately I flashed with MiFlash the global rom and my bootloader is locked.
II think you choose in Mi Flash tool an option to flash with re-lock the bootloader (don"t know how it's designed in the app because I flashed my phone manually, using one of the 3 batch files).
Hope it will help you.
Click to expand...
Click to collapse
Thank you for your answer.
I will open my bootloader,
I'm just trying to understand which TWRP version to flash for the miui pro rom (or any other)
And what is the process (or "the correct steps") to :
* Flash the TWRP recovery
* And to flash any other different rom from the miui stock.
Thanks
I took the TWRP from this forum, this is my md5 if you want to check yours :
f52ff052971b67df097d4cfa8a2ec162 twrp-3.2.0-0-oxygen.img
And this is my howto :
$ sudo fastboot flash recovery twrp-3.2.0-0-oxygen.img
target reported max download size of 536870912 bytes
sending 'recovery' (16196 KB)...
OKAY [ 0.504s]
writing 'recovery'...
OKAY [ 0.095s]
finished. total time: 0.600s
$ sudo fastboot boot twrp-3.2.0-0-oxygen.img
downloading 'boot.img'...
OKAY [ 0.487s]
booting...
OKAY [ 0.576s]
finished. total time: 1.063s
For the ROM, I took file here : http://bigota.d.miui.com/7.12.8/oxy....8_20171208.0000.00_7.1_global_93a8045184.tgz
Filename : oxygen_global_images_7.12.8_20171208.0000.00_7.1_global_93a8045184
From forum : http://en.miui.com/thread-1273027-1-1.html
and the command to flash was (after unzip the file) :
$ sudo ./flash_all_except_storage.sh
Beginning of the log :
product: oxygen
erasing 'boot'...
OKAY [ 0.027s]
finished. total time: 0.027s
erasing 'sec'...
OKAY [ 0.021s]
finished. total time: 0.021s
target reported max download size of 536870912 bytes
sending 'crclist' (0 KB)...
OKAY [ 0.040s]
writing 'crclist'...
OKAY [ 0.020s]
finished. total time: 0.060s
target reported max download size of 536870912 bytes
sending 'sparsecrclist' (0 KB)...
OKAY [ 0.040s]
writing 'sparsecrclist'...
Hope it will help you...
ymca said:
Thank you for your answer.
I will open my bootloader,
I'm just trying to understand which TWRP version to flash for the miui pro rom (or any other)
And what is the process (or "the correct steps") to :
* Flash the TWRP recovery
* And to flash any other different rom from the miui stock.
Thanks
Click to expand...
Click to collapse
Hi! As others have already told you,
What I would do is to completely format the phone with Mi Flash (download the latest global stable fastboot version from http://en.miui.com/a-234.html), then flash it to the phone using the Flash All option, then flash my recovery or the one from xuefer (the one you prefer, both work), if you are flashing miui pro I think there is no need to flash the dm-verity file, so just wipe system + data + cache and flash miuipro.zip
Thank you all for your replais !
I will try and update right after I'll get the bootloader unlock approval.
Meanwhile you all have a great day !
I flashed latest twrp while on MIUI 9 stable using command prompt. Booted into recovery (TWRP) using the command fastboot boot twrp.img. While in TWRP I "swiped to allow modifications" then rebooted to system. Device was stuck at MI logo with unlocked written at bottom. Also, before flashing TWRP device had pattern and fingerprint lock and bootloader was unlocked.
Next, using MIUI ROM Flashing Tool, I flashed latest MIUI fastboot developer ROM with flash all. Decided to flash TWRP again using command prompt and booted into recovery (TWRP) while the device was still in fastboot mode but this time using Volume Up + Power button. Inside TWRP selected reboot then system. Guess what? Again stuck at MI logo. Before flashing TWRP device had no pattern or fingerprint lock and bootloader was unlocked.
Code:
E:\MI5\platform-tools>adb devices
List of devices attached
3855f609 device
E:\MI5\platform-tools>adb reboot bootloader
E:\MI5\platform-tools>fastboot devices
3855f609 fastboot
E:\MI5\platform-tools>fastboot flash recovery E:\MI5\platform-tools\twrp-3.2.1-0-gemini.img
target reported max download size of 536870912 bytes
sending 'recovery' (20280 KB)...
OKAY [ 0.742s]
writing 'recovery'...
OKAY [ 0.150s]
finished. total time: 0.909s
E:\MI5\platform-tools>
Now I am again on developer ROM. Am I doing something wrong? Something else to do after flashing TWRP?
Update: Again tried to flash TWRP but this time formatted data in Wipe menu also but got stuck in bootloop again.
Just flash any rom what is ur purpose rom installation or rooting
Hello,
I can not flash a recovery on my P9 (EVA L09C432B399) to be able to root my P9. It is under 5.0.1 and android 7.
I tried a lot of TWRP.
Thank you for your help
Did you unlock bootloader, before trying to install twrp recovery ?
Yes it's unlock
chuppito said:
Hello,
I can not flash a recovery on my P9 (EVA L09C432B399) to be able to root my P9. It is under 5.0.1 and android 7.
I tried a lot of TWRP.
Thank you for your help
Click to expand...
Click to collapse
It must be TWRP for EMUI 5.01
https://forum.xda-developers.com/p9/development/twrp-t3565703
There is an enhanced version here
https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v4-t3759292
Btw, Fastboot reporting error or what is exactly the problem?
zgfg said:
It must be TWRP for EMUI 5.01
https://forum.xda-developers.com/p9/development/twrp-t3565703
There is an enhanced version here
https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v4-t3759292
Btw, Fastboot reporting error or what is exactly the problem?
Click to expand...
Click to collapse
thank you, the 2 links recovery do not work on my P9.
So I unlocked the bootloader.
I do :
adb reboot bootloader
fastboot flash recovery "the name of recovery.img"
as soon as i get the message okay, i reboot on the recovery and i still have the recovery stock installed.
The message after validating :
target reported max download size of 471859200 bytes
sending 'recovery' (25254 KB)...
OKAY [ 0.823s]
writing 'recovery'...
OKAY [ 0.325s]
finished. total time: 1.152s
chuppito said:
thank you, the 2 links recovery do not work on my P9.
So I unlocked the bootloader.
I do :
adb reboot bootloader
fastboot flash recovery "the name of recovery.img"
as soon as i get the message okay, i reboot on the recovery and i still have the recovery stock installed.
The message after validating :
target reported max download size of 471859200 bytes
sending 'recovery' (25254 KB)...
OKAY [ 0.823s]
writing 'recovery'...
OKAY [ 0.325s]
finished. total time: 1.152s
Click to expand...
Click to collapse
ha you have 1 error when you flash recovery write command fastboot reboot hold vol+ button and push enter when phone reboot unplug usb cable fast before reboot recovery in another time stock recovery back and must flash twrp again good luck
It's good he finally flash the second time the TWRP 3.1.1-1 by oldDroid - extended Version.
Root done thanks a lot for this second link
I booted with volume + so he probably already had a TWRP.
Thank you