[Guide] Bootloader unlock guide for Realme 3 - Oppo Realme 3 Guides, News, & Discussion

Note: After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed.
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. Install the latest adb fastboot and usb drivers from here:
https://forum.xda-developers.com/re...-adb-fastboot-installer-tool-windows-t3999445
Step 4. Download and install the unlock tool apk on your phone (I have also attached the apk in this thread).
https://drive.google.com/file/d/1uixFcUAB8ThS3geYRtxqL37sAyVbsaoO/view?usp=sharing
Install it to apply for the bootloader unlock via the tool.
Step 5. Follow the detailed steps below 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 servers.
#5. 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.
#6. You can now click “Start the in-depth test” and the device will reboot automatically. The following string will display on the screen: fast boot_unlock_verify ok
#7 On your phone press the Volume Up key to select “Unlock” (or press the Volume Down key if you have changed your mind to select “Do not unlock bootloader”).
When you click the Volume Up, you will enter the new interface showed below.
Then enter command "fastboot reboot”. Then phone will reboot and enter the in-depth test mode - all user data on the phone will be erased - we recommend you perform a data backup prior to applying
Official link Source: https://c.realme.com/in/post-details/1110804709561597952

Hello, whenever I Click “Start applying” the app crashes I tried several time and tried reinstalling also but in an kindly help me

fastboot: error: Command failed
I have been trying to unlock bootloader on my Realme 3 Pro, but as soon as I enter the command in fastboot mode, it shows the following error:
PS D:\realme\platform-tools_r29.0.6-windows\platform-tools> ./fastboot flashing unlock
FAILED (Write to device failed (Unknown error))
fastboot: error: Command failed
But the device is being detected by my laptop..
PS D:\realme\platform-tools_r29.0.6-windows\platform-tools> ./fastboot devices
51a8ba49 fastboot
The customer service team is also unable to sort it out.
Your help will be truly appreciated!

Hii how to unlock bootloader in realme 3 after realme UI update

fawazahmed0 said:
Note: After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed.
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. Install the latest adb fastboot and usb drivers from here:
https://forum.xda-developers.com/re...-adb-fastboot-installer-tool-windows-t3999445
Step 4. Download and install the unlock tool apk on your phone (I have also attached the apk in this thread).
https://drive.google.com/file/d/1uixFcUAB8ThS3geYRtxqL37sAyVbsaoO/view?usp=sharing
Install it to apply for the bootloader unlock via the tool.
Step 5. Follow the detailed steps below 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 servers.
#5. 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.
#6. You can now click “Start the in-depth test” and the device will reboot automatically. The following string will display on the screen: fast boot_unlock_verify ok
#7 On your phone press the Volume Up key to select “Unlock” (or press the Volume Down key if you have changed your mind to select “Do not unlock bootloader”).
When you click the Volume Up, you will enter the new interface showed below.
Then enter command "fastboot reboot”. Then phone will reboot and enter the in-depth test mode - all user data on the phone will be erased - we recommend you perform a data backup prior to applying
Official link Source: https://c.realme.com/in/post-details/1110804709561597952
Click to expand...
Click to collapse
The deep testing tool doesn't work on my realme 3. Pleased help me. I m trying to unlock my bootloader.
---------- Post added at 04:07 AM ---------- Previous post was at 04:03 AM ----------
zainjafri4 said:
Hello, whenever I Click “Start applying” the app crashes I tried several time and tried reinstalling also but in an kindly help me
Click to expand...
Click to collapse
Same problem with my Device too

ujjwal001 said:
The deep testing tool doesn't work on my realme 3. Pleased help me. I m trying to unlock my bootloader.
---------- Post added at 04:07 AM ---------- Previous post was at 04:03 AM ----------
Same problem with my Device too
Click to expand...
Click to collapse
This guide is for Android 9, if you have updated your phone to Android 10(Realme UI), there is not much I can help.

fawazahmed0 said:
Note: After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed.
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. Install the latest adb fastboot and usb drivers from here:
https://forum.xda-developers.com/re...-adb-fastboot-installer-tool-windows-t3999445
Step 4. Download and install the unlock tool apk on your phone (I have also attached the apk in this thread).
https://drive.google.com/file/d/1uixFcUAB8ThS3geYRtxqL37sAyVbsaoO/view?usp=sharing
Install it to apply for the bootloader unlock via the tool.
Step 5. Follow the detailed steps below 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 servers.
#5. 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.
#6. You can now click “Start the in-depth test” and the device will reboot automatically. The following string will display on the screen: fast boot_unlock_verify ok
#7 On your phone press the Volume Up key to select “Unlock” (or press the Volume Down key if you have changed your mind to select “Do not unlock bootloader”).
When you click the Volume Up, you will enter the new interface showed below.
Then enter command "fastboot reboot”. Then phone will reboot and enter the in-depth test mode - all user data on the phone will be erased - we recommend you perform a data backup prior to applying
Official link Source: https://c.realme.com/in/post-details/1110804709561597952
Click to expand...
Click to collapse
This method doesn't work on realme if have accidentally formatted your phone resulting in ""null ,imei","

Related

[GUIDE]Unlock Bootloader [Mini FAQ] - Moto G 2015

