Unlock Bootloader Application & Tutorial for Realme 2 Pro - Realme 2 pro Guides, News, & Discussion

This post was originally written and posted by Alessio from Realme forums
Hello Realme Fans
Here's how to unlock the bootloader (called in-depth test in the tutorial) on your Realme 2 Pro.
First, please read the “Disclaimer” carefully
【Disclaimer】
1. After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed
2. The in-depth test may have unforeseeable impacts on your phone
3. Some functions may not operate properly because of third-party firmware, such as the photo-taking function of the camera. It may also cause device damage
4. Personal and confidential information on the phone may leak, and security compromised
5. The in-depth test may modify some of the system functions, and prevent you from updating the system version to enjoy the latest ColorOS
Second, read the steps below for the in-depth test
Preparation:
Realme 2 Pro - with 60%+ battery
1 x USB Cable
1 x PC/Mac
Step 1. Make sure you have backed up your data, unlocking your phone will erase all of your data
Step 2. Make sure your system version is the official and latest one
Step 3. Provide IMEI and sign up for the in-depth test via the link shared at the bottom of this post. The information will be reviewed by our staff, and the review will take approx 1-7 days. If your smartphone model and version are approved, you will receive an OTA package that supports the in-depth test. Install the OTA.
Step 4. Download and install the unlock tool apk on your phone:
https://download.c.realme.com/osupdate/DeepTesting_realme-release_signed.apk
Install it to apply for the bootloader unlock via the tool.
Step 5. Detailed steps to unlock the bootloader
#1. Open unlock tool.
{
"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"
}
#2. Click “Start applying”.
#3. Please read the disclaimer in detail, select the checkbox, and submit your application.
#4. The application will be checked by our server.
#5. Within approximately 1 hour, the unlock tool apk will show the status of unlocking - if it shows the unlocking is successful, please proceed to the following step.
#6. You can now click “Start the in-depth test” and press and hold the power key to reboot the device. You will then enter the fastboot mode.
#7. Download and install the fastboot tool on your PC or Mac (check this https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/), use a cable to connect phone and PC. In the Fastboot mode use the engineering command in the picture below to unlock.
#8. On your phone press the volume key to select “Unlock The Bootloader” and press the power key to confirm. The phone will reboot and enter in-depth test mode - all the user data on the phone will be cleared. We recommend you perform a data backup prior to applying
Bootloader appllication form link for the Realme 2 Pro:
https://goo.gl/forms/vDfXHNNt31j8ad5o1
FAQ
Q1: How to relock the bootloader?
#1. Download the unlock tool again to apply to exit in-depth test.
#2. Click “Apply to exit in-depth test” and press and hold the power key to reboot the device, and then you will enter the fastboot mode.
#3. In the Fastboot mode, use the engineering command below on your PC to re-lock the bootloader.
#4. Press the volume button to select the “Lock The Bootloader” option, and press the power key to confirm. The phone will reboot and exit the in-depth test mode, and clear all user data in the phone. We recommend that you perform a data backup prior to applying.
Q2: Are there any risks after unlocking the bootloader?
-> Please be aware that Realme cannot guarantee the full functionality, and will not be responsible, for any third-party unsigned custom ROM being flashed to your device after the bootloader is unlocked. An unsigned third-party custom ROM may not have gone through the thorough tests that we run for each device and software version that we release.
-> A third-party custom ROM may not work properly on your device, and certain functions and services may cease to work. The performance and device data may also be affected, and may damage the device permanently. In the worst case, unlocking the bootloader will cause physical injuries or material damage, for ex. due to the device overheating.
Q3: Will it affect future OTAs after unlocking?
The secure user data partition may also become inaccessible, and you will not be able to get any official software upgrades if you unlock the bootloader. Once re-locked the bootloader, users will receive official OTAs again.
Q4: Will it affect warranty?
Warranty will be fully applied to problems caused by Realme 2 Pro unlocking or flashing a custom ROM.
Q5: How to flash back the official ROM after installing a custom ROM?
Users need to go to a service center to flash the device - FREE of charge. We are developing a tool to flash a stock ColorOS. It will come in Q2 2019.
Q6: When other devices can get bootloader unlock?
Realme 1 will get bootloader unlock in Feb. Other devices are being
Q7: Where are the kernel sources?
https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Link to original post https://c.realme.com/in/post-details/1085078965883764736

Hello,
I have done the whole process as described.
BUT when I enter this command - fastboot flashing unlock
nothing happens.... it just list down all the usage functions of fastboot and nothing else...
please help.
Has anyone successfully unlocked it yet ?
---------- Post added at 01:12 PM ---------- Previous post was at 01:03 PM ----------
mustali said:
Hello,
I have done the whole process as described.
BUT when I enter this command - fastboot flashing unlock
nothing happens.... it just list down all the usage functions of fastboot and nothing else...
please help.
Has anyone successfully unlocked it yet ?
Click to expand...
Click to collapse
SOLVED !!
for those ppl facing this problem use following command
./fastboot flashing unlock
just add ./ before fastboot

application hang on this since 6 hours..any solution ?

Bayramm said:
application hang on this since 6 hours..any solution ?
Click to expand...
Click to collapse
Follow these steps :
1) Exit the application
2) Start the application again
3) Click on "Query Verification Status"
That's it. It will show if the review is successful or is it still pending.
*i had the same issue. did the above steps and my review was successful*

Sumesh Kharnotia said:
Follow these steps :
1) Exit the application
2) Start the application again
3) Click on "Query Activation Status"
That's it. It will show if the review is successful or is it still pending.
*i had the same issue. did the above steps and my review was successful*
Click to expand...
Click to collapse
thank you,its done.

Facing this issue of write to device failed too many links. Any solutions guys?

You lazy liar
I am in vietnam and had sign up my phone imei last week Thursday (22nd Feb) but until now (1st March) i HAVEN'T receive any f***ing OTA for the unlock, do you know how excited i am thinking i finally can root my phone? Coloros rmx1807_11_a15 imei:862822042098610 give me the damn OTA now!!!!!!!!!

snipereye said:
Follow these steps :
1) Exit the application
2) Start the application again
3) Click on "Query Verification Status"
That's it. It will show if the review is successful or is it still pending.
*i had the same issue. did the above steps and my review was successful*
Click to expand...
Click to collapse
you are great!
Thank you Mate

hari2897 said:
This post was originally written and posted by Alessio from Realme forums
Hello Realme Fans
Here's how to unlock the bootloader (called in-depth test in the tutorial) on your Realme 2 Pro.
First, please read the “Disclaimer” carefully
【Disclaimer】
1. After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed
2. The in-depth test may have unforeseeable impacts on your phone
3. Some functions may not operate properly because of third-party firmware, such as the photo-taking function of the camera. It may also cause device damage
4. Personal and confidential information on the phone may leak, and security compromised
5. The in-depth test may modify some of the system functions, and prevent you from updating the system version to enjoy the latest ColorOS
Second, read the steps below for the in-depth test
Preparation:
Realme 2 Pro - with 60%+ battery
1 x USB Cable
1 x PC/Mac
Step 1. Make sure you have backed up your data, unlocking your phone will erase all of your data
Step 2. Make sure your system version is the official and latest one
Step 3. Provide IMEI and sign up for the in-depth test via the link shared at the bottom of this post. The information will be reviewed by our staff, and the review will take approx 1-7 days. If your smartphone model and version are approved, you will receive an OTA package that supports the in-depth test. Install the OTA.
Step 4. Download and install the unlock tool apk on your phone:
https://download.c.realme.com/osupdate/DeepTesting_realme-release_signed.apk
Install it to apply for the bootloader unlock via the tool.
Step 5. Detailed steps to unlock the bootloader
#1. Open unlock tool.
#2. Click “Start applying”.
#3. Please read the disclaimer in detail, select the checkbox, and submit your application.
#4. The application will be checked by our server.
#5. Within approximately 1 hour, the unlock tool apk will show the status of unlocking - if it shows the unlocking is successful, please proceed to the following step.
#6. You can now click “Start the in-depth test” and press and hold the power key to reboot the device. You will then enter the fastboot mode.
#7. Download and install the fastboot tool on your PC or Mac (check this https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/), use a cable to connect phone and PC. In the Fastboot mode use the engineering command in the picture below to unlock.
#8. On your phone press the volume key to select “Unlock The Bootloader” and press the power key to confirm. The phone will reboot and enter in-depth test mode - all the user data on the phone will be cleared. We recommend you perform a data backup prior to applying
Bootloader appllication form link for the Realme 2 Pro:
https://goo.gl/forms/vDfXHNNt31j8ad5o1
FAQ
Q1: How to relock the bootloader?
#1. Download the unlock tool again to apply to exit in-depth test.
#2. Click “Apply to exit in-depth test” and press and hold the power key to reboot the device, and then you will enter the fastboot mode.
#3. In the Fastboot mode, use the engineering command below on your PC to re-lock the bootloader.
#4. Press the volume button to select the “Lock The Bootloader” option, and press the power key to confirm. The phone will reboot and exit the in-depth test mode, and clear all user data in the phone. We recommend that you perform a data backup prior to applying.
Q2: Are there any risks after unlocking the bootloader?
-> Please be aware that Realme cannot guarantee the full functionality, and will not be responsible, for any third-party unsigned custom ROM being flashed to your device after the bootloader is unlocked. An unsigned third-party custom ROM may not have gone through the thorough tests that we run for each device and software version that we release.
-> A third-party custom ROM may not work properly on your device, and certain functions and services may cease to work. The performance and device data may also be affected, and may damage the device permanently. In the worst case, unlocking the bootloader will cause physical injuries or material damage, for ex. due to the device overheating.
Q3: Will it affect future OTAs after unlocking?
The secure user data partition may also become inaccessible, and you will not be able to get any official software upgrades if you unlock the bootloader. Once re-locked the bootloader, users will receive official OTAs again.
Q4: Will it affect warranty?
Warranty will be fully applied to problems caused by Realme 2 Pro unlocking or flashing a custom ROM.
Q5: How to flash back the official ROM after installing a custom ROM?
Users need to go to a service center to flash the device - FREE of charge. We are developing a tool to flash a stock ColorOS. It will come in Q2 2019.
Q6: When other devices can get bootloader unlock?
Realme 1 will get bootloader unlock in Feb. Other devices are being
Q7: Where are the kernel sources?
https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Link to original post https://c.realme.com/in/post-details/1085078965883764736
Click to expand...
Click to collapse
is that void guarantee?

I got stuck on Waiting for device.. nothing happens

worked like a charm. thanks!

FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed

CMD says Waiting for any device and nothing happens
I have done the whole process as described.
BUT when I enter this command - fastboot flashing unlock or ./fastboot flashing unlock
It says Waiting for any device and nothing happens
What mistake i'm doing
Please someone help me
Thank you very much in advance

