How to Unlock Bootloader - (Marshmallow)
This TWRP will automatically unlock bootloader
To relock bootloader, flash relock_bootloader.zip via twrp recovery
Download this recovery: https://github.com/sabpprook/androi...ses/download/3.0.2-0/twrp-3.0.2-0-ze500kl.img
Boot it in fastboot mode with this command:
Code:
fastboot boot twrp-3.0.2-0-ze500kl.img
How to Relock Bootloader
If you flash a raw rom bootloader will be locked.
To do this, download Asus Flash Tool(AFT) and Asus RAW rom file and flash raw rom.
AFT: ASUS.Flash.Tool.v1.0.0.45-ATD-20160913.zip
RAW Rom: WW_ZE500KL_13.1010.1612.53_M3.6.51_Phone-user.raw.zip
How to Downgrade from MM to Lollipop
Flash this rom with AFT:
WW_ZE500KL_V12.8.5.222_M3.6.42_Phone-user.raw.zip
How to Root
Download this recovery: https://github.com/sabpprook/androi...ses/download/3.0.2-0/twrp-3.0.2-0-ze500kl.img
Boot it in fastboot mode with this command:
Code:
fastboot boot twrp-3.0.2-0-ze500kl.img
Dowload latest magisk version from this thread(now 13.3): https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Copy Magisk-v13.3.zip to phone. Install this file from TWRP.
If you need install Latest Magisk Manager from same thread.
If your magiskhide doesn't work properly (for safetynet and CTS error too) install this module: Universal SafetyNet Fix | Universal Hide
Custom Roms - LineageOS 14.1, AOKP, ResurrectionRemix, Beanstalk, CyanogenMod 13
Follow this thread to download roms: https://forum.xda-developers.com/showpost.php?p=70133925&postcount=2
Download rom and install it via TWRP.
How to Install Xposed Framework
Download and install this installer/downloader: https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
Note that you must install systemless xposed if you use magisk.
SDK21 is Android 5.0 (Lollipop), SDK22 is Android 5.1 (also Lollipop) and SDK23 is Android 6.0 (Marshmallow).
Raw Roms
WW_ZE500KL_13.1010.1612.53_M3.6.51_Phone-user.raw.zip"]Latest Marshmallow Rom
WW_ZE500KL_V12.8.5.222_M3.6.42_Phone-user.raw.zip"]Latest Lollipop Rom
How to Flash TWRP Recovery
To flash downloaded twrp recovery:
Code:
fastboot flash recovery twrp-3.0.2-0-ze500kl.img
Press enter and wait 30 seconds.
Recommended installation:
Install TWRP (Only for custom ROMs)
Install Rom (Custom or Stock)
Install Xposed (Only for 5.0, 5.1 or 6.0)
Install Magisk (If you need root)
Install Magisk Universal Hide Module (If you need to pass Safetynet)
Thanks sooooo much!! You literally saved my phone! I got it bricked after dozens of attempts found on the internet and your method worked like a charm!! Thanks again!
to root should i install twrp and then magisk or can i do it with stock recovery?
Can you do a step by step please? (im really new at this and scared to brick the phone hahaha)
If i have to install twrp can you tell me how to backup the stock recovery from my phone just in case i have to go back to stock recovery?
yoelnico said:
to root should i install twrp and then magisk or can i do it with stock recovery?
Can you do a step by step please? (im really new at this and scared to brick the phone hahaha)
If i have to install twrp can you tell me how to backup the stock recovery from my phone just in case i have to go back to stock recovery?
Click to expand...
Click to collapse
Follow "How to Root" section.
It's for your situation.
Hi,when i try to boot recovery it says that device must be unlocked..i'm trying to revive my ZE550KL,of course,with it's version of TWRP
Marius_Kun said:
Hi,when i try to boot recovery it says that device must be unlocked..i'm trying to revive my ZE550KL,of course,with it's version of TWRP
Click to expand...
Click to collapse
Yeh the same for me can we have a way to resolve this.
Thank you
i want to ask, is this works with ze500CL? i want to unlock bootloader with this way
Hey, Since Asus Unlock Tool doesnt work any way to unlock?
Related
Ok so i unlocked the bootloader, installed twrp 2.7.1.1, and when i flashed SuperSU.zip file it is stuck on the "warning bootloader unlocked screen." I can get back to the trwp bootloader and clear cache and data, but every time i try to boot to system it stays on the warning bootloader unlocked screen. please help..
running marshmallow 6.0
KyleSaki714 said:
Ok so i unlocked the bootloader, installed twrp 2.7.1.1, and when i flashed SuperSU.zip file it is stuck on the "warning bootloader unlocked screen." I can get back to the trwp bootloader and clear cache and data, but every time i try to boot to system it stays on the warning bootloader unlocked screen. please help..
running marshmallow 6.0
Click to expand...
Click to collapse
You should read the threads about installing custom recoveries and rooting in the general section.
TWRP 2.7.1.1 is wayyy to old, you should use TWRP 3.0.0.0 when you're flashing things in marshmallow.
And you should give more info, which version of superSU did you flash?
There is only one beta version which is able to root marshmallow without a modified Boot.img, it's BETA-SuperSU-v2.62-3-20151211162651.
http://download.chainfire.eu/751/SuperSU/BETA-SuperSU-v2.62-3-20151211162651.zip
Read the thread about "[Simplified] [Root Method] [Titan] [Marshmallow 6.0] Without Modifying boot.img" : http://forum.xda-developers.com/moto-g-2014/general/simplified-modifying-boot-img-t3317605
and "[GUIDE] [Titan] [MM, LP, KK] [Unlock + Root + Backup + Restore + Downgrade" : http://forum.xda-developers.com/moto-g-2014/general/xt1063-t3018818 .
Flash twrp 3.0.0.0 ( https://dl.twrp.me/titan/ )and then the BETA-SuperSU-v2.62-3-20151211162651, you can try to flash the beta superSU above with your old recovery but it's not recommended. Your choice but then change recovery afterwards.
Sent with somewhat
Wolfcity said:
You should read the threads about installing custom recoveries and rooting in the general section.
TWRP 2.7.1.1 is wayyy to old, you should use TWRP 3.0.0.0 when you're flashing things in marshmallow.
And you should give more info, which version of superSU did you flash?
There is only one beta version which is able to root marshmallow without a modified Boot.img, it's BETA-SuperSU-v2.62-3-20151211162651.
http://download.chainfire.eu/751/SuperSU/BETA-SuperSU-v2.62-3-20151211162651.zip
Read the thread about "[Simplified] [Root Method] [Titan] [Marshmallow 6.0] Without Modifying boot.img" : http://forum.xda-developers.com/moto-g-2014/general/simplified-modifying-boot-img-t3317605
and "[GUIDE] [Titan] [MM, LP, KK] [Unlock + Root + Backup + Restore + Downgrade" : http://forum.xda-developers.com/moto-g-2014/general/xt1063-t3018818 .
Flash twrp 3.0.0.0 ( https://dl.twrp.me/titan/ )and then the BETA-SuperSU-v2.62-3-20151211162651, you can try to flash the beta superSU above with your old recovery but it's not recommended. Your choice but then change recovery afterwards.
Sent with somewhat
Click to expand...
Click to collapse
Ok thanks, I did actually find out twrp was an old version so I flashed a lollipop 5.0.2 Titan rom to escape the bootloop, then rooted with Kingroot(I was lazy to install SuperSU) then installed the latest version of twrp.
It's actually my first time attempting rooting and unlocking the bootloader, so yea at least I learned something from this. :good:
KyleSaki714 said:
Ok thanks, I did actually find out twrp was an old version so I flashed a lollipop 5.0.2 Titan rom to escape the bootloop, then rooted with Kingroot(I was lazy to install SuperSU) then installed the latest version of twrp.
It's actually my first time attempting rooting and unlocking the bootloader, so yea at least I learned something from this. :good:
Click to expand...
Click to collapse
Good to hear that you fixed your problem. One thing: Don't use Kingroot.
It's a very unstable way to root your device and a suspicious app.
Just flash superSU, it's stable and easy to do and it doesn't send data to unknown sources. Just an advice.
Sent with somewhat
I am using Redmi 4a . Rooted with magisk and recovery is Twrp. It. I don't want to lose root access after update. tried FlashFire but it crashes when I open it .
Help appreciated !
I'm using miui10 (beta) developper Rom (miui_HM4AGlobal_8.10.25_d36c3e7df5_7.1.zip) and it is true that a big update (mean when it's the entire ROM) replaces twrp and crashes root.
You just have to install again twrp with fastboot method in order to flash SuperSu (the one i use) in order to retrieve root.
https://forum.xda-developers.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133
Hi, when used to use MIUI i installed pitchblack recovery and after the miui update it didn´t dissapeared so there is no need to always flash the recovery but the magisk fil you have to install again because the update flashs the stock boot img.
I am a n00b,
Unsure how to install TWRP first as cannot find right guide,
All TWRP threads (COMES WITH SUPERSU).. can i continue with same ?
Request help since confused.
Whatever guide you're using that says to install SuperSU, just replace that with the Magisk zip instead and it should work...
IODroids said:
I am a n00b,
Unsure how to install TWRP first as cannot find right guide,
All TWRP threads (COMES WITH SUPERSU).. can i continue with same ?
Request help since confused.
Click to expand...
Click to collapse
Download the respective twrp image from official site then put the device in fastboot mode after that flash the recovery img file you need to have adb drivers installed after you successfully flash twrp download stable or beta magisk and flash in twrp thats it.
This is the main part of the question.
Wich TWRP to flash.
Tried 1 for redmi note 4 and went into black logo screen stuck.
Had to do clean install.
toxicated2 said:
Download the respective twrp image from official site then put the device in fastboot mode after that flash the recovery img file you need to have adb drivers installed after you successfully flash twrp download stable or beta magisk and flash in twrp thats it.
Click to expand...
Click to collapse
Thanks God .
Easiest way to install TWRP AND root VIA Magisk..
Passed Google safetynet check too
Download official rootkit from here:
= https://forum.xda-developers.com/showpost.php?p=72287096&postcount=1
(read entire topic once)
Installed latest version for TWRP mido from this page = https://dl.twrp.me/mido/twrp-3.2.3-1-mido.img.html
Reason - So you have latest TWRP
Installed magisk instead of supersu (download latest magisk from here) = https://forum.xda-developers.com/showpost.php?p=68966662&postcount=1
Rename AND Replace the latest downloaded TWRP file to recovery.img
and latest magisk to SuperSU.zip
These files are in Rootkit\nk7\ folder
VOILA you are done..
With USB debugging enabled connect your phone to PC and run the main file "Redmi Note 4 (SD) ROOT Toolkit.exe" in Rootkit folder.
It will automatically start the fastboot process.
Once done.. Follow instructions as listed in main toolkit topic:
https://forum.xda-developers.com/showpost.php?p=72287096&postcount=1
Google safety net passed
Hello,
I'm lookig for a guide how to twrp, root and install custom rom, on my Mi5 miui 10 global stable.
I'm not newbe I did a lot of flashing on my previus phones Nexus and others. But this time I feel lost. I sit on miui 10 global stable. When I try to to flash twrp I get reroll to mi recovery every single time. All guides I found in the Internet are dedicated to older android versions. Xiaomitool don't help too.
Can someone point me to the right direction? It is time to change rom on my Mi5 finally to give him boost b4 I buy something new.
Best regards
Amonlb
amonlb said:
Hello,
I'm lookig for a guide how to twrp, root and install custom rom, on my Mi5 miui 10 global stable.
I'm not newbe I did a lot of flashing on my previus phones Nexus and others. But this time I feel lost. I sit on miui 10 global stable. When I try to to flash twrp I get reroll to mi recovery every single time. All guides I found in the Internet are dedicated to older android versions. Xiaomitool don't help too.
Can someone point me to the right direction? It is time to change rom on my Mi5 finally to give him boost b4 I buy something new.
Best regards
Amonlb
Click to expand...
Click to collapse
Your bootloader is unlocked, right?
Then you need reboot to fastboot mode and flash latest official twrp via fastboot.
Like
Code:
fastboot flash recovery <path to twrp.img>
Have you tried it that way?
Phil_Smith said:
Your bootloader is unlocked, right?
Then you need reboot to fastboot mode and flash latest official twrp via fastboot.
Like
Have you tried it that way?
Click to expand...
Click to collapse
Bootloader is unlocked.
I did it that way but after twrp is installed I reboot and there is no twrp available. Only mi recovery.
To make it easier...
I would like to:
Flash twrp
Flash magisk and root
Flash firmware (why i need this?) Havoc os asks to flash it but I don't know why.
Flash havock os and gapps
Flash some mods for camera and sound
I don't understeand why twrp can't be flashed and I have no idea what is modified firmware for? Do I need this?
Thanks for your time
Try the the xiaomi eu rom guide .
I think you may need its custom bootloader , not the actual rom.
Than flash the firmware required for your custom rom and reboot directly to recovery again from twrp than rom and gapps , I hope that helps
Hi, i had the same problem, try this:
1. Flash twrp as usual(fastboot flash recovery twrp.img and then fastboot reboot)
2. When rebooting, you have to enter at recovery (vol up + power) . Don't allow phone to boot! In TWRP official page, on installation instructions , they say after installation you must enter in recovery to allow TWRP patch recovery rom, because some Roms after boot reinstall original recovery.
3. Now you should have TWRP installed.
If you do
fastboot flash recovery twrp.img
and then do
fastboot boot twrp.img
It's simpler and it will boot to recovery and patch the ROM to be permanently installed.
amonlb said:
Bootloader is unlocked.
I did it that way but after twrp is installed I reboot and there is no twrp available. Only mi recovery.
To make it easier...
I would like to:
Flash twrp
Flash magisk and root
Flash firmware (why i need this?) Havoc os asks to flash it but I don't know why.
Flash havock os and gapps
Flash some mods for camera and sound
I don't understeand why twrp can't be flashed and I have no idea what is modified firmware for? Do I need this?
Thanks for your time
Click to expand...
Click to collapse
First,fastboot flash recovery twrp.img
and then no reboot your phone, just to hold the key combo (vol up + power), and then you can enter the twrp mode once because the recovery will be changed when your phone has rebooted.
But you can use the only once twrp mode to install the zip .
If you just want to use MIUI 10, you will flashboot twrp everytime when you need twrp to do something.
PS: Forgive me pool English.
rmrbpt said:
If you do
fastboot flash recovery twrp.img
and then do
fastboot boot twrp.img
It's simpler and it will boot to recovery and patch the ROM to be permanently installed.
Click to expand...
Click to collapse
Thanks, this worked!
There is confusion over which recoveries to install for Redmi 6 (cereus).
Failure to install the correct TWRP will result in a hard brick with no chance of restoring the device without an authorised account or going to a Mi Service Centre.
If you are currently on the MIUI Oreo ROM:
You may ONLY use TWRP 3.3.0 OR 3.2.3-0 OR 3.2.3-1
The recovery by either TWRP or LR.Team is both ok.
If you are on the PIE rom:
You MUST use TWRP 3.3.1 or OrangeFox Recovery. R10.0-2 nocrypt Pie is confirmed to be working by me.
To root MIUI pie, follow the instructions in this post from 4PDA. This is because you will be unable to decrypt data.
You need to create an account to download the patched boot.img. You can either create one yourself or ask me or someone else to PM you with the boot.img. I will not attach it to this thread because it is not my work. The files have now been attached. See post below.
All credits go towards the respective recovery authors and 4pda
OK here are the boot files from 4pda
You MUST follow the instructions from this guide: http://4pda.ru/forum/index.php?showtopic=907017&st=5020#entry87853533
All files obtained from 4pda.ru - from a post by MCMXCII
Full credits go towards the authors of the respective .imgs
I did something wrong just don't know what
I tried with OrangeFox and when rebooted in recovery the phone would not turn on and just vibrates.
I was lucky because I just needed to open and remove the battery to get the phone back up.
So just to get it right (please correct me if i'm wrong):
Starting from unlocked MIUI stock with android 8.1 base:
0) Download patched boot image from OP
1)Download TWRP 3.3.0 OR 3.2.3-0 OR 3.2.3-1
2)Download Magisk 19.3 Stable (would the latest stable also work https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445?)
3)Download official Pie Rom: http://bigota.d.miui.com/V10.4.4.0.PCGMIXM/miui_HM6Global_V10.4.4.0.PCGMIXM_99304098f7_9.0.zip
4)Enter Fastboot -> Flash TWRP
5)Enter TWRP -> Flash the Pie Rom -> Flash patched boot.img -> flash Magisk
6)Boot into system -> Leave the device alone for 2-3 minutes and install Magisk Manager
7)Download -> TWRP 3.3.1 or OrangeFox Recovery. R10.0-2
8)Enter Fastboot -> Flash TWRP/OrangeFox
would this be the correct procedure?
cheers
snoerme said:
So just to get it right (please correct me if i'm wrong):
Starting from unlocked MIUI stock with android 8.1 base:
1)Download TWRP 3.3.0 OR 3.2.3-0 OR 3.2.3-1
2)Download Magisk 19.3 Stable (would the latest stable also work https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445?)
3)Download official Pie Rom: http://bigota.d.miui.com/V10.4.4.0.PCGMIXM/miui_HM6Global_V10.4.4.0.PCGMIXM_99304098f7_9.0.zip
4)Enter Fastboot -> Flash TWRP
5)Enter TWRP -> Flash the Pie Rom -> flash Magisk
6)Boot into system -> Leave the device alone for 2-3 minutes and install Magisk Manager
7)Download -> TWRP 3.3.1 or OrangeFox Recovery. R10.0-2
8)Enter Fastboot -> Flash TWRP/OrangeFox
cheers
Click to expand...
Click to collapse
?????????????????????
Why don't you skip steps 1-3 and just use XiaoMi Flash to install 10.4.4.0 via Fastboot by 'saving user data', then follow the instructions here? XiaoMiFlash will overwrite your recovery with the default so there is no risk of a brick. Then Flash TWRP Pie, flash boot img, flash magisk.
As I have said, you will brick your device. If you have TWRP Oreo, and then you install MIUI Pie, you will brick your device. You are doing EXACTLY what I told you not to do!
It didn't come out as clearly as you think. maybe it's my own deficiency.
btw whenever i flashed any update via TWRP the recovery got replaced by stock recovery as well.
(I don't tell this to call into question that your suggested way of doing was the most safe way.)
Is XiaoMi Flash available for linux as well?
edit: do you know if the latest magisk stable 20.0 would also work?
snoerme said:
It didn't come out as clearly as you think. maybe it's my own deficiency.
btw whenever i flashed any update via TWRP the recovery got replaced by stock recovery as well.
(I don't tell this to call into question that your suggested way of doing was the most safe way.)
Is XiaoMi Flash available for linux as well?
Click to expand...
Click to collapse
I'm not sure - I have never flashed any MIUI ROM in TWRP. It seems normal though - the updaterscript probably tells TWRP to overwrite itself.
https://forum.xda-developers.com/android/software/tool-miflash-linux-t3708847 It's a bit complicated
This work for me :
1 - Install Pie Rom https://bigota.d.miui.com/V10.4.4.0.PCGMIXM/miui_HM6Global_V10.4.4.0.PCGMIXM_99304098f7_9.0.zip with TWRP 3.3.1 https://mifirm.net/downloadtwrp/62 or with another method.
2 - Shut down the phone , go to fastboot (Vol - and power), plug to computer.
3 - From the computer fastboot flash boot boot_10.4.4.0_R6_mgsk_193.img (see the second post of this thread).
4 - fastboot flash recovery recovery-TWRP-3.3.1-0602-REDMI6-CN-wzsx150.img
5 - Recovery (Vol+ and power)
6 - Install Magisk 19.3
Reboot and enjoy
Hi, currently I'm on stable China mui v10.4.3.0. Do you have boot.img on that v10.4.3.0. Currently link only provide boot.img for v10.4.2.0 for the china version. If no how do I get those, can I just backup them from twrp, Then create patched boot img with those backup boot? Thanks
Che0063 said:
OK here are the boot files from 4pda
You MUST follow the instructions from this guide: http://4pda.ru/forum/index.php?showtopic=907017&st=5020#entry87853533
All files obtained from 4pda.ru - from a post by MCMXCII
Full credits go towards the authors of the respective .imgs
Click to expand...
Click to collapse
Thanx for boot_10.4.4.0_R6_mgsk_193.img :good:
ribou said:
This work for me :
1 - Install Pie Rom https://bigota.d.miui.com/V10.4.4.0.PCGMIXM/miui_HM6Global_V10.4.4.0.PCGMIXM_99304098f7_9.0.zip with TWRP 3.3.1 https://mifirm.net/downloadtwrp/62 or with another method.
2 - Shut down the phone , go to fastboot (Vol - and power), plug to computer.
3 - From the computer fastboot flash boot boot_10.4.4.0_R6_mgsk_193.img (see the second post of this thread).
4 - fastboot flash recovery recovery-TWRP-3.3.1-0602-REDMI6-CN-wzsx150.img
5 - Recovery (Vol+ and power)
6 - Install Magisk 19.3
Reboot an denjoy
Click to expand...
Click to collapse
ThanX ! ! !
This work for me :good:
EDIT:
The flashlight and the camera does not work after flash the boot boot_10.4.4.0_R6_mgsk_193.img [emoji848]
Does anyone else have a similar problem?
View attachment 4862683
I have the camera and flashlight problem too. Any fix?
Unfortunately, I didn't find any solution.
Currently, my phone does not start, has a black screen and vibrates all the time. I can't run it in any way
EDIT:
Hi.
I was able to bring the phone to life. Get instructions on how to get to the battery https://www.youtube.com/watch?v=L9FH88b16bc https://www.youtube.com/watch?v=fAflA4UKLLY. In orangeFox recovery I checked the flashlight, it works.
That makes us two. My phone is unusable at the moment. I thought the root was responsible for the camera bugs, I uninstalled magisk, the bug was still there. I tried to reinstall MIUI 10.4.4 ang got an error. I've wiped everything including vendor and system.
I clean dalvik and cache and for now the phone is working even, after flash the patch boot.img
ribou said:
This work for me :
1 - Install Pie Rom https://bigota.d.miui.com/V10.4.4.0.PCGMIXM/miui_HM6Global_V10.4.4.0.PCGMIXM_99304098f7_9.0.zip with TWRP 3.3.1 https://mifirm.net/downloadtwrp/62 or with another method.
2 - Shut down the phone , go to fastboot (Vol - and power), plug to computer.
3 - From the computer fastboot flash boot boot_10.4.4.0_R6_mgsk_193.img (see the second post of this thread).
4 - fastboot flash recovery recovery-TWRP-3.3.1-0602-REDMI6-CN-wzsx150.img
5 - Recovery (Vol+ and power)
6 - Install Magisk 19.3
Reboot an denjoy
Click to expand...
Click to collapse
Hello this is the steps i did but when rebooting to recovery i end up on blackcreen or mai i say powered off screen with the device unable to boot to recovery,any ideas what i did wrongly?
It seems there is something wrong with that boot patch. I followed a procedure on youtube and my phone is succesfully rooted without any bug
@ambyy
what guide did you use on YouTube?
Wysłane z mojego Redmi 6 przy użyciu Tapatalka
https://www.youtube.com/watch?v=I_4Zmco9R78&t=25s
Hard brick caused by flashing wrong TWRP is indeed able to get solved with unplugging the battery.
Miui v11 boot.img please