UNLOCK YOUR BOOTLOADER​
WARNING: UNLOCKING YOUR BOOTLOADER VOIDS YOUR WARRANTY.PROCEED AT YOUR OWN RISK. EXCEPT If You Live In The EU
NOTE: Unlocking the bootloader will Wipe/ factory reset your device, and will delete all personal data from your device such as apps, photos, messages, and settings.
Prepare Your Moto G for Bootloader Unlock
Code:
Your device must be charged up to 70% before going completely through the process mentioned below.
These firmwares are only for the Moto G 2015 variant.
Make sure that you have installed proper device drivers on your computer.
INSTRUCTIONS:
Make sure to take a backup of your entire device data.
Download the Android SDK OR Download the Minimal ADB and Fastboot
Install the latest Motorola USB Drivers on your desktop. Download here.
Go To Settings -> Dev Settings, And Select "Allow OEM Unlock"
Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
Open Command Prompt on androidsdk/platform-tools/ (Hold Shift and right click and press open command window here)
[*]If you have downloaded Minimal ADB and Fastboot Go to C://Program Files/Minimal ADB and Fastboot and open Command Prompt from there.
Connect your Phone to PC
Type this in the CMD prompt window - fastboot oem get_unlock_data
You will get a return string. Copy it. [Right Click-Mark- Mark the text by pressing the shift key-Now press Ctrl+C]
Paste all the lines together in a notepad. Remove the empty spaces.
Now go to the Motorola Site.Sign in using your Google account or Motorola ID. Scroll down the page and paste the copied string in the field at step #6. Then click on ‘Can my device be unlocked?’, after which a "REQUEST UNLOCK KEY" button will appear at the bottom of page.
To get your unlock key, select the ‘I Agree’ option. Note: You will receive an email with your Unlock Key at the email address you used to log in there.
Important – Copy the 20-character key that Motorola sent you via email. Make sure your device is connected.
Then in CMD type: fastboot devices (To check your device is connected)
Then type: fastboot oem unlock UNIQUE_KEY
NOTE: In above command, replace the word ‘UNIQUE_KEY’ with the unlock code that you got via email. Then hit enter and the unlocking process should begin. Wait for a while and soon you’ll see ‘Bootloader Unlocked’ warning on your Moto G.
To relock the bootloader:
Go to Fastboot and give the command fastboot oem lock
You can always appreciate my work by pressing the Thanks Button.:good:
Good Day
Want to Get OTA updates even after Rooting your Device? Here's how.
Use the full unroot option from the Super Su
Flash the stock recovery Use Code : mfastboot flash recovery recovery.img
Now you'll be able to get OTA updates as before
RESERVED
Lucas Eugene said:
Want to Get OTA updates even after Rooting your Device? Here's how.
Use the full unroot option from the Super Su
Flash the stock recovery Use Code : mfastboot flash recovery recovery.img
Now you'll be able to get OTA updates as before
Click to expand...
Click to collapse
So this preserves apps/data?
Thanks
Lucas Eugene said:
UNLOCK YOUR BOOTLOADER​
Click to expand...
Click to collapse
Sorry but I think you´re in the wrong section here. this is the Moto G 2014 (titan) thread. So it should be moved to the Moto G 2015 section. Or, as the process is similar, the thread could be renamed.
Also it should be posted in Q&A, Help & Troubleshooting not in Andoid Development.