RMX1807 unable to unlock bootloader
hari2897 said:
This post was originally written and posted by Alessio from Realme forums
Hello Realme Fans
Here's how to unlock the bootloader (called in-depth test in the tutorial) on your Realme 2 Pro.
First, please read the “Disclaimer” carefully
【Disclaimer】
1. After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed
2. The in-depth test may have unforeseeable impacts on your phone
3. Some functions may not operate properly because of third-party firmware, such as the photo-taking function of the camera. It may also cause device damage
4. Personal and confidential information on the phone may leak, and security compromised
5. The in-depth test may modify some of the system functions, and prevent you from updating the system version to enjoy the latest ColorOS
Second, read the steps below for the in-depth test
Preparation:
Realme 2 Pro - with 60%+ battery
1 x USB Cable
1 x PC/Mac
Step 1. Make sure you have backed up your data, unlocking your phone will erase all of your data
Step 2. Make sure your system version is the official and latest one
Step 3. Provide IMEI and sign up for the in-depth test via the link shared at the bottom of this post. The information will be reviewed by our staff, and the review will take approx 1-7 days. If your smartphone model and version are approved, you will receive an OTA package that supports the in-depth test. Install the OTA.
Step 4. Download and install the unlock tool apk on your phone:
https://download.c.realme.com/osupdate/DeepTesting_realme-release_signed.apk
Install it to apply for the bootloader unlock via the tool.
Step 5. Detailed steps to unlock the bootloader
#1. Open unlock tool.
#2. Click “Start applying”.
#3. Please read the disclaimer in detail, select the checkbox, and submit your application.
#4. The application will be checked by our server.
#5. Within approximately 1 hour, the unlock tool apk will show the status of unlocking - if it shows the unlocking is successful, please proceed to the following step.
#6. You can now click “Start the in-depth test” and press and hold the power key to reboot the device. You will then enter the fastboot mode.
#7. Download and install the fastboot tool on your PC or Mac (check this https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/), use a cable to connect phone and PC. In the Fastboot mode use the engineering command in the picture below to unlock.
#8. On your phone press the volume key to select “Unlock The Bootloader” and press the power key to confirm. The phone will reboot and enter in-depth test mode - all the user data on the phone will be cleared. We recommend you perform a data backup prior to applying
Bootloader appllication form link for the Realme 2 Pro:
https://goo.gl/forms/vDfXHNNt31j8ad5o1
FAQ
Q1: How to relock the bootloader?
#1. Download the unlock tool again to apply to exit in-depth test.
#2. Click “Apply to exit in-depth test” and press and hold the power key to reboot the device, and then you will enter the fastboot mode.
#3. In the Fastboot mode, use the engineering command below on your PC to re-lock the bootloader.
#4. Press the volume button to select the “Lock The Bootloader” option, and press the power key to confirm. The phone will reboot and exit the in-depth test mode, and clear all user data in the phone. We recommend that you perform a data backup prior to applying.
Q2: Are there any risks after unlocking the bootloader?
-> Please be aware that Realme cannot guarantee the full functionality, and will not be responsible, for any third-party unsigned custom ROM being flashed to your device after the bootloader is unlocked. An unsigned third-party custom ROM may not have gone through the thorough tests that we run for each device and software version that we release.
-> A third-party custom ROM may not work properly on your device, and certain functions and services may cease to work. The performance and device data may also be affected, and may damage the device permanently. In the worst case, unlocking the bootloader will cause physical injuries or material damage, for ex. due to the device overheating.
Q3: Will it affect future OTAs after unlocking?
The secure user data partition may also become inaccessible, and you will not be able to get any official software upgrades if you unlock the bootloader. Once re-locked the bootloader, users will receive official OTAs again.
Q4: Will it affect warranty?
Warranty will be fully applied to problems caused by Realme 2 Pro unlocking or flashing a custom ROM.
Q5: How to flash back the official ROM after installing a custom ROM?
Users need to go to a service center to flash the device - FREE of charge. We are developing a tool to flash a stock ColorOS. It will come in Q2 2019.
Q6: When other devices can get bootloader unlock?
Realme 1 will get bootloader unlock in Feb. Other devices are being
Q7: Where are the kernel sources?
https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Link to original post https://c.realme.com/in/post-details/1085078965883764736
Click to expand...
Click to collapse
i got this issue while trying to unlock the bootloader
(C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flashing unlock
...
FAILED (command write failed (No error))
finished. total time: 0.002s)
please help me on this
thanks

stuck in fastboot
all command's are working and i m in fastboot mode but it's option are keep changing and not selectable. i got the command to unlock bootloader in my phone but i can't click in unlock bootloader it's keep moving to both option. please help asap thankyou....

hari2897 said:
This post was originally written and posted by Alessio from Realme forums
Hello Realme Fans
Here's how to unlock the bootloader (called in-depth test in the tutorial) on your Realme 2 Pro.
First, please read the “Disclaimer” carefully
【Disclaimer】
1. After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed
2. The in-depth test may have unforeseeable impacts on your phone
3. Some functions may not operate properly because of third-party firmware, such as the photo-taking function of the camera. It may also cause device damage
4. Personal and confidential information on the phone may leak, and security compromised
5. The in-depth test may modify some of the system functions, and prevent you from updating the system version to enjoy the latest ColorOS
Second, read the steps below for the in-depth test
Preparation:
Realme 2 Pro - with 60%+ battery
1 x USB Cable
1 x PC/Mac
Step 1. Make sure you have backed up your data, unlocking your phone will erase all of your data
Step 2. Make sure your system version is the official and latest one
Step 3. Provide IMEI and sign up for the in-depth test via the link shared at the bottom of this post. The information will be reviewed by our staff, and the review will take approx 1-7 days. If your smartphone model and version are approved, you will receive an OTA package that supports the in-depth test. Install the OTA.
Step 4. Download and install the unlock tool apk on your phone:
https://download.c.realme.com/osupdate/DeepTesting_realme-release_signed.apk
Install it to apply for the bootloader unlock via the tool.
Step 5. Detailed steps to unlock the bootloader
#1. Open unlock tool.
#2. Click “Start applying”.
#3. Please read the disclaimer in detail, select the checkbox, and submit your application.
#4. The application will be checked by our server.
#5. Within approximately 1 hour, the unlock tool apk will show the status of unlocking - if it shows the unlocking is successful, please proceed to the following step.
#6. You can now click “Start the in-depth test” and press and hold the power key to reboot the device. You will then enter the fastboot mode.
#7. Download and install the fastboot tool on your PC or Mac (check this https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/), use a cable to connect phone and PC. In the Fastboot mode use the engineering command in the picture below to unlock.
#8. On your phone press the volume key to select “Unlock The Bootloader” and press the power key to confirm. The phone will reboot and enter in-depth test mode - all the user data on the phone will be cleared. We recommend you perform a data backup prior to applying
Bootloader appllication form link for the Realme 2 Pro:
https://goo.gl/forms/vDfXHNNt31j8ad5o1
FAQ
Q1: How to relock the bootloader?
#1. Download the unlock tool again to apply to exit in-depth test.
#2. Click “Apply to exit in-depth test” and press and hold the power key to reboot the device, and then you will enter the fastboot mode.
#3. In the Fastboot mode, use the engineering command below on your PC to re-lock the bootloader.
#4. Press the volume button to select the “Lock The Bootloader” option, and press the power key to confirm. The phone will reboot and exit the in-depth test mode, and clear all user data in the phone. We recommend that you perform a data backup prior to applying.
Q2: Are there any risks after unlocking the bootloader?
-> Please be aware that Realme cannot guarantee the full functionality, and will not be responsible, for any third-party unsigned custom ROM being flashed to your device after the bootloader is unlocked. An unsigned third-party custom ROM may not have gone through the thorough tests that we run for each device and software version that we release.
-> A third-party custom ROM may not work properly on your device, and certain functions and services may cease to work. The performance and device data may also be affected, and may damage the device permanently. In the worst case, unlocking the bootloader will cause physical injuries or material damage, for ex. due to the device overheating.
Q3: Will it affect future OTAs after unlocking?
The secure user data partition may also become inaccessible, and you will not be able to get any official software upgrades if you unlock the bootloader. Once re-locked the bootloader, users will receive official OTAs again.
Q4: Will it affect warranty?
Warranty will be fully applied to problems caused by Realme 2 Pro unlocking or flashing a custom ROM.
Q5: How to flash back the official ROM after installing a custom ROM?
Users need to go to a service center to flash the device - FREE of charge. We are developing a tool to flash a stock ColorOS. It will come in Q2 2019.
Q6: When other devices can get bootloader unlock?
Realme 1 will get bootloader unlock in Feb. Other devices are being
Q7: Where are the kernel sources?
https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Link to original post https://c.realme.com/in/post-details/1085078965883764736
Click to expand...
Click to collapse
Hiii is there any way to unlock bootloader in realme ui...

Is it possible to unlock bootloader from android 10?
santor said:
worked like a charm. thanks!
Click to expand...
Click to collapse
Is that possible to unlock bootloader while on stock realme2 pro rom(droid 10)..

babu.123 said:
i got this issue while trying to unlock the bootloader
(C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flashing unlock
...
FAILED (command write failed (No error))
finished. total time: 0.002s)
please help me on this
thanks
Click to expand...
Click to collapse
This is the thing that keep happening to me as well. I'm on Realme UI v.1
Please let me know what is happening anyone who knows. Thanks.

Can't enter to FASTBOOT
hari2897 said:
This post was originally written and posted by Alessio from Realme forums
Hello Realme Fans
Here's how to unlock the bootloader (called in-depth test in the tutorial) on your Realme 2 Pro.
First, please read the “Disclaimer” carefully
【Disclaimer】
1. After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed
2. The in-depth test may have unforeseeable impacts on your phone
3. Some functions may not operate properly because of third-party firmware, such as the photo-taking function of the camera. It may also cause device damage
4. Personal and confidential information on the phone may leak, and security compromised
5. The in-depth test may modify some of the system functions, and prevent you from updating the system version to enjoy the latest ColorOS
Second, read the steps below for the in-depth test
Preparation:
Realme 2 Pro - with 60%+ battery
1 x USB Cable
1 x PC/Mac
Step 1. Make sure you have backed up your data, unlocking your phone will erase all of your data
Step 2. Make sure your system version is the official and latest one
Step 3. Provide IMEI and sign up for the in-depth test via the link shared at the bottom of this post. The information will be reviewed by our staff, and the review will take approx 1-7 days. If your smartphone model and version are approved, you will receive an OTA package that supports the in-depth test. Install the OTA.
Step 4. Download and install the unlock tool apk on your phone:
https://download.c.realme.com/osupdate/DeepTesting_realme-release_signed.apk
Install it to apply for the bootloader unlock via the tool.
Step 5. Detailed steps to unlock the bootloader
#1. Open unlock tool.
#2. Click “Start applying”.
#3. Please read the disclaimer in detail, select the checkbox, and submit your application.
#4. The application will be checked by our server.
#5. Within approximately 1 hour, the unlock tool apk will show the status of unlocking - if it shows the unlocking is successful, please proceed to the following step.
#6. You can now click “Start the in-depth test” and press and hold the power key to reboot the device. You will then enter the fastboot mode.
#7. Download and install the fastboot tool on your PC or Mac (check this https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/), use a cable to connect phone and PC. In the Fastboot mode use the engineering command in the picture below to unlock.
#8. On your phone press the volume key to select “Unlock The Bootloader” and press the power key to confirm. The phone will reboot and enter in-depth test mode - all the user data on the phone will be cleared. We recommend you perform a data backup prior to applying
Bootloader appllication form link for the Realme 2 Pro:
https://goo.gl/forms/vDfXHNNt31j8ad5o1
FAQ
Q1: How to relock the bootloader?
#1. Download the unlock tool again to apply to exit in-depth test.
#2. Click “Apply to exit in-depth test” and press and hold the power key to reboot the device, and then you will enter the fastboot mode.
#3. In the Fastboot mode, use the engineering command below on your PC to re-lock the bootloader.
#4. Press the volume button to select the “Lock The Bootloader” option, and press the power key to confirm. The phone will reboot and exit the in-depth test mode, and clear all user data in the phone. We recommend that you perform a data backup prior to applying.
Q2: Are there any risks after unlocking the bootloader?
-> Please be aware that Realme cannot guarantee the full functionality, and will not be responsible, for any third-party unsigned custom ROM being flashed to your device after the bootloader is unlocked. An unsigned third-party custom ROM may not have gone through the thorough tests that we run for each device and software version that we release.
-> A third-party custom ROM may not work properly on your device, and certain functions and services may cease to work. The performance and device data may also be affected, and may damage the device permanently. In the worst case, unlocking the bootloader will cause physical injuries or material damage, for ex. due to the device overheating.
Q3: Will it affect future OTAs after unlocking?
The secure user data partition may also become inaccessible, and you will not be able to get any official software upgrades if you unlock the bootloader. Once re-locked the bootloader, users will receive official OTAs again.
Q4: Will it affect warranty?
Warranty will be fully applied to problems caused by Realme 2 Pro unlocking or flashing a custom ROM.
Q5: How to flash back the official ROM after installing a custom ROM?
Users need to go to a service center to flash the device - FREE of charge. We are developing a tool to flash a stock ColorOS. It will come in Q2 2019.
Q6: When other devices can get bootloader unlock?
Realme 1 will get bootloader unlock in Feb. Other devices are being
Q7: Where are the kernel sources?
https://github.com/sirwhanq/Realme-2-Pro-8.1-kernel-source
Link to original post https://c.realme.com/in/post-details/1085078965883764736
Click to expand...
Click to collapse
At step #6. My phone is reboot and show a message in black sreen " Oppo Verify Pass - fastboot unlock_verify ok". I can't enter to Fastboot mode.
Please help me resolve this problem!!!

