Problems installing TWRP - Xiaomi Mi 8 SE Questions & Answers

I'm on the latest Xiaomi.EU rom and want to try out the PixelExperience rom.
I used TWRP to flash PitchBlack but it wouldn't reboot into that, just stuck on the splash screen.
From whitin Fastbood I tried to flash my old TWRP using "fastboot flash recovery twrp.img" which doesn't appear to do anything (I've left it for several mins) until I unplug the cable and get and error that it failed to write data.
I've also tried to run the Yukleme recovery by running the BAT file, when I hit enter the cmd prompt just sits there with the cursor blinking away.
I'm not sure what to do to install PE rom or TWRP, I have a TWRP backup from before trying to flash PB so I don't mind ending up wiping the whole device if I can somehow do this with Fastboot or otherwise?

Try flashing this version of TWRP (3.3.0) through fastboot.
And, if it doesn't work then you might consider flashing the Fastboot ROM.

You mean this one if it doesn't work?
http://en.miui.com/a-234.html
Or rather this method using the Xiaomi tool?

BJozi said:
You mean this one if it doesn't work?
http://en.miui.com/a-234.html
Or rather this method using the Xiaomi tool?
Click to expand...
Click to collapse
MI 8 SE doesn't have a global version. So you need to head over here for the ROM file. And the flashing tool is there in your link.
---------- Post added at 05:23 PM ---------- Previous post was at 05:09 PM ----------
BTW, select "clean all" when flashing through the tool. Don't lock the bootloader.
Saying this cause I did that once ?

Something not working right, when I try and flash the rom using miflashtool from my link above, while in fastboot the screen goes black and it says "press any key to reboot" top left
---edit---
Did some Googling, tried a USB2 port and I just managed to reinstall TWRP, and get my rom installed

BJozi said:
Something not working right, when I try and flash the rom using miflashtool from my link above, while in fastboot the screen goes black and it says "press any key to reboot" top left
---edit---
Did some Googling, tried a USB2 port and I just managed to reinstall TWRP, and get my rom installed
Click to expand...
Click to collapse
Congrats

Related

Stuck in boot up screen

