Installing TWRP problem (Mi5 white 32GB) - Xiaomi Mi 5 Questions & Answers

Hi everyone
Some days ago, xiaomi sent me the approve for unlocking the bootloader
so i followed the procedure
Here yet the first strange thing:
the xiaomi programm for bootloader unlock says that after unlock my device will be formatted at all
But after my mi5 rebooted it was all as before
no data loss
And fingerprint is working
Then i wanted to flash the TWRP following this thread: http://en.miui.com/thread-245756-1-1.html (In the very last post there is an update for fix the touch problem)
I downloaded Mi Pc Suite, adb driver and fastboot driver (In fact both adb and fastboot recognize my device)
And then i flashed the TWRP as mentioned
But if i disconnect my phone, it wont reboot autmatically, i need to press power button for like 8 seconds
If i press power button for 8s it will reboot normally into android
If i connect the phone and through adb i write adb reboot recovery it will reboot into a black screen with a phone and a cable (that i think mean that the recovery isnt installed first, and second it's like bootloader mode)
How to guys? I need TWRP to flash the new weekly
Thanks a lot to all
Federico

Download cofface fastboot tool here attached and the twrp recovery image below.
http://www.mediafire.com/download/bx0ru3cfgk1kv01/cofface_twrp_recovery_gemini.img
Boot the fastboot by maintaining power + volume down button, connect your phone to the computer.
Extract this .zip to your desktop.
Open Command Window and direct it to the extracted folder.
Note : If you use Windows 7 and above, maintain Shift key and right click to extracted folder., and choose "Open Command Window here."
Type "fastboot devices" to see if your Mi 5 is detected.
Type "fastboot flash recovery cofface_twrp_recovery_gemini.img"
When it's all done, type "fastboot boot cofface_twrp_recovery_gemini.img".
There will be a bug where the screen will be unreactive. Just click power button and let screen off during 3 minutes, when you turn the screen on again, the screen will function again.

I have instaled the wrong twrp3.0.0.0 having a bug now I have with the new adb twrp3.0.2.0 instaliert that would work.
only when I stabel who wants to install the new and I'm going in again into TWRP is the old version 3.0.0.0 TWRP back where the touch is not working! how can I fix this? and remove them from Completely mobile

elien100 said:
I have instaled the wrong twrp3.0.0.0 having a bug now I have with the new adb twrp3.0.2.0 instaliert that would work.
only when I stabel who wants to install the new and I'm going in again into TWRP is the old version 3.0.0.0 TWRP back where the touch is not working! how can I fix this? and remove them from Completely mobile
Click to expand...
Click to collapse
The same thing happened to me. I want to know too. (How to uninstall the old TRWP 3.0.0.0 completely.)

TWRP for MI5
The problem seems to be that the MI5 use two different kinds of LCD (JDI or LGD); you can know your kind in settings - about phone - tap 5 times on kernel version - 2. check version info - lcm information.
You can download the appropriate twrp from the section download of miui italia
Thanks to miui italia for the solution

The solution is taken from original post in this forum, not miui.it...
Inviato dal mio PLK-L01 utilizzando Tapatalk

Try format your phone completely , this will make TWRP overwrite the stock recovery
Command ; http://forum.xda-developers.com/nexus-6p/general/fix-twrp-hangs-splash-screen-android-t3438262

Related

TWRP, Root, Xposed k4 note with 6.0 M.M simple and 100% success with all files in 1.

Hi friends today I am going to tell you how to root k4 note which have Android 6.0 (M.M).
Many members have already given this process but in some place the needed files are missing and some other place the process is not explained clearly. So to slove this I have made all in one file and given the process as simple as possible by me.
This process have worked very fine for me. Rooted 8 k4 notes without any problem.
Read all and follow. And do it on your own risk. I am not responsible if anything go wrong.
First of all I would like to introduce myself ( I know it's not necessary but to some of them to believe my work )
Myself is Kaushik. I have been using XDA since 2 years but never opened an account and replied in posts. Now after learning a lot I thought I should also start replying. May be I am a junior member here but not truly a junior member.
I have flashed more then 250 mobile of all brands. And thanks to XDA my success rate is 99.7 %
Thanks to XDA to making me local gadget guru. Now here every one believe that if even service center also fail to slove some software problems but at last kaushik will surly pass.
OK now let's see how to root.
(This will void your warranty)
(Phone will factory reset, which means all of the apps and data will be gone, not the internal sd)
(To root Lenovo K4 note you need to first unlock the bootloader. See below to know how to do it )
1. First download the two files from the links I have given.
All files needed to install twrp and root are in one zip file. Link is below.
https://mega.nz/#!D8MAwSzK!BYSzl4FGE_dbLy5wwzS0lbwSSNbelB7eMmfwdQjDoos
Usb ADB drivers for k4 note. Link below.
https://mega.nz/#!281yHDoI!iuIynHRqf8ui7IffStBhwrJvHJ4NBn1eExy_MYpr13o
Now to unlock bootloader.
2. Now in your mobile go to 'Settings' / 'About Device' / press 7 times on built number to unlock Developer options.
3. Now go to Developer options and click on 'OEM Unlocking' and press enable.
4. Next enable the USB debugging.
Your bootloader is now unlocked.
Now in PC extract the downloaded files
5. Install lenovo adb drivers ( it is in the link I have provided ) on your pc
6. Go to adb folder and press and hold shiftkey and right click with mouse. Select open command from here.
7. type adb reboot bootloader You need to authorize the pc if not done already. (The phone will boot onto fastboot, you can see small fastboot written on the left corner of the screen once the phone boots)
8. Now open adb folder and open 'unlock_bootloder'. A message will be displayed in mobile to press volume up key to continue. Press volume up key. A message in pc cmd will display as press any key to continue. Now press any key.
9. Now in cmd type fastboot flash recovery recovery.img
A message will be displayed as done.
Next part is very important
10. After its done press volume up and down button together with power button. Once you see the lenovo white screen, release the power button, release the volume keys once the screen goes black, wait for few minutes till you boot into the new custom recovery.
To avoid black screen set brightness below 30 in twrp settings. ( Not so important if don't understand how to do it )
11. Now the recovery allow modifications by just swiping and the goto mount and tick system and go back
12. Now go to advance, then file manager, then system, and delete the file named, recovery from boot.p ( if you are facing problem plz see point 14. )
13. After done do back and flash supersu.zip. (it is in the link which I have provided)
Now you phone is rooted and the supersu app will appear in the app drawer.
14. If you are facing problem with file manager flash aroma file manager ( it is in the link ). It will open in twrp. Now go to system and delete recovery from boot.p.
If you do not delete the said file again stock recovery will be replaced. If it happens so again you must repeat the steps from step 1.
Next to install xposed after boot up install xposed.apk (app is in the link)
Next flash xposed zip file. (Zip in the link )
Please don't forget to hit thanks if it helped you.
It will make me post more and help others.
Thanks
Regards
Kaushik.
Is this process safe??
HELP ! Fastboot doesn't recognize my device
s230 update brought a lot of issues thus I downgraded to s218 & now on s219. I am able to get adb to recognize my device but not fastboot. Therefore I am unable to unlock bootloader!
When I type in " adb reboot bootloader" or click on the "unlock_recovery.bat" file provided, I get booted into a dark screen where "fastboot" is written at the bottom left & the command prompt window says < waiting for device> & I am stuck there until I reboot my phone.
Paras1259 said:
Is this process safe??
Click to expand...
Click to collapse
Yes it's 100℅ safe bro. But how ever if you do any mistake I will not be responsible.
sujitmohanty2012 said:
s230 update brought a lot of issues thus I downgraded to s218 & now on s219. I am able to get adb to recognize my device but not fastboot. Therefore I am unable to unlock bootloader!
When I type in " adb reboot bootloader" or click on the "unlock_recovery.bat" file provided, I get booted into a dark screen where "fastboot" is written at the bottom left & the command prompt window says < waiting for device> & I am stuck there until I reboot my phone.
Click to expand...
Click to collapse
I Too have faced same problem. But I have installed all the drivers and it started working back to normal. So install the drivers which I have given in the link. Plz hit thanks if helpful. And plz make sure you have unlocked bootloader in developer options
Ongoli Koushik said:
I Too have faced same problem. But I have installed all the drivers and it started working back to normal. So install the drivers which I have given in the link. Plz hit thanks if helpful. And plz make sure you have unlocked bootloader in developer options
Click to expand...
Click to collapse
Thank you for the followup! I am surely gonna give this another go
What is the version of TWRP...
Sent from my Vibe K4 Note using XDA Labs
the internal memory is almost full after flashing twrp by this method.. any solution
the internal memory is almost full after flashing twrp by this method.. any solution plzz..
I am going to flash a new rom (6.0.1 ROM) ... So do I just flash Xposed??
anaynymous said:
I am going to flash a new rom (6.0.1 ROM) ... So do I just flash Xposed??
Click to expand...
Click to collapse
i have a7010a48 and after flash to S219_160810_row missing imei and Version of the radio module.How to fix it.
sujitmohanty2012 said:
s230 update brought a lot of issues thus I downgraded to s218 & now on s219. I am able to get adb to recognize my device but not fastboot. Therefore I am unable to unlock bootloader!
When I type in " adb reboot bootloader" or click on the "unlock_recovery.bat" file provided, I get booted into a dark screen where "fastboot" is written at the bottom left & the command prompt window says < waiting for device> & I am stuck there until I reboot my phone.
Click to expand...
Click to collapse
Bro you have to reset your lenovo vibe k4 note using spflash tool
bro, how to enter recovery mode for second time? i try press volume up+down+power, after white screen i release power button, after black screen i release all button, but nothing happend.. your tutorial fully working, i can install supersu.. plz help me..
salaminder said:
bro, how to enter recovery mode for second time? i try press volume up+down+power, after white screen i release power button, after black screen i release all button, but nothing happend.. your tutorial fully working, i can install supersu.. plz help me..
Click to expand...
Click to collapse
Check this . you will be able to know
https://www.youtube.com/watch?v=uF_F0G2eEhg
---------- Post added at 01:09 PM ---------- Previous post was at 01:09 PM ----------
udeshdhiman said:
Bro you have to reset your lenovo vibe k4 note using spflash tool
Click to expand...
Click to collapse
Why do I reset?
Is this ROM works for all ROW numbers?
Hi Koushik,
I have some questions,
Is this ROM works for all ROW numbers? present my device having s232 ROW.
Is this process will erase internal memory, coz i want to root my device to recover some files from internal memory.
Can you give me replay on this
Thanks.
My Phone Volume Down broken
Hi Bro.
My volume down button was broken, any alternate method
ask
does it work in android 5.0 s152?
stock recovery
please i need stock recovery lenovo a7010a48 s232
can i delete TWRP
alsa7er said:
please i need stock recovery lenovo a7010a48 s232[/QUOTE
Flash whole rom via sp flash tool
Click to expand...
Click to collapse
naandha114 said:
alsa7er said:
please i need stock recovery lenovo a7010a48 s232[/QUOTE
Flash whole rom via sp flash tool
Click to expand...
Click to collapse
ok thank you:good:
Click to expand...
Click to collapse

Unlocking / Rooting Nokia 1 stock rom guide

Step 1 (Unlocking bootloader) :
Make sure you have adb and fastboot .
get your serial number.
Code:
adb shell getprop ro.serialno
calculate md5 of the serial number of device ( i used this https://passwordsgenerator.net/md5-hash-generator/).
Reboot bootloader.
Code:
adb reboot bootloader
Unlock using key (md5code=md5 of your serial number).
Code:
fastboot oem key md5code
Code:
fastboot oem unlock
Step 2 (flashing twrp fixing encryption problem):
Download twrp :=https://www.androidfilehost.com/?fid=1322778262903986803
Reboot bootloader by connecting power button + usb cable + volume down and type
Code:
fastboot flash recovery TWRP-3.2.3-TwrpBuilder-2018-08-21_14.img
.
Reboot recovery by using power button + usb connected + volume up at same time .
Download fstab:=> https://gist.githubusercontent.com/androidlover5842/e5fccc739251bb75ad7cf1d8ddc36e0d/raw/a4646983b481c02462cd0cfbf8decb9edf4f2ac9/fstab.mt6735 and go to mount menu in twrp => mount vendor and update fstab using this commnd .
Code:
adb push fstab.mt6735 /vendor/etc/fstab.mt6735
make backup of boot using backup option and flash stock recovery as boot (you can get stock recovery from here )
reboot system and it should reboot into stock recovery
wipe data using stock recovery
reboot back to twrp by pressing power + usb + volume button.
restore boot and flash magisk.
XDA:DevDB Information
Unlocking / Rooting Nokia 1 stock rom, Tool/Utility for the Nokia 1
Contributors
androidlover5842
Version Information
Status: Stable
Created 2018-08-21
Last Updated 2018-08-21
unlock failed
it seems the key did not work. Maybe imei is involved in generating key? (my Nokia 1 is dual sim)
---------- Post added at 11:44 PM ---------- Previous post was at 11:26 PM ----------
slim404 said:
it seems the key did not work. Maybe imei is involved in generating key? (my Nokia 1 is dual sim)
Click to expand...
Click to collapse
SOLVED.
I had to allow OEM unlocking in Developer Settings
androidlover5842 said:
Step 2 (flashing twrp fixing encryption problem):
reboot system and it should reboot into stock recovery
Click to expand...
Click to collapse
Hmm all good till this step, but the device stuck doesn't reboot into stock recovery but bootloop TWRP
Obviously i messed up something and i wonder what it is
ObviousSimple said:
Hmm all good till this step, but the device stuck doesn't reboot into stock recovery but bootloop TWRP
Obviously i messed up something and i wonder what it is
Click to expand...
Click to collapse
I got the same problem. I found out the recovery file he linked to was that of a single SIM Nokia 1 (TA-1060) mine is a Dual Sim Nokia 1 (TA-1047)
I downloaded the TA-1047 original firmware (I googled it)
I used it to reflash boot and recovery. Then redid everything using this time the right original recovery.bin from the TA-1047 firmware and it worked
Android Downgrade
I'm planning to buy this phone but I don't like the software. Can I install Android Kit Kat on it?
Hi! I have soft-bricked Nokia 1 ta-1047(recovery bootloop). How can i unlock bootloader without checkin OEM unlock in dev settings? Thks!
Hi! I had some trouble understanding the instructions. Step 1 worked without a hitch but I ran into some problems in step 2. I'd be really grateful for some help.
Do I copy the text in the link, paste it into a .txt file and then save it to "ftsab.mt6735" in the Minimal And Adb Fastboot folder on my pc?
Do I press cancel when twrp asks me for a password? Or do I need a password? I pressed cancel.
When I go into "mount" in twrp and click on "vendor" do I then go the command window on my pc (from the adb fastboot folder) and type "adb push fstab.mt6735 /vendor/etc/fstab.mt6735"? This is what I did and it might have come with an error I'm not sure.
What is the backup of boot for? I guess it's just a safety measure. For some reason I couldn't do that because it said something about encyption (I think, unless I'm getting mixed up with before) so I had to skip that step and go onto flashing the recovery. The instructions now say "flash stock recovery as boot (you can get stock recovery from here)". Is the stock recovery the "recovery.bin" file and do I put that in the adb and fastboot folder? I did that and typed "fastboot flash recovery recovery.bin" in the command window. Was that right or not?
The instuctions say "restart the system" Is that from the twrp menu? I restarted the phone via twrp but it didn't restart into stock recovery it restarted into the normal operating system. I knew then that I'd done something wrong. I then turned off the phone and tried accessing the stock recovery by pressing the volume up and power on and it started in twrp! Am I getting confused? Please can someone help me! Thank you!
anhadsingha said:
I'm planning to buy this phone but I don't like the software. Can I install Android Kit Kat on it?
Click to expand...
Click to collapse
No you can't and why would you want KitKat. Kitkat was good 5 versions ago
---------- Post added at 03:20 PM ---------- Previous post was at 03:17 PM ----------
mountainair said:
Hi! I had some trouble understanding the instructions. Step 1 worked without a hitch but I ran into some problems in step 2. I'd be really grateful for some help.
Do I copy the text in the link, paste it into a .txt file and then save it to "ftsab.mt6735" in the Minimal And Adb Fastboot folder on my pc?
Do I press cancel when twrp asks me for a password? Or do I need a password? I pressed cancel.
When I go into "mount" in twrp and click on "vendor" do I then go the command window on my pc (from the adb fastboot folder) and type "adb push fstab.mt6735 /vendor/etc/fstab.mt6735"? This is what I did and it might have come with an error I'm not sure.
What is the backup of boot for? I guess it's just a safety measure. For some reason I couldn't do that because it said something about encyption (I think, unless I'm getting mixed up with before) so I had to skip that step and go onto flashing the recovery. The instructions now say "flash stock recovery as boot (you can get stock recovery from here)". Is the stock recovery the "recovery.bin" file and do I put that in the adb and fastboot folder? I did that and typed "fastboot flash recovery recovery.bin" in the command window. Was that right or not?
The instuctions say "restart the system" Is that from the twrp menu? I restarted the phone via twrp but it didn't restart into stock recovery it restarted into the normal operating system. I knew then that I'd done something wrong. I then turned off the phone and tried accessing the stock recovery by pressing the volume up and power on and it started in twrp! Am I getting confused? Please can someone help me! Thank you!
Click to expand...
Click to collapse
If you're phone booted fine into system and you can access twrp then just flash magisk as you've done ok and the phone and twrp are working
How to "flash stock recovery as boot" ?
How to "flash stock recovery as boot" ? I went to fastboot mode and flashed recovery.bin then rebooted to recovery and it showed "no commands". No options were there.
ttocs99 said:
If you're phone booted fine into system and you can access twrp then just flash magisk as you've done ok and the phone and twrp are working
Click to expand...
Click to collapse
Thanks. But I'm still not sure. I confess I'm a novice. I actually ended up bricking my phone because I went on to do something wrong. I'll get another phone this week to try and root again, hopefully successfully this time. Isn't the step to make a backup of the boot really important because we have to flash that boot near the end? I thought it was necessary. I also wonder whether I should have typed "fastboot boot recovery.img" instead of "fastboot flash recovery recovery.img" because the instructions say "flash stock recovery as boot"? Edit: Perhaps I'm wrong again
madmax786 said:
How to "flash stock recovery as boot" ? I went to fastboot mode and flashed recovery.bin then rebooted to recovery and it showed "no commands". No options were there.
Click to expand...
Click to collapse
Did you manage to get a backup of the boot?
I can have no access in the udev/ etc.... Can you please explain the following steps how to do it? is it a linux command that needs to be done on a linux running computer or does it works on Windows too?
i was indeed happy that it completed the backup to my external SD Card made with Magisk a patched boot image, but doesn't seem to be rooted after all, what next? it says every time Magisk is not installed do i have to flash it in minimal ADB
Sincerely
Des.Coene said:
I can have no access in the udev/ etc.... Can you please explain the following steps how to do it? is it a linux command that needs to be done on a linux running computer or does it works on Windows too?
i was indeed happy that it completed the backup to my external SD Card made with Magisk a patched boot image, but doesn't seem to be rooted after all, what next? it says every time Magisk is not installed do i have to flash it in minimal ADB
Sincerely
Click to expand...
Click to collapse
Rooting this for now is a gamble there is only 1 stock ROM to flash and it's for the UK single SIM varient of the Nokia 1 only thing you can have is root and twrp and maybe flash a gsi but most of them are still buggy if you can flash stock and stay that way untill further development.
ttocs99 said:
Rooting this for now is a gamble there is only 1 stock ROM to flash and it's for the UK single SIM varient of the Nokia 1 only thing you can have is root and twrp and maybe flash a gsi but most of them are still buggy if you can flash stock and stay that way untill further development.
Click to expand...
Click to collapse
There seem to be buggy , certainly when 2 different chip sets are used in several Nokia 1 series
the mt6737 as i have & the mt6735 there's what i've been struggling with.
Thanks anyways for the advice
Sincerely
Des.Coene said:
There seem to be buggy , certainly when 2 different chip sets are used in several Nokia 1 series
the mt6737 as i have & the mt6735 there's what i've been struggling with.
Thanks anyways for the advice
Sincerely
Click to expand...
Click to collapse
I have the mt6735 but shouldn't be long for a custom ROM as root and twrp have been achieved.
madmax786 said:
How to "flash stock recovery as boot" ? I went to fastboot mode and flashed recovery.bin then rebooted to recovery and it showed "no commands". No options were there.
Click to expand...
Click to collapse
Hi,i got the exact same problem
ramnus said:
Hi,i got the exact same problem
Click to expand...
Click to collapse
Hi, try holding the power button for a few seconds and then releasing it and pressing volume up.
For the record, I managed to root my ta 1060 phone. Thanks everyone. I think I had a problem initially because twrp asked for a password due to phone encryption and I ignored it. I managed to bypass that password screen by not rebooting after flashing twrp, instead going straight into twrp and following the instructions.
I've now got a problem getting usb otg to work. I've added the files android.hardware.usb.host.xml, handheld_core_hardware.xml and tablet_core_hardware.xmls. It's showing as enabled in all the app checkers but Usb Otg Helper says E: Mount directory could not be created, E: This app will not work, OTG mass storage not supported?, NTFS write support failed(no fuse). That's not a topic for here though. If anyone can help, can they pm me please
Nokia 1 root
mountainair said:
Hi! I had some trouble understanding the instructions. Step 1 worked without a hitch but I ran into some problems in step 2. I'd be really grateful for some help.
Do I copy the text in the link, paste it into a .txt file and then save it to "ftsab.mt6735" in the Minimal And Adb Fastboot folder on my pc?
Do I press cancel when twrp asks me for a password? Or do I need a password? I pressed cancel.
When I go into "mount" in twrp and click on "vendor" do I then go the command window on my pc (from the adb fastboot folder) and type "adb push fstab.mt6735 /vendor/etc/fstab.mt6735"? This is what I did and it might have come with an error I'm not sure.
What is the backup of boot for? I guess it's just a safety measure. For some reason I couldn't do that because it said something about encyption (I think, unless I'm getting mixed up with before) so I had to skip that step and go onto flashing the recovery. The instructions now say "flash stock recovery as boot (you can get stock recovery from here)". Is the stock recovery the "recovery.bin" file and do I put that in the adb and fastboot folder? I did that and typed "fastboot flash recovery recovery.bin" in the command window. Was that right or not?
The instuctions say "restart the system" Is that from the twrp menu? I restarted the phone via twrp but it didn't restart into stock recovery it restarted into the normal operating system. I knew then that I'd done something wrong. I then turned off the phone and tried accessing the stock recovery by pressing the volume up and power on and it started in twrp! Am I getting confused? Please can someone help me! Thank you!
Click to expand...
Click to collapse
Have you found password ?
Help please
Des.Coene said:
There seem to be buggy , certainly when 2 different chip sets are used in several Nokia 1 series
the mt6737 as i have & the mt6735 there's what i've been struggling with.
Thanks anyways for the advice
Sincerely
Click to expand...
Click to collapse
Buddy is there anyway I could get stock or custom rom to bootup my bricked MT6737 TA1056 ??
I’m stuck in a blank screen and vibration
xdakanwal said:
Have you found password ?
Click to expand...
Click to collapse
No, when I found it asked for a password I realised I shouldn't have rebooted the system and so I wiped the data and flashed twrp again and no more password.
My TA-1066 is basically dead. Unlocked, doesn't boot into recovery, flashing the ROM fixed it last time this happened. Now it doesnt. In a bootloop with the NOKIA logo.
Help would be really appreciated.
---------- Post added at 07:23 AM ---------- Previous post was at 07:23 AM ----------
My TA-1066 is basically dead. Unlocked, doesn't boot into recovery, flashing the ROM fixed it last time this happened. Now it doesnt. In a bootloop with the NOKIA logo.
Help would be really appreciated.

cannot access TWRP after successful flashing

Hi guys
today was my waiting time over and so i opend the bootloader and flashed:
Twrp_3.3.0_Cepheusv11
xiaomi.eu_multi_MI9_9.5.23_v10-9
Magisk-v19.2
all with success.
The phone (Global version, 6gb+128gb) boots normal and everything works fine up to the point where i want to boot in TWRP. After starting the phone with power+Vol up i get the mi unlocked screen and then for 1 second a black screen, then its reboot and i'm on the mi unlock screen again. Fastboot and normal system boot works fine, i have root over magisk and everything.
Any ideas how to get into twrp again?
Longer version:
After unlocking the bottloader i followed this guide-how-flashed-twrp-xiaomi-eu-rom but with newer files. For TWRP i used the Twrp_3.3.0_Cepheusv11 version from here. The eu rom came from sourceforge and the magisk version from here.
I flashed twrp over terminal from my pc with "fastboot flash recovery twrp.img" and uploaded the rom and magisk with "adb push rom.zip /tmp/" + "adb push magisk.zip /tmp/" to the ram. After disconnection the usb cable i hold down power+vol up while still in the fastboot mode and the phone reboots into twrp. from there it was strait following the guid eg. wipe menu, format data, confirmed with "yes", wipe menu again, factory reset. Install rom.zip, install magaisk.zip both without any errors. Reboot menu and select "do not install" for the twrp app.
From now on the eu rom started up, i connected to my wlan and connected the phone to my mi account and after that to my google account. The rest was normal installation.
After installing everything i debloated the phone with this list. Instead of pasting the full list i chose just the follwing parts:
Android Stuff: none
Google Stuff: none
Xiaomi Stuff: all
Xiaomi Apps: all
Extra Stuff: none
To be Tested yet (try at your own risk):
com.miui.compass
com.miui.calculator
com.miui.cloudservice.sysbase
com.miui.gallery
com.miui.screenrecorder
com.mi.webkit.core
com.miui.providers.weather
Unfortunately is the android.providers.calendar app in the xiaomi app list and my calender didn't sync to google without it. So i read a bit about the com.android.providers.calendar app and learned that it is a specific app for every version of android and i cannot simply use the version from my other phone.
Okay, i thougt, my system is just about 2 hours old i reflash the eu rom and magisk and be done with it. So said, i wanted to boot into twrp, powerd the phone off, hold down power+vol up and got the miui unlocked screen, after that 1 second of black screen and than the miui unlock screen again with is followed by the normal system boot.
First i thought i missed the right moment for holding the buttons down so i installed apps which allowed me to directly reboot into recovery.
But with ervery app it was the same: miui unlocked screen, after that 1 second of black screen and than the miui unlock screen again with is followed by the normal system boot.
So i reflashed twrp over the terminal "fastboot flash recovery twrp.img" and it was stated a success. But again only: miui unlocked screen, after that 1 second of black screen and than the miui unlock screen again with is followed by the normal system boot.
Next i tried to reboot into recovery from adb but it was the same result.
Next i tried to just boot twrp from terminal with "fastboot boot twrp.img" but again, same result.
Next i tried to install different versions of twrp. From beta8 to beta11 i flashed every version but again, same result.
Now i'm sitting here happy with a new eu rom and fully rooted but unhappy with the knowing i cannot update anymore. Any ideas how to get into twrp again?
Edit: i reinstalled my android.providers.calendar after i read the "How to Re-Install an Uninstalled App" section again ^^
I read somewhere the Chinese recovery should work with latest Xiaomi.eu. TWRP is still in early stages.
Re-flash the recovery in fastboot mode. After flashing don't reboot recovery with a command but reboot recovery by pressing vol+ and power, keep both pressed untill you see twrp booting. Happened with me as well but than got sorted by flashing again after setting up the rom, enabling usb debugging and going back into fastboot and flash. And can I ask why did you use version 11 when the latest on that recovery is v17 beta and a final version but v17 is good and decrypts as well, hope this helps, cheers.
version 17 is on this page: click on the mega link
https://forum.xda-developers.com/Mi-9/how-to/recovery-unofficial-twrp-recovery-3-2-3-t3912118/page10
Also try this recovery,
https://forum.xda-developers.com/Mi-9/development/twrp-3-3-0-arm64-gapps-support-t3925728
Xiaomi.eu
k4win said:
Hi guys
today was my waiting time over and so i opend the bootloader and flashed:
Twrp_3.3.0_Cepheusv11
xiaomi.eu_multi_MI9_9.5.23_v10-9
Magisk-v19.2
all with success.
The phone (Global version, 6gb+128gb) boots normal and everything works fine up to the point where i want to boot in TWRP. After starting the phone with power+Vol up i get the mi unlocked screen and then for 1 second a black screen, then its reboot and i'm on the mi unlock screen again. Fastboot and normal system boot works fine, i have root over magisk and everything.
Any ideas how to get into twrp again?
[...]
Click to expand...
Click to collapse
Hello, i had the same pb, try this recovery: https://forum.xda-developers.com/Mi-9/development/recovery-unofficial-twrp-xiaomi-mi-9-t3905825 it's ok for me.
@++

How To Guide Master Guide to Unlock Bootloader/Flash TWRP/Root Device/Flash EU ROM/Pass SafetyNet

Hi All, as this device is fairly new and there is not much clarity on things so, I decided to create a master guide as you see below. I am also attaching a PDF version of this guide as I have not formatted this XDA post to what I feel it should be like. You may download and follow that, I will keep updating things as I find.
Lets start​
1. Unlock Bootloader​1.1 Apply for Bootloader Unlock​
Enable developer settings
Go to Settings>About phone/My device> All specs> Hit MIUI Version 8 times
Access Developer Settings from Settings>Additional Settings
Enable OEM Unlocking option
Now login to your desired Mi Account that you wish it to be associated with your device (Mi account should have a mobile number registered for OTP and verification sometime asked by MI flash unlock tool)
Your unlock bootloader wait time starts now. Wait for 7 days (168 hours from the time you added MI account) to unlock bootloader
1.2 Unlocking Bootloader​So you have crossed the wait period…. Now follow below to unlock assuming you have all the USB drivers for Mi devices (usually auto installed when you connect mobile)
Warning: All your userdata (including pictures and files) will be wiped out
Download official Mi flash unlock tool from this link: https://miuirom.xiaomi.com/rom/u1106245679/5.5.224.24/miflash_unlock-en-5.5.224.24.zip
Boot into Booloader: Power off your mobile then hold Volume Down + Power Button till fastboot bunny pops up
Open Mi Flash unlock tool downloaded in step 1
Sign in with same account that you used to sign in in Developer Settings in step 1.1.d. It may ask to verify your account with OTP. do it.
Click Unlock on the tool.
Your device will be unlocked and rebooted. Wait till reboot.
Congrats… you have an unlocked mobile device now
Now let’s go to Rooting your device for which we will have to flash TWRP to Mobile
2 TWRP Flash and Rooting​2.1 TWRP Flash​
Download and Install Minimal ADB and Fastboot for windows for this link: https://androiddatahost.com/wp-content/uploads/Minimal_ADB_Fastboot_v1.4.3.zip
Download unofficial TWRP (only one available as of writing this guide) from here: https://sourceforge.net/projects/xi....6.0_11-0_LOCAL-20220203-01-vili.img/download and rename it to twrp.img
Also download Magisk from below link: https://github.com/topjohnwu/Magisk/releases/download/v24.0/Magisk-v24.0.apk we will use it next section for rooting.
Rename the downloaded magisk file from magisk.apk to magisk.zip and copy it to your device’s storage
Copy the above twrp.img file to Minimal ADB and Fastboot folder (not necessary if you know some directory navigation using command prompt)
Boot mobile into bootloader (follow 1.2.b)
From your Minimal ADB and Fastboot folder open Cmd here.exe file to access the ADB tool
Connect your device to PC
Verify if device has connected successfully using the command below
Fastboot devices
This should return your device id
Now boot into TWRP using below commands
Fastboot boot “twrp.img” if you pasted twrp.img in minimal adb and fastboot folder
Fastboot boot “path to twrp.img” if you did not move it to the minimal adb and fastboot folder
Let the device boot to TWRP
In above step we just booted by TWRP which is temporary. Now let’s flash it to make it permanent:
Go to Advanced settings in TWRP and click Flash Current TWRP
Reboot to TWRP
2.2 TWRP Backup of Current Rom​
You should have a working TWRP
Boot to TWRP and navigate to Backup section
Select all partitions and swipe to confirm
If you see error in backing up, uncheck Data and EFS partition backup
The backup should complete successfully
Have this backup copied to a PC for emergency wipout of your mobile
2.3 Rooting/Flashing Magisk​
Go to Install in TWRP and select magisk.zip you copied in step 2.1.d
This will flash magisk and root your device. Now reboot to system from recovery
Once you have the device booted, rename the magisk.zip to magisk.apk again and install the magisk app on device
You may update if you see any updates to magisk or app
2.4 Passing Safetynet​
Download this magisk module zip from here: https://drive.google.com/file/d/1QJHPpL4R8fcxjB35XbcpaCOipKzpvL2I/view?usp=sharing
Go to magisk app settings and enable Zygisk (beta) also enable Enforce Deny List
Select Hide the Magisk app and give any desired name for Magisk to hide its identity
Now go to modules page in Magisk app.
Select Install from source/storage option and chose the downloaded safteynet zip
Reboot
This will pass safetynet but still Indian bank apps won’t work. Keep following below for clear
Go to magisk settings and enter Configure DenyList
Add all the apps you want to hide magisk and root from (such as phonepe, Gpay)
Don’t leave any service from the selected apps unchecked
3. Flash EU Rom​Warning: All your userdata (including pictures and files) will be wiped out
A TWRP backup of current rom is recommended before following the next steps
You can see section 2.2 for the instruction on backup
Download Fastboot EU rom from here: https://androidfilehost.com/?fid=17825722713688263895
Extract all the contents in zip file to any normal folder
We will be using Bootloader/Fastboot mode. Boot into Bootloader: Power off your mobile then hold Volume Down + Power Button till Fastboot bunny pops up
Connect your device to PC
From the extracted folder Open windows_fastboot_first_install_with_data_format.bat(for windows).
You may execute appropriate similar named file if you are running Linux or MacOS
The EU rom flashing process will start. Hit “Y” on keyboard to accept Formatting
Wait patiently while the PC does its Job.
You may see a long pause post “writing Cust” command depending on PC configuration. You should wait for 5 minutes at least, then try hitting any letter key on your keyboard, the process continues this way.
You may hit letter key whenever you see unusual pauses during pushing of super partition file sparse sending 1 of 9 to 9 of 9
Wait till process finishes and reboots
For TWRP and Rooting you can follow the same guide in section 2.
Updating to Miui13/Android 12 EU Rom​
Check out this guide to Update to Android 12
Happy Rooting… Njoy your device.
Lastly.. All the credit goes to respective owners, I have just compiled everything together and in an easy manner. PM me for credits.
Do let me know if you have any suggestions and corrections.
Thanks & Regards,
Abdus Saboor Asad
Reserved
Reserved
Much appreciated, good overview.
Will try when I get my bootloader unlocked.
Rammetje.b said:
Much appreciated, good overview.
Will try when I get my bootloader unlocked.
Click to expand...
Click to collapse
You are welcome.
sasaboor64 said:
You are welcome.
Click to expand...
Click to collapse
Quick question if you allow me.
The unlock boot loader timer starts ticking even without hooking the phone up to the mi unlock tool? Just the dev options, OEM unlock and login to mi account is sufficient?
I remember I messed around with this when I tried to unlock my Poco F1 at the time.
Thanks
Bram
Rammetje.b said:
Quick question if you allow me.
The unlock boot loader timer starts ticking even without hooking the phone up to the mi unlock tool? Just the dev options, OEM unlock and login to mi account is sufficient?
I remember I messed around with this when I tried to unlock my Poco F1 at the time.
Thanks
Bram
Click to expand...
Click to collapse
Good question... I think we should hook once, that's how I unlocked. But I feel it should work without hooking as well.
Anyone should test it and update for us the other way.
When i download the TWRP and boot into TWRP (through fastboot boot "twrp.img"), my touch screen will not work anymore. How could i fix this?
working on miui 13 android 12?
paulboqs said:
working on miui 13 android 12?
Click to expand...
Click to collapse
you may go through the last thread in my post for miui 13 related rooting. this guide is for miui12 rooting and there is no TWRP yet for miui13 for our device
at what point exactly will all my data be wiped?
yuukiw said:
at what point exactly will all my data be wiped?
Click to expand...
Click to collapse
the moment u hit unlock after your waiting period...
sasaboor64 said:
the moment u hit unlock after your waiting period...
Click to expand...
Click to collapse
is there a way to back upp all apps + data?
MIUI13 Android12 How to enter bootloader?
I'm try but FASTBOOT "orange" Showing?
how to enter bootloader? any driver or any solution?
m38d1 said:
MIUI13 Android12 How to enter bootloader?
I'm try but FASTBOOT "orange" Showing?
how to enter bootloader? any driver or any solution?
Click to expand...
Click to collapse
Please make sure you are having latest ADB installed on your machine. The best option is to install Android Studio . Secondly make sure to enable USB debugging .
You can reboot to fastboot through adb commands.
Once you are connected to ADB enter the command below.
ADB reboot Bootloader.
This will reboot to fastboot mode.
Fastboot devices
The above command shows whether you are on fastboot or not.
Now open the unlock tool and unlock your bootloader. Else if you are confident in recovering your device. use the command below
Fastboot flashing unlock
Hope the above helps.
AwkwarddWhale said:
When i download the TWRP and boot into TWRP (through fastboot boot "twrp.img"), my touch screen will not work anymore. How could i fix this?
Click to expand...
Click to collapse
did you found a solution?
this is the first time this happen to me since mi3, RHnote5,7, pocox3nfc, mi11tpro.
tactil isn't working as soon i ented the twrp.. and theres no orange fox for this devices.. shame.
Jctatis said:
did you found a solution?
this is the first time this happen to me since mi3, RHnote5,7, pocox3nfc, mi11tpro.
tactil isn't working as soon i ented the twrp.. and theres no orange fox for this devices.. shame.
Click to expand...
Click to collapse
There is no solution, there is no twrp for Android 12 / MIUI13 yet.
Well I did manage to make it work using a mouse otg. But it useless since theres no storage to flash
mm_rajesh said:
Please make sure you are having latest ADB installed on your machine. The best option is to install Android Studio . Secondly make sure to enable USB debugging .
You can reboot to fastboot through adb commands.
Once you are connected to ADB enter the command below.
ADB reboot Bootloader.
This will reboot to fastboot mode.
Fastboot devices
The above command shows whether you are on fastboot or not.
Now open the unlock tool and unlock your bootloader. Else if you are confident in recovering your device. use the command below
Fastboot flashing unlock
Hope the above helps.
Click to expand...
Click to collapse
thanks
The problem was the phone cable
This TWRP from the first post is Android 12 too?

[SOLVED] Stuck on TWRP splash screen after trying to OTA update PixelExperience. HELP!

I will try to keep it short. I installed PE on my mi 8 se and it was working fine then a OTA update arrived, i clicked install and it turned off and stuck on TWRP splash screen. there is no navigation or buttons, it doesn't turn off till the battery runs out. after charging it up again it shows the twrp screen. i can go to fastboot mode by pressing power+vol- but
Code:
fastboot devices
doesn't show any devices connected to my pc. my pc also doesn't recognizes the phone and marks it as "USB unknown" and updating it with android drives shows an error stating that its not compatible.
Code:
adb devices
shows my phone when in twrp screen but that's about it.
as it stands:
-
Code:
fastboot devices
doesn't recognize devices, i think because USB debugging was off but now i have no way of boot into my phone to turn it on
-
Code:
adb devices
recognizes my phone but i don't know what to do with it
-i read somewhere that pixel experience "FBE encrypts the phone so twrp is unable to access past encryption" but i don't know what that means
-currently my phone is a brick with twrp logo, so please HELP.
THANKS in advance for help.
siyyee said:
I will try to keep it short. I installed PE on my mi 8 se and it was working fine then a OTA update arrived, i clicked install and it turned off and stuck on TWRP splash screen. there is no navigation or buttons, it doesn't turn off till the battery runs out. after charging it up again it shows the twrp screen. i can go to fastboot mode by pressing power+vol- but
Code:
fastboot devices
doesn't show any devices connected to my pc. my pc also doesn't recognizes the phone and marks it as "USB unknown" and updating it with android drives shows an error stating that its not compatible.
Code:
adb devices
shows my phone when in twrp screen but that's about it.
as it stands:
-
Code:
fastboot devices
doesn't recognize devices, i think because USB debugging was off but now i have no way of boot into my phone to turn it on
-
Code:
adb devices
recognizes my phone but i don't know what to do with it
-i read somewhere that pixel experience "FBE encrypts the phone so twrp is unable to access past encryption" but i don't know what that means
-currently my phone is a brick with twrp logo, so please HELP.
THANKS in advance for help.
Click to expand...
Click to collapse
NOTES (Read First):
- Twrp can´t decrypt data in android 12, so you need to install updates or magisk via adb sideload. If you remove pin lock in android you can install updates normally, because data can be decrypted.
- Do a clean install if your coming from PE11 or PE12 Alpha. Don´t update. And follow instructions from "Install".
- This firmware and vendor included in rom is specific to this rom, don´t try to use them in other roms.
- This twrp will probably only work with this vendor and firmware, don´t use in other roms.
Install:
1 - Flash rom (this is needed to install proper vendor and firmware)
1 - Flash Recovery via adb (Download: https://drive.google.com/file/d/1Iqa4-sBwThUAAvJsFwl6oP-D4EzRcCyq/view)
2 - Reboot recovery
3 - Factory Reset and Format Data (backup sdcard before format)
4 - reboot recovery
5 - Flash ROM via adb sideload (Advanced -> ADB sideload)
6 - reboot system
Update:
1 - Reboot recovery
2 - Advanced -> ADB sideload
3 - Reboot system
beenmoov said:
NOTES (Read First):
- Twrp can´t decrypt data in android 12, so you need to install updates or magisk via adb sideload. If you remove pin lock in android you can install updates normally, because data can be decrypted.
- Do a clean install if your coming from PE11 or PE12 Alpha. Don´t update. And follow instructions from "Install".
- This firmware and vendor included in rom is specific to this rom, don´t try to use them in other roms.
- This twrp will probably only work with this vendor and firmware, don´t use in other roms.
Install:
1 - Flash rom (this is needed to install proper vendor and firmware)
1 - Flash Recovery via adb (Download: https://drive.google.com/file/d/1Iqa4-sBwThUAAvJsFwl6oP-D4EzRcCyq/view)
2 - Reboot recovery
3 - Factory Reset and Format Data (backup sdcard before format)
4 - reboot recovery
5 - Flash ROM via adb sideload (Advanced -> ADB sideload)
6 - reboot system
Update:
1 - Reboot recovery
2 - Advanced -> ADB sideload
3 - Reboot system
Click to expand...
Click to collapse
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
siyyee said:
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
Click to expand...
Click to collapse
Have you tried to reflash to miui with mi flash tools?
maybe changing the cable or installing drivers because if it's boot to bootloader you can Always do Something.
siyyee said:
thanks for the response,
but as i mentioned in my post, fastboot doesn't recognized my device, the attached image is the output for
Code:
fastboot devices
i have no way to reboot phone to the os, its just either TWRP splash screen or fastboot mode by pressing power+vol-
thanks, hoping for further solution.
Click to expand...
Click to collapse
you should install fastboot driver first so the computer can access your phone in fastboot mode. after that you can easily use fastboot command to reinstall twrp image. follow this guide: https://beebom.com/fastboot-not-detecting-device-windows-10/
hey guys,
sorry for late reponse but i managed to fix the problem, turns out the cable i was using was faulty so i changed it with the original one and wallah it recognized my device.
then i flashed stock rom and then xiaomi eu rom, now working great.
thanks for all the help.

Categories

Resources