[Z2/Z2 Plus] [Z2131/2] Ultimate Bootloader Unlock & TWRP Install Guide - Lenovo ZUK Z2 (Plus) Guides, News, & Discussion

There are many guides for unlocking bootloader and installing TWRP and there are many misconceptions redarding these.
This is the ultimate guide put together to clear all those.
*Use Mozilla Firefox to get the unlock_bootloader image* Chrome isn't working due to bugs in site
Things you need:
1. ZUK Z2 (Z2131/Z2132) [Obviously]
2. "unlock bootlader.img" from developer.zuk.com
3. Minimal ADB and Fastboot from Here
4. Latest TWRP from Here
5. If you want to root download SuperSU from Here
6. MI Flash Tool from Here
Unlocking bootloader factory resets the device, so backup your files before hand.
Getting the Unlock Image:
This one thing is a big problem to attain for many users.
1. Head to developer.zuk.com (Use Chrome to translate the page)
2. Click Login and use the following details
Username: [email protected]
Password: zukaccount!
Account doesn't work anymore, but you can easily create an account now.
(Login before heading to unlock page)
3 .Click Unlock at the top.
4. Click NEXT on Step 1.
5. Select Z2 from dropdown list.
6. Type in your Serial Number. (You can find it at Settings > About > Status > Serial Number)
If you have a 6 character serial number, add two zeros at end
If you have a 7 character serial number, add one zero at end
7. Give your email ID (Gmail works too)
8. Accept the conditions and click NEXT.
9. A Dialog Box opens up stating that you will recieve an email with the bootloader image.
10. Check your Inbox and Spam folders.
Unlocking Bootloader:
1. Install Minimal ADB and MI Flash (to ensure you get all drivers)
2. Place the "unlock_bootloader.img" in the fastboot installation folder.
3. Run following commands.
(a) adb devices [Your device should be listed, if not, check drivers]
(b) adb reboot bootloader
(c) fastboot -i 0x2b4c flash unlock unlock_bootloader.img
You should see this:
"target reported max download size of 1610612736 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.037s]
writing 'unlock'...
OKAY [ 0.053s]
finished. total time: 0.090s"
(d) fastboot -i 0x2b4c oem unlock-go
You should see this:
"OKAY [ 0.041s]
finished. total time: 0.041s"
(e) fastboot reboot
4. You should end up with an unlocked bootloader.
Installing TWRP:
1. Place TWRP downloaded from official site in the fastboot installation folder.
2. Run the following commands.
(a) adb reboot bootloader
(b) fastboot -i 0x2b4c flash recovery twrp.img
(c) fastboot reboot
3. You have successfully installed TWRP
Rooting using SuperSU.zip
1. Place the downloaded "SuperSU.zip" into the root folder of phone to. (That would be easy to find while installing)
2. Reboot to TWRP
3. Select Install and locate SuperSU.zip
4. Swipe to flash.
You should end up with a unlocked and rooted Z2.
Comment for flaws or if you want me to add more info at a specific step.
Note:
If you get a message saying "Daemon started succesfully" re-run the previous command.
TWRP Links:
TWRP 3.1.0
TWRP 3.1.1
TWRP 3.2.1
Thanks to Balraj at zukfans.eu for Login Details
Goodluck Unlocking :good:
Hit thanks if this helped you.

And finally a guide for newbies like me btw is there any tool to unlock bootloader and flash ROMs like other devices?

AkumDX said:
And finally a guide for newbies like me btw is there any tool to unlock bootloader and flash ROMs like other devices?
Click to expand...
Click to collapse
Happy that this helped you. I don't​ think there is any tool for unlocking and flashing (I think you are refering to ODIN for Samsung). But you can use QPST or MI Flash to flash Stock ROMs.

i stuck in second step
2. Place the "unlock_bootloader.img" in the fastboot installation folder.?????
where is this location
please help me
i can go in adb mode but i cant find the location
I FIND IT i am soo nood

{
"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"
}
i cant unlock bootloader :crying: :crying:
---------- Post added 4th June 2017 at 12:33 AM ---------- Previous post was 3rd June 2017 at 11:54 PM ----------
fix it

MacGyverLarisa said:
i stuck in second step
2. Place the "unlock_bootloader.img" in the fastboot installation folder.?????
where is this location
please help me
i can go in adb mode but i cant find the location
I FIND IT i am soo nood
Click to expand...
Click to collapse
Generally it is Program Files or Program Files (x86) > Minimal ADB and Fastboot

zakaria12 said:
i cant unlock bootloader :crying: :crying:
---------- Post added 4th June 2017 at 12:33 AM ---------- Previous post was 3rd June 2017 at 11:54 PM ----------
fix it
Click to expand...
Click to collapse
Did you fix it? If not check if you have given your serial number correctly on unlock request page. You need the device specific image

sammessi10 said:
Generally it is Program Files or Program Files (x86) > Minimal ADB and Fastboot
Click to expand...
Click to collapse
Thank you for your response
After a little thought
I Put it inside the folder that I start to adb mode and it works perfectly

Is it possible to regain warranty after locking bootloader or is the warranty lost ?

Hi is it possible for any one to upload the TWRP.img file ?
I tried it with the one which is in twrp (twrp-3.1.1-0-z2_plus) app however its not working.
It showed flash completed however its still loading old recovery.
i'm currently on android 7 with boot loader unlocked.
Thanks

zakaria12 said:
i cant unlock bootloader :crying: :crying:
---------- Post added 4th June 2017 at 12:33 AM ---------- Previous post was 3rd June 2017 at 11:54 PM ----------
fix it
Click to expand...
Click to collapse
how did you fix that?

aditya1999 said:
how did you fix that?
Click to expand...
Click to collapse
i just request the bootloader Unlock image again because its was Damaged and i flash it and its work

coolsid8 said:
Is it possible to regain warranty after locking bootloader or is the warranty lost ?
Click to expand...
Click to collapse
Yeah it is possible to regain warranty. Flash the stock firmware with QPST or Miflash

akash.mahadeshwar said:
Hi is it possible for any one to upload the TWRP.img file ?
I tried it with the one which is in twrp (twrp-3.1.1-0-z2_plus) app however its not working.
It showed flash completed however its still loading old recovery.
i'm currently on android 7 with boot loader unlocked.
Thanks
Click to expand...
Click to collapse
Try to flash 3.1.0 first and then 3.1.1

zakaria12 said:
i just request the bootloader Unlock image again because its was Damaged and i flash it and its work
Click to expand...
Click to collapse
Thanks I did the same.

Thanks for the guide. Pls do add that ZUK Z2 is not recognized as a device in fastboot.
So one must specify the OEM id . The code is "-i 0x2b4c " for Zuk Z2. So any command fastboot must be suffixed with the following code: -i 0x2b4c

My device doesn't gets detected in fastboot mode by my pc. I have tried all drivers of Lenovo and other manufacturers drivers but it can't detect my device in fastboot mode. But it detects the phone in adb and gets booted to fastboot mode and when i run the command fastboot -i 0x2b4c flash unlock unlock_bootloader.img.
It shows waiting for device . Please Help anyone!.

mity_dev said:
My device doesn't gets detected in fastboot mode by my pc. I have tried all drivers of Lenovo and other manufacturers drivers but it can't detect my device in fastboot mode. But it detects the phone in adb and gets booted to fastboot mode and when i run the command fastboot -i 0x2b4c flash unlock unlock_bootloader.img.
It shows waiting for device . Please Help anyone!.
Click to expand...
Click to collapse
Same with me.. i think it's beacause of nougat as this method is working fine with marshmallow.

sammessi10 said:
There are many guides for unlocking bootloader and installing TWRP and there are many misconceptions redarding these.
This is the ultimate guide put together to clear all those.
Things you need:
1. ZUK Z2 (Z2131/Z2132) [Obviously]
2. "unlock bootlader.img" from developer.zuk.com
3. Minimal ADB and Fastboot from Here
4. Latest TWRP from Here
5. If you want to root download SuperSU from Here
6. MI Flash Tool from Here
Getting the Unlock Image:
This one thing is a big problem to attain for many users.
1. Head to developer.zuk.com (Use Chrome to translate the page)
2. Click Login and use the following details
Username: [email protected]
Password: zukaccount!
(Login before heading to unlock page)
3 .Click Unlock at the top.
4. Click NEXT on Step 1.
5. Select Z2 from dropdown list.
6. Type in your Serial Number. (You can find it at Settings > About > Status > Serial Number)
If you have a 6 character serial number, add two zeros at end
If you have a 7 character serial number, add one zero at end
7. Give your email ID (Gmail works too)
8. Accept the conditions and click NEXT.
9. A Dialog Box opens up stating that you will recieve an email with the bootloader image.
10. Check your Inbox and Spam folders.
Unlocking Bootloader:
1. Install Minimal ADB and MI Flash (to ensure you get all drivers)
2. Place the "unlock_bootloader.img" in the fastboot installation folder.
3. Run following commands.
(a) adb devices [Your device should be listed, if not, check drivers]
(b) adb reboot bootloader
(c) fastboot -i 0x2b4c flash unlock unlock_bootloader.img
You should see this:
"target reported max download size of 1610612736 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.037s]
writing 'unlock'...
OKAY [ 0.053s]
finished. total time: 0.090s"
(d) fastboot -i 0x2b4c oem unlock-go
You should see this:
"OKAY [ 0.041s]
finished. total time: 0.041s"
(e) fastboot reboot
4. You should end up with an unlocked bootloader.
Installing TWRP:
1. Place TWRP downloaded from official site in the fastboot installation folder.
2. Run the following commands.
(a) adb reboot bootloader
(b) fastboot -i 0x2b4c flash recovery twrp.img
(c) fastboot reboot
3. You have successfully installed TWRP
Rooting using SuperSU.zip
1. Place the downloaded "SuperSU.zip" into the root folder of phone to. (That would be easy to find while installing)
2. Reboot to TWRP
3. Select Install and locate SuperSU.zip
4. Swipe to flash.
You should end up with a unlocked and rooted Z2.
Comment for flaws or if you want me to add more info at a specific step.
Note:
1. Unlocking bootloader factory resets the device, so backup your files before hand.
2. If you get a message saying "Daemon started succesfully" re-run the previous command.
TWRP Links:
TWRP 3.1.0
TWRP 3.1.1
Thanks to Balraj at zukfans.eu for Login Details
Goodluck Unlocking :good:
Hit thanks if this helped you.
Click to expand...
Click to collapse
Bro I have some questions
1st does Z2 (Z2131) custom ROM could be flashed on Z2 Plus(Z2132)?
2nd of yes then what is brushed ROM

shridhan varadkar said:
Bro I have some questions
1st does Z2 (Z2131) custom ROM could be flashed on Z2 Plus(Z2132)?
2nd of yes then what is brushed ROM
Click to expand...
Click to collapse
1. Yeah... Both the ROMs are interchangeable.
2. I never heard of it but if you are talking about Bshuy ROM, then it's a bloatfree stock ROM.
PS: Please don't quote the whole OP

Related

[TUTO+VIDEO] Unlock Bootloader-Flash Recovery-Root-Restore Back the N7 FLO- KK 4.4.4

