I bought a Bootloader Unclocked 9T Pro. Am I free to flash custom recoveries/roms? - Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe

I bought this device for custom ROM use only (LineageOS, Evolution X, Pixel Experience etc). Don't ever intend on using stock MIUI.
I'm not sure if the Mi account used to unlock the bootloader of this phone is still attached to it. But as long as I don't try to go back to stock MIUI, it won't be an issue right? I'm free to flash TWRP and LineageOS without running into a "Login to Mi Account to continue" prompt right?

Kkslider123 said:
I bought this device for custom ROM use only (LineageOS, Evolution X, Pixel Experience etc). Don't ever intend on using stock MIUI.
I'm not sure if the Mi account used to unlock the bootloader of this phone is still attached to it. But as long as I don't try to go back to stock MIUI, it won't be an issue right? I'm free to flash TWRP and LineageOS without running into a "Login to Mi Account to continue" prompt right?
Click to expand...
Click to collapse
Correct. You will only have problems if you flash MIUI with the Mi Flash Tool and accidentally lock the bootloader.
However, if you stuff up the phone somehow while flashing something, fastboot flashing MIUI could be your only way to recover the phone, so there is a slight risk still. If you ever get in this situation you just need to the care that you don't lock the phone.

Robbo.5000 said:
fastboot flashing MIUI could be your only way to recover the phone, so there is a slight risk still. If you ever get in this situation you just need to the care that you don't lock the phone.
Click to expand...
Click to collapse
Thanks, much appreciated! After some research about flashing MIUI using MiFlash, it looks like there is a button in the bottom right corner of MiFlash that says "clean all and lock". When you advise to "not lock the phone", you're referring to making sure that button is not ticked, right?

Kkslider123 said:
Thanks, much appreciated! After some research about flashing MIUI using MiFlash, it looks like there is a button in the bottom right corner of MiFlash that says "clean all and lock". When you advise to "not lock the phone", you're referring to making sure that button is not ticked, right?
Click to expand...
Click to collapse
Yes, though you can also delete the flash all and lock batch file from ROM folder before flashing, that way nothing happens if you forget to change it I the flash tool.

Robbo.5000 said:
Yes, though you can also delete the flash all and lock batch file from ROM folder before flashing, that way nothing happens if you forget to change it I the flash tool.
Click to expand...
Click to collapse
Thank you so much! Okay, so here's my process to ensure this phone is wiped clean before I start using it:
1. Use MiFlash to reinstall/flash MIUI, making sure the "clean all" button is selected instead of the "clean all and lock" button (I also deleted the clean & lock batch file just in case).
2. Boot phone into fastboot, then use ADB to flash TWRP.
3. In TWRP, Wipe>Format Data>yes to confirm.
4. Flash ROM. Reboot into ROM. Done!
This will ensure a completely clean wipe of all partitions prior to installing a custom recovery and rom, all without running into any "Mi Account Login" issues, correct?

