[Guide] [All-In-One] Redmi 4 Prime (markw): Unlock Bootloader, Flash TWRP, Flash ROM - Xiaomi Redmi 4 Prime Guides, News, & Discussion

Dear Redmi 4 Prime ¦ Pro user,
I'm not responsible if anything happens to your device. If you execute this procedure properly then you shouldn't face any problems. I tried this procedure at several Redmi 4 Prime ¦ Pro devices (some with original roms and some with fake roms) and every time it worked flawlessly. I used a PC with Windows 10.
Before you proceed please back up all your important data and make sure that your phone battery is charged >80%!!!
A. Prerequisites:
1. Disable driver signature enforcement in Windows
How to do this pls read here: http://en.miui.com/thread-237673-1-1.html
2. Install ADB and Fastboot tools with drivers on Windows
How to do this pls read here: https://forum.xda-developers.com/showthread.php?t=2588979
3. Enable "OEM unlocking" and "USB debugging" in your device
a. Enable Developer Options in: Settings/About Phone/MIUI version. Click on MIUI version seven times
b. Now go to: Additional Settings/Developer Options and check "OEM unlocking" and "USB debugging"
c. Now go to: Additional Settings/Privacy and check "Unknown sources" (just in case you need to install any apps *.apk*)
4. Download recovery (twrp) flashable original Xiaomi roms
Download recovery (twrp) flashable rom China developer and China stable and International stable and put them into your devices internal memory.
http://en.miui.com/download-320.html#463
Why do you want to do this? You can find the answer in Points C. 1. b. or C. 2. b.!
5. Check if your bootloader is locked
a. After successful installation of "ADB and Fastboot" enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your PC via USB cable (best would be the original cable).
b. Go to the folder where you have put the "ADB and Fastboot" and open a command window inside that folder. To do that hold together "Shift + Right Click" on any empty white space inside the folder and then select "Open Command Window Here" or "Open PowerShell Window Here"
c. Enter the terminal command in command line: >>fastboot devices<<
If you don't see your device it means that the drivers weren't installed properly or the device wasn't connected properly. If this happens please reinstall your drivers from Point A. 1. or try these drivers here:
http://xiaomiadvices.com/download-xiaomi-usb-drivers/
d. If you see your device then enter the terminal command in command line: >>fastboot oem device-info<<
If your bootloader is locked, you'll get the following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: false
(bootloader) Device critical unlocked: false
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.058s]
finished. total time: 0.063s
………………………………………………………………………
If your bootloader is unlocked, you'll get following status (or something similar):
…………………………………………………………………….
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Device critical unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
OKAY [ 0.053s]
finished. total time: 0.055s
………………………………………………………………………
6. Request Permission from Xiaomi to Unlock the Bootloader
a. Create a Mi Account: https://account.xiaomi.com/pass/register
b. Sign to Xiaomi and apply for unlocking http://en.miui.com/unlock
You have to give a reason for requesting to unlock the bootloader. I gave following reason on my request:
"I purchased my Xiomi Redmi 4 Prime from the vendor xxx and they have installed a fake (custom) rom. I want to install an original rom from Xiaomi. So please approve my request to unlock the bootloader."
c. Wait for permission. This permission process can last up to 10 days, but you can start the request before you receive your device. If your request is approved then you should receive a message with following content:
"You've been granted the permission to unlock your device (Mi Account xxxx). Donload Mi Unlock Tool At http://en.miui.com/unlock"
After the receipt of the message from Xiaomi for positive approval please:
>>>> Continue with Point B if in your device is installed a fake rom.
>>>> Continue with Point D if in your device is installed an original Xiaomi rom.
How to find out if your rom is original or fake? Please read this: http://en.miui.com/thread-392159-1-1.html
B: Unlock the Bootloader Temporarily (if in your device is installed a fake rom)
Special thanks to @kentaurest for his post at: https://forum.xda-developers.com/android/development/unlocking-t3515252
1. You must enable "OEM unlocking" and "USB debugging" as per point A. 3.
2. Connect the device with PC and allow connection
3. Turn off the device
4. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your PC via USB cable (best would be the original cable).
5. Enter terminal command in command line: >>fastboot oem device-info<<
6. Enter terminal command in command line: >>fastboot oem unlock-go<<
7. Enter again terminal command in command line: >>fastboot oem device-info<< (to check if the bootloader is unlocked)
8. Restart the device
C. Ditch the Fake Rom and Install the Xiaomi Original Rom
1. International Stable or China Stable
If you don't intend to permanently unlock the bootloader, install TWRP and install a custom rom (lineage etc.) but you still want to ditch the fake rom and install a Xiaomi original rom then:
a. Fastboot Method:
+ Download the original rom "China stable" or "International stable" here: http://en.miui.com/a-234.html and (important: the downloaded rom must have the extension *.tgz*) put it into separate folder (say "RM4 Pro") and unzip it.
+ Download the MiFlash tool here http://en.miui.com/thread-281979-1-1.html and follow instructions how to install it.
+ Enter fastboot mode by holding together "Volume Down + Power" and connect your device to your PC via USB cable (best would be the original cable).
+ Start the MiFlash tool, click "Select", find the folder "RM4 Pro" and click on the desired rom. Now click "Refresh" and you should see the rom in the MiFlash tool. Now click "Flash" and wait until the rom is installed.
If for any reason the Fastboot Method does not work try another MiFlash tool. If it still does not work because your PC does not recognize the other MiFlash tool as well then please try also the Recovery Method.
b. Recovery Method
See also Point A. 4. So I assume you have put into your devices internal memory the recovery (twrp) flashable rom China stable or International stable. Now execute the procedure in Point E and when you have an workable twrp installed in your device do not restart the phone but install the twrp flashable rom International or China stable as per procedure described in Point F!
2. China Developer
If you intend to unlock the bootloader, install TWRP and install custom rom (lineage etc.) you need the original China developer rom:
a. Fastboot Method:
+ Download the China developer rom here http://en.miui.com/a-234.html and (important: downloaded rom must have the extension *.tgz*) put it into separate folder (say "RM4 Pro") and unzip it.
+ Download the MiFlash tool here http://en.miui.com/thread-281979-1-1.html and follow instructions how to install it.
+ Enter fastboot mode by holding together "Volume Down + Power" buttons and connect your device to your PC via USB cable (best would be the original cable).
+ Start the MiFlash tool, click "Select", find the folder RM4 Pro and click on the desired rom. Now click "Refresh" and you should see the rom in the MiFlash tool. Now click "Flash" and wait until the rom is installed.
If for any reason the Fastboot Method does not work try another MiFlash tool. If it still does not work because your PC does not recognize the other MiFlash tool as well then please try also the Recovery Method.
b. Recovery Method
See also Point A. 4. So I assume you have put into your devices internal memory the recovery (twrp) flashable rom china developer. Now execute procedure in Point E and when you have an workable twrp installed in your device do not restart the phone but install the twrp flashable rom China developer as per procedure described in Point F!
D: Unlock the Bootloader Permanently (if in your device is installed original Xiaomi rom - developer or global or China stable)
1. You must enable "OEM unlocking" and "USB debugging" as per point A. 4.
2. Connect your Xiaomi account with your device: Developer Options/Unlock Status
3. Download Mi Unlock Tool here: http://en.miui.com/unlock
4. Enter the fastboot mode by holding together "Volume Down + Power" and connect your device to your PC via USB cable (best would be the original cable)
5. Start the Mi Unlock Tool
6. Enter your eMail and your password of your Mi Account
7. Connect you device to your PC and start the unlock procedure
8. Follow the unlock tool instructions until the unlock procedure is finished
9. Reboot your device
Edit: Some users are reporting that the latest version of the bootloader unlock tool (http://en.miui.com/unlock) is not working for them. I tried myself also the unlock tool "miflash_unlock-en-2.2.624.14" on several devices (Redmi 4 Prime, Redmi Note 4, Mi5, Mi5s ) and every time it unlocked the devices. Here download link: https://mega.nz/#!JhZVhTpC!k-CH3dG0ukHQs4BSAhP1pvwmV4GG2QAsQAfvzprqW1g
E: Install the TWRP Recovery
(until we have an official twrp for markw published at: https://twrp.me/Devices/)
Special thanks to @Anik_khan for his great work. I'm just coping his great work and adapting it a bit to fit this guide.
https://forum.xda-developers.com/android/development/unofficial-twrp-3-0-2-0-recovery-redmi-t3550074
1. Your bootloader must be temporarily (see point B.) or permanently (see point D.) unlocked
2. Enter fastboot mode by holding together "Volume Down + Power"
3. Download "twrp-3.0.3-0-markw.img" (from here: https://build.twrp.me/twrp-3.0.3-0-markw.img) and Lazy Flasher (from here: https://www.androidfilehost.com/?fid=529152257862700328) and put them into a dedicated folder
4. Copy Lazy Flasher in your internal phone memory
5. Go to the folder where you have put the twrp-file. Now open a command window inside that folder. To do that hold together "Shift + Right click" on any empty white space inside the folder and then select "Open Command Window Here" or "Open PowerShell Window Here"
6. Enter the terminal command in command line: >>fastboot flash recovery twrp-3.0.3-0-markw.img<<. Attention: Do not restart your device!
7. Boot into recovery (3 possible methods)
+ by entering terminal command in command line: >>fastboot boot recovery.img<<, or
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up” until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
8. Now flash the Lazy Flasher
9. You can now reboot (if your bootloader is permanently unlocked) or wipe the fake rom and install China developer rom (See also Points C. 1. b. or C. 2. b.).
F. Install Lineage or Resurrection Remix (or any other custom rom like: xiaomi.eu || mi-globe.com etc.)
Once you have a workable twrp installed on your device you can enter recovery mode and install custom roms like Lineage, Resurrection Remix etc.
1. Download the desired rom (https://download.lineageos.org || http://www.resurrectionremix.com || https://xiaomi.eu || https://mi-globe.com etc.) and put it into device's internal memory
2. (in case you want to have root on your device) Download "addonsu-arm64-signed.zip" (for Lineage: download.lineageos.org/extras) or latest SuperSU (for xiomi.eu please download from chainfire.eu) and put it into device's internal memory
3. Download Google Apps ARM64, Pico, Nano etc. at opengapps.org and put them into device's internal memory. No need for GApps for xiomi.eu or mi-globe.com as they have GApps already integrated.
4. Enter recovery mode:
+ by holding together "Volume Up + Power" until you see the MI logo, release "Power" button but keep pressing "Volume Up" until you see the recovery, or
+ by holding together "Volume Up + Volume Down + Power" until you see recovery
5. Wipe: Dalvik / Art Cache; System; Data; Cache; (be careful, don't wipe internal storage!)
6. Go back to main twrp screen and install the rom, install Google Apps 7.1 ARM64, install "addonsu-arm64-signed.zip" (in case of Lineage) or the latest SuperSU (in case of xiomi.eu). Mi-globe.com roms are already rooted so no need to flash SuperSU.
7. Reboot. That’s it, you are done.
If my guide helped you pls click "thanks" and enjoy your phone. :fingers-crossed:

Wow, its a huge effort of collecting these information for this thread.
For those new to unlocking bootloader, root with this amazing phone, i'll say that this is the best all-in-one thread i've seen so far.
Sent from my Redmi 4 using XDA-Developers Legacy app

No matter how many times I try getting permission from http://en.miui.com/unlock, the webpage does not work for me. Tried with Firefox, Chrome and even with Internet Explorer. After I login, a chinese message appears. According to Google Translate, the message says:
"Account system upgrade, temporarily unable to register, will be the identity of visitors to visit..."

doragasu said:
No matter how many times I try getting permission from http://en.miui.com/unlock, the webpage does not work for me. Tried with Firefox, Chrome and even with Internet Explorer. After I login, a chinese message appears. According to Google Translate, the message says:
"Account system upgrade, temporarily unable to register, will be the identity of visitors to visit..."
Click to expand...
Click to collapse
Strange, because couple of days ago I got another approval on my second email-address and my second cell number. I just tried the link http://en.miui.com/unlock with both of my email-adresses and everything works fine. Maybe you should try registering with another email-address from another provider like: [email protected] or [email protected] etc. and another cell number.

So is the china developer rom necessary to unlock the bootloader?, i have the official global rom and i get an error flashing the developer one (flash tz error)

Hypnotizing said:
So is the china developer rom necessary to unlock the bootloader?, i have the official global rom and i get an error flashing the developer one (flash tz error)
Click to expand...
Click to collapse
Have you tried to unlock the bootloader with your existing original global rom? If you couldn't unlock the bootloader and you couldn't install the developer rom with fastboot or recovery method then I guess you should consider your official global rom as "fake" rom and perform the steps as described in points B and C in this guide to install the developer rom and then go ahead with the rest.

Hypnotizing said:
So is the china developer rom necessary to unlock the bootloader?, i have the official global rom and i get an error flashing the developer one (flash tz error)
Click to expand...
Click to collapse
No!
My device are in global 8.1.2.0 and i got unlocked bootloader!
Enviado de meu Redmi 4 usando Tapatalk

Just wanted to add: for those who want to switch the capacitive touch buttons around (if you have root privileges):
On the phone, enable root privileges to apps. This is to be switched back after changing the keys around
• File manager (use the default with lineageos)
• Settings > General > Access > Extended
• /system/usr/keylayout/generic.kl
• Switch 139 with 158 and vice versa

Tried again today, and I was able to get approval to unlock the bootloader. It just took a pair of hours to receive the confirmation SMS. But I am stuck again
I launch MI Unlock tool, log in, the driver is properly installed, I click the unlock button, and when it reachs 50%, it errors saying the device is already unlocked:
{
"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"
}
But it happened since the first try, it does not look that the phone is unlocked. How can I know for sure?
Anyway I tried continuing with the tutorial at step E, just in case it is unlocked. I enter fastboot, flash twrp (it looks successful) but when I try entering the bootloader, depending on the method I get:
- fastboot boot recovery.img: does not work, since recovery.img image is not provided. If I replace recovery.img by twrp image, I get a black screen (by the way, fastboot on PC errors with message "FAILED (status read failed (Too many links))".
- Volume UP + Power method: service menu. If I press "recovery" in the menu, I get a black screen (I have to reboot keeping power button pressed about 10 seconds).
- Volume UP + Volume Down + Power: Black screen again.
I suppose the black screens are normal and the problem is that unlocking is failing, but why???
EDIT: Didn't see the fastboot command to check if bootloader is unlocked. I have done it and I have confirmed that bootloader is NOT unlocked

OK, flashed the official chinese ROM using fastboot method, and now it goes a bit further, but unlock is still failing, now with message "Binding time is too short, less than 72 hours":
What does this mean? Must I wait 72 hours before trying again?
Also the official ROM has no google play... Is there a way to flash gapps without root? I suppose there is not, but asking just in case...
---------- Post added at 05:53 PM ---------- Previous post was at 04:59 PM ----------
Nevermind, got it working. I downloaded an older version (v1.1) of the MI unlock tool, and it unlocked the bootloader perfect!
Now it's time to test some roms!!!

doragasu said:
OK, flashed the official chinese ROM using fastboot method, and now it goes a bit further, but unlock is still failing, now with message "Binding time is too short, less than 72 hours":
What does this mean? Must I wait 72 hours before trying again?
Also the official ROM has no google play... Is there a way to flash gapps without root? I suppose there is not, but asking just in case...
---------- Post added at 05:53 PM ---------- Previous post was at 04:59 PM ----------
Nevermind, got it working. I downloaded an older version (v1.1) of the MI unlock tool, and it unlocked the bootloader perfect!
Now it's time to test some roms!!!
Click to expand...
Click to collapse
had the same problem. found the same solution. here unlocker v1.11 mayb op should add problem / solution to the post

ttheodorou said:
had the same problem. found the same solution. here unlocker v1.11 mayb op should add problem / solution to the post
Click to expand...
Click to collapse
Thanks for the tip @ttheodorou! I already added this to point D.

Hi
I buy a Redmi 4 Pro and flash TWRP but everytime adb say all is fine but when i boot in to the TWRP the i become a Black Screen with a white handy and cable. I try a lot of TWRP from xda from here but its always the same. I try to find a solution by google but nothing. I dont want a new rom or so i just want root. I unlocked the Bootloader this has worked fine.
Android-Version 6.0.1 MMB29M
MIUI-Version global 8.2 Stable 8.2.4.0 (MBEMIDL)
I've done it. If somebody have the same problem after you flash the recovery press power+volume up directly from the fastboot screen then it will works.

Can this be done without any pc?

Zix Zax2 said:
Can this be done without any pc?
Click to expand...
Click to collapse
Unfortunately not yet.

wiped internal storage.
Guys, i accidentally wiped internal storage.
Now the phone says it has no sd card. Can't use the camera, download files or create folders.
What should i do?
THank you very much!

Escapius said:
Guys, i accidentally wiped internal storage.
Now the phone says it has no sd card. Can't use the camera, download files or create folders.
What should i do?
THank you very much!
Click to expand...
Click to collapse
Enter recovery mode (how to do that, see Section E, Point 7), connect your PC and transfer files (roms, gapps, addons, apps etc.) into your phone....

Flash
I do unlock , root and twrp
Now i want to flash global rom, and i want to locked bootloader again. What must i do? Thanks foe answer

yoodysmart said:
I do unlock , root and twrp
Now i want to flash global rom, and i want to locked bootloader again. What must i do? Thanks foe answer
Click to expand...
Click to collapse
[64bit PC needed]
With MiFlash and Fastboot mode, install all Fastboot drivers for your Redmi, install MiFlash Tool beta, download the Fastboot ROM from en.miui.com and select "clean all and lock)
You lose all data and relock your bootloader.
Sent from my markw using XDA Labs
---------- Post added at 02:03 PM ---------- Previous post was at 02:03 PM ----------
N1ck474 said:
[64bit PC needed]
With MiFlash and Fastboot mode, install all Fastboot drivers for your Redmi, install MiFlash Tool beta, download the Fastboot ROM from en.miui.com and from MiFlash select "clean all and lock"
You lose all data and relock your bootloader.
Click to expand...
Click to collapse
Sent from my markw using XDA Labs

I forgot to flash lazyflasher now I got stuck in Mi logo, how do I force to turn off/ go to fastboot mode ?

Related

[Tested]How to Root the Moto X Play

I. Before You Begin
1. This could void the warranty of your device. We won’t be held responsible for anything that happens from doing this tutorial so please proceed at your own risk.
2. You need a Windows based PC in order to do this procedure.
3. You should have Motorola USB drivers installed on your PC. If you don’t, install them first.
4. This should erase all the data stored on your device. So, please backup everything that you’ll need.
5. This should also flash a custom recovery on your device.
How to Root the Motorola Moto X Play
Root the Moto X Play
Photo Credit: fonearena.com
To root the device, you’ll first unlock the bootloader, flash a custom recovery, and then flash SuperSU using the custom recovery to achieve root access. Here’s how:
II. Downloading Required Files
1. Download Fastboot and save it to your desktop.
Fastboot
2. Download TWRP Recovery and save it to your desktop.
TWRP Recovery
3. Download SuperSU and save it to your desktop.
SuperSU
III. Unlocking the Bootloader on the Motorola Moto X Play
1. Extract files from Fastboot over to your desktop by right-clicking on it and selecting Extract here.
2. Turn off your device.
3. Turn your device back on in fastboot mode. To do that, hold down Volume DOWN and Power buttons together for a few seconds.
4. Your device should now be in fastboot mode.
5. Plug in your device to your PC using a USB cable.
6. Launch a Command Prompt Window on your desktop by holding down Shift and right-clicking anywhere on the screen and selecting Open command window here.
7. Type in the following command into the Command Prompt Window and hit Enter:
Code:
fastboot oem get_unlock_data
8. You should see a string of text on your screen. Copy it to your clipboard removing any spaces so that it is a long string of text.
9. Head over to the Motorola Bootloader Unlock website and get yourself logged-in. If you don’t have an account with them, create one now.
10. One of the steps on that website will ask you to paste the string of text. Just paste the string that you’ve already copied to your clipboard and follow the on-screen instructions.
11. You’ll receive an unlock key to your email address. Copy that key to your clipboard.
12. Now, type in the following command replacing KEY with the actual unlock key that you’ve copied to your clipboard and hit Enter:
Code:
fastboot oem unlock KEY
13. Wait for it to unlock the bootloader on your device.
14. When it’s done unlocking the bootloader, reboot your device by issuing the following command:
Code:
fastboot reboot
15. Your device should reboot.
And there you go.
The bootloader on your Motorola Moto X Play is now unlocked, and you can now flash a custom recovery on your device. Here’s how you can do that:
IV. Flashing a Custom Recovery on the Motorola Moto X Play
1. Turn off your device.
2. Reboot your device into fastboot mode by holding down Volume DOWN and Power buttons together for a few seconds.
3. Connect your device to your PC using a USB cable.
4. Open a Command Prompt Window on your desktop. To do that, hold down Shift and right-click anywhere on your screen and select Open command window here.
5. Type in the following command into the Command Prompt Window and hit Enter. Make sure to replace recovery.img with the actual name of the recovery image that you have downloaded.
Code:
fastboot flash recovery recovery.img
6. Wait for it to flash a custom recovery on your device.
7. When it’s done flashing a recovery, reboot your device by using the following command:
Code:
fastboot reboot
8. Your device should reboot.
Your Motorola Moto X Play now has a custom recovery using which you can gain root access on your device. Here’s how:
V. Rooting the Motorola Moto X Play
1. Connect your device to your PC using a USB cable.
2. Copy SuperSU .zip from your desktop over to the internal SD card storage on your device.
3. Unplug your device from your PC when SuperSU is copied.
4. Turn off your device.
5. Turn your device back on in recovery mode. To do that, hold down Volume DOWN and Power buttons together.
6. Your device should reboot into bootloader mode.
7. Select Recovery from the options appearing on your screen.
8. Select Install in the recovery menu.
9. Choose SuperSU .zip to be installed on your device.
10. Tap on Swipe to Confirm Flash to confirm flash.
11. Wait for it to flash SuperSU on your device.
12. When it’s done flashing SuperSU, reboot your device by selecting Reboot followed by System in the recovery menu.
13. Your device should reboot.
Source: http://theunlockr.com/2015/09/21/root-motorola-moto-x-play/
Nice plagiarism here..... [emoji35]
How is it plagiarism if I have mentioned the source?
going into recovery mode gives me the dead android with the red triangle logo with the text "no command." under it. i tried both twrp versions.
Auros42 said:
going into recovery mode gives me the dead android with the red triangle logo with the text "no command." under it. i tried both twrp versions.
Click to expand...
Click to collapse
The same here (Dual-Sim-Version) :crying:
Also link forFastboot ist down
route9 said:
The same here (Dual-Sim-Version) :crying:
Also link forFastboot ist down
Click to expand...
Click to collapse
Make sure you get this version.
twrp-lux-2.8.7-v2.img
for fastboot:
http://forum.xda-developers.com/showthread.php?t=2317790
This works, I tried that, I have root now
Enviado desde mi XT1562 mediante Tapatalk
I can confirm that this recovery worked.
Model India Moto X Play Dual Sim - (xt1562)
route9 said:
The same here (Dual-Sim-Version) :crying:
Also link forFastboot ist down
Click to expand...
Click to collapse
Flash TWRP again & boot TWRP before booting Android again. The stock rom tries to replace TWRP but TWRP will fix that on its first boot.
mahir1995 said:
Flash TWRP again & boot TWRP before booting Android again. The stock rom tries to replace TWRP but TWRP will fix that on its first boot.
Click to expand...
Click to collapse
There was trouble with opening bootloader. I used a opening-tool, which said, that the device bootloader is now open - but it wasn´t. Everything´s ok now. I managed bootloader-opening with cmd.exe.
I think this thread should be titled "tested" instead of "untested".... works great! thanks
Dear Android Gurus,
I am new to XDA forum. I am going to try rooting my new Moto X Play and I am pretty excited about this as I am trying this for the first time. Can someone please confirm if the steps given here or in theunlockr website works for Moto X Play?
Mine is the Indian version - Model# XT1562 and below are the details. Please advice.
Hardware SKU: XT1562
Baseband Version: M8936_2020613.22.03.21.33R
LUX_EMEA_DSDS_CUST
Kernel version:
3.10.49-g6d623da
[email protected] #1
Wed Jul 15 21:06:16 CDT 2015
System version
23.21.10.lux_retasia_ds.retasiaall.en.03 retin
Build number
LPD23.118-10
koolkans said:
Dear Android Gurus,
I am new to XDA forum. I am going to try rooting my new Moto X Play and I am pretty excited about this as I am trying this for the first time. Can someone please confirm if the steps given here or in theunlockr website works for Moto X Play?
Mine is the Indian version - Model# XT1562 and below are the details. Please advice.
Hardware SKU: XT1562
Baseband Version: M8936_2020613.22.03.21.33R
LUX_EMEA_DSDS_CUST
Kernel version:
3.10.49-g6d623da
[email protected] #1
Wed Jul 15 21:06:16 CDT 2015
System version
23.21.10.lux_retasia_ds.retasiaall.en.03 retin
Build number
LPD23.118-10
Click to expand...
Click to collapse
Bro, don't root if you root u will not receive android marshmallow update for your phone, and u will lose your warranty
RahulPrasad said:
Bro, don't root if you root u will not receive android marshmallow update for your phone, and u will lose your warranty
Click to expand...
Click to collapse
Why not? You can get the better system, called CyanogenMod . And after i tested my phone for 3 weeks i dont need warrenty. Works perfect, and cm 12.1 with a new kernel is fantastic.
Bye, Klaus
RahulPrasad said:
Bro, don't root if you root u will not receive android marshmallow update for your phone, and u will lose your warranty
Click to expand...
Click to collapse
Hi Rahul, Do you mean I should wait for the marshmallow update to be done and after that I can root or should I wait till the warranty period gets over?
If you root you will be able to get any marshmallow rom that is available for the phone anyway. So don't worry about that nonsense. The warranty however is a different issue. It's all about whether you see the 'risk' as worth it.
Work !!
I root it in ten minute, thanks.
Can it be changed to say 'tested and works great', as it does.
Sent from my XT1562 using Tapatalk
I also have a concern on rooting. I like Moto Display function, so if I root it, I will lose it, so I will not.
SteveCC said:
I also have a concern on rooting. I like Moto Display function, so if I root it, I will lose it, so I will not.
Click to expand...
Click to collapse
That's a function of the ROM. I'm rooted with a custom recovery and stock ROM, and still have it.

[Guide] Unlocking the Mi4c Bootloader without verification by Xiaomi

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

How to Root MOTO X PLAY XT1562 Running Android 6.0.1

Hello Moto X Play owners
This guide is for those who still don't figure out how to root moto x play running android 6.0.1(stock Rom)
Old Thread for rooting moto x play is outdated, so decide to write this one with updated steps and links.
As usual I'm not responsible for your bricked device, as Motorola says Unlocking your boot loader is not for the faint of heart. you can't blame anybody but yourself. You will loose your warranty by unlocking your boot loader. and you will loose every data on your phone.
Still want to root your phone, okay fine follow these three steps to root your phone.
They are 3 Steps involved in this process.
1, Unlocking the Bootloader
2, install custom recovery
3, Install Super SU
Before you begin
A. Back up all your data. yes you gonna loose entire stuffs on your phone.
B. Download all the required files from the below links
1.Download and install Motorola USB Drivers
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
2.Download Fast boot and extract it to your hard drive (file attached on this thread)
3.Download TWRP latest version (do not extract)
http://forum.xda-developers.com/devdb/project/dl/?id=17934
4. Download Super SU V. 2.62-3 (do not extract)
https://download.chainfire.eu/751/SuperSU/
Now you are ready to begin
Step 1 : Unlock Bootloader
1. Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
2. Plug in your device to your PC using a USB cable.
3. Head over to the Motorola website to get your unlocking key and follow the steps provided there or follow the same steps provided below.
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
3. Go to the extracted fastboot folder and open a command prompt (ctrl+shift+right click and open command prompt)
4. At the prompt, type
Code:
fastboot oem get_unlock_data
The returned string will be used to retrieve your unlock key.
Example: On a Windows Desktop, the returned string format would be
fastboot oem get_unlock_data
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
copy this from the command prompt and paste in a notepad and remove all (bootloader) and make it string like belwo
0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000
5. Check if your device can be unlocked by pasting this string in the field below, and clicking “Can my device be unlocked?”
If your device is unlockable, a "REQUEST UNLOCK KEY" button will now appear at the bottom of this page and agree the terms and condition and check your mail box for unlock key
6. copy your unlock code from mail and type the following command to unlock bootloader
Code:
fastboot oem unlock KEY
replace unlock key with your copied code from mail. Now you will see a unlocked message on your device and your device will reboot. you will see a unlocked bootloader warning with vibration on your phone and you are successfully unlocked your bootloader.
Step 02 Installing custom recovery TWRP
7.Put your device in fastboot mode again (power off, then press the power and volume down buttons simultaneously).
8.Type in the following command into the Command Prompt Window and Enter.
Code:
fastboot flash recovery twrp-lux-3.0.2-r3.img
note that fastboot flash recovery is command and twrp... is our file name so if you are using different version change the name accordingly
9. Now restart your device using keys in your phone to recovery (make sure your are rebooting in to recovery)
10.When prompted allow twrp to make changes. And make a back up of your system from the twrp menu
(do not choose read only, if you choose read only android will erase your recovery next time you reboot and you can not root your phone.)
Step 03 Rooting your phone using Super SU V. 2.62-3
warning : make sure you have a back up of your current system copied to your hard disk or else you can't restore your device if something went wrong.
11. Copy your downloaded super su file to your phone
12. Unplug your device from computer and restart to recovery
13. Go to terminal in TWRP - Advanced-Terminal type command in your phone
Code:
echo SYSTEMLESS=true>>/data/.supersu
14. flash super su and restart your phone.
Congrats you've rooted your phone successfully .
Now you can install custom rom, xposed modules .... etc
visit my YouTube channel for more stuffs related to moto x play rooted phones :good:
https://www.youtube.com/channel/UCOcePwMSubyeW0eBWr5SW6Q
Android 7.0 most stable Custom Rom for Moto x play so far
https://www.youtube.com/watch?v=4DFrOVmCqdk&t=7s
reserved
Should it work on XT1563?
CheyTac-12 said:
Should it work on XT1563?
Click to expand...
Click to collapse
It supposed to work but I got xt1562 so I haven't personally checked this on xt1563 so I can't guarantee that. But in the previous thread people rooted their xt1563 using this method.
Before you can enter the unlock code in Fastboot, you have to enable it in the developer options first.
Thanks...I tried many methods like one click...but none worked...gonna try .. thanks for info????
Abisheik01 said:
Thanks...I tried many methods like one click...but none worked...gonna try .. thanks for info
Click to expand...
Click to collapse
so what happened ? let us know the result :good::laugh:
Check my youtube channel for custom rom tutorials and other stuffs for your moto x play
https://www.youtube.com/channel/UCOcePwMSubyeW0eBWr5SW6Q
Yo!!!again thanks
hey!hey!hey! i got it thankyou very much...unlocking the bootloader was a very big task for me but with your steps i did it im on my way to flash twrp ..........again thanks
How easy is it to revert to stock once the Nougat update rolls out? I like the stock rom but don't want to miss the update just for adaway and Xposed
purplegreendave said:
How easy is it to revert to stock once the Nougat update rolls out? I like the stock rom but don't want to miss the update just for adaway and Xposed
Click to expand...
Click to collapse
Better you keep your bootloader locked. There's no point to loose your warranty if you love stock rom.
jerry0476 said:
Better you keep your bootloader locked. There's no point to loose your warranty if you love stock rom.
Click to expand...
Click to collapse
Bought it in January so I'm almost out of warranty anyway. All I want is Adaway, XposedGEL and system wide icon packs. Extra freedom with tasker would be nice too. I wish Moto/Lenovo would just give us a better idea of when they're rolling N out but I'm sick of waiting. If it's easy enough to lock the bootloader again and get the OTA (I'm happy to wipe the device in the meantime) then I'm going to root this week
purplegreendave said:
Bought it in January so I'm almost out of warranty anyway. All I want is Adaway, XposedGEL and system wide icon packs. Extra freedom with tasker would be nice too. I wish Moto/Lenovo would just give us a better idea of when they're rolling N out but I'm sick of waiting. If it's easy enough to lock the bootloader again and get the OTA (I'm happy to wipe the device in the meantime) then I'm going to root this week
Click to expand...
Click to collapse
We can expect OTA by the end of Dec or Jan. You can restore stock rom for sure but never tried so I can't recommend it.
How do you lock the bootloader
(I'm sorry, I'm a noob)
FIREBREATH1001 said:
How do you lock the bootloader
Click to expand...
Click to collapse
You don't. Is not possible. Unlock is not reversible. It is possible to achieve a relocked state which usually isn't helpful.
I have a strange issue where it's as if SuperSU stops and my root permissions are lost until I reboot. If I open any app that usually requests root through SuperSU it just hangs.
I'm using v2.62 so should I try a later version? Do I need to flash this in twrp or just install within Android or is this a known different problem?
farquea said:
I have a strange issue where it's as if SuperSU stops and my root permissions are lost until I reboot. If I open any app that usually requests root through SuperSU it just hangs.
I'm using v2.62 so should I try a later version? Do I need to flash this in twrp or just install within Android or is this a known different problem?
Click to expand...
Click to collapse
if you are in stock use this:
go to terminal in TWRP - Advanced-Terminal type command in your phone:
Code:
echo SYSTEMLESS=true>>/data/.supersu
flash super su and restart your phone.
there is new version 2.79:
Code:
https://my.pcloud.com/publink/show?code=XZIvxlZ2TCrbpMdwQkSiAJhQwHuv0J8lRsy
So, this is the updated guide for rooting the Moto X Play, right?
Completely working as of today still?
working but you need updated version twrp 3.0.2-r5 and supersu 2.79. here twrp:
Code:
https://my.pcloud.com/publink/show?code=XZPF6lZmr0aJ56hbe8rm51jfaaXU5L6O5EV
without systemless command you should use version 2.62-3
Code:
https://my.pcloud.com/publink/show?code=XZ5t3lZvON7CblxVEYaWhGGr9rMpY02EEpX
jerry0476 said:
Hello Moto X Play owners
This guide is for those who still don't figure out how to root moto x play running android 6.0.1(stock Rom)
Old Thread for rooting moto x play is outdated, so decide to write this one with updated steps and links.
As usual I'm not responsible for your bricked device, as Motorola says Unlocking your boot loader is not for the faint of heart. you can't blame anybody but yourself. You will loose your warranty by unlocking your boot loader. and you will loose every data on your phone.
Still want to root your phone, okay fine follow these three steps to root your phone.
They are 3 Steps involved in this process.
1, Unlocking the Bootloader
2, install custom recovery
3, Install Super SU
Before you begin
A. Back up all your data. yes you gonna loose entire stuffs on your phone.
B. Download all the required files from the below links
1.Download and install Motorola USB Drivers
https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481
2.Download Fast boot and extract it to your hard drive (file attached on this thread)
3.Download TWRP latest version (do not extract)
http://forum.xda-developers.com/devdb/project/dl/?id=17934
4. Download Super SU V. 2.62-3 (do not extract)
https://download.chainfire.eu/751/SuperSU/
Now you are ready to begin
Step 1 : Unlock Bootloader
1. Put your device in fastboot mode (power off, then press the power and volume down buttons simultaneously).
2. Plug in your device to your PC using a USB cable.
3. Head over to the Motorola website to get your unlocking key and follow the steps provided there or follow the same steps provided below.
https://motorola-global-portal.custhelp.com/app/standalone/bootloader/unlock-your-device-a
3. Go to the extracted fastboot folder and open a command prompt (ctrl+shift+right click and open command prompt)
4. At the prompt, type
Code:
fastboot oem get_unlock_data
The returned string will be used to retrieve your unlock key.
Example: On a Windows Desktop, the returned string format would be
fastboot oem get_unlock_data
(bootloader) 0A40040192024205#4C4D3556313230
(bootloader) 30373731363031303332323239#BD00
(bootloader) 8A672BA4746C2CE02328A2AC0C39F95
(bootloader) 1A3E5#1F53280002000000000000000
(bootloader) 0000000
copy this from the command prompt and paste in a notepad and remove all (bootloader) and make it string like belwo
0A40040192024205#4C4D355631323030373731363031303332323239#BD008A672BA4746C2CE02328A2AC0C39F951A3E5#1F532800020000000000000000000000
5. Check if your device can be unlocked by pasting this string in the field below, and clicking “Can my device be unlocked?”
If your device is unlockable, a "REQUEST UNLOCK KEY" button will now appear at the bottom of this page and agree the terms and condition and check your mail box for unlock key
6. copy your unlock code from mail and type the following command to unlock bootloader
Code:
fastboot oem unlock KEY
replace unlock key with your copied code from mail. Now you will see a unlocked message on your device and your device will reboot. you will see a unlocked bootloader warning with vibration on your phone and you are successfully unlocked your bootloader.
Step 02 Installing custom recovery TWRP
7.Put your device in fastboot mode again (power off, then press the power and volume down buttons simultaneously).
8.Type in the following command into the Command Prompt Window and Enter.
Code:
fastboot flash recovery twrp-lux-3.0.2-r3.img
note that fastboot flash recovery is command and twrp... is our file name so if you are using different version change the name accordingly
9. Now restart your device using keys in your phone to recovery (make sure your are rebooting in to recovery)
10.When prompted allow twrp to make changes. And make a back up of your system from the twrp menu
(do not choose read only, if you choose read only android will erase your recovery next time you reboot and you can not root your phone.)
Step 03 Rooting your phone using Super SU V. 2.62-3
warning : make sure you have a back up of your current system copied to your hard disk or else you can't restore your device if something went wrong.
11. Copy your downloaded super su file to your phone
12. Unplug your device from computer and restart to recovery
13. Go to terminal in TWRP - Advanced-Terminal type command in your phone
Code:
echo SYSTEMLESS=true>>/data/.supersu
14. flash super su and restart your phone.
Congrats you've rooted your phone successfully .
Now you can install custom rom, xposed modules .... etc
visit my YouTube channel for more stuffs related to moto x play rooted phones :good:
https://www.youtube.com/channel/UCOcePwMSubyeW0eBWr5SW6Q
Android 7.0 most stable Custom Rom for Moto x play so far
https://www.youtube.com/watch?v=4DFrOVmCqdk&t=7s
Click to expand...
Click to collapse
i can't ub my phone, plz help me
ub by fastboot
http://sv1.upsieutoc.com/2017/02/12/Untitled.jpg
ub by windroid v3.0, v3.1
http://sv1.upsieutoc.com/2017/02/12/Untitled15eff6.jpg
ub by windroid v2.4, v2.5, v2.6
http://sv1.upsieutoc.com/2017/02/12/Untitled2.jpg

Sharp Aquos S2 (SS2) and (SAT) dev thread

Authors don't take any responsibility's for any damage to your device of for loosing of guarantee.
Please link all information from this thread when you post outside of XDA.
DO NOT UPGRADE VIA OTA TO ANDROID OREO (8) (firmware 2000+) OTHERVISE YOU WILL BE NOT ABLE TO FLASH THOSE ROMS, UNLOCK OR TO DO ANYTHING NON OFFICIAL, UNLESS YOUR BOOTLOADER IS UNLOCKED
Models description:
SS2- 4gb/64gb
SAT -6gb/128 gb
DONT MESS!
Dedicated to XDA users!
Drivers and OST portable (don't use other versions of OST) press launcher.exe to install
Official S2 oreo updates:
Before you go
If you are on Android 7 after update to Android 8, you will be not able to unlock bootloader for free!
Firmwares for Service downloader:
Oreo SAT (CN) SAT-2140-0-00CN-B01
Oreo SS2 (CN) SS2-2140-0-00CN-B01
Oreo SS2/C10 (EU) SS2-2140-0-00E0-B02
Can be downloaded here: https://fih-firmware.hikaricalyx.com/sharp_en.html
To be flashed via this cracked OST 6.2.8 (note that you have to unlock bootloader and bootloader critical to be able to flash): here
Instruction: SAT owners - how to go back to stock Oreo 8.0 by @paulzie
SAT - full 2080WW http://dl.sharpmobile.com.tw/update/S2/SAT-2080-0-00WW-B02-update.zip
SAT -update from 135F to 2080WW http://dl.sharpmobile.com.tw/update/S2/SAT-2080-0-00WW-B02-135F-0-00WW-B01-update.zip
SS2-update from 135F to 2080WW http://dl.sharpmobile.com.tw/update/S2/SS2-2080-0-00WW-B02-135F-0-00WW-B01-update.zip
SS2- full 135FWW update http://dl.sharpmobile.com.tw/update/S2/SS2-135F-0-00WW-B01-update.zip
Click to expand...
Click to collapse
Guys I don't support official updates!!!!
Instruction how to get back from offical SAT/SS2 oreo WITH UNLOCKED BOOTLOADER:
-Download twrp from here https://forum.xda-developers.com/showpost.php?p=76412381&postcount=288
-Flash twrp from fastboot: "fastboot flash boot filename.img"
-Get Bootloader_oldservice.zip for you model from here https://forum.xda-developers.com/showpost.php?p=76412178&postcount=287
-flash zip from TWRP.
-now you are able to flash OST ROMS after reboot.
Click to expand...
Click to collapse
CUSTOM ROMS:
@S2/S3 Trebled 5.3 (Android 10)
@SS2(only unlocked) LINEAGE PROJECT
@SS2(only unlocked) Trebled v3.3
@SS2(only unlocked) AICP ROM
HOT! @ SS2/SAT (need unlocked)v3 Unified treble ROM project based on SIUI from Sharp S3 Oreo
Updates to Unified treble ROM project
@ SS2 (need unlocked) First custom ROM based om 135E_WW flashing via OST (only SS2(4gb/64gb))
Click to expand...
Click to collapse
FOR SAT AND SS2- OFFICIAL BASED ROMS (FOR OST) (for unbricking and downgrading. incl 9008 mode) :
@ SS2 135E_WW ROM flashing "from box" and unbricking via OST
@ SAT 127E_CN ROM flashing "from box" and unbricking via OST
Click to expand...
Click to collapse
RECOVERY:
There is no universal recovery, cos each version of rom include different kernel builds, if we use one twrp version (with for example version of 135E), wifi will work only in 135E and F versions.
So better wait for Oreo updates custom rom finals that will use same kernel and vendor versions.
Click to expand...
Click to collapse
BOOTLOADER UNLOCK:
@C10 Bootloader unlock guide
@SS2/SAT Bootloader unlock (if you have unlockcode.bin)
1. Get installed ADB/Fastboot driversand cmd - you can use OST portable (above)
2. Enable Developer optionsin android and usb debugging. Reset phone to fastboot (downloadmode) by "adb reboot bootloader" or by buttons combination..whatever.
3. Cpy unlockkey.bin to fastboot folder and type" fastboot flash unlock unlockkey.bin". You should have response "OK".
4. use fastboot-android.exe from SUT (OST portable folder). Type command " fastboot-android flashing unlock_critical". If its ok - phone screen should give a message about Bootloader unlock.
5. Enter fastboot again (download mode) and type" fastboot flash unlock unlockkey.bin". You should have response "OK".
6. Type command " fastboot oem unlock-go". If its ok - phone screen should give a message about Bootloader unlock.
7. Now you can use my OST nb0 roms to flash via SUT.
@SS2/SAT Bootloader unlock (for Android 7.1)
Download and extract attached zip (SS2- Sharp_ss2_boot_unlock_files.zip, SAT -Sharp_sat_boot_unlock_files.zip) . Manage to run windows cmd. Adb and fastboot drivers installed as mandatory,
1. Enter fastboot mode: connect usb, power off prone or restart same time pressing VOLUP + POWER, on Logo release power button. You have to see "Download mode" on screen (same thing you can do it from android with adb command: "adb reboot bootloader")
2. First of all check if you have tryes left in device-type:
"fastboot.exe oem cert_timecount get"
When is 0 you will be not able to unlock (unless you make changes) so STOP HERE! and visit here
if >0 then go to step 2.
2. Enter cmd in console: "fastboot getvar productid" -> you will get 16 digits serial number
3. Convert serial number to md5 hash ( you can to here https://www.md5hashgenerator.com/)
4. Enter cmd in console: "fastboot oem dm-verity [md5 hash generated from serial number (without quotes)]-> you should see "OK" response if you done it ok.
5. Flash this bootloader. Enter cmd in console: "fastboot flash abl unlock.elf"
6. Reboot to download mode again - enter cmd: "fastboot reboot-bootloader"
7. After reboot, enter in cmd:"fastboot oem unlock" - Get screen with unlocking!
8. Get unlock to flash critical (bootloader) partitions: "fastboot oem unlock_critical" - now you can use fastboot flash abl (or xbl) files.
Note: after accepting unlock popup on screen all data on phone will be erased!!!
When you have unlocked device repeat step 2 with commands
"fastboot.exe oem cert_timecount set 100"
I recommend to type above command each time you use fastboot, because each command used in fastboot makes this value less than before, and if it reaches 0, you will be not able to do anithing with most oem commands
You can relock bootloader anytime by cmd: fastboot oem lock
Happy rooting!
@ Backup and restore phone partitions via Dl Mode 9008 (model SS2)
@SS2 Root
BEFORE YOU GO UNLOCK BOOTLOADER!!!
Via Magisk manager https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Patched Magisk Boot.img from 135E https://drive.google.com/open?id=1m65Hq4BXlFTfzsr6wzf3zoZsIKGuK_PK
Patched Magisk Boot.img from 135F https://drive.google.com/file/d/1Ob5xVB8CNyv9k8mqgn49cqOjk1M37HJZ/view?usp=sharing
Instructions:
1) Flash patched boot: fastboot flash boot nameofpatchedbootfile.img
2) After reboot install Magisk Manager.apk
@Unbrick (alternative methode) (only model SS2(4gb/64gb)):
QPST backup I made from ss2 135C rom. https://drive.google.com/file/d/1q9elokuWhj_hKPNYi0LguJhCzZWHc-Md/view
NOT NEEDED. FLASH ANY OST ROM FOR UNBRICK.
Backup is for 4gb/64 model not for 6gb/128gb
@SS2/SAT Enter manually HS-USB 9008 mode on Sharp (Not working on Oreo!!): NOT NEEDED. FOLLOW UNCLOCK BOOTLOADER AND TYPE: fastboot oem reboot-edl WITH SERVICE BOOTLOADER FLASHED
You have to own DLOAD usb cable (with button) or make yourself one, where green+black wire can be cut together.
Methode 1
1. Enable Developer settings in Android and USB debugging
2. Connect usb mod cable (don't cut wires together yet).
3. On pc in adb type: "adb reboot edl"
4. SAME TIME when you pressed enter after above command, cut green+black wires on USB.
5. Release wire, if you have done it on time, you will get HS-USB Diagnostics 9008 device in Device Manager.
Methode2
1. Open phone cover
2. Disconnect battery
3. use usb cable and cut green+black together
4. Connect battery
5. Release wires, you will get HS-USB Diagnostics 9008 device in Device Manager
Methode3 (if you have unlocked loader) SS2
fastboot oem reboot-edl
@fastboot OEM commands:
Many thx to^
@Argoin for SAT service files and possibility of unlock. He bought it, so if you mind to thank him PM for his paypal.
@hikari_calyx for SS2 service files and also for bootloader unlock developing for FIH mobile devices .
@lolyinseo for rooting and working on project
@Шпунтик for bootloader unlock
All users helping and working on project
sharp aquos s2
una domanda cambia qualcosa con questa rom???
giuseppe1976milo said:
una domanda cambia qualcosa con questa rom???
Click to expand...
Click to collapse
questa è la Rom di unbricking
English please guys !
Use the online translator if you have difficulties with English
Forum Rules
4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature).
Click to expand...
Click to collapse
now please edit your posts and add the English translation
Yep, we have a root
{
"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"
}
lolyinseo said:
Yep, we have a root
Click to expand...
Click to collapse
Manual of root, please.
Seavovk said:
Manual of root, please.
Click to expand...
Click to collapse
Stop pushing. Be patient.
Before, bootloader needs to be unlocked. I dont have device now, but another guy will write an automated script for this procedure.
As soon is done, there will be manual for unlocking, then comes rooting.
It's so wonderful to see root on sharp s2!
That would make this phone more powerful!!
This is great! Any chance we will be able to unlock the 6/128GB (SAT) version, too?
meissner.t said:
This is great! Any chance we will be able to unlock the 6/128GB (SAT) version, too?
Click to expand...
Click to collapse
probably no!
There is need loader for this version of phone, very small chance 0,01 % we find it.
But unbricking from 9008 is possible! (not with attached files) have to do.
tks boss, I waiting a detailed guide for root
nvhung.ps said:
tks boss, I waiting a detailed guide for root
Click to expand...
Click to collapse
Use guide from Magisk, its working.
I have added 135E boot patched by magisk.
I don't have even time to power on sharp
I think I also need to buy an Aquos S2 (Codename SS2) to investigate further
hikari_calyx said:
I think I also need to buy an Aquos S2 (Codename SS2) to investigate further
Click to expand...
Click to collapse
There is S3 coming, with same hardware but new design and fingerprint on back cover.
Old s2 programmer will be usable
heineken78 said:
S3 is coming, with the same hardware, but with the new design and a fingerprint on the back cover.
Old S2 programmer will be usable
Click to expand...
Click to collapse
We are waiting for new events!
heineken78 said:
Bootloader unlock Sharp Aquos s2 (only model SS2(4gb/64gb))
Download and extract attached zip. Manage to run windows cmd. Adb and fastboot drivers installed as mandatory,
1. Enter fastboot mode: connect usb, power off prone or restart same time pressing VOLUP + POWER, on Logo release power button. You have to see "Download mode" on screen (same thing you can do it from android with adb command: "adb reboot bootloader")
2. Enter cmd in console: "fastboot getvar productid" -> you will get 16 digits serial number
3. Convert serial number to md5 hash ( you can to here https://www.md5hashgenerator.com/)
4. Enter cmd in console: "fastboot oem dm-verity [md5 hash generated from serial number (without quotes)]-> you should see "OK" response if you done it ok.
5. Flash this bootloader. Enter cmd in console: "fastboot flash abl unlock.elf"
6. Reboot to download mode again - enter cmd: "fastboot reboot-bootloader"
7. After reboot, enter in cmd:"fastboot oem unlock" - Get screen with unlocking!
Note: after accepting unlock popup on screen all data on phone will be erased!!!
You can relock bootloader anytime by cmd: fastboot oem lock
Happy rooting!
Upd Root Sharp Aquos s2 (only model SS2(4gb/64gb))
BEFORE YOU GO UNLOCK BOOTLOADER FIRST!!!
Via Magisk manager https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Boot.img from 135C https://drive.google.com/open?id=1NyOvOGDn8R-Db2_b_PTJtu7XYWbJScGm
Patched Magisk boot 135E -ready for Magisk https://drive.google.com/open?id=1m65Hq4BXlFTfzsr6wzf3zoZsIKGuK_PK
Unbrick Sharp Aquos s2 (only model SS2(4gb/64gb)) in 9008 mode:
QPST backup I made from ss2 135C rom. https://drive.google.com/file/d/1q9elokuWhj_hKPNYi0LguJhCzZWHc-Md/view
Backup is for 4gb/64 model not for 6gb/128gb
Enter manually HS-USB 9008 mode on Sharp (SS2/SAT):
You have to own DLOAD usb cable (with button) or make yourself one, where green+black wire can be cut together.
I use this cable
Methode 1
1. Enable Developer settings in Android and USB debugging
2. Connect usb mod cable (don't cut wires together yet).
3. On pc in adb type: "adb reboot edl"
4. SAME TIME when you pressed enter after above command, cut green+black wires on USB.
5. Release wire, if you have done it on time, you will get HS-USB Diagnostics 9008 device in Device Manager.
Methode2
1. Open phone cover
2. Disconnect battery
3. use usb cable and cut green+black together
4. Connect battery
5. Release wires, you will get HS-USB Diagnostics 9008 device in Device Manager
Methode3 (if you have unlocked loader)
fastboot oem reboot-edl
Many thx to @hikari_calyx for useful files for community.
Click to expand...
Click to collapse
hi friend please show me how to inter HS-USB Diagnostics 9008 mode. I already do Method 1 but not work. I don't understand step 4.
Wow! It's really a great news for my Sharp S2, I'll try to root it some time later. Thanks you so much @heineken78 !!
BTW, where did you buy this phone? I think it only sold in Mainland of China and Taiwan, am I right?
Good Job! That's really good news,thanks a lot!:good:
pcgg said:
BTW, where did you buy this phone? I think it only sold in Mainland of China and Taiwan, am I right?
Click to expand...
Click to collapse
jd.ru 156$ with delivery to Russia
jd.com
snart said:
jd.ru 156$ with delivery to Russia
jd.com
Click to expand...
Click to collapse
Cool!! I never know JD can do that... $156 includes the freight? That's even cheaper than here!

[Q/H] Safety way to Unlock Bootloader + Flash Recovery + Root

Hello dear XDA surfers, today I asked for unlock code from official Xiaomi Mi Unlock page and what i want to...
So.. I'm goin to be much much happy for any advices here, thank you. x)
1th:
Is there some way to BACKUP STOCK ROM w/ Locked BL No-Root please?
If YES, please tell me prep. steps how to do.
2nd:
Lets suppose we have done 1th step (if possible) and we go to make our POCO X3 NFC to be unlocked..
We will need :
#MiUnlockTool
Xiaomi Official Link
#USBDriver
Xiaomi Official Link
#MinimalADB&Fastboot
XDA Official Link
#Magisk
XDA Official Link
#MagiskManager
XDA Official Link
#Recovery
XDA Official Link
#DmVerityDisable
Direct DL from AFH
___If we have all that items lets prepare the phone.
3rd:
Enable Develop Settings on phone:
Settings - About - Tap several times on the Build Number = Enabled
Go to Extended options - Developer settings - Enable OEM & USB Debug
Now we should be ready to boot in Fastboot ( Vol Down +Power) then insert usb cable, wai ting for successful boot.
Restart the phone and again check if OEM & USB Debug are ENABLED
4th:
Flashing custom recovery with CMD commands:
Enter Fastboot holding VolumeDown+Power
Connect USB Cable
Launch Adb&Fastboot CMD or PowerShell
The commands:
fastboot devices
fastboot flash recovery recovery.img
It should say 'OKAY' than we should exit fastboot holding VolDown+Power to Exit
When screen goin off immediately? press VolUp+Power to enter TWRP
5th:
Now we are in TWRP Menu, should to - Wipe Data/Factory Reset & Advanced Wipe - Cache Data
Next we will flash Disable VmVerify.zip then flash Magisk.zip
If success, can to reboot and check if phone is rooted.
____________________________________________________________________________________________________________________
This is my theory based on experiences with other drivers to unlock, but first i need verification from you guys
Please feel free to correct me in any of this steps if i wrong or share correct working way to do, thanks.

Categories

Resources