This tutorial All In One is for all owners of the NEW NEXUS 7 FLO (2013 Edition). I've tried to be clear, helpful and simple
....-ox=O=xo-....​POST #1 => [TUTO + VIDEO] AIO Unlock Bootloader, Flash Recovery (TWRP) and Root your Nexus 7 FLO​
....-ox=O=xo-....​POST #2 =>[TUTORIAL]Download Factory Images Nexus 7 FLO - Restore back STOCK with latest KK 4.4.4
....-ox=O=xo-....​POST #3 => [HOW TO] FLASH MORE FASTER WHEN YOU USE FASTBOOT LINE COMMAND
....-ox=O=xo-....
Warning!
This guide and its guidelines are meant only and only for the new Nexus 7 "FLO" (2013).
Do not attempt to try this on the older Nexus 7 or any other device.
Applying this to any other variant might brick the device.
Read and understand the instructions carefully before proceeding any further.​
Click to expand...
Click to collapse
....-ox=O=xo-....​
Pre-requisites:
Click to expand...
Click to collapse
THIS GUIDE IS ONLY FOR WINDOWS
1) This point is really important. You’re going to lose all your datas on the device including the internal storage. So back everything up.
2) Download and Install 7zip or any other archive manager as WinRAR etc...
3) Download and install Android SDK
OR
3Bis)Download The ADB and Fastboot Tools in the same Tool ==> platform-tools.zip - md5: 15e771613370afe3c70e0be1454d2ef1 - size: 346.8KB
4) Put these 3 files in where your fastboot folder is installed; ex => => disk C: root
Unzipped this file on the folder "platform-tools" and you will find 11 files:
- aapt
- adb
- AdbWinApi.dll
- AdbWinUsbApi.dll
- aidl
- dexdump
- llvm-rs-cc
- fastboot
- dx
- NOTICE
- source.properties
5) Enable USB Debugging Mode on the tablet to connect it with the computer and use Android SDK with it.
{ Press Menu =>> Settings =>> Applications. From there navigate and click on Development option then check the USB Debugging Mode.}
If you don’t see the Development Options, you'll need to open the Settings app and scroll down to the bottom. Once you get there, tap “About Phone”. Scroll to the bottom again, until you see the Build Number entry.
Now tap Build Number a total of seven times. You'll see friendly developer messages starting with the fourth tap. After the seventh, you'll see a message congratulating you for unlocking Developer Options. “Now you are a developer".
6) At least 70% battery power to avoid uncertain shutdowns during the process.
7) The tutorial is compatible only with the Nexus 7 wifi (2013) FLO.
....-ox=O=xo-....
Process to unlock bootloader of your Nexus 7 FLO
Click to expand...
Click to collapse
-1: Connect the Nexus 7 to the computer using USB cable.
-2: Open a Command Prompt window and type the following command to reboot the device into booltoader mode:
Code:
adb reboot bootloader
-3: Type the following command to lauch the unlock process:
Code:
fastboot oem unlock
-4: You will now be prompted with a dialogue to confirm the process, go through it.
Use the Volume buttons to highlight Yes and select it using the Power button
-5: The tablet will go back to the bootloader screen. Press Power button to select Start to reboot into the unlock device
Before to install the TWRP recovery and applying the root, you need to download the latest version of the TWRP recovery and the latest version of SUPER-SU that you need to push to the root of your sd card - For downloading these files follow the links below
Click to expand...
Click to collapse
....-ox=O=xo-....
Process to install TWRP recovery on your Nexus 7 FLO
Click to expand...
Click to collapse
-1: Download the latest TWRP recovery image file
Download link- TWRP
-2: Open the folder where the recovery image file has been downloaded and rename your recovery "recovery-twrp" simply. Re-open your previous Command Prompt window.
-3: Type the following command to flash the recovery image file
Code:
fastboot flash recovery recovery-twrp.img
-4: The recovery will be flashed and the progress could be observed in the CMD window itself.
Note: To boot the Nexus tablet into Recovery, press the Volume keys (up/down) until Recovery Mode is displayed. Use the Power button to select it and the device will reboot into the TWRP recovery Mode.
....-ox=O=xo-....
Process to root your Nexus 7 FLO - Update
Click to expand...
Click to collapse
-1: Download the SuperSU root package for Nexus 7
or you can use Download link: CF-Auto-Root-flo-razor-nexus7.zip
Explanations for understand why you must use CF-Auto Root => Go to read here the Central Post
-2: Download the ZIP file (see the link above) and Extract the ZIP file
-3: Connect the tablet to your PC using USB cable.
-4:Boot your device in bootloader/fastboot mode. Usually this can be done by turning your device off, then holding VolDown+Power to turn it on.
-5:Connect your device to your computer using USB
-6: Open a new CMD window and type the following command:
For Windows
Code:
root-windows.bat
For Linux
Code:
chmod +x root-linux.sh
root-linux.sh
For Mac OS X
Code:
chmod +x root-mac.sh
root-mac.sh
Follow the on-screen instructions - watch both the computer and the device !
Note that if your device had not been unlocked before, this procedure will wipe all your datas !
And if you have some problem with the process, go to see HERE
Now your Nexus 7 FLO running on Android 4.4.4. KitKat should have be rooted with latest TWRP recovery installed and bootloader unlocked. :victory: :good:
If you need more help, following my OP and this video from @clozecall
....-ox=O=xo-....
{
"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"
}
ISSUES
Click to expand...
Click to collapse
If you have some problem after to flash the recovery, and you stay stuck on during 5mn + You need to wipe data and factory reset on settings and normally all should be work perfectly after
Click to expand...
Click to collapse
....-ox=O=xo-....
USEFULL FILES:
Click to expand...
Click to collapse
Recovery_Stock_KK-4.4.4.img - Download link - Md5: 0ce33e5478a93f335f9be94c42057557 - size: 7.4MB ==> NEW
Recovery Stock -SS15QR.img - Download link
Recovery Stock -JSS15Q.img - Download link
Recovery_stock_JSS15J.img - Download link
Recovery_stock_ JRW66V - Download link
Google USB Drivers - md5: 1389bb2de0c9cacce27c76f1c71592ef - size: 8 MB
OEM USB Drivers
USB DRIVERS r_06 for Windows 7 & 8​Thanks to @clozecall for his video
and all members for their help
And don't forget to RATE FOR THIS THREAD -
if it's helped you
"Thanks in advance
[TUTORIAL]Download Factory Images Nexus 7 FLO - Restore back STOCK
[TUTORIAL]Download Factory Images Nexus 7 FLO - Restore back STOCK - With latest version KitKat 4.4.4​
Find your Factory image for your N7 FLO - KitKat KTU84P - Download Link - - is very useful if you need to restore back your device to Stock after any modification you’ve made. If you have rooted your N7 Flo, unlocked its bootloader, installed custom recovery and roms and finally you want decided to getting back to official firmware and then to get or accept future OTA updates again. It’s the best way to restore back your device to Stock.
Coming back to stock is also useful if you have some bugs (for fixing it), Bootloop, stuck in boot screen logo and freeeeezzziiiinnnngggg, etc....But before to going back to stock, you need to read completly the tutorial and need to know
Your bootloader will be “LOCKED or UNLOCKED” when you want.​
1 - Where I can can find the right Factory Image for my Nexus 7 Flo and which files I need for proceed ?
But first download and install the necessary files prior to execute this properly. Download the full factory image corresponding to your exact mode which includes the full system, bootloader, recovery, kernel (boot.img).
Unpack the TGZ Version (tar/gz) or Zip Version Archive into its own directory. I use 7-Zip, but you can use any tool that reads gz and tar.
Factory Images "razor" for Nexus 7 [2013] (Wi-Fi) - 4.4.4 (KTU84P) - Download link
If you have already installed those files, just check theirs.
Java Runtime Environment.
Android SDK | Android Developers.
Platform tools
Fastboot files
2 - PREREQUISITES
First make sure that your battery is fully charge 100% and BACKUP ALL YOUR PERSONNEL DATA
[1] - Make sure you have USB debugging turned on. For security purposes, you can turn it off after we're done
[2] - Plug-in USB cable and If you are booted into Android, open a command prompt to your ADB and Fastboot directory,
[3] - In case you are not unlock, you need to unlock your bootloader, enter the following commands:
Code:
fastboot oem unlock
If your tablet hasn't already rebooted automatically, type:
Code:
fastboot reboot
NOW WE ARE READY FOR PROCEED TO RETURN STOCK
3 - RUNNING FACTORY IMAGE
If you want to keep your data intact, don't skip this step, (if you do your data will be wiped )
With your text editor (for me it's Notepad ++,
[1] - Edit (be careful not to run it by accident instead of editing)
[2] - flash-all.bat (if you're on Windows)
[2a] - flash-all.sh (Mac, Linux)
[2b] - and remove "-w" from the fastboot update command
For example, if the line reads fastboot -w update image-razor-ktu84p.zip, it should now read: fastboot update image-razor-ktu84p.zip. The -w option instructs fastboot to wipe data.
Click to expand...
Click to collapse
[3] - Reboot into the bootloader and run the appropriate flash-all script:
Code:
flash-all.bat
​Done, your Nexus 7 Flo is now coming back and running Stock Android KK 4.4.4
In Case you want to come back completely to Stock, for warranty or security purpouses, you need to re-lock your bootloader now.
Enter the following commands
Code:
fastboot oem lock
If your tablet hasn't already rebooted automatically, type:
Code:
fastboot reboot
Done!
And don't forget to RATE FOR THIS THREAD -
if it's helped you and eventually click to "Newsworthy Thread? "Thanks in advance
Reserved
[HOW TO] FLASH MORE FASTER WHEN YOU USE FASTBOOT LINE COMMAND and FILES
FLASH MORE FASTER WHEN YOU USE FASTBOOT LINE COMMAND and FILES​
If you have got a problem with your adb or fastboot or recovery....it's very simply and faster
use this:
Download this file "fastboot.zip" or this tool : platform-tools.zip - md5: 15e771613370afe3c70e0be1454d2ef1 - size: 346.8KB
Install this file somewhere in one folder which is named "fastboot" on your PC
=> disk C: root
Unzipped this file on the folder "fastboot" and you will find 3 files:
- adb.exe
- AdbWinApi.dll
- fastboot.exe
OR
Unzipped this file on the folder "platform-tools" and you will find 11 files:
- aapt
- adb
- AdbWinApi.dll
- AdbWinUsbApi.dll
- aidl
- dexdump
- llvm-rs-cc
- fastboot
- dx
- NOTICE
- source.properties
and when you need to push something by the bootloader, you can use it.
Don't forget to push on this folder the file that you need. For exemple: boot.img or a recovery.img, etc...
CD to where your fastboot or platform tools were installed
The line command is :
Code:
[B]C:\Users\R2D2>cd c:\platform-tools[/B]
Code:
[B]C:\platform-tools>[/B]
OR
Code:
[B]C:\Users\R2D2>cd c:\fastboot[/B]
Code:
[B]C:\fastboot>[/B]
Enter
Code:
[B]C:\fastboot>fastboot flash recovery recovery.img[/B]
Enter
If you want to flash the "recovery.img" file
******************************************************************
******************************************************************
If you want to know all lines of command
Code:
c:\fastboot>fastboot
Code:
usage: fastboot [ <option> ] <command>
commands:
update <filename> reflash device from update.zip
flashall flash boot + recovery + system
flash <partition> [ <filename> ] write a file to a flash partition
erase <partition> erase a flash partition
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot reboot device normally
reboot-bootloader reboot device into bootloader
help show this help message
options:
-w erase userdata and cache
-s <serial number> specify device serial number
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address
-n <page size> specify the nand page size. default: 2048
From this part of your procedure:
"-5: The tablet will go back to the bootloader screen. Press Power button to select Start to reboot into the unlock device
Note: Those who wish to install TWRP and root the device further, do not reboot the device. Leave the device at the same screen."
I still say you have to start and boot before you install TWRP. If you don't you get 0 MB Internal Storage on screen and twrp needs password. Can you verify this?
I had to restore my system.img and start over.
Maybe your version of TWRP does not require a reboot (Start) after OEM unlock?
I've always used clockwork on my phones... can you use clockwork in place of twrp on the nexus 7 flo?
Bricked my N7
Not new to flashing, but I made a huuuuuuuuge mistake today. I accidently flashed the wrong recovery image for the 2012 N7 (yeah, I'm an idiot). I can boot into fastboot and recovery mode, but it fails to mount the sd card so I can't do **** anymore. Can't even get it back to stock t this point Any suggestions? I'm on a mac, but have access to PC. Have tried both CWM and TWRP. TWRP just gives me the password screen and 0mb storage. Can't figure out how to get around it or get my storage mounted. Help!
Stuck in boot screen
"I still say you have to start and boot before you install TWRP. If you don't you get 0 MB Internal Storage on screen and twrp needs password. Can you verify this?
I had to restore my system.img and start over."
Androidfr33k, can you specify how to restore system.img? I also do the following steps without rebooting, now I'm stuck in the boot screen.
Thanks in advanced!
Gareee said:
I've always used clockwork on my phones... can you use clockwork in place of twrp on the nexus 7 flo?
Click to expand...
Click to collapse
For the moment, TWRP recovery is the best way for most of my devices.
I've used CWM during a long time with my old devices (Htc Hero - Desire Z) - for my Desire S, I've used 4EXT recovery and now for all devices, it's TWRP
I'm waiting a CWM recovery for see.
But it's just my advice
Wwdcc said:
"I still say you have to start and boot before you install TWRP. If you don't you get 0 MB Internal Storage on screen and twrp needs password. Can you verify this?
I had to restore my system.img and start over."
Androidfr33k, can you specify how to restore system.img? I also do the following steps without rebooting, now I'm stuck in the boot screen.
Thanks in advanced!
Click to expand...
Click to collapse
I've updated the guide, so I advise you to reboot after unlock your Nexus 7, in order to validate the release.
philos64 said:
For the moment, TWRP recovery is the best way for most of my devices.
I've used CWM during a long time with my old devices (Htc Hero - Desire Z) - for my Desire S, I've used 4EXT recovery and now for all devices, it's TWRP
I'm waiting a CWM recovery for see.
But it's just my advice
I've updated the guide, so I advise you to reboot after unlock your Nexus 7, in order to validate the release.
Click to expand...
Click to collapse
Thanks philos64. My problem now is that I couldn't even boot into the OS, I can get into Bootloader mode or Recovery mode, but I couldn't factory reset (says "failed") or boot pass the Nexus screen. (stuck there for more than 15 minutes).
I'm sort of a noob, any help will be appreciated.
Wwdcc said:
Thanks philos64. My problem now is that I couldn't even boot into the OS, I can get into Bootloader mode or Recovery mode, but I couldn't factory reset (says "failed") or boot pass the Nexus screen. (stuck there for more than 15 minutes).
I'm sort of a noob, any help will be appreciated.
Click to expand...
Click to collapse
Ok, if you want you can try this process which works => For Those Who Semi-Bricked Their Nexus 7 0MB Interal Storage
Wwdcc said:
Thanks philos64. My problem now is that I couldn't even boot into the OS, I can get into Bootloader mode or Recovery mode, but I couldn't factory reset (says "failed") or boot pass the Nexus screen. (stuck there for more than 15 minutes).
I'm sort of a noob, any help will be appreciated.
Click to expand...
Click to collapse
this just happened to me. I fixed it by:
1. go into recovery and FORMAT DATA in the wipe menu
2. then FACTORY RESET
3. restart to os
i didnt need to download the system.img like the above link
decksy said:
this just happened to me. I fixed it by:
1. go into recovery and FORMAT DATA in the wipe menu
2. then FACTORY RESET
3. restart to os
i didnt need to download the system.img like the above link
Click to expand...
Click to collapse
Same here, and thanks for the tip!
decksy said:
this just happened to me. I fixed it by:
1. go into recovery and FORMAT DATA in the wipe menu
2. then FACTORY RESET
3. restart to os
i didnt need to download the system.img like the above link
Click to expand...
Click to collapse
Ok sounds good
Thanks :good:
I will insert in my OP asap
decksy said:
this just happened to me. I fixed it by:
1. go into recovery and FORMAT DATA in the wipe menu
2. then FACTORY RESET
3. restart to os
i didnt need to download the system.img like the above link
Click to expand...
Click to collapse
It worked! Thanks so much!
I unlocked and rooted my nexus 4 with this method. I already have SDK and fastboot on my Mac. I can go ahead with the N7, right? I don't need a different fastboot version? I'll make sure my SDK is up to date.
Sent from my Nexus 7
eep2378 said:
I unlocked and rooted my nexus 4 with this method. I already have SDK and fastboot on my Mac. I can go ahead with the N7, right? I don't need a different fastboot version? I'll make sure my SDK is up to date.
Sent from my Nexus 7
Click to expand...
Click to collapse
Yep, you should be all set
If "adb reboot bootloader" works when unlocking the bootloader but "fastboot flash recovery recovery-twrp.img" just sits there in Windows with "waiting for device" try using "adb reboot bootloader" again followed by "fastboot flash recovery recovery-twrp.img" to get the recovery image flashed. I don't take credit for it because it was said somewhere in this forum while trying to figure out the problem. My main rig has this problem but my HTPC does not. Same issue I had with my N7/2012.
Thank you OP!! I'm now running cleanrom 1.1 on my N7/2013. Let the ROM's rain!!!!
Video Tutorial
Hey guys, I've made a pretty simple video tutorial on how to Unlock the Bootloader and Root the new Nexus 7.
Here it is:
I know I don't have a well known name on the forums at all, but I thought it would at least be nice to post this. :good:
This guide worked well for me. I was able to unlock the bootloader, and it appeared that I was able to install the TWRP recovery image. However, when it went to reboot, the Nexus 'X' logo is looping. What's the best way to fix this? I can't access the device through the cmd prompt either.
EDIT: Nevermind, was able to get into the TWRP recovery image (I was panicking and didn't press the right buttons).
Note: I let TWRP install SuperSu for me, instead of downloading it and moving it on internal storage myself. Don't know that had anything to do with my issues but just wanted to share a heads-up.

Guide: How To Unlock/Root/Flash for Pixel XL (Marlin)

[SIZE=+3]How-To Guide For Beginners[/SIZE]
[SIZE=+2]Pixel XL (Marlin)[/SIZE]
{
"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"
}
[SIZE=+3]Intro[/SIZE]
This thread will serve as a location for basic how-to guides for the Pixel XL (Marlin). I'm going to start off with a couple of the more obvious ones and go from there.
[size=+3]Prerequisites[/size]:
If you are on Verizon, please follow dePixel8 guidelines prior to using this thread
Always update your phone to the latest build available before starting the unlocking/rooting process.
You'll need a working adb/fastboot environment on your PC to get through some of these guides.
You must have Java installed and up to date in order to use the SDK Manager, please ensure that this is taken care of before installing the SDK.
Please do not install adb/fastboot via any means other than the Android SDK, using other tools (like Minimal adb & fastboot) can lead to an outdated setup and various problems with flashing. You've been warned, other tools will not be supported in this thread.
Go here to download the Android SDK, which will give you most updated version of adb and fastboot. Scroll to the bottom of the page and find Other Download Options>SDK Tools Only, and grab the right version for your OS. While it's downloading create a folder in C: called SDK (C:SDK). Once you've downloaded the zip you can extract it into your C:SDK folder. Navigate to C:SDKandroid-sdk-windows and open SDK Manager.exe. In SDK Manager you need to install the following packages:
Tools> Android SDK Tools, Android SDK Platform-tools
Extras> Android Support Library, Google USB Driver
Once you have installed those, inside C:SDK you should see some new folders, one of them will be called platform-tools, within that folder you should see fastboot.exe and adb.exe. I'll refer to this as your fastboot folder/directory or working folder/directory during this guide. To make sure adb is correctly installed, open a command prompt from within your fastboot folder (hold shift + right click, select open command prompt here) and issue this command:
Code:
adb version
If it returns a version number for Android Debug Bridge then you're good to go.
You can test adb by connecting your device to your PC while booted into Android (making sure that adb/usb debugging is enabled in Settings>Developer Options) with the screen unlocked and issuing this command:
Code:
adb devices
It should return your device serial number, if so, adb is working.
You can test fastboot by connecting your device to your PC while booted into the bootloader (power + volume down) and issuing this command:
Code:
fastboot devices
It should return your device serial number, if so, fastboot is working.
[SIZE=+3]Quick Tips[/SIZE]
How to boot into the bootloader:
Power off your device. Once it's powered off hold power + volume down and the phone will boot into the bootloader. You can also use the following adb command:
Code:
adb reboot bootloader
[SIZE=+3]Index[/SIZE]
Post #1
1. How To Unlock Your Bootloader
2. How To Install A Custom Recovery On Your Device
3. How To Root with TWRP Recovery
4. How To Root with via Fastboot (No Recovery)
Post #2
5. How To Install A ROM with TWRP Recovery
6. How To Install A Custom Kernel With TWRP Recovery
7. How To Install A Custom Kernel Using Fasboot
8. How To Flash The Factory Images (Return To Stock)
9. How To Flash The Factory Images (Return To Stock But Leaving Internal Storage Intact)
[SIZE=+3]1. How To Unlock Your Bootloader[/SIZE]
Go into Settings/About Phone, scroll down and click on “build number” continuously until you see a toast notification telling you that you've enabled Developer Options. Go back to your Settings menu and enter Developer Options, scroll down and click on the “Enable OEM Unlock” checkbox, also make sure you enable USB Debugging while you're in the Developer Options menu.
Power off your phone then boot into the bootloader (power + volume down).
Connect your phone to your PC via usb cable.
Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here).
Check your fastboot connection by issuing this command:
Code:
fastboot devices
It should return your device serial number, if not you need to make sure your drivers are installed correctly.​
Once you've confirmed your fastboot connection issue the unlock command:
Code:
fastboot flashing unlock
This will erase all user data from the device!
You should now see a screen on your phone asking you to confirm this action, use the volume keys to scroll and the power key to confirm if you're sure you want to go ahead.
Allow the process to complete and then issue this command:
Code:
fastboot reboot
Allow everything to go ahead and once finished you can disconnect your usb cable.
Note: After unlocking your bootloader, each time your phone boots up you'll be greeted with a warning that says "Your device software can't be checked for corruption. Please lock the bootloader". This is nothing to worry about, it's normal to see this when you have an unlocked bootloader. You can't remove it, as long as your bootloader is unlocked it will stay there.
Important: do not relock your bootloader unless your phone is fully stock. You must flash the factory images first in order to remove root and custom recovery (if you have them), if this precaution isn't taken you may end up with a brick. Please see section 10 of this guide for full instructions on how to return to stock.
[SIZE=+3]2. How To Install TWRP On Your Device[/SIZE]
Prerequisites: unlocked bootloader (section 1).
Warning: TWRP is currently in RC1 phase and is not fully stable, flash at your own risk.
This guide assumes you have just unlocked your bootloader and are otherwise stock, NO root yet.
Download the necessary files (IMG and Zip) from the TWRP website and add the TWRP zip to your internal storage: https://dl.twrp.me/marlin/
Place the IMG file in your fastboot folder (this is where fastboot.exe is located on your PC)
Boot into the bootloader. Open a command prompt from within your fastboot folder (navigate to where you have fastboot.exe located on your PC, shift + right click anywhere within that folder, select open command prompt here), enter this command:
Code:
fastboot boot path/to/twrp.img
(The TWRP filename in the command will change depending on which recovery you're flashing)
This will temporarily boot TWRP on your device. If you are using a lockscreen pin/pattern/password and do not get prompted to enter your password, reboot to the bootloader and try again. Go to install and browse to the zip and install the TWRP zip
[SIZE=+3]3. How To Root[/SIZE]
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
Download the latest SuperSU of your choosing to your phone:
https://download.chainfire.eu/1013/SuperSU/SR4-SuperSU-v2.78-SR4-20161115184928.zip
Boot into TWRP recovery and enter the install menu.
Navigate to where you have SuperSU stored on your internal storage and select it.
Swipe to install.
Thats it, reboot and you should have TWRP and SuperSU installed
[SIZE=+3]4. How To Root via Fastboot[/SIZE]
Prerequisites: unlocked bootloader (section 1)
Special Note: This is for users who do not have or want TWRP installed and want to run stock root
Download Chainfire's root-marlin-pixelxl.zip located here: https://download.chainfire.eu/1011/CF-Root1/root-marlin-pixelxl.zip
Extract Chainfire's zip and follow the instructions in the read me
Code:
***** The short guide *****
*BOOT* (do not flash!) the supplied image, and wait a few minutes:
fastboot boot boot-to-root.img
***** The long guide *****
Before you root your device, you need to unlock your bootloader, if you haven't done so yet.
If you are using a Verizon device, you need a special tool for that. Go find that first.
- Boot into Android
- Enable developer options
--- Settings -> About phone -> Build number: tap 7 times
- Enable OEM unlocking
--- Settings -> Developer Options -> OEM unlocking
- Go into bootloader mode
--- Turn off device
--- Hold volume down and power
- Run "fastboot flashing unlock" and follow the on-screen instructions
--- This will wipe your device
To root your device:
- Go into bootloader mode, if not there already
--- Turn off device
--- Hold volume down and power
- Run "fastboot boot boot-to-root.img"
--- Wait for a few minutes. The device will reboot at least twice
- You should be rooted once Android is fully booted up
*****
Enjoy!
- Chainfire
XDA:DevDB Information
Guide: How To Unlock/Root/Flash for Pixel XL (Marlin), Tool/Utility for the Google Pixel XL
Contributors
bajasur, The Flash, beanstown106, @micmars
Version Information
Status: Testing
Created 2016-11-27
Last Updated 2016-11-26
[SIZE=+3]5. How To Install A ROM with TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
Pending......
[SIZE=+3]6. How To Install A Custom Kernel With TWRP Recovery[/SIZE]
Prerequisites: unlocked bootloader (section 1), TWRP recovery (section 2).
A custom kernel can open up a new level of control over your device, such as overclocking/underclocking, undervolting, changing governors, changing I/O schedulers, adjusting colour calibrations, adjusting sound calibrations, and many other options.
Download a kernel that is compatible with your current ROM.
Check the md5 to verify its integrity.
Enter TWRP recovery.
Select the install option from the TWRP home screen.
Navigate to the kernel and select it.
Swipe to install.
You'll have an option to wipe cache/dalvik and an option to reboot system, hit the reboot system button.
Once your phone has booted up you can use a kernel tuning app to change governors, I/O scheduler, clock speed, and other options. Some of the popular kernel apps are Kernel Auditor, Trickster Mod, No Frills, Kernel Tuner, and many more.
[SIZE=+3]7. How To Install A Custom Kernel via Fastboot[/SIZE]
Prerequisites: unlocked bootloader (section 1)
This guide is for users who DO NOT have TWRP installed, and want to Fastboot flash custom kernels.
Check the md5 to verify its integrity.
Download the kernel file you want to flash from whichever kernel developer you'd like
Place the file in your fastboot folder
Open a command prompt within that folder and run
Code:
fastboot flash kernel kernel_binary
kernel_binary will be replaced with whatever the file name (ie fk-r5.gz for Franco's Kernel)
Reboot your device.
Special Note: You may lose root if you had SuperSU pre-installed, you will need to re root following Section 4 (How to Root via Fastboot)
[SIZE=+1]8. How To Flash The Factory Images (And Return To Stock)[/SIZE]
Prerequisites: unlocked bootloader (section 1).
This section will explain how to return the phone to be like it was when it came out of the box. This will wipe everything from the phone. If you wish to flash the factory images without wiping your personal data from the internal storage please move on to the next section.
Download the appropriate factory images for your model https://developers.google.com/android/images
Unzip the marlin-xxxxxx-factory-xxxxxxxx (marlin-nmf26o-factory-4f68765c) into a directory on your PC (for this guide we'll use C:\marlin\).
Once unzipped you should have a folder named marlin-xxxxxx (marlin-nmf26o).
Move the contents of this folder into your Fastboot/ADB environment so that you can run fastboot and adb commands. (Note: I do the opposite and move the most current fastboot and ADB from the Android SDK into this folder)
Look for the windows batch file named "flash-all.bat" and double click on it. This should begin the proper full clean flash of all images back to stock. This should take a few minutes, but eventually your phone should reboot on its own and take you to the Android set up screen.
If you wish to you can also relock the bootloader with this command:
Code:
fastboot flashing lock
(This command will wipe all user data from the device)
Important: do not lock the bootloader unless you have first flashed the stock images. Locking the bootloader while you have a custom recovery installed can result in a brick. Please also note that the locking procedure will wipe all user data from the device.
Once all commands/flashes are complete you can reboot the device:
Code:
fastboot reboot
[size=+4]Frequently Asked Questions[/size]
1. How do I boot into the bootloader?
Power off your device. Once it's powered off hold power + volume down and the phone will boot into the bootloader. You can also use the following adb command:
Code:
adb reboot bootloader
2. When issuing the fastboot flashing unlock command it doesn't work, I only get a list of possible commands. What's going on?
This is usually due to having an outdated adb/fastboot setup. If you installed adb/fastboot by any means other than via the Android SDK this is probably the cause. Visit the prerequisites section in the beginning of this guide to properly install adb/fastboot and ensure that it's up to date.​
3. After unlocking the bootloader I get a message that says "Your device software can't be checked for corruption. Please lock the bootloader". What's going on? Can I get rid of it?
This is nothing to worry about, it's normal to see this when you have an unlocked bootloader. You can't remove it, as long as your bootloader is locked it will stay there.​
4. How do I take an OTA or update if I have root or other system modifications on the stock ROM?
You can't take an OTA update while you have root or any system modifications. You'd need to use fastboot to flash the system, boot, and recovery images. It's much easier to just flash the newer build with fastboot.​
5. Does taking an OTA update wipe my user data?
No, it doesn't.​
6. Do I need to flash the userdata.img from the factory images?
You should never flash the userdata image. It doesn't take into consideration the storage capacity of the device and always allocates 32gb of storage. This is ok for the 32gb model, but for the 64gb and 128gb models you'll end up with much less storage capacity than you should have. If you wish to wipe your internal storage you'd use the following command instead:
Code:
fastboot format userdata
More to come, special thanks to @Heisenberg for his excellent guide format​
Reservation
Don't forget to pin this
Dude, awesome
Looking good @bajasur!
Nice! Great job...should definitely be pinned
Thanks so much @bajasur! I always used the one by the famous @Heisenberg for the 6P and its great to have one for the Pixel XL.
Any plans to also include the step-by-step for restoring back to stock?
MinimalistChris said:
Thanks so much @bajasur! I always used the one by the famous @Heisenberg for the 6P and its great to have one for the Pixel XL.
Any plans to also include the step-by-step for restoring back to stock?
Click to expand...
Click to collapse
Yes, there is a lot more to come. For now to restore to stock I recommend running the flash-all.bat file that comes within the factory image folder.
A detailed step by step image flashing guide will be linked in the next few days.
Sent from my Pixel XL using XDA-Developers mobile app
Thanks @bajasur! We can still use this to unlock and root from NDE63X correct?
oneandroidnut said:
Thanks @bajasur! We can still use this to unlock and root from NDE63X correct?
Click to expand...
Click to collapse
Negative
For Verizon you need to follow the unlock method provided by DePixel Devs. Once you have unlocked the rooting and twrp methods should work.
Sent from my Pixel XL using XDA-Developers mobile app
bajasur said:
Negative
For Verizon you need to follow the unlock method provided by DePixel Devs. Once you have unlocked the rooting and twrp methods should work.
Sent from my Pixel XL using XDA-Developers mobile app
Click to expand...
Click to collapse
Sorry I should have clarified it is a Google Store edition just with verizon sim and X software. I can just unlock it like normal correct?
oneandroidnut said:
Sorry I should have clarified it is a Google Store edition just with verizon sim and X software. I can just unlock it like normal correct?
Click to expand...
Click to collapse
Yep! That should work fine ☺
Sent from my Pixel XL using XDA-Developers mobile app
bajasur said:
Yep! That should work fine
Sent from my Pixel XL using XDA-Developers mobile app
Click to expand...
Click to collapse
Awesome I am trying to wait until TWRP is stable but im inpatient lol
So this is not the correct guide for a Verizon Pixel is it? Besides the sunshine website has anyone made a guide like this yet for the Verizon model
aholeinthewor1d said:
So this is not the correct guide for a Verizon Pixel is it? Besides the sunshine website has anyone made a guide like this yet for the Verizon model
Click to expand...
Click to collapse
Other than flashing dePixel8 to allow bootloader unlocking, all other steps are identical.
aholeinthewor1d said:
So this is not the correct guide for a Verizon Pixel is it? Besides the sunshine website has anyone made a guide like this yet for the Verizon model
Click to expand...
Click to collapse
I'll clarify in the OP regarding Verizon devices but yes that should be the case
Sent from my Pixel XL using XDA-Developers mobile app
Does rooting without TWRP cause bootloops on NDE63V? I tried it with the all-in-one tool and couldn't get my Pixel to boot past the 4 dots when I was on NDE63V.
I have since flashed the Npf26j update. Would it be safe to root via chainfire's method? Wanted to avoid TWRP for now incase I get the data drain bug.
Thanks!

[Guide] Redmi Note 4 - Unlock Bootloader / Unbrick / Recovery

Let's start this with a Disclaimer
Code:
* Your warranty is... well, who knows?!
* I am not responsible for bricked devices, dead SD cards, etc!
* Do some research if you have any concerns!
[COLOR="Red"] * Following this guide will wipe all your data. Take backup before proceed! [/COLOR]
Note: Redmi Note 4 can be unlocked ONLY with China Developer firmware.
That's why to unlock the bootloader, first you need to flash China Developer ROM.
Then unlock bootloader, and then install any desired ROM.
Prerequisite:
1. Xiaomi Redmi Note 4 (MTK) phone (Codename: nikel). Both version supported: 2GB / 3GB RAM.
2. Unlock approval from MIUI -> Obtain it from here
3. Mi Unlock app -> Download from here
4. Drivers & SP Flash Tool -> Download from here
5. Latest Redmi Note 4 China Developer Version Fastboot -> Download form here (TGZ file). Note: for unbrick, you may chose Global ROM as well.
6. Custom CUST.BIN file -> Download from here
Steps to Unlock Bootloader:
1. Install drivers. Drivers are found in folder MTK_Driver_Installer_.1352 ext. To install, run DriverInstaller.exe as Administrator.
Edit: Some users reported that they cannot install drivers on Windows 10. If this is the case, you need to disable Driver Signature Enforcement in Windows by running the following command in CMD (Run as administrator) and then restart PC:
Code:
bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
2. Extract ROM files (from TGZ file) in a new folder.
3. After extract, go to \images and replace CUST.IMG with custom one. This is very important!
4. Run flash_tool.exe as Administrator.
5. After program starts, click on Download Agent and select file MTK_All_In_One_DA.BIN. The file is located in SP Flash tool folder.
6. Next, click on Scatter-loading button file select MT6797_Android_scatter.txt . The file is located in ROM \images folder.
7. The phone partition will show-up. Uncheck preloader, and select all others partitions.
{
"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"
}
8. Turn off the phone. Click Download button. Don't connect yet the phone to computer.
9. On the phone, hold the Volume Down (-) button and then connect the USB cable. Hold the Volume Down (-) pressed untill it is detected by the SP Flash Tool and the flashing process begins (see yellow progress bar).
10. Wait for process to complete (about 3-5 minutes). A Download Ok message will appear.
11. Remove the USB cable and hold Power button until phone vibrates. Now wait to finish the first boot (may take up to 10minutes).
12. Congrats, now you have a China Developer firmware. After boot, select English and follow the first setup steps. Don't skip steps! Login to MI account.
13. Go to Setting -> About phone -> And tap on MIUI version for 10 times. This will enable Developer options.
14. Go to Setting -> Additional settings -> Developer options -> OEM Unlocking and allow unlocking. This will pair your MI account with your MI phone, in order to unlock. Also turn on USB debugging.
15. Go to i.mi.com and login. Then tap on Find device. Wait a minute to find your device (will appear: Online, Located).
16. Start MI Unlock app and follow the steps. To put your phone in Fastboot mode: turn off the phone -> press Volume Down + Power and keep it until Fastboot Mode screen appears.
17. Congrats, now you have unlocked bootloader on Redmi Note 4.
How to Check Bootloader Status:
Use this command from Fastboot Mode:
Code:
fastboot getvar unlocked
The command will return an [yes/no] response, meaning:
"yes" -> Unlocked bootloader
"no" -> Locked bootloader
Steps to install TWRP recovery:
1. Download TWRP recovery image from here
2. Run in ADB console:
Code:
adb reboot bootloader
fastboot flash recovery cofface_twrp_nikel_recovery1124.img
fastboot boot cofface_twrp_nikel_recovery1124.img
Steps to Unbrick:
Are basically the same as unlocking... only that you can use Global ROM or China Stable ROM to flash, but the procedure is exactly the same.
Don't connect the phone yet!
1. Install drivers. Drivers are found in folder MTK_Driver_Installer_.1352 ext. To install, run DriverInstaller.exe as Administrator.
2. Extract ROM files (from TGZ file) in a new folder.
3. After extract, go to \images and replace CUST.IMG with custom one. This is very important!
4. Run flash_tool.exe as Administrator.
5. After program starts, click on Download Agent and select file MTK_All_In_One_DA.BIN. The file is located in SP Flash Tool folder.
6. Next, click on Scatter-loading button file select MT6797_Android_scatter.txt . The file is located in ROM \images folder.
7. The phone partition will show-up. Uncheck preloader, and select all others partitions.
8. Turn off the phone. Click Download button. Don't connect yet the phone to computer.
9. On the phone, hold the Volume Down (-) button and then connect the USB cable. Hold the Volume Down (-) pressed untill it is detected by the SP Flash Tool and the flashing process begins (see yellow progress bar).
10. Wait for process to complete (about 3-5 minutes). A Download Ok message will appear.
11. Remove the USB cable and hold Power button until phone vibrates. Now wait to finish the first boot (may take up to 10minutes).
12. Congrats, with some luck, now you have unbricked your phone.
All credits goes to and @masterross and @mitch002 for makeing this possible.
Special thanks to @cofface for his Recovery :good:
.
Thanks!
Thanks a lot for the detailed guide. I've recently bought RN4 and applied for the bootloader unlock request. waiting for the request to get approved. once done, I'll go through this guide and unleash my redmi note 4.
Please HELP!!! Bootloader stuck @ 50%
No No just kidding good write-up, if you stick to this guide you won't be crying in your pillow : )
Sent from my Redmi Note 4 using Tapatalk
I am on china developers rom. It shows bootloader unlocked, is it really unlocked?
Sent from my Redmi Note 4 using Tapatalk
shams6 said:
I am on china developers rom. It shows bootloader unlocked, is it really unlocked?
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Pretty sure it is. However, you can check by running this command in fastboot mode:
Code:
fastboot getvar unlocked
It will return a YES/NO response.
If return is "Yes" -> Unlocked Status
If return is "No" -> Locked status
x3m.zone said:
Pretty sure it is. However, you can check by running this command in fastboot mode:
Code:
fastboot getvar unlocked
It will return a YES/NO response.
If return is "Yes" -> Unlocked Status
If return is "No" -> Locked status
Click to expand...
Click to collapse
Thanks, its unlocked. But you forget to tell me to install this file & check by this.
Minimal ADB and Fastboot v1.4.1
Download link: https://www.androidfilehost.com/?fid=385035244224386526
---------- Post added at 11:25 AM ---------- Previous post was at 11:06 AM ----------
I need to install TWRP. I am on china developer rom.
Do, i just need to follow this steps
Steps to install TWRP recovery:
1. Download TWRP recovery image from here
2. Run in ADB console:
Or any thing else.
Note: When i was flashing china developers rom few weeks ago i dont change custom image which you tell us in 3rd steps (3. After extract, go to \images and replace CUST.IMG with custom one. This is very important!)
shams6 said:
Thanks, its unlocked. But you forget to tell me to install this file & check by this.
Minimal ADB and Fastboot v1.4.1
Download link: https://www.androidfilehost.com/?fid=385035244224386526
---------- Post added at 11:25 AM ---------- Previous post was at 11:06 AM ----------
I need to install TWRP. I am on china developer rom.
Do, i just need to follow this steps
Steps to install TWRP recovery:
1. Download TWRP recovery image from here
2. Run in ADB console:
Or any thing else.
Note: When i was flashing china developers rom few weeks ago i dont change custom image which you tell us in 3rd steps (3. After extract, go to \images and replace CUST.IMG with custom one. This is very important!)
Click to expand...
Click to collapse
Great! I'm glad it's unlocked.
I told you how to check the bootloader status, it was't a tutorial about it... drivers are needed anytime you connect the phone to PC
CUST.IMG is important to be changed because of 2 reasons:
1. some users reported that lost their IMEI if they flashed with original CUST.IMG (IMEI can be easy recovered, but still...)
2. some users get an [Status_Sec_Image_Too_Large] error with original CUST.IMG like here:
This CUST.IMG fixes this issues
Thanks , is there anyway to flash only cust.img without flashing the whole rom. Because i already beautifully customized my settings & apps, so i dont want loose it.
Sent from my Redmi Note 4 using Tapatalk
shams6 said:
Thanks , is there anyway to flash only cust.img without flashing the whole rom. Because i already beautifully customized my settings & apps, so i dont want loose it.
Click to expand...
Click to collapse
No need to do that. Flashing only Cust.bin does nothing.
Do you want to unlock your device?
Ok, thanks. I will try.
My device is already unlocked.
So, i just need to flash TWRP.
Sent from my Redmi Note 4 using Tapatalk
Thanks for the guide, however I cant install MTK Driver. Windows says that it is not compatible.
Any idea how to get it running? Thank you
I think i'm ready to unlock
haha can you tell me if i have the permissions or what? i'm on china latest stable rom 2gb ram 16gb rom version
thanks!!!
Loupák said:
Thanks for the guide, however I cant install MTK Driver. Windows says that it is not compatible.
Any idea how to get it running? Thank you
Click to expand...
Click to collapse
Try disabling unsigned drivers.
Tutorial:
http://en.miui.com/thread-237673-1-1.html
Sent from my Redmi Note 4 using Tapatalk
---------- Post added at 08:52 ---------- Previous post was at 08:46 ----------
evl01 said:
haha can you tell me if i have the permissions or what? i'm on china latest stable rom 2gb ram 16gb rom version
thanks!!!
Click to expand...
Click to collapse
Before even starting that step to unlock you need to be on China Developer ROM.
Sent from my Redmi Note 4 using Tapatalk
I have tried that but to no avail.
Are those drivers/installer for 64 bit Windows only by any chance?
Loupák said:
I have tried that but to no avail.
Are those drivers/installer for 64 bit Windows only by any chance?
Click to expand...
Click to collapse
Yes, i tested myself on Windows 10 Pro - 64bit.
Try and disable Driver Signature Enforcement in Windows by running the folowing command in CMD (Run as administrator)
Code:
bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
Restart your PC and try again.
evl01 said:
haha can you tell me if i have the permissions or what? i'm on china latest stable rom 2gb ram 16gb rom version
thanks!!!
Click to expand...
Click to collapse
"Phone is not connected" ... put your phone in Fastboot Mode and connect it ... follow the instructions.
Loupák said:
Thanks for the guide, however I cant install MTK Driver. Windows says that it is not compatible.
Any idea how to get it running? Thank you
Click to expand...
Click to collapse
What version of Windows you have? For Windows 8.1/10, try disable Driver Signature Enforcement before.
Waiting for your feedback.
x3m.zone said:
What version of Windows you have? For Windows 8.1/10, try disable Driver Signature Enforcement before.
Waiting for your feedback.
Click to expand...
Click to collapse
Im going to unsubscribe to this thread now, you are going to post the same solutions x3mzone can help you now good luck.
Sent from my Redmi Note 4 using Tapatalk
x3m.zone said:
What version of Windows you have? For Windows 8.1/10, try disable Driver Signature Enforcement before.
Waiting for your feedback.
Click to expand...
Click to collapse
I tried to install the drivers on Windows 10 Home 32bit.
I have tried to run this in cmd (as admin):
bcdedit.exe -set loadoptions DISABLE_INTEGRITY_CHECKS
bcdedit.exe -set TESTSIGNING ON
The second line does not go through.
Rough translation of the error from Czech:
Value is protected by save startup properties and cannnot be changed or deleted.
Thanks for any feedback! I really appreciate it.
EDIT: Ok, I have tried my work laptop with 64 bit Windows 10 on it. Drivers installed fine!

TWRP-3.2.1-0 for the LeEco Le Max 3

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about doing this to your device
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
TWRP for the LeEco Le Max 3
{
"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"
}
Download:
https://www.androidfilehost.com/?fid=6006931924117931532
Sources:
Tree: https://github.com/moto999999/android_device_leeco_x10/tree/android-9.0?files=1
Kernel: https://github.com/moto999999/android_kernel_leeco_msm8996
Platform Tools (adb/fastboot):
https://developer.android.com/studio/releases/platform-tools.html#download
Installation:
Make sure your bootloader is unlocked
Code:
Run unlock_bootloader.bat from this zip
[url]https://www.androidfilehost.com/?fid=818222786056032301[/url] and check with
"fastboot oem device-info" if device unlocked and device critical unlocked are both set to true.
If not, reboot to fastboot and run unlock_bootloader.bat again
Download the recovery image from above
Reboot into fastboot
Run this command (Change the .img to whatever the name of file is you downloaded):
Code:
fastboot flash recovery TWRP-x10-3.3.img
Known issues:
You tell me!
Credits:
deadman96385 for the work he has done on for the Le Max 2
jrior001 for his work on TWRP for the Le Max 2 and in general for msm8996-common stuff too
codeworkx for his tweaks I implemented into my TWRP commit and everything he has done for LeEco devices
andr68rus for everything he has done for the LeEco Le Max 2
XDA:DevDB Information
TWRP-3.2.1-0 for the LeEco Le Max 3, Tool/Utility for the LeEco Le Max 2
Contributors
moto999999, codeworkx, ThE_MarD
Version Information
Status: Stable
Created 2018-05-24
Last Updated 2018-05-24
Method is not working on my device (21s), i flashed the file unlock_bootloader.bat and Now i have lost the Access to Fastboot, so i can't flash anything becouse Fastboot mode is not responding, i press the power button and volume - and the phone just reboot, so please be carefull with this, now my phone is stuck without fastboot mode.
julianhrojas said:
Method is not working on my device (21s), i flashed the file unlock_bootloader.bat and Now i have lost the Access to Fastboot, so i can't flash anything becouse Fastboot mode is not responding, i press the power button and volume - and the phone just reboot, so please be carefull with this, now my phone is stuck without fastboot mode.
Click to expand...
Click to collapse
try to write script from notepad
" adb reboot bootloader " and save name.bat
after that try to run the bat file you'll run to fastboot mode
sorry if my english is bad.
All is working excelent work. Just follow instructions.
-unlock bootloader (to me it take 7 attemps so repeat the process until shows unlock critical: true
- flash twrp
- wipe all data wipe-data- yes
- use adb command on twrp to flash all the files that you need: "adb push rom.zip /sdcard"
(Rename the rom file as rom.zip)
-flash the rom
- flash firmware modem
-flash magisk to root
- flash xposed zip
-reboot and wait
All working.
Hi! can someone check if the SafetyNet status is correct please? thank you so much!! D
Is sideload good?
Step by STEP
1. 15 seconds ADB Installer (for Windows) :
https://forum.xda-developers.com/showthread.php?t=2588979
2. Platform Tools (adb/fastboot):
https://developer.android.com/studio/releases/platform-tools
3.Make sure your bootloader is unlocked :
"fastboot oem device-info" --> device unlocked and device critical unlocked need to be " true ".
-->3.1 If not , step by step for unlocking your bootloader
- - - - 3.1 on your Phone go to settings -> About Phone -> Tap On "Build Number" 7 Times , to enable " Developer Options "
- - - - 3.2 Settings -> Developer Options -> enable "OEM Unlock"
- - - - 3.3 Settings -> Developer Options -> enable "USB Debugging"
- - - - 3.4 Now with the device on , conect with usb to pc
- - - - 3.5 Dowload and copy with replace in the platform tools files: https://www.androidfilehost.com/?fid=818222786056032301
- - - - 3.6 Run unlock_bootloader.bat , after that , open command prompt in the folder with the files downloaded , and check with "fastboot oem device-info" if device unlocked and device critical unlocked are both set to true.
Note : If isn't working , try :
- - - - 4.1 Open command prompt in the folder with platform tools
- - - - 4.2 type "adb usb" -> which will confirm the connection on your device
- - - - 4.3 "adb reboot bootloader" brings you to the fastboot mode
-----------------------> Now you are in fastboot mode , for there execute :
fastboot oem unlock-go
fastboot flashing unlock_critical
fastboot flash xbl xbl.elf
fastboot flash xblbak xbl.elf
fastboot flash aboot emmc_appsboot.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot oem unlock-go
fastboot flashing unlock_critical
Now check with "fastboot oem device-info" if device unlocked and device critical unlocked are both set to true.
5. If yes then download TWRP: https://www.androidfilehost.com/?fid=890278863836286860 , and copy the .img file in the folder with platform tools
6. Then type in cmd " fastboot flash recovery TWRP-x10.img "
7.Congrats , now you have TWRP , type fastboot reboot and boot into TWRP
---------- Post added at 04:33 PM ---------- Previous post was at 04:29 PM ----------
@moto999999 i made an post with more explained way of instaling the twrp , if you like , you can edit your description ;P
Hi
julianhrojas said:
Method is not working on my device (21s), i flashed the file unlock_bootloader.bat and Now i have lost the Access to Fastboot, so i can't flash anything becouse Fastboot mode is not responding, i press the power button and volume - and the phone just reboot, so please be carefull with this, now my phone is stuck without fastboot mode.
Click to expand...
Click to collapse
Hi, I wanted to remind you that you should check before flashing anything the critical device true.
Ok guys ... it works, I installed it.
I will explain how I did it.
The first thing is to download the files.
Use fastboot tools of the link.
A fastboot tools add unlocked Zip and MAF32.exe from minimal adb.
I did it from EUI6.INSTALE EUI6 BEFORE STARTING.
Put in TF in fastboot mode and connect to the pc.
Open the platform-tools folder that contains all the files plus the TWRP THAT WE SHOULD PLACE INSIDE, ANOTHER.COPY IN THE DESKTOP.
We run the unlocker.bat When it finishes it reboots the TF automatically.
We let it restart before going back to fastboot.
It may happen that it does not return to fastboot. In this case we force recovery and we mark update and cleanup, execute and restart normally.
We put back fastboot.
We verify the state_fastboot oem device-info.
It has to give true in critical.
If it is not true, we execute the .bat again but this time we do not allow it to restart keeping pressing v-
We are in fastboot and check the status again with the command. I did it with two CMD windows open at the same time, one to verify and the other to execute.
The normal thing is that of true in that attempt.
If you do not give it repeat the .bat keeping v
Always check before installing twrp.
We already have true.
In the same window we execute;
fastboot flash recovery (name) .img
It will give ok.
Restart the TF in recovery mode.
30 seconds v + / power at the same time.
Once inside the TWRP.We make wipes of everything except internal storage (those who do not have usb-otg must have copied the ROM to internal storage).
We install the moden, the ROM, the moden again, and restart.
It appears encrypted and asks for a password. We start recovery again and do factory reset.
We normally restart already to configure root etc.
And colorin colorado this post is over.
Again remember that the donations account is still active. This guy deserves heaven so do yourselves.
---------- Post added at 06:03 PM ---------- Previous post was at 05:38 PM ----------
I installed the 21s and it seems that we have a bug. If we turn off the TF it does not turn on normally. It works when connecting the charger or from recovery. Restart does it normally.
Thanks for great work!
What is changed in 5.9.21 customized ROM comparing to Russian version stock 5.9.21?
Do I HAVE TO flash modem file?
Could we have the smae twrp on leeco x950
min1968 said:
Thanks for great work!
What is changed in 5.9.21 customized ROM comparing to Russian version stock 5.9.21?
Do I HAVE TO flash modem file?
Click to expand...
Click to collapse
Thanks for that fantastic work, could we have the same for the leeco x950
X850/ how root and files.
Hi some people has report bugs after rooting.
Sound calls,loss of data and excessive lag.Following these instructions solves that.
Once rooted the tf we must turn it on through recovery or connecting the charger. Do not start pressing v- and power.There are functions that do not go well.
you install the 5.9 21s by fastboot and then do the process.
Good morning everyone.
DRIVERS.
http://dl.adbdriver.com/upload/adbdriver.zip
http://download.clockworkmod.com/tes...iverSetup6.msi
TOOLS (the twrp is included)
https://mega.nz/#F!zp4GjT7B!ueQ-vVKrsAXuMzPknTYaDg
ROMS STOCK.SOLO INSTALL FOR FASTBOOT !!!!
Add this tool (the files it contains) to the files of the chosen ROM.
https://mega.nz/#!CtRUjZ6Z!RT6e9oR8l...HsHN0cegkMUVbI fastboot adb-tools stock
EUI6 - https://mega.nz/#F!r0QUkZBK!L-r4bDHjPkAcGzSbVYZiCQ
5.9 21s - https://mega.nz/#F!j9YWUY7R!eaUC_VDO_OZ9Yo8sqGs-gw
5.9 20s- https://drive.google.com/drive/folde...E1?usp=sharing
aosp x850- https://mega.nz/#!i4BCURaB!X4FX4-TCH...p29IkegRfGeHo0
ROOT
- Start the rooting process from the 21st. Close the accounts leeco and google. Make sure that the critical is blocked. (Fastboot flashing lock_critical) Once done:
We connect the tf in fastboot mode to the pc and open the Tools folder.
We execute the file .bat of the folder, attentive, before finishing we press v- so that it automatically reboots in fastboot mode.
In that same folder ... right and uppercase button, we open command window here and execute -fastboot oem unlock-go
We verify the status of the bootloader with ... fastboot oem device-info
We will have the magazine unlocked and the critical in false.
in the same window that we have not closed we execute ... fastboot flash recovery recovery.img
At the end we will have the twrp installed.
We run again..fastboot reboot keeping v + pressed.
We enter in recovery, we select clean:
Factory reset
Advanced wipes and we mark everything, we must have a usb-otg to put the files after the recovery.
Files uploaded by @ moto999999
https://androidfilehost.com/?w=files&flid=270044
Installation method.
_ system / modem / system --- restart and configuration
_root
_xposed
USEFUL ARCHIVES AND APPLICATIONS:
Nova
https://mega.nz/#!qwpiyCgB!5IrCZiFXF...IOacZuWfCX74fU
Cam
https://mega.nz/#!n1gUDSYb!kCcC4TIgr...YsRuwZWDUEQiBU
Google
https://mega.nz/#!q5QCwYrL!1LiYVoJyS...RaDOgck6ALj-vs
google play store apk mirror,buscar y añadir.
varios:
https://mega.nz/#!zxR23TbR!-qHVRWLBI...4eiU4Fg8dZlaXc
Luis4x4 said:
Hi some people has report bugs after rooting.
Sound calls,loss of data and excessive lag.Following these instructions solves that.
Once rooted the tf we must turn it on through recovery or connecting the charger. Do not start pressing v- and power.There are functions that do not go well.
you install the 5.9 21s by fastboot and then do the process.
Good morning everyone.
DRIVERS.
Click to expand...
Click to collapse
hi, most of your mega link are broken, the url can't read without decrypt key
Twrp is there, but wait, what to flash? No roms for LeMax3 (eui ports are not roms, they are piece od s*)
giaur said:
Twrp is there, but wait, what to flash? No roms for LeMax3 (eui ports are not roms, they are piece od s*)
Click to expand...
Click to collapse
There is an stable EUI 5.9.21S by me , or an semi-stable 7.1.1 android .
And an WIP AOSP ROM ( 6.0.1 ) .
And without kernel sources we can not do nothing about an new ROM :crying:
diamantik said:
1. 15 seconds ADB Installer (for Windows) :
https://forum.xda-developers.com/showthread.php?t=2588979
2. Platform Tools (adb/fastboot):
https://developer.android.com/studio....html#download
3.Make sure your bootloader is unlocked :
"fastboot oem device-info" --> device unlocked and device critical unlocked need to be " true ".
-->3.1 If not , step by step for unlocking your bootloader
- - - - 3.1 on your Phone go to settings -> About Phone -> Tap On "Build Number" 7 Times , to enable " Developer Options "
- - - - 3.2 Settings -> Developer Options -> enable "OEM Unlock"
- - - - 3.3 Settings -> Developer Options -> enable "USB Debugging"
- - - - 3.4 Now with the device on , conect with usb to pc
- - - - 3.5 Dowload and copy with replace in the platform tools files: https://www.androidfilehost.com/?fid=818222786056032301
- - - - 3.6 Run unlock_bootloader.bat , after that , open command promt in the folder with the files downloanded , and check with "fastboot oem device-info" if device unlocked and device critical unlocked are both set to true.
Note : If isn't working , try againg , if still not then :
- - - - 4.1 Open command promt in the folder with platform tools
- - - - 4.2 type "adb usb" -> which will confirm the connection on your device
- - - - 4.3 "adb reboot bootloader" brings you to the fastboot mode
-----------------------> Now you are in fastboot mode , for there execute :
fastboot oem unlock-go
fastboot flashing unlock_critical
fastboot flash xbl xbl.elf
fastboot flash xblbak xbl.elf
fastboot flash aboot emmc_appsboot.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot oem unlock-go
fastboot flashing unlock_critical
Now check with "fastboot oem device-info" if device unlocked and device critical unlocked are both set to true.
5. If yes then download TWRP: https://www.androidfilehost.com/?fid=890278863836286860 , and copy the .img file in the folder with platform tools
6. Then type in cmd " fastboot flash recovery TWRP-x10.img "
7.Congrats , now you have TWRP , type fastboot reboot and use it
IF YOU HAVE A PROBLEM WITH - Unlock Boot loader CRITICAL is FALSE mayby you use a bad compilation of ADB and fastboot.
Not every compilation understands the command -> fastboot flashing unlock_critical
Make sure your compilation has the following constituent files:
adb.exe
fastboot.exe
AdbWinApi.dll
AdbWinUsbApi.dll
libwinpthread-1.dll
Important in this compilation is a file libwinpthread-1.dll
Hope I helped you.
Have a nice day
Click to expand...
Click to collapse
Good someone will have the rom of the leeco le turbo x950 and its recovery.
info file
julianhrojas said:
All is working excelent work. Just follow instructions.
-unlock bootloader (to me it take 7 attemps so repeat the process until shows unlock critical: true
- flash twrp
- wipe all data wipe-data- yes
- use adb command on twrp to flash all the files that you need: "adb push rom.zip /sdcard"
(Rename the rom file as rom.zip)
-flash the rom
- flash firmware modem
-flash magisk to root
- flash xposed zip
-reboot and wait
All working.
Click to expand...
Click to collapse
Hi, where are file - flash firmware modem - flash xposed zip for x850 I can not find it on the forum
Thanks
diamantik said:
1. 15 seconds ADB Installer (for Windows) :
https://forum.xda-developers.com/showthread.php?t=2588979
2. Platform Tools (adb/fastboot):
https://developer.android.com/studio....html#download
3.Make sure your bootloader is unlocked :
"fastboot oem device-info" --> device unlocked and device critical unlocked need to be " true ".
-->3.1 If not , step by step for unlocking your bootloader
- - - - 3.1 on your Phone go to settings -> About Phone -> Tap On "Build Number" 7 Times , to enable " Developer Options "
- - - - 3.2 Settings -> Developer Options -> enable "OEM Unlock"
- - - - 3.3 Settings -> Developer Options -> enable "USB Debugging"
- - - - 3.4 Now with the device on , conect with usb to pc
- - - - 3.5 Dowload and copy with replace in the platform tools files: https://www.androidfilehost.com/?fid=818222786056032301
- - - - 3.6 Run unlock_bootloader.bat , after that , open command promt in the folder with the files downloanded , and check with "fastboot oem device-info" if device unlocked and device critical unlocked are both set to true.
Note : If isn't working , try againg , if still not then :
- - - - 4.1 Open command promt in the folder with platform tools
- - - - 4.2 type "adb usb" -> which will confirm the connection on your device
- - - - 4.3 "adb reboot bootloader" brings you to the fastboot mode
-----------------------> Now you are in fastboot mode , for there execute :
fastboot oem unlock-go
fastboot flashing unlock_critical
fastboot flash xbl xbl.elf
fastboot flash xblbak xbl.elf
fastboot flash aboot emmc_appsboot.mbn
fastboot flash abootbak emmc_appsboot.mbn
fastboot oem unlock-go
fastboot flashing unlock_critical
Now check with "fastboot oem device-info" if device unlocked and device critical unlocked are both set to true.
5. If yes then download TWRP: https://www.androidfilehost.com/?fid=890278863836286860 , and copy the .img file in the folder with platform tools
6. Then type in cmd " fastboot flash recovery TWRP-x10.img "
7.Congrats , now you have TWRP , type fastboot reboot and use it
---------- Post added at 04:33 PM ---------- Previous post was at 04:29 PM ----------
@moto999999 i made an post with more explained way of instaling the twrp , if you like , you can edit your description ;P
Click to expand...
Click to collapse
the link doesn't work..
2. Platform Tools (adb/fastboot):
https://developer.android.com/studio....html#download
Can you fix it please?
Is this works on x950?
Hey everyone!
I've updated TWRP to the latest version (3.3) and it's now using a source built kernel! The kernel and tree source is in my GitHub (link in the first post)
Download: https://www.androidfilehost.com/?fid=6006931924117931532

How To Guide [GUIDE][HowTo] Unlock and root Nothing Phone (1)

ANNOUNCEMENT: I'M STOPPING THE FOLLOW UP AND UPDATE OF THIS TOPIC TODAY, IF SOMEONE WANTS TO TAKE OVER, CONTACT THE MODERATOR IN THIS LINK.
THE TOPIC REMAINS AS IT IS AND WILL NOT BE UPDATED ANYMORE (BY ME ANYWAY!)
GOOD CONTINUATION TO ALL​
Hey everyone,
It's been a few days since the Phone(1) went on sale. And already, Nothing is doing things right by making the Phone(1) Kernel available. The next step was to unlock the bootloader and root it. Both are already available and ready to use.
So don't deprive yourself and here is the process of the two operations.
You've already unlocked the bootloader and rooted a carrierless variant of either a Google Pixel or OnePlus, you should have no problem unlocking your Nothing Phone (1) and installing Magisk. For those of you with a memory lapse, here is a tutorial to guide you through the process.
- Disclaimer: I don't take any responsibility for anything you do to your tablet, which is to transform it into brick, break, or transform it into coffee machine - ​
Click to expand...
Click to collapse
How to bootloader unlock and root the Nothing Phone 1​After unlocking the bootloader, you can use Magisk to root the device.
You must first unlock the bootloader in order to be able to start third-party software. Here's how to do it:
Step 1: Unlock the Nothing Phone 1’s bootloader​
Open the Settings app on your Nothing Phone 1.
Tap on About phone.
Locate the section named Software info and tap on it.
On the next screen, tap on the Build number 7 times until it says you’re now a developer.
Go back to the main Settings page, tap on System, and near the bottom of the list, you should see Developer options. Tap on it.
You should see an OEM unlocking option. Enable it. For security purposes, it may ask you to input your lock screen PIN/password if you have one set.
Scroll down a bit until you see USB debugging. Enable it as well.
Plug in your Nothing Phone 1 into your PC/Mac/Chromebook. Make sure you have the Latest version of ADB and Fastboot (33.0.3) binaries installed.
Now open up a terminal window/Command Prompt instance and enter the following command: adb devices
If you see your device’s serial number and it says “authorized,” then you’re good to go. If this is your first time setting up ADB for this device, then you may see a prompt on your phone to enable USB Debugging for your PC. Grant it permission.
If you’re having trouble getting your Windows PC to recognize your device, try installing the latest Android USB Drivers.
Now, reboot to the bootloader menu. You can either do this by holding the power and volume down buttons while booting up, or by entering the following ADB command: adb reboot bootloader
Once you’re on the bootloader menu, you’ll now have to switch to using fastboot command to communicate with your device. To unlock the Nothing Phone 1’s bootloader, enter the following command: fastboot flashing unlock
In case you need to flash low-level firmware partitions like the bootloader images, you will have to execute another command afterwards: fastboot flashing unlock_critical
[NOT A MANDATORY TO UNLOCK CRITICAL, IT'S FOR ME BETTER TO NOT USE THIS COMMAND, THIS COMMAND COULD BE THE REASON SOME PEOPLE HAVE BRICK OR NOT WHEN GO BACK STOCK NOS]
You should now see text on screen warning you about the potential risks of unlocking the bootloader. On the screen next to the power and volume buttons, you should see some text. Press the volume up key until it says “unlock the bootloader.” Once it says this, press the power button.
The phone will unlock the bootloader and reboot back to the bootloader menu. This time, the bootloader will show a red warning icon and “unlocked” text.
Now, reboot your phone back to the Android OS. You can do this by sending the following fastboot command: fastboot reboot
Congratulations, your Nothing Phone 1 now has an unlocked bootloader!
You’ll see a warning message that your phone’s bootloader is unlocked on every boot, but don’t worry about that as it doesn’t affect your day-to-day use.
Step 2 - Rooting your Nothing Phone 1 with Magisk​With an unlocked bootloader, you can now boot modified boot images. For Magisk to work, you’ll need to patch the Nothing Phone 1’s stock boot image.
Since your device has been wiped earlier, you’ll need to go back and re-enable Developer Options and then re-enable USB Debugging. Make sure your Nothing Phone 1 is still recognized by your PC.
Download the full OTA package corresponding to the installed software version on the Nothing Phone 1.
Depending of your model, you have Global or EEA (European) firmware availables.
You can download the latest full OTA firmware package here.
Extract the stock boot image from the OTA package. For more information, take a look the “You have access to the recovery-flashable ZIP file” section our “How to Install Magisk on your Android Phone” tutorial.
In case you don’t want to download the whole OTA file, you can separately download the boot image just to the post #2 or from this post. However, to avoid version mismatch and other unforeseen errors, it is always advised to extract the boot image yourself.
Now that we have the stock boot image to patch, push it to your device with this command: adb push <path_to_file> /sdcard/Download
Download and install the Magisk app on the Nothing Phone 1.
Open the Magisk app and tap on the Install button.
Choose Select and Patch a File. A file manager will pop up.
Select the boot image that you pushed earlier and let Magisk patch it.
Pull it off your phone with this command: adb pull /sdcard/Download/magisk_patched_[random_strings].img
Reboot the Phone 1 into the bootloader: adb reboot bootloader
Flash the patched boot image: fastboot flash boot /path/to/magisk_patched_boot.img
Reboot the phone: fastboot reboot
Open the Magisk app and your Nothing Phone 1 should be rooted.
Keep in mind that unlocking the bootloader and rooting your Nothing Phone 1 will impact how you take advantage of updates. You'll have to learn to manually load monthly security patch updates. But don't worry, it's easy enough to do.​
-=o#0#o=-​
WARNING: I wrote this step to allow you to re-lock your bootloader, but it seems that for this step, there are some problems. So after this warning, if you continue on this path, I could not be held responsible for what you will have as a result: soft-bricked, bootloop, etc.​
Spoiler: Relock the bootloader of your Phone(1)
menu. You can either do this by holding the power and volume down buttons while booting up, or by entering the following ADB command: adb reboot bootloader
[*]Once you’re on the bootloader menu, you’ll now have to switch to using fastboot command to communicate with your device. To unlock the Nothing Phone 1’s bootloader, enter the following command: fastboot flashing lock
[*]Reboot your phone back to the Android OS. You can do this by sending the following fastboot command: fastboot reboot
Many thanks to Skanda Hazarika for his tutorial which you can read on the xda news page.
And thanks to Qiyue_ for the 1st Boot Magisk Patched for the Phone1
#root #nothingphone
Unbricking Nothing phone 1: Flash Stock Firmware with Fastboot
- Disclaimer: I don't take any responsibility for anything you do to your tablet, which is to transform it into brick, break, or transform it into coffee machine -​
Click to expand...
Click to collapse
Warning : The process below will erase all the data on your device. So, I invite you to make a full backup of the device beforehand.
Unfortunately, as I don't own the Phone(1) yet, I am unable to take screenshots with the Phone(1) at the moment. As soon as I can, I will put them online to finalize the tutorial. Thank you for your understanding
STEP 1: What you need and read before the process.
It’s really important for a process without problems
Install Android SDK and the Platform-tools folder
Download the Nothing OS version you need (see this post)
Extract the "payload bin" file from the rom
Extract the Firmware Stock "boot.img" from the rom (see this tutorial)
Unlock the bootloader of your Phone(1) (see this tutorial)
STEP 2: Boot the bricked phone 1 into Fastboot mode
Very often, a soft-bricked or boot-looped device may already be in Fastboot mode. However, if you are stuck in a boot-loop, long press the Power key to turn it off.
Then press and hold the Power and Volume Down keys (or Power and Volume Up keys on some devices) simultaneously to boot your device into Fastboot mode.
In case you are unable to turn off your device, let the battery discharge. Once it is drained, connect it to the charger. Then, as soon as it is about to start, use the Power and Volume Up/Down keys and it will start directly in Fastboot mode.
STEP 3: Format the device via Fastboot
1.Go to the platform-tools folder where the extracted ROM is located.
2.Then go to its address bar, type CMD in its address, and press Enter. This will launch the CMD window.
3.Now run the following command to perform a factory reset (optional but recommended)
Code:
fastboot -w
STEP 4: Flash the Nothing Phone 1 firmware via the Fastboot commands
Run the commands below in the CMD window [which is open in the platform-tools folder] to flash the partition file.
Very Important: Only run one command at a time. If you get an error, however, do not exit the process halfway, but go on to the next flashing command instead.
Don't forget to check your command line before validating it, because often a small error blocks you!
Spoiler: Command Lines
Code:
fastboot flash abl abl.img
fastboot flash aop aop.img
fastboot flash bluetooth bluetooth.img
fastboot flash boot boot.img
fastboot flash cpucp cpucp.img
fastboot flash devcfg devcfg.img
flash fastboot dsp dsp.img
flash fastboot dtbo dtbo.img
fastboot flash featenabler featenabler.img
fastboot flash hyp hyp.img
fastboot flash imagefv imagefv.img
fastboot flash keymaster keymaster.img
fastboot flash modem modem.img
fastboot flash multiimgoem multiimgoem.img
fastboot flash odm odm.img fastboot
fastboot flash product product.img
fastboot flash qupfw qupfw.img
flash fastboot shrm shrm.img
flash fastboot system system.img
flash fastboot system_ext system_ext.img
flash fastboot tz tz.img
flash fastboot uefisecapp uefisecapp.img
flash fastboot vbmeta vbmeta.img
flash fastboot vbmeta_system vbmeta_system.img
fastboot flash vendor vendor.img
fastboot flash vendor_boot vendor_boot.img
flash fastboot xbl xbl.img
fastboot flash xbl_config xbl_config.img
Step 5: If you have not had any errors, then you can run the command below to boot your device onto the operating system.
Code:
fastboot reboot
Well done , you have just debricked your Nothing Phone 1 by flashing the stock firmware via the fastboot commands.
I hope this tutorial has helped you find your Phone(1).
Thanks
Reserved
FILES FOR NOTHING OS - (stock-boot, etc. )
UPDATE 15/12/2022
Stock_Boot for Nothing OS here
Be carefull, be sure to select the good Stock Boot "Global" or "EEA" for your device.​
Extract Payload.bin via Payload Dumper Go
To start, download the payload-dumper-go 1.0.0 from Github [Credits: XDA Member @ssssut].
Then extract it to any convenient location on your PC. The file name will be something like payload-dumper-go_1.0.0_windows_amd64.
Rename it to payload-dumper-go.
Next, download the liblzma-5.dll file and transfer it to the same folder where the payload-dumper-go.exe file is located.
After that, transfer the payload.bin file to this folder as well.
So, from now on, you should have the 3 files payload-dumper-go.exe, payload.bin and liblzma-5.dll in one folder.
{
"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"
}
Now go to the address bar of that folder, type "cmd" and press Enter. This will launch the command prompt window.
Type the command below to extract the payload.bin file:
Code:
payload-dumper-go payload.bin
The extraction process will now begin and will only take a few seconds.
Once this is done, all extracted files will be placed in a folder named extract_date_time which is created in this directory like this name : extracted_20220731_145751
The process is very simple and very fast. Anyone can do it. So don't hesitate, you have everything you need to do this yourself.
it's up to you now
If this has helped you, and if you appreciate my help.
Thanks
Is it possible to relock the bootloader?
Is it possible to relock the bootloader on an third party ROM?
@Sib64 does the device keep Widevine L1 when the bootloader has been unlocked?
Krullendhaar said:
Is it possible to relock the bootloader?
Click to expand...
Click to collapse
Yes.
Krullendhaar said:
Is it possible to relock the bootloader on an third party ROM?
Click to expand...
Click to collapse
No.
Could you also do a tutorial on how to update the OS when you're rooted?
I hope to find an EDL QPST full rom... better to stay safe and restore It in any case...
Mod is coming...
I tried this with the latest 1.1.0 ROM (got the ROM from https://www.xda-developers.com/nothing-phone-1-nothing-os-1-1-0-update/) but after relocking the bootloader the phone says that it's corrupt and can't get to boot Android.
ErChisus said:
I tried this with the latest 1.1.0 ROM (got the ROM from https://www.xda-developers.com/nothing-phone-1-nothing-os-1-1-0-update/) but after relocking the bootloader the phone says that it's corrupt and can't get to boot Android.
Click to expand...
Click to collapse
Is rooting success with 1.1.0 Rom?
Naveenakash said:
Is rooting success with 1.1.0 Rom?
Click to expand...
Click to collapse
I didn't try it with an actual app, but it was showing properly in Magisk. But bootloader needs to stay unlocked.
ErChisus said:
I tried this with the latest 1.1.0 ROM (got the ROM from https://www.xda-developers.com/nothing-phone-1-nothing-os-1-1-0-update/) but after relocking the bootloader the phone says that it's corrupt and can't get to boot Android.
Click to expand...
Click to collapse
Did you fix that issue?
Naveenakash said:
Did you fix that issue?
Click to expand...
Click to collapse
I didn't. I'm trying to factory reset the phone, but I can't seem to flash the ROM from bootloader.
ErChisus said:
I tried this with the latest 1.1.0 ROM (got the ROM from https://www.xda-developers.com/nothing-phone-1-nothing-os-1-1-0-update/) but after relocking the bootloader the phone says that it's corrupt and can't get to boot Android.
Click to expand...
Click to collapse
Hi! I don't know what the best solution would be, but I would definitely try it if I access the fastboot mode from recovery, reunlock the previously modded and closed bootloader, that is currently on the phone. Ater restarting the phone and its boots up, i would put back the one corresponding to the original software's in recovery fastboot mode and then close it. if the phone started, I do the next sw ota update, restart it and patch its bootloader with magic, then open again the new sw's bootloader from fastboot then flash the magisk patched one. But with thiese solution, you will lose all of your data and application from the phone, same like after you first unlocked the bootloader. ( like factory reset ). I hope it's understandable, unfortunately my English is not very good.
No matter from which partition (A/B)
lba810701 said:
Hi! I don't know what the best solution would be, but I would definitely try it if I access the fastboot mode from recovery, reunlock the previously modded and closed bootloader, that is currently on the phone. Ater restarting the phone and its boots up, i would put back the one corresponding to the original software's in recovery fastboot mode and then close it. if the phone started, I do the next sw ota update, restart it and patch its bootloader with magic, then open again the new sw's bootloader from fastboot then flash the magisk patched one. But with thiese solution, you will lose all of your data and application from the phone, same like after you first unlocked the bootloader. ( like factory reset ). I hope it's understandable, unfortunately my English is not very good.
Click to expand...
Click to collapse
I'm just testing the phone (driving another one yet) so I have no issues with losing data. But the only thing that worked for me was to unlock again the bootloader and then change the active partition (from B to A) within fastboot. After that I could boot the system and do a factory reset.
My issue now is that I'm still with an unlocked bootloader and whether I lock it with one partition marked as active or the other I can't boot to system.
ErChisus said:
No matter from which partition (A/B)
I'm just testing the phone (driving another one yet) so I have no issues with losing data. But the only thing that worked for me was to unlock again the bootloader and then change the active partition (from B to A) within fastboot. After that I could boot the system and do a factory reset.
My issue now is that I'm still with an unlocked bootloader and whether I lock it with one partition marked as active or the other I can't boot to system.
Click to expand...
Click to collapse
And what if you flash back the original bootloader to over the unlocked one, and after it you close it, not the modded one?
ErChisus said:
No matter from which partition (A/B)
I'm just testing the phone (driving another one yet) so I have no issues with losing data. But the only thing that worked for me was to unlock again the bootloader and then change the active partition (from B to A) within fastboot. After that I could boot the system and do a factory reset.
My issue now is that I'm still with an unlocked bootloader and whether I lock it with one partition marked as active or the other I can't boot to system.
Click to expand...
Click to collapse
Also, doing a factory reset from recovery doesn't relock the bootloader either.
I've tried now to sideload the .zip but it seems that even the supposed 1.1.0 full OTA zip available in the other post is older than my current ROM, so it can't be flashed like that. I'll have to wait for the next update.

Categories

Resources