Kkslider123 said:
1. Use MiFlash to reinstall/flash MIUI, making sure the "clean all" button is selected instead of the "clean all and lock" button (I also deleted the clean & lock batch file just in case).
Click to expand...
Click to collapse
Make sure you install the same version as the phone, so it will be either global or European.
Let the phone boot into MIUI once to finalise the install before flashing anything else - you don't need to go through the initial setup
Kkslider123 said:
2. Boot phone into fastboot, then use ADB to flash TWRP.
Click to expand...
Click to collapse
You'll flash TWRP with the fastboot command not adb
After installing you'll need to boot the phone immediately into TWRP - if the phone boots into system, then stock recovery will get restored.
Kkslider123 said:
3. In TWRP, Wipe>Format Data>yes to confirm.
Click to expand...
Click to collapse
After formatting data TWRP will probably have a problem accessing the data partition. Go to the reboot menu and select reboot to recovery to reload TWRP.
Also wipe Cache (which should also wipe Dalvik. I actually just do the factory reset as it's easier in the GUI) - either before or after flashing the custom ROM
Kkslider123 said:
4. Flash ROM. Reboot into ROM. Done!
Click to expand...
Click to collapse
Though you may also want GApps (if the ROM doesn't have any google stuff) and Magisk
Kkslider123 said:
This will ensure a completely clean wipe of all partitions prior to installing a custom recovery and rom, all without running into any "Mi Account Login" issues, correct?
Click to expand...
Click to collapse
Correct

Robbo.5000 said:
Long Reply
Click to expand...
Click to collapse
Awesome, sounds good! I'll go through the whole process once I get back home in about a week, but I'll be sure to ping you if I have any trouble!

Related

How to move to new Stock partition?

I need to understand how to update to the new Stock merged partition. Have been reading general advice in various threads that we need to flash new China developer rom. Can someone elaborate regarding how to do this and where to get this rom? Do we need to re-root? Do we need to reflash recovery?
I see that many new MM roms are using this new Stock partition like Matoxxi's newest RR rom. So want to know. Detailed help is highly appreciated... Thanks...
+1
I too would like to see a proper procedure..
This is what I personally did. Was on extended partition. With TWRP as recovery.
1) Flash the cwm r11( or any working cwm) recovery. Needed to flash the repartition zip!! Don't use TWRP. Did this once and had a dead phone. Reboot to recovery. You'll be on CWM.
2) Flash the back to stock partition zip. Choose the one with "el pierro verde" in it.
3) Flash TWRP recovery. Boot to recovery.
4) Flash the 5/12/17 miui zip. This is the ROM which merges the partitions. At this point the partitions are not merged yet!
4.1) Boot the phone up. Reboot to recovery
5) Repeat step 4. Now the partitions are merged.
6) Flash any ROM that you desire.
Of you are on stock partition with TWRP skip steps 1-3.
Good luck.
If you are on MIUI ROM, install 5.12.17 first to merge partitions and then 6.2.4 via Updater app. Xiaomi.eu version is tuned for europe/outside china, Google Apps are included in rom.
https://www.androidfilehost.com/?fid=24369303960690691
https://www.androidfilehost.com/?fid=24415232478676696
Or you can just MiFlash 6.2.4 chinese developer rom factory image from en.miui.com.
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
The only quick way to setup the new partition for now is to fastboot flash the Chinese Dev ROM, as you yourself already stated. You can flash it by fastboot flashing it using Mi PCSuite and choosing the Beta ROM.
On my experience, after the flash I got my bootloader locked ("fastboot oem device-info" resulted in Device unlocked = false), but I can simply unlock it through fastboot without any problem.
From that point, you can easily flash any custom ROM.
Or even MIUI V6, with manual, per partition fastboot flash rather than using MiFlash/Mi PCSuite because of different partition layout; V6 and lower got two boot, modem and system partitions for TDB, while the new has only one.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
Can you boot the phone after the first flashing? Than reboot to recovery and try step 4 again.
Have a look to
http://en.miui.com/thread-209941-1-1.html
there you can find a zip (cancro_merge_partition(2).zip) and the guideline how to use. For me it worked fine.
It does the repartitioning through fastboot by executing 1 shell script. Afterwards you might want to update your recovery rom to an English version.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
anshude1 said:
Thanks for the details. I did try this out, am on original stock partition... Flashed 5.12.17, two times as per step 4. Rebooted but the partition remains resolute at old stock and does not merge. Am using twrp 2.8.7. Tried this twice, no success... Need advice... Thanks
Click to expand...
Click to collapse
I believe you have to use default Mi Recovery. One time flash of 5.12.17 was enough on my Mi4.
ksloh1 said:
Im using Pallmali method to flash, however 1st i try to repeat flash on step 4, it didnt work, then i download MIUI china dev 6.2.4 and flash, wait for a while and it is updated to MIUI 7 MM with merged partition.
Click to expand...
Click to collapse
It got auto updated? So did you flash stock recovery? Or used twrp
I downloaded 6.2.4 into my phone and then choose the file to update from miui itself, and it will reboot to twrp recovery and install. After fully install and reboot. Only then it will have merged partition and MM miui. And back to stock recovery automatically.
I just fastboot 6.2.4 rom successfully... Now will flash twrp...
And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
anshude1 said:
I just fastboot 6.2.4 rom successfully... Now will flash twrp...
And made my first big mistake going in for 6.2.4 beta... It has locked bootloader and a load of Chinese **** you can't make sense of and have to forcefully bear it. Please can anyone help me to unlock the bootloader without begging to the ****ty miui folks?
Click to expand...
Click to collapse
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.
If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:
Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
rxl.noir said:
First of all, if you planned to stay on MIUI MM, you don't have any options than requesting an unlock permission to Xiaomi.
If you just want the merged partition and prepared to flash any custom ROM or MIUI V6, enter fastboot then send this command:
Code:
fastboot oem unlock
The reason is that when you unlocks the bootloader through fastboot, it automatically wipes out your phone. IDK why, but possibly inherent to Android's design for security reasons.
Click to expand...
Click to collapse
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
anshude1 said:
I tried this out, the phone got all wiped but the OEM unlocking button does not work still. So how would I know if the bootloader is unlocked?
Click to expand...
Click to collapse
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending
Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.
Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
rxl.noir said:
OEM Unlocking button? You meant on the Developer Options? That button is currently useless with no function at all. If you want to ascertain if your bootloader is unlocked or not, try sending
Code:
fastboot oem device-info
via fastboot. If the "Device unlocked" comes out as true, then your bootloader is already unlocked.
Ooooor just try to flash any custom recovery/ROM. If it works, then your bootloader is already unlocked.
Click to expand...
Click to collapse
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
anshude1 said:
Great, big thanks to you... It worked. Device unlocked is True
Funnily it also quoted device tampered is True :laugh:
Click to expand...
Click to collapse
Yeah, it might be set to true once you had flashed another unsigned image to the eMMC (or when you disconnect the battery, IDK), probably for the warranty checks :q.
knoxwalles said:
Have a look to
http://en.miui.com/thread-209941-1-1.html
there you can find a zip (cancro_merge_partition(2).zip) and the guideline how to use. For me it worked fine.
It does the repartitioning through fastboot by executing 1 shell script. Afterwards you might want to update your recovery rom to an English version.
Click to expand...
Click to collapse
Worked for me
Thank you very much.