[Q&A] [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.

[Q&A] [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.
Q&A for [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.1)
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [Guide] [XAS] Xperia Unlocking bootloader, flashing ROMs/kernels (BPaul's 5.1.1). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Thanks
But the operation did not succeed with me banning comes from the start
From the beginning of the open( unlocking bootloader)
After the work steps is supposed to restore the device restarts itself
But doing a black screen remains
Until I unplug the (USB)
And open the phone itself
Can I ask you how I know the bot loader is opened؟
I may have missed it I I I don't know
Wait for a response from you, sorry if I ask too much
installing essential fastboot drivers doesn't occur
while Pressing and Holding volume up button and then connect usb to computer.
the blue led turn off after a short time and installing essential fastboot drivers doesn't occur
fadyashraf said:
while Pressing and Holding volume up button and then connect usb to computer.
the blue led turn off after a short time and installing essential fastboot drivers doesn't occur
Click to expand...
Click to collapse
That means your PC isn't installing fastboot drivers.
You have to install it manually. Just download below flashtool (also you'll need it later in final installation) (link below)
http://d-h.st/Kb8
Install it in your default PC drive.
Navigate to;
flashtool folder (default drive) > drivers > flashtool driver.exe > double click on it > next > fastboot drivers (at bottom of the list) install it and now connect your phone in fastboot mode.
Now follow and Complete popups for fastboot.
(If there's popup for MTP drivers, just cancel it)
After installation is finished Disconnect device and connect again in fastboot mode.
(VolUP and then connect USB )
If above process fails, let me know
Regards,
hitman-xda
---------- Post added at 02:09 AM ---------- Previous post was at 01:40 AM ----------
THEGAME2 said:
But the operation did not succeed with me banning comes from the start
From the beginning of the open( unlocking bootloader)
After the work steps is supposed to restore the device restarts itself
But doing a black screen remains
Until I unplug the (USB)
And open the phone itself
Can I ask you how I know the bot loader is opened؟
I may have missed it I I I don't know
Wait for a response from you, sorry if I ask too much
Click to expand...
Click to collapse
Actually I'm not getting what are you talking about.
If you can't get into fastboot mode (blue LED appears for few second and then continues charging with red LED) then just follow steps written in above post.
Regards,
hitman-xda
thanks again for your reply
[/COLOR]
Actually I'm not getting what are you talking about.
If you can't get into fastboot mode (blue LED appears for few second and then continues charging with red LED) then just follow steps written in above post.
Regards,
hitman-xda[/QUOTE]
All you ask him after the implementation steps
Fastboot
And write its own command on the computer terminates
After the execution of orders is the phone restart of work or I do I disconnect the USB
The complete installation process
How do I know that program fastboot has successfully steps
Please if you have any photos of the installation process to me
Or if a video is similar to the installation process
And thank you
THEGAME2 said:
All you ask him after the implementation steps
Fastboot
And write its own command on the computer terminates
After the execution of orders is the phone restart of work or I do I disconnect the USB
The complete installation process
How do I know that program fastboot has successfully steps
Please if you have any photos of the installation process to me
Or if a video is similar to the installation process
And thank you
Click to expand...
Click to collapse
Okay! So you are at the first step (UBL)
Answer few questions;
1. Which windows version are you using?
2. Do your phone successfully stay in fastboot mode?
(Power off > press volUP > connecting USB )
[Blue LED appears]
3. Did you get your Unlocking Bootloader Code from Sony site?
PS: when you successfully typed those three commands, your phone will auto reboot and bootloader will be unlocked.
To confirm that your bootloader is unlocked, you'll notice that your phone is factory resetted.
Also type *#*#7378423#*#* in dialer and find bootloader unlock status.
Regards,
hitman-xda
Thank you again
hitman-xda said:
Okay! So you are at the first step (UBL)
Answer few questions;
1. Which windows version are you using?
2. Do your phone successfully stay in fastboot mode?
(Power off > press volUP > connecting USB )
[Blue LED appears]
3. Did you get your Unlocking Bootloader Code from Sony site?
PS: when you successfully typed those three commands, your phone will auto reboot and bootloader will be unlocked.
To confirm that your bootloader is unlocked, you'll notice that your phone is factory resetted.
Also type *#*#7378423#*#* in dialer and find bootloader unlock status.
Regards,
hitman-xda
Click to expand...
Click to collapse
Answer your questions are
1- windos 7 32 bit
2-He succeeded in entering the fast mode and the blue led's
3-Yes were already official Sony website code to unpack the boot loader
The command has already provided written
Commands for fast boot
But the device did not restart itself and the system was as
Not a factory as I
And put the code that you wrote you this:*#*#7378423#*#*
service info _ configuration
boot loader unlock allowed: yes
That's exactly what I did I
THEGAME2 said:
Answer your questions are
1- windos 7 32 bit
2-He succeeded in entering the fast mode and the blue led's
3-Yes were already official Sony website code to unpack the boot loader
The command has already provided written
Commands for fast boot
But the device did not restart itself and the system was as
Not a factory as I
And put the code that you wrote you this:*#*#7378423#*#*
service info _ configuration
boot loader unlock allowed: yes
That's exactly what I did I
Click to expand...
Click to collapse
Everything looks fine. You can unlock your bootloader. Your bootloader isn't unlocked yet. Try again with the given steps one by one.
Hope you'll succeed
PS: Type those three commands carefully in minimal adb and fastboot after you connect your phone in fastboot mode)
If you got any error in command line, post it here
Regards,
hitman-xda
Thank you man
hitman-xda said:
Everything looks fine. You can unlock your bootloader. Your bootloader isn't unlocked yet. Try again with the given steps one by one.
Hope you'll succeed
PS: Type those three commands carefully in minimal adb and fastboot after you connect your phone in fastboot mode)
If you got any error in command line, post it here
Regards,
hitman-xda
Click to expand...
Click to collapse
Thank you man but your reply that I did not get anything
I have tried it twice and it didn't work
Thank you for your interest
THEGAME2 said:
Thank you man but your reply that I did not get anything
I have tried it twice and it didn't work
Thank you for your interest
Click to expand...
Click to collapse
When you connect your phone in fastboot mode and open minimal adb and fastboot and type the first Command (fastboot devices), did you get any error or it shows a connected device as shiwn in below pic
http://cdn.teamandroid.com/wp-content/uploads/2012/07/fastboot-devices-600x302.jpg
Regards,
hitman-xda
THANK YOU
hitman-xda said:
When you connect your phone in fastboot mode and open minimal adb and fastboot and type the first Command (fastboot devices), did you get any error or it shows a connected device?
Click to expand...
Click to collapse
I've tried to perform it twice
In the first gave me the mistakes
In the second time it did not give any mistakes
THEGAME2 said:
I've tried to perform it twice
In the first gave me the mistakes
In the second time it did not give any mistakes
Click to expand...
Click to collapse
If you are still not succeeded, maybe you should try it in other PC
I can't enter to cwm or twrp
Sorry for my bad english:
What I do after this???
7.Now select REBOOT DEVICE INTO SYSTEM.
8.Open your respected recovery (CWM or TWRP)
I can't enter to twrp and i can't install gaps =(
9.Install>your downloaded gapps from sdcard/ext_sdcard
10.Wipe cache + Dalvic cache + Factory reset
11.Reboot
cuti666 said:
Sorry for my bad english:
What I do after this???
7.Now select REBOOT DEVICE INTO SYSTEM.
8.Open your respected recovery (CWM or TWRP)
I can't enter to twrp and i can't install gaps =(
9.Install>your downloaded gapps from sdcard/ext_sdcard
10.Wipe cache + Dalvic cache + Factory reset
11.Reboot
Click to expand...
Click to collapse
If you have successfully performed every step till (7) and rebooted into system (7th step) , you shouldn't get any problem.
To enter into TWRP, reboot your device and when you see magenta LED press volUP button for couple of times, you'll successfully enter into TWRP.
Regards,
hitman-xda
Thank you again
hitman-xda said:
If you are still not succeeded, maybe you should try it in other PC
Click to expand...
Click to collapse
Is there another way to set the boot loader is not present or not
If I try and try to install the ROM again
Please, if you have pictures of the decoding process the boot loader that lifted me and I am very thankful to you
We looked at a lot of sites and didn't find results
THEGAME2 said:
Is there another way to set the boot loader is not present or not
If I try and try to install the ROM again
Please, if you have pictures of the decoding process the boot loader that lifted me and I am very thankful to you
We looked at a lot of sites and didn't find results
Click to expand...
Click to collapse
Nope! You can't skip bootloader.
There are some ROMs available that can be flashed with locked bootloader.
Soft bricking is the main drawback of flashing ROM on locked bootloader. Usually it happens once.
PS: I can't provide pics of steps. Its because I already unlocked my bootloader and I can't do it again.
Also I don't have another ACRO S.
I suggest you to unlock your bootloader using other PC to avoid bricking.
Regards,
hitman-xda
hitman-xda said:
That means your PC isn't installing fastboot drivers.
You have to install it manually. Just download below flashtool (also you'll need it later in final installation) (link below)
Install it in your default PC drive.
Navigate to;
flashtool folder (default drive) > drivers > flashtool driver.exe > double click on it > next > fastboot drivers (at bottom of the list) install it and now connect your phone in fastboot mode.
Now follow and Complete popups for fastboot.
(If there's popup for MTP drivers, just cancel it)
After installation is finished Disconnect device and connect again in fastboot mode.
(VolUP and then connect USB )
If above process fails, let me know
Regards,
hitman-xda
---------- Post added at 02:09 AM ---------- Previous post was at 01:40 AM ----------
Actually I'm not getting what are you talking about.
If you can't get into fastboot mode (blue LED appears for few second and then continues charging with red LED) then just follow steps written in above post.
Regards,
hitman-xda
Click to expand...
Click to collapse
I'll try this and let you know the result. Thanks again @hitman-xda.
thanks again
hitman-xda said:
Nope! You can't skip bootloader.
There are some ROMs available that can be flashed with locked bootloader.
Soft bricking is the main drawback of flashing ROM on locked bootloader. Usually it happens once.
PS: I can't provide pics of steps. Its because I already unlocked my bootloader and I can't do it again.
Also I don't have another ACRO S.
I suggest you to unlock your bootloader using other PC to avoid bricking.
Regards,
hitman-xda
Click to expand...
Click to collapse
This has happened with me in another attempt to install from another machine as I
View attachment 3342656
THEGAME2 said:
This has happened with me in another attempt to install from another machine as I
View attachment 3342656
Click to expand...
Click to collapse
Dude! You used brackets for the unlocking code. Just remove them and carry the process.
Also I written in the post that you shouldn't use brackets.
Regards,
hitman-xda
Permission to try again
hitman-xda said:
Dude! You used brackets for the unlocking code. Just remove them and carry the process.
Also I written in the post that you shouldn't use brackets.
Regards,
hitman-xda
Click to expand...
Click to collapse
You mean that my writing of the arches come on after she made the operation fail and the rest of the orders were correct

Total Nub's guide to rooting Qmobile Q Infinity & Micromax Canvas Inifinity

After failing some 1-click rooting methods, for the first time I tried to do it the hard way.
That turned out to be a pretty easy way thanks to some handy links to drivers and other files I found.
Infinity thanks to the thread I found platform-tools from and the website called "getdroidtips" for the Custom TWRP for the HS2.
NOTE: THIS GUIDE WILL WIPE YOUR DEVICE SO BE PREPARED
Standard warning: FOLLOW THIS GUIDE AT YOUR OWN RISK. REMEMBER, AS PER MY NAME I AM A TOTAL NUB. I DO NOT TAKE RESPONSIBILITY FOR YOUR PHONE MALFUNCTIONING, BRICKING, BLOWING UP OR DROWNING IN COOKING OIL (rip my Elephone S7)
Pastebin code for missing links: F2RGqM1A
1) Preparation
Download the latest Flashable.Zip from [ ]
Place SuperSu.zip in your sd card or internal storage
Enable Developer Options by going to Settings -> "About Phone" -> Click "Software Version" 7-8 times
Go to developer Options in Settings
Enable OEM Unlocking
Enable USB Debugging
Shutdown your phone by holding the power button
Boot into fastboot by holding the Volume Up key + Power Button
Press Volume Down key to get into fastboot
2) On your Windows PC:
Download the file from [ ] and extract the platform-tools folder (I extract to "D:\Downloads" in this example)
Download the Custom TWRP from [ ] and place it inside the platform-tools folder
Connect your device to your computer
press Win+R, type cmd and press enter
2.1) (not always needed)
If your device won't connect or the steps below don't work, try updating drivers:
Connect your phone while it's in fastboot
open start menu, search and open Device Manager
check inside Portable Devices or Android Devices for your phone's name
or look for Android Bootloader Interface
if it's not there, it might be named something else, with an icon that has a yellow triangle inside it.
Right click it, Update Driver
> Browse my computer for driver software
> Let me pick from a list of available drivers on my computer
> select Android Bootloader Interface
to check if you are connected, type "fastboot devices" in cmd and you'll see a device code
3) Unlocking Bootloader
In cmd, enter the following commands:
Code:
D:
cd D:\Downloads\platform-tools
fastboot oem unlock-go
THIS STEP WILL WIPE YOUR DEVICE DATA
wait for restart
4) Booting into TWRP
Go to device Settings again and ensure OEM Unlocking and USB Debugging are still Enabled. Reboot into fastboot.
In cmd:
Code:
fastboot boot twrp-3.1.1-0-20171128-UNOFFICIAL-HS2.img
(In case above cmd line doesn't work, type "fastboot boot twrp" and press Tab)
5) Backing up your rom and data (Optional but recommended)
Inside TWRP, Click Backup, tick everything, select desired directory and swipe to backup.
Reboot and follow step 5 again if needed
6) Installing SuperSU with root privileges
Inside TWRP, Click Install and select SuperSU.zip
Swipe to install and reboot
Enjoy
Please port miui 9 or lineage os 15 for micromax canvas infinity hs2
NubbyMcNubNub said:
After failing some 1-click rooting methods, for the first time I tried to do it the hard way.
That turned out to be a pretty easy way thanks to some handy links to drivers and other files I found.
Infinity thanks to the thread I found platform-tools from and the website called "getdroidtips" for the Custom TWRP for the HS2.
NOTE: THIS GUIDE WILL WIPE YOUR DEVICE SO BE PREPARED
Standard warning: FOLLOW THIS GUIDE AT YOUR OWN RISK. REMEMBER, AS PER MY NAME I AM A TOTAL NUB. I DO NOT TAKE RESPONSIBILITY FOR YOUR PHONE MALFUNCTIONING, BRICKING, BLOWING UP OR DROWNING IN COOKING OIL (rip my Elephone S7)
Pastebin code for missing links: F2RGqM1A
1) Preparation
Download the latest Flashable.Zip from [ ]
Place SuperSu.zip in your sd card or internal storage
Enable Developer Options by going to Settings -> "About Phone" -> Click "Software Version" 7-8 times
Go to developer Options in Settings
Enable OEM Unlocking
Enable USB Debugging
Shutdown your phone by holding the power button
Boot into fastboot by holding the Volume Up key + Power Button
Press Volume Down key to get into fastboot
2) On your Windows PC:
Download the file from [ ] and extract the platform-tools folder (I extract to "D:\Downloads" in this example)
Download the Custom TWRP from [ ] and place it inside the platform-tools folder
Connect your device to your computer
press Win+R, type cmd and press enter
2.1) (not always needed)
If your device won't connect or the steps below don't work, try updating drivers:
Connect your phone while it's in fastboot
open start menu, search and open Device Manager
check inside Portable Devices or Android Devices for your phone's name
or look for Android Bootloader Interface
if it's not there, it might be named something else, with an icon that has a yellow triangle inside it.
Right click it, Update Driver
> Browse my computer for driver software
> Let me pick from a list of available drivers on my computer
> select Android Bootloader Interface
to check if you are connected, type "fastboot devices" in cmd and you'll see a device code
3) Unlocking Bootloader
In cmd, enter the following commands:
THIS STEP WILL WIPE YOUR DEVICE DATA
wait for restart
4) Booting into TWRP
Go to device Settings again and ensure OEM Unlocking and USB Debugging are still Enabled. Reboot into fastboot.
In cmd:
(In case above cmd line doesn't work, type "fastboot boot twrp" and press Tab)
5) Backing up your rom and data (Optional but recommended)
Inside TWRP, Click Backup, tick everything, select desired directory and swipe to backup.
Reboot and follow step 5 again if needed
6) Installing SuperSU with root privileges
Inside TWRP, Click Install and select SuperSU.zip
Swipe to install and reboot
Enjoy
Click to expand...
Click to collapse
Hi please help me, after flashing recovery my phone is on bootloop now, what do i do
Hem97 said:
Please port miui 9 or lineage os 15 for micromax canvas infinity hs2
Click to expand...
Click to collapse
I wish I could.
Sudhangshu said:
Hi please help me, after flashing recovery my phone is on bootloop now, what do i do
Click to expand...
Click to collapse
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
NubbyMcNubNub said:
I wish I could.
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
Click to expand...
Click to collapse
Hi, "flashboot boot twrp" wasnt working at all, so i tried "flashboot flash twrp" and all i have is a bootloop. So after flashing recoveru i booted my phone to fastboot and run the command, " flashboot boot recovery recovery.img" where recovery is the custom recovery image and it booted into recovery. Then there is one more step to do that allowed me to finally boot into my os. Its working fine and i still have twrp installed on my phone
---------- Post added at 06:53 PM ---------- Previous post was at 06:49 PM ----------
NubbyMcNubNub said:
I wish I could.
Did you try "flashboot boot twrp..." like in my guide or "flashboot flash twrp..."?
And which twrp image did you use?
In any case, if you can still get to the fastboot screen, try booting with the twrp image in Step 4 above (download links in the pastebin link)
Click to expand...
Click to collapse
Btw i dont find any pastebin links, im sorry im just a noob too..... Lol
Want custom rom for Qmobile Qinfinity
I want a custom rom for Qmobile Qinfinity.
Because its own rom lags and does not have full features. Please give the rom like lineage os,RR,Or Stock
Please Help?:good:
hi bro,recently i just buy a new phone which is micromax canvas infinity.i have rooted my phone successfully,but there are no custom roms available for this phone.can you develop any custom rom for this phone?that will be very helpful...