ok, i am stuck on my boot up screen. i flashed a zip file xposed arm zip. after the reboot it will not pass the boot animation screen. now on my old Motorola phone, i would do the pwr + vol keys to boot back in to recovery. well this does no work on my X. any one have any ideas. I am rooted, unlocked, twrp was installed from play store, & i did do a back up. thanks
JWACK72 said:
ok, i am stuck on my boot up screen. i flashed a zip file xposed arm zip. after the reboot it will not pass the boot animation screen. now on my old Motorola phone, i would do the pwr + vol keys to boot back in to recovery. well this does no work on my X. any one have any ideas. I am rooted, unlocked, twrp was installed from play store, & i did do a back up. thanks
Click to expand...
Click to collapse
What device do you have, XT1095, XT1097, etc? And you are not able to boot into the bootloader using vol down + power correct?
It was a 1096, now its trash. it would go into fastboot, but could not get into twrp recovery. its done. RIP
JWACK72 said:
It was a 1096, now its trash. it would go into fastboot, but could not get into twrp recovery. its done. RIP
Click to expand...
Click to collapse
If it boots to fastboot, it's not dead. Just reflash the recovery and you're good to go.
Sent from my XT1095 using Tapatalk
Was there a resolution for this? I'm having a similar problem. I'm not sure how I got to this status, but here's what I'm dealing with:
Device: XT1095
Bootloader: Unlocked
Rooted, ROM - Resurrection Remix, TWRP
Turning on the phone reaches the RR bootsplash and proceeds to bootloop.
When holding down the power and volume down, it will enter fastboot.
When I try to open TWRP recovery, it'll show the blue TWRP screen and just sit there.
I have tried to reinstall TWRP, but that has no effect. I didn't want to manually flash another ROM or go back to stock because at least now it seems USB debugging is on and if I flashed a ROM I cant be sure I'd be able to turn it on. Do any of you pros have some ideas hove I can get back into my phone? Thanks
bibbin said:
I have tried to reinstall TWRP, but that has no effect. I didn't want to manually flash another ROM or go back to stock because at least now it seems USB debugging is on and if I flashed a ROM I cant be sure I'd be able to turn it on. Do any of you pros have some ideas hove I can get back into my phone? Thanks
Click to expand...
Click to collapse
Do you have a USB-OTG device plugged in while trying to start TWRP? If so remove it, you can mount it after TWRP starts if this helps.
Have you tried a different build of TWRP? I'm currently using the one built by invisiblek, one of the CM devs for the victara. It was built and posted on December 8th and is here: http://www.invisiblek.org/twrp/twrp_2.8.7.0-0624b8bd_victara.img
Have you tried flashing the stock recovery to see if that will start? If it does, you could use the factory reset option there and then try reinstalling TWRP. (TWRP has a settings directory in /sdcard and maybe that is corrupted.)
There have been a few people posting with this problem but I've not seen a definitive fix for it.
Thank for the quick response. No, I don't have USB-OTG inserted. It is using TWRP 2.8.7.1. No, I haven't tried installing the version you mentioned. What I did do was attempt to flash the pre-installed TWRP 2.8.1.0 via MOTO X TOOLKIT. It failed. I'm not very experienced at using ADB manually. As I mentioned, I've been reluctant to flash another ROM (custom or stock) because I don't want to get stuck with USB debugging inactive with no way to get in far enough to reactivate it.
---------- Post added at 04:32 PM ---------- Previous post was at 03:40 PM ----------
If I manage to install the invisiblek TWRP and it opens properly will I then be able to restore the backups created with TWRP 2.8.7.1?
If that's the case, I need to find a tutorial on installing TWRP manually via ADB, right? I usually install TWRP via TWRP Manager.
bibbin said:
Thank for the quick response. No, I don't have USB-OTG inserted. It is using TWRP 2.8.7.1. No, I haven't tried installing the version you mentioned. What I did do was attempt to flash the pre-installed TWRP 2.8.1.0 via MOTO X TOOLKIT. It failed. I'm not very experienced at using ADB manually. As I mentioned, I've been reluctant to flash another ROM (custom or stock) because I don't want to get stuck with USB debugging inactive with no way to get in far enough to reactivate it.
---------- Post added at 04:32 PM ---------- Previous post was at 03:40 PM ----------
If I manage to install the invisiblek TWRP and it opens properly will I then be able to restore the backups created with TWRP 2.8.7.1?
If that's the case, I need to find a tutorial on installing TWRP manually via ADB, right? I usually install TWRP via TWRP Manager.
Click to expand...
Click to collapse
That's interesting, the TWRP Manager has never worked correctly for me although it's been a long time since I've tried it.
To flash manually, you actually need fastboot which is usually installed along with adb. If you open a command window, and type in fastboot and it runs, the rest is pretty easy. If it doesn't run, this thread has the 15 second ADB/Fastboot installer, select to install it system-wide: http://forum.xda-developers.com/showthread.php?p=48915118#post48915118
Download the recovery image, rename the file to twrp.img, then open a command window in the folder where you downloaded it (type cmd then Enter in the address line at the top of the folder window.)
When the command window is open and the phone is in bootloader mode and connected to the computer with the USB cable, enter the command "fastboot device" (without the quotes) If everything is working it will list the serial number of your phone.
Then enter "fastboot flash recovery twrp.img" (without the quotes) to start the flashing process, ignore the size mismatch message. It will only take a few seconds to complete.
Use the volume down key to highlight recovery, then volume up to select it. Hopefully TWRP will boot up and you'll be good to go!
Well, reinstalling TWRP didn't fix it. Thoughts? Anyone?
bibbin said:
Well, reinstalling TWRP didn't fix it. Thoughts? Anyone?
Click to expand...
Click to collapse
Reflash stock rom from fastboot.
Sent from my XT1095 using Tapatalk
UPDATE: Thanks all. Well, after fiddling around with various methods of reinstalling TWRP, I managed to get it reinstalled and all is back to normal now.