Question regarding procedure to safely install (MIUI eu) rom

Hi,
The Mi8 i've bought is a Chinese version which came with the bootloader unlocked and the global rom installed.
Now I want to install the MIUI eu rom on my phone, but since there are so many brick reports I try to get clear what the right procedure is. I figured out that this procedure is the right one and I assume it can be usefull for alot of users.
As far as I understand, most of the bricks are the continuation of installing another rom via MiFlash with accidently enabled the "lock bootloader" option or trying to lock the bootloader after succesfully installing another rom (other than Chinese rom), so DONT DO IT
Since I am more familiar with TRWP, I used this to install the rom.
I've used the procedure below and succesfully installed MIUI 10 EU 10.0.4.0 8.1 rom on my phone.
1. Install TWRP by following this:
Download TWRP image
Transfer TWRP image from pc to phone
Boot to TWRP via fastboot
This should result in the following screen:
NOTE: If you phone is still encrypted, a password prompt will show up. Enter your
pin to decrypt
Click "Install", select the recovery file and swipe to install the image. To make the .img file visible in TWRP, click on the button in the right corner below saying: "Install Img"
After TWRP is succesfully installed, head back to the the start page of TWRP:
Select "Wipe" and in the next screen press on "Format Data". The following screen will appear:
Type in "yes" to start formatting the data. Dont touch the phone now and patiently wait till this is finished.
Once the data formatting is done, press the back button a couple of times to return to the start page of TWRP.
Now select "Reboot" and click on "Recovery". The phone will now reboot and start TWRP again. You will now see that you dont have to decrypt your phone anymore, since the encryption is removed.
2. Install MIUI eu (or any) rom
Since the data is formatted, all the data on the phone is removed. Connect your phone to your pc and transfer the rom to the phone.
From the start page of TWRP click on "Install"
In my case I've installed the MIUI 10 EU rom (v10.0.4.0)
Click on the rom you want and swipe to install it.
Patiently wait untill the rom is installed. Now you can click on reboot and your phone will now boot to the freshly installed rom.
3. Enjoy
Note: Do not try to lock the bootloader when you are using a Chineese phone with a rom other than the Chineese rom. This will brick you phone
Note2: Always remember to check the "fastboot getvar anti" status before installing another rom. This should be implemented starting from the Android 9 based roms, but just check to be sure. If the "getvar anti" commands results in a FAILED you should be good to go.
@AL_IRAQI wrote a nice post with more information about this policy. https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
Thanks in advance!
Correct steps u got it right, don't forget if u flash a android pie rom u cannot downgrade it to a previous miui version because of the anti roll back that Xiaomi implemented from Android 9.0 aka pie.
Wipe cache/dalvik is not needed after a clean flash.
bassbounce said:
Correct steps u got it right, don't forget if u flash a android pie rom u cannot downgrade it to a previous miui version because of the anti roll back that Xiaomi implemented from Android 9.0 aka pie.
Wipe cache/dalvik is not needed after a clean flash.
Click to expand...
Click to collapse
Thanks for your quick reply! Does this anti rollback policy even counts when formatting data before installing the new rom? And how about installing a rom like lineage os? Do you know if can (for example) install lineage os 15.1 after I've used an Android 9.0 based MIUI rom?
I will try to install the MIUI eu rom tomorrow.
@tharonny
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
He explains a bit about the anti roll back system.
It was first introduced to the Redmi note 5 pro they got lots of information about it.
bassbounce said:
@tharonny
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-everything-anti-roll-t3816219
He explains a bit about the anti roll back system.
It was first introduced to the Redmi note 5 pro they got lots of information about it.
Click to expand...
Click to collapse
Thanks, I'll look into it
I would like to ask: What if I installed eu rom, but I didn't flash "Disable Dm-Verity" is there a risk? If I am correct "Disable Dm-Verity" is required to disable encryption. Eu rom doesn't have encryption I think, but if the system is at some stage encrypted I should decrypt and format data I think...Am I right - at most not a brick, but a potential loss of data will occure?
s7eVe90 said:
I would like to ask: What if I installed eu rom, but I didn't flash "Disable Dm-Verity" is there a risk? If I am correct "Disable Dm-Verity" is required to disable encryption. Eu rom doesn't have encryption I think, but if the system is at some stage encrypted I should decrypt and format data I think...Am I right - at most not a brick, but a potential loss of data will occure?
Click to expand...
Click to collapse
You don't need it. Just flash twrp format and flash Xiaomi EU ROM. Done
SPOCK_VULKAN said:
You don't need it. Just flash twrp format and flash Xiaomi EU ROM. Done
Click to expand...
Click to collapse
Are you sure about this? I thought I've read some posts about people not be able to install the rom when the disable dm verity is not flashed?
tharonny said:
Are you sure about this? I thought I've read some posts about people not be able to install the rom when the disable dm verity is not flashed?
Click to expand...
Click to collapse
Yes I am sure. Dmverity is need to boot miui official ROM not xiaomi.eu
SPOCK_VULKAN said:
Yes I am sure. Dmverity is need to boot miui official ROM not xiaomi.eu
Click to expand...
Click to collapse
And what about roms like Lineage os? Does that rom require dm verity to be disabled?
tharonny said:
And what about roms like Lineage os? Does that rom require dm verity to be disabled?
Click to expand...
Click to collapse
Neither. Dmverity is only need for miui official ROM
SPOCK_VULKAN said:
Neither. Dmverity is only need for miui official ROM
Click to expand...
Click to collapse
Thanks, good to know!
Good news! Today I've successfully installed MIUI 10 eu rom. I did indeed not need to flash the disable dm-varity. I will update the FP so it matches the steps I've taken. Next week I will make a complete tutorial with images.
Thanks again!
What's the reason to flash the recovery from the recovery itself and not directly from fastboot? I mean :
fastboot devices
fastboot flash recovery xxx.img
TIA
descarao81 said:
What's the reason to flash the recovery from the recovery itself and not directly from fastboot? I mean :
fastboot devices
fastboot flash recovery xxx.img
TIA
Click to expand...
Click to collapse
To be honest, i dont know. I know about the fastboot flash recovery command, but since flashing via twrp worked good for me I've keeped it in the procedure
Little question:
Do I have to select "wipe data" under "Advanced wipe" or should I select "Format Data" in Wipe menu?
baddevil2 said:
Little question:
Do I have to select "wipe data" under "Advanced wipe" or should I select "Format Data" in Wipe menu?
Click to expand...
Click to collapse
"Format Data" is the one your looking for. If you follow the steps in the first post you should be fine.
Wipe data is a factory reset. You need to format your data which will entirely remove your current rom and remove the encryption
Can't boot to recovery (twrp) after unlocking:
C:\Users\Dominic\Downloads\platform-tools_r28.0.1-windows\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' FAILED (Write to device failed in SendBuffer() (Unknown error))
Finished. Total time: 5.886s
Any ideas?
tharonny said:
Hi,
The Mi8 i've bought is a Chinese version which came with the bootloader unlocked and the global rom installed.
Now I want to install the MIUI eu rom on my phone, but since there are so many brick reports I try to get clear what the right procedure is. If this procedure is the right one, I assume it can be usefull for alot of users.
As far as I understand, most of the bricks are the continuation of installing another rom via MiFlash with accidently enabled the "lock bootloader" option or trying to lock the bootloader after succesfully installing another rom (other than Chinese rom).
Since I am more familiar with TRWP, I would like to use this to install the rom
Now I think I got the procedure clear to safely install the MIUI eu rom and I was hoping that someone can confirm this:
1. Install TWRP by following this:
Download TWRP image
Transfer TWRP image from pc to phone
Boot to TWRP via fastboot
*If encryped: Enter your
pin to decrypt
Select and install TWRP image
Format data
Reboot to recovery
2. Install MIUI eu (or any) rom
Transfer the rom from the pc to the phone
Install rom
Reboot
3. Enjoy
By following the steps above there should'nt be any chance of bricking the phone if I'm correct. If someone could confirm the above, i will update the procedure above with some images to make it more helpfull/usefull for other users who are in the same situation as me.
In another topic I've read something about flashing a region fix (since I'm using a Chinese phone), but I cannot find this elsewere. I reckon that this step is not needed?
EDIT: Topic updated. I've successfully installed MIUI 10 eu rom using the steps above!
Thanks in advance!
Click to expand...
Click to collapse
First, thank you very much for such informations. Flashing rom isn't hard for me but I'm so afraid to brick the device that costs me 450 euros....
Could you please put some screens as you mentioned ?
Could you please detail more in this first thread if you format or wipe which partition (data for example).
Thanks for your time man !
Can someone confirm antirollback bricks the phone from official miui to lower version miui but doesn't brick miui x.x.x to xiaomi.eu rom any versions ?
baddevil2 said:
Can't boot to recovery (twrp) after unlocking:
C:\Users\Dominic\Downloads\platform-tools_r28.0.1-windows\platform-tools>fastboot boot recovery.img
Downloading 'boot.img' FAILED (Write to device failed in SendBuffer() (Unknown error))
Finished. Total time: 5.886s
Any ideas?
Click to expand...
Click to collapse
Tonight Ill look into it