hari2897 said:
Bootloader appllication form link for the Realme 2 Pro:
https://goo.gl/forms/vDfXHNNt31j8ad5o1
Click to expand...
Click to collapse
Is this link still valid? I'm still waiting to see any updates after filling it up. The Google form link isn't provided at the original source for the write-up.
Hollow192 said:
You lazy liar
I am in vietnam and had sign up my phone imei last week Thursday (22nd Feb) but until now (1st March) i HAVEN'T receive any f***ing OTA for the unlock, do you know how excited i am thinking i finally can root my phone? Coloros rmx1807_11_a15 imei:862822042098610 give me the damn OTA now!!!!!!!!!
Click to expand...
Click to collapse
Well, I guess that answers my questions partially. Hope you guys followed up on this users request.

Related

Verify Modified Vendor image works for Realme 3 [Tester Required]

Note: Testing is already done by haditriw, please ignore the below message, this is just for future reference
These tests are for noobs, so that they can contribute to the development of Realme 3.
I have made these tests very easy to execute, you just have to connect the phone and double click the file to run the test automatically.
The reason why I am not doing these tests is because, a single hard brick stops the development for this phone for 2-3 weeks, as I have to give my phone to service center and wait for the phone to be returned back. I hope that people are ready to take the risk and do the testing, instead of just questioning about why there is no magisk or twrp for this phone.
----------------------------------------------------------------------------------------------------------------------------------------------
Test ID: 1
Test Name: Verify modified vendor image works for Realme 3
Test Description: This test will help me to know, that vendor image can be modified and in turn will help in TWRP development for this phone.
Pre-conditions:
1. Bootloader unlocked, if not yet unlock, please refer: https://forum.xda-developers.com/realme-3/how-to/bootloader-unlock-realme-3guide-t3920394
2. Windows PC/Laptop
Test Steps:
1. Download and extract the Flash_Vendor_A16_Realme3.7z from here:
2. Power off your phone
3. Press volume down + power button together for some time, your phone will now boot in Fastboot mode.
4. Connect the phone to windows pc/laptop.
5. Go inside the Flash_Vendor_A16_Realme3 Folder and double click Flash_Modified_Vendor_A16.bat to run the test.
Expected Result:
The phone should boot normally to the OS
Actual Result:
[This is required from tester, just post the result in this thread or you can also pm me]
Questions:
Q. How can I revert back to stock state after the test?
A. The tester can flash the stock vendor by double clicking Flash_Stock_Vendor_A16.bat
Q. My device got bricked, what should I do?
A. If it’s just bootloop, then flash the stock vendor by double clicking Flashstockvendor.bat. If it’s not powering on, then it means it got hard bricked, just go to your nearest service center and tell them that the phone is not working after software update and tell them that this is just software problem. They will flash the image back and give you within 2 weeks.
Test Designed by: Fawaz Ahmed
Test Designed Date: 26-Jun-19
Test File Link: https://www.androidfilehost.com/?fid=6006931924117903211
Testing done by @haditriw
Bugs lockscreen not worked!

[GUIDE] Bootloader Unlock, TWRP, ROOT, Back to Stock, UNBRICK and Fastboot Flash

