Question Does anyone have Xiaomi 12 with unlocked bootloader? Test LineageOS - Xiaomi 12

Hello everyone, I'm porting LineageOS to Xiaomi 12, but I haven't unlocked the bootloader.
Can someone help me testing my port? I'll be appreciated if you could help me.
Requirements:
A Xiaomi 12 with unlocked bootloader.
Have enough time to test.
Know how to use logcat.
Speak English or Chinese.
Please contact me at Link deleted or Link deleted if you are willing to help. Thank you very much.
If you have a Deleted, just add my account ID Accound deleted please.
Edit moderation - Unauthorized links - Sib64 - moderator

awsome!kuan brother niubi!

Hey, i still have to wait some 120-ish hours to get my bootloader unlocked, but once I do, I can give it a try

fygesser said:
Hey, i still have to wait some 120-ish hours to get my bootloader unlocked, but once I do, I can give it a try
Click to expand...
Click to collapse
could test the ROM?

Hi, do I need to build it from source, or do you provide the binary?

do you provide the binary?

Is there a QQ group for this?

I compiled a rom from this device tree. But I don't know what's wrong. Boot into recovery mode only once.Then keep looping into fastboot.

NothingToHere said:
I compiled a rom from this device tree. But I don't know what's wrong. Boot into recovery mode only once.Then keep looping into fastboot.
Click to expand...
Click to collapse
how to compile bro

Are there any tutorial on how to compile a rom from device tree?

roesip said:
Are there any tutorial on how to compile a rom from device tree?
Click to expand...
Click to collapse
Find a phone you like from the lineageos official support list, where there is a detailed compilation process

Using already LOS!

ydd0ras said:
Using already LOS!
Click to expand...
Click to collapse
On Xiaomi 12? Which Build from which source?

Check here
Release LineageOS 19.1 for Xiaomi 2201123G (cupid) · arian-ota/ota
📅 Build date: 2022-06-19 🛡️ Security patch: 2022-06-05 💬 Variant: VANILLA 🗒️ Changelog SHA-256 checksum 4b31804abcd9fc54afb8b89ec2ed2bde3aab49e78065b31bd02321281677c161
github.com

ydd0ras said:
Check here
Release LineageOS 19.1 for Xiaomi 2201123G (cupid) · arian-ota/ota
📅 Build date: 2022-06-19 🛡️ Security patch: 2022-06-05 💬 Variant: VANILLA 🗒️ Changelog SHA-256 checksum 4b31804abcd9fc54afb8b89ec2ed2bde3aab49e78065b31bd02321281677c161
github.com
Click to expand...
Click to collapse
I, i Will be pleased if you upload a flashing guide.

Therazorsedge said:
I, i Will be pleased if you upload a flashing guide.
Click to expand...
Click to collapse
OK, I have wrote a flashing guide for Windows users, tho I don't use Windows so I hope all steps are correct:
Flashing LOS on Cupid
Xiaomi 12 LOS ROM flashing
Prerequisites:
Your bootloader must be unlocked.
You should use latest platform tools on Windows. https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Your device should be charged above 50%. Well, it doesn't have to be, but this is just for your phones safety.
Download all required files - ROM, boot, vendor_boot, dtbo and recovery.
Make a proper backup if needed and push it to another storage.
First steps:
After you have unlocked the bootloader, device will reboot automatically. Finish the setup, enable developer settings and finally enable USB-Debugging in developer settings.
In Windows open the folder in which you have unzipped the platform tools.
Hold left shift and press right click
click "open powershell window here"
Type in Terminal for example "adb devices" and grant the permissions for this PC on your device.
Reboot your device to fastboot and connect it with your PC.
The flashing procedure:
Flash boot, vendor_boot, dtbo and recovery:
Type in Windows Terminal:
fastboot flash boot lineage-19.1-20220617-UNOFFICIAL-cupid-boot.img
fastboot flash vendor_boot lineage-19.1-20220617-UNOFFICIAL-cupid-vendor_boot.img
fastboot flash dtbo_ab lineage-19.1-20220617-UNOFFICIAL-cupid-dtbo.img
fastboot flash recovery lineage-19.1-20220617-UNOFFICIAL-cupid-recovery.img
and finally
fastboot reboot recovery or
reboot to recovery by holding volume up and power buttons until you see Mi logo on your screen (on device).
In LOS recovery:
do a factory reset first
go to "Factory reset" and perform "Format data / Factory reset"
all data will be erased. Then....
go to "Apply update", followed by "Apply from ADB"
Now sideload the ROM:
type in Windows Terminal
adb sideload lineage-19.1-20220617-UNOFFICIAL-cupid.zip
You can also drag ROM zip file into your terminal window, instead of typing the full name/path to file.
When finished, reboot simply your device.

ydd0ras said:
OK, I have wrote a flashing guide for Windows users, tho I don't use Windows so I hope all steps are correct:
Flashing LOS on Cupid
Xiaomi 12 LOS ROM flashing
Prerequisites:
Your bootloader must be unlocked.
You should use latest platform tools on Windows. https://dl.google.com/android/repository/platform-tools-latest-windows.zip
Your device should be charged above 50%. Well, it doesn't have to be, but this is just for your phones safety.
Download all required files - ROM, boot, vendor_boot, dtbo and recovery.
Make a proper backup if needed and push it to another storage.
First steps:
After you have unlocked the bootloader, device will reboot automatically. Finish the setup, enable developer settings and finally enable USB-Debugging in developer settings.
In Windows open the folder in which you have unzipped the platform tools.
Hold left shift and press right click
click "open powershell window here"
Type in Terminal for example "adb devices" and grant the permissions for this PC on your device.
Reboot your device to fastboot and connect it with your PC.
The flashing procedure:
Flash boot, vendor_boot, dtbo and recovery:
Type in Windows Terminal:
fastboot flash boot lineage-19.1-20220617-UNOFFICIAL-cupid-boot.img
fastboot flash vendor_boot lineage-19.1-20220617-UNOFFICIAL-cupid-vendor_boot.img
fastboot flash dtbo_ab lineage-19.1-20220617-UNOFFICIAL-cupid-dtbo.img
fastboot flash recovery lineage-19.1-20220617-UNOFFICIAL-cupid-recovery.img
and finally
fastboot reboot recovery or
reboot to recovery by holding volume up and power buttons until you see Mi logo on your screen (on device).
In LOS recovery:
do a factory reset first
go to "Factory reset" and perform "Format data / Factory reset"
all data will be erased. Then....
go to "Apply update", followed by "Apply from ADB"
Now sideload the ROM:
type in Windows Terminal
adb sideload lineage-19.1-20220617-UNOFFICIAL-cupid.zip
You can also drag ROM zip file into your terminal window, instead of typing the full name/path to file.
When finished, reboot simply your device.
Click to expand...
Click to collapse
Is there a list of what's not working? That's be helpful for people who wants to know if the rom is suitable for daily drive.
Thank you!

Actually SMS don't come in. And D2W doesn't work. Maybe LOS needs to be polished a little. But I am using it for more than a week as daily driver. Put my Mi 11 lite 5G in the drawer.

ydd0ras said:
Actually SMS don't come in. And D2W doesn't work. Maybe LOS needs to be polished a little. But I am using it for more than a week as daily driver. Put my Mi 11 lite 5G in the drawer.
Click to expand...
Click to collapse
Your Info is really a great help! Thanks a lot!

Hi ! Do you have an idea of how I could contact the Dev of lineage for Xiaomi 12 ? I'd like to develop for Oneplus 10 pro and since they share the same soc he could be really useful

Related

[Guide] Unlocking the Mi4c Bootloader without verification by Xiaomi