HELP! stuck in twrp after flashing xiaomi eu rom

dear experienced users,
I manage to unlock my Chinese k20 pro BL and then it manage to boot to the Chinese rom. but then I uninstall twrp but it still shows mi recovery 3.0. because I cant read Chinese, I think I pressed the wipe button and it just stuck in mi recovery.
after some tinkering I manage to install twrp 3.3.1-1 and I tried to intall the eu rom 10.3.15 successfully but it still boots to recovery. however I tried it wont boot normally and now im stuck in twrp
I really need your help as this is my only phone
bagus.prihardian said:
dear experienced users,
I manage to unlock my Chinese k20 pro BL and then it manage to boot to the Chinese rom. but then I uninstall twrp but it still shows mi recovery 3.0. because I cant read Chinese, I think I pressed the wipe button and it just stuck in mi recovery.
after some tinkering I manage to install twrp 3.3.1-1 and I tried to intall the eu rom 10.3.15 successfully but it still boots to recovery. however I tried it wont boot normally and now im stuck in twrp
I really need your help as this is my only phone
Click to expand...
Click to collapse
Flash a fastboot ROM from here.
https://forum.xda-developers.com/k2...irmware-10-3-8-0-9-6-13-t3939647/post79726515
Follow this guide here to flash it.
http://en.miui.com/a-234.html
VERY IMPORTANT.
In step 5 of the guide, before clicking install, you need to change flash option at the bottom of the Flash Tool. It's default is 'Clean all and lock'. Make sure you change this and select 'Clean all'.
The default option locks the bootloader after flashing, so make sure to change it.
After restoring the phone start again by following this guide to install TWRP and an eu ROM
https://forum.xda-developers.com/k2...-xiaomi-eu-rom-fix-gpay-t3946342/post79859363
Did you do a Factory Reset after install the rom?
Robbo.5000 said:
Flash a fastboot ROM from here.
https://forum.xda-developers.com/k2...irmware-10-3-8-0-9-6-13-t3939647/post79726515
Follow this guide here to flash it.
http://en.miui.com/a-234.html
VERY IMPORTANT.
In step 5 of the guide, before clicking install, you need to change flash option at the bottom of the Flash Tool. It's default is 'Clean all and lock'. Make sure you change this and select 'Clean all'.
The default option locks the bootloader after flashing, so make sure to change it.
After restoring the phone start again by following this guide to install TWRP and an eu ROM
https://forum.xda-developers.com/k2...-xiaomi-eu-rom-fix-gpay-t3946342/post79859363
Click to expand...
Click to collapse
trying this right now
Schnedi said:
Did you do a Factory Reset after install the rom?
Click to expand...
Click to collapse
no, I didn't do a factory reset after installing. will it help?
bagus.prihardian said:
no, I didn't do a factory reset after installing. will it help?
Click to expand...
Click to collapse
Sometimes when it only boots to TWRP, it does.
It has worked for me a few times.
Robbo.5000 said:
Flash a fastboot ROM from here.
https://forum.xda-developers.com/k2...irmware-10-3-8-0-9-6-13-t3939647/post79726515
Follow this guide here to flash it.
http://en.miui.com/a-234.html
VERY IMPORTANT.
In step 5 of the guide, before clicking install, you need to change flash option at the bottom of the Flash Tool. It's default is 'Clean all and lock'. Make sure you change this and select 'Clean all'.
The default option locks the bootloader after flashing, so make sure to change it.
After restoring the phone start again by following this guide to install TWRP and an eu ROM
https://forum.xda-developers.com/k2...-xiaomi-eu-rom-fix-gpay-t3946342/post79859363
Click to expand...
Click to collapse
this fixes it. thanks Robbo.5000
bagus.prihardian said:
this fixes it. thanks Robbo.5000
Click to expand...
Click to collapse
That's good. I'll be honest now and admit that restoring the phone was probably not necessary. However, you sounded like you were a little unsure of things, so thought it might be useful for you to know how to restore the phone when things go really wrong. When all you can do is boot into fastboot, you now know how to recover the phone, as long as the bootloader is unlocked.
Because you were still able to boot into TWRP, you could have just gone in to Wipe, then Advanced Wipe, selected Dalvik cache, Cache, Data and System and wiped them all, then gone back to the main TWRP screen and installed an eu ROM again. That probably would have worked fine.
bagus.prihardian said:
this fixes it. thanks Robbo.5000
Click to expand...
Click to collapse
Simply just hit thanks button bro
Hi Robbo,
I had the exact same problem as Bagus.
I downloaded the MiFlash tool, and the stable global fastboot ROM from the link you provided. Phone is in fastboot and can be detected by the flash tool. When I select the folder for the extracted ROM files and then click "Flash" (as in step 5 of the Xiaomi Guide) is says it can't find the flash_all.bat? How can I fix this pls! Or am I using a the wrong ROM from that list on XDA forum?
sanj.dhillon12 said:
Hi Robbo,
I had the exact same problem as Bagus.
I downloaded the MiFlash tool, and the stable global fastboot ROM from the link you provided. Phone is in fastboot and can be detected by the flash tool. When I select the folder for the extracted ROM files and then click "Flash" (as in step 5 of the Xiaomi Guide) is says it can't find the flash_all.bat? How can I fix this pls! Or am I using a the wrong ROM from that list on XDA forum?
Click to expand...
Click to collapse
You need to fully extract the ROM. Depending on the zip software you will need to extract twice. Open the tgz file and extract the contents. If you only get a single file you need to open this file in your zip software and extract it again. If the file doesn't have a file extension, rename it and add .tar on the end.
You should end up with a folder, which has some .bat files and a second folder. Point the Mi Flash Tool to this extracted top level folder.
Robbo.5000 said:
You need to fully extract the ROM. Depending on the zip software you will need to extract twice. Open the tgz file and extract the contents. If you only get a single file you need to open this file in your zip software and extract it again. If the file doesn't have a file extension, rename it and add .tar on the end.
You should end up with a folder, which has some .bat files and a second folder. Point the Mi Flash Tool to this extracted top level folder.
Click to expand...
Click to collapse
Worked beautifully, thank you so much for your help - honestly it's saved me a lot of stress. I wish only good things for you sir!
if you have problem with xiaomi.eu that still booting to twrp
reboot your phone to bootloader/fastboot and format data
"fastboot format userdata"