UNLOCKING YOUR PHONE WILL ERASE ALL OF YOUR DATA, SO MAKE A BACKUP OF YOUR DATA TO EITHER PC OR EXTERNAL SD CARD.
Hi All, I'm summarizing all steps required for BL unlock, TWRP and rooting our Realme 5 Pro(tested with Indian variant).
I'm not the Owner of any file required in this guide. So credit goes to real developer/maintainer of these files/patches/mods.:fingers-crossed::fingers-crossed:
Unlocking: Follow below steps one by one. Updated for Realme UI too.
1. Download and install the unlock tool apk on your phone. download apk from below:
a. For Color Os-> Depth test file
b. For Realme Ui ->Depth test file
2. Follow the detailed steps below to unlock the bootloader.
a. Open unlock tool.
b. Click “Start applying”.
c. Please read the disclaimer in detail, select the checkbox, and submit your application.
d. The application will be checked by realme servers.
e. Within approximately 1 hour, the unlock tool apk will show the status of the unlock request - if it shows the unlocking is successful, please proceed to the following step.
f. You can now click “Start the in-depth test” and the device will reboot automatically.
3. Download the ADB tool and after extracting zip file open folder minimal_adb_fastboot in PC.
a. Click on file “cmd-here” to open command prompt (CMD) or you can manually open CMD by holding Shift key and Right-click on the screen to open command prompt window.
b. In CMD type- “fastboot devices” and press enter to verify that your device is being detected. If not, install ADB drivers first or reconnect your phone to a different port of PC then try again.
c. In CMD type- “fastboot oem unlock” and press enter to unlock the bootloader.
d. Now on phone, a message like in below image will appear. In phone select the "unlock the bootloader" menu by pressing the volume button down and then press the “power button” to finally unlock the bootloader of phone.
e. After pressing the power button your phone will boot into Color OS by wiping phone and bootloader is now unlocked.
Click to expand...
Click to collapse
TWRP(Recovery installing): Follow below steps one by one.
--- Very Imp **** take a complete backup of the phone just after booting into twrp using this guide ****
1. The bootloader of your phone must be unlocked.
2. Download TWRP and Vbmeta.img file and rename TWRP file to “twrp.img” and copy both files to folder “minimal_adb_fastboot”
3. Power off the phone then press and hold the VOLUME DOWN button with POWER button for 3 seconds and your phone will be booted into bootloader mode.
4. Click on file “cmd-here” in folder minimal_adb_fastboot to open the command prompt (CMD)
5. Follow step 3.b of Unlocking method to check that phone is connected with the PC properly.
6. In CMD type- “fastboot flash recovery twrp.img” to flash TWRP and wait for the confirmation screen/message.
7. Now in CMD type- "fastboot flash vbmeta vbmeta.img" to flash vbmeta file.
8. After flashing vbmeta, follow below final steps.
a. In phone press volume down button to select “Recovery mode”
b. Press the power button to boot in recovery.
c. A message “Unmodified System Partition” will appear and uncheck menu “Never Show……..” and Swipe to allow modification.
d. Make a backup of all partitions to an external sd card.
e. From twrp reboot to recovery first and then reboot to the system.
Click to expand...
Click to collapse
Rooting: Follow below steps one by one.
--- Very Imp ****TWRP must be installed in your phone otherwise follow the above steps to install TWRP****
1. Make a backup first using TWRP before proceeding to the next steps.
2. Download the latest Stable Magisk version and Stable Magisk Manager. Link to Magisk+Manager.
3. (You can skip this step if you are on RUI) Download Magisk fix and Redblink Patch(SystemUI) file.
4. Copy all 4 (2 files from step 2, if you are on RUI) files downloaded above to either external sd card or internal memory.
5. Power off the phone then press and hold the VOLUME DOWN button with POWER button for 3 seconds and your phone will be booted into bootloader mode.
6. Press the volume down button to select “Recovery Mode” and press the power button to boot in recovery.
7. Now follow below final steps:
a. In TWRP recovery navigate and Flash Magisk file.
b. (Skip this step if you are on RUI) Flash Magisk patch file and reboot phone to system.
c. (Skip this step if you are on RUI) To fix the red blinking issue(rooted warning) in status bar of phone, follow steps 6 and 7 of this guide and flash SystemUI patch file and reboot.
d. If Magisk manager is missing in the app drawer of your phone(rooted+magisk flashed) then install magisk manager file downloaded in step 3 of rooting method.
e. If Magisk manager showing core mode only then uncheck "magisk core only mode" in the setting of magisk and reboot your phone.
Click to expand...
Click to collapse
Back to Stock, UNBRICK and Fastboot Flash: Follow below steps one by one. INDIAN VARIANT ONLY
1. Follow this guide to flash stock Colour os again on a rooted stock os, any custom rom flashed phone and phone booting to recovery only.
2. Download fastboot firmware from here. Indian Variant only.
3. Download platform-tools from here and extract to drive in your PC.
4. Extract downloaded fastboot firmware zip file and copy all files to platform tool folder.
5. Download Vbmeta.img file and replace with existing Vbmeta.img in platform folder(where firmware was extracted).
6. Open CMD by holding Shift key and Right-click on the PC to open command prompt window.
7. Power off the phone then press and hold the VOLUME DOWN button with POWER button for 3 seconds and your phone will be booted into bootloader mode and Follow step 3.b of Unlocking method to check that phone is connected with the PC properly.
8. Execute below commands one by one.
fastboot -w && fastboot erase system
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash vendor vendor.img
fastboot flash vbmeta vbmeta.img
fastboot reboot
Now your phone is back to stock Color os again. Follow above TWRP and ROOT methods if you wants to root your stock os again.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
All In One Link to all files required above.
Credits:
@thesprintster & @BabluS for recovery and vbmeta.
@topjohnwu for magisk.
:good:Don't forget to Click Thank's, if this guide helps.:good:
{
"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"
}
Enviado desde mi RMX1971 mediante Tapatalk
4. Download Redblink Patch(SystemUI)
its for realme5pro? becouse the firmware only A09 and A11
SystemUI_Patched_A19.zip ???
have u ever flash it
pocepoke said:
4. Download Redblink Patch(SystemUI)
its for realme5pro? becouse the firmware only A09 and A11
SystemUI_Patched_A19.zip ???
have u ever flash it
Click to expand...
Click to collapse
Yes. I have tried all files in this guide for my Realme 5Pro Indian variant. No issues till now. I have manually upgraded my phone from A09 to A11 then tried all above steps.
Kaushikradhey said:
Yes. I have tried all files in this guide for my Realme 5Pro Indian variant. No issues till now. I have manually upgraded my phone from A09 to A11 then tried all above steps.
Click to expand...
Click to collapse
thx a lot,
i will tried upgrade to A11, couple days ago there isnt any upgrade to A11 from realme server indonesia
3. Download the latest Stable Magisk version and Stable Magisk Manager. Link to Magisk+Manager. ( https://drive.google.com/file/d/16CnHbb6s2vhnkYGc4nb2WIUgOnHkp5X4/view )
i think its wrong link there no magisk just minimal_adb_fastboot_1.4.3_portable.zip
e. If Magisk manager showing core mode only then uncheck "magisk core only mode" in the setting of magisk and reboot your phone.
i follow your guide for rooting but magisk core only mode even i disable the core only mode when restart it come back to core only mode, im using magisk v20 zip
im on colorOS 6 v11 rightnow
Has any anybody with the european version of this phone been able to unlock it?
I have tried with both A09 and A11 firmware, but it always says that my phone model is not supported by in-depth test.
tonibm19 said:
Has any anybody with the european version of this phone been able to unlock it?
I have tried with both A09 and A11 firmware, but it always says that my phone model is not supported by in-depth test.
Click to expand...
Click to collapse
I'm from Spain, and I can't unlock it, I will call to Realme if I can because I want unlock it.
Enviado desde mi RMX1971
tonibm19 said:
Has any anybody with the european version of this phone been able to unlock it?
I have tried with both A09 and A11 firmware, but it always says that my phone model is not supported by in-depth test.
Click to expand...
Click to collapse
Josegames all said:
I'm from Spain, and I can't unlock it, I will call to Realme if I can because I want unlock it.
Enviado desde mi RMX1971
Click to expand...
Click to collapse
is there european version?
as far i know is only 2 version, rm5pro India (global) realme Q (china)
mybe u can change region on settings -> language & region to mybe unloked region like india or like me indonesia
im using relame5pro and realme2pro (wife ) it can be unlocked easy when the unlock application is out from realme
pocepoke said:
is there european version?
as far i know is only 2 version, rm5pro India (global) realme Q (china)
mybe u can change region on settings -> language & region to mybe unloked region like india or like me indonesia
im using relame5pro and realme2pro (wife ) it can be unlocked easy when the unlock application is out from realme
Click to expand...
Click to collapse
I tried, but I can't, it's really uncomfortable, so I sent an email to Realme...
Enviado desde mi RMX1971
Thereis bug in Color OS 6 RMX1971EX_11_A.11
Cant get into fastboot, only show fastboot logo then automatically reboot
Hi dears.
Im from Spain too, and I cant Open Bootloader. I have tried a.9 and a.11 version, but both of them appear "model is not supported by in-depth test".
Im waiting for new Update or help to unlock and delete Color OS.
Thanks for all
I bricked phone
I bought my phone in India so I presume that it is indian variant. First installed TWRP and LOS and everything was ok. Then tried with magisk but got ERROR 1 cannot mount system. So I taught that maybe flashing the latest firmware will change something. So I flashed firmware. And brick. I attach photos. Please kindly help me
https://www.photobox.co.uk/my/photo?photo_id=502381335672&album_id=5753911027
https://www.photobox.co.uk/my/photo?album_id=5753911027&photo_id=502381334149
https://www.photobox.co.uk/my/photo?photo_id=502381334736&album_id=5753911027
FIXED
I unbricked the device by "unbrick" guide
But why there is problem with flashing magisk?
Hi all. I'm considering buying this phone but bootloader & root is a must.
It's possible to unlock bootloader in the EU (global) version? I read that EU and India versions are the same but I'm not 100% sure about this.
Does anyone from Europe unlocked it?
Regards
Like_Gg said:
Hi all. I'm considering buying this phone but bootloader & root is a must.
It's possible to unlock bootloader in the EU (global) version? I read that EU and India versions are the same but I'm not 100% sure about this.
Does anyone from Europe unlocked it?
Regards
Click to expand...
Click to collapse
Can't unlock in Europe, just wait...
Enviado desde mi RMX1971
Josegames all said:
Can't unlock in Europe, just wait...
Enviado desde mi RMX1971
Click to expand...
Click to collapse
Will it be unlocked someday?
I have indian version n trying to unlock bootloader...after trying indept apk...its shows success review but it doesn't goes to fastboot mode...its reboot to system...why...please help
O E M unlock
In my Indian Rm5P /Settings/Additional Settings/Developers Options there is a provision for enabling O E M Unlock.What is this meant for? Whether I have to enable this before starting the in-depth tool?Or whether the BootLoader will be unlocked automatically if I enable this?
---------- Po
If I unlock bootloader and flash TWRP, this TWRP can be used as my stock recovery further flashing zips(not custom ROMs)? Also will Bank apps work in this set up without any problems?
official post from realme :
https://c.realme.com/in/post-detail...64863306907648&subForumId=1163757213450240000

[GUIDES & FAQ][Merlin] Bootloader, Magisk, EdXposed, SafetyNet, GSI/Treble ROMs

DISCLAIMERS (please read !)​
This thread is made for the Redmi Note 9, also known as Redmi 10X 4G.
This device's codename is Merlin.
I will not be held responsible if you brick your device.
Follow the instructions shown in this thread at your own risks.
Follow the steps and ask questions below when unsure, everything will be fine!
No files will be directly provided. Do not use pre-created/re-uploaded files.
Feel free to cite parts of this thread in your own, just make sure to give credit where it's due.
Prerequisites for most manipulations​
Your phone, well charged if possible
The USB cable used to link your phone to your computer (the one on your charger works just fine)
A computer, with recent ADB & Fastboot (Platform Tools)
Some time, patience, and the ability to read and follow instructions!
Tutorials​
Spoiler: Unlocking your bootloader (Required for all other tutorials below)
Step 1
Make sure you have a Mi Account ready.
You should've created one when first setting up your phone, with your phone number and a password.
- If you have it: Double-check you have access to it by attempting to connect on Xiaomi's official website (Login page).
- If you don't: Create one with the Create an account button below the password form (same link as above), then connect to it.
Step 2
On your PC, go to Xiaomi's unlock page and click the colored Download Mi Unlock button.
{
"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"
}
Step 3
A download should start. Wait for it to finish, move the archive to your desktop and extract its content.
Step 4
Inside the extracted folder, double click the file called miflash_unlock.exe to start Xiaomi's Unlocking program.
Step 5
Read Xiaomi's Disclaimer then agree to their terms, or stop here and leave this thread if you don't.
Step 6
Sign in to your Mi Account we talked about in Step 1.
Step 7
Let's get your phone ready for unlocking.
Go to your phone's Settings > Mi Account and make sure you're logged in.
Now Settings > About Phone and tap the "MIUI Version" box multiple times until it says You are now a developer!
And finally Settings > Additional Settings > Developer Options
Enable the following settings inside Developer Options, and click Accept when warnings pop-up:
OEM Unlocking
USB Debugging
Still in Developer Options, check your Mi Unlock status and click the Add account and device button at the bottom if present.
Make sure to backup your phone's data before continuing on with this tutorial, as unlocking will make it factory reset (wipe)!
Step 8
Alright, all backed up? Confident? Let's get going with the final steps.
Turn off your phone.
Turn it back on into fastboot mode by holding down the Power button AND Volume Down together until it vibrates, you may then let go of the Power Button, but keep Volume Down held until you see the fastboot image on your phone.
Connect your phone to your computer with the USB Cable.
Xiaomi's Software should detect it. If not, click on the cog-wheel in the top right, click the Check button to install the driver and follow instructions, then keep going.
Click Unlock, and follow the instructions!
Now there are two possible scenarios
Either you've done all this before and can have your phone unlocked right away.
Or this is the first time and at the end of the progress it'll ask you to wait ~7days, and, well, there's no way around that, so come back in 7 days and start from Step 8 again.
And there you go! Your phone will reboot and you can set it all up again, with the ability to follow the rooting tutorial below, and you can also install custom ROMs/recovery!
Spoiler: Rooting (Magisk)
Step 1
Download the latest Magisk .apk on your phone.
Go to the link above, click the latest (topmost) Magisk-vXX.X.apk you see in the list to start the download, open the file and install it.
Step 2
Go to the download page for the MIUI Official Rom for your region, make sure to get the fastboot version.
OR (if you don't want/can't download 3gb of ROM)
Follow DavitidzeSh's instructions on how to gather the boot.img and vbmeta.img files and SKIP to Step 5.
OR (if you're on a custom rom)
Look into your custom rom's .zip, find the boot.img and vbmeta.img files and SKIP to Step 5.
Step 3
Take the file you downloaded above, it should be a .tgz archive.
Extract it, you'll get a .tar achive.
Extract that one again.
Step 4
You should now have a folder similar to the one below
Go inside the images folder
Step 5
Grab the the vbmeta.img file and copy it to your ADB & Fastboot (Platform Tools) folder.
Grab the boot.img file and copy it to your phone's internal storage.
(where the Android, DCIM, Download, and more are present, just drop it in there)
Here's how it should look inside your phone's storage in the end.
Step 6
On your phone, open up Magisk Manager.
Click the Magisk Install button as shown below.
Then Select and Patch a File.
Go look for your boot.img you previously copied to your phone and pick it.
Click Let's go! and wait for Magisk to complete the process!
Step 7
Link your phone to your PC, grab the file made by Magisk Manager.
It's located in your phone's downloads folder, called magisk_patched.img.
Copy and paste it where your ADB & Fastboot (Platform Tools) are located.
You should now have a folder structure like this:
adb.exe
fastboot.exe
magisk_patched.img
vbmeta.img
Extra files from the platform tools
Step 8
Alright, we're ready to root!
Turn off your phone, then get in fastboot mode.
(Power + Volume Down, like the unlocking tutorial)
Step 9
Link your phone to your PC with the USB cable if not done already.
Step 10
Shift + Right click in an empty space inside the folder we prepared in Step 7,
And click Open PowerShell window here.
Inside the PowerShell window, input the following commands line by line, in order.
.\fastboot.exe devices
Click to expand...
Click to collapse
Make sure your device shows up, should be a bunch of numbers and letters, a couple spaces, and fastboot.
If nothing does, go back to Step 8 and try again.
.\fastboot.exe --disable-verity --disable-verification flash vbmeta vbmeta.img
.\fastboot.exe flash boot .\magisk_patched.img
.\fastboot.exe reboot
Click to expand...
Click to collapse
Note: Your PowerShell window will look different, I'm using a different program, don't worry
Your phone will reboot.
Open up Magisk Manager, and double check that it's installed.
You're done!
That said, you will have issues with certain apps leaving it like this.
You should to hide the fact that your phone is rooted.
Check out the Passing SafetyNet tutorial further down below!
Spoiler: Getting EdXposed
I very much discourage to EdXposed your phone unless you have a very good reason for it.
It's a pain to pass SafetyNet.
It doesn't get updated often.
It has very niche use cases for which it's actually worth it.
That said, I explain it here for people who know what they're getting into and want instructions on how to do it.
This procedure requires to be rooted with Magisk.
Step 1
Inside Magisk Manager, go to the Modules tab.
Click the search button (bottom right) and search Riru.
Install the Riru module by Rikka.
Activate it and Reboot.
Step 2
Download and install the latest EdXposed Manager, the same way you did with Magisk Manager when rooting.
Step 3
Open it up, go to the ALPHA tab and click install/update.
It'll start a file download.
Step 4
Go back to Magisk Manager, Modules tab, except this time click Install from Storage.
Point to the .zip file you just got, located in the Downloads folder of your phone.
At the end of the installation, click reboot.
Step 5
Let's double check your installation is operational.
Go to EdXposed Manager, first tab.
It should say EdXposed Framework is active.
You're done!
You should now be able to install EdXposed modules.
That said, you will have issues with certain apps leaving it like this.
You should to hide the fact that your phone is EdXposed.
Check out the Passing SafetyNet tutorial further down below!
Spoiler: Passing SafetyNet (Magisk/EdXposed)
For Magisk Rooted Phones
Enable Magisk Hide inside Magisk Manager's settings.
You may also need to use the Props module to spoof your phone as another, if you want a tutorial on that, let me know.
For EdXposed Phones
Again, I highly recommend not EdXposing your phone and sticking to just Magisk if you can help it.
You should also know that this method will show you're passing SafetyNet inside Magisk but it's a pain to do and isn't as well hidden as Magisk alone.
Step 1 - Do the step for Rooted phones listed above if not done already.
Step 2 - In EdXposed Manager, get the HiddenCore Module and activate it.
Step 3 - Now, in the side-menu: Compat List > tick HiddenCore Module.
Step 4 - Then, go to Settings > Framework > Enable "App List mode".
Step 5 - Finally, Applications(Black List) and tick: Android Services Library, Chrome, Google Play services, Google Play Store, Google Services Framework
Reboot and enjoy! You're all set and SafetyNet should pass.
Spoiler: Installing GSI's (Non-device specific ROMs)
Step 1
Pick your poison in the Treble Forums!
My recommendations are in the Extras section of this post.
Step 2
Download the chosen ROM's A/B Arm64 version
It should be an .img.xz file
Extract it and you'll get an .img file.
You're almost ready to flash.
Make sure to backup your phone's data.
Continuing this tutorial will wipe your phone!
Step 3
Put your phone into fastboot mode.
(Power + Volume Down)
Connect it to your PC.
Step 4
Move the .img file you downloaded to your ADB & Fastboot (Platform Tools) folder.
Rename it to system.img
Step 5
Shift + Right click in an empty space inside the folder,
And click Open PowerShell window here.
Inside the PowerShell window, input the following commands line by line, in order.
.\fastboot.exe reboot fastboot
.\fastboot.exe --disable-verification flash vbmeta .\vbmeta.img
.\fastboot.exe flash system .\system.img
.\fastboot.exe -w
.\fastboot.exe reboot
Click to expand...
Click to collapse
Your phone will now reboot on its own.
Set it all up and enjoy!
That said, depending on how old the GSI you picked is, you MAY have issues leaving it at that.
Therefore, I highly recommend checking out the next tutorial section about Fixing GSI Issues.
Spoiler: Fixing brightness/jack on older GSI's
I have worked together with a developer to bring fixes for our device to every custom GSI rom out there.
The most recent GSI's shouldn't need the fixes listed below.
Older GSI (treble) roms have two known bugs that we can fix:
The brightness slider being misscalibrated, and therefore auto-brightness broken too.
The headphone jack not working.
You need to be rooted to do so.
Step 1 - Get yourself a Terminal Emulator, I recommend Termux
Step 2 - Type the following commands inside of it, line by line, in order:
su
setprop persist.sys.qcom-brightness $(cat /sys/class/leds/lcd-backlight/max_brightness)
setprop persist.sys.overlay.devinputjack true
Click to expand...
Click to collapse
You're done! Brightness should be fine, headphones get detected, enjoy!
Spoiler: Resetting your phone
Backup all the data you might have on your phone to restore it after the manipulation!
Step 1
Download the fastboot ROM corresponding to your region here.
(The same one used to grab the boot.img and vbmeta.img when rooting)
And extract it.
Step 2
Download the latest MiFlashTool.
And extract it.
Step 3
Put your device in fastboot mode.
(Power + Vol Down, refer to the rooting tutorial for a more info)
And connect it to your computer via USB.
Step 4
Open MiFlashTool (XiaoMiFlash.exe), your device should appear in the list.
Step 5
Click the Select button in the top left,
And point to your fastboot ROM's folder
(The one containing the "AP", "BP", "BP_IN", "images" folders and a bunch of files)
Step 6
At the bottom right of the software, choose if you either want to just:
clean all
(wipe and re-install)
OR
clean all and lock
(wipe, reinstall and re-lock your bootloader)
Note: If you re-lock your bootloader but wish to unlock it again later, you won't have to wait the 7 days again.
Step 7
Finally, in the top right, click the flash button.
Now just wait a while, your phone will reboot on the stock rom and you're good to go!
Extras​
Spoiler: Frequently Asked Questions (FAQ)
Q: Will unlocking my bootloader void my warranty?
A: No, it will not, it's easily reversable too, check the "Resetting your phone" tutorial.
Q: I rooted/EdXposed my phone and now Netflix won't even open, or doesn't work properly, what's up with that?
A: There's an easy fix if you have Magisk. Install the liboemcrypto disabler Magisk module, activate it and reboot.
Q: I tried unlocking my bootloader but, Mi Flash Unlock doesn't detect my phone, even though it's in fastboot mode and connected. Help?
A: Here are some things you can try:
Try another USB port.
Try another USB cable.
Install the Mi USB Drivers manually, they're included in the MiFlashUnlock folder.
Run the driver_install_64.exe, OR go to the driver folder, then the folder corresponding to your windows version, right click the android_winusb.inf and click Install.
In the Device Manager, check that the driver provider is Xiaomi.
If not, uninstall it and restart your computer.
RESERVED
Akitake said:
RESERVED
Click to expand...
Click to collapse
Hi,
I am also a user of RN9 Merlin.
I think we should add more details like
-how to flash official firmware(both from stock recovery, fastboot)
-should we need the same MIUI firmware that is there before we started booting custom ROM(GSI), if we need to go back to stock?
-what should happen if we interrupt the process in middle
-unlocking bootloader linux, macos or a link for the guide
-why we need to flash vbmeta.img?
-how to make vbmeta.img on our own(some are giving modified one, what is it?)
I know we need more and more time to do these, but these will help a newbie/noob/beginner for Xiaomi and rooting.
Thanks
HemanthJabalpuri said:
Hi,
I am also a user of RN9 Merlin.
I think we should add more details like
-how to flash official firmware(both from stock recovery, fastboot)
-should we need the same MIUI firmware that is there before we started booting custom ROM(GSI), if we need to go back to stock?
-what should happen if we interrupt the process in middle
-unlocking bootloader linux, macos or a link for the guide
-why we need to flash vbmeta.img?
-how to make vbmeta.img on our own(some are giving modified one, what is it?)
I know we need more and more time to do these, but these will help a newbie/noob/beginner for Xiaomi and rooting.
Thanks
Click to expand...
Click to collapse
1.Flashing official firmware is universal method for all devices through fastboot, And for recovery, we can't flash it yet since TWRP doesn't support dynamic partition yet.
2.No, you don't need the same firmware.
3.If you interrupt the process in between, the device would remain in fastboot Mode, and you can still restart the process.
Yxnq_Param said:
1.Flashing official firmware is universal method for all devices through fastboot, And for recovery, we can't flash it yet since TWRP doesn't support dynamic partition yet.
2.No, you don't need the same firmware.
3.If you interrupt the process in between, the device would remain in fastboot Mode, and you can still restart the process.
Click to expand...
Click to collapse
I heard a term called "Anti Roll Back" from https://forum.xda-developers.com/redmi-note-5-pro/how-to/faq-questions-answered-t3816185
Are all our merlin ROMs have same version of anti roll back. That is are we able to flash MIUI 11 on MIUI 12?
Thanks
HemanthJabalpuri said:
I heard a term called "Anti Roll Back" from https://forum.xda-developers.com/redmi-note-5-pro/how-to/faq-questions-answered-t3816185
Are all our merlin ROMs have same version of anti roll back. That is are we able to flash MIUI 11 on MIUI 12?
Thanks
Click to expand...
Click to collapse
Anti-rollback is only an issue if you're trying to downgrade through the stock recovery (Vol + Up) or through MIUI's recovery (About Phone > MIUI Version > Three dots and there is an option there)
If you want to go back to MIUI 11 for some reason, you can, by flashing it through fastboot.
HemanthJabalpuri said:
Hi,
I am also a user of RN9 Merlin.
I think we should add more details like
-how to flash official firmware(both from stock recovery, fastboot)
-should we need the same MIUI firmware that is there before we started booting custom ROM(GSI), if we need to go back to stock?
-what should happen if we interrupt the process in middle
-unlocking bootloader linux, macos or a link for the guide
-why we need to flash vbmeta.img?
-how to make vbmeta.img on our own(some are giving modified one, what is it?)
I know we need more and more time to do these, but these will help a newbie/noob/beginner for Xiaomi and rooting.
Thanks
Click to expand...
Click to collapse
1 - Google, this isn't Merlin specific.
2 - No, you can go back directly to the latest MIUI for your device.
3 - Just start over, your device will remain in fastboot, it's actually really safe.
4 - That's a niche demand, 99% of people use Windows and, if you use something else it's on you. If you're a Linux user, you're used googling information and it's not a problem. And for mac, well, worst case scenario use someone else's pc for 10 minutes.
5 - To prevent boot-loops. If you don't flash vbmeta, it won't boot.
6 - Read disclaimers, the tutorial literally tells you to take the vbmeta from the official rom. There's no such thing as a modified vbmeta, what matters is how we flash it with fastboot, disabling verifications.
Also this is my first post, and I'll add more as time goes on. But even as it is, I think it's miles better than what people care to create for most devices on XDA. It's also pretty detailed with images and such to reassure the user.
can someone help me?
So I wanted to unlock the bootloader
Did the
Turnn on OEM unlocking
Turn on USB debugging
Added my device on my account (the other thing to do in developer setting)
Boot into fastboot
The Mi unlock can't detect my device although the drivers are fine (I checked it in device manager) and I run it in administrator check the driver again in the software it says it is installed.
What can I do? Did I missed some steps?
markevan12 said:
can someone help me?
So I wanted to unlock the bootloader
Did the
Turnn on OEM unlocking
Turn on USB debugging
Added my device on my account (the other thing to do in developer setting)
Boot into fastboot
The Mi unlock can't detect my device although the drivers are fine (I checked it in device manager) and I run it in administrator check the driver again in the software it says it is installed.
What can I do? Did I missed some steps?
Click to expand...
Click to collapse
Here are some things you can try:
- Try another USB port.
- Try another USB cable.
- Install the Mi USB Drivers manually (included in the MiFlashUnlock folder, run the driver_install_64.exe, or go to the driver folder, then the folder corresponding to your windows version, right click the android_winusb.inf and click Install)
- In the Device Manager, check that the driver provider is Xiaomi. If not, uninstall it and restart your computer.
hi sir , can you tell the gsi rom install tutorial if we installed it from twrp?
fachrizoyy said:
hi sir , can you tell the gsi rom install tutorial if we installed it from twrp?
Click to expand...
Click to collapse
I will not support custom recovery's. I highly dislike them, and they're unofficial for Merlin as well.
Thx for the answer
Akitake said:
Here are some things you can try:
- Try another USB port.
- Try another USB cable.
- Install the Mi USB Drivers manually (included in the MiFlashUnlock folder, run the driver_install_64.exe, or go to the driver folder, then the folder corresponding to your windows version, right click the android_winusb.inf and click Install)
- In the Device Manager, check that the driver provider is Xiaomi. If not, uninstall it and restart your computer.
Click to expand...
Click to collapse
thanks but I solved it by moving the unlock folder to C:
Hey man. First of all I appreciate that you spent this much time for redmi note 9 users. I just want to know that how do I know that my device is merlin?
mirzanuman6612 said:
Hey man. First of all I appreciate that you spent this much time for redmi note 9 users. I just want to know that how do I know that my device is merlin?
Click to expand...
Click to collapse
Hey, no problem!
Well, Merlin is just the codename for Redmi Note 9. So if you have a Redmi Note 9, you have a merlin.
BUT, keep in mind the Redmi Note 9 Pro, Pro Max and S are different and have their own section in the forums.
Akitake said:
Hey, no problem!
Well, Merlin is just the codename for Redmi Note 9. So if you have a Redmi Note 9, you have a merlin.
BUT, keep in mind the Redmi Note 9 Pro, Pro Max and S are different and have their own section in the forums.
Click to expand...
Click to collapse
Well, thanks but one more thing, I tried unlocking the bootloader of my phone yesterday. I went into developer options and enabled the following options:
OEM unlocking
USB debugging
I also installed all the drivers needed in my pc and went into fastboot mode in my phone. But Xiaomis mi unlock can't recognise my device. I tried 2 different usb cables but the mi unlock just says, "your phone is not connected" I hope to get a reply from you and you will probably will be able to help me out.
mirzanuman6612 said:
Well, thanks but one more thing, I tried unlocking the bootloader of my phone yesterday. I went into developer options and enabled the following options:
OEM unlocking
USB debugging
I also installed all the drivers needed in my pc and went into fastboot mode in my phone. But Xiaomis mi unlock can't recognise my device. I tried 2 different usb cables but the mi unlock just says, "your phone is not connected" I hope to get a reply from you and you will probably will be able to help me out.
Click to expand...
Click to collapse
Yes I could, I will actually add a section to the FAQ soon for better driver installation, it's a driver issue.
Akitake said:
Yes I could, I will actually add a section to the FAQ soon for better driver installation, it's a driver issue.
Click to expand...
Click to collapse
Alrighty, thanks for your replies.
mirzanuman6612 said:
Well, thanks but one more thing, I tried unlocking the bootloader of my phone yesterday. I went into developer options and enabled the following options:
OEM unlocking
USB debugging
I also installed all the drivers needed in my pc and went into fastboot mode in my phone. But Xiaomis mi unlock can't recognise my device. I tried 2 different usb cables but the mi unlock just says, "your phone is not connected" I hope to get a reply from you and you will probably will be able to help me out.
Click to expand...
Click to collapse
Had you tried moving the unlock folder to c:/ ?
markevan12 said:
Had you tried moving the unlock folder to c:/ ?
Click to expand...
Click to collapse
I appreciate you replying to me. But, I already fixed it by installing windows 7 I had windows 10 before and it didn't seem to work on it so I installed windows 7 and it worked flawlessly. Btw, are you a user that has installed a custom rom? And if yes, then which one and is the performance any better?
Thanks.
mirzanuman6612 said:
I appreciate you replying to me. But, I already fixed it by installing windows 7 I had windows 10 before and it didn't seem to work on it so I installed windows 7 and it worked flawlessly. Btw, are you a user that has installed a custom rom? And if yes, then which one and is the performance any better?
Thanks.
Click to expand...
Click to collapse
Nope I didn't YET, I'm still waiting for the unlock to complete. I did tried treble roms in my other device. It just is basically have the same performance (LOSQ) but I had heating problems in my Samsung device, I expect a normal experience with this ROMs.

How To Guide How to flash a stock rom [alioth]

Hello everyone.
The purpose of this guide is to illustrate two methods to flash the stock rom on F3, both with the use of xiaomi flash tool (which for convenience I will call "miflash") and with cmd.​Warnings!​Before starting I would like to make one point clear, every moding operation involves risks that could lead to bootloop, softbrick or hardbrick of your phone, they can be caused by countless circumstances or actions, so you need the utmost attention and scrupulousness in performing certain operations.​What I will describe I have tested it on my F3 and it works, in any case, ​neither I nor the xda forum are responsible for any breakdowns on the phone caused by the operations described below!​Having said that, let's start...
All you need is:​
Bootloader unlocked, using the official tool you find here
Latest version of miflash, which you can download from here;
SDK platform tools, which you can download from here;
Stock fastboot rom, which you can download from here, here or here.
Make a backup of your data because they will be deleted in the process!
Now that you have everything you need, follow the steps:​1) How to flash a stock rom using miflash.​
Unzip miflash to C:\ ; [Only for the first time]​
Unzip SDK platform tools to C:\ ; [Only for the first time]
Unzip the fastboot rom in the miflash folder;
Rename the fastboot rom folder with a shorter name and no spaces like "V12.5.6.0.RKHEUXM";
Disable driver signature enforcement in windows 10; [Only for the first time. It is a temporary option that is reactivated the next time the pc is restarted]
Spoiler: How to disable driver signature
1 - Open settings;
2 - Go to update and security;
3 - In the left column click on restore;
4 - Under advanced restart click on restart now;
The pc will restart in a blue screen, click in sequence:
1. Troubleshoot;
2. Advanced options;
3. Startup Settings;
4. Restart;
5. Press the 7 or F7 key to Disable driver signature.
Now the pc restarts by itself.
Go to the miflash folder in c:\, open it and search for XiaoMiFlash.exe, right click and start as administrator;
Click on the driver button at the top and then install (if a warning message comes out, install anyway); [Only for the first time]
Restart your pc; [Only for the first time]
Go to the miflash folder in c:\, open it and search for XiaoMiFlash.exe, right click and start as administrator;
Click on the select button at the top left and navigate to the fastboot rom folder in the window that opens, then press ok; (If you followed the guide it is located in C:\MiFlash20210226\namethatyougavetotherom);
Click on the clean all option at the bottom right;
Spoiler: Why clean all option
- The clean all option allows you to flash the rom avoiding blocking the bootloader (which I recommend);
- The save user data option allows you to flash the rom without deleting the data (not recommended if you come from custom rom or from stock rom of different regions and does not block the bootloader);
- The clean all and lock option instead at the end of the flash blocks the bootloader which in some cases especially if you flash a rom that is not the original and can lead to a brick of the phone (I do not recommend blocking the bootloader, but if you want to do it make sure you are on the stock rom of the same region your phone was born with).
Now in the phone enable debug USB in developer option;
Spoiler: Developer option
Enable developer option:
- Go to settings;
- Tap on my device;
- Tap on all specifications;
- 7 tap on miui version.
Debug USB:
- Go to settings;
- Other settings;
- Developer options;
- Debug USB.
Restart the phone in fastboot mode and connect it to a rear USB port or in any case to a USB 2.0;
Spoiler: Fastboot mode
Turn the phone off;
Long press of the power key + volume -.
If the phone is recognized by miflash its code appears in the first row of the table otherwise click the refresh button at the top right;
Make sure clean all is selected and click on flash;
The flash lasts several minutes wait without touching anything;
Surely miflash at the end of the flash will give an error because the clean all option is selected and not blocking the bootloader at the end of the process it recognizes it as an error. Do not worry!!! it's normal;
If all went well the phone should restart by itself, (attention! the first start of the phone lasts several minutes stuck on the miui logo, wait until the configuration screen appears.
2) How to flash a stock rom using cmd.​Small premise; You could easily use this method even just by starting the .bat file inside the fastboot rom, but if any problems should occur or at the end of the process the window would close immediately without giving you the time to understand what happened, while if you run the .bat file directly from the prompt (cmd) you have the possibility to check the whole flash process and see if any errors occur because the window will remain open anyway.​
Unzip miflash to C:\ ; [Only the first time to install drivers]​
Unzip SDK platform tools to C:\ ; [Only for the first time]
Unpack the fastboot rom and move all content to C:\platform-tools;
Disable driver signature enforcement in windows 10; [Only for the first time. It is a temporary option that is reactivated the next time the pc is restarted]
Spoiler: How to disable driver signature
1 - Open settings;
2 - Go to update and security;
3 - In the left column click on restore;
4 - Under advanced restart click on restart now;
The pc will restart in a blue screen, click in sequence:
1. Troubleshoot;
2. Advanced options;
3. Startup Settings;
4. Restart;
5. Press the 7 or F7 key to Disable driver signature.
Now the pc restarts by itself.
Go to the miflash folder in c:\, open it and search for XiaoMiFlash.exe, right click and start as administrator; [Only for the first time]
Click on the driver button at the top and then install (if a warning message comes out, install anyway); [Only for the first time]
Restart your pc; [Only for the first time]
Go to the start button with the mouse and click with the right button;
In the menu that will open click on command prompt (administrator) a cmd window will open;
Now in the phone enable debug USB in developer option;
Spoiler: Developer option
Enable developer option:
- Go to settings;
- Tap on my device;
- Tap on all specifications;
- 7 tap on miui version.
Debug USB:
- Go to settings;
- Other settings;
- Developer options;
- Debug USB.
Restart the phone in fastboot mode and connect it to a rear USB port or in any case to a USB 2.0;
Spoiler: Fastboot mode
Turn the phone off;
Long press of the power key + volume -.
Now in the cmd window you are in the path: C:\windows\system32. First we move to the platform tools folder and check if the pc recognizes the phone in fastboot (if you followed the guide it will be in C:\platform-tools) to move to the folder press this command and press enter:
Code:
cd c:\platform-tools
Now check if the pc recognizes the phone in fastboot with this command and press enter (The phone code should appear):
Code:
fastboot devices
If the code appears you can start the .bat file to start the flash, then type this command and press enter:
Code:
flash_all.bat
Spoiler: Why flash_all.bat
- The flash_all.bat allows you to flash the rom avoiding blocking the bootloader (which I recommend);
- The flash_all_except_storage.bat allows you to flash the rom without deleting the data (not recommended if you come from custom rom or from stock rom of different regions and does not block the bootloader);
- The flash_all_lock.bat instead at the end of the flash blocks the bootloader which in some cases especially if you flash a rom that is not the original and can lead to a brick of the phone (I do not recommend blocking the bootloader, but if you want to do it make sure you are on the stock rom of the same region your phone was born with).
The flash lasts several minutes wait without touching anything but you can follow the trend in case there are problems;
If all went well the phone should restart by itself, (attention! the first start of the phone lasts several minutes stuck on the miui logo, wait until the configuration screen appears.
I hope this guide can help you to get back or flash the stock rom.
Happy flash everyone!​
Thanks.
Can i do by twrp Install the rom
Nandowiko said:
Thanks.
Can i do by twrp Install the rom
Click to expand...
Click to collapse
It is not advisable to flash the stock rom with twrp for two simple reasons:
1) For the moment the only two twrp developed are in beta state and it is not certain that they perform this task correctly.
2) Twrp does not do the arb check (Anti RollBack) To find out more, read here:
Xiaomi's Anti-Rollback Protection Explained: How to avoid bricking your phone
All Xiaomi smartphones and tablets will have anti-rollback protection enabled. What is it and how do you avoid bricking your device because of it?
www.xda-developers.com
So using miflash or the executable via cmd is the safest and most reliable way to flash the stock rom.
This is not working with locked bootloader.. any other method with locked bootloader to flash stock rom?
Mihiranpura said:
This is not working with locked bootloader.. any other method with locked bootloader to flash stock rom?
Click to expand...
Click to collapse
It is true! you need the unlocked bootloader, I read that with this tool you can do it. I have not tried it, I do not guarantee the success of the flash with a locked bootloader and in any case I strongly advise against flashing with a locked bootloader. If any errors occur it is risky and complicated to recover it, it is always better to unlock it.
RollDload said:
Hello everyone.
The purpose of this guide is to illustrate two methods to flash the stock rom on F3, both with the use of xiaomi flash tool (which for convenience I will call "miflash") and with cmd.​Warnings!​Before starting I would like to make one point clear, every moding operation involves risks that could lead to bootloop, softbrick or hardbrick of your phone, they can be caused by countless circumstances or actions, so you need the utmost attention and scrupulousness in performing certain operations.​What I will describe I have tested it on my F3 and it works, in any case, ​neither I nor the xda forum are responsible for any breakdowns on the phone caused by the operations described below!​Having said that, let's start...
All you need is:​
Bootloader unlocked, using the official tool you find here
Latest version of miflash, which you can download from here;
SDK platform tools, which you can download from here;
Stock fastboot rom, which you can download from here, here or here.
Make a backup of your data because they will be deleted in the process!
Now that you have everything you need, follow the steps:​1) How to flash a stock rom using miflash.​
Unzip miflash to C:\ ; [Only for the first time]​
Unzip SDK platform tools to C:\ ; [Only for the first time]
Unzip the fastboot rom in the miflash folder;
Rename the fastboot rom folder with a shorter name and no spaces like "V12.5.6.0.RKHEUXM";
Disable driver signature enforcement in windows 10; [Only for the first time. It is a temporary option that is reactivated the next time the pc is restarted]
Spoiler: How to disable driver signature
1 - Open settings;
2 - Go to update and security;
3 - In the left column click on restore;
4 - Under advanced restart click on restart now;
The pc will restart in a blue screen, click in sequence:
1. Troubleshoot;
2. Advanced options;
3. Startup Settings;
4. Restart;
5. Press the 7 or F7 key to Disable driver signature.
Now the pc restarts by itself.
Go to the miflash folder in c:\, open it and search for XiaoMiFlash.exe, right click and start as administrator;
Click on the driver button at the top and then install (if a warning message comes out, install anyway); [Only for the first time]
Restart your pc; [Only for the first time]
Go to the miflash folder in c:\, open it and search for XiaoMiFlash.exe, right click and start as administrator;
Click on the select button at the top left and navigate to the fastboot rom folder in the window that opens, then press ok; (If you followed the guide it is located in C:\MiFlash20210226\namethatyougavetotherom);
Click on the clean all option at the bottom right;
Spoiler: Why clean all option
- The clean all option allows you to flash the rom avoiding blocking the bootloader (which I recommend);
- The save user data option allows you to flash the rom without deleting the data (not recommended if you come from custom rom or from stock rom of different regions and does not block the bootloader);
- The clean all and lock option instead at the end of the flash blocks the bootloader which in some cases especially if you flash a rom that is not the original and can lead to a brick of the phone (I do not recommend blocking the bootloader, but if you want to do it make sure you are on the stock rom of the same region your phone was born with).
Now in the phone enable debug USB in developer option;
Spoiler: Developer option
Enable developer option:
- Go to settings;
- Tap on my device;
- Tap on all specifications;
- 7 tap on miui version.
Debug USB:
- Go to settings;
- Other settings;
- Developer options;
- Debug USB.
Restart the phone in fastboot mode and connect it to a rear USB port or in any case to a USB 2.0;
Spoiler: Fastboot mode
Turn the phone off;
Long press of the power key + volume -.
If the phone is recognized by miflash its code appears in the first row of the table otherwise click the refresh button at the top right;
Make sure clean all is selected and click on flash;
The flash lasts several minutes wait without touching anything;
Surely miflash at the end of the flash will give an error because the clean all option is selected and not blocking the bootloader at the end of the process it recognizes it as an error. Do not worry!!! it's normal;
If all went well the phone should restart by itself, (attention! the first start of the phone lasts several minutes stuck on the miui logo, wait until the configuration screen appears.
2) How to flash a stock rom using cmd.​Small premise; You could easily use this method even just by starting the .bat file inside the fastboot rom, but if any problems should occur or at the end of the process the window would close immediately without giving you the time to understand what happened, while if you run the .bat file directly from the prompt (cmd) you have the possibility to check the whole flash process and see if any errors occur because the window will remain open anyway.​
Unzip miflash to C:\ ; [Only the first time to install drivers]​
Unzip SDK platform tools to C:\ ; [Only for the first time]
Unpack the fastboot rom and move all content to C:\platform-tools;
Disable driver signature enforcement in windows 10; [Only for the first time. It is a temporary option that is reactivated the next time the pc is restarted]
Spoiler: How to disable driver signature
1 - Open settings;
2 - Go to update and security;
3 - In the left column click on restore;
4 - Under advanced restart click on restart now;
The pc will restart in a blue screen, click in sequence:
1. Troubleshoot;
2. Advanced options;
3. Startup Settings;
4. Restart;
5. Press the 7 or F7 key to Disable driver signature.
Now the pc restarts by itself.
Go to the miflash folder in c:\, open it and search for XiaoMiFlash.exe, right click and start as administrator; [Only for the first time]
Click on the driver button at the top and then install (if a warning message comes out, install anyway); [Only for the first time]
Restart your pc; [Only for the first time]
Go to the start button with the mouse and click with the right button;
In the menu that will open click on command prompt (administrator) a cmd window will open;
Now in the phone enable debug USB in developer option;
Spoiler: Developer option
Enable developer option:
- Go to settings;
- Tap on my device;
- Tap on all specifications;
- 7 tap on miui version.
Debug USB:
- Go to settings;
- Other settings;
- Developer options;
- Debug USB.
Restart the phone in fastboot mode and connect it to a rear USB port or in any case to a USB 2.0;
Spoiler: Fastboot mode
Turn the phone off;
Long press of the power key + volume -.
Now in the cmd window you are in the path: C:\windows\system32. First we move to the platform tools folder and check if the pc recognizes the phone in fastboot (if you followed the guide it will be in C:\platform-tools) to move to the folder press this command and press enter:
Code:
cd c:\platform-tools
Now check if the pc recognizes the phone in fastboot with this command and press enter (The phone code should appear):
Code:
fastboot devices
If the code appears you can start the .bat file to start the flash, then type this command and press enter:
Code:
flash_all.bat
Spoiler: Why flash_all.bat
- The flash_all.bat allows you to flash the rom avoiding blocking the bootloader (which I recommend);
- The flash_all_except_storage.bat allows you to flash the rom without deleting the data (not recommended if you come from custom rom or from stock rom of different regions and does not block the bootloader);
- The flash_all_lock.bat instead at the end of the flash blocks the bootloader which in some cases especially if you flash a rom that is not the original and can lead to a brick of the phone (I do not recommend blocking the bootloader, but if you want to do it make sure you are on the stock rom of the same region your phone was born with).
The flash lasts several minutes wait without touching anything but you can follow the trend in case there are problems;
If all went well the phone should restart by itself, (attention! the first start of the phone lasts several minutes stuck on the miui logo, wait until the configuration screen appears.
I hope this guide can help you to get back or flash the stock rom.
Happy flash everyone!​
Click to expand...
Click to collapse
Thank You So Much - Get Back Device in normal Mode
Hello @RollDload
I have Flashed below Fastboot ROM in Mi11X India using the CMD method and working fine but I am surprised why I didn't get OTA for the next Version - Below Mentioned Update Tracker got from another post - My Bootloader is Unlocked - If I manually Update next version using recovery ROM then Can I flash without data lost? - If possible please let me know the solution
2021-04-20 | Stable Fastboot | V12.5.2.0.RKHCNXM (Currently Avalibale)
2021-05-25 | Stable Recovery | V12.5.3.0.RKHCNXM (Should Offer this via OTA as per my Assumption)
sunnymodh said:
Hello @RollDload
I have Flashed below Fastboot ROM in Mi11X India using the CMD method and working fine but I am surprised why I didn't get OTA for the next Version - Below Mentioned Update Tracker got from another post - My Bootloader is Unlocked - If I manually Update next version using recovery ROM then Can I flash without data lost? - If possible please let me know the solution
2021-04-20 | Stable Fastboot | V12.5.2.0.RKHCNXM (Currently Avalibale)
2021-05-25 | Stable Recovery | V12.5.3.0.RKHCNXM (Should Offer this via OTA as per my Assumption)
Click to expand...
Click to collapse
Hi, I'm glad it worked fine ...
First try to clear the update application data.
If you don't get the update try the recovery method, you shouldn't lose your data. Do a backup anyway to be sure ...
First of all thanks for the Response
I have already tried clear data of Update app, also login into Mi Account but non of the works
Now I will use the recovery method - will follow the below steps let me correct if I am going to do wrong steps
Download this ROM 2021-05-25 | Stable Recovery | V12.5.3.0.RKHCNXM
Put it into Device -> Choose update package - > will flash
Will take backup for Safety
Hi all!
Trying to flash stock ROM (On Linux, cmd command mode), i get following message: "Missmatching image and device" although my phone is a Poco F3 Alioth :/
sunnymodh said:
First of all thanks for the Response
I have already tried clear data of Update app, also login into Mi Account but non of the works
Now I will use the recovery method - will follow the below steps let me correct if I am going to do wrong steps
Download this ROM 2021-05-25 | Stable Recovery | V12.5.3.0.RKHCNXM
Put it into Device -> Choose update package - > will flash
Will take backup for Safety
Click to expand...
Click to collapse
Why not try the latest update directly? So there is no more need for the ota.
Remember that "CN" is the Chinese version.
"ID" the Indian version.
"MI" l "EEA" etc the global versions.
Use the one corresponding to the one you already have in use.
Otherwise flash what you would like with miflash but avoid blocking the bootloader.
nicfio said:
Hi all!
Trying to flash stock ROM (On Linux, cmd command mode), i get following message: "Missmatching image and device" although my phone is a Poco F3 Alioth :/
Click to expand...
Click to collapse
I don't know, I don't use linux, but try to check the drivers and make sure you use the right rom for your model, there are three versions, china india and global.
RollDload said:
Why not try the latest update directly? So there is no more need for the ota.
Remember that "CN" is the Chinese version.
"ID" the Indian version.
"MI" l "EEA" etc the global versions.
Use the one corresponding to the one you already have in use.
Otherwise flash what you would like with miflash but avoid blocking the bootloader.
Click to expand...
Click to collapse
Yes...Correct regarding latest flash
let me correct you regarding Version
ID - Indonesia ROM
IN - India ROM
I have changed ROM from India to another for Miui Dialer only but after installation, I found Xiaomi EU ROM much better than any other Region ROM
Chinese ROM - good but lots of bloatware, No Gapps
Xiaomi EU - Excellent Performance, MIUI Dialer with Gapps (you can download only from Xiaomi EU website (EU & EEA) both are different Version
Im stuck on
{
"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"
}
what to do?
edit:
okay so I panicked. lol
I disconnected the phone from pc then I realized it was a dumb move
the phone is still on fastboot though.
So I reconnected the phone to pc and it wont detect. I am worried that if I turned off my phone it will die.
So what I did next was hold power button and volume down trying my luck to get into fastboot again.
And it did boot into fastboot again.
Then using miflash and everything worked now im on stock rom. Thanks!
PS: Im so happy that I am still within Gods grace.
LynnnXDA said:
Im stuck on
View attachment 5557529
what to do?
edit:
okay so I panicked. lol
I disconnected the phone from pc then I realized it was a dumb move
the phone is still on fastboot though.
So I reconnected the phone to pc and it wont detect. I am worried that if I turned off my phone it will die.
So what I did next was hold power button and volume down trying my luck to get into fastboot again.
And it did boot into fastboot again.
Then using miflash and everything worked now im on stock rom. Thanks!
PS: Im so happy that I am still within Gods grace.
Click to expand...
Click to collapse
yes, unplugging the phone in the middle of a flash is very dangerous, but luck was on your side. better this way
Guys just wanted to clear a doubt i had
So currently I have a mi11x Indian version running miui 13
So my first question is if I unlock via miunlock and then flash custom ROMs (pixelexperience)
Will I be able to go back to stock rom and relock bootloader if in the future I need to go back to stock or something
Or will it cause a brick.
Please, you don't need to know this but I am disabled, get really low on energy really quick. Trying to solve this is driving me mad!
Mi 11 bought with CN stock.
Unlocked the bootloader, loaded global rom for miui 12, all worked well.
OTA didn't work though.
Updated yesterday to latest global rom. All seems to work except, Google Wallet which used to work great gives me their CTS error.
Nothing actually changed on the phone, it's still just the unlocked phone, stock global rom.
I tried loading an older 12.5 rom and then, did an OTA update to MIUI 13
Still, Google Wallet doesn't want to know.
Was considering flashing again with the stock global rom (I don't want the CN on there) and locking the boot again but, would that even work or, does it have to be the CN stock rom?
All the bypass options for the security are just beyond my mind now sadly.

MOTO G STYLUS 2020 UNLOCK BOOT/ROOT all steps easy

Hi guys I know their are threads how to do this but they are all over the place, If you'd like a complete tutorial, that will get your 2020 MOTO G Stylus phone rooted without any errors let me know.
Edit: It looks like people are interested so here goes. The tutorial below is for the 2020 version I tested on Android 10 on two variants. This method once followed correctly will take no more than 30 min tops. Not sure if this will work on updated versions but you could try at your own risk. If this helped you leave a like, if you have any questions let me know.
prerequisites:
PC (duh lol)
Fully Charged Device
Motorola Account (for bootloader unlock purposes)
adb fastboot installed (take note of your folder location especially the platform-tools folder
motorola drivers (link in step 5 if drivers don't install correctly after connecting phone)
Tutorial:
Unlocking bootloader
1. first step is to unlock bootloader(all data will be erased) for this you will need your unlock key
2. go to settings, about phone build # hit a bunch of times to enable developer options
3. once enabled go to developer option enable OEM unlock, disable automatic update (do not update), and enable USB debugging.
4. while phone is on plug into pc to allow drivers to install, also allow usb debugging when prompted. go to where you have adb installed and go in the platform tools folder (this is where I do everything on my phones without errors) hit shift+right click and choose "open command window here" type in "adb devices" without quotes and check if the device is present.
5. now to test if you have fastboot drivers power off phone, then hold power+volume down to enter fastboot mode, plug phone into your computer and repeat step 4 this time typing "fastboot devices" if your phone shows up move on to next step if not download Motorola drivers and install then repeat this step. You can get the driver here and install https://combofile.com/index.php?a=downloads&b=file&id=3396.
6. once your device is detected its time to unlock bootloader, go to https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a sign in and follow the steps, they are simple and straight forward so I won't list them here. Once unlocked restart your phone, set up and proceed to below steps.
Rooting
1. with bootloader unlocked time to get root. download the latest magisk manager (23 I believe) let it install and power off your phone we will use it later. We will be getting the specific boot image for your device through temporary twrp.
2. go to https://forum.xda-developers.com/t/recovery-unofficial-twrp-3-5-0.4155041/ and download TWRP credits to @vache. Place the file in your platform-tools folder.
3. enter fastboot mode (by now it should be second nature) and plug into pc, verify fastboot device connected, by opening command window again in platform-tools folder
4. once verified type the following command without the quotes "fastboot boot twrp-3.5.0-0-rav-sofia.img" be patient, when it boots into twrp, cancel any password creation.
5. go to backup and select storage, choose a sd card, do not decrypt or do anything besides what I'm saying here. it will take you back to the beginning after sd card selected as storage, click backup and select only boot at the very top and creat backup. once done go out to twrp main menu and hit reboot, select "reboot system"
6. now to patch boot, open magisk manager and go to install, it will then give you the option to locate and patch boot.img, however we will be going into twrp backup on your sd card and locate boot.emmc.win (not the other two) once selected hit lets go on Magisk and allow it to patch. your patched boot.img will be in a download folder on your internal memory. Copy that file to your computer and then again move it to platform-tools folder
7. power off device and enter fastboot mode for the final time connect to pc, open command window in platform-tools folder and type the following command without the quotes "fastboot flash boot nameofbootfile.img" hit enter and allow to flash, once completed type "fastboot reboot" your device should now reboot, don't worry if it takes slightly longer than usual.
8. finally go into the magisk manager and let it complete its setup, it should reboot one more time and boom, you have root, remember to use magisk hide, That's it all set. If followed correctly this should only take about 30 min to a hour.
Shucks! I thought this was a tutorial.
zapjb said:
Shucks! I thought this was a tutorial.
Click to expand...
Click to collapse
I got you, updated tutorial up. Let me know if it helps.
If we have updated to Android 11, such as myself, and want to use the tutorial... Couldn't we just BACKUP (which is needed to root anyways), and do a FACTORY SETTINGS RESET to bring our OS back to Android 10?
Killabee0311 said:
If we have updated to Android 11, such as myself, and want to use the tutorial... Couldn't we just BACKUP (which is needed to root anyways), and do a FACTORY SETTINGS RESET to bring our OS back to Android 10?
Click to expand...
Click to collapse
I'm pretty sure a factory reset would restore to 11 not 10. As the 11 update replaced the 10 OS altogether.
Killabee0311 said:
If we have updated to Android 11, such as myself, and want to use the tutorial... Couldn't we just BACKUP (which is needed to root anyways), and do a FACTORY SETTINGS RESET to bring our OS back to Android 10?
Click to expand...
Click to collapse
I'm not sure if a factory reset would take the OS back to 10, you might need to search around for downgrade options. I'd advise anyone not to update to android 11, 10 is great especially with root. I have magisk pass safteynet, and even able to play pokemon go with gps spoof and smali patcher.
kgalv419 said:
I'm not sure if a factory reset would take the OS back to 10, you might need to search around for downgrade options. I'd advise anyone not to update to android 11, 10 is great especially with root. I have magisk pass safteynet, and even able to play pokemon go with gps spoof and smali patcher.
Click to expand...
Click to collapse
I'm on stock and want to flash this rom. I need to start from scratch. I need to unlock the bootloader, I got the email from Motorola months ago, but haven't had time to figure out how to use fastboot. It's been years since I used it. I'm also on Android 11 and I need to find out how to downgrade to Android 10. Any advice is appreciated.
I have an annoying Security Update that keeps popping up saying that I need to restart my device, and that it only takes 90 seconds. I'm afraid that if I restart my device, the update will install and I won't be able to downgrade to Android 10 from 11, and then I 'll be stuck with this stock rom. Can I disable this pop up?
New Version : RPRS31.Q1-56-9-9 Includes Updates of Android Security Patches through 1 October 2021.
I have not turned iff my device or restarted it since the pop up for the update.
EpicSaga said:
I'm on stock and want to flash this rom. I need to start from scratch. I need to unlock the bootloader, I got the email from Motorola months ago, but haven't had time to figure out how to use fastboot. It's been years since I used it. I'm also on Android 11 and I need to find out how to downgrade to Android 10. Any advice is appreciated.
I have an annoying Security Update that keeps popping up saying that I need to restart my device, and that it only takes 90 seconds. I'm afraid that if I restart my device, the update will install and I won't be able to downgrade to Android 10 from 11, and then I 'll be stuck with this stock rom. Can I disable this pop up?
New Version : RPRS31.Q1-56-9-9 Includes Updates of Android Security Patches through 1 October 2021.
I have not turned iff my device or restarted it since the pop up for the update.
Click to expand...
Click to collapse
Ok if you have your unlock code you should still be able to unlock bootloader. However the first thing you need to do is enable your developer options and enable OEM unlock, enable USB debugging and disable automatic updates that should stop updates you can also go on app info when you get the notification and disable notifications for system updates. If you have an unlock bootloader you should be able to root even android 11
kgalv419 said:
Ok if you have your unlock code you should still be able to unlock bootloader. However the first thing you need to do is enable your developer options and enable OEM unlock, enable USB debugging and disable automatic updates that should stop updates you can also go on app info when you get the notification and disable notifications for system updates. If you have an unlock bootloader you should be able to root even android 11
Click to expand...
Click to collapse
Thank you very much. How do I disable automatic updates and how do I go on app info to disable notifications for system updates? Now a message is on the same screen that says that if I don't restart my phone by the 21st, it will automatically update it.
For downgrading to android 10:
1. Grab the moto flash tool from here
2. Grab the a10 firmware from your device here
3. Unzip the moto flash tool and put the firmware zip in the folder called firmware
4. Plug your device in to your pc in bootloader mode
5. Start the moto flash tool and follow the instructions
(Unlocked bootloader required)
EpicSaga said:
Thank you very much. How do I disable automatic updates and how do I go on app info to disable notifications for system updates? Now a message is on the same screen that says that if I don't restart my phone by the 21st, it will automatically update it.
Click to expand...
Click to collapse
Pretty sure theres a setting in developer options to turn off automatic updates.
ph4n70m-404 said:
Pretty sure theres a setting in developer options to turn off automatic updates.
Click to expand...
Click to collapse
Yes, it's off, and it's been turned off, but I still got a message from Motorola that if I don't restart my phone so that the security patch can update, it will restart automatically on the 21st( a few hours from now).
EpicSaga said:
Yes, it's off, and it's been turned off, but I still got a message from Motorola that if I don't restart my phone so that the security patch can update, it will restart automatically on the 21st( a few hours from now).
Click to expand...
Click to collapse
I don't know of any solution to this but you should be able to update and keep magisk if you let it do the ota update then use the magisk manager to flash to the other slot.
ph4n70m-404 said:
Pretty sure theres a setting in developer options to turn off automatic updates.
Click to expand...
Click to collapse
I already turned it off, but I still got the notification for the update.
ph4n70m-404 said:
I don't know of any solution to this but you should be able to update and keep magisk if you let it do the ota update then use the magisk manager to flash to the other slot.
Click to expand...
Click to collapse
I don't have magisk, my phone ia stock. Can I put magisk on my phone without unlocking the bootloader? I need some assistance with unlocking it.
EpicSaga said:
I already turned it off, but I still got the notification for the update.
Click to expand...
Click to collapse
I got a notification again today saying that it will update today if It don't do it manually.
EpicSaga said:
I don't have magisk, my phone ia stock. Can I put magisk on my phone without unlocking the bootloader? I need some assistance with unlocking it.
Click to expand...
Click to collapse
Assuming you have a non Verizon or any other oem that blocks unlocking the bootloader follow the steps from the original post:
(step one makes no sense they wrote it kinda weird)
2. go to settings, about phone build # hit a bunch of times to enable developer options
3. once enabled go to developer option enable OEM unlock, disable automatic update (do not update), and enable USB debugging.
4. while phone is on plug into pc to allow drivers to install, also allow usb debugging when prompted. go to where you have adb installed and go in the platform tools folder (this is where I do everything on my phones without errors) hit shift+right click and choose "open command window here" type in "adb devices" without quotes and check if the device is present.
5. now to test if you have fastboot drivers power off phone, then hold power+volume down to enter fastboot mode, plug phone into your computer and repeat step 4 this time typing "fastboot devices" if your phone shows up move on to next step if not download Motorola drivers and install then repeat this step. You can get the driver here and install https://combofile.com/index.php?a=downloads&b=file&id=3396.
6. once your device is detected its time to unlock bootloader, go to https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a sign in and follow the steps, they are simple and straight forward so I won't list them here. Once unlocked restart your phone, set up and proceed to below steps.
EpicSaga said:
I don't have magisk, my phone ia stock. Can I put magisk on my phone without unlocking the bootloader? I need some assistance with unlocking it.
Click to expand...
Click to collapse
you can install magisk manager with bootloader locked but there is no sense in installing it on locked bootloader, because when you unlock your bootloader your devices will be factory reset, if you checked my instructions you will see that magisk manager is needed to patch boot.img that you will get from TWRP backup. You seem a bit green about the whole fastboot process, if that's the case I'd advise you to do a little reading up on adb fastboot, which needs to be installed to unlock your bootloader, if you go in blind you can brick your device and I wouldn't want that.
kgalv419 said:
...I'd advise you to do a little reading up on adb fastboot, which needs to be installed to unlock your bootloader, if you go in blind you can brick your device and I wouldn't want that.
Click to expand...
Click to collapse
Sometimes it's been a couple years between me rooting phones. When I come back to root another phone I read & read & read & read some more here. And I have in case the shtf a back up phone to be safe.
EpicSaga said:
I'm on stock and want to flash this rom. I need to start from scratch. I need to unlock the bootloader, I got the email from Motorola months ago, but haven't had time to figure out how to use fastboot. It's been years since I used it. I'm also on Android 11 and I need to find out how to downgrade to Android 10. Any advice is appreciated.
I have an annoying Security Update that keeps popping up saying that I need to restart my device, and that it only takes 90 seconds. I'm afraid that if I restart my device, the update will install and I won't be able to downgrade to Android 10 from 11, and then I 'll be stuck with this stock rom. Can I disable this pop up?
New Version : RPRS31.Q1-56-9-9 Includes Updates of Android Security Patches through 1 October 2021.
I have not turned iff my device or restarted it since the pop up for the update.
Click to expand...
Click to collapse
Re: bootlock unlock code email
I went on the Lenovo/Motorola website just yesterday and input the long 5-line code from my phone (required) from SDK platform. Once I did this, the website replied that I will receive email with a unique 20-character bootloader unlock code (this is the part you should check again). Instead of getting a code, the email asked that I first "verify my email", so I followed the directions, clicked the link, the link brought me to their website and I was able to verify my account. Once that happened, the page just kinda froze. So I repeated the process and when I clicked the "verify email" button, it brought me again to the website but thus time to my profile page. There was no Bootloader Unlock Code, nor was I emailed the code as assured as I was, as per their website suggests. I repeated the process a 3rd time but the same thing happened. And when I tried to went back #2 + #3 times, I input all the information again, clicked on the "send email" link (where they email you the 20-character code) I never received any additional emails. I only received 1 email (the first time I input this into their website). So, the site will only work 1 time per unique phone (serial). I called customer support and got nowhere! I have Metro by T-Mobile Motorola Moto G Stylus XT2043-4. I hope you see this and please let me know if you are able to unlock or get a email code as promised (or not). And if you have any information on how else to solve this issue, please let me know. I hope this helps & my apologies for being a bearer of bad news. If I solve this issue, I will respond back.

Categories

Resources