This evening I had the same problem like many of you and I just did not want to wait 2-3 weeks for the unlock code from Xiaomi. I went through a lot of threads and different forums to create this guide.
Requirements
- ADB up and running (I am an Android developer, so I have this installed already - unsure if you need specific ADB drivers for Xiaomi devices though)
- Xiaomi MI4c
- MiFlash: http://bigota.d.miui.com/tools/MiPhone20151028.exe (via http://en.miui.com/a-234.html) - Install
- Mi4c Image: libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz - unpack until "images" directory is visible!
- [Optional] Mi4c Fastboot Image: miui_MI4c_6.1.21_d1d054460d_5.1.zip
- [Optional] Latest TWRP: http://forum.xda-developers.com/mi-4c/development/libra-twrp-3-0-t3315059
- [Optional] Latest build of CM 12.1: http://forum.xda-developers.com/mi-4c/development/cm12-1-build-cyanogenmod-12-1-device-t3291631
Step-by-step
Step 1 is optional: I was not sure, if I could use the "fastboot oem edl" command in a higher version of MIUI... feedback required. Thus following is a list of known Xiaomi ROMs which support this procedure:
If you are using one of the following ROM versions, you should be able to unlock the device easily with the provided guide. However, I have messages that the versions don't work with higher MIUI ROM versions.
CONFIRMED WORKING
V8.6.9.15 MIUI Dev ROM
V8.0.16.0 MIUI Dev ROM
V7.5.4.0
V7.5.3.0.LXKCNDE
V7.1.4.0.LXKCNCK
V6.1.21 (Download link above)
V6.3.24
V6.3.17
V6.4.21
V6.4.14
V6.5.26
V6.8.25
V6.9.15 (China Dev)
Not confirmed (?)
None
Not working
None
(Optional) Downgrade your Mi4c by flashing any image from the list above via the "Updater" app (use top right icon to select image).
Reboot into fastboot mode (Power + Vol Down) until you see the MIUI rabbit and "FASTBOOT"
Command: fastboot oem edl (this brings your device in a kind of emergency recovery state) -> the device does only show a black screen. Do the next step.
Use MiFlash to flash 6.1.7 image (Browse -> select the "images" directory of the 6.1.7 package and start flashing)
When completed, reboot the phone by holding the Power button long (~8s)
Wait until 6.1.7 is completely loaded (this may take a while)
Reboot into fastboot mode (Power + Vol Down)
Command: fastboot oem unlock -> at this point you should have an unlocked bootloader
Now optionally install TWRP and subsequently CM 12.1 and enjoy (see respective linkes in the requirements for a howto) - TWRP: fastboot flash recovery <twrp>.img
With this post, I want to say thank you to all the developers who take their time to port Cyanogen to exotic Android devices. You are heroes!
In case you want to donate me something: https://paypal.me/wolkenjaeger
Great post.
Very detailed explanation.
Very usefull.
could i back to miui rom after installed CM rom
nhkhanh068 said:
could i back to miui rom after installed CM rom
Click to expand...
Click to collapse
Yes you can, as you see the CM is optional, you can choose any rom of your liking.
Be warned that any of the latest official Miui roms will lock your bootloader right back and if you have TWRP in place, you will bootloop.
Xiaomi.eu or sMiui highly recommended alternatives if you want to go with miui.
Great step by step tutorial, worth a sticky imo since more and more people coming here will be locked in the future.
I did unlock the bootloader using the guide and it works.
Step 1 Downgrade your Mi4c by flashing the 6.1.21 image via the "Updater" app (use top right icon to select image) is not necessary .
Also all data will be wiped.
vasil_d said:
I did unlock the bootloader using the guide and it works.
Step 1 Downgrade your Mi4c by flashing the 6.1.21 image via the "Updater" app (use top right icon to select image) is not necessary .
Also all data will be wiped.
Click to expand...
Click to collapse
Thanks for the feedback. Did you "EDL" flash from the latest stable / dev version?
Not working for me. I'm Unable to flash 6.1.7 from update from 6.3.10. When I send command: fastboot oem edl phone reboots and then I am unable to glash with MiPhone. :crying:
wolkenjaeger said:
Thanks for the feedback. Did you "EDL" flash from the latest stable / dev version?
Click to expand...
Click to collapse
I used china stable V7.1.4.0.LXKCNCK
fastboot oem edl
Hi guys i need some help, when i try to use "fastboot oem edl" then flash it all it gives me black screen and cannot go back to fastboot.
no key combination is working power+vol - is dead power+vol up is also dead..
all i can see is its recognize it via device manager port com "Qualcomm hs-usb qdloader 9008"
please point me out to somewhere i can see my fastboot mode again
thanks in advance
ding-dong said:
Hi guys i need some help, when i try to use "fastboot oem edl" then flash it all it gives me black screen and cannot go back to fastboot.
no key combination is working power+vol - is dead power+vol up is also dead..
all i can see is its recognize it via device manager port com "Qualcomm hs-usb qdloader 9008"
please point me out to somewhere i can see my fastboot mode again
thanks in advance
Click to expand...
Click to collapse
Well, when you get the black screen, start MIFlash :fingers-crossed:
wolkenjaeger said:
Well, when you get the black screen, start MIFlash :fingers-crossed:
Click to expand...
Click to collapse
i did that several times but nothing happend it said tobe successfull but i cannot open my mi4c.. can u help me to get back to fastboot?
i dont have anything now...
But.. How can I check if the bootloader is locked / unlocked? In fastboot nothing useful is displayed
hi,
everything going fine for me, unlock worked, flash recovery twrp worked. But finally i still have the miui recovery...
Now when i try to unlock through MiFlashUnlock, it says "Devices already unlock". Before doing this guide i was blocked at 50% "Mi account not the same that devices information".
What can i do ??
matt0101 said:
hi,
everything going fine for me, unlock worked, flash recovery twrp worked. But finally i still have the miui recovery...
Now when i try to unlock through MiFlashUnlock, it says "Devices already unlock". Before doing this guide i was blocked at 50% "Mi account not the same that devices information".
What can i do ??
Click to expand...
Click to collapse
don't let en.MIUI rom boot after you install twrp. because it will reinstall the stock recovery over the twrp recovery. In fact, you have to go directly to twrp after flashing it, and try MIUI.eu or other CM roms.
tuanhung303 said:
don't let en.MIUI rom boot after you install twrp. because it will reinstall the stock recovery over the twrp recovery. In fact, you have to go directly to twrp after flashing it, and try MIUI.eu or other CM roms.
Click to expand...
Click to collapse
Thanks you very much, it finally works !!!
Thanks
Anyone else confirms? Maybe a video?
~~mi4c™~~
Thank you! Worked great for me!
Will this work with xiaomi mi5?
Great work man
can I share this on Polish forum?

[GUIDE] How to flash a custom recovery and root a Nokia 6 Retail Phone