How To Guide [TWRP] MI 11 (Pro/Ultra) (mars/star)

[TWRP] MI 11 (Pro/Ultra) (mars/star)​
WARNING : I do not know who made this TWRP and I am NOT taking credit for it. It was posted on eu site and I'm just sharing since there was no thread for twrp here on xda.
INSTRUCTIONS
1. Before starting the process, the bootloader must be unlocked.
2. Install Xiaomi USB drivers.
3. Enable Usb debugging from Settings - Additional settings - developer options.
4. Download TWRP for Mi 11 (Pro/Ultra) , and put it in your fastboot folder.
5. Put your phone into fastboot mode.
6. Rename downloaded file to "twrp.img".
7. Do the following command. It will automatically boot into TWRP.
Code:
fastboot boot twrp.img
8. If you get a screen asking for a pin, press 2nd option
and change language to English then enter phone pin.
9. Change language to English (press the 6th option).
10. Go to "Advanced" and select "Onekey inject TWRP".
11. Swipe to inject the TWRP. It might take a few minutes, so don't worry.
Note
1) Don't change the boot slot, currently (Slot A) for most or your device will not boot at all.
2) For user experiencing decrypt issue, you can try one of the methods below to enable decryption:
a. Remove all your security eg. fingerprint, face unlock, pattern and leave ONLY pin. Reboot to twrp and try again.
b. Reflash twrp.
c. LAST RESORT! Format data and factory reset your device then reflash twrp.
3. For user experiencing decrypt issue but just want to flash latest build:
a. Boot to twrp > mount > mount usb storage then transfer your rom.zip to data/media/0
b. Now go to install and look for rom.zip under data/media/0. Profit!
4. The decrypt issue was a bug on the Chinese twrp, no update since may so don't ask for an ETA.
CHANGELOGS
07/18/21
1) Additional instruction from scratch.
2) Additional note for people having decrypt issue.
CTTO: xiaomi.eu, hoangsang
Is the legit TWRP ?? Xiaomi.EU getting ready to push updates via TWRP? :'D
skylerfly16 said:
Is the legit TWRP ?? Xiaomi.EU getting ready to push updates via TWRP? :'D
Click to expand...
Click to collapse
Yes, They just did the new stable in TWRP Format.
The Chinese exe worked for me this morning but after I installed it the phone didn't want to boot and I got stuck in twrp for awhile
speedtripler said:
The Chinese exe worked for me this morning but after I installed it the phone didn't want to boot and I got stuck in twrp for awhile
Click to expand...
Click to collapse
Why did you install the Chinese exe?
skylerfly16 said:
Why did you install the Chinese exe?
Click to expand...
Click to collapse
The official one hadn't been released yet and I like a challenge sometimes
Hey, thx for bringing this to my attention, but i checked... root-access is gone... :/
deleted post
I keep getting a " no such partician " fail msg , what am I doing wrong here?
speedtripler said:
I keep getting a " no such partician " fail msg , what am I doing wrong here?
Click to expand...
Click to collapse
Your device is not connected, hence the empty list after adb devices.
Did you enable USB debugging in Developer options?
heinhuiz said:
Your device is not connected, hence the empty list after adb devices.
Did you enable USB debugging in Developer options?
Click to expand...
Click to collapse
Thx It's ok,I got it after a few attempts
The language on twrp still opens on Chinese and it needs changed to English each time but apart from that it seems to work fine!
SanHelios said:
Hey, thx for bringing this to my attention, but i checked... root-access is gone... :/
Click to expand...
Click to collapse
mine was revoked after i flash the latest stable, just download magisk23.apk then rename it to magisk23.zip and flash thru twrp, got my root back that way, cheers
innocence07 said:
mine was revoked after i flash the latest stable, just download magisk23.apk then rename it to magisk23.zip and flash thru twrp, got my root back that way, cheers
Click to expand...
Click to collapse
Is banking and payment apps still working?
Can you still pass safetynet check?
speedtripler said:
Is banking and payment apps still working?
Can you still pass safetynet check?
Click to expand...
Click to collapse
Yes and yes
Thanks, it works for me.
But each time i boot on TWRP, go back to chinesse language.
Can we do backup ? (and what can we backup) in case of something wrong in the future
sabrewulf said:
Thanks, it works for me.
But each time i boot on TWRP, go back to chinesse language.
Can we do backup ? (and what can we backup) in case of something wrong in the future
Click to expand...
Click to collapse
The recovery is fully functional as far as I can tell...
I did a complete backup successfully but I haven't tried to restore it yet
You click on everything ?
Hi,
after a long day of learning the hard way (got stuck in Fastboot Loop) I am now on stable EU 12.5.7 (MI11 Ultra, EU phone). So far so good, but I was wondering, how can I make TWRP stuck to the phone, meaning, when I push the power button to have an option like: Boot into TWRP. Is that possible or is there a "click this button with this... trick"?
ATM, I can only get TWRP to work, when I enable it via PC, which is not good.
I am asking, because I have an old Oneplus 6, which has this option. TWRP is installed and I can boot directly to it, if I want to.
Can you please help me out? Is there a trick or am I doing something wrong?
Greetings from Germany
Placebo
I believe you are on custom EU rom right? Just reboot into recovery, custom eu rom injects twrp as standard recovery
Hi, yes I am and I did that also. But still can't boot into TWRP from within the phone. Is there a trick after the injection?

