Hi all, thought I would post a simple guide for people who are wanting to get some customisation on their ROMs and install root.
First off - as of this post there's no working twrp/orangefox for this device and as far as I'm aware android 12 itself still has lots of recovery quirks.
So without further ado, we will be using the fastboot method to install MIUI 13 EU stable.
First things first - we need to unlock our bootloader...
Log into your Mi Account using your phone with a data connection (disable WiFi)
- Enable Developer Settings -> Enable USB Debugging
- Enable OEM Unlock in Developer Settings
- Add device in Mi Unlock status in Developer Settings.
You now need to wait 168 hours before the unlock tool will work....
Now use your device as normal (yes you can use WiFi) but make sure you actually use it for things like calling, texts, GPS and some data usage. I say this because some users report that the timer has not expired even though technically 168 hours had passed.
Right - still with me? Let's continue the guide. Next step before we unlock our bootloader is to backup our data.
I repeat
BACKUP YOUR ENTIRE DEVICE BECAUSE IT WILL BE WIPED ENTIRELY. That means your photos, music, everything. This will delete everything. You have been warned.
Download the tool here
Apply for permissions to unlock Mi devices
en.miui.com
And follow the on-screen prompts and eventually your phone will reboot.
I usually let it completely boot (may take 10 minutes) until it enters the MIUI welcome screen etc just to verify the device is still functioning as expected.
Next phase has two options:
Option one, install MIUI EU ROM and root
Option two install root only.
If you only want to root your stock MIUI then skip to option two down below.
Option one, install MIUI EU ROM and root:
First off, we will need ADB installed. I used the version linked below
[Download] ADB Installer v1.4.3 - Drivers, ADB and Fastboot Tools
Install drivers, ADB and fastboot tools with one single installer.Advertisement What’s ADB Installer v1.4.3 This package includes all required drivers for Android: ADB drivers (Android Debug Bridge), Fastboot and Google USB-drivers. Very easy to install. Features: Small size. Fast installation...
xiaomifirmware.com
I put the folder in C:/ADB
Download fastboot image/rom for your phone.
MAKE SURE YOU PICK THE CORRECT FILE FOR YOUR PHONE. IF YOU DO NOT KNOW WHAT YOUR DEVICES CODENAME IS, DO NOT PROCEED ANY FURTHER OTHERWISE YOU WILL BRICK YOUR DEVICE.
In MY case, my phone is the one listed in this forum, a Poco x4 pro 5g. So I downloaded the file for a Poco x4 pro 5g codenamed veux
From here. EDIT: The file names have since been updated due to this phone having multiple varients so be sure to check which device/files you need - the correct file for a Poco x4 pro 5g is now "VEUXG"
Xiaomi.eu Multilang MIUI ROMs - Browse /xiaomi.eu/MIUI-STABLE-RELEASES/MIUIv13 at SourceForge.net
OFFICIAL mirror of MIUI Multilang ROM by https://xiaomi.eu/
sourceforge.net
Extract the fastboot image/rom into this folder c:\ADB (or where you installed your ADB folder)
Open "cmd.exe" on your PC
Change to directory were you have installed adb & fastboot/ROM file locations
Type (ALL commands here are without the quotation marks, for example the next few words would be: cd c:\adb) "cd c:\adb" press enter
This will set ADB to our target folder that you moved your fastboot ROM into.
Connect your phone to the pc and reboot phone. Then by holding "Volume -" and "Power on" buttons simultaneously after approx 10 seconds or so you should see "fastboot" on the phone.
Now in the CMD window, type "fastboot devices" and hit enter.
You should see a number (sometimes with characters) appear alongside the word fastboot which signals that you're connected correctly.
if you dont see a number:
change USB port / change USB cable / use USB 2.0 / check driver installation...
Once you have fastboot detecting your device, DOUBLE CHECK YOU HAVE THE CORRECT INSTALLATION FILE FOR YOUR DEVICE.
Got the right one? Sweet, we're ready to flash MIUI EU.
with your rom extracted into a folder (I put mine inside the adb folder) right click the bat file you wish to use - FORMAT or UPDATE, choose "copy path", insert in command line/cmd window then press enter. Follow on screen directions.
Wait for it all to complete now you're good to go, it will reboot and you're successfully running MIUI EU! Now read below if you want to root your device too
Root
I'm guessing you've already booted up your phone running MIUI EU by now, set up the basics until you get it to the home screen.
Download magisk and install it onto your phone.
Now we need to patch our boot.img and lucky for us the boot.img is located inside the MIUI ROM you downloaded earlier on your PC - nice!
Extract the boot.img and place this onto your phone via USB or SD card.
Unfortunately for those running a stock ROM, you will need to locate your stock ROM files boot.img.
Open magisk, tap install then the option to patch the boot.img (you'll see how to do this once you open the app)
At this stage I removed any of the other MIUI files/folders from my ADB folder to avoid any confusion. transfer the patched boot.img into your ADB folder on your PC and rename it to boot.img
Turn your phone off and boot into fastboot mode again Open CMD again
Type "cd c:\adb" press enter.
"Fastboot devices" press enter.
(Make sure you see the numbers/letters that show your device is detected etc)
Now type
"fastboot flash boot boot.img"" press enter and wait for the process to complete.
Congratulations you now have a nice fluid ROM without loads of bloat and root ready to install some goodies
For those of you who haven't tried a MIUI EU ROM I suggest you have a Google to see what additional features it offers over stock. I prefer it over any aosp/custom ROM due to the stability, customization and the fact it's stripped of all MIUI bloatware
https://xiaomi.eu/community/threads/xiaomi-eu-vs-global-rom-differences.37425/ here's what I found for those lazy ones among us.
1qazwsx4 said:
Now type
"fastboot flash boot.img" press enter and wait for the process to complete.
Click to expand...
Click to collapse
Many thanks for your post but this one should be "fastboot flash boot boot.img"
Hientran43 said:
Many thanks for your post but this one should be "fastboot flash boot boot.img"
Click to expand...
Click to collapse
Your welcome and thanks for that, corrected and updated my fault for posting so late into the night haha
Just wanting to be 100% sure, as I'm pretty sure this is right but really don't want to brick the phone -
The Poco X4 Pro 5G with Model 2201116PG would be formatted with the ROM
xiaomi.eu_multi_VEUX_V13.0.4.0.RKCCNXM_v13-11-fastboot.zip, yes? Or would it be the VEUXG rom?
GandhiChan said:
Just wanting to be 100% sure, as I'm pretty sure this is right but really don't want to brick the phone -
The Poco X4 Pro 5G with Model 2201116PG would be formatted with the ROM
xiaomi.eu_multi_VEUX_V13.0.4.0.RKCCNXM_v13-11-fastboot.zip, yes? Or would it be the VEUXG rom?
Click to expand...
Click to collapse
There are also 4 phones under the VEUXG ROM name. Although the 64-megapixel camera phone Codename peuxp. Unclear, i would also be interested in which one to install
GandhiChan said:
Just wanting to be 100% sure, as I'm pretty sure this is right but really don't want to brick the phone -
The Poco X4 Pro 5G with Model 2201116PG would be formatted with the ROM
xiaomi.eu_multi_VEUX_V13.0.4.0.RKCCNXM_v13-11-fastboot.zip, yes? Or would it be the VEUXG rom?
Click to expand...
Click to collapse
If your model number matches my screenshot. I flashed the file for veux/peux which was a China based ROM. The ROM has been changed to a global base, VEUXG is the one to go for
kacsa105 said:
There are also 4 phones under the VEUXG ROM name. Although the 64-megapixel camera phone Codename peuxp. Unclear, i would also be interested in which one to install
Click to expand...
Click to collapse
To everyone, please don't flash anything without confirming what model your phone is.
The reason I did NOT post the direct download link here is because Xiaomi released a few devices similar and other countries specs vs global might be different too.
kacsa105 said:
There are also 4 phones under the VEUXG ROM name. Although the 64-megapixel camera phone Codename peuxp. Unclear, i would also be interested in which one to install
Click to expand...
Click to collapse
VEUX and VEUXG are the same, I have tried it.
Hientran43 said:
VEUX and VEUXG are the same, I have tried it.
Click to expand...
Click to collapse
Not quite. They had to divide veux device to China and Global due to different NFC HW in both device variants. Meaning if you flash a veux (which I originally had) your NFC may have issues or possibly not even work)
veux=HMNote11EPro
veuxg=HMNote11Pro5G_POCOX4Pro5G
What is the last Xiaomi.eu ROM for x4 Pro? Because I see the 13.0.9 in the download website official of VEUXG devices Xiaomi EU
Works great, downloaded xiaomi.eu rom for redmi note 11 pro 5g, and has a simple tool that installs the rom on it's own without typing out the commands at their websites downloads. Although i did have to follow the guide to flash magisk via fastboot. Thanks
Vincent Foxx said:
Works great, downloaded xiaomi.eu rom for redmi note 11 pro 5g, and has a simple tool that installs the rom on it's own without typing out the commands at their websites downloads. Although i did have to follow the guide to flash magisk via fastboot. Thanks
Click to expand...
Click to collapse
How is the EU ROM ? Any bugs ?
Vincent Foxx said:
Works great, downloaded xiaomi.eu rom for redmi note 11 pro 5g, and has a simple tool that installs the rom on it's own without typing out the commands at their websites downloads. Although i did have to follow the guide to flash magisk via fastboot. Thanks
Click to expand...
Click to collapse
Yup, can simply run their bat files though it's always good to understand some of the basics on using ADB. You're welcome
Inpain said:
How is the EU ROM ? Any bugs ?
Click to expand...
Click to collapse
None that I have noticed, fast and fluid on the latest EU version
1qazwsx4 said:
Yup, can simply run their bwt files though it's always good to understand some of the basics on using ADB. You're welcome
None that I have noticed, fast and fluid on the latest EU version
Click to expand...
Click to collapse
Sweet, cause stock is driving me nuts, sluggish as sh** lol.
Many thanks for your manual. I have POCO X4 5G 8/256 with 13.0.1.0.RKCEUXM firmware, I would like to flash Indonesian one 13.0.2.0.RKCIDXM (without root access) to activate call recording. Does your manual work as well for such upgrade? Thanks
bistron said:
Many thanks for your manual. I have POCO X4 5G 8/256 with 13.0.1.0.RKCEUXM firmware, I would like to flash Indonesian one 13.0.2.0.RKCIDXM (without root access) to activate call recording. Does your manual work as well for such upgrade? Thanks
Click to expand...
Click to collapse
You're very welcome. I can't guarantee that it would work for anything other than MIUI EU ROM but I know as a fact that it has automatic call recording if you choose to flash it instead of Indonesian rom
Related
NOTE:
This guide is meant for this thread: https://forum.xda-developers.com/nokia-7-plus/development/9-0-miui-10-nokia-fihgsisdm66064-t3900312
This guide may unusable on newer builds in the future.
In case you want to restore back to stock, firmware can be downloaded from https://fih-firmware.hikaricalyx.com/index_en.html and you can flash it with either patched OST LA or NOST.
It's tested on following models:
PL2 Nokia 6.1 TA-1054
DRG Nokia X6 TA-1099
C1N Nokia 7 TA-1041
B2N Nokia 7 Plus TA-1062
Flash it at your own risk if your type is not listed above.
To Chinese users:
请点击下面的链接阅读中文版教程。
如需转载请通过 Coolapk 私聊联系我。
Please read Chinese guide from here: https://www.coolapk.com/feed/103010...id=1121588&shareFrom=com.coolapk.market_9.0.1
Click to expand...
Click to collapse
Let me introduce you how to flash MIUI build.
In this guide, we will take "Nokia-miui10-2019-02-13.img.xz" build for example.
Part 1: Bootloader Unlock
I won't introduce you how to unlock the bootloader for your phones here.
Part 2: Install latest Android Pie build
I'm not sure about latest Android Pie build for Global Android One Devices, but AFAIK the Chinese builds we've tested are all [fih_codename]-347C-0-00CN-B04, January 2019 Update.
Make sure you have installed this build.
For your convenience, you can download following full OTA that we tested:
B2N-347C-0-00CN-B04: https://ota-filesite.c2dms.com/SWImage/500002276
Part 3: Flash the system itself
Download packages from ROM topic, and make sure you have extracted the img.xz file.
You must use Platform Tools provided by Google: https://developer.android.com/studio/releases/platform-tools
I'm not sure if Minimal ADB and Fastboot package is usable.
Boot your phone to Fastboot / Download mode, then execute this command:
Code:
.\fastboot flash system D:\Nokia-miui10-2019-02-13.img
To flash the system image to your current slot, no matter if it's slot A or B.
Format the userdata partition and reboot bootloader again to prevent temporarily boot failure:
Code:
.\fastboot -w reboot-bootloader
Part 4: Install permission patches to patch vendor, and root it
Boot into TWRP temporarily, but it depends on you if you want to install TWRP permanently:
Code:
https://forum.xda-developers.com/nokia-7-plus/development/recovery-twrp-3-2-3-0-t3892644
In this example we do not install TWRP permanently.
Swipe the button to allow system modification, and connect your phone to PC, copy FBE_Disabler.zip, Magisk-v18.1.zip, Permissiver_v2.zip and vendor-2019-02-16.zip you downloaded to internal storage of your phone.
In case you want to ask, Magisk can be downloaded from https://github.com/topjohnwu/Magisk/releases
Click to expand...
Click to collapse
Tap "Mount" on your phone and check both "vendor" and "system" partition to mount them.
Click back, Tap "Install", and install these 4 zip packages in character order.
After installed, please reboot your phone and ignore the TWRP Official App installation prompt.
Please wait at least 3 minutes for booting.
After your phone boots, you'll find the default language is Simplified Chinese. Here's how to to change the language to non-Chinese:
- Open "设置" (Settings)
- Tap "更多设置" (More Settings)
- Tap "语言和输入法" (Languages and Input)
- Tap "语言" (Language)
- Choose your own language
Hope you can find it lol.
Then, please download and install Magisk Manager on your phone and reboot your phone.
Part 5: Fix Xiaomi Account issue, and GMS feature
Copy "MIUI_Account_Fix.zip" to Download directory of internal storage, and add this as Magisk Module under Magisk Manager, then reboot.
If it's too difficult for you to enter your phone to MTP mode, here's the trick:
- Connect your phone to PC when screen UNLOCKED
- When the phone prompts "USB is connected", tap the prompt
- Tap "Data Transfer (MTP)"
- You may need to drag the notification center and choose again
- Copy required files
Click to expand...
Click to collapse
Copy gms.apk to your phone and install it on your phone directly. Install it may take few minutes and please wait patiently. After installation completed, you can login both Xiaomi Account and Google Account properly.
I needn't to mention how to replace the camera, it's pretty easy.
That wraps up the whole guide.
Done a nice work mate ...
Wondering if this could run on the Aquos S3 6/128 .. it's basically the same hardware
henri_p said:
Wondering if this could run on the Aquos S3 6/128 .. it's basically the same hardware
Click to expand...
Click to collapse
No you can't, as I've tested it on Sharp Aquos S2 SS2 and SAT.
FIH already abandoned both S2 and S3 and they even don't release Android 9.0 for them unlike Japanese Sharp Android One devices.
Pretty much sucks, I have an S3 6/128 with locked bootloader, seems it sadly going to stay at Oreo with that silly UI on top of it :crying: ... too bad, the device looks great and is of a good quality built
can i flash at without bootunlocked i have nokia 7
Faisal kacho said:
can i flash at without bootunlocked i have nokia 7
Click to expand...
Click to collapse
No
k3dar7 said:
No
Click to expand...
Click to collapse
Thankz If i use ost tOol then
In my nokia 6.1 plus it couldn't install .. when i try to flashing system img file its eror volume full ..
Can anyone fixed this problem?
can i install this gsi on my nokia 7 plus global version?
Hr bro, I get the same error as u mentioned above. Please reply back if u have succeeded.
---------- Post added at 09:49 AM ---------- Previous post was at 09:47 AM ----------
rahul387 said:
In my nokia 6.1 plus it couldn't install .. when i try to flashing system img file its eror volume full ..
Can anyone fixed this problem?
Click to expand...
Click to collapse
Hi bro, I get the same error as mentioned above reply back if u have succeeded.
how to
@hikari_calyx
how to flash [fih_codename]-347C-0-00CN-B04, January 2019 Update. ? i try OST6.2.8 but not flash finish
my device DRG Nokia X6 TA-1099 (00CN_2_21F) bootloader unlock
help my how can i flash 347C-0-00CN-B04
today i download DRG-347C-0-00CN-B04.full.Zip and trying but failed
how can i installed MIUI help me
hikari_calyx said:
NOTE:
This guide is meant for this thread: https://forum.xda-developers.com/nokia-7-plus/development/9-0-miui-10-nokia-fihgsisdm66064-t3900312
This guide may unusable on newer builds in the future.
In case you want to restore back to stock, firmware can be downloaded from https://fih-firmware.hikaricalyx.com/index_en.html and you can flash it with either patched OST LA or NOST.
It's tested on following models:
PL2 Nokia 6.1 TA-1054
DRG Nokia X6 TA-1099
C1N Nokia 7 TA-1041
B2N Nokia 7 Plus TA-1062
Flash it at your own risk if your type is not listed above.
Let me introduce you how to flash MIUI build.
In this guide, we will take "Nokia-miui10-2019-02-13.img.xz" build for example.
Part 1: Bootloader Unlock
I won't introduce you how to unlock the bootloader for your phones here.
Part 2: Install latest Android Pie build
I'm not sure about latest Android Pie build for Global Android One Devices, but AFAIK the Chinese builds we've tested are all [fih_codename]-347C-0-00CN-B04, January 2019 Update.
Make sure you have installed this build.
For your convenience, you can download following full OTA that we tested:
B2N-347C-0-00CN-B04: https://ota-filesite.c2dms.com/SWImage/500002276
Part 3: Flash the system itself
Download packages from ROM topic, and make sure you have extracted the img.xz file.
You must use Platform Tools provided by Google: https://developer.android.com/studio/releases/platform-tools
I'm not sure if Minimal ADB and Fastboot package is usable.
Boot your phone to Fastboot / Download mode, then execute this command:
Code:
.\fastboot flash system D:\Nokia-miui10-2019-02-13.img
To flash the system image to your current slot, no matter if it's slot A or B.
Format the userdata partition and reboot bootloader again to prevent temporarily boot failure:
Code:
.\fastboot -w reboot-bootloader
Part 4: Install permission patches to patch vendor, and root it
Boot into TWRP temporarily, but it depends on you if you want to install TWRP permanently:
Code:
https://forum.xda-developers.com/nokia-7-plus/development/recovery-twrp-3-2-3-0-t3892644
In this example we do not install TWRP permanently.
Swipe the button to allow system modification, and connect your phone to PC, copy FBE_Disabler.zip, Magisk-v18.1.zip, Permissiver_v2.zip and vendor-2019-02-16.zip you downloaded to internal storage of your phone.
Tap "Mount" on your phone and check both "vendor" and "system" partition to mount them.
Click back, Tap "Install", and install these 4 zip packages in character order.
After installed, please reboot your phone and ignore the TWRP Official App installation prompt.
Please wait at least 3 minutes for booting.
After your phone boots, you'll find the default language is Simplified Chinese. Here's how to to change the language to non-Chinese:
- Open "设置" (Settings)
- Tap "更多设置" (More Settings)
- Tap "语言和输入法" (Languages and Input)
- Tap "语言" (Language)
- Choose your own language
Hope you can find it lol.
Then, please download and install Magisk Manager on your phone and reboot your phone.
Part 5: Fix Xiaomi Account issue, and GMS feature
Copy "MIUI_Account_Fix.zip" to Download directory of internal storage, and add this as Magisk Module under Magisk Manager, then reboot.
Copy gms.apk to your phone and install it on your phone directly. Install it may take few minutes and please wait patiently. After installation completed, you can login both Xiaomi Account and Google Account properly.
I needn't to mention how to replace the camera, it's pretty easy.
That wraps up the whole guide.
Click to expand...
Click to collapse
Welcome to this little thread in which I'll provide every useful information about this device based on my and other users's experiences. If you know something, that I didn't mention, please reply to this thread in order to help out each other even more effectively. Thanks and pleasant reading!
The Lenovo S5 Pro is a very decent mid-ranger with good specs and even better pricing. We all know, that chinese manufacturers tend to install bloatware on their products time to time. In our case, Lenovo didn't release a single update since 2018 Novemer to this device. It means, that it came out with Android 8.1 Oreo (2018 November Security Patch) and left untouched. This is even worse, than Meizu which is famous for it's neglecting policy of software updates for global users. Now, that we know all this, it's not a surprise, that we are here on our favourite developer forum.
*** General information | Links | Downloads | Credits ***
The official global firmware is now saved and available (thanks to our forum member nikosddesign) here: download & link to the post
Everything you will possibly need (PC software, drivers, stock camera app, VoLTE modem etc...) is available in this Yandex Disk, you just have to navigate to each one. (Most of the content is in russian, since Yandex is the russian Google, but it's not hard to find the files you'll need).
The previous links and the following tutorials are only available, because suninterbru (from 4pda forums) and radiationofthenation provided these informations and the tutorials, also so much thanks to everybody on the 4pda forums, who provided useful information and files, большое спасибо!
Even though the bootloader unlock, TWRP install and rooting should not cause data loss, be careful and create a backup. You can back up only your files and data or your whole ROM, it's up to you.
Please note, that after you've unlocked your bootloader, everytime your reboot or turn on your phone a warning will pop up during the boot process for about 1 second. On Android 9.0 Pie vendor the message pops up for about 5 seconds. The warning is about the side effects of modifying the system software and it also says, that it is not recommended to store any personal data on your device anymore. Please ignore this message, since it's only popping up, because manufacturers usually don't like, if you modify your device.
Pro tip: If you keep pressing your power button for a little longer you can skip the alert and boot faster.
*** Bootloader unlock ***
Please note, that your warranty will become invalid/void after you unlock your bootloader or root your device.
0. In your device's developer settings enable bootloader/OEM unlock and USB debugging.
1. Visit the official ZUI bootloader unlock website.
2. Enter your IMEI1 number in the first field. (You can find your IMEI numbers in Settings\About or in the dialer enter: *#06#).
3. Enter your serial number in the second field. (You can find your serial number in the fastboot menu). The one in the settings is not good in this case! (To access the fastboot menu, turn off your phone, then press the power button and after you see your screen light up, immediately press the volume down (-) button or while it's turned on and USB Debugging is enabled, simply type in the terminal/cmd ,,adb reboot bootloader").
4. In the next field enter your email adress. (Please note, that Tutanota won't work, Gmail is recommended or other not secure email providers).
5. Enter the verification numbers in the last field.
6. Tick the checkbox.
8. Click on the blue button.
7. Now check your inbox and/or spam folder, because Lenovo just sent you your custom sn.img, only for your phone.
8. Save the sn.img to your PC and install ADB drivers system-wide. (Thank you Snoop05 for your work)!
9. Open a terminal/cmd on Windows. You should be in the same directory, where your sn.img file is, with the terminal. To change directories type ,,cd your directory goes here" and hit ENTER.
10. Run the following commands:
- adb reboot bootloader
- fastboot flash unlock sn.img
- fastboot oem unlock-go
11. Congratulations! Your bootloader is now unlocked!
*** TWRP Recovery ***1. Download the .img file from here.
2. The steps are similar to the bootloader unlocking:
- adb reboot bootloader
- fastboot flash ,,downloaded" .img
- After the flashing is done DON'T reboot to the system, instead navigate to the ,,Reboot Recovery or Recovery Reboot" option and select it. (Volume keys and power key - you know the drill) This will ensure, that the TWRP Recovery doesn't get ereased on reboot(s)!
3. After you've successfully rebooted into TWRP, you should root your device with Magisk, to prevent the recovery erasure!
*** ROOT ***1. The good old SuperSU is no longer in the picture, but don't worry a new player is in the game. Download Magisk from here. (Thank your for your work topjohnwu)!
2. After you've downloaded the flashable .zip copy it to the main directory/root of your device.
3. Reboot to TWRP.
4. Click install, select the flashable .zip file.
5. The installation process should start.
6. Reboot, after finished.
7. Check if Magisk Manager is installed or not, if yes tap and update it.
8. If you did not succeed, please check the Magisk topic for solutions or reply to this thread.
*** Factory reset | Stock ROM | Unbrick | LOST IMEI/PERSIST/EFS | QCN BACKUP/RESTORE ***
!!! NEVER EVER TICK ,,ERASE ALL BEFORE DOWNLOAD" IN QFIL, OTHERWISE YOU WILL LOSE YOUR IMEI AND THE ABILITY TO CONNECT TO MOBILE NETWORKS !!!
If you accidentally clicked on that option you will have to restore someone elses QCN backup. (It will not work, if you backup your own QCN and rewrite your IMEI and restore it, so do not waste your time with that)! Luckily, a member of the 4PDA forums published their qcn backup. (большое спасибо geepnozeex)! QCN backup for Lenovo S5 Pro. (I modified the link, because the original one is no longer valid)
1. Download the linked QCN file.
2. Make sure, that you are on one of the Stock ROMs, however the recommended ROM is this one.
3. You will have to be rooted to put your device in diagnostics mode. To do that, follow this tutorial.
4. You will have to edit the QCN file with HxD, in order to write your own IMEI into.
5. Open the file with HxD and search for 08 8A 76 06 06 14 57 95 32. This is the IMEI 2. You will have to insert your IMEI 2 from the box here, but first you will have to convert it into Hexadecimal numbers.
6. Convert your IMEIs into Hexadecimal numbers here.
7. You will have to rewrite and insert your values insted of the previous one.
8. Search for 08 8A 76 06 06 04 67 98 72. This is IMEI 1. Convert your IMEI 1 into Hexadecimal numbers, too and replace.
9. Save the file (Ctrl + s)
10. Open QFIL and click on Tools, then QCN Backup/Restore.
11. Choose the QCN file, you wrote your IMEI into.
12. Click on Restore QCN.
13. There is a chance, that the process/progress bar won't finish till the end. No problem, just reboot to EDL mode through TWRP/Advanced and restore the recommended stock ROM.
14. You should have everything working fine, now.
To factory reset or unbrick your device, follow this tutorial on 4PDA. [Don't panic you don't have to know russian, just follow the instructions on the pictures! To see the pictures, click on the bold text.] ,,(спойлер (+) (Инструкция по прошивке)" ~ or ~ Download any of the previously linked STOCK ROMs to your device's main folder and flash them through TWRP. Most of them are in flashable .zip formats and should work well. A simple factory reset in TWRP is recommended before installing any of the ROMs, be careful this action will erease your data from your phone!
(Please note, that most of the time you'll have to use the QPST/QFIL method, because the flashable .zip files always expect a specific vendor version, usually a lower one, so you can upgrade with flashable .zips, but possibly can't downgrade, so you have to use QFIL)!
*** GSI custom ROMs ***
Our device is arm64-aonly, so please only use according GSIs. Note, that I will link only those GSIs, which are booted successfully on my device!
~ phhusson's official GSI list: here
~ phhusson's AOSP GSI (Android Open Source Project): here
~ developerluke's ExpressLuke GSIs: here
~ eremitein's CAOS GSI Project: here
~ eremiten's LOSQ GSI Project: here
~ igors1974's Amber GSIs: here
~ tunasahinn's and yek4perf's Tunahan's GSI builds: here
~ mrsshunt3r's albus-gsi: here
Note, that you should keep up with the developments and update your system, if needed! These are just a few GSIs, that I've tested personally on my phone, but you can always keep up with the latest news and try new GSIs out, thanks to phhusson's official GSI list!
*** How to flash an Android 10 GSI ***
1. Download the latest custom phh-magisk from here. (Thank you developerluke and phhusson)!
2. Download the latest Disable_Dm-Verity_ForceEncrypt from here. (Thank you Zackptg5 and others)!
3. Download your desired GSI.
4. You can flash from an USB-OTG flash drive or from the storage of your phone. (I personally have a dedicated USB for this purpose).
4.1 If you are coming from stock ROM you will most likely need to Format Data in this step, because the Disabler won't be able to decrypt the data and, that will cause a stuck at the boot logo!
4.2 Reboot Recovery
5. In TWRP perform a normal factory reset
6. Flash Disable_Dm-Verity_ForceEncrypt. (Cache wipe is optional).
7. Flash your GSI image.
8. Format Data (Skip this step if you already did this in 4.1)!
9. Reboot Recovery (Skip this step, too if you already did this in 4.2)!
10. Flash Magisk-phh
(11. Wipe cache/dalvik).
12. Reboot System
13. Enjoy!
*** Possible GSI bugs ***
Please note, that bugs can differ/vary on different GSIs, the numbers are not fully accurate!
1. The default camera app will work, however it doesn't support HDR, panorama or portrait modes. It also can't record in 4K resolution. Freezing is also possible. ~ 50%
2. First time, when you open the camera it'll stuck on loading, but after you go back and open it again it will work flawlessly. ~ 50%
3. No audio/microphone during phone calls. ~ 15%
*** Guaranteed GSI bugs*** 1. The infrared face unlocking will not work, only fingerprint authentication is working. ~ 100%
2. You won't be able to charge your device while it's turned off, after you plug it in, it will automatically boot up. ~ 100%
3. Auto brightness. ~ 100% (There is a fix for auto brightness below)!
*** Camera fix (GSI) ***
(If you get ,,serious camera error" or your camera freezes on HDR)
1. Download a custom camera app, where you can manually adjust the ISO level.
2. With OpenCamera, for example you have to adjust ISO to 800 and never above, because your camera will freeze!
3. So, always keep ISO 800 or under. With these settings even HDR shots are working!
*** Auto brightness (GSI) ***1. Download framework-res__auto_generated_rro.apk from this thread.
2. Follow the instructions, which are described in this post. (You will need to have root to use ,,su" commands).
3. Thank you MishaalRahman and kAs1m for the apk and the instructions!
Twrp disappears when restarting
Help, twrp disappears when restarting. After installing it by: "fastboot flash recovery trwp.img". right there I start it with the "Vol + Power" keys and it starts correctly but when you turn it off and back in, "stock recovery" appears again. I also installed it again using the same twrp, but it disappears again.
kcire_eae said:
Help, twrp disappears when restarting. After installing it by: "fastboot flash recovery trwp.img". right there I start it with the "Vol + Power" keys and it starts correctly but when you turn it off and back in, "stock recovery" appears again. I also installed it again using the same twrp, but it disappears again.
Click to expand...
Click to collapse
Hello, please don't reboot after sending the recovery image to the phone. Execute the:" fastboot reboot recovery " command. Now it is going to work.
Halwer said:
Hello, please don't reboot after sending the recovery image to the phone. Execute the:" fastboot reboot recovery " command. Now it is going to work.
Click to expand...
Click to collapse
It didn't work, given: "fastboot: usage: unknown reboot target recovery" Sorry for the long time to answer, I only have mobile data, and from this same mobile I answer, and I use google translator, I'm from Mexico.
Halwer said:
Hello, please don't reboot after sending the recovery image to the phone. Execute the:" fastboot reboot recovery " command. Now it is going to work.
Click to expand...
Click to collapse
Foto
kcire_eae said:
Foto
Click to expand...
Click to collapse
Well, it looks good. Maybe only " reboot recovery " is enough.
Halwer said:
Well, it looks good. Maybe only " reboot recovery " is enough.
Click to expand...
Click to collapse
It didn't work, friend, but I appreciate the help.
kcire_eae said:
It didn't work, friend, but I appreciate the help.
Click to expand...
Click to collapse
I'm sorry. Do an internet search and check related TWRP forums for solutions for this specific issue. For me everything is working fine. Are you sure you unlocked your bootloader first?
Halwer said:
I'm sorry. Do an internet search and check related TWRP forums for solutions for this specific issue. For me everything is working fine. Are you sure you unlocked your bootloader first?
Click to expand...
Click to collapse
Help, I did the following and I no longer start my mobile:
-fasboot flash recovery twrp.img.
-fasboot flash boot twrp.img.
-fasboot reboot.
now just start twrp even if restart restart twrp again, in the twrp browser my sdcard files are shown, maybe you can still help me please.
kcire_eae said:
Help, I did the following and I no longer start my mobile:
-fasboot flash recovery twrp.img.
-fasboot flash boot twrp.img.
-fasboot reboot.
now just start twrp even if restart restart twrp again, in the twrp browser my sdcard files are shown, maybe you can still help me please.
Click to expand...
Click to collapse
You should not have flash the recovery image to the boot partition. These partitions are not the same, be careful! Now you can save your data from TWRP via MTP connection to your computer. After that restore your phone with QPST to the latest pie ROM or to the oreo ROM from yandex. The oreo ROM is flashable from recovery, it is easier.
Halwer said:
You should not have flash the recovery image to the boot partition. These partitions are not the same, be careful! Now you can save your data from TWRP via MTP connection to your computer. After that restore your phone with QPST to the latest pie ROM or to the oreo ROM from yandex. The oreo ROM is flashable from recovery, it is easier.
Click to expand...
Click to collapse
Is it possible to just flash the boot partition (boot) again, if I get the boot.img from another rom?
I don't want to lose the stock rom:crying:
kcire_eae said:
Is it possible to just flash the boot partition (boot) again, if I get the boot.img from another rom?
I don't want to lose the stock rom:crying:
Click to expand...
Click to collapse
Maybe you can try to download a ROM file, extract it and flash the boot image, but I'm not sure if it is going to work.
Halwer said:
Maybe you can try to download a ROM file, extract it and flash the boot image, but I'm not sure if it is going to work.
Click to expand...
Click to collapse
I'm going to try, and even,
on this page there are android 9, will it be true?
"https: // mirrors.lolinet.com/ firmware / lenovo /l58041/"
but first I will do it with the "O" stock, which you mention here.
I hope it will work again.
kcire_eae said:
I'm going to try, and even,
on this page there are android 9, will it be true?
"https: // mirrors.lolinet.com/ firmware / lenovo /l58041/"
but first I will do it with the "O" stock, which you mention here.
I hope it will work again.
Click to expand...
Click to collapse
You should do the oreo version, if your were on the global oreo ROM. After that you can try the pie version, if nothing works don't worry you can do a backup of your data from twrp to your computer and flash a custom ROM or the chinese Pie version, which is recommended. With root access you can easily debloat the chinese ROM and with AdAway you can disable all communications pointing to chinese servers or websites. I also found these. Maybe you can give them a try.
After a few hours I was finally able to install the "Chinese stock rom", although I struggled, since the files of the "rom" of the l58041 do not quite coincide with the "stupdroid" tutorial and some files have two different versions, something like that:
here I chose the "ddr" .
prog_emmc_firehose_xxxx_ddr.mbn (.elf). prog_emmc_firehose_xxxx.lite.mbn (.elf).
here I chose the "retain_userdata".
rawprogram0.xml. rawprogram0_retain_userdata.xml.
and in qfil "Flat Build", however I don't know if it was the right thing because at the beginning I was asked for a password ("but that's another topic").
To add a language (without root), use local more apk.
"https: // c. mi. com / thread-2098669-1-0.html"
To root the "radiationofthenation" thread worked me.
"https:. //forum .xda-developers . com/general/help/lenovo-s5-pro-root-global-firmware-help-t3895643/page2"
kcire_eae said:
After a few hours I was finally able to install the "Chinese stock rom", although I struggled, since the files of the "rom" of the l58041 do not quite coincide with the "stupdroid" tutorial and some files have two different versions, something like that:
here I chose the "ddr" prog_emmc_firehose_xxxx_ddr.mbn (.elf). prog_emmc_firehose_xxxx.lite.mbn (.elf).
here I chose the "retain_userdata" rawprogram0.xml. rawprogram0_retain_userdata.xml.
and in qfil "Flat Build", however I don't know if it was the right thing because at the beginning I was asked for a password ("but that's another topic").
To add a language (without root), use local more apk.
"https: // c. mi. com / thread-2098669-1-0.html"
To root the "radiationofthenation" thread worked me.
"https:. //forum .xda-developers . com/general/help/lenovo-s5-pro-root-global-firmware-help-t3895643/page2"
Click to expand...
Click to collapse
I'm glad it is working for you now. Yes, you are right the tutorials flap at some points, but there are other tutorials which you can follow and make it work. For the first time I was struggling with the restoration, too. You will see, that the chinese ROM is quite good, you just have to uninstall the bloatware and disable spying DNS requests.
Halwer said:
I'm glad it is working for you now. Yes, you are right the tutorials flap at some points, but there are other tutorials which you can follow and make it work. For the first time I was struggling with the restoration, too. You will see, that the chinese ROM is quite good, you just have to uninstall the bloatware and disable spying DNS requests.
Click to expand...
Click to collapse
Ohh, explain more about spying. And also if you know something about the message that Android told me when I start. I remember that I flashed twrp.img using "fastboot", and when I asked for a password to decrypt, it only allowed me to clear cache and dalvit cache (I did wipe), and when I started again I showed a message saying that I was encrypting and a percentage, just here, I interrupted the process by turning off the cell phone, and flashed again with qfil (download). So when I start I just remember that I said something about the cell phone being restored and then I could restore the copy with my Google account. So what I think is that when the message of "TO START ANDROID ENTER YOUR PASSWORD" is displayed, it may work to interrupt or perhaps to put the incorrect password many times to automatically reset or also choose "rawprogram0.xml" in qfil (but I did not dare because it deletes it the information related to the imeil and the signal or at least that says some comments ). Now there is only one who can interpret what happened and to have clearer the restoration process, the rom seems to me very much the problem of the language is solved with "more local", I am from Mexico (At & t).
good morning i have good new
i have been backing up the global rom
just wants to go a long time it is super compressed 3.5giga and it is regular size 10.6 g
nikosddesign said:
good morning i have good new
i have been backing up the global rom
just wants to go a long time it is super compressed 3.5giga and it is regular size 10.6 g
Click to expand...
Click to collapse
Thank you, I'm sure some people will find it very useful!
Hello
it's about 4gigabyte have to be patient.
i have very bad internet connection...
I will try to mention all people from who I take sources from. If I forgot anyone, please don't hesitate to tell me.
If you have change requests or useful additions, I will try to update the original posts ASAP.
Change log
Latest:
Code:
2020-005-17 11:02 AM UTC
+ Added GCam and working xml configurations
+ Added Guide to install TWRP
previous:
Code:
2020-05-16 6:09 PM UTC
o Updated MIUIMix and MIUI 12 Beta ROM links
- Deleted remaining references to Telegram channels
2020-05-14 12:01 PM UTC
+ Added Google Play guide
+ Added GCam links for Mi 10 Pro
- Removed LR.Team TWRP, due to it being closed source
- Removed telegram group names, due to new rules on XDA
2020-05-11 03:17 PM UTC
+ Added Flashing guides
+ Restructured guides
2020-05-09 10:16 AM UTC
+ Added MIUI MIX Rom
+ Added Magisk links & howto
2020-05-08 10:27 PM UTC
+ Added TWRP links
+ Added ROM links
2020-05-09 7:25 PM UTC
+ Created thread
Chat Group
Telegram links not allowed anymore. Please try to participate in on XDA, if you still need immediate help you can try finding telegram links for the Mi 10 Pro on Google
1. Resources
1.1 ROMs
Explanation of ROM types:
Recovery can be flashed through the Updater app on your phone (if locked, chinese device can only flash chinese ROM, global device can only flash global ROM) or better through TWRP Recovery (if unlocked, can of course flash any region). EEA=European ROM.
Fastboot can be flashed by connecting your phone through USB and use XiaoMi Flash Tool or fastboot.
xiaomi.eu a ROM based on the chinese MIUI ROM but modified to include over 10 languages, removed chinese bloatware and optimized
Custom ROMs based on AOSP (open source basic android system, without MIUI additions) can be flashed by TWRP (if bootloader unlocked)
1.1.1 Official MIUI
MIUI 11
Recovery
China Stable V11.0.17.0.QJACNXM
EEA Global Stable V11.0.10.0.QJAEUXM
Fastboot
EEA Stable V11.0.7.0
MIUI 12
Recovery
MIUI 12 20.5.14 Chinese Closed Beta
MIUI 12 20.4.27 Chinese Closed Beta
1.1.2 xiaomi.eu
Based on MIUI 12/11, Android 10 (from MIUI CN weekly)
MIUI 12
MIUI 11
1.1.3 mi-globe
Based on MIUI 12 Android 10 (from xiaomi.eu)
Download
1.1.4 MIUIMix
Based on MIUI 12 Android 10 (from xiaomi.eu)
Stable 2.2.0 V11.0.16.0.QJACNXM v11-10
Weekly 20.5.14 v12-10 20200515
1.1.5 RevOS MIUI
N/A
1.1.6 Mi-room.ru
N/A
1.2 TWRP recovery
TWRP by LR.Team Wzsx150
Careful: this is closed source and can potentially contain malware/rootkits. Therefore not allowed to share on XDA, if you really want to try, search for LR.Team or Wzsx mi 10 pro on google/baidu.
TWRP by xiaomi.eu
Here
TWRP by simonsmh
Here
Official TWRP
N/A
OrangeFox TWRP
N/A
1.3 Best Google Camera (GCam) builds
Most available GCam builds for all sorts of Android devices can be found here
Specific configuration files and working builds of GCam for the Mi 10 Pro can be found here or on telegram.
What are builds?
GCam is originally only working on Google Pixel phones. People started to mod the original apk in order to make it compatible with different non-pixel devices. Those modders create custom builds. Some work on the Mi 10 Pro, some are intended for other devices.
What are config xml files?
Because those custom GCam builds have so many advanced settings, people share their configuration as XML files. If one setting works for a specific device and GCam build, you can just install that build and load those XML settings instead of trying to fine tune everything by yourself.
How to load an XML in GCam?
Copy the XML file to internal storage /GCam/Configs7/. Open your GCam build, double tap on the black background next to the shutter button. A popup should appear, allowing you to chose your XML file.
Known good combinations for Mi 10 Pro:
onFire 7.3.020 1.13 + View attachment onfire_v.1.13(x)_Dennis_MI10PRO_daily.xml (onfire_v.1.13(x)_Dennis_MI10PRO_daily.xml)
UltraCVM v4 + View attachment UltraCVM_v.4_Dennis_mi10pro_daily.xml (UltraCVM_v.4_Dennis_mi10pro_daily.xml)
Urnyx05 v1.7-fix + View attachment urnyx_v.1.7_Dennis_mi10pro.xml (urnyx_v.1.7_Dennis_mi10pro.xml)
Sources: "Xiaomi Mi 10/Pro/Note - Google Camera" Telegram group, Dennis XMLs
2. Guides
.
2.1 Unlock bootloader
On your phone, login to your Miui Account, if you don't have an account, create one. That's under Settings > MI Account
Enable developer mode on your phone, under Settings > My Device > All Specs > Tap on MIUI version 5 times until the toast notification tells you that you're a developer
Go into Settings > Additional Settings > Developer options > Enable: OEM unlocking, then go into MI Unlock status and "Add account and device". (If you get an error messages, you need to use a VPN app and connect to a city in Mainland China, like Beijing)
Download and run http://en.miui.com/unlock/ the unlocker app on your computer, login with your MI Account. The first time you may have to apply for Unlocking permissions with your MI Account. The SMS confirmation code they send you may take several days to arrive. Please be patient and don't try to unlock your device before.
After you got your SMS confirmation code, enter it in the unlocker application on your computer and connect your phone via USB
Try to unlock your phone.
Sometimes Xiaomi will force you to wait a certain amount of hours until you can unlock. This is annoying, but you have to wait. No workaround.
2.2 Install recovery (TWRP)
Open the folder where you downloaded a TWRP img file (make sure it's the right version, that is intended for your device (cmi = Mi 10 Pro | umi = Mi 10). If the file is inside a ZIP/RAR extract it until you have the .img file)
Install minimal adb & fastboot on your windows PC (instructions for OSX, Linux, Windows)
open fastboot in your command prompt (on windows: start -> type fastboot -> ENTER, a CMD window should open)
Turn off your phone and wait a few seconds.
Press your phone's Power button and Volume down button at the same time.
When the display turns on and the first logo appears, release the power button but keep the volume down button pressed. You should see fastboot on your screen
Connect your Phone via USB with your computer
On your computer in the fastboot console type
Code:
fastboot boot
and press your space bar afterwards, to add a space. Don't press enter yet! Now drag your twrp.img file that you have prepared in step 1 and drop it inside your console window, this will add the whole path to your twrp.img file in the console. It will look something like
Code:
fastboot boot C:\Users\yourname\Desktop\twrp.img
Press enter, this boots TWRP without installing it onto your device, in case there are problems with that TWRP version. If your phone successfully boots into TWRP and there are no problems, you can turn off your device and boot into fastboot again (step 5)
Now enter the following into fastboot console on your computer:
Code:
fastboot flash recovery twrp.img
Press enter. This installs twrp onto your device. Now reboot your device by typing:
Code:
fastboot reboot
And hit enter. From now on you can now turn off your device and boot directly into TWRP from your phone by pressing the power button and volume up button at the same time.
Warning: MIUI (official ROMs) overwrite custom recoveries when you flash a MIUI ROM (update) zip in TWRP. You'll lose TWRP and Root every time you flash a new ROM zip. Flash Magisk after flashing a ROM zip. Then you can install TWRP via root app on Android, or repeat the steps from this tutorial on your computer.
2.3 Flash MIUI ROMs
CN/Global devices: Flashing official Global ROM on he CN device will disable the second SIM slot.
Requirements:
Unlocked bootloader
TWRP installed
Copied ROM zip to internal storage
Boot into TWRP
Format /data (If you're coming from AOSP ROM or switching ROM bases (global/xiaomi.eu/chinese)
Wipe Dalvik Cache
Install ROM zip
Boot into new ROM
Optional: Reboot into TWRP, flash Magisk zip if you want root
2.4 Update MIUI ROMs
If your ROM base doesn't support OTA, or you using magisk, use the following method to flash an update
Boot into TWRP
Flash full ROM zip & flash Magisk
Reboot
2.5 Flash AOSP ROMs
Requirements:
Unlocked
TWRP
Copy ROM zip to internal storage
Boot into TWRP
Format /data
Wipe Cache and Dalik
Flash Firmware
Flash ROM
2.6 Rollback from AOSP to MIUI
Boot into TWRP
Format /data
Flash ROM zip
Wipe Cache and Dalvik
Reboot
2.7 Install Magisk (root)
How to flash Magisk the common way
Download and copy the latest Magisk install zip to your device
Make sure you have TWRP recovery installed
boot into TWRP
in TWRP: install latest Magisk-vxx.x.zip
Reboot
2.8 Install Google Play Store on Chinese ROMs
Simply download and install the official Google Play APK
2.9 Not passing Safety Net with Magisk?
xiaomi.eu and official ROMs with Magisk should pass Safety Net according to pelayogrgi2c.
If that doesn't work, try the following:
Install MagiskHide Props Config in MagiskManager Modules
Reboot phone
Install Terminal Android, and start it.
Give it root permissions
type in the terminal window:
Code:
su
props
1
fingerprint
use a certified fingerprint, example for the mix2s:
Code:
Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.15.0.ODGCNFA:user/release-keys
Info: You can enable developer mode, turn on USB debugging and use ADB on your PC instead of the terminal on your android. After installing Minimal ADB & Fastboot on your PC, search for the link in your start menu and open it. A black CMD window should appear where you can type commands after you connect your PC with your phone, and allow ADB on your phone. Then enter:
Code:
adb devices
adb shell
Enter the commands in the tutorial above
Click to expand...
Click to collapse
2.10 Enable Google Maps Location Sharing & Location History on Chinese MIUI ROM
You need Magisk properly installed on your ROM and then download & install the following modules:
Unlock CN GMS v2
Sources
https://mi-globe.com/miui-firmware-rom-builder-features/26/
https://c.mi.com/oc/miuidownload/detail?device=1900379
https://mirom.ezbox.idv.tw/en/phone/cmi/
https://c.mi.com/oc/miuidownload/detail?guide=2
MOD EDIT: Quote of the whole OP removed due to readability
The framework was included in my cn version of mi 10 pro, just install play store APK, thanks for the guides and link's.
But with the official rom or xiaomi.eu it passes safetynet without problems with magisk installed without doing everything you say.
pelayogrgi2c said:
But with the official rom or xiaomi.eu it passes safetynet without problems with magisk installed without doing everything you say.
Click to expand...
Click to collapse
That's great news. I'll update the post.
I couldn't verify it because my device is still locked, as I have to wait 5 more days to unlock.
On Xiaomi Mi Mix 2S we had to use a spoofed device fingerprint in order to let Safetynet pass, therefore I assumed it would be the same here.
Guys,
Can you clarify one question, please? There is an info here that flashing official Global ROM on he CN device will disable the second SIM slot.
I guess it is only warning for global ROM and If I install 11.2 xiaomi.eu on CN device so it will be working fine with dual SIM?
Please confirm. Thanks in advance! Regards.
zencooler said:
Guys,
Can you clarify one question, please? There is an info here that flashing official Global ROM on he CN device will disable the second SIM slot.
I guess it is only warning for global ROM and If I install 11.2 xiaomi.eu on CN device so it will be working fine with dual SIM?
Please confirm. Thanks in advance! Regards.
Click to expand...
Click to collapse
Yes xiaomi.eu rom will allow you to use both sim slots on mi 10 pro cn.
underlines said:
Yes xiaomi.eu rom will allow you to use both sim slots on mi 10 pro cn.
Click to expand...
Click to collapse
Thank you :good:
Guys, can you tell why if I try to unlock the bootloader via Mi Unlock app I get a message: "Please unlock 168 hours later"? (see attached screen).
http://www.itnovation.eu/koles/Mi-unlock.jpg
I have Mi account signed on the device and all is prepared properly (Developer Options ebabled, account assigned in Unlock status).
Why do I have to wait 7 days?
zencooler said:
Guys, can you tell why if I try to unlock the bootloader via Mi Unlock app I get a message: "Please unlock 168 hours later"? (see attached screen).
http://www.itnovation.eu/koles/Mi-unlock.jpg
I have Mi account signed on the device and all is prepared properly (Developer Options ebabled, account assigned in Unlock status).
Why do I have to wait 7 days?
Click to expand...
Click to collapse
Yes you have to wait
apokit said:
Yes you have to wait
Click to expand...
Click to collapse
OK. I didn't know that is normal procedure. Nobody wrote it in guides available in the web [emoji1]
Thank you. Will wait...
Sent from my SM-N960F via Tapatalk
Hi anybody tried flashing any gsi? Does it work and is it useable? Hardware on this phone is just asking for stock android for a beast of a device.
brownah92 said:
Hi anybody tried flashing any gsi? Does it work and is it useable? Hardware on this phone is just asking for stock android for a beast of a device.
Click to expand...
Click to collapse
Honestly, I think it's not wise to buy a Xiaomi phone for a gsi rom, If I don't love MIUI, I did buy Oneplus phone already.
brownah92 said:
Hi anybody tried flashing any gsi? Does it work and is it useable? Hardware on this phone is just asking for stock android for a beast of a device.
Click to expand...
Click to collapse
Apparently you need to restore Xiaomi recovery and flash via fastboot, not tried myself
fastboot reboot fastboot
fastboot flash system FILE.img
fastboot -w
fastboot reboot
james1089 said:
Apparently you need to restore Xiaomi recovery and flash via fastboot, not tried myself
fastboot reboot fastboot
fastboot flash system FILE.img
fastboot -w
fastboot reboot
Click to expand...
Click to collapse
Hmmm...wonder if this device will receive much dev support. Mi 8, Mi 9 were fantastic
I'm on Mi10 and want to install GSI from Google. But there is no system partition.. Only a partition called "super". Its soft bricked after installuing the GSI on it.
Is it the same here for Pro?
Someone knows how to flash a GSI?
brownah92 said:
Hmmm...wonder if this device will receive much dev support. Mi 8, Mi 9 were fantastic
Click to expand...
Click to collapse
I hope so. That's my first Xiaomi device
I bought the Chinese version.
Right now it is unlocked, rooted , on EU ROM (MIUI12) and with a gcam version that supports all rear lenses.
For some reason Energized doesn't work for me though, but that's for a different thread.
Btw, I did not use this method to root. I just rooted by clicking the root button in the China certain TWRP. Then flashed Magisk and walla.
Flash Magisk
Is it possible to install Magisk on the Mi phones with the Huawei method without TWRP? I was hoping to unlock the bootloader, install Magisk, reboot, uninstall bloatware, then re-lock the bootloader so I can still using payment apps like Google Pay. Thoughts anyone?
sarichter said:
Is it possible to install Magisk on the Mi phones with the Huawei method without TWRP? I was hoping to unlock the bootloader, install Magisk, reboot, uninstall bloatware, then re-lock the bootloader so I can still using payment apps like Google Pay. Thoughts anyone?
Click to expand...
Click to collapse
The system partition is read-only these days, so Magisk can debloat by its systemless approach. But this needs Magisk to be installed and running. As this is only possible with an unlocked bootloader (if you relock you get a soft- maybe a hardbrick !) I don't think this will work....
For debloat alone you can do so via ADB commands, no need for root or unlocking bootloader here ! If you search for "adb debloat" you should find numerous threads describing the procedure.
s3axel said:
The system partition is read-only these days, so Magisk can debloat by its systemless approach. But this needs Magisk to be installed and running. As this is only possible with an unlocked bootloader (if you relock you get a soft- maybe a hardbrick !) I don't think this will work....
For debloat alone you can do so via ADB commands, no need for root or unlocking bootloader here ! If you search for "adb debloat" you should find numerous threads describing the procedure.
Click to expand...
Click to collapse
Now that is fantastic information. Thank you!
underlines said:
That's great news. I'll update the post.
I couldn't verify it because my device is still locked, as I have to wait 5 more days to unlock.
On Xiaomi Mi Mix 2S we had to use a spoofed device fingerprint in order to let Safetynet pass, therefore I assumed it would be the same here.
Click to expand...
Click to collapse
Yeah from Magisk 20.4 onwards, changing fingerprint isn't necessary as it spoofs the Pixel 2 fingerprint by default as long as Magisk Hide is enabled.
If you've recently purchased a Xiaomi Poco X3 Pro, but were on the fence about using it until an AOSP ROM became available then you're in luck. Kudos to @kubersharma for his contribution by providing us the first official AOSP release, ArrowOS v11.0 [vayu].
Now, throughout this guide, I have linked the page or post based on information I gathered to put this guide together in order to credit that person instead of having to name drop them individually. These are fully detailed instructions to make it easier for newbs.
I've spent the better part of my day figuring all of this stuff out so hopefully you won't go through the trouble I did. PLEASE DO NOT PM ME FOR HELP. REPLY TO THIS GUIDE BELOW, THANKS. NOW LET'S BEGIN!!!
UNLOCK BOOTLOADER
1. Unlock the bootloader with Xiaomi Unlocker tool.
a. Be aware this process will factory reset the device before proceeding.
b. Download the Mi Unlock app onto your PC. Extract the contents within the zip file into an empty folder then run the app.
c. Register for Xiaomi account and sign in with your Mi Account.
d. Your Mi Account must be added to your Mi Settings
Sign into your Mi Account on the device.
Go to Settings –> About Phone –> tap on MIUI version (For POCO) until it says Developer options is enabled.
Back out of About Phone, Additional Settings –> Developer options –> Mi Unlock status.
Agree, then "Add account and device".
e. Shut down your phone manually, and hold Vol down + Power button to enter Fastboot mode.
Download and install the latest Xiaomi USB Drivers or here (or Google's latest USB drivers for Windows if all else fails) for your PC.
Connect the device to the computer via USB cable, and confirm that your phone shows up recognized as "Android Bootloader Interface" (in Device Manager), and click "Unlock" in the Unlock app.
NOTE: If Windows does not recognize the device due to it automatically installing the wrong "Kedacom Device Driver" then you will have to manually install the drivers for "Android ADB Interface/Android Bootloader Interface".
f. After your first initial unlock attempt, you MUST wait 168 hours before unlock process can fully complete.
Wiping the device or removing the Mi account from the device could result in the timer being reset.
g. After the waiting period expires, click "Unlock" in the Unlock app. You will notice the phone will restart followed by subsequent different screens during the phone's boot sequence including the "POCO" screen which now displays an "open lock icon" at the top, indicating your bootloader unlock attempt and will eventually end up on a "This device is locked" screen where you have to confirm you are the device owner by entering your Mi Account password to "activate this device"; connect to your WiFi prior to doing so if the device lacks an active sim card.
FLASH CUSTOM RECOVERY, DECRYPTION DISABLER, & ROM THEN ROOT
2. Download the Official ArrowOS v11.0-vayu fastboot ROM for POCO X3 Pro [direct link here].
a. NOTE: ArrowOS requires MIUI V12.0.4.0 firmware so it recommended to downgrade to this version before flashing ArrowOS otherwise the ROM may not boot.
b. Choose the GApps build type which "includes Play services and now some AOSP apps have been replaced with GApps... All GApps packages and other[sic] files [were] extracted from original firmware images for Pixel4XL (coral)."
3. [OPTIONAL] Download the latest version of Encryption Disabler then copy it along with the fastboot ROM into a folder named 'TWRP' on the root of your microSD.
4. Ensure USB Debugging is already enabled on your device (in Settings –> Additional Settings –> Developer options).
5. Remove any screen unlock (i.e., fingerprint, PIN, pattern or password) in MIUI.
6. Power off device and put it in Fastboot mode (Vol down + Power button).
7. Download the latest SDK Platform Tools from Google for adb compatibility and create a folder called "adb" in the root of the "C:\" drive.
a. Extract the files adb, AdbWinApi.dll, AdbWinUsbApi.dll, and fastboot into the folder.
b. Ensure the latest USB drivers are installed for your PC, connect the device to the computer via USB cable, and confirm that your phone shows up recognized as "Android Bootloader Interface".
c. Launch "Command Prompt" on your PC and run the command:
cd C:/adb
To show a list of devices (including your phone) connected to your PC, enter the command:
fastboot devices
8. Download the unofficial Pbrb (test3) recovery file (PitchBlack Recovery Project 3.1.0 unofficial) by Alex Besida and copy it into the ADB install folder and rename it to "recovery.img".
9. Flash custom recovery file in CMD, run commands:
fastboot flash recovery "recovery.img"
fastboot boot recovery.img
10. Your device should automatically boot into custom recovery. At this point, the microSD will become accessible from recovery or the PC, but the device's internal storage will not be which makes using a microSD card much more imperative for this process since the recovery is in early access development.
a. Go to Wipe –> Format Data, type "yes" to perform data wipe; Back out to the main menu.
b. Go to Install –> Navigate to the TWRP folder on the microSD (via "external_sd").
Select "Arrow-v11.0-vayu-OFFICIAL-20210424-GAPPS.zip" and flash the ROM, but do not change any of the checkboxes that show up before doing so.
Format data (not wipe) before rebooting into the new ROM.
NOTE: At most it takes around 1 minute to boot back up.
11. [OPTIONAL] Power off the device and boot back into recovery.
a. Go to Install –> Navigate to the TWRP folder on the microSD.
Select " Disable_Dm-Verity_ForceEncrypt_11.02.2020.zip" and flash it, but do not change any of the checkboxes that show up before doing so.
NOTE: This will disable forced encryption of data partition for better performance and internal SD + Data mounting in TWRP. It's not needed for the ROM to work, but due to disabling encryption it compromises security.
Reboot into the new ROM.
12. After going through the phone's boot sequence, you'll be presented with the initial phone setup process onscreen where you can begin recovering your data.
13. Go to Settings –> About phone –>tap on Build number until it says Developer options is enabled.
a. Back out to Settings –> System –> to access Developer options –> Enable USB Debugging.
14. Installing Magisk via custom recovery will fail in the background, resulting in an unresponsive "POCO" screen which is caused by installer scripts not being able to properly detect the correct device info or the recovery environment does not meet its expectation. In this case, you will need to use the Patch Image method as it is guaranteed to work 100% of the time. Installing Magisk through custom recoveries on modern devices is no longer recommended due to this reason.
a. Pull down the Notification Bar from the top of the screen and change "Charging this device via USB" to "File Transfer".
b. Open " Arrow-v11.0-vayu-OFFICIAL-20210424-GAPPS.zip " and copy "boot.img" to the phone's internal storage.
c. Download the latest version of Magisk (Magisk v22.1) and copy it to the phone's internal storage and use the native "Files" app to install the apk.
NOTE: Magisk binaries (ZIP) are now included within Magisk Manager APK file. Now you don’t have to download it separately. You can install the .apk file or rename its extension to .zip then flash it through custom recovery / TWRP.
d. Launch Magisk from the app drawer and go to "Install" under Magisk –> "Select and Patch a File," select the "boot.img" you copied internally –> "LET'S GO".
e. Copy the generated patched file to the ADB folder and flash it via fastboot by running the following commands:
cd C:/adb
fastboot flash boot boot.img
f. Reboot into the new ROM and voila!
fastboot reboot
g. Use an app such as Root Checker or BusyBox Checker (from the Play Store) to confirm root status.
h. To bypass/restore SafetyNet validation, open the Magisk app, go to Settings (cogwheel icon) and enable MagiskHide.
SIDENOTES:
These are either my comments or other user's comments that may be considered helpful as it relates to ArrowOS
Picture guide unlock bootloader, flash custom ROMs & root Xiaomi Poco X3 Pro (Credits to @pl1992aw)
Using TWRP to install OTA Updates
Installing OTA updates
Stability of 'PitchBlack Recovery Project' Recovery
How to verify SafetyNet status
Feel feel to let me know of other threads or comments that are also related to installing ArrowOS.
Excellent guide
My suggestions in terms of improvements:
- 7-day waiting time before unlocking: I would mention that wiping the device or removing the Mi account from the device could result in the timer being reset;
- DFE/Encryption Disabler: it's optional, not needed for the ROM to work and thanks to disabling encryption it compromises security;
- Firmware: Arrow OS requires MIUI V12.0.4.0 firmware, so before flashing Arrow OS it's recommended to downgrade MIUI to this version, otherwise the ROM might not boot
In the future, once more custom ROMs come out, it should be easy to turn this guide into general flashing instructions instead and not just for Arrow OS, which would be a great resource to have here
kamild_ said:
Excellent guide
My suggestions in terms of improvements:
- 7-day waiting time before unlocking: I would mention that wiping the device or removing the Mi account from the device could result in the timer being reset;
- DFE/Encryption Disabler: it's optional, not needed for the ROM to work and thanks to disabling encryption it compromises security;
- Firmware: Arrow OS requires MIUI V12.0.4.0 firmware, so before flashing Arrow OS it's recommended to downgrade MIUI to this version, otherwise the ROM might not boot
In the future, once more custom ROMs come out, it should be easy to turn this guide into general flashing instructions instead and not just for Arrow OS, which would be a great resource to have here
Click to expand...
Click to collapse
Fair enough, thanks for the suggestions. I can add them in.
Thanks for this detailed guide! I'm currently on MIUI 12.0.2 - do you know if I have to update to 12.0.4 first or if I can follow your guide directly?
Aulig said:
Thanks for this detailed guide! I'm currently on MIUI 12.0.2 - do you know if I have to update to 12.0.4 first or if I can follow your guide directly?
Click to expand...
Click to collapse
Yes, you have to update to MIUI 12.0.4.0 before flashing.
How stable is the PBRP Beta? Great Guide btw
DeblaGaming said:
How stable is the PBRP Beta? Great Guide btw
Click to expand...
Click to collapse
More stable than other unofficial custom recoveries such as OrangeFox, especially when it comes to functionality. Based on my experience using OrangeFox, it failed to flash anything that was already present on my microSD, but PBRP worked OOB w/ no issues first time, and allowed me to copy over files onto the microSD while the device was in recovery while simultaneously being connected to my PC. Thanks btw.
AusVGM said:
Yes, you have to update to MIUI 12.0.4.0 before flashing.
Click to expand...
Click to collapse
Thank you, I did that now and then followed the guide (without disabling encryption as that's an important feature to me). Super easy to follow even though I haven't been modding a lot these past years. Worked perfectly, thanks @urbanman2004
Tip: make sure to check safetynet with an app and not magisk, as described in the thread linked regarding magisk hide
Aulig said:
Thank you, I did that now and then followed the guide (without disabling encryption as that's an important feature to me). Super easy to follow even though I haven't been modding a lot these past years. Worked perfectly, thanks @urbanman2004
Tip: make sure to check safetynet with an app and not magisk, as described in the thread linked regarding magisk hide
Click to expand...
Click to collapse
Thanks for the compliment... I didn't feel the need to include how someone could check their device's SafetyNet status, but the app I use is called SafetyNet Helper Sample in the Play Store.
Very detailed instruction thumbs up...
My questions
1. For miui requirement the MIUI V12.0.4.0 , is it free or need specific version like chinese or europe or asia or america for more clearly
2. In future when twrp or custom recovery available , can we just flash the rom via recovery as simple as that. Like other phone
bla.tiga said:
Very detailed instruction thumbs up...
My questions
1. For miui requirement the MIUI V12.0.4.0 , is it free or need specific version like chinese or europe or asia or america for more clearly
2. In future when twrp or custom recovery available , can we just flash the rom via recovery as simple as that. Like other phone
Click to expand...
Click to collapse
Thanks for the compliment. To answer your questions:
1) Any version of MIUI V12.0.4.0 will do.
2) To flash future OTA updates (ROMs), it will require flashing the "compatible recovery" (vayu ArrowOS Recovery) in fastboot mode, rebooting the device then followed by installing the OTA update once it becomes available and letting it flash automatically.
hello all,
I have flashed vanilla version of ArrowOS, and magisk...
could somebody help me with installing microG for VANILLA build ROM? I'm new to microG stuff, so I don't really know from where should I install, what version etc.
some apps are not running as they require Google play services
I have asked this question elsewhere but maybe somebody here has some experience. Is it possible to install ArrowOS OTA with another TWRP than from ArrowOS ?
I'm asking because this AOS TWRP is very limited in functionality.
as400l said:
I have asked this question elsewhere but maybe somebody here has some experience. Is it possible to install ArrowOS OTA with another TWRP than from ArrowOS ?
I'm asking because this AOS TWRP is very limited in functionality.
Click to expand...
Click to collapse
Best that your question be taken up w/ the devs.
as400l said:
I have asked this question elsewhere but maybe somebody here has some experience. Is it possible to install ArrowOS OTA with another TWRP than from ArrowOS ?
I'm asking because this AOS TWRP is very limited in functionality.
Click to expand...
Click to collapse
So I have some breaking news:
I can confirm that the latest unofficial alpha version of TWRP (TWRP-3.5.1-vayu-Nebrassy-1) is capable of decrypting and reading internal storage. Due to this advancement, I can also confirm that ArrowOS OTA updates will officially work using TWRP. There is NO NEED TO USE ANY OTHER CUSTOM RECOVERY BESIDES TWRP.
Hi everyone, i have one dubt in unlock bootloader process...
When phone wipe /data partition???, after or before wait the time to unlock???
Let's remain on topic and avoid bickering.
My bootloader unlocks in 4 days and I am planning to change the room using your guide. I have a doubt, I am a beginner. can I do step 8 with TWRP instead of Pbrb (test3)? Would the steps be the same with the change?
@newbrn of course. Pitch Black is literally a dark themed TWRP with some tweaks.
Thanks for @urbanman2004 guide for Poco X3 Pro. Some sentences still needed, so keeping it similar.
This guide provides photos & screenshots.
Simulate all process and reduce misunderstanding.
Spoiler: Disclaimer
* May loose warranty after unlock according to Xiaomi policy of the country you bought phone from. Check it yourself.
* We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
* You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected users.
Section 1: Unlock bootloader
(Works for most Xiaomi/Redmi/Poco phones)
Keep phone with more than 60% battery.
Spoiler: Click to show
1. Register Xiaomi account on PC or Phone doesn't matter. (Use same account in all steps)
Might ask SMS verification. Keep phone number for this Mi Account until all unlock process done and successfully booted into MIUI after step 21.
Click to expand...
Click to collapse
2. On phone, sign in your Mi Account from setting. (Use same account in all steps)
Spoiler
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
3. Turn on Developer option:
Spoiler
Settings→ About Phone (My Device)→ tap on MIUI version (For POCO) until it says Developer options enabled at the bottom.
4. Turn ON "Find my device"
Spoiler
5. Back out to Settings, Additional Settings→ Developer options→ Mi Unlock status.
Spoiler
6. DON'T DO STEP 6 ANYMORE after done it ONCE. Will reset countdown timer if you do that.
DON'T DO STEP 6 ANYMORE after done it ONCE. Will reset countdown timer if you do that.
SIM card inside phone with mobile data doesn't need to be the one linked to Mi-account. Can put a different SIM card as long as it can use mobile data.
Only during step 6 you turn off WIFI and turn on mobile data.
Can do whatever you want to WIFI and mobile data anytime before and after step 6. There's no restriction other than step 6.
Can remove your SIM card once step 6 was done. But you still need the number linked to Mi-Account accessible to receive SMS if Mi-Account ask for verification.
7. Wait for 7 days (Day 1). DO NOT LOG OUT your Mi-Account on your phone.
Try not to use phone too much as later will do factory reset and loose all data.
Or backup manually. Not gonna write how to backup.
No need to connect internet (mobile data and WIFI) all the time.
Can use your phone
Can even power off phone in the meantime. (Thanks for @kamild_ answer)
Spoiler
8. Wait for 7 days (Day 2). DO NOT LOG OUT your Mi-Account on your phone.
9. Wait for 7 days (Day 3). DO NOT LOG OUT your Mi-Account on your phone.
10. Wait for 7 days (Day 4). DO NOT LOG OUT your Mi-Account on your phone.
11. Wait for 7 days (Day 5). DO NOT LOG OUT your Mi-Account on your phone.
12. Wait for 7 days (Day 6). DO NOT LOG OUT your Mi-Account on your phone.
13. Wait for 7 days (Day 7). DO NOT LOG OUT your Mi-Account on your phone.
14. Download Xiaomi Unlock tool for Windows PC.
Direct download link (English Version 5.5.224.55)
Spoiler
Spoiler: Linux and macOS users
XiaoMiTool (v2)
https://www.xiaomitool.com/
https://github.com/francescotescari/XiaoMiToolV2
15. Extract all files into short-named folder. Go into folder and double click on miflash_unlock.exe
Different versions, double click on batch_unlock.exe
Spoiler
16. Sign in your Mi Account. (Use same account in all steps)
Spoiler
17. Connect phone with official USB cable to PC. Check on PC if see device.
Turn OFF all locks (screen lock, face lock, fingerprint, pin, bluetooth lock.)
Turn ON "Find my device"
Logout Google
If not detected, do as in spoiler:
Spoiler
Double click on MiUsbDriver.exe
Should see your phone now.
Reboot your PC.
or Google's latest USB drivers for Windows if it else fails
NOTE: If Windows does not recognize the device due to it automatically installing the wrong "Kedacom Device Driver" then you will have to manually install the drivers for "Android ADB Interface/Android Bootloader Interface".
Backup your data from your phone now. You will loose ALL your data on your phone after step 20.
Click to expand...
Click to collapse
18. Shutdown/ Power off phone normally manually.
When screen turns all black for about 30 seconds, hold Vol down + Power button together to enter Fastboot mode.
(Picture from GSMarena)
Should see Fastboot on phone screen
Spoiler
19. Connect your phone with official USB cable to PC. Should see on PC a device listed. (Locked)
Spoiler
If not detected, do as in spoiler:
Spoiler
Double click on MiUsbDriver.exe
Connect phone to computer via official USB cable, and confirm your phone shows up recognized as "Android Bootloader Interface" (in Device Manager)
Reboot your PC.
or Google's latest USB drivers for Windows if it else fails
NOTE: If Windows does not recognize the device due to it automatically installing the wrong "Kedacom Device Driver" then you will have to manually install the drivers for "Android ADB Interface/Android Bootloader Interface".
WARNING !!! From the step later, you will loose ALL your data on your phone. Backup your data from your phone.
Click to expand...
Click to collapse
Take out microSD card from device in case something went wrong and destroy microSD card.
Click to expand...
Click to collapse
20. Press Unlock, Unlock, Unlock anyway, Unlock anyway. (If you are worried of what it's warning you, don't unlock and don't think of custom Roms or root.)
Spoiler
If see this or some hours left, wait for remaining countdown hours (count it yourself) and start from step 17 again.
The countdown is done on Xiaomi server. Can close the unlock program during the meantime.
Exit Fastboot mode:
Spoiler
Unplug phone from PC and hold power button until screen turns black. Will boot into MIUI.
21. Wait phone boot up, or press Reboot phone if it did not reboot itself.
If you see this after boot up, use Wifi or insert SIM card with mobile data access and enter your Mi Account password.
##End of Unlock Bootloader process
Donate if you find it helpful: paypal.me/pl1992aw
Updated to work with MIUI 12~13 or Android 11~12.0/12.1 custom ROMs
Unlock bootloader to do the followings.
Keep phone with more than 60% battery.
Section 2: Clean Flash custom ROMs
(Official Recovery ROMs can be flashed with same method)
Spoiler: Click to show
Make it simple using program mentioned in INDEX thread.
XiaomiADBFastbootTools (Java)
https://github.com/Szaki/XiaomiADBFastbootTools
If you don't trust the tools or link below,
upload files to Virus Total
or turn on Antivirus
or do manual way urbanman2004 written.
1. Download here:
https://androidfilehost.com/?fid=8889791610682940341
Original github source: (not maintained anymore)
https://github.com/Szaki/XiaomiADBFastbootTools/releases
Spoiler
2. For this program to work, install Oracle Java or OpenJDK (Mentioned in Readme)
Spoiler
Here use Windows to as demo.
Oracle Java download here or here (Choose either one to install)
Spoiler
Double click and install that on your Windows.
3. Keep PC connected to internet, find XiaomiADBFastbootTools.jar downloaded and double click on it.
Spoiler
4. Will automatically download SDK Platform Tools.
5. Turn ON USB debugging in Developer options (access mentioned in Unlock bootloader step 5)
Spoiler
Logout Mi Account, Google, all accounts.
Remove all fingerprint, PIN, password, picture password.
Turn OFF Find My Device function.
Backup your data from your phone.
Click to expand...
Click to collapse
6. Connect phone to PC, swipe down notification on phone and tap MTP/ File transfers
Spoiler
Or
If it's your first time doing this, should see this screen. Choose "Always allow from this computer" and press OK.
7. Confirm on PC to see information of your device.
8. Find custom ROM and read all reply and original thread of the Custom ROM. Sometimes firmware requirement and updated info is in replies.
(Step 8, 9 and 12 and links are POCO X3 pro specific)
Click to expand...
Click to collapse
ArrowOS as example: Download on PC Official ArrowOS -vayu ROM for POCO X3 Pro [direct link here].
Check the date and version as well.
Spoiler
If phone is not on MIUI version for required firmware, do additional as spoiler:
Spoiler
Download on PC official MIUI Recovery ROM or MIUI by Xiaomi.eu ROM ZIP (2~6 GB) of POCO x3 pro.
EEA is official ROM
Xiaomi.eu is custom ROM
Click to expand...
Click to collapse
9. Download recovery TWRP from here by Nebrassy for POCO x3 pro.
10. On PC, press "Device" -> "Reboot to" -> "Fastboot"
Should see Fastboot on phone
Spoiler
11. Program on PC should jump to Fastboot tab
If it did not jump to that tab,
Spoiler
click on Fastboot tab and choose "Option" -> "Reload device"
Warning !!! Look at the Anti version:
This is important for Xiaomi/Redmi/Poco phones.
Spoiler: About Anti version
Only Official MIUI ROMs may have ARB index.
Customs ROMs should not have ARB index.
If your device is Anti version: 2,
1) you can flash Rom with Anti Roll Back (ARB) index: 3, 4, 5, 6... etc. and the Anti version will become 3, 4, 5, 6... etc.
2) you can flash Rom with ARB index 2, and the Anti version will remain 2.
3) you CANNOT flash Rom with ARB index 1. Don't use that ROM in anyway, flashing through custom recovery will likely brick your phone.
4) If ARB index is 0, that means no ARB of that ROM. It will not check or change your device Anti version.
Make sure look at ARB index of MIUI ROM and Anti version of your phone. I don't have your phone. You decide to flash.
How to check ROM ARB index is written in the Source.
Source:
https://www.xda-developers.com/xiaomi-anti-rollback-protection-brick-phone/
12. Assume confirm MIUI ROM safe from ARB, click
Choose
for Poco X3 pro.
Change next drop down menu to "recovery".
Do not choose wrong option, or may be in BIG trouble.
Press Flash Image (Some device cannot do this step, check at your device XDA tutorial)
Confirm at the Status " Writing 'recovery' Okay "
13. Boot to TWRP
Phone should boot into TWRP.
Spoiler
14. Copy or Drag MIUI and custom Rom zip into phone Download folder for easy finding.
If PC did not see any folders in your phone from "My Computer" or "This PC", use either options:
Spoiler: microSD card or USB OTG
Copy the ROM zip file in and [put microSD into / connect USB OTG to] your phone, then continue to step 15
Spoiler: ADB sideload
A)
B) Connect phone USB cable to PC.
C) On PC, navigate to folder C:\user\your user name\XiaomiADBFastbootTools\platform-tools\
D) Copy or drag the ROMs.zip files into the folder.
E) Hold keyboard Shift and mouse Right Click in the folder blank space, left click Open command window here
F) In the Command enter the following code in the command window:
adb sideload custom_ROM_name.zip
G) After it's done (shown on phone screen), skip to step 16
15. In TWRP on phone, tap Install
Spoiler
If Firmware did not meet needs of custom ROM, do additional in spoiler
Spoiler
Choose Download folder, or press Select Storage and choose microSD card or USB OTG where you put the ROM, then tap on MIUI ROM zip.
Swipe to confirm Flash
After it's done, press back.
In Download folder, or press Select Storage and choose microSD card or USB OTG where you put the ROM, tap on custom ROM zip.
Swipe to confirm Flash
Wait until it's done
16. Press back, back, until you see Wipe, tap it and then tap Format Data.
Type yes, press enter.
17. Press Reboot System. Wait for like 10~15 minutes until initialization setup shows.
## End of Clean Custom Rom flashing.
Dirty Flash / ROM update
Do this only when developer or users said it can.
Spoiler: Click to show
Spoiler: If using Magisk, do this as well
First disable all Magisk module and reboot to prevent issues.
α) Remove ALL fingerprint, PIN, password, picture password, ALL locks
β) Do Section 2 step 15 with the update custom ROM zip file in your phone storage.
If TWRP or OrangeFox cannot see any folders in your phone, use either options:
Spoiler: microSD card or USB OTG
Copy the ROM zip file in and [put microSD into / connect USB OTG to] your phone and do Section 2 step 15 with the update custom ROM zip file, then do step γ
Spoiler: ADB sideload
A)
B) Connect phone USB cable to PC.
C) On PC, navigate to folder C:\user\your user name\XiaomiADBFastbootTools\platform-tools\
D) Copy or drag the ROMs.zip files into the folder.
E) Hold keyboard Shift and mouse Right Click in the folder blank space, left click Open command window here
F) In the Command enter the following code in the command window:
adb sideload custom_ROM_name.zip
G) After it's done (shown on phone screen), continue step γ
γ) When done, do the following:
δ) Then Reboot System.
## End of Dirty flashing.
Donate if you find it helpful: paypal.me/pl1992aw
Unlock bootloader to do the followings.
Keep phone with more than 60% battery.
Section 3: Install Magisk (Root)
Install steps and methods were written by topjohnwu (Magisk author) here, but still putting picture guide for POCO X3 Pro.
Spoiler: Click to show
1. Download Magisk on you phone, click and install.
Spoiler
Or find this and tap it once
A) the Easy traditional custom recoveries way :
(PC/Computer is not needed)
Spoiler
2A. Rename the downloaded APK file extension to ZIP.
Magisk-vXX.X.apk
↓
Magisk-vXX.X.zip
Click to expand...
Click to collapse
3A. Reboot to custom recoveries (TWRP, OrangeFox, etc)
3A-α) manually
Spoiler
Power off your phone, wait until screen turns black,
press and hold Vol+ and Power button Together (most Xiaomi/Redmi/Poco phones) until screen turns on.
(Picture from GSMarena)
keep holding Vol+ button, release Power button until booted into recovery.
3A-β) or with PC program/command
Spoiler
4A. In custom recovery on phone, tap Install
Spoiler
5A. In Download folder, tap on Magisk-vXX.X.zip.
Swipe to confirm Flash
Wait until it's done
6A. Wipe cache/dalvik
Then Reboot System
B) the Pro Patch image way :
(PC/Computer used)
Spoiler
2B. Choose boot.img and extract from custom Rom/MIUI Rom on PC which match current phone OS.
Connect phone to PC and copy that boot.img into phone Download folder.
3B. In Magisk app, click Install. Select and Patch a file.
Spoiler
4B. Copy the patched file to PC somewhere easy to find.
5B. Open PC program XiaomiADBFastbootTools
1) Select image magisk_patched-*****_*****.img
2) confirm selecting the patched image file name
3) choose boot partition in next drop down menu
4) Flash Image into boot partition, Yes.
Wait for "Writing 'boot' OKAY"
6B. Reboot to system
7. Go into Magisk app and check if it's installed.
Spoiler
8. Voila... or can do something more (Didn't feel the difference, though it said Recommended)
9. Reboot. Voila! Enjoy Magisk
##End of Magisk (Root) installation.
Section 3.5: Update Magisk
For Poco X3 Pro, repeat Section 3.
Donate if you find it helpful: paypal.me/pl1992aw
Reserved... Maybe for troubleshoot
Q. Why not use Mi-Flash?
A. Because one may easily accidently Clean All and Lock with different region MIUI and brick the device.
Go Xiaomi Poco F3 / Xiaomi Mi 11X / Redmi K40 and see how many users brick their device using Mi-Flash.
Be sure to check ARB index of MIUI.
Q. Why flash MIUI with TWRP not Fastboot?
A. To check you actually had unlocked bootloader. Without unlocked bootloader, you shouldn't be able to boot into TWRP.
Q. Widevine issues?
A. Read threads in spoiler:
Spoiler
You can have Widevine L1 on custom Roms.
https://forum.xda-developers.com/t/4267263/page-2#post-84919939
You can lost Widevine L1 on official MIUI Roms even without unlocking or root.
https://forum.xda-developers.com/t/4281695/
Devices supporting Widevine L1 certificate renewal officially:
POCO X3 Pro (vayu) [Stable V12.5.1.0.RJUMIXM+]
* Cetain devices have been losing Widevine L1 certificate randomly. The reason is unknown to us.
* Certificate renewal is done via Settings -> Passwords & security -> Fingerprint unlock -> Fingerprint payments -> Widevine (L1)
https://xiaomi.eu/community/threads/info-widevine-l1-support.61064/
If your device haven't officially receive MIUI update to 12.5.1.0, try Xiaomi.eu
Read also:
https://xiaomi.eu/community/threads/info-widevine-l1-support.61064/#post-606155
Thanks for your efforts bro..
i just unlocked the bootloader of my poco x3 pro 6/128 global stable(VAYU) and tired to root it with Magisk method before that i found a patched file of boot image from a post and i just directly did the flashing now its stuck in the MIUI logo dont know what to do next anyone can help me out with this,,, and im going to attached the boot image aswell try to look at it if its fine and what should i do next.
Faysal_khan_070 said:
i just unlocked the bootloader of my poco x3 pro 6/128 global stable(VAYU) and tired to root it with Magisk method before that i found a patched file of boot image from a post and i just directly did the flashing now its stuck in the MIUI logo dont know what to do next anyone can help me out with this,,, and im going to attached the boot image aswell try to look at it if its fine and what should i do next.
Click to expand...
Click to collapse
Are you sure your phone is Global? Which country?
What version of MIUI?
How did you flash your boot image?
What partition did you flash the boot image into?
Were you using this one? If yes, flash the boot.img from here into your phone boot partition and see if your phone can boot up.
Boot your phone into Fastboot or TWRP. If you can, there's still hope. Do the step in above Unlock bootloader step 18.
pl1992aw said:
Are you sure your phone is Global? Which country?
What version of MIUI?
How did you flash your boot image?
What partition did you flash the boot image into?
Were you using this one? If yes, flash the boot.img from here into your phone boot partition and see if your phone can boot up.
Boot your phone into Fastboot or TWRP. If you can, there's still hope. Do the step in above Unlock bootloader step 18.
Click to expand...
Click to collapse
YES, im dam sure its GLOBAL and im from Pakistan.
it was the MIUI 12.0.4 BUT Before unlocking it i updated to MIUI 12.0.6
ok so i just followed the MAGISK method and i downloaded a patched file from a post now i don't know where to find that post but it was for the MIUI 12.0.6 so i started to flash it through fastboot mode with a PC and i was done with it but when i pass on the command to reboot my phone it took so much time and then i released that it was stuck there in the LOGO . now im downloading the full ROM of miui 12.0.6(fasboot) to see if i can patch the boot image from there and hope it work.
Faysal_khan_070 said:
YES, im dam sure its GLOBAL and im from Pakistan.
it was the MIUI 12.0.4 BUT Before unlocking it i updated to MIUI 12.0.6
ok so i just followed the MAGISK method and i downloaded a patched file from a post now i don't know where to find that post but it was for the MIUI 12.0.6 so i started to flash it through fastboot mode with a PC and i was done with it but when i pass on the command to reboot my phone it took so much time and then i released that it was stuck there in the LOGO . now im downloading the full ROM of miui 12.0.6(fasboot) to see if i can patch the boot image from there and hope it work.
Click to expand...
Click to collapse
How you going to patch boot image if you cannot get into MIUI and use Magisk to patch boot.img?
You will need another phone to do that though.
Safe way is to do a complete clean data format and flash MIUI Rom.
i have another phone to patch it but the problem is what version should be used for patching magisk 22 or the latest one? how to flash miui rom and can i now go back to miui 12.0.4?
pl1992aw said:
Are you sure your phone is Global? Which country?
What version of MIUI?
How did you flash your boot image?
What partition did you flash the boot image into?
Were you using this one? If yes, flash the boot.img from here into your phone boot partition and see if your phone can boot up.
Boot your phone into Fastboot or TWRP. If you can, there's still hope. Do the step in above Unlock bootloader step 18.
Click to expand...
Click to collapse
i flashed the boot image from this attachment and its still stuck in there.
Faysal_khan_070 said:
i have another phone to patch it but the problem is what version should be used for patching magisk 22 or the latest one? how to flash miui rom and can i now go back to miui 12.0.4?
Click to expand...
Click to collapse
Now my suggestion is to do a Clean complete Rom install. So all your data and files will be gone.
If you agree to clean all your data, follow above Clean Flash custom ROMs. Start from step 8. When you need to get into Fastboot, do it manually.
You don't need to download ArrowOS. Download MIUI 12.0.6.0 Recovery Rom and flash through TWRP.
Don't think of Magisk and MIUI 12.0.4.0 just yet. First get back to be able to see MIUI working.
Do I have to keep a SIM card in the phone throughout the entire unlock process? I would be taking it out of my actual daily driver phone so I'm just curious
spookykidmm said:
Do I have to keep a SIM card in the phone throughout the entire unlock process? I would be taking it out of my actual daily driver phone so I'm just curious
Click to expand...
Click to collapse
You don't have to keep that SIM card after you done Unlock bootloader step 6.
You can remove your SIM card once step 6 was done. But you still need to have the number accessible to receive SMS if Mi-Account ask for verification.
Did you lose anything by unlocking bootloader? Like Widevine or something. Also, any special partition or file one should backup before unlocking (Not counting user data)? In Sony phones user have to backup TA partition or they will lose some features.
Thanks in advance
Rapier- said:
Did you lose anything by unlocking bootloader? Like Widevine or something. Also, any special partition or file one should backup before unlocking (Not counting user data)? In Sony phones user have to backup TA partition or they will lose some features.
Thanks in advance
Click to expand...
Click to collapse
Loss from Unlocking bootloader is written in above tutorial.
Partition backup is generally not needed if you do things correctly. For now, even if you have full backup of qcn, maybe can't even restore.
Read here: https://forum.xda-developers.com/t/4276823/post-85014473
Widevine issue, Read both:
You can have Widevine L1 on custom Roms.
https://forum.xda-developers.com/t/4267263/page-2#post-84919939
You can lost Widevine L1 on official MIUI Roms even without unlocking or root.
https://forum.xda-developers.com/t/4281695/
How can I use the Xiaomi Unlock tool on GNU/Linux? I tried using Wine, but I cannot log in.
wertguygywe said:
How can I use the Xiaomi Unlock tool on GNU/Linux? I tried using Wine, but I cannot log in.
Click to expand...
Click to collapse
Third party unlock tools that claim works on Linux and Mac. Trust it or not is your decision, can't tell you about it since it's 3rd party. Didn't use it before.
[TOOL][WIN/LIN/MAC] MiUnlockTool - Unlock bootloader of xiaomi devices on mac & linux
[TOOL][WIN/LIN/MAC] MiUnlockTool - Unlock bootloader of xiaomi devices on mac & linux Ciao xda users, I'm here to introduce a new tool of mine, MiUnlockTool. MiUnlockTool is an unofficial tool used to unlock bootloader on Xiaomi devices. This...
forum.xda-developers.com
Or find a Windows PC.
Or find USB drive and make a Windows To Go bootable disk. With this, you can boot from USB that contains Windows inside while not removing your Linux and MacOS.
Xiaomi Unlock tool (provided by Xiaomi officially) had only designed for Windows.
I have the latest arrow os on poco x3 pro now. But magisk failed to be installed.
It rebooted fastboot mode repeatedly after flashing magisk_patched_[random_strings].img.
If I flash original boot.img, it can be rebooted to system.
Below are some error in magisk install log I think:
cp: can't preserve ownership of 'busybox': Operation not permitted
cp: can't preserve ownership of 'magisk32': Operation not permitted
cp: can't preserve ownership of 'magisk64': Operation not permitted
cp: can't preserve ownership of 'magiskboot': Operation not permitted
cp: can't preserve ownership of 'magiskinit': Operation not permitted
This does not work due to a bad Java dependency. @
pl1992aw