WARNING: This method currently doesn't work on Nokia 6 TA-1000 with latest Android O Update! Finding workaround.
Workaround found on leaked Android 8.1 Update, with Magisk Systemless Root Method.
ROOT YOUR PHONE MAY VOID YOUR WARRANTY, DO IT AT YOUR OWN RISK
You can download new recovery from this post: https://forum.xda-developers.com/nokia-6/how-to/nokia-6-ta-1000-homebrew-stock-android-t3752006
Changes in new TWRP Recovery 3.2.1-0:
1. Add English Interface.
2. Use Magisk ROOT instead of SuperSU ROOT.
3. You can backup EFS. However you can't backup modem or the procedure will break.
Thanks to @xinkid 's effort, we can finally root Nokia 6 on Android Oreo again.
Procedure for non TA-1000 users:
0. Backup your phone and remove your lock screen password before proceed! If your phone get stuck at "Powered by Android" splash after the procedure, you may need to format userdata.
1. Sideload the PLE-372B ota package in recovery, which you can download from here:
https://forum.xda-developers.com/nokia-6/help/nokia-6-ota-update-ddls-t3721424
Refer this guide's part 2 to downgrade.
https://forum.xda-developers.com/nokia-6/how-to/guide-upgrade-downgrade-nougat-oreo-t3752393
2. Flash the service bootloader and grant service permission
Reboot to bootloader, then flash the service bootloader with following commands. Service bootloader file (D1C-emmc_appsboot.mbn attached in this topic)
Code:
fastboot oem dm-verity [md5_of_your_device_serial_number]
fastboot flash aboot D1C-emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot oem dm-verity [md5_of_your_device_serial_number]
For example, if your serial number is PLEABCD123456789, and the md5 checksum of your serial number is 5f47b9a8dc1da1873c12945cf806691e, then type this command:
Code:
fastboot oem dm-verity 5f47b9a8dc1da1873c12945cf806691e
fastboot flash aboot D1C-emmc_appsboot.mbn
fastboot reboot-bootloader
fastboot oem dm-verity 5f47b9a8dc1da1873c12945cf806691e
You can google a website to calculate md5 checksum of a string.
3. Reflash newer firmware basis to your phone except aboot
After you grant service permission, Extract the newer one OTA package on your PC, in this case, PLE-558B.
Everything you need are placed at firmware-update folder that you extracted.
Take PLE-558B for example, type these commands (commands need to be changed if newer firmware released):
Code:
fastboot flash sbl1 D1C-0-558B-sbl1.mbn
fastboot flash keymaster D1C-0-558B-keymaster.mbn
fastboot flash devcfg D1C-0-558B-devcfg.mbn
fastboot flash cmnlib64 D1C-0-558B-cmnlib64.mbn
fastboot flash rpm D1C-0-558B-rpm.mbn
fastboot flash tz D1C-0-558B-tz.mbn
fastboot flash cmnlib D1C-0-558B-cmnlib.mbn
fastboot flash modem D1C-0-558B-NON-HLOS.bin
fastboot flash dsp D1C-0-558B-adspso.bin
fastboot flash default_nv D1C-0-558B-NV-default.mbn
fastboot flash persist D1C-0-558B-00WW-persist.img
fastboot flash hwcfg D1C-0-558B-hwcfg.img
fastboot flash mdtp D1C-0-558B-00WW-mdtp.img
fastboot flash systeminfo fver
fastboot flash sec D1C-0-558B-sec.dat
fastboot flash cda PLE-00WW-013-cda.img
You'll also need the boot img in the extracted ota package:
fastboot flash boot boot.img
Then flash the custom recovery:
fastboot flash recovery nokia-6-ta-1000-8_0-twrp3.2.1-7to-recovery-magisk-root-2018.3.15.img
Power off your phone (case sensitive). Disconnect your phone after execute this command:
fastboot oem HALT
4. Connect your phone to a charger. When charging animation appears, press and hold Volume Up and Power until you see "7to.com" logo. Tap the white cog to choose English language, tap Advanced - Magisk Root, and wait for the procedure complete.
========================SEPARATOR====================
This new guide is only based and tested on Nokia 6 TA-1000. Non TA-1000 (e.g. TA-1021) users need to find their own old OTA package to downgrade.
1. Downgrade the bootloader according to this guide: https://forum.xda-developers.com/nokia-6/how-to/guide-upgrade-downgrade-nougat-oreo-t3752393
If you've flashed my homebrew Android O firmware, skip this step.
2. Use old method below to flash the new recovery again. You must use this recovery, otherwise you can't mount and root.
If you've flashed my homebrew Android O firmware, type this command will allow you to flash recovery:
Code:
fastboot-android oem dm-verity (your_serial_number's_md5_checksum)
3. Use old method below to enter recovery. To load English interface, tap the white cog on the top-right corner, then tap "English" and OK button, just wait few seconds.
4. Tap "Advanced" - "Magisk ROOT" and swipe.
5. If you meet recovery loop after rooted, flash the package misc_initial.zip attached below to escape from recovery loop.
That's it. It's not recommended to receive any newer OTA update since it will overwrite bootloader to patched state.
If you're using TA-1000, you can also try to flash Android 8.1 Homebrew Firmware before rooting.
I'm sorry if you found the guide looks confusing.
Following method for Nougat is archived, only for reference.
Yesterday, I got my own Nokia 6 Retail Phone. Since I’ve already rooted Nokia 5, 6 and 8 Prototype, now it’s time to find out how to root retail Nokia 6 without involving risky Qualcomm EDL Mode.
It works on any variant of Nokia 6 in theory, but I only tested it on D1C/TA-1000.
If there’s a custom recovery for Nokia 2/3/5 released, the guide also works on them. But I’ve tested it on a Nokia 8 retail phone, it doesn’t work on it.
To Nokia 7 and 8 Users, You may want to read this topic: https://forum.xda-developers.com/showthread.php?t=3729396
Click to expand...
Click to collapse
First, you need to download OFW of Nokia 6, install OST LA and patch it.
You can download them from here: https://forum.xda-developers.com/no...ia-8-official-firmware-links-updated-t3678487
(Although the link is for Nokia 8, firmware for Nokia 6 is still available)
如果你是中国用户,诺6固件的下载和使用方法请看本文:
https://www.ithome.com/html/android/328333.htm
Click to expand...
Click to collapse
If you own an unlocked prototype device, just skip to step 6.
Click to expand...
Click to collapse
1. Open OST LA from INSTALLATION DIRECTORY DIRECTLY instead of Start Menu.
2. Load your OFW you downloaded with extension name nb0.
3. Power off your phone, then connect it to your PC. This will boot your phone to “Download mode” directly, in fact it’s fastboot mode.
4. Click “Edit Phone Info” on OST LA. This will load a service purposed bootloader. When your phone reboots and re-enters the Download mode, the service purposed bootloader is now loaded.
5. You can close OST LA when it prompts “Boot FTM mode fail”, or just kill it in task manager if it’s not responding.
6. Open a command prompt or PowerShell in OST LA Installation Directory, then execute this command to flash a custom recovery:
Code:
.\fastboot-android flash recovery E:\recovery.img
I assume that you put the custom recovery in drive E and named as recovery.img.
You can also use your own fastboot if you want, but I’ll prefer the one provided along with OST LA.
I used the recovery from here: https://forum.xda-developers.com/no...veryteamwim-recovery-project-nokia-6-t3650499
7. Type this command but do not execute right now:
Code:
.\fastboot-android reboot
8. Now this step is a little tricky. Press and hold [Volume Up] and [Power] on your phone, then execute the command above at the same time. DO NOT RELEASE both keys on your phone until your phone entered the custom recovery.
9. Now your phone has entered a custom recovery. In this example, we’re using TWRP from Chinese 7to forum, only Chinese is available. I believe most of members on XDA can’t read Chinese, so I’ll attach screenshots. Simply tap “Advanced” – “SuperSU ROOT” will root your phone. If you prefer your own root zip update package, tap “Install Zip” then flash your own zip package in your storage, or tap “Advanced” – “ADB Sideload” then use ADB to sideload a zip package.
You can install the Materialized Theme for TWRP to get English interface from https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584 by @z31s1g
Click to expand...
Click to collapse
Currently, DO NOT FLASH Magisk, or your phone will brick as Qualcomm 900E.
You can only use Magisk Root method in latest Android O Update, which I'll cover later.
Click to expand...
Click to collapse
10. After your phone rooted, you can reboot your phone. DO NOT INSTALL ANY OTA UPDATES OR YOUR PHONE WILL GET STUCK AT STOCK RECOVERY, but I’ll recommend you to disable automatic update in settings.
That’s wraps up the whole guide. Please do feedback if there’s something wrong.
Here' the video of how to root a Nokia 6: https://youtu.be/24b-49qTheg
Special thanks:
@blackpanther0582 for Nokia 3/5/6/8 Official Firmware.
@xinkid from Chinese 7to forum for his TWRP.
@hawwin88 for providing info about adding English Interface to recovery.
UPDATE: Uploaded the SuperSU ZIP (verify-xinkid.zip) used in this recovery.
Thank you it worked on nokia6 ta-1000 chinese. I rooted the phone successfully
Finally!
Boy O Boy!
Finally, after a long, long wait, Got my Nokia 6 Rooted! (TA-1000)
Thanks a LOT, Man! :good:
Anyone tried it on any other variant yet?
Hi .i am 1st root my ta1021 with Android 7.1.2 .f**k me
but your method have some problems ...
1. I can't find powershell or anything else in ost la folder.
2.fastboot-android not working....
Now I want complete your method from 6.
6. Before you must install adb and fastboot tools and drivers and use command prompt ,
copy recovery.img to drive c
After ost la changeing phone to edit mod wait 10 second and type this command
Fastboot flash recovery c:\recovery.img
And after flashing completed hold both volume+ and power button and type this command
Fastboot reboot
Don't release buttons and after few seconds you enter Chinese recovery swipe it to right and use screen shots to root your device, after that reboot to system you can find it from screenshot, it go to download mod and then type
Fastboot continue
And enter congratulations, your phone go to normal boot.
Bla bla super su installed....
Thanks, hikari_calyx. For this thread..
Some errors happend when I use rill but after reboot again it is not happening....
same6630 said:
Hi .i am 1st root my ta1021 with Android 7.1.2 .f**k me
but your method have some problems ...
1. I can't find powershell or anything else in ost la folder.
2.fastboot-android not working....
Now I want complete your method from 6.
6. Before you must install adb and fastboot tools and drivers and use command prompt ,
copy recovery.img to drive c
After ost la changeing phone to edit mod wait 10 second and type this command
Fastboot flash recovery c:\recovery.img
And after flashing completed hold both volume+ and power button and type this command
Fastboot reboot
Don't release buttons and after few seconds you enter Chinese recovery swipe it to right and use screen shots to root your device, after that reboot to system you can find it from screenshot, it go to download mod and then type
Fastboot continue
And enter congratulations, your phone go to normal boot.
Bla bla super su installed....
Thanks, hikari_calyx. For this thread..
Some errors happend when I use rill but after reboot again it is not happening....
Click to expand...
Click to collapse
If you're running Windows Vista or Windows 7, you can open a command prompt from installation directory by click right button on the mouse while holding Shift key on the keyboard.
If you're running Windows 8/8.1 or Windows 10, you can open a command prompt or PowerShell from the left corner "File" button. Administrators privilege is optional.
Also, as I mentioned:
You can also use your own fastboot if you want.
Click to expand...
Click to collapse
IDK but you should have change/put the title of this topic as Nokia 6 - TA 1000 (Chinese variant) rather than Retail Phone.
Well, getting root is definitely a temptation but since I'm just a noob and the HMD hasn't release any official firmware/tool yet to recover the phone if thing goes wrong, I guess I'll wait a little bit longer then.
lips_1234 said:
IDK but you should have change/put the title of this topic as Nokia 6 - TA 1000 (Chinese variant) rather than Retail Phone.
Click to expand...
Click to collapse
As I mentioned on the topic, it works on any variant, not only China Variant TA-1000 and Hong Kong Variant TA-1003.
 @same6630 tested on a TA-1021 which is a global variant.
lips_1234 said:
Well, getting root is definitely a temptation but since I'm just a noob and the HMD hasn't release any official firmware/tool yet to recover the phone if thing goes wrong, I guess I'll wait a little bit longer then.
Click to expand...
Click to collapse
HMD released official firmware of Nokia 6 of course, and it's needed to flash a recovery.
Mine
I got some screenshots....
Did someone successfully rooted his Nokia 6 TA-1033?
So just to be clear before I do this to my TA-1000; how do I go about to update it later if I want to update it? For example, my TA-1000 still don't have the 7.1.2 update, and the 8.0 update coming later would be something I want as well.
Do I just update through zip files, or will I simply not be able to update?
Make.Sense said:
So just to be clear before I do this to my TA-1000; how do I go about to update it later if I want to update it? For example, my TA-1000 still don't have the 7.1.2 update, and the 8.0 update coming later would be something I want as well.
Do I just update through zip files, or will I simply not be able to update?
Click to expand...
Click to collapse
After you rooted your phone, you're not able to install any update until you reinstall stock rom.
[THEME][TWRP] TWRP Materialised
U can also install theme for your chinese twrp and you will show english language ...
download theme from this thread
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
hawwin88 said:
U can also install theme for your chinese twrp and you will show english language ...
download theme from this thread
https://forum.xda-developers.com/android/themes/theme-twrp-materialised-dark-light-play-t2915584
Click to expand...
Click to collapse
Thanks for providing info!
When I try to flash the recovery.img through command I have this:
...etc
FAILED (remote. Partition flashing is not allowed)~
finished. ´
etc...
Im using a TA-1033, unlocked UK version.
Can anyone help me, please.
wolfpower95 said:
When I try to flash the recovery.img through command I have this:
...etc
FAILED (remote. Partition flashing is not allowed)~
finished. ´
etc...
Im using a TA-1033, unlocked UK version.
Can anyone help me, please.
Click to expand...
Click to collapse
maybe u are not in bootloader mode .. try to reconnect ur phone again and tap "edit phone" on OST LA software
or try to type this in command :
"fastboot reboot-bootloader"
hawwin88 said:
maybe u are not in bootloader mode .. try to reconnect ur phone again and tap "edit phone" on OST LA software
or try to type this in command :
"fastboot reboot-bootloader"
Click to expand...
Click to collapse
When I connect my TA-0033 it enters in Download mode, when I press "Edit phone", the device continues in download mode and the OST LA software goes unresponsive.
Im using a TA-0033 with 7.1.2 N
done!!!! thank you my good friend!!!! i've just installed the recovery AND ROOT MY TA-1021 with english theme. only a question. without pc what is the best way to reboot in recovery mode nokia 6? when i'ts time to update to oreo, i've only just click to restore in: setting=>backup and restore?? thanksssssss
canapo92 said:
done!!!! thank you my good friend!!!! i've just installed the recovery AND ROOT MY TA-1021 with english theme. only a question. without pc what is the best way to reboot in recovery mode nokia 6? when i'ts time to update to oreo, i've only just click to restore in: setting=>backup and restore?? thanksssssss
Click to expand...
Click to collapse
I recommend you to install Xposed and GravityBox for Nougat to enable Reboot to Recovery option.
hikari_calyx said:
I recommend you to install Xposed and GravityBox for Nougat to enable Reboot to Recovery option.
Click to expand...
Click to collapse
I just got Nokia 6 TA 1021 android 7.1.1, Build is 00WW_3_320. Can your method also work for it?

Guide: How-to Unlock, Root, TWRP, ROMs, Android P, Google Apps, Magisk

In the original Mi Mix Forum we had a one-in-all thread for all new users, so I try to continue it here.
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 2018-08-16 03:30 AM UTC
Code:
+ Updated: MIUI 10 china & global beta links
+ Added: Google Maps Location Sharing & Timeline on Chinese ROM
+ Updated: Working GCam links
Chat Group
Get live help and discuss topics around Mi Mix 2S in our Telegram Group: MOD EDIT: Telegram link removed, read the STICKY!
Available ROM & Download Links
The variants sold outside of China come with the Global ROM including Google Apps.
For devices that have the Official Chinese ROM, it's only possible to flash the Official Global ROM after you unlock your device due to region mismatch.
OTA or recovery zips can be flashed in the official MIUI updater app if it matches your region) or if you're unlocked, you can flash through TWRP whatever you want.
Fastboot ROM can be flashed by using fastboot or the XiaoMi Flash Tool.
ROMs:
Recovery can be flashed through the Updater app on your phone (if locked, china can only flash china, global can only flash global) or better through TWRP Recovery (if unlocked, can of course flash any region over any).
Fastboot can be flashed by connecting your phone through USB and use XiaoMi Flash Tool or fastboot.
Custom ROMs can be flashed by TWRP (if unlocked)
MIUI 9.5 Official Download Links on miui.com (Chinese Stable/Developer, Global Stable/Developer)
Recovery latest
Fastboot latest
MIUI 9.5 Global Stable (leaked):
Recovery 9.5.19
Recovery 9.5.18
Recovery 9.5.4
Fastboot 9.5.4
MIUI 10 Global Closed Beta, Android 9 (leaked)
Recovery 8.8.7
MIUI 10 Global Closed Beta, Android 8 (leaked):
Fastboot 8.6.26
Recovery 8.6.14
MIUI 10 Chinese Beta, Android 9.0 (leaked)
Recovery 8.8.15
MIUI 10 Chinese Beta, Android 8.0 (leaked)
Recovery 8.7.2
Fastboot 8.6.21
Recovery 8.6.13
Recovery 8.6.12
Recovery 8.6.11
Recovery 8.6.6 *relocks bootloader, flash root/magisk or unlock again (you'll loose /data)
Recovery 8.6.5
Recovery 8.6.4
Recovery 8.5.31
MIUI 9.5 xiaomi.eu Custom ROM:
Recovery latest
Official Android P preview from Google (pure AOSP):
System Image
AOSP Custom ROMs
Mokee
Lineage Treble
Available TWRP recoveries & Download Links
TWRP by xiaomi.eu and miuiItalia
The first versions are from xiaomi.eu and miuiItalia and aren't able to read encrypted internal storage. If you want to flash something with this TWRP you need to format your internal storage then copy the file over in MTP mode and flash it. So you loose your storage all the time. No problem when you want to cleanly flash new ROMs, but annoying when you just flash magisk, mods and other things.
Download TWRP polaris by xiaomi.eu
Download TWRP by miuiItalia
TWRP by notsyncing
notsyncing's version is able to work with encrypted storage. You need to enter your pin or draw your lock pattern in order to work. Switching between different ROMs like Chinese/Global/Custom you most probably still need to format your /data, but when you stay on the same ROM no need to wipe or format.
Thread
Guide: Install Google Apps & Contact Sync on Chinese ROMs
Chinese ROMs don't contain Google Apps. Especially if you didn't unlock your phone you probably want to install Google Apps and Framework:
Download the Oreo Google Apps package: https://androidfilehost.com/?fid=818222786056028173 and extract it on your phone
Install every APK from 1-6 without opening them after installation!
Install 8.0-Oreo.com.google.android.gsf_8.0.0-4147944-26_minAPI26.apk
Don't inistall the remaining two APKs
Download and install the updated contacts sync 8.1.0 APK: https://www.apkmirror.com/apk/google-inc/google-contacts-sync/google-contacts-sync-8-1-0-release/google-contacts-sync-8-1-0-2-android-apk-download/
Go into Settings > Installed apps and find all Google Apps in the list. Select each of them and turn on Autostart Permission. Additionally go into Permissions and enable all permissions in there. Again: Do this for all Apps you've just installed or that have the name Google or Contacts or Calendar in it.
Reboot your phone
Login to your google account, by opening Settings > Sync > Add Account > Google
Guide: Install Global ROM (leak)
If you're on Chinese or xiaomi.eu ROM and you want to flash the official Global ROM that has been leaked:
Unlock bootloader
Download Global V9.5.18.0.ODGMIFA from above
Boot phone into fastboot, open fastboot console on your pc, connect phone via USB with your pc
download and extract official twrp recovery for mix 2s and name the file recovery.img and copy it onto C:\
fastboot boot recovery.img
wipe > advanced > dalvik cache, system, data, internal storage, cache
copy V9.5.18.0.ODGMIFA zip and region fix onto your phone (may not be necessary with global device, and/or with newer global ROM leaks. try without the fix first)
twrp: install V9.5.18.0.ODGMIFA zip
twrp: install region fix zip
reboot and complete setup of your phone
For magisk see below
Guide: Install MIUI 10 leak
phone: boot to fastboot
pc:
Code:
fastboot boot twrp.img
phone: wipe data, system, dalvic, cache
phone: format DATA
phone: reboot phone into fastboot
pc: fastboot boot twrp.img
pc: transfer miui 10 zip to phone memory
phone: install miui 10 zip
phone: reboot to miui 10 setup device wizard
phone: in case your device is bound to a xiaomi ID, enter your password
phone: complete MIUI 10 setup
phone: download form apkmirror and install:
Magisk
Info: info: may not work if you have the chinese 6GB model instead of the global model, but always works on the 8gb model
phone: reboot to fastboot
pc: copy magisk 16.4 install/uninstall zip to phone
phone: install magisk
reboot
Guide: Install official Android P developer preview
Google announced the Android P preview officially for the Mi Mix 2S as shown here: https://developer.android.com/preview/devices/
Requirements:
Unlocked bootloader
ROM: http://bigota.d.miui.com/8.5.3/polaris_dp_global_images_8.5.3_20180503.0000.00_9.0_ef2f024b87.tgz
Setup after first boot needs to be completed in Chinese. Then afterwards changing the language to English is possible
Steps to install: Download Android P for Mi Mix 2S: http://www.mi.com/en/androidppreview/
Guide: 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 now force you to wait for up to 360 hours until you can try again to unlock. This is annoying, but you have to wait. Otherwise your account may be blocked.
Guide: Flash any Treble ROM
Download any Treble ROM:
https://forum.xda-developers.com/project-treble/trebleenabled-device-development
https://forum.xda-developers.com/project-treble
Requirements:
Unlocked bootloader
Be on Global or Chinese official stable ROM, flash it through XiaoMiFlasher and download the fastboot ROM from mi.com if necessary
Minimal ADB & Fastboot installed on your Windows computer
Download the ARM64 NANO OpenGApps for the exact Android version your Treble ROM uses: https://opengapps.org/
Optional: Download Magisk 16.4 and Magisk Uninstaller
Perform a factory reset on your device. You have two options here:
Open the settings app on your phone and look for the factory reset option.
Boot your phone into fastboot
With your device connected to your PC start the Minimal ADB & Fastboot console
Enter a command in the following format:
Code:
fastboot flash system
having a space at the end, so it's fastboot flash system(SPACE) and drag and drop your Treble img file with your mouse from an Explorer window into the cmd console
Example:
Code:
fastboot flash system C:\Users\Superman\Desktop\Mix2S\system-arm64-aonly-gapps-su.img
Push enter, and allow the image to flash, it could take a few minutes.
Once it has completed, reboot your device into fastboot then (WARNING: THIS WIPES EVERYTHING) enter
Code:
fastboot -w
from your computers command prompt window.
Reboot
Optional:
You can flash TWRP and then flash GApps and or Magisk if you want. The DM-Verity check may prevent the phone from booting, so by flashing Magisk DM-Verity check should be disabled and your phone should boot.
Guide: Flash TWRP Recovery and Custom ROM
Download TWRP for Mi Mix 2S above
Extract the img file of the TWRP zip you've downloaded, into C:\ and name it recovery.img
Turn off phone
Press Volume Down + Power button until phone boots into fastboot mode
Download and install latest Minimal ADB and Fastboot from here https://forum.xda-developers.com/showthread.php?t=2317790 on your windows computer
Connect your phone with the USB cable
Open a CMD window on your windows computer (Press CTRL+R enter cmd, press enter)
enter the following command and press enter: fastboot flash recovery C:\recovery.img
enter the following command and press enter: fastboot boot C:\recovery.img
Wipe /data partition
Copy the ROM zip file to the internal storage of your phone
Install the ROM zip
Reboot
done
Guide: Install Magisk
More information on http://en.miui.com/thread-2449455-1-1.html
For Official Global ROM (not xiaomi.eu) I can confirm this works (safetynet passed):
NOTE: Check your phone model in settings > my device > model (MIUI 9) or settings > my device > verification (MIUI 10). Depending on your Model and ROM Magisk may not work. See below for confirmed outcomes.
Click to expand...
Click to collapse
Chinese / Global / Beta + M1803D5XA + Magisk = OK
Chinese + M1803D5XE + Magisk = OK
Chinese + M1803D5XE + Magisk = OK
xiaomi.eu + M1803D5XE + Magisk = OK
Global + M1803D5XA + SR-SuperSU-v2.82-SR5 = OK
How to flash Magisk the common way
Use the modified twrp with working partition decryption
Unlock your bootloader
on PC: fastboot boot recovery.img
in TWRP: Install your ROM (example Global V9.5.18.ODGMIFA)
If you want to flash global on a chinese device, in TWRP: install region fix otherwise go to next step
on Phone: Boot and complete MIUI setup
on PC: fastboot boot recovery.img
in TWRP: enter your password to decrypt storage
in TWRP: install Magisk-v16.4.zip
Reboot
Guide: Pass Safety Net with Magisk
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 the fingerprint:
Code:
Xiaomi/polaris/polaris:8.0.0/OPR1.170623.032/V9.5.15.0.ODGCNFA:user/release-keys
And boom, pass safetynet after a reboot
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
Enable Google Maps Location Sharing & Location History on Chinese MIUI ROM
You need Magisk properly installed on your ROM and then download & install the module: Unlock CN GMS
Google Camera with HDR+
Some modified versions of Google Camera may allow to use HDR+ with the Mi Mix 2S. For some these may work:
defcomg-fix_OP6v0.3_MGC_5.1.018_FINAL_3.4A.apk
As the modders keep creating new fixes, you should try out new versions from here regularily and see if HDR+ works and the portrait camera works.
Original thread: Mix 2S Google Camera
only fastboot roms
tool only fastboot rom. How do I flash your ROM?
underlines said:
...
Official Global ROM
The variants sold outside of China come with the Global ROM including Google Apps.
For devices that have the Official Chinese ROM l, it's possible to flash the Official Global ROM. L
Follow the Unlock tutorial in this guide
Download the Official Global ROM: http://bigota.d.miui.com/V9.5.4.0.ODGMIFA/miui_MIMIX2SGlobal_V9.5.4.0.ODGMIFA_702fd64fce_8.0.zip
Extract the Zip to C:\rom
Download and install Mi Flash tool
Turn off your phone. Press Volume Down + Power button to boot into Fastboot mode
Connect your phone via USB to your computer
Flash the ROM with Mi Flash Tool
...
Coming soon
Click to expand...
Click to collapse
Thanks for your effort. About the quoted part i don't think it will work by following this steps. People in this topic tried without success: https://forum.xda-developers.com/xiaomi-mi-mix-2s/how-to/global-stable-rom-link-t3786717
It seems the proper way is the one it follows:
teddy74eva said:
I've just tried it and the bootloader has to be unlocked, otherwise the phone will not boot. But thanks for your guide, I have succesfully installed Global, many thanks so to sum things up, to install Global rom you need to:
Unlock your bootloader
Flash TWRP from Xiaomi.eu
Flash Global from first post and WITHOUT rebooting flash region fix from carburano's guide
Now you can reboot to system
Click to expand...
Click to collapse
I think, he never test his guide himself... the rom is the same as in the other link here from italian guy and it is not an fastboot rom. So i wonder, how he flash this file with miui-flash... so i think, he never had flash this.
I've ordered the 8GB-256GB model and it has the Chinese ROM, can I flash the Global ROM regardless of bootloader status etc.
Well this time xiaomi forced me to wait for 360 hours before i can unlock, even though my mi account has unlock permissions since 2016... So i can't yet validate anything.
Thanks for your input. I'll adapt the guide
TheInfiniteAndroid said:
I've ordered the 8GB-256GB model and it has the Chinese ROM, can I flash the Global ROM regardless of bootloader status etc.
Click to expand...
Click to collapse
If anyone can confirm this I'd really appreciate it, thanks
TheInfiniteAndroid said:
If anyone can confirm this I'd really appreciate it, thanks
Click to expand...
Click to collapse
Right now you can't flash with locked bootloader. Maybe it will be possible when Xiaomi releases a fastboot rom. According some users this rom release will be in the next few days.
Bill Power said:
Right now you can't flash with locked bootloader. Maybe it will be possible when Xiaomi releases a fastboot rom. According some users this rom release will be in the next few days.
Click to expand...
Click to collapse
Thank-you for this, I guess I'll just have to hope & wait and see :good:
TheInfiniteAndroid said:
Thank-you for this, I guess I'll just have to hope & wait and see :good:
Click to expand...
Click to collapse
Yes. I'm in the same situation.
Bill Power said:
Yes. I'm in the same situation.
Click to expand...
Click to collapse
I need global because I'll be using it as my daily driver when I go over to the US using Verizon, hopefully the ROM will come out soon
underlines said:
In the original Mi Mix Forum we had a one-in-all thread for all new users, so I try to continue it here.
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.
Click to expand...
Click to collapse
Hi,
Don't forget to add "How to install Google Apps", please.
Thanks
EDIT 1; NVM, found it under Chinese rom
EDIT 2: Gapps installation went flawlessly, many many thanks
TheInfiniteAndroid said:
I need global because I'll be using it as my daily driver when I go over to the US using Verizon, hopefully the ROM will come out soon
Click to expand...
Click to collapse
I suggest you to unlock it too. After ROM installation you can lock it again. It seems it will not be possible to flash with a locked bootloader even for an Official Rom.
Bill Power said:
I suggest you to unlock it too. After ROM installation you can lock it again. It seems it will not be possible to flash with a locked bootloader even for an Official Rom.
Click to expand...
Click to collapse
So unlock the bootloader, flash the global ROM, then relock the bootloader and all done?
TheInfiniteAndroid said:
So unlock the bootloader, flash the global ROM, then relock the bootloader and all done?
Click to expand...
Click to collapse
Yes. Now i'm waiting the sms message to finish the process. The OP has all the instructions for unlocking the bootloader if you need it.
Bill Power said:
Yes. Now i'm waiting the sms message to finish the process. The OP has all the instructions for unlocking the bootloader if you need it.
Click to expand...
Click to collapse
So just to sum up, when my Mix 2s comes with the Chinese ROM, I unlock, flash this, then I'm on Global official and can still receive OTA's etc?
TheInfiniteAndroid said:
So just to sum up, when my Mix 2s comes with the Chinese ROM, I unlock, flash this, then I'm on Global official and can still receive OTA's etc?
Click to expand...
Click to collapse
Yes but global rom OTAs of course
where did u find twrp for mix2s? 'cause I havn't found one on their website.
Change log 2018-05-09 04:38AM GMT
Code:
+ Added: Android P developer preview for Mi Mix 2S section
+ Added: Magisk section
- Removed: Xposed section
underlines said:
Change log 2018-05-09 04:38AM GMT
Code:
+ Added: Android P developer preview for Mi Mix 2S section
+ Added: Magisk section
- Removed: Xposed section
Click to expand...
Click to collapse
Thanks underlines. I'm stuck waiting for the sms message. How much time usually does take to receive it?

Cannot flash RN7Pro

Hi
I can't flash my redmi note 7 pro.
Bootloader is unlocked: I did the procedure, there is the unlocked logo at boot, and Dev options says "OEM unlock: device already unlocked".
I tried the Pixel Experience way, I ran the command "fastboot flash recovery" under Windows (opens a shell window that immediately closes) and under Linux (nothing happens), and I also tried the Xiaomi flash tool which ends up with a "cannot find the file flash all bat".
Would someone have any idea?
Thanks!!
pata2000 said:
Hi
I can't flash my redmi note 7 pro.
Bootloader is unlocked: I did the procedure, there is the unlocked logo at boot, and Dev options says "OEM unlock: device already unlocked".
I tried the Pixel Experience way, I ran the command "fastboot flash recovery" under Windows (opens a shell window that immediately closes) and under Linux (nothing happens), and I also tried the Xiaomi flash tool which ends up with a "cannot find the file flash all bat".
Would someone have any idea?
Thanks!!
Click to expand...
Click to collapse
Hello,
download platform-tools (ADB) zip and extract it.
download fastboot rom and extract it.
1) copy all the files from "violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in" (Total 12 items) folder into extracted platform tools folder.
2) boot device in Fastboot mode and connect it to pc.
3) now open cmd and check if device is detected by pc.
(use following command -> fastboot devices)
4) now close cmd.
5) now go to platform tools folder and double click on "flash_all.bat" file.
6) it will flash ur device with MIUI. DONE.
rasik107 said:
Hello,
download platform-tools (ADB) zip and extract it.
download fastboot rom and extract it.
1) copy all the files from "violet_in_global_images_V11.0.5.0.PFHINXM_20191022.0000.00_9.0_in" (Total 12 items) folder into extracted platform tools folder.
2) boot device in Fastboot mode and connect it to pc.
3) now open cmd and check if device is detected by pc.
(use following command -> fastboot devices)
4) now close cmd.
5) now go to platform tools folder and double click on "flash_all.bat" file.
6) it will flash ur device with MIUI. DONE.
Click to expand...
Click to collapse
Thanks a lot for your reply. I'll try that as soon as I have some time.
Just another question:
I am running MIUI Global 11.0.4.0 | Stable (PFGMIXM) at the moment. Which is not the same as you indicated (I believe yours is Indian version dated 22 Oct 2019).
This page does not include any Global rom: https://xiaomifirmwareupdater.com/archive/firmware/violet/
And the Global ROM available on MIUI website under the RN7Pro page (https://c.mi.com//miuidownload/detail?device=1700360) is noted "lavender" and not "violet" - and I do not want to risk installing the wrong firmware, I've read a few topics and it does not ends well.
So bottom line: which one should I work with?
thanks again!
pata2000 said:
Thanks a lot for your reply. I'll try that as soon as I have some time.
Just another question:
I am running MIUI Global 11.0.4.0 | Stable (PFGMIXM) at the moment. Which is not the same as you indicated (I believe yours is Indian version dated 22 Oct 2019).
This page does not include any Global rom: https://xiaomifirmwareupdater.com/archive/firmware/violet/
And the Global ROM available on MIUI website under the RN7Pro page (https://c.mi.com//miuidownload/detail?device=1700360) is noted "lavender" and not "violet" - and I do not want to risk installing the wrong firmware, I've read a few topics and it does not ends well.
So bottom line: which one should I work with?
thanks again!
Click to expand...
Click to collapse
No need to flash Firmware.
just download fastboot rom of your region and u r good to go.
rasik107 said:
No need to flash Firmware.
just download fastboot rom of your region and u r good to go.
Click to expand...
Click to collapse
OK, I've found 2 options:
This one here on XDA:
https://forum.xda-developers.com/redmi-note-7-pro/how-to/miui-11-public-beta-violet-t3973921
(dowloading the "Fastboot ROM V11.0.6.0")
But it is 11.0.6.0 while my phone is under 11.0.4.0: is this a problem?
This other one:
Note 7 Europe V11.0.4.0.PFGEUXM at: https://www.leakite.com/xiaomi-redmi-note-7-pro-firmware-fastboot-recovery-rom/
It's not exactly the same code (PFGEUXM instead of PFGMIXM), I don't know if it makes any difference?
Sorry for keeping asking question, but I'd better be safe since I am very new to this kind of things...
and thanks a lot for your help and patience.
pata2000 said:
OK, I've found 2 options:
This one here on XDA:
https://forum.xda-developers.com/redmi-note-7-pro/how-to/miui-11-public-beta-violet-t3973921
(dowloading the "Fastboot ROM V11.0.6.0")
But it is 11.0.6.0 while my phone is under 11.0.4.0: is this a problem?
This other one:
Note 7 Europe V11.0.4.0.PFGEUXM at: https://www.leakite.com/xiaomi-redmi-note-7-pro-firmware-fastboot-recovery-rom/
It's not exactly the same code (PFGEUXM instead of PFGMIXM), I don't know if it makes any difference?
Sorry for keeping asking question, but I'd better be safe since I am very new to this kind of things...
and thanks a lot for your help and patience.
Click to expand...
Click to collapse
https://forum.xda-developers.com/redmi-note-7-pro/how-to/miui-11-public-beta-violet-t3973921
this one looks fine.
but make sure it is a fastboot file (.tgz) :good:
rasik107 said:
https://forum.xda-developers.com/redmi-note-7-pro/how-to/miui-11-public-beta-violet-t3973921
this one looks fine.
but make sure it is a fastboot file (.tgz) :good:
Click to expand...
Click to collapse
HI again
it still won't flash no matter what.
I'll deal with it
the reason I wanted to flash was essentially to remove all non necessarry stuff, which I did by following the "remove bloatware" thread.
thanks anyway
pata2000 said:
HI again
it still won't flash no matter what.
I'll deal with it
the reason I wanted to flash was essentially to remove all non necessarry stuff, which I did by following the "remove bloatware" thread.
thanks anyway
Click to expand...
Click to collapse
flash aosp recovery, then adb sideload PE rom
Srikanth0721 said:
flash aosp recovery, then adb sideload PE rom
Click to expand...
Click to collapse
Thanks!
Based on PE instructions (https://telegra.ph/Flashing-PE-for-the-first-time-using-the-AOSP-Recovery--Or-updating-12-06) and if I understand properly:
- I download the firmware and Aosp recovery
- I enter in fastboot and connect the phone to PC, then I type fastboot flash recovery.img (in folder Download+Recovery)
- Then reboot into the new recovery
- Then Tap the power + vol up(2 times vol up) together once or twice and the AOSP recovery menu will pop up
- I then type adb sideload NameofthePErom.zip
- Then: Use the volume keys to select Factory Reset and confirm. ( If you want to format data if not just ignore this part )
- Reboot!
Am I correct?
I'll give it a try even though I don't understand why flashing aosp would work when flashing other stuff didn't... But who knows!
Will let you guys know anyway.
pata2000 said:
Thanks!
Based on PE instructions (https://telegra.ph/Flashing-PE-for-the-first-time-using-the-AOSP-Recovery--Or-updating-12-06) and if I understand properly:
- I download the firmware and Aosp recovery
- I enter in fastboot and connect the phone to PC, then I type fastboot flash recovery.img (in folder Download+Recovery)
- Then reboot into the new recovery
- Then Tap the power + vol up(2 times vol up) together once or twice and the AOSP recovery menu will pop up
- I then type adb sideload NameofthePErom.zip
- Then: Use the volume keys to select Factory Reset and confirm. ( If you want to format data if not just ignore this part )
- Reboot!
Am I correct?
I'll give it a try even though I don't understand why flashing aosp would work when flashing other stuff didn't... But who knows!
Will let you guys know anyway.
Click to expand...
Click to collapse
Also check the recovery in the extracted folder, I got a twrp recovery so I guess I have facee issues with flashme.bat (immediate close).
If u face that issue, download aosp recovery separately or from their telegram channel and flash using fastboot cmd and do the rest..
Srikanth0721 said:
Also check the recovery in the extracted folder, I got a twrp recovery so I guess I have facee issues with flashme.bat (immediate close).
If u face that issue, download aosp recovery separately or from their telegram channel and flash using fastboot cmd and do the rest..
Click to expand...
Click to collapse
well it would not work either. that is not a problem though, I'll survive with the MIUI rom!
thanks

[CLOSED][GUIDE] Unlock Bootloader, Install TWRP/Pitch black Recovery in Realme 5(RMX1911)

Code:
By Doing this, You may Void your warranty..
Neither Me nor XDA is Responsible for any Damage Caused for Your Mobile..
If you show Finger at me, I'll laugh at you..
Why there is need for this Guide?
When I got my Realme 5, I wanted to Unlock the Bootloader, Install the TWRP Recovery, root it and finally Install a Custom ROM. So, I've Searched for it and Finally Disappointed B'coz many Guides were wrong and some were Very Old and Outdated Guides.. So I've Researched and now with many problems, Finally I've Unlocked the Bootloader, installed TWRP and finally Flashed LineageOS 17.1.. So, this Guide saves your time, I've Included the Steps What I did, you guys can simply follow it..
This Guide is only applicable for Realme 5(rmx1911) and not for Realme 5i, Realme 5s or Realme 5 Pro..
Click to expand...
Click to collapse
Things You need to Continue :
A Windows Laptop/PC (Windows because, I am showing the Procedure with Windows)
Minimal ADB and FastBoot
Recovery (I've flashed PitchBlack Recovery, but you can also do this procedure with TWRP recovery)
Of course a Realme5 (rmx1911)
In-Depth Test apk
All the Download Links of above files are in Attachments..
Click to expand...
Click to collapse
Procedure :
Steps to Downgrade from RealmeUI 1 to ColorOS 6
If you're in Latest android 10 RealmeUI, first you need to downgrade to ColorOS 6 android pie.
To do so, download ColorOS package(.ozip package) from below link.
Open this .ozip package with File Manager app and Locate this package.
Click on that package, A pop-up will appear, In that Select "Upgrade Now" or something like that..
It will wipe your data and It will boot into ColorOS setup, Complete the Setup..
Users who are in ColorOS 6, need not to follow above Steps!
Click to expand...
Click to collapse
Steps to Unlock Bootloader:
Enable developer options in settings and enable OEM Unlocking, USB Debugging from Developer Options from Settings.
Download and Install In-Depth apk from attachments.
Open it and Click on Start Applying.
After 20min Open app and click on "Query Verification Status" .(if you dont see like this wait for some moretime, maximum it will take upto 24hours only)
If you see something like "Review Successful", You are good to go..
Select "Start the in-depth test", You will be forwarded to fast boot mode..
Connect the mobile to PC.
Now comes the role of PC/Laptop, Download the Fastboot and Minimal ADB, Recovery.img and vbmeta.img From the attachments.
Extract that fastboot zip in some Directory, Copy the recovery.img and vbmeta.img to the fastboot folder.
Open the Minimal ADB and Fastboot and in that open "cmd-here.exe"
Type "fastboot devices", then enter, You should see something like serial number.
Type "fastboot flashing unlock", then enter, now check ur phone you will see something like "Unlock" or similar to something..
You need to select the Unlock with the help of volume button and select with power button.
After Selecting "Unlock" all data will be deleted and Your Phone will be unlocked..
HURRAY, YOUR PHONE IS UNLOCKED
Installing Pitchblack Recovery :
After Unlocking Phone all the Data will be deleted, complete the setup wizard and enable USB Debugging.
Connect the Phone to PC via USB.
Open ADB Fastboot folder and select "cmd-here.exe".
Type "adb devices" you should see something like Serial Number.(If you did not see, re-insert the phone cable to another port and check)
Type "adb reboot fastboot", You will be forwarded to Fastboot mode.
Type "fastboot flash recovery recovery.img"
Type "fastboot flash vbmeta vbmeta.img"
Disconnect the Mobile from PC, then click on Volume down Button Until you get Something Like "Recovery" and Select using Power Button.
HURRAY! YOU'VE INSTALLED RECOVERY
IF YOU WANT TO ROOT YOUR DEVICE, DOWNLOAD MAGISK AND INSTALL IT FROM RECOVERY
Click to expand...
Click to collapse
IF YOU WANT TO GO TO RECOVERY AGAIN JUST BOOT INTO FASTBOOT(Power-off Your device, click on volume down button and power button simultaneously, within few seconds you will boot into fastboot) THEN CLICK ON VOL- BUTTON UNTIL YOU GET RECOVERY OPTION, THEN SELECT IT USING POWER BUTTON
Click to expand...
Click to collapse
You've Unlocked BL, flashed RECOVERY, Installed Magisk, Now what? Go and Search for your Favourite ROMs and flash them
Realme 5 Downgrade package link
{Mod edit}
triplr_dev_users
Test forum for ROM Builders !
All roms Welcome, All devices welcome!
Samsung Note 3,4 Qualcomm and exynos 5433
Galaxy Tab S2
Realme 5(rmx1991)
All things RPi 4 Family
An open discussion on Tech, Dev and Life
Welcome .
Rule 1. Have fun
Rule 2. Be nice
{Mod edit}
Reserved
supper sir i have very usefull i have flashed a lineage 17.1
with ur guide and i have unlocked boot lodder also thank u very much well done sir
Sensui--moksha said:
supper sir i have very usefull i have flashed a lineage 17.1
Click to expand...
Click to collapse
Glad, this helped!!
Why happend like this in depth test ?
Bebe's said:
Why happend like this in depth test ?
Click to expand...
Click to collapse
Sorry for the delay bro, I think you can't unlock the bootloader of Your Phone, bcoz it is not directly from the realme, I mean the phone which u bought is customized by your sim(carrier) company
Hello. The Downgrade file is not in the attachments thanks
nezuxiv said:
Hello. The Downgrade file is not in the attachments thanks
Click to expand...
Click to collapse
dude I have updated the post with the link to downgrade package, by the way thanks for informing
bro by installing pictblack recovery my phone got in a recovery bootloop and internal storgae is not showing ay files help pls
smarty7880 said:
bro by installing pictblack recovery my phone got in a recovery bootloop and internal storgae is not showing ay files help pls
Click to expand...
Click to collapse
Did you flash vbmeta.img ?
does the downgrade firmware supports realme in philippines ? thank you so much sir.
I am at color os v7 I also need to downgrade fast reply will be appreciated
Dar_shan_11 said:
I am at color os v7 I also need to downgrade fast reply will be appreciated
Click to expand...
Click to collapse
Yes, You need to downgrade...
I unlocked my bootloader ..than I installed recovery and after than I installed vbmeta.img
After that I tried to install Havoc Os.
Now I'm stuck at bootloop, can you help me
I must be blind but I can't find the downgrade file in your attachments...
(Edit) Never mind, it's not in the attachments. ^^;
Is there any guide to do it on realms UI?
i have RMX1911ex_11_A.31.
i should follow steps from Unlock Bootloader
correct?
It dœsn't work: my phone just comes back to the fastboot…

Categories

Resources