Question Relock Bootloader

Hi all,
After multiple issues with this phone, I finally opt out and pass to Pixel 7 Pro.
So, i would like to know how to relock bootloader avoiding the problems of bootloop.
I've uninstall Magisk with option "complete uninstall".
I saw it's better to flash stock image before relock bootloader but how ?
Simply by flashing boot.img on the two slot OR flashing full.zip generated by Oxygen Updater OR other method ?
Thanks a lot for your help !
fma388 said:
Hi all,
After multiple issues with this phone, I finally opt out and pass to Pixel 7 Pro.
So, i would like to know how to relock bootloader avoiding the problems of bootloop.
I've uninstall Magisk with option "complete uninstall".
I saw it's better to flash stock image before relock bootloader but how ?
Simply by flashing boot.img on the two slot OR flashing full.zip generated by Oxygen Updater OR other method ?
Thanks a lot for your help !
Click to expand...
Click to collapse
+1 for leaving OnePlus lol
You need to do both, flash the boot.img, then flash the full zip from oxygen updater
And then after a full reset and full boot up you can relock the bootloader.
zopostyle said:
+1 for leaving OnePlus lol
You need to do both, flash the boot.img, then flash the full zip from oxygen updater
And then after a full reset and full boot up you can relock the bootloader.
Click to expand...
Click to collapse
This phone was promising on paper but the user experience was much less so...
Thank you for the answer !!
For the full zip of Oxygen Updater, I flash it with "fastboot flash full.zip" or how? (I've never flashed a full zip )
fma388 said:
This phone was promising on paper but the user experience was much less so...
Thank you for the answer !!
For the full zip of Oxygen Updater, I flash it with "fastboot flash full.zip" or how? (I've never flashed a full zip )
Click to expand...
Click to collapse
You can use the Local installation system, from the update screen and it that does not support use the OPLocalUpgrade app that Oxygen Updater provides.
zopostyle said:
You can use the Local installation system, from the update screen and it that does not support use the OPLocalUpgrade app that Oxygen Updater provides.
Click to expand...
Click to collapse
Ok thanks !
zopostyle said:
+1 for leaving OnePlus lol
You need to do both, flash the boot.img, then flash the full zip from oxygen updater
And then after a full reset and full boot up you can relock the bootloader.
Click to expand...
Click to collapse
Dear sir, i'm using Ne2213_11_C.30 (Newest Rom). Can u give me the Instructions to relock the bootloader (step by step). I don't know how to flash the boot.img. Thank so much.
hoaianh1505 said:
Dear sir, i'm using Ne2213_11_C.30 (Newest Rom). Can u give me the Instructions to relock the bootloader (step by step). I don't know how to flash the boot.img. Thank so much.
Click to expand...
Click to collapse
If you're on the latest rom there is no need to relock the bootloader
But if you want to, download this https://gauss-componentotacostmanua...23/03/21/b6cfe6d4ec4f4cf7bcb316891f9f8db9.zip
It's the full NE2213 C30 zip file.
Than download https://oxygenos.oneplus.net/OPLocalUpdate_For_Android13.apk
Intall it on you phone, It will show a new app Local Upgrade, using this tool you will install the above zip file.
After the installation complete, it's recommended to full wipe your device.
Than using adb and fastboot that you can download from here https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/
plug you device into your computer
reset it to fastboot mode (turn off, hold power, vol + and vol - until the device start than release power button, once the screen shows the options you can release all buttons and choose fastboot mode if its not there)
on the command prompt type:
Fastboot flashing lock
And that's it.
zopostyle said:
If you're on the latest rom there is no need to relock the bootloader
But if you want to, download this https://gauss-componentotacostmanua...23/03/21/b6cfe6d4ec4f4cf7bcb316891f9f8db9.zip
It's the full NE2213 C30 zip file.
Than download https://oxygenos.oneplus.net/OPLocalUpdate_For_Android13.apk
Intall it on you phone, It will show a new app Local Upgrade, using this tool you will install the above zip file.
After the installation complete, it's recommended to full wipe your device.
Than using adb and fastboot that you can download from here https://forum.xda-developers.com/t/tool-minimal-adb-and-fastboot-2-9-18.2317790/
plug you device into your computer
reset it to fastboot mode (turn off, hold power, vol + and vol - until the device start than release power button, once the screen shows the options you can release all buttons and choose fastboot mode if its not there)
on the command prompt type:
Fastboot flashing lock
And that's it.
Click to expand...
Click to collapse
Thank you so much. Your advice's no need to relock the bootloader, i just worry about the information security. Eg: Banking app can work normal?
After updated to oxygen 13, my phone appear the warning: "phone has been unlocked and cant be trusted ..." each time i boot my device. How can i turn off this warning?
hoaianh1505 said:
Thank you so much. Your advice's no need to relock the bootloader, i just worry about the information security. Eg: Banking app can work normal?
After updated to oxygen 13, my phone appear the warning: "phone has been unlocked and cant be trusted ..." each time i boot my device. How can i turn off this warning?
Click to expand...
Click to collapse
There is no reason to worry about that warning. As your bootloader is not locked the only breach is that a user can manually flash another firmware.
But as he will not have the device on hand there is no problem.
My advice is to not relock, many users bricked their devices doing that.
Also everything works just fine, so no need to relock.
zopostyle said:
There is no reason to worry about that warning. As your bootloader is not locked the only breach is that a user can manually flash another firmware.
But as he will not have the device on hand there is no problem.
My advice is to not relock, many users bricked their devices doing that.
Also everything works just fine, so no need to relock.
Click to expand...
Click to collapse
Thanks for your helpful advice.

Categories

Resources