[Guide] Unlock/Root/Update/Relock for BQ Aquaris X2 pro (zangyapro)

Introduction
I'm writing this thread to summarize useful information about the BQ Aquaris X2 pro such as:
preliminary actions (adb and fastboot configuration)
unlocking the bootloader
flash a factory image
root the device (currently without TWRP)
updating the device without losing root
relocking the bootloader
I own this phone since July 2018. I started writing my notes in August 2018 in the form of a Google document (link here). I shared this document with some telegram groups and some people I know.
Now I that I think it can be more useful to summarize all my notes here on XDA so that all interested people can access it.
DISCLAIMER:
By attempting any of the processes listed in this thread you accept full responsibility for your actions. I have no responsibility about your actions.​
1) Preliminary actions
1.1) Developer options, USB debugging and Unlock OEM
The first thing you need to do is to enable Developer options, USB debugging and Unlock OEM. Hence:
enable “Developer options” by hitting 7 times on the build number (Got to settings --> about phone)
enter the new menu “Developer options” and,
enable “USB debugging”
enable “Unlock OEM”
1.2) Download and configure abd and fastboot
All steps listed in this guide will require the use of Google Platform tools. I suggest the use of the one provided by Google here: https://developer.android.com/studio/releases/platform-tools.
Download the one for your operating system:
View attachment 4655394
Be sure that your terminal can access adb and fastboot from every position by configuring the PATH. I'm use to configure the PATH on the fly when I need it. As I said before, I work on Linux/macOS where you can set the PATH by:
opening a terminal and running:
Code:
export PATH=$PATH:path_to_platform_tools
2) Unlock the bootloader
Unlocking the booloader will wipe your phone. So backup your data first.
The good news here is that this phone can be handled like a Nexus/Pixel phone. Therefore, the procedure to unlock the bootloader is straightforward:
do all stuff at point 1.1 and 1.2
open a terminal
plug your phone to the PC
reboot into the bootloader
Code:
adb reboot bootloader
run the code:
Code:
fastboot flashing unlock
now you have to wait until your phone reboots. It takes a while, don't panic!!! When the phone is on the initial screen turn it off and reboot into the bottloader again by holing 'power + volume down'.
run the code:
Code:
fastboot flashing unlock_critical
it's done. Your bootloader is completely unlocked. Now, you only have to wait again for the reboot.
3) Flash a factory image
As you probably know, BQ releases a factory image at each update at this link factory images. Factory images are very useful to perform a very clean install. Are you experiencing some issues with your phone and none of the trick you tried solved it? If it is a software issue a clean flash with a factory image will likely remove the issue.
Keep in mind that by flashing a factory image you will wipe also the userdata partition. So backup your data first. Now let's see how to flash the factory image:
you need an unlocked bootloader (see previous sections)
download the factory image from this link
unzip the archive
open a terminal at this folder
be sure to have abd and fastboot properly configured (see previous sections)
run the script to flash all (*):
Code:
./sdm660_fastboot_all_images.sh
wait the end of the process. The phone will reboot.
(*) on Windows you have to deal with the file sdm660_fastboot_all_images.bat. I suppose it's similar but I've never done it on Windows.
4) Obtain ROOT privileges
Nowadays, the most common tool to obtain root privileges is Magisk. Many people here know very well what Magisk is and how to install it with TWRP. However, TWRP is not yet ready for BQ Aquaris X2 pro, hence, we must follow the procedure for installing it without the custom recovery.
When I wrote the document in August I find very informative this guide by @nathanchance. It's for the pixel 2XL but, as I told you before, it works perfectly also for the BQ Aquaris X2 pro (zangyapro). So here I summarize what @nathanchance already posted. All credits must go to him.
Here you have the steps:
Download the Magisk zip from the official thread and install the manager from the zip.
Grab a boot image to patch (either the one from the latest factory image or a custom kernel one) and push it to your device:
Code:
adb push <path_to_file> /sdcard/Download
Open Magisk Manager and click the Install button.
Click "Install" at the first prompt then choose "Patch Boot Image File". A file manager will pop up.
Select the boot image you want to patch and let Magisk Manager patch it.
Pull it off your device:
Code:
adb pull /sdcard/MagiskManager/patched_boot.img
Reboot into the bootloader:
Code:
adb reboot bootloader
Flash the boot image and reboot.
Code:
fastboot flash boot patched_boot.img
fastboot reboot
Open Magisk Manager and you should be rooted!
Please note that it exists also a specific thread where the author also provides the patched boot.img files for download. Hence, you can start from point 6 without patching the boot.img by yourself. Take care of selecting the right one. Here you have the thread link.
5) Update the ROM without loosing root
To the best of my knowledge, the only way to update keeping root is by using the factory images provided by BQ.
Download the factory image of the latest firmware (link)
Extract the file zip and upload the file boot.img on your phone
Code:
adb push <path_to_file> /sdcard/Download
Open Magisk Manager and click the Install button.
Click "Install" at the first prompt and then choose "Patch Boot Image File". A file manager will pop up.
Select the boot image you want to patch and let Magisk Manager patch it.
Pull it off your device:
Code:
adb pull /sdcard/MagiskManager/patched_boot.img
Place the file patched_boot.img in the folder of the BQ firmware unzipped at point 2
Make a copy of the file sdm660_fastboot_all_images (.sh in Mac/Liux and .bat on Windows).
Rename the file, I called it sdm660_fastboot_upgrade.sh
Change the following lines (this will preserve root privileges on your phone):
Code:
fastboot flash boot_a boot.img # <-- delete this line
fastboot flash boot_a patched_boot.img # <-- add this line
Delete the following line (this will prevent your data to be wiped):
Code:
fastboot flash userdata userdata.img # <-- delete this line
Run from your terminal
Code:
./sdm660_fastboot_upgrade.sh (or bat)
I think that one can also update using the OTA. This will make you lose the root privileges and therefore, you will have to repeat the procedure at section 4. I've never tested this so, if you decide to do it, you are on your own.
6) Relock the Bootloader
By relocking the bootloader you will lose all your data, hence, backup them first.
To relock the bootloader you only need the following commands:
Code:
fastboot flashing lock_critical
fastboot flashing lock
Each command will wipe your data and will reboot the phone. Be patient waiting for the reboot and do not panic.
Reserved.
(work in progress)
First: Thanks for this really nice and comprehensive thread!
I have an important addition to point:
3. Open Magisk Manager and click the Install button.
Click to expand...
Click to collapse
Install Button will only appear if the phone has internet connection (Wifi or Mobile Data)
with this I can patch the boot image successfully
But unfortunately I can not run the "sdm660_fastboot_upgrade.sh.bat" it does not recognize my device.
When checking the commands in the batch I found that my device is acting really strange, sometimes giving different errors for the same command like:
Code:
C:\Android\X2proRoot\1.7.1_WithRoot>fastboot set_active _a
error: Device does not support slots.
C:\Android\X2proRoot\1.7.1_WithRoot>fastboot set_active _a
Setting current slot to 'a'...
FAILED (remote: Invalid Slot)
finished. total time: 0.004s
C:\Android\X2proRoot\1.7.1_WithRoot>fastboot set_active _a
error: Device does not support slots.
also strange:
Code:
C:\Android\X2proRoot\1.7.1_WithRoot>fastboot flash boot patched_boot.img
target didn't report max-download-size
sending 'boot' (50749 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.004s
Probably some windows crap not working or an incompatibility of the installed platform tools / drivers and the ones from BQ...
raudidroid said:
First: Thanks for this really nice and comprehensive thread!
I have an important addition to point:
Install Button will only appear if the phone has internet connection (Wifi or Mobile Data)
Click to expand...
Click to collapse
Thanks. I was not aware of this. And now I can't check this on my device because I started using GPay and I prefer to stay with no root and locked bootloader.
Maybe I will play again with the bootloader when TWRP for this device will be released. If it will
got it running!
raudidroid said:
Probably some windows crap not working or an incompatibility of the installed platform tools / drivers and the ones from BQ...
Click to expand...
Click to collapse
Probably it was just that. I Installed Ubuntu 16.04 LTS in a Vmware machine and followed the tutorial (important note here: do everything in a Terminal running under root).
Short moments of panic due to boot-loop included (I flashed a defective boot image [vmware drag and drop files obviously did not copy the whole file] )
for everybody who ends in a bootloop: just keep calm, switch off phone (>10s press power button) an very quickly when it is of press power and volume down to get into flashmode again (I had to try several times)
Hey @raudidroid, when I answered to you the first time I did not read all the message or you edited it later. Only now I'm reading the issues you faced.
On Windows, what shell did you use? PowerShell?
I'm not sure about this because I banned Windows from my personal and working life several years ago, however, recently I read some posts of people having issues with PowerShell. If this is also your case next time try to use classic cmd.
Probably it was just that. I Installed Ubuntu 16.04 LTS in a Vmware machine and followed the tutorial (important note here: do everything in a Terminal running under root).
Click to expand...
Click to collapse
Regarding this the above quote, I'm quite sure that you do not need to be super user to apply any of the procedure listed in the guide.
for everybody who ends in a bootloop: just keep calm, switch off phone (>10s press power button) an very quickly when it is of press power and volume down to get into flashmode again (I had to try several times)
Click to expand...
Click to collapse
Since your are suggesting "... very quickly when it is of press power and volume down ... " I can imagine that you did this procedure while your phone was connected to the laptop/PC with the USB cable. In this condition, when you force the shutdown by pressing power for 10s, the phone reboots automatically. So my suggestion is to unplug it first, in this way the phone turn off without rebooting and you can comfortably enter in the bootloader with no hurry.
luk.giak said:
On Windows, what shell did you use? PowerShell?
I'm not sure about this because I banned Windows from my personal and working life several years ago, however, recently I read some posts of people having issues with PowerShell. If this is also your case next time try to use classic cmd.
Click to expand...
Click to collapse
I was using CMD / Command Prompt on win10, but maybe I have to many ADBs/Drivers/... installed. got a really weird behavior...
Regarding this the above quote, I'm quite sure that you do not need to be super user to apply any of the procedure listed in the guide.
Click to expand...
Click to collapse
without root it wouldn't work, i got "no permissions (user in plugdev group; are your udev rules wrong?)"
with root everything ran smoothly
Since your are suggesting "... very quickly when it is of press power and volume down ... " I can imagine that you did this procedure while your phone was connected to the laptop/PC with the USB cable. In this condition, when you force the shutdown by pressing power for 10s, the phone reboots automatically. So my suggestion is to unplug it first, in this way the phone turn off without rebooting and you can comfortably enter in the bootloader with no hurry.
Click to expand...
Click to collapse
Oh! Yep, that sounds like it would have been the better way to do it
Thanks for your post and your answers.
BTW: half-OT do you know any way to get netflix running after the rooting?
For your information.
I follow part 5 and updated my firmware to version 1.7.3 successfully. Thanks for this guide.
AndroidenKalle said:
For your information.
I follow part 5 and updated my firmware to version 1.7.3 successfully. Thanks for this guide.
Click to expand...
Click to collapse
Your welcome!
For your information.
I follow part 5 and updated my firmware to version 2.0.0 (Android Pie 9) successfully.
AndroidenKalle said:
For your information.
I follow part 5 and updated my firmware to version 2.0.0 (Android Pie 9) successfully.
Click to expand...
Click to collapse
Thanks for sharing.
I'm on PIE as well. Today I flashed the factory image to make a clean install.
Hello, maybe someone can be of help to my situation.
I had my phone rooted in the last firmware version (1.7.3), and I was getting notifications to update to Android 9 pie for some time, however I was waiting to have some time to spare and first backup my files and do a factory update to pie and then root.
However, last nigh without warning my phone just rebooted and updated to pie, (firmware ver 2.0.2) and I lost root obviously. However, all my files, apps, etc were intact.
So today I decided to root my phone again. I download the firmware zip from BQ's site and then used Magisk (ver. 19.2) to patch the boot.img.
I rebooted to fastboot and did "sudo fastboot flash magisk_patched.img", and rebooted but the phone got stuck in the logo screen.
Then I used method 5 of this tutorial and ran ./sdm660_fastboot_upgrade.sh (with the mentioned modifications), however it bootlooped again. Then I flashed the original boot img and my phone booted just fine again, I tried to patch the img again, did again step 4 and it bootlooped again.
Any clues on how to successfully root ? Never had any problems updating and rooting from firmware 1.4.0 to 1.7.3.
Thank you for your time

Twrp and Root

Any news on twrp or orange fox supporting the device
must after bl is unlocked, i guess
mautik gohil ***how to unlock realme x bootloader*
Note: Please find full kernel sources in the link below!
https://github.com/realme-kernel-opensource/realmeX-kernel-source
Read the full disclaimer below, and keep in mind that after unlocking Widevine L1 will be replaced by Widevine L3.
Hi realme X users,
Have you been wanting to unlock your realme X bootloader since the very first day you got it? The wait is finally over as today we’re releasing the tool to unlock the bootloader as well as the complete kernel code!
Before proceeding, please make sure to read the disclaimer below so you know exactly what you’re getting yourself into.
Keep in mind that the process of unlocking the bootloader will be referred to as in-depth test in the tutorial.
First, please read the “Disclaimer” carefully.
【Disclaimer】
1. After unlocking your phone ALL OF YOUR DATA WILL BE ERASED! Backup before you proceed.
2. 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 phone may leak, and security may be compromised.
5. In-depth test may modify some of the system functions, and prevent you from updating the system version to enjoy the latest ColorOS.
6. After unlocking Widevine L1 will be replaced by Widevine L3.
Second, read the steps below for the in-depth test
Preparation:
realme X - with 60%+ battery
1 x USB Cable
1 x PC / MacBook
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. Download and install the unlock tool apk on your phone.
https://drive.google.com/drive/folders/1ZOej_PpLn4cU_RyA9TIVMqFPs6KiOL7e?usp=sharing
Install it to apply for the bootloader unlock via the tool.
Step 4. Follow the detailed steps below 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 servers.
#5. 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.
#6. You can now click “Start the in-depth test” and the device will reboot automatically. The following string will display on the screen: fast boot_unlock_verify ok
#7. Download and install the fastboot tool on your PC or MacBook (check this https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/), use a cable to connect phone and PC. In Fastboot mode use engineering command in the picture below to unlock
- Enter the command: adb reboot bootloader
- Press “Enter”on your keyboard
- Enter the command: fastboot flashing unlock
- Press “Enter”on your keyboard
#8. On your phone press the Volume Up key to select “Unlock” (or press the Volume Down key if you have changed your mind to select “Do not unlock bootloader”).
When you click the Volume Up, you will enter the new interface showed below.
Then enter command "fastboot reboot”. Then phone will reboot and enter the in-depth test mode - all user data on the phone will be erased - we recommend you perform a data backup prior to applying
FAQ
Q1: How to relock the bootloader?
#1. Download the unlock tool again to apply to exit the in-depth test.
#2. Click “Apply to exit in-depth test”. Your phone will reboot automatically, and you will enter the Fastboot mode.
#3. In the Fastboot mode, use the engineering command below on your PC to re-lock the bootloader.
- Enter the command: adb reboot bootloader
- Press “Enter” on your keyboard
- Enter the command: fastboot flashing lock
- Press “Enter” on your keyboard
Thanks for the post!?
thanks

Categories

Resources