Unable to install TWRP, using Miflash or XiaomiMiTool

Hello everyone, I am trying to install the latest Global dev ROM on my Mi8.
I bought the phone from Gearbest and it arrived with the latest Russian stable ROM and unlocked bootloader.
The thing is I think the person who did all the above messed something up because I can't install the ROM I want using the standard procedures with TWRP, XiaomiMiTool or Mi Flash.
TWRP
When I try to install TWRP (version 918), when I reboot with the reboot command and use the flash command, I see some random errors (couldn't get max-size report for example) or the command does nothing, so I am not able to install it.
XiaomiMiTool
The program recognises the phone, I select the global dev rom, it makes its checks, then it tries (failing of course) to unblock the already unblocked bootloader and I cannot proceed any farther
Miflash
Booted the phone in fastboot, found in the program list, check "clean all" only, when I click flash the phone goes into a black screen with a "press any key to shutdown" in the top left corner of the screen
Any advice on how to resolve any of these problems please? Maybe something got corrupted like the boot.img or recovery.img?
I can provide with some screenshoots and photos and list of commands I was using if it's going to be of any help
Thanks
Install adb and flash it through.
krepsz said:
Install adb and flash it through.
Click to expand...
Click to collapse
Flash what? The recovery? I've tried that already The ROM? I need TWRP first
https://www.xda-developers.com/how-to-install-twrp/
krepsz said:
https://www.xda-developers.com/how-to-install-twrp/
Click to expand...
Click to collapse
Thank you for this, but this is the same guide I followed.
After I use the flash command either nothing happens or I get an error.
The image below is after I waited 5 mins
OK.I recommend you TWRP 3.2.2-0711 wzsx150 from LR.TEAM linkhttps://forum.xda-developers.com/mi-8/how-to/recovery-twrp-3-2-2-0703-t3812600
,and also i recommend you insted of Global rom the EU rom.Its many language included and have better performance and camera.
I resolved this problem changing pc with USB 2.0 ports.

Bootloop

Hello all, i unlocked the bootloader on the xiaomi mi A2 , and i was trying to follow this guide :https://forum.xda-developers.com/mi-a2/how-to/tutorial-camera2api-gcam-root-t3842475 to install the gmcam, but after the point 5. i just rebooted the phone from the recovery, just cause i wanted to try it, after that is stucked in android 8.1 animation, but i have access to the recovery (even if the tool shouldnt have installed it), but dunno what can i do from the recovery, and the device can go in fastboot mode but is not recognized by adb, what can i do?
What version of software was your Mi A2, if it was V9.6.13.0.ODIMIFE, then download the full stock ROM from here
http://en.miui.com/download-353.html
In fastboot mode, adb is not working, fastboot commands works there.
Extract boot.img from images of downloaded ROM.
Put the boot.img in adb folder.
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot reboot
it should start normally
If not, then flash every image like in this post.
https://forum.xda-developers.com/showpost.php?p=77302899&postcount=4
minnuss said:
What version of software was your Mi A2, if it was V9.6.13.0.ODIMIFE, then download the full stock ROM from here
http://en.miui.com/download-353.html
In fastboot mode, adb is not working, fastboot commands works there.
Extract boot.img from images of downloaded ROM.
Put the boot.img in adb folder.
fastboot flash boot_a boot.img
fastboot flash boot_b boot.img
fastboot reboot
it should start normally
If not, then flash every image like in this post.
https://forum.xda-developers.com/showpost.php?p=77302899&postcount=4
Click to expand...
Click to collapse
Thanks for the help, but, I don't know why, ADB driver were not working properly, didnt recognize the phone so I couldnt follow this guide, and i couldnt switch off the phone either, it was stuck in bootloop, the only thing I was able to do is to put the device in fastboot mode using the button combination..
Luckly the Mi Flash tool was able to recognize the device so I flashed the stock rom with that and now everything is back to normal, I've just a question, the phone sais that the bootloader is still unlocked, is that true? Even if I've flashed from zero the stock rom?
fuffy841 said:
Thanks for the help, but, I don't know why, ADB driver were not working properly, didnt recognize the phone so I couldnt follow this guide, and i couldnt switch off the phone either, it was stuck in bootloop, the only thing I was able to do is to put the device in fastboot mode using the button combination..
Luckly the Mi Flash tool was able to recognize the device so I flashed the stock rom with that and now everything is back to normal, I've just a question, the phone sais that the bootloader is still unlocked, is that true? Even if I've flashed from zero the stock rom?
Click to expand...
Click to collapse
Yep, it's true. You have to relock the bootloader, but this cause full wipe. IMO there's no need to relock the bootloader if you not enable the usb dev mode.
Also, theres an option in mi flash tool to lock the bootloader after flash. Something like flash_all_lock
DO NOT use flash_all_lock_crc. This will cause dead wifi and Bluetooth modem.
I am stuck on the exact same issue. Can you explain in detail all the steps you followed.
Mine was updated to September patch and it is Indian variant.
---------- Post added at 06:16 PM ---------- Previous post was at 05:31 PM ----------
rt1279_isBITW said:
I am stuck on the exact same issue. Can you explain in detail all the steps you followed.
Mine was updated to September patch and it is Indian variant.
Click to expand...
Click to collapse
Nvm I was able to flash that rom but now after the phone locks once the touch is gone until I reboot the device.
Are there any hardware differences in my indian variant or did I just flash it wrong?
I used flash_all.bat and clean all option.
Daniesz said:
Yep, it's true. You have to relock the bootloader, but this cause full wipe. IMO there's no need to relock the bootloader if you not enable the usb dev mode.
Also, theres an option in mi flash tool to lock the bootloader after flash. Something like flash_all_lock
DO NOT use flash_all_lock_crc. This will cause dead wifi and Bluetooth modem.
Click to expand...
Click to collapse
Nono i want to keep the bootloader unlocked, that's why I asked ! Thanks man.
Nvm I was able to flash that rom but now after the phone locks once the touch is gone until I reboot the device.
Are there any hardware differences in my indian variant or did I just flash it wrong?
I used flash_all.bat and clean all option
Click to expand...
Click to collapse
I used the same option, cause it didnt work with the other ones.. I didnt have any issue so far tho, and I dont know about hardware differences, but I dont think a bad flash can cause this kind of problem, not sure tho. Maybe now that everything is working try to flash again a stock rom.

Guide to Flash TWRP (Unofficial) and Root Redmi Y2/S2 (YSL)

Here I present you my toolkit for flashing TWRP and rooing Redmi Y2/S2/YSL.
Requirements
1. PC
2. Fastboot Drivers
3. Unlocked Bootloader (Guide)
4. Flashing TWRP Toolkit
5. Magisk flashable file
Steps for Flashing TWRP
1. Download the file. Link given in the end of the threads.
2. Boot your device into Fastboot mode (in power off state press power button + volume down button).
3. Connect your device from pc.
4. Now open the downloaded folder and run the file "Flash.bat".
5. Then press any key to continue.
6. Now your phone will automatically boot into TWRP.
7. Now you have sucessfully flashed Twrp.8. Before rebooting your device do flash lazyflasher-no-verity-opt-encrypt.zip.
Note :-
* If you don't flash Lazy Flasher then the Custom recovery will be replaced with stock recovery in next Boot.
Steps for Rooting
1. Download and place the Magisk zip fiile into your device.
2. Boot your device into TWRP Recovery (in power off state press power button + volume up button).
3. Select the option of 'Install' and then locate the directory where you have placed the Magisk file and select it.
4. After selecting the file, swipe the arrow loacted at the bottom.
5. When the flashing is completed click on 'Reboot System'.
6. After the phone has booted successfully install magisk apk.
Congrats you have rooted your device !!
Note :-
* This is Exclusively for Redmi Y2/S2/YSL and if you try this on any other device probably you may be bricking your device!!
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
* First boot may take upto 15-20 mins. So don't panic.
Links :-
* TWRP Toolkit - Click here
* Lazy Flasher - Click here
* Magisk - Click here
will try this as soon i am able to unlock my bootloader, thanks!
(i hate xiaomi for locking the device for 1 month....!! )
Flashing LF ends in endless boot. No loop but endles bootscreen 1,2,3 dots endlessly! Any ideas ?
So I got stuck on Bootscreen.
I flashed MIUI with TWRP and was back on stockrom with stockrecovery.
Then I booted TWRP temporarely with ADB. (adb command: fastboot boot twrp.img )
Now I installed Magisk and I am happy now
Just DON´T install TWRP. Boot it temporarely !
I used MIUI from here: https://www.theandroidsoul.com/download-miui-10/
Screen asking for PASSWORD.
The TWRP screen asks for password. Default password does not work and after format data the files are not displayed. Same case in clicking cancel.
use xiaomi eu roms they dont ask twrp password
twrp password
Twrp asks for password. What kind of password is this? How to use twrp without the password? How to use this twrp?
Has anybody got rooted redmi s2 finally?
In particular, with stock rom?
finally yes
When TWIRP asks for password nothing helps. The only thing I could do is to wipe ALL THE PARTITIONS except for external SD card, of course. Yes , you loose everything on your phone. Now, you flash the ROM you want (I flashed the stock ROM). After that, you flash the Magisk file. It is important not to reboot in between. After rebooting you have the new system installed. After initial configuration, you have to manually install the Magisk Manager apk.
P.S. the Lazy thing is not needed. TWRP persists.
Want mbn file of unlock bootloader redmi y2
i need emmc_appsboot.mbn file of unlocked Redmi y2(s2) 's bootloader.
If someone has unlocked y2 then please send me the file.
This TWRP for Custom ROM, and if you flash on RI MIUI will not work with any method as well. Especially if you Flash LazyFlaser will certainly be bootloop (stuck on logo)
sumit17 said:
i need emmc_appsboot.mbn file of unlocked Redmi y2(s2) 's bootloader.
If someone has unlocked y2 then please send me the file.
Click to expand...
Click to collapse
for bypass UBL you can try this
Pass : firmware firmware27
danigp75 said:
for bypass UBL you can try this
Pass : firmware firmware27
Click to expand...
Click to collapse
It will bypass only or unlock it too?
sumit17 said:
It will bypass only or unlock it too?
Click to expand...
Click to collapse
unlock too
danigp75 said:
unlock too
Click to expand...
Click to collapse
Bro it is unable to detect my device. But adb commans are recognizing my device and Mi Unlock tool also detect my device.
But this Soft is not able to detect my device. Giving me error
sumit17 said:
Bro it is unable to detect my device. But adb commans are recognizing my device and Mi Unlock tool also detect my device.
But this Soft is not able to detect my device. Giving me error
Click to expand...
Click to collapse
to be able to use this application you must enter EDL mode or "TEST POINT". After devices are detected 9008 on PC, proceed with running the application. Don't forget to enter the "firmware27" password.
Hopefully it can help for UBL redmi YSL without having an official UBL.
danigp75 said:
to be able to use this application you must enter EDL mode or "TEST POINT". After devices are detected 9008 on PC, proceed with running the application. Don't forget to enter the "firmware27" password.
Hopefully it can help for UBL redmi YSL without having an official UBL.
Click to expand...
Click to collapse
For test points i have to dissemble my device. Lol, If you can give me emmc_appsboot.Mbn from unlocked device then it may can help me.
Skyfire1 said:
So I got stuck on Bootscreen.
I flashed MIUI with TWRP and was back on stockrom with stockrecovery.
Then I booted TWRP temporarely with ADB. (adb command: fastboot boot twrp.img )
Now I installed Magisk and I am happy now
Just DON´T install TWRP. Boot it temporarely !
I used MIUI from here: https://www.theandroidsoul.com/download-miui-10/
Click to expand...
Click to collapse
from where did you downloaded the ROM ?
---------- Post added at 05:21 PM ---------- Previous post was at 05:18 PM ----------
shiva sandeep said:
use xiaomi eu roms they dont ask twrp password
Click to expand...
Click to collapse
Where can I download the EU roms ?
---------- Post added at 05:22 PM ---------- Previous post was at 05:21 PM ----------
Novikovmex said:
When TWIRP asks for password nothing helps. The only thing I could do is to wipe ALL THE PARTITIONS except for external SD card, of course. Yes , you loose everything on your phone. Now, you flash the ROM you want (I flashed the stock ROM). After that, you flash the Magisk file. It is important not to reboot in between. After rebooting you have the new system installed. After initial configuration, you have to manually install the Magisk Manager apk.
P.S. the Lazy thing is not needed. TWRP persists.
Click to expand...
Click to collapse
from where did you download the rom ?
Israelleite said:
from where did you downloaded the ROM ?
---------- Post added at 05:21 PM ---------- Previous post was at 05:18 PM ----------
Where can I download the EU roms ?
---------- Post added at 05:22 PM ---------- Previous post was at 05:21 PM ----------
from where did you download the rom ?
Click to expand...
Click to collapse
From the official Xiaomi site
Israelleite said:
from where did you downloaded the ROM ?
Click to expand...
Click to collapse
The link is in the quote in the line above your question. Or am I misunderstanding you ?
https://www.theandroidsoul.com/download-miui-10/
It is about midpage, the last in the list of phones, just above the section where it says
"How to install the MIUI 10 update"

Xiaomi Mi 9 Brick!

I have a xiaomi mi 9 but it does not pass the logo of home, it stays there, I do not have the bootloader unlocked so I wanted to know another way to flash it
If flashing is no option for you, you might have to send it in for warranty.
Try XiaoMiTool v2
Same problem here; and this tool says fastboot unbrick is not supported yet ... So even though I can flash different twrp builds, it wont get out of reboot to fastboot and no recovery works
futiless said:
Same problem here; and this tool says fastboot unbrick is not supported yet ... So even though I can flash different twrp builds, it wont get out of reboot to fastboot and no recovery works
Click to expand...
Click to collapse
Did you've tried this lr team twrp:
http://files.mi-room.ru/files/twrp/cepheus/3.3.1-0601/recovery.img
And after flashing twrp, directly with volume up and power reboot in twrp?
Search for vbmeta.img file for mi 9 and flash it
What worked is cepheus_global_images_9.6.27_20190627.0000.00_9.0_global_d1aa19c208 ; then MANUAL usage of flash_all.bat ; then I was able to boot... I think (and don't take my word for it !!) what this is, is encryption lockout. Most XiaomiFlash offical tools were practically useless for the Mi 9 and only finding that exact build (which I figured out wasn't an upgrade like the others with no flash_all.bat, actually ran and it flashed stock and booted me to pincode decryption. After than I was able to use twrp-3.3.1-35-cepheus.img, and get TWRP ... granted it wiped everything. But I booting twrp-3.3.1-35-cepheus also asked for my decrypt key. I think the other TWRP's that don't ask for this while I am encrypted actually corrupted this data... (again maybe i'm wrong) but all in all ... I had a couple hours of slowly building up stress.. cause every recovery I flashed rebooted direct to fastboot. And i'm still not sure why..
Everyone needs to make sure that you can see your full file directory tree before utilizing TWRP commands as if the TWRP install doesn't detect decryption it doesn't discriminate and just overwright and corrupts files... THIS IS WHAT IT SEEMS AT LEAST ...
ALSO big word of warning Global users have to play it safe as it seems our variants is not the one the devs are releasing for ATM. and most things you attempt to flash will cause problems. (AGAIN just my 2 cents not to be taken as fact.) Just a warning... that is it...
---------- Post added at 05:25 PM ---------- Previous post was at 05:24 PM ----------
emprazol said:
Search for vbmeta.img file for mi 9 and flash it
Click to expand...
Click to collapse
OK what is that file updating over ?
link to the rom you used to fix fastboot brick?? please
I have 9008, can you help me?

Categories

Resources