[HOWTO] Install Mokee 7.1.1 Unofficial cutom ROM for your new Zuk Z2 PRO for dummies - Lenovo Zuk Z2 Pro Guides, News, & Discussion

Hi,
Today I just installed a custom ROM for my Zuk Z2 PRO. This tutorial is how I did it.
I get many ressources from this forum and I thank orignal authors.
Big thanks to meister for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/zuk-z2-pro-guide-to-everything-ota-t3562099
And big thanks to m_atze for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/howto-flash-stock-rom-t3435109
More info on this ROM : https://forum.xda-developers.com/zuk-z2-pro/development/rom-share-lr-team-zuk-z2row-z2-pro-t3567710
Backup your data before processing the flash, in order to avoid loss of data!
Flashing / rooting and install custom ROM could brick your device ! You're the only responsible on what you're doing. This guide is how I did it and I'm not responsible if you're messing up your device
Unlock bootloader (step 3) will void Lenovo warranty
Antutu Score : 143050
Summary :
Step 1 : Prepare environment
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
Step 3 : Unlock bootloader (to be able to boot on TWRP)
Step 4 : Boot on TWRP to root the phone
Step 5 : Make a Nandroid backup
Step 6 : Install TWRP
Step 7 : Install a custom ROM with TWRP
Step 8 : Install Gapps (google apps)
Step 1 : Prepare environment
Create a directory where you're gona extract download files (avoid space in the directory path).
Download : adb and fastboot from google
Extract it on your previous created directory.
Download usb drivers and install it
Enable developer mode in your Z2 PRO (link if your don't know how to do it)
Connect your phone on your computer
On the directory C:/yourDirectoryPath/platform-tools maintains shift + rigth click and "Open command window here"
Type adb devices
If your see a line below "List of devices attached" your adb is OK
Note the number somewhere, it's your device serial number.
On the phone type *#06# and note somewhere IMEI numbers in case something went wrong during flashing
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
For this part I use the m_atze tutorial that you can find here. Check it for me detailed steps.
If you are on windows 8, 8.1 or 10, you have to disable driver verification (some people didn't disable driver verification and it works as well)
For windows 10 with anniversary update : you just have to run a cmd as admin and enter bcdedit -set TESTSIGNING ON then reboot your computer (your windows will be in test mode)
For other cases check this link
Then
Download QPST flashtool
Install QPST flashtool and reboot your computer
Download and extract ZUI ROM 2.5.x (you maybe need to rename the directory where the ROM is because it could be too big)
Launch QFIL application as administrator
Go to Configuration -> FireHostConfiguration. 1-change device type to UFS. 2-check reset after download checkbox
Click on "Load content" and browse the contents.xml from the ZUI ROM 2.5.x extracted files
On the adb console you opened earlier, enter adb reboot edl
The QFIL page should look like this
Click on "Download content" to flash your phone
The final screen should like this
If any problem, there is an FAQ
Your phone is gonna reboot, congratulation, you're flashed your phone with ZUI 2.5.x ROM.
Once the phone boots up it will be in Chinese again. To get your phone back in English :
On the welcome screen tap the bottom of the screen below the highlighted blue text to skip the ZUK login.
To change the language back to English go to Settings.
In the third section choose the last entry. "Advanced Settings" (the gears symbol).
Choose the 2nd menu item.
Choose the first menu item and select English.
Now check update and install it if needed trough this app. If the check is green, it's ok.
Re-enable developer mode and debugging
Step 3 : Unlock bootloader (to be able to boot on TWRP)
This step is almost a copy past of section 2 of meister guide
This step gonna void your Lenovo warranty and wipe your data
Step 3.1 : Get the unlock bootloader from Lenovo
In order to unlock the bootloader you will need to got the zuk website, where you need to register first before you can request to unlock the bootloader.
So go here : https://passport.zuk.com/wauthen3/wauth/jsp/register.jsp (use google translate)
Select Email Registration (upper right corner) and fill in the required data
You will receive an Email with a confirmation link.
Now that you are registered, log in and than go to http://developer.zuk.com/bootloader (use google translate)
Click on Carry On.
On the next page select your phone type Z2 Pro.
Enter your serial number (8 digits) (you can find it on Settings -> About -> Status. If your serial is not 8 digit, add 0 to the end to make a 8 digit number)
Enter an email address where to send the unlock image. It seems that the email address here has to follow some rules. ([email protected] or @Web.net seems to work. A domain name with a hyphen (-) seems to cause problems, i use a @hotmail.com mail adresse and it worked)
Check the 2 check boxes and click SUBMIT
If successful you get a message that the image has been sent to your email address. No message means something went wrong. Likely the email address was not approved.
Save the email attachment from ZUK you requested earlier (named unlock_bootloader.img) into C:/yourDirectoryPath/platform-tools/ (next to adb.exe)
Step 3.2 : Unlock bootloader
On adb console enter adb devices to check if your device is still connected
Next enter adb reboot bootloader and your phone gonna reboot in bootloader mode
Next enterfastboot -i 0x2b4c flash unlock unlock_bootloader.img (if you got error "target did not report max-download-size" change from usb 3.0 to usb 2.0 port and / or try to turn on "enable_usb_2.0" via
Developer Options)
You should see
Code:
target reported max download size of 1610612736 bytes
sending 'unlock' (0 KB)...
OKAY [ 0.031s]
writing 'unlock'...
OKAY [ 0.063s]
finished. total time: 0.094s
Then enter fastboot -i 0x2b4c oem unlock-go
You should see
Code:
...
OKAY [ 0.031s]
finished. total time: 0.031s
You phone is gonna reboot (or reboot it manually)
Change the phone language to english and re enable debugging.
Step 4 : Boot on TWRP to root the phone
Download TWRP 3.1 for Zuk Z2 PRO here and extrat TWRP..... .img next to adb.exe in platform-tools folder
Download SuperSu here
Copy paste SuperSu zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Click on "Keep read only"
Go to install and browse to SuperSu zip.
Swipe to install
When installation is finished, reboot your phone (it may reboot many times)
Good job, your phone is now rooted !
Step 5 : Make a Nandroid backup
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Go in backup and check all checkbox
Swipe to backup
Reboot the phone
From your computer browse your phone internal memory and copy your backup from TWRP/Backup/XXXXX to a directory in your computer
Step 6 : Install TWRP
In adb cmd enter adb reboot bootloader
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Then adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
TWRP will start
Reboot your phone
Step 7 : Install a custom ROM with TWRP
Download ROM from https://uploadfiles.io/55ffa
Copy paste ROM zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
Click Wipe and swipe to wipe. Do NOT reboot your phone.
Go back in TWRP main menu and click Install. Browse the ROM zip file
Swipe to install
Reboot your phone
When your phone reboot, it's in chinese. Click on the texte in the right bottom corner and then select your language.
During the phone configuration, do not connect wifi (in my case the phone configuration crashed when I connected to a wifi)
When you finished phone configuration reboot to get notification in your language
Step 8 : Install Gapps (google apps)
Download Gapps from https://forum.xda-developers.com/android/software/gapps-dynamic-gapps-t3487192
Copy the zip file in your phone
Reboot in TWRP
Install Gapps through TWRP
Reboot your phone
At this point my Google Play Services crashed each reboot. So needed to
Reboot in TWRP
Wipe cache
Now it works !
You can install other ROM with this method but I only tested with this one.
Enjoy

First of all, thank you for your help.
I followed this tutorial from start to finish without encountering any unexpected events. It is rare to say so!
Small points:
Step 1:
*- Think of connecting the phone before the command "adb devices", it's stupid but I had not done it!
Step 2:
*- I did not need to change my driver settings on Windows 10.
*- I had to run the QFIL application as an administrator.
*- I had to rename the directory where the ROM was because the name was too big.
Step 3.1:
*- I have a serial number on 7 characters, you must add "0" at the end to make 8 characters.
*- My Gmail address worked smoothly.
Step 4:
*- The SuperSU link did not work, I took this one: http://downloadmirror.co/Utz/UPDATE-SuperSU-v2.79-20161211114519.zip
*- Some reboot at home also, it seems to be normal.
Step 7:
*- I took the ROM "Resurrection Remix", no problem with another ROM.
Step 8:
*- I also had a crash of Google apps, I also did a wipe and it works now. It looks normal too.
Thank you again for your help!

Glade I could help !
Thanks for your feedback, I'm gonna update the tutorial

Hi,
great tutorial, thank you!
Step 6 : Install TWRP - I'm stuck though, as my PC still does not recognize device on fastboot without -i 0x2b4c...
so should I use instead of
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Click to expand...
Click to collapse
the -i option ?
Then fastboot -i 0x2b4c flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot -i 0x2b4c reboot
Click to expand...
Click to collapse
?
... edit, yes that worked ...

lxlx said:
... edit, yes that worked ...
Click to expand...
Click to collapse
Great ! Good to know

Step 3.1 : Get the unlock bootloader from Lenovo
- gmail works
- did not work to get the bootloader with google translater . had to do it in Chinese, but knew the steps since i tried it with translation first

zwat said:
Step 3.1 : Get the unlock bootloader from Lenovo
- gmail works
- did not work to get the bootloader with google translater . had to do it in Chinese, but knew the steps since i tried it with translation first
Click to expand...
Click to collapse
Thanks for the feedback, I updated the tuto.

Thank you for this tutorial, it worked like a charm!

I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first

dommels said:
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
Click to expand...
Click to collapse
I don't know sorry :/
Maybe downgrade to 2.3.x is more secured...
For my information, why do you want to install the MK60.1 ?

Bluud said:
I don't know sorry :/
Maybe downgrade to 2.3.x is more secured...
Click to expand...
Click to collapse
Just went from stock 2.5x to MK60.1 without issues, thanks!
For my information, why do you want to install the MK60.1 ?
Click to expand...
Click to collapse
So far it's the only stable official release from Mokee.

Mk60.1 have exactly the same bugs like Mk71.1. so no need to use mk60.1. mk71.1 is pretty stable btw.

So far quite happy running Mokee. Is there an easy way to root as well?

dommels said:
So far quite happy running Mokee. Is there an easy way to root as well?
Click to expand...
Click to collapse
Mokee was quite good.
Yesterday I installed this ROM : https://forum.xda-developers.com/zu...tom-rom-zuk-z2pro-resurrection-remix-t3579113
I prefer this ROM because you can custom it in many ways.
Since yesterday it's stable.

Question
Bluud said:
Mokee was quite good.
Yesterday I installed this ROM : https://forum.xda-developers.com/zu...tom-rom-zuk-z2pro-resurrection-remix-t3579113
I prefer this ROM because you can custom it in many ways.
Since yesterday it's stable.
Click to expand...
Click to collapse
It's the same tutorial?

Yes

Bluud said:
Hi,
Today I just installed a custom ROM for my Zuk Z2 PRO. This tutorial is how I did it.
I get many ressources from this forum and I thank orignal authors.
Big thanks to meister for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/zuk-z2-pro-guide-to-everything-ota-t3562099
And big thanks to m_atze for his guide : https://forum.xda-developers.com/zuk-z2-pro/how-to/howto-flash-stock-rom-t3435109
More info on this ROM : https://forum.xda-developers.com/zuk-z2-pro/development/rom-share-lr-team-zuk-z2row-z2-pro-t3567710
Backup your data before processing the flash, in order to avoid loss of data!
Flashing / rooting and install custom ROM could brick your device ! You're the only responsible on what you're doing. This guide is how I did it and I'm not responsible if you're messing up your device
Unlock bootloader (step 3) will void Lenovo warranty
Antutu Score : 143050
Summary :
Step 1 : Prepare environment
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
Step 3 : Unlock bootloader (to be able to boot on TWRP)
Step 4 : Boot on TWRP to root the phone
Step 5 : Make a Nandroid backup
Step 6 : Install TWRP
Step 7 : Install a custom ROM with TWRP
Step 8 : Install Gapps (google apps)
Step 1 : Prepare environment
Create a directory where you're gona extract download files (avoid space in the directory path).
Download : adb and fastboot from google
Extract it on your previous created directory.
Download usb drivers and install it
Enable developer mode in your Z2 PRO (link if your don't know how to do it)
Connect your phone on your computer
On the directory C:/yourDirectoryPath/platform-tools maintains shift + rigth click and "Open command window here"
Type adb devices
If your see a line below "List of devices attached" your adb is OK
Note the number somewhere, it's your device serial number.
On the phone type *#06# and note somewhere IMEI numbers in case something went wrong during flashing
Step 2 : Install ZUI 2.5.x (recommended before installing Nougat custom ROM)
For this part I use the m_atze tutorial that you can find here. Check it for me detailed steps.
If you are on windows 8, 8.1 or 10, you have to disable driver verification (some people didn't disable driver verification and it works as well)
For windows 10 with anniversary update : you just have to run a cmd as admin and enter bcdedit -set TESTSIGNING ON then reboot your computer (your windows will be in test mode)
For other cases check this link
Then
Download QPST flashtool
Install QPST flashtool and reboot your computer
Download and extract ZUI ROM 2.5.x (you maybe need to rename the directory where the ROM is because it could be too big)
Launch QFIL application as administrator
Go to Configuration -> FireHostConfiguration. 1-change device type to UFS. 2-check reset after download checkbox
Click on "Load content" and browse the contents.xml from the ZUI ROM 2.5.x extracted files
On the adb console you opened earlier, enter adb reboot edl
The QFIL page should look like this
Click on "Download content" to flash your phone
The final screen should like this
If any problem, there is an FAQ
Your phone is gonna reboot, congratulation, you're flashed your phone with ZUI 2.5.x ROM.
Once the phone boots up it will be in Chinese again. To get your phone back in English :
On the welcome screen tap the bottom of the screen below the highlighted blue text to skip the ZUK login.
To change the language back to English go to Settings.
In the third section choose the last entry. "Advanced Settings" (the gears symbol).
Choose the 2nd menu item.
Choose the first menu item and select English.
Now check update and install it if needed trough this app. If the check is green, it's ok.
Re-enable developer mode and debugging
Step 3 : Unlock bootloader (to be able to boot on TWRP)
This step is almost a copy past of section 2 of meister guide
This step gonna void your Lenovo warranty and wipe your data
Step 3.1 : Get the unlock bootloader from Lenovo
In order to unlock the bootloader you will need to got the zuk website, where you need to register first before you can request to unlock the bootloader.
So go here : https://passport.zuk.com/wauthen3/wauth/jsp/register.jsp (use google translate)
Select Email Registration (upper right corner) and fill in the required data
You will receive an Email with a confirmation link.
Now that you are registered, log in and than go to http://developer.zuk.com/bootloader (use google translate)
Click on Carry On.
On the next page select your phone type Z2 Pro.
Enter your serial number (8 digits) (you can find it on Settings -> About -> Status. If your serial is not 8 digit, add 0 to the end to make a 8 digit number)
Enter an email address where to send the unlock image. It seems that the email address here has to follow some rules. ([email protected] or @Web.net seems to work. A domain name with a hyphen (-) seems to cause problems, i use a @hotmail.com mail adresse and it worked)
Check the 2 check boxes and click SUBMIT
If successful you get a message that the image has been sent to your email address. No message means something went wrong. Likely the email address was not approved.
Save the email attachment from ZUK you requested earlier (named unlock_bootloader.img) into C:/yourDirectoryPath/platform-tools/ (next to adb.exe)
Step 3.2 : Unlock bootloader
On adb console enter adb devices to check if your device is still connected
Next enter adb reboot bootloader and your phone gonna reboot in bootloader mode
Next enterfastboot -i 0x2b4c flash unlock unlock_bootloader.img (if you got error "target did not report max-download-size" change from usb 3.0 to usb 2.0 port and / or try to turn on "enable_usb_2.0" via
Developer Options)
You should see
Then enter fastboot -i 0x2b4c oem unlock-go
You should see
You phone is gonna reboot (or reboot it manually)
Change the phone language to english and re enable debugging.
Step 4 : Boot on TWRP to root the phone
Download TWRP 3.1 for Zuk Z2 PRO here and extrat TWRP..... .img next to adb.exe in platform-tools folder
Download SuperSu here
Copy paste SuperSu zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Click on "Keep read only"
Go to install and browse to SuperSu zip.
Swipe to install
When installation is finished, reboot your phone (it may reboot many times)
Good job, your phone is now rooted !
Step 5 : Make a Nandroid backup
In adb cmd enter adb reboot bootloader
Then enter fastboot -i 0x2b4c boot TWRP3.1.0.0_ZUK_Z2_pro.img to boot in TWRP image
Go in backup and check all checkbox
Swipe to backup
Reboot the phone
From your computer browse your phone internal memory and copy your backup from TWRP/Backup/XXXXX to a directory in your computer
Step 6 : Install TWRP
In adb cmd enter adb reboot bootloader
Then fastboot flash recovery TWRP3.1.0.0_ZUK_Z2_pro.img to install TWRP on your phone
Then fastboot reboot
Then adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
TWRP will start
Reboot your phone
Step 7 : Install a custom ROM with TWRP
Download ROM from https://uploadfiles.io/55ffa
Copy paste ROM zip file in your phone internal storage
In adb cmd enter adb reboot bootloader
Then with volume keys select Recovery Mode and enter in Recovery Mode by pushing power key
Click Wipe and swipe to wipe. Do NOT reboot your phone.
Go back in TWRP main menu and click Install. Browse the ROM zip file
Swipe to install
Reboot your phone
When your phone reboot, it's in chinese. Click on the texte in the right bottom corner and then select your language.
During the phone configuration, do not connect wifi (in my case the phone configuration crashed when I connected to a wifi)
When you finished phone configuration reboot to get notification in your language
Step 8 : Install Gapps (google apps)
Download Gapps from https://forum.xda-developers.com/android/software/gapps-dynamic-gapps-t3487192
Copy the zip file in your phone
Reboot in TWRP
Install Gapps through TWRP
Reboot your phone
At this point my Google Play Services crashed each reboot. So needed to
Reboot in TWRP
Wipe cache
Now it works !
You can install other ROM with this method but I only tested with this one.
Enjoy
Click to expand...
Click to collapse
Does it works on Zuk Z2?

dommels said:
I'm currently on ZUI 2.5.x. Can I go straight to official MK60.1 using this guide?
Or should I downgrade to ZUI 2.3.x first
Click to expand...
Click to collapse
You can go straight to the latest RR rom without downgrade, so I guess you can do this with MK60 also. But why do you want that...?
Sendt fra min ZUK Z2121 med Tapatalk

Pendragon2000 said:
Does it works on Zuk Z2?
Click to expand...
Click to collapse
You can use this tutorial BUT you need to take a Z2 ROM and a Z2 TWRP.
Check on xda Z2 topics

accelerometer/gyroscope BUG can`t play any game

Related

[GUIDE] Root Huawei Honor 5C and install TWRP custom recovery (EMUI 5.X)

Did not find any post mentioning rooting for 5C on EMUI. If there are any, let me know and I will take down this thread.
Note-
Applicable for Windows 7, Windows 8 and Windows 10
Similar steps are applicable for EMUI 4.X as well but TWRP file will change.
Saw many user on Honor 5C FB page and on XDA struggling to get root working on EMUI 5. most of the cases I saw, were for EMUI 5.X. I followed the steps mentioned or as applicable for any devices and I did not face any issue so though of compiling this guide for new users who may have faced issue or not able to root the phone. (may be mainly because of correct and working TWRP issue) . I will just simplify the steps so that any new users can do this without any problem and without any prior experience to rooting, it may be long but will be the simple enough for all the users.
Prerequisites-
Enable the developer option in settings-
Go to Settings--> About Phone-->Tab build number 7 times to enable this setting.
Go back in setting page, just above system update, you will see a new menu as -Developer Options
Scroll for the debugging section and enable the USB Debugging
You will be prompted for the confirmation with RSA key, just accept it.
Enable OEM Unlock in Developer Options (just above the USB debugging option) – Most probably this option will not be there on EMUI 5.0 (only few have seen on EMUI but it was there on EMUI 4.1 for all but rarely on EMUI 5.0 or may be because I have used dload most of the time which grayed out this)
Installation of required Drivers.
Connect your phone to PC and install Hi Suite on PC and it will additionally install all the necessary drivers to PC and HiSUite on Mobile.
Download and Install ADB from Link
Accept all the prompts and install ADB drive system wise.
Once installation is completed, if default options are chosen, it will be under C:\adb
Downloading the necessary files.
Download TWRP from Link Thanks to @OldDroid for his Original Thread . Rest of the contributor and credit in original thread by OldDroid.
Move the downloaded file under C:\adb or wherever you have installed the ADB.
Download the SuperSU file from this Link and put it in SD card or keep handy on PC so that you can copy to internal memory later.
Get the unlock as mentioned in this thread
Actual Procedure
Unlocking the bootloader-
Backup all your data as unlocking the bootloader will reset the device and all your data will be erased.
On windows machine, go to folder C:\adb or wherever you installed the adb drivers.
Press shift+right click together and select Open command prompt here
Run - adb reboot bootloader (this command may prompt for acceptance of RSA key if not already accepted)
This will boot the phone into bootloader mode.
Run - fastboot oem unlock <16 digit unlock code- Put your actual code you obtained from Huawei site > (This step will unlock the bootloader and will erase all your data)
Phone will restart automatically.
Installing TWRP
Once on the system, open the PowerShell or command prompt again in ADB folder (can use the previous instance as well)
Run - adb reboot bootloader
Once in bootloader, Run - fastboot flash recovery twrp-3.1.1-0-venus.img (This will install the TWRP recovery for EMUI 5.0 on your phone)
Once done with the flashing the TWRP, Run - fastboot reboot
Rooting
Once booted to system, open the PowerShell or command prompt in ADB folder (can use the previous instance as well)
Run - adb reboot recovery
And your phone will boot into the TWRP recovery.
Copy the SuperU file downloaded to SD card or Internal memory.
Install the SuperSU zip.
Reboot and enjoy.
Happy Flashing.
working twrp on NEM-L21 https://github.com/OpenKirin/android...0-2-hi6250.img
working supersu on NEM-L21 https://drive.google.com/file/d/0BxW...9ZRGxBTUE/view
Voutsjude said:
working twrp on NEM-L21 https://github.com/OpenKirin/android...0-2-hi6250.img
working supersu on NEM-L21 https://drive.google.com/file/d/0BxW...9ZRGxBTUE/view
Click to expand...
Click to collapse
Page not found for first and file not found for 2nd.
The links and the files mentioned in this thread will work on any honor 5C and are live files.
Nice and Thankssss
shashank1320 said:
did not find any post mentioning rooting for 5c on emui. If there are any, let me know and i will take down this thread.
note-
applicable for windows 7, windows 8 and windows 10
similar steps are applicable for emui 4.x as well but twrp file will change.
saw many user on honor 5c fb page and on xda struggling to get root working on emui 5. Most of the cases i saw, were for emui 5.x. I followed the steps mentioned or as applicable for any devices and i did not face any issue so though of compiling this guide for new users who may have faced issue or not able to root the phone. (may be mainly because of correct and working twrp issue) . I will just simplify the steps so that any new users can do this without any problem and without any prior experience to rooting, it may be long but will be the simple enough for all the users.
prerequisites-
enable the developer option in settings-
go to settings--> about phone-->tab build number 7 times to enable this setting.
go back in setting page, just above system update, you will see a new menu as -developer options
scroll for the debugging section and enable the usb debugging
you will be prompted for the confirmation with rsa key, just accept it.
enable oem unlock in developer options (just above the usb debugging option) – most probably this option will not be there on emui 5.0 (only few have seen on emui but it was there on emui 4.1 for all but rarely on emui 5.0 or may be because i have used dload most of the time which grayed out this)
installation of required drivers.
connect your phone to pc and install hi suite on pc and it will additionally install all the necessary drivers to pc and hisuite on mobile.
download and install adb from link
accept all the prompts and install adb drive system wise.
once installation is completed, if default options are chosen, it will be under c:\adb
downloading the necessary files.
download twrp from link thanks to @olddroid for his original thread . Rest of the contributor and credit in original thread by olddroid.
move the downloaded file under c:\adb or wherever you have installed the adb.
download the supersu file from this link and put it in sd card or keep handy on pc so that you can copy to internal memory later.
get the unlock as mentioned in this thread
actual procedure
unlocking the bootloader-
backup all your data as unlocking the bootloader will reset the device and all your data will be erased.
on windows machine, go to folder c:\adb or wherever you installed the adb drivers.
press shift+right click together and select open command prompt here
run - adb reboot bootloader (this command may prompt for acceptance of rsa key if not already accepted)
this will boot the phone into bootloader mode.
run - fastboot oem unlock <16 digit unlock code- put your actual code you obtained from huawei site > (this step will unlock the bootloader and will erase all your data)
phone will restart automatically.
installing twrp
once on the system, open the powershell or command prompt again in adb folder (can use the previous instance as well)
run - adb reboot bootloader
once in bootloader, run - fastboot flash recovery twrp-3.1.1-0-venus.img (this will install the twrp recovery for emui 5.0 on your phone)
once done with the flashing the twrp, run - fastboot reboot
rooting
once booted to system, open the powershell or command prompt in adb folder (can use the previous instance as well)
run - adb reboot recovery
and your phone will boot into the twrp recovery.
copy the superu file downloaded to sd card or internal memory.
install the supersu zip.
reboot and enjoy.
Happy flashing.
Click to expand...
Click to collapse
works perfect at me , thank you so much
here is my phone model and android version
Thank you so much... Love ya for this! I wish u all the success for future works..
shashank1320 said:
Did not find any post mentioning rooting for 5C on EMUI. If there are any, let me know and I will take down this thread.
Note-
Applicable for Windows 7, Windows 8 and Windows 10
Similar steps are applicable for EMUI 4.X as well but TWRP file will change.
Saw many user on Honor 5C FB page and on XDA struggling to get root working on EMUI 5. most of the cases I saw, were for EMUI 5.X. I followed the steps mentioned or as applicable for any devices and I did not face any issue so though of compiling this guide for new users who may have faced issue or not able to root the phone. (may be mainly because of correct and working TWRP issue) . I will just simplify the steps so that any new users can do this without any problem and without any prior experience to rooting, it may be long but will be the simple enough for all the users.
Prerequisites-
Enable the developer option in settings-
Go to Settings--> About Phone-->Tab build number 7 times to enable this setting.
Go back in setting page, just above system update, you will see a new menu as -Developer Options
Scroll for the debugging section and enable the USB Debugging
You will be prompted for the confirmation with RSA key, just accept it.
Enable OEM Unlock in Developer Options (just above the USB debugging option) – Most probably this option will not be there on EMUI 5.0 (only few have seen on EMUI but it was there on EMUI 4.1 for all but rarely on EMUI 5.0 or may be because I have used dload most of the time which grayed out this)
Installation of required Drivers.
Connect your phone to PC and install Hi Suite on PC and it will additionally install all the necessary drivers to PC and HiSUite on Mobile.
Download and Install ADB from Link
Accept all the prompts and install ADB drive system wise.
Once installation is completed, if default options are chosen, it will be under C:\adb
Downloading the necessary files.
Download TWRP from Link Thanks to @OldDroid for his Original Thread . Rest of the contributor and credit in original thread by OldDroid.
Move the downloaded file under C:\adb or wherever you have installed the ADB.
Download the SuperSU file from this Link and put it in SD card or keep handy on PC so that you can copy to internal memory later.
Get the unlock as mentioned in this thread
Actual Procedure
Unlocking the bootloader-
Backup all your data as unlocking the bootloader will reset the device and all your data will be erased.
On windows machine, go to folder C:\adb or wherever you installed the adb drivers.
Press shift+right click together and select Open command prompt here
Run - adb reboot bootloader (this command may prompt for acceptance of RSA key if not already accepted)
This will boot the phone into bootloader mode.
Run - fastboot oem unlock <16 digit unlock code- Put your actual code you obtained from Huawei site > (This step will unlock the bootloader and will erase all your data)
Phone will restart automatically.
Installing TWRP
Once on the system, open the PowerShell or command prompt again in ADB folder (can use the previous instance as well)
Run - adb reboot bootloader
Once in bootloader, Run - fastboot flash recovery twrp-3.1.1-0-venus.img (This will install the TWRP recovery for EMUI 5.0 on your phone)
Once done with the flashing the TWRP, Run - fastboot reboot
Rooting
Once booted to system, open the PowerShell or command prompt in ADB folder (can use the previous instance as well)
Run - adb reboot recovery
And your phone will boot into the TWRP recovery.
Copy the SuperU file downloaded to SD card or Internal memory.
Install the SuperSU zip.
Reboot and enjoy.
Happy Flashing.
Click to expand...
Click to collapse
Thank you so much... Love ya for this! I wish u all the success for future works..
tahahaiyat said:
Thank you so much... Love ya for this! I wish u all the success for future works..
Click to expand...
Click to collapse
Thanks for lovely wishes
Hi all.
I need help with installation ADB. Download file, start installation, accept all the prompts but 0 files copied and dont have file under C:\adb.
What is wrong? How install ADB?
Thanks
outcastWBC said:
Hi all.
I need help with installation ADB. Download file, start installation, accept all the prompts but 0 files copied and dont have file under C:\adb.
What is wrong? How install ADB?
Thanks
Click to expand...
Click to collapse
Method is same as given in instructions. It shoukd install without issue buddy
Hello,
I had the NEM-L51 from my mother running EMUI 4.0x, and decided to upgrade it to the latest version.
It was unlocked, with TWRP as recovery, and rooted.
I did flash back the stock recovery (from HuaweiUpdateExtractor/Update.app), rebooted the device, and applied the OTA (B350 first, then latest B357).
Until then everything is fine, but when I try to flash the TWRP recovery, it doesn't work :
D:\Android\platform-tools>fastboot flash recovery D:\Downloads\twrp-3.1.1-0-venus.img
target reported max download size of 471859200 bytes
sending 'recovery' (24464 KB)...
OKAY [ 0.719s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.734s
D:\Android\platform-tools>fastboot flash recovery D:\Downloads\twrp-3.2.1-0-nemo.img
target reported max download size of 471859200 bytes
sending 'recovery' (21972 KB)...
OKAY [ 0.672s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.672s
D:\Android\platform-tools>fastboot flash recovery D:\Downloads\twrp-3.1.1-0-nemo.img
target reported max download size of 471859200 bytes
sending 'recovery' (21918 KB)...
OKAY [ 0.641s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.656s
Click to expand...
Click to collapse
Neither the recommended Venus one, or the current / previous nemo one can be flashed.
Phone and FRP status in fastboot mode both shows Unlocked / Unlock, and the OEM Unlock option in EMUI Developper Settings is also enabled (I toggled it just to be sure).
I'm not sure what's wrong.
Would the update mess with the OEM unlock (by relocking and showing a wrong status) ?
I'd rather not try fastboot OEM unlock with the code (still have it somewhere) and lose data.
Thanks for any advice
Fr33L4nc3r said:
Hello,
I had the NEM-L51 from my mother running EMUI 4.0x, and decided to upgrade it to the latest version.
It was unlocked, with TWRP as recovery, and rooted.
I did flash back the stock recovery (from HuaweiUpdateExtractor/Update.app), rebooted the device, and applied the OTA (B350 first, then latest B357).
Until then everything is fine, but when I try to flash the TWRP recovery, it doesn't work :
Neither the recommended Venus one, or the current / previous nemo one can be flashed.
Phone and FRP status in fastboot mode both shows Unlocked / Unlock, and the OEM Unlock option in EMUI Developper Settings is also enabled (I toggled it just to be sure).
I'm not sure what's wrong.
Would the update mess with the OEM unlock (by relocking and showing a wrong status) ?
I'd rather not try fastboot OEM unlock with the code (still have it somewhere) and lose data.
Thanks for any advice
Click to expand...
Click to collapse
This should work fine but if not, can try Hassan's recovery
shashank1320 said:
This should work fine but if not, can try Hassan's recovery
Click to expand...
Click to collapse
Before trying that recovery, I just tried to flash the stock one from NEM-L51C432B357 full OTA package, and it doesn't work either
D:\Android\platform-tools>fastboot flash recovery D:\Android\HuaweiUpdateExtractor_0.9.9.5\RECOVERY.img
target reported max download size of 471859200 bytes
sending 'recovery' (35570 KB)...
OKAY [ 0.932s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.954s
Click to expand...
Click to collapse
So it's not a recovery issue.
How useful is the HiSuite backup ?
If I make a backup with it, will it be able to restore most user app's and system's data ?
I'd rather not re set everything up, and I'm afraid I'll have to retry to OEM unlock the device (so force wipe), even if it says it's unlocked (which it should have remained in the first place)
Fr33L4nc3r said:
Before trying that recovery, I just tried to flash the stock one from NEM-L51C432B357 full OTA package, and it doesn't work either
So it's not a recovery issue.
How useful is the HiSuite backup ?
If I make a backup with it, will it be able to restore most user app's and system's data ?
I'd rather not re set everything up, and I'm afraid I'll have to retry to OEM unlock the device (so force wipe), even if it says it's unlocked (which it should have remained in the first place)
Click to expand...
Click to collapse
Hisuite can be used for back.. reliable one but not same as titanium backup. Backup WhatsApp on local and g drive. Zip the WhatsApp folder in internal memory and then copy to pc.
Rest other apps, via hisuite (can backup WhatsApp as well here).
Fr33L4nc3r said:
Before trying that recovery, I just tried to flash the stock one from NEM-L51C432B357 full OTA package, and it doesn't work either
So it's not a recovery issue.
How useful is the HiSuite backup ?
If I make a backup with it, will it be able to restore most user app's and system's data ?
I'd rather not re set everything up, and I'm afraid I'll have to retry to OEM unlock the device (so force wipe), even if it says it's unlocked (which it should have remained in the first place)
Click to expand...
Click to collapse
You file should be in path D:\Android\platform-tools\ and not D:\Android\HuaweiUpdateExtractor_0.9.9.5\
I hope adb is installed under D:\Android\platform-tools\, if not, it will be udner C drive as C:\adb\
copy the recovery file whereever the adb is installed and then run the command
fastboot flash recovery twrp-3.1.1-0-venus.img (replace name with your actual file name)
Ok, so in fact fastboot OEM unlock status was not accurate, and something I didn't notice was the absence of dm-verity warning when booting (showing when it's actually unlocked)
Fr33L4nc3r said:
Ok, so in fact fastboot OEM unlock status was not accurate, and something I didn't notice was the absence of dm-verity warning when booting (showing when it's actually unlocked)
Click to expand...
Click to collapse
May be. try moving the files and then flashing from that folder and see if it works.
stopin phone
hello.please help me.last night i unlocked my gt3 and reseted factory data.but after these my phone stopped in page that typed "your device is booting now..." . but nothing going change.
when i hold power key or power key with volume up down , my phone get restart and show huawei mark and after that show the pervious page that i stoped in it and nothing change again.what can i do? :crying::crying::crying::crying:
please help me, my device is Huawei GT3 (honor 5c) (NMO L31) it was unlock bootloader before i bought it and now i want to install twrp, so i have to learn a lot of website and Follow me, I downloaded and installed Adb, installed the driver, then downloaded the twrp version with nemo honor for honor 5c, then open CMD or powershell to write commands like adb reboot bootloader then adb fastboot flash recovery twrp.img is under the writing that says Failed (remote: image verification error), I previously copied the twrp 3.0 file ... into the adb folder and renamed to twrp. Now I have to do to install twrp on my device. Please help me.
Hello, I have an NMO_L31 (honor 5c - huawei gr5 mini) device and I have experienced a Failed (remote: image verification error) error when installing TWRP while my phone was unlocked before. have searched from a lot of technology pages to find remedies but all failed. But my God, Jehovah listened to my plea and brought me to @shashank123, I contacted him through XDA and I got him a phone number to make friends on the telegram, he helped me out I and I have overcome the above error. I would like to explain how to overcome the error that I tried. First, I went back to emui 4.1.2 (you can see the instructions then allow OEM unlock, then I update the OTA to emui 5, allow usb debugging when the update is complete. Shift + Right click on CMD (or powershell) and enter "adb devices" to see the connected device, then enter "adb reboot bootloader" then enter "fastboot oem get-bootinfo" To check if the bootloader has been unlocked, then enter the command "fastboot oem unlock (code)" to unlock if the relock bootloader, then if the bootloader has been unlocked then the purpose of the command to factory reset. If that is the case, then go to the phone and see if factory reset is complete. Then develop and reconnect to adb, check the device connected to the "adb devices" command then go to the "adb reboot bootloader" command to get to the fastboot and then use the command "fastboot flash recovery recovery_name.img" (for example : Twrp) "Finally, if the word OKEY appears, you are successful. If you can not solve this problem, please send a message to @shashank123 in XDA and ask for his phone number to make friend through telegram and regular help message because he does not often use XDA. Thank you very much Shashank for helping me. Thanks be to my god JESU CHRIST and JEHOVAH.
tanhoang1702 said:
Hello, I have an NMO_L31 (honor 5c - huawei gr5 mini) device and I have experienced a Failed (remote: image verification error) error when installing TWRP while my phone was unlocked before. have searched from a lot of technology pages to find remedies but all failed. But my God, Jehovah listened to my plea and brought me to Shashank123, I contacted him through XDA and I got him a phone number to make friends on the telegram, he helped me out I and I have overcome the above error. I would like to explain how to overcome the error that I tried. First, I went back to emui 4.1.2 (you can see the instructions then allow OEM unlock, then I update the OTA to emui 5, allow usb debugging when the update is complete. Shift + Right click on CMD (or powershell) and enter "adb devices" to see the connected device, then enter "adb reboot bootloader" then enter "fastboot oem get-bootinfo" To check if the bootloader has been unlocked, then enter the command "fastboot oem unlock (code)" to unlock if the relock bootloader, then if the bootloader has been unlocked then the purpose of the command to factory reset. If that is the case, then go to the phone and see if factory reset is complete. Then develop and reconnect to adb, check the device connected to the "adb devices" command then go to the "adb reboot bootloader" command to get to the fastboot and then use the command "fastboot flash recovery recovery_name.img" (for example : Twrp) "Finally, if the word OKEY appears, you are successful. If you can not solve this problem, please send a message to Shashank123 in XDA and ask for his phone number to make friend through telegram and regular help message because he does not often use XDA. Thank you very much Shashank for helping me. Thanks be to my god JESU CHRIST and JEHOVAH.
Click to expand...
Click to collapse
No problem at all mate. Helping through telegram was quick in real time rather multiple post or message and then waiting for response from each other. Due to time crunch, I opted to quick help rather keep you waiting all day long
Good you got your phone as per your requirement and able to do what you wanted. Thanks and Enjoy.
You can edit your comment to say "@shashank1320" (use without double quotes) rather Shashank123 as users may send message or qoute him and get no response as that user may or may not exist :silly:
grand.mohammad said:
hello.please help me.last night i unlocked my gt3 and reseted factory data.but after these my phone stopped in page that typed "your device is booting now..." . but nothing going change.
when i hold power key or power key with volume up down , my phone get restart and show huawei mark and after that show the pervious page that i stoped in it and nothing change again.what can i do? :crying::crying::crying::crying:
Click to expand...
Click to collapse
Boot to bootloader again and see the bootloader state if locked or unlocked. Try unlocking it again.

Can't get adb to see my le pro in fastboot

My phone, the LeEco Le Pro 3 LEX727 ZL1_NA US model is on the latest EUI 5.8.021S. I am able to open the adb tools in command prompt and get my computer to recognize my phone with "adb devices", but when I go to the stock fastboot with the Chinese and English writing and use "fastboot devices" nothing shows up. I'm using the latest adb tools and am clueless as to what to do.
Unlock Bootloader - Le Eco Pro 3
If you are not seeing your phone ID in ADB
Did you enable enable Developer options, or chosen MTP?
Its possible that the Android driver driver is outdated, or just try another usb port, preferably in the back of the machine.
Go here to check a whole list of possible causes: https://appuals.com/android-phone-not-showing-up-on-pc/
More than you asked for:
Since you seem to be new to your Leeco phone and new to using custom roms, I am going to go ahead and answer your current question and provide you steps needed to move forward. No big deal, I just copy pasted my notes ( with a few edits)
First steps that you need to take:
1. You will first need to unlock the bootloader :
PHP:
https://forum.xda-developers.com/showpost.php?p=71566961&postcount=203
2. Install Twrp :
PHP:
https://twrp.me/leeco/leecolepro3.html
****** Scroll down to see: Fastboot Install Method (
3. Right now just use ADB. But for the future, I highly recommend that you buy an OTG drive: it makes the whole process a thousand times easier: They are cheap somewhere near $5 and worth ten times that
Unlocking the Bootloader
You can save your self alot of time by looking up how to give ADB system wide privileges: this will allow you to flash files without tying the directory path.
Mauronofrio created a tool called: "TOOL ALL IN ONE"" it's great, install it and check for updates.
PHP:
https://toolaio.tk
The all is one tool is excellent and you can use it to install everything if wanted.
I usually recommend it for novices that can use it to help with unlocking the bootloader and installing TWRP.
The tool will also update your copy of ADB, android Drivers and provide system wide privileges for ADB
LETS RECAP : Choose using the All in One Tool or the ADB Method
**********BEFORE DOING ANYTHING*******************
Make sure you have enabled the developer tools,
Turned on USB debugging
Authorized your computer on your device I.E: “MTP”
Make sure the All in One Tool can see your device
(*) Select your device from the drop down menu, then click check
(*) Choose to install drivers, and set ADB and fastboot privileges from advanced menu.
(*) First attempt to unlock, then check bootloader status
If you have a X727 you will need to flash : emmc_appsboot.mbn from this zip :
PHP:
https://androidfilehost.com/?fid=313042859668275431
Next, choose Recovery flasher and manually select your copy of TWRP
After you have received the success message, I recommend doing the rest of the install manually within Twrp Recovery.
(*) Reboot into TWRP and begin installation of your Rom, Gapps and Magisk.
Using the ADB Method
Install ADB/Fastboot tools on your computer
PHP:
https://wiki.lineageos.org/adb_fastboot_guide.html
1. Make sure you have enabled the developer tools,
2. Turned on USB debugging, and authorized your computer on your device “MTP”
3. Enter fastboot mode on phone (hold power and VOL -)
4. Make sure adb can see your device when you run "adb devices"
5. type: fastboot devices
6. fastboot flash aboot emmc_appsboot.mbn
7. Run { adb reboot bootloader } - No spaces (before/after)
8. Run { fastboot devices } to make sure you see your device
9. Run { fastboot oem unlock-go } to unlock your device temporarily
10. Run { fastboot oem device-info } to verify unlock status
11. Run { fastboot boot recovery_twrp-3.2.1-0-zl1.img }
12. 5. Reboot back to TWRP and begin installation of your Rom, Gapps and Magisk.
13. 6. If you wiped data, your device will now proceed to re-initialize itself as if from the factory
Concerning your device's storage,
When you boot into twrp you will see a message that states that the storage is encrypted.
*****************Important************************ ******************
Ensure that you have TWRP installed as the primary recovery
Ensure that you have TWRP installed as the primary recovery
Ensure that you have TWRP installed as the primary recovery
Ensure that you have TWRP installed as the primary recovery
To remove encryption you will need to format the storage
(Anyone who says otherwise has the X720 and not the X727)
You could also try to skip the formatting step. But you will very likely have permissions issues and get errors and you will eventually have to come back and format ( Again as long as Twrp recovery is install there is very slim chance of ever bricking your phone.
To format the storage
Go to Wipe, choose Format Data and follow the instructions.
This will erase all of photos , music, etc
If you wiped your data partition, you'll need to push the zip file to the newly formatted storage. - This is one BIG reason why using OTG is better. You can use Mauronofrio's "TOOL ALL IN ONE"" for pushing the ROM, Gapps, and Magisk to storage.
Root: You absolutely should root!
NOTE: If you have unlocked the bootloader and flashed TWRP to the recovery partition. But have not yet flashed a Custom Rom the OS will likely reset back to the factory recovery UNLESS YOU ROOT THE SYSTEM. Your device is still unlocked. But the recovery can be overwritten by the stock EUI system, so beware.
Installation of Rom, Gapps, Magisk
Boot into TWRP recovery
1. Go to "Wipe" and then to "Advanced Wipe".
2. Mark "Dalvik / ART Cache", "System", "Data" and "Cache".
3. "Swipe to Wipe" and proceed back the main menu.
4. Go to "Install".
5. Select the ROM zip file and then press "Add more Zips" and select the Gapps zip file, and then the Magisk file.
6. "Swipe to confirm Flash" and wait for some time.
7. After the flashing is finished, just reboot to system.
Finished!
If you need help or have a question message me, I would much rather help you with a successful install versus helping you unbrick your phone.
Thank you for your reply. I figured out the issue. Windows 10 updater wasn't auto installing the driver for some reason even though I have auto update ticked.
simpbrackets said:
Thank you for your reply. I figured out the issue. Windows 10 updater wasn't auto installing the driver for some reason even though I have auto update ticked.
Click to expand...
Click to collapse
You have manually install those drivers usually.
Sent from my LEX720 using xda premium
I have the same issue in Windows 10. All In One Tool sees my x720 in adb mode, but when I switch to bootloader, the phone is gone. Device manager then shows unrecognized android device. I have LTSB version of Windows, so maybe that's why it won't auto install the needed driver. Could anyone point out what kind of driver exactly do I need, so that I can install it manually?

Back to Stock all in one - enable dm-verity, lock bootloader, flash latest OOS

I wanted to create a guide which is as simple as rooting a OnePlus 3T. I don’t know if it will work with the OnePlus 3. I’m not responsible for anything. You’re doing it on your own risk, so only do it if you know what you will do, now! It may brick your device.
This is the way it worked for me. I do not guarantee it will work for you!
READ THE WHOLE INSTRUCTIONS FIRST BEFORE YOU DO ANYTHING​
What we do:
- Flash TWRP
- Flash an old version of OOS
- Enable dm verity
- Relock the bootloader
- Flash the latest stock rom
What you need:
- Computer (Windows 7 or 10)
- USB Cable
- about 1 hour of your lifetime
YOU WILL LOOSE ALL YOUR DATA - ALSO THE INTERNAL STORAGE WILL BE DELETED (pics, music and all the stuff stored there)​
Download to your computer:
Latest TWRP for OnePlus 3T
https://forum.xda-developers.com/on.../recovery-official-twrp-oneplus-3-3t-t3543391
and
latest OOS from OnePlus for your 3T
http://downloads.oneplus.net/
THE USB DRIVERS MUST BE INSTALLED ON YOUR COMPUTER​
Download to the phone:
4.0.2 OOS Stock rom (post #2)
https://forum.xda-developers.com/oneplus-3t/development/recovery-twrp-oneplus-3t-t3507308
Flash TWRP:
1. Start your phone in fastboot mode (don’t connect to your PC yet!)
2. Open CMD as Admin (Windows start-menu - type “cmd”, right-click, run as administrator)
3. connect your phone
4. rename the file to “recovery” (don’t type “recovery.img” manually, only “recovery”)
5. type command “fastboot devices” -> device will be listed
6. command “fastboot flash recovery C:\Users\...\recovery.img” (the path where it’s stored)
7. done -> boot to recovery
8. disconnect your phone - leave CMD open
Flash OOS 4.0.2
1. Go into TWRP
2. wipe “System, Data, Cache, Dalvik”
3. Install OOS 4.0.2
4. reboot into fastboot
Enable dm-verity:
1. connect your 3T when it’s back in fastboot
2. type in CMD “enable dm-verity”
3. done - keep CMD open and the phone connected
Relock the bootloader:
1. type in CMD “fastboot OEM lock”
2. Warning message on your phone will pop up -> choose “yes” on your phone by using the volume buttons to lock the bootloader (keep CMD open)
Update to the newest OOS via “sideload”:
1. VOL down to boot into recovery
2. choose “Install from ADB”
3. “Upgrade Android from USB?” -> “Ok”
4. rename the OOS zip file to "update"
5. type in CMD “adb sideload C:\Users\...update.zip”
6. done
7. reboot the device - it will take about 10 minutes, DO NOT INTERRUPT THE PROCESS
Finish
Take your time! Don't do it if you're in a rush.
Please give me feedback if it worked for you or if I have to change something.
enable dm-verity doesnt work
"enable is not recognised..."
chowchillacharlie said:
enable dm-verity doesnt work
"enable is not recognised..."
Click to expand...
Click to collapse
Did you check if the device is listed in fastboot?
You can also try the command "disable" and then "enable"
Sometimes you may need to do it first, even if it's disabled
Thanks for your threat. I tried this but had to do a couple things differently.
I think enabling/disabling dm-verity works only with old firmware.
What I used:
* 4.0.2 firmware from this threat https://forum.xda-developers.com/oneplus-3t/how-to/firmware-modem-collection-flashable-zips-t3565535
* latest oneplus recovery and rom https://downloads.oneplus.com/
* the recovery can be downloaded from a link on the bottom of the rom download site.
I started with twrp and a custom rom.
You need usb debuging enabled and adb and fastboot installed
What I did:
* I did a Nandroid backup, and copied the sdcards content to my computer, because the following completely wiped my phone
"adb pull /sdcard /path/to/my/drive/"
* flash 4.0.2 firmware, with trp
enter adb sideload mode in twrp and
"adb sideload firmware.zip"
* fastboot flash oneplus recovery
"fastboot flash recovery recovery.img"
* using onplus recovery and sideloading installed latest oneplus rom
enter adb sideload and
"adb sideload oneplusrom.zip"
* did a factory reset in oneplus recovery and cheked if my phone would boot
* entered fastboot mode
"fastboot oem disable_dm_verity", then "fastboot oem enable_dm_verity"
"fastboot oem lock"
after that my phone got wiped again, and the next boot took a long time
Then the phone was completely stock
Wanted to post to say thanks to roor7 and WhataHulk - had a rooted 3T I wanted to sell following an upgrade (best price requires the phone to have no sign of root!), and this was the only method that worked for me to enable dm-verity.
As a quick note, I followed roor7's guide, but got the same error message as chowchillacharlie. After sme playing about I found the simplest soultion was using the CMD line provided towards the end of WhataHulk's guide, i.e. - "fastboot oem disable_dm_verity", then "fastboot oem enable_dm_verity". For me, roor7's guide swapping the type "enable dm-verity" in CMD with "fastboot oem enable_dm_verity" worked a treat.
Sorry if that is all incredibly obvious to most people!
Thanks again gents.

[AIO GUIDE] Install Magisk with OTA +Make your own patched_boot...

Hey ! Today i will give you all the different ways/steps for root your Mi A2 easily.
+ How to manually create patched_boot.img for your version (beta...) without extrernal help.​
Code:
Your warranty is now void.
We are not responsible for bricked devices, dead
SD cards... Please do some
research if you have any concerns about features
included in this GUIDE before using it! YOU are
choosing to make these modifications.
Summary
- Part 1 : Install drivers and unlock bootloader. Credit to @balazs312
- Part 2 : Root with 2 ways
- Bonus : Backup boot.img and make patched_boot.img
- Part 3 : OTA
Part 1 :
So, First you need to install drivers and unlock your phone bootloader. Skip to part 2 if already done.
1. Installing drivers & Preparing PC
- Download this and extract it
- Open and install "adb-setup-1.4.3.exe"
- When it is done, go to "Drivers" folder and start "miflash_unlock.exe"
- Click on the gear icon top right corner and click on "Check" next to "Click the button to install the drive"
- Do as the installer says
- Hopefully the drivers has been installed so we're done with it, let's head on the next step.
2. Preparing phone for unlocking
- On your phone navigate to Settings->System->About phone and tap the build number until you see "You are developer"
- Go back once and you'll see a new menu called "Developer options"
- Tap on it and search an option called "OEM Unlocking", enable it
- We're done here. Let's keep going
3. Entering fastboot and unlocking bootloader (MAKE A BACKUP of your data!)
- Hold your power button down, tap on restart and hold your volume DOWN button while it resets until you see the Mi bunny doing its thing
- Now we're in Fastboot mode, hooray
- Download this zip and extract it on your PC
- Open it and type "cmd" (without the quotations) in the file manager header where you see (This computer>somethingsomething>Mi A2 fastboot), don't be afraid just type it in, and hit enter and you'll enter into command prompt
- Now we are ready for action
- Type these commands one by one:
fastboot flashing unlock
fastboot flashing unlock_critical
After this, you will see a warning message that your bootloader is unlocked and your data is not safe, blah blah... Just ignore it everytime you power on your phone.
Part 2 :
So there are currently two ways to root his phone. Let's start with the first.
Methode 1 : We will use the new temp twrp. Method by me.
1. Download files...
- Download this TWRP.
- Place it in your adb folder.
- Download Magisk-v17.2_a and Magisk-v17.2_b.
- Copy these 2 zips in your phone internal storage.
2. Check current-slot...
- Plugin your phone to you pc
- Navigate to your settigs on your phone.
- Open Developer settings
- Enable Usb Debugging
- A pop up should appear on your phone scren, hit and box and autorize the pc.
- on your pc, open fastboot command prompt, and type "adb reboot bootloader" , your device should reboot to fastboot
- type "fastboot getvar current-slot". Remember if the result is a or b.
3. Root using temporally twrp
- Reboot your phone in fastboot.
- On your pc, open fastboot command prompt, and type "fastboot boot twrp-3.2.3-jasmine-20181020.img"
- Your phone now reboot into twrp, it down't flash it, so after a reboot twrp will be gone.
- If twrp ask a password for decrypt data put your phone PIN and validate.
- Click on install and select Magisk-v17.2_a if the result in Step 2. is A, and Magisk-v17.2_b if result is B and swipe to install.
- Then select Reboot.
Now you have Magisk 17.2 installed on your phone, and twrp is gone after reboot. You can select beta in Magisk settings and update to 17.3 if you want.
Methode 2 : We will use patched_boot.img.
1. Where to find patched_boot.img ?
- Go here and check if there is your build version. If yes dowload the patched_boot.img file ( need to be on pc ) and skip to step 2. If not continue.
- If you can't find your correct build patched_boot.img (Because you are on the beta, and nobody share the file or something like that....) you can easily make your own using temp twrp. Go to Bonus part, make your patched_boot.img and continue.
2. Pepare files.
- Copy the patched_boot.img in your adb folder
- Be sure to rename it to "patched_boot.img"
- Download latest Magisk Manager apk here (currently v6.0.1)
- Copy the apk on your phone storage.
3. Install Magisk
- Reboot your phone in fastboot.
- Open a fastboot command prompt on your pc.
- Type "fastboot boot patched_boot.img"
- Your phone will reboot, put your pin....
- Go in your prefer file explorer and Install the magisk apk.
- Now open Magisk Manager app
- Click Install, direct install. Wait for the process
- And click reboot.
Now you have Magisk 17.2 installed on your phone. You can select beta in Magisk settings and update to 17.3 if you want.
Bonus
So, i will show you how to backup your current bot img. And how to make your own patched_boot.img, so people who are on Beta OTA can root there phone without any external help...
1. Backup the boot.img
- Download this TWRP.
- Place it in your adb folder.
- Reboot your phone in fastboot.
- On your pc, open fastboot command prompt, and type "fastboot boot twrp-3.2.3-jasmine-20181020.img"
- Your phone now reboot into twrp, it down't flash it, so after a reboot twrp will be gone.
- If twrp ask a password for decrypt data put your phone PIN and validate.
- In TWRP, click on "Advanced"
- Click "File Manager"
- Navigate to /dev/block/platform/soc/c0c4000.sdhci/by-name
- You will se a lot of files, and if you look you will see 3 important files, boot, boot_a and boot_b.
- Click on the "boot" file
- Click "Copy File"
- Navigate to /sdcard
- Click the blue arrow and swipe to confirm
- Click reboot
- Copy the file on your pc, and rename it to "boot.img" instead of "boot".
Now you have backup your stok boot.img you can use it for stock or whatever you want....
2. Create the patched_boot.img file
- Download latest Magisk Manager apk here (currently v6.0.1)
- Install the apk on your phone
- Open Magisk Manager
- Go to settings , click Update Channel and select Beta
- Return to home of Magisk Manager
- Click Install, then Boot image file patch ( don't know the correct typo because for me the app is in french, champion du monde !! xD ) and wait for the end of the process.
Done you now create your own patched_boot.img ! Enjoy !!
Part 3 :
So, now i will explain you how to install OTA when you have magisk.
- First, disable Automatic system updates in developer options, so it won't install OTAs without your acknowledgement.
- Open Magisk Manager, click Uninstall, then Restore Images. Don't reboot !
- Now Search for update and wait for the process. BUT do not press the "Restart now" or "Reboot" button !
- Open Magisk Manager, hit Install, then Install to inactive slot.
- Reboot when it's done.
If it don't work (strange) and ota failed, you can find your stock boot.img for your build version here, or backup your boot.img using the[ B]1.[/B] of the Bonus part and flash it using the command "fastboot flash boot_( your current slot) boot.img" (you can check your current slot with command "fastboot getvar current-slot).
If you have issues or something like that, here are some telegram group :
MiA2dev
MiA2OffTopic
HexKernel
Work perfect with october update
Thanks 4 your great work
nnexuss said:
Work perfect with october update
Thanks 4 your great work
Click to expand...
Click to collapse
Your wellcome, enjoy
Thx for your very, very good work. No Problems at all with October update. :good:
mahalo
yorkberliner said:
Thx for your very, very good work. No Problems at all with October update. :good:
mahalo
Click to expand...
Click to collapse
nice, enjoy
What to do when Magisk prompts that "Stock Image does not exist"?
Couldn't find a folder to put stock image.
0firuz said:
What to do when Magisk prompts that "Stock Image does not exist"?
Couldn't find a folder to put stock image.
Click to expand...
Click to collapse
can you explain which part you try to do, and on which steps you got this error? for more support you can join telegram groups from the bottom of the guide.
*edit* you can flash stock boot.img for future OTA. check the Part 3 : OTA
Hi
Right now im on OPM1.171019.011.V9.6.13.0ODIMIFE (5 sept 2018) rooted with magisk
I just want to update and re-root, the painless style. I dont want to flash a ****load of stuff to have a functionning phone.
Can anyone confirm that step 3 is ok? Thats the same method than for MI A1, and it was only half functionnal, i dont want to play with fire.
After having killed the IMEI numbers and the persist partition of the A1, it took me 2 weeks to repair, I dont want to **** up this one too. Hell no.
kaott said:
Hi
Right now im on OPM1.171019.011.V9.6.13.0ODIMIFE (5 sept 2018) rooted with magisk
I just want to update and re-root, the painless style. I dont want to flash a ****load of stuff to have a functionning phone.
Can anyone confirm that step 3 is ok? Thats the same method than for MI A1, and it was only half functionnal, i dont want to play with fire.
After having killed the IMEI numbers and the persist partition of the A1, it took me 2 weeks to repair, I dont want to **** up this one too. Hell no.
Click to expand...
Click to collapse
this is safe. but if you want to can just use patched boot method.
I used the method described in Step 3 to install the September OTA (V9.6.13.0) and re-install Magisk. It worked like a charm, but I am trying to repeat the method to install the October update without success. The OTA updater downloads the update, and starts installing it, but it fails miserably every time.
I have even completely uninstalled Magisk and flashed the img from here: https://sourceforge.net/projects/others/files/MiA2/
But It does not work, the OTA installer always fails.
I'm clueless, what can I do?
doragasu said:
I used the method described in Step 3 to install the September OTA (V9.6.13.0) and re-install Magisk. It worked like a charm, but I am trying to repeat the method to install the October update without success. The OTA updater downloads the update, and starts installing it, but it fails miserably every time.
I have even completely uninstalled Magisk and flashed the img from here: https://sourceforge.net/projects/others/files/MiA2/
But It does not work, the OTA installer always fails.
I'm clueless, what can I do?
Click to expand...
Click to collapse
it's because during the ota process, the current slot change. but you can back to stock September ROM, then update. and after that root using my second post https://forum.xda-developers.com/mi-a2/how-to/guide-2-minutes-magisk-installation-t3856980/amp/
Thread closed at OP request

[GUIDE][A6020I36]Install Lineage OS 16, root and recovery in Lenovo Vibe K5

Guide to install Lineage OS 16.0 with root, recovery and unlocked bootloader on Lenovo Vibe K5 A6020I36 by lexiyuri
0. Download and uncompress all the essential included files (TWRP recovery, minimal adb and fastboot, lenovo drivers) included in my androidifilehost link:
https://androidfilehost.com/?w=files&flid=303569
Download the Lineage OS 16 from here (thanks to harry8242):
https://androidfilehost.com/?w=files&flid=282516
dont forget to choose latest Lineage OS 16 compilation
Download the Gapps from
https://opengapps.org/
(choose Android 9.0, arm64 and stock options)
Download the latest SuperSU version (flashable zip package) from here:
http://supersuroot.org/downloads/SuperSU-v2.82-201705271822.zip
Important: dont forget to copy the Gapps, supersu and ROM inside a micro sd card before start!!
1. Make a entire backup of your device, syncing Google and WhatsApp accounts before doing something.
Remember: you are going to erase your Stock Lollipop version in your k5!!
2. Install the inclued Lenovo Drivers
from the folder named latest_usb_driver_windows_2
and the drivers in the executable file named LenovoUsbDriver_autorun_1.1.15_user.exe
For Windows xp to 8.1: proceed to follow on screen instructions
Note for Windows 10 users: this OS enforces driver signatures by default. This can be disabled to install drivers that are not digitally signed. Use the following steps to disable driver signature enforcement in Windows 10.
Click the Start Start menu and select Settings.
Click Update and Security.
Click on Recovery.
Click Restart now under Advanced Startup.
Click Troubleshoot.
Click Advanced options.
Click Startup Settings.
Click on Restart.
On the Startup Settings screen press 7 or F7 to disable driver signature enforcement. Your computer will restart and you will be able to install non-digitally signed Lenovo drivers.
3. Install Minimal ADB and Fastboot: double click on the adb setup file included and follow on screen instructions
Alternatively you can download Minimal ADB tool from https://androidmtk.com/download-minimal-adb-and-fastboot-tool or choose the included in compressed
Also you can install Android Studio SDK from its official source in order to use the ADB and fastboot tools
https://developer.android.com/studio/?gclid=EAIaIQobChMIpdiIlpfh5QIVks13Ch2bUw8REAAYASAAEgJW9PD_BwE
4. To ease things, copy the Recovery file (twrp3230.img) into Minimal ADB Program files folder (check before if your program files folder are 32 or 64 bits).
5. Unlock bootloader for lenovo Vibe k5
Enable the Developer Options. To enable the Developer Options, go to settings => About => Software Information => More => Tap on the Build Number around 7-8 times until you see a message telling you "developer options enabled"
Go back to settings and now enable the OEM Unlock by going to Settings => Developer Options and tap "Enable/allow OEM Unlock" and after tap in the "Enable/ Allow usb debugging" option.
I want to clarify in this point: Lenovo doesn't offer an official way to unlock bootloader. Now, connect your phone to the PC.
In your Minimal ADB fastboot program files folder open a command prompt (cmd window) by pressing Shift Key + Right Mouse Click, now type the following command line in your command window
Code:
adb devices
(This is to verify your device is being recognized and shows a code or identifier)
Note: if you see a pop up to allow USB Debugging on your phone, Click OK
After that, type the following command below to reboot your phone to bootloader
Code:
adb reboot bootloader
Your phone will reboot into bootloader and enter to the fastboot at the same time.
Fastboot screen shows green lenovo logo, a white background and a tiny message saying if you press longer the on/off button you will restart the phone.
Please, make sure your phone shows the bootloader locked and then type the command below to make sure fastboot drivers are installed properly.
Code:
fastboot devices
(This command will list the connected devices. If your phone serial number shows up you can continue, but if the phone is not listed, your drivers are not installed correctly. Fix that issue and then continue.
Now, unlock the bootloader with this command line
Code:
fastboot oem unlock
Important: this command returns an error code saying that remote oem is not allowed, just like the following one
Code:
FAILED (remote: oem unlock is not allowed)
finished. total time: 0.002s
For some reason I did all the entire process without problems. May be Lenovo Vibe K5 is unlocked by default, so, it doesn't matter if the message says you can't do the unlocking. Continue to the Step 6
6. Install the TWRP recovery 3.2.3-0
Type the following command in order to install the recovery and press enter
Code:
fastboot flash recovery twrp3230.img
(this line installs the twrp permanently)
Optional: you can just run the recovery temporarly using this line
Code:
fastboot boot twrp3230.img
The fastboot boot command line lets you inside the twrp recovery mode window. Also, you can enter to the recovery mode pulling out the battery, pressing vol +, vol - and power all that at the same time.
7. Installing Lineage OS 16.0 -Android Pie 9.0-, Gapps and SuperSu (make root) flashable packages.
First then all, make the reglamentary wipes (one by one) without restart/reboot the phone
Code:
wipe system (this will erase the Stock Lollipop)
wipe data (this will erase pictures, WhatsApp folder, Download folder, data apps, wifi passwords, configurations and so on)
wipe cache
wipe dalvik / art cache
In the main twrp window, tap the Install option, locate your microSD tapping in the select storage to activate the external SD.
Now search the files into the SD, pressing in the "up a level" zone and after you reach it, install the following things in the exact order:
Choose the Lineage OS 16 Rom zip file (swipe to confirm) and wait. Dont restart the phone.
After that, choose the Gapps zip file, swipe again to confirm and wait.
Finally, choose the SuperSu zip file you downloaded, do a swipe, wait.
If you want, its possible install all the zip files as a bunch using the "add more zip option" that twrp offers to you, but I prefer do it each one by one.
8. Do a final wipe choosing "wipe Dalvik and Cache".
9. Now choose the restart/reboot option. Wait for the phone initial setup (around a couple of minutes)
10. Configure the phone with your android account preferences. install your favorite apps, sync your info, etc.
Important: during the configuration, the Pixel launcher can fail. So, choose trebuchet as the default launcher.
11. Configure the SuperSU, install it, and verify the root with the Root checker app (you can found it in the Play store) and you are done!! Enjoy!!
== Special tip to enable the TWRP recovery option in the on/off/restart menu===
12. Once you have finished the set-up in your phone enable the Developer options into Lineage OS following this route:
tap in the drawer little configuation wheel ==> System ==> about phone, go to the last option and tap around 7-8 times in the Rom compilation number until you receive the toast message telling you "developer options enabled".
Return to the main system screen options, tap in System, then tap in advanced, and finally tap in the developer or programmer options, activate them and enable Advanced Power/reboot Menu
13. Finally, hold power button, choose restart, then you will see all restart options including the restart to the recovery .

Categories

Resources