TWRP for EMUI 5.1 HiSilicon 960 Devices (P10, P10-Plus, Honor 8 Pro) - Huawei P10 Guides, News, & Discussion

Someone else was making it but wouldn't release it, so I made one myself.
This will not work with internal storage if it's encrypted, but otherwise should be good enough to do things like rebranding/changing oeminfo and so on.
For P10:
https://drive.google.com/open?id=0B6ox6M5Lb2JYZklQSnZZbHA0ZUk
Note that this is a one-off release that I don't plan to maintain.

i have a huawei p10 demo.
do not work on this device
i need to flash even boot.img?

darckreign1984 said:
do not work on this device
i need to flash even boot.img?
Click to expand...
Click to collapse
New version uploaded. Original one was not for P10, sorry. Please try new one.
No need to flash boot.img

succesfull boot in twrprecovery
duraaraa said:
New version uploaded. Original one was not for P10, sorry. Please try new one.
No need to flash boot.img
Click to expand...
Click to collapse
thanks
lets rty to unbrand.
pls any method to find device id in huawei mate 9 with a bricked device? fastboot acces and erecovery

darckreign1984 said:
thanks
lets rty to unbrand.
pls any method to find device id in huawei mate 9 with a bricked device? fastboot acces and erecovery
Click to expand...
Click to collapse
TWRP alone is not enough to rebrand. You need a way to flash the firmware from the new region. Unfortunately, I can't tell you how to debrand on XDA, as it involves paid services and would be against the rules. You'll have to figure out for yourself.

duraaraa said:
TWRP alone is not enough to rebrand. You need a way to flash the firmware from the new region. Unfortunately, I can't tell you how to debrand on XDA, as it involves paid services and would be against the rules. You'll have to figure out for yourself.
Click to expand...
Click to collapse
thanks anyway

Please, how to unlock bootloader?

matata86 said:
Please, how to unlock bootloader?
Click to expand...
Click to collapse
enter here
http://emui.huawei.com/en/plugin/hwdownload/download
and you have to make a account. the unlock bootloader, you have to wite all the data

darckreign1984 said:
enter here
http://emui.huawei.com/en/plugin/hwdownload/download
and you have to make a account. the unlock bootloader, you have to wite all the data
Click to expand...
Click to collapse
OK, i unlocked bootloader. I flashed TWRP. Recovery boot ok. But every if i go to recovery - show forst screen (language select atd.) I flashed Super- SU 2.79, but flashing abort. Boot image not found... Any idea?

matata86 said:
OK, i unlocked bootloader. I flashed TWRP. Recovery boot ok. But every if i go to recovery - show forst screen (language select atd.) I flashed Super- SU 2.79, but flashing abort. Boot image not found... Any idea?
Click to expand...
Click to collapse
i think you meed to activate developer in phone menu.
for the moment my phone its stuck in bootloop. i dont have any twrp backup to restore

You are installing custom Recovery and unlock your bootloader.. is there any custom rom out yet?

Related

New Redminote 3 Pro can't flash ROMs

Hi guys,
Just recently purchased redmi note 3 pro 32gb from gearbest.
Phone should be international version with 7.2.13.00(LHOCNCL) preinstalled.
I found that I cannot flash any standard / developer ROM when official website by using built-in flash tool.
Any way to go from here? to at least receive OTA updates and in future I will like to try out Ressurection rom.
thanks.
Your ROM is unexsisting one, cooked by the seller.
You must flash a new one clean via EDL mode and MiFlash
This CN in the name means Chinese, and the numbers says that the rom is only modified to support more languages.
pakudaboy said:
Hi guys,
Just recently purchased redmi note 3 pro 32gb from gearbest.
Phone should be international version with 7.2.13.00(LHOCNCL) preinstalled.
I found that I cannot flash any standard / developer ROM when official website by using built-in flash tool.
Any way to go from here? to at least receive OTA updates and in future I will like to try out Ressurection rom.
thanks.
Click to expand...
Click to collapse
Yes ^he^ is correct . Download a rom from the mi website . And then flash the rom using MiFlash tool . then you should be able install roms .
s-u-f-f-e-r said:
Your ROM is unexsisting one, cooked by the seller.
You must flash a new one clean via EDL mode and MiFlash
This CN in the name means Chinese, and the numbers says that the rom is only modified to support more languages.
Click to expand...
Click to collapse
thanks guys.
Does this mean i need to wait for unlock bootloader first?
my MI account has previous device linked which I just removed now and set to my new phone.
might take weeks to get approval?
or is there a guy to by pass the locked bootloader?
thanks.
pakudaboy said:
thanks guys.
Does this mean i need to wait for unlock bootloader first?
my MI account has previous device linked which I just removed now and set to my new phone.
might take weeks to get approval?
or is there a guy to by pass the locked bootloader?
thanks.
Click to expand...
Click to collapse
This procedure works on locked bootloader.
http://en.miui.com/thread-235865-1-1.html
s-u-f-f-e-r said:
This procedure works on locked bootloader.
http://en.miui.com/thread-235865-1-1.html
Click to expand...
Click to collapse
thanks so much for the info
will I lost my IMEI if I use miflash and choose FlashALL per that guide?
pakudaboy said:
thanks so much for the info
will I lost my IMEI if I use miflash and choose FlashALL per that guide?
Click to expand...
Click to collapse
No you wont loose your IMEI. Basically you are just flashing official MIUI Rom, your IMEI details are stored in another partition (non volatile) and FlashAll will not touch them.
You are safe to follow this guide, and by the way you would not be able to unlock the bootloader (the official way) from this vendor Rom. So if you plan to do so later, here you go with this first step.
gunmoule said:
No you wont loose your IMEI. Basically you are just flashing official MIUI Rom, your IMEI details are stored in another partition (non volatile) and FlashAll will not touch them.
You are safe to follow this guide, and by the way you would not be able to unlock the bootloader (the official way) from this vendor Rom. So if you plan to do so later, here you go with this first step.
Click to expand...
Click to collapse
thanks for ur info.
yeh, I tried to unlock it with official tool but kept failing.
I'll give that guide a show later when I'm home.
hopefully I don't brick my phone..lol
guide works great!
now i'm with global 7.3.7
is there a guide to flash TWRP with locked bootloader as well?
thanks!
pakudaboy said:
thanks for ur info.
yeh, I tried to unlock it with official tool but kept failing.
I'll give that guide a show later when I'm home.
hopefully I don't brick my phone..lol
Click to expand...
Click to collapse
Unlocking was successful only on dev rom in my case
pakudaboy said:
guide works great!
now i'm with global 7.3.7
is there a guide to flash TWRP with locked bootloader as well?
thanks!
Click to expand...
Click to collapse
Read up this thread: http://forum.xda-developers.com/redmi-note-3/how-to/guide-redmi-note-3-available-twrps-t3406708 , this: http://en.miui.com/thread-240531-1-1.html and this: http://en.miui.com/thread-296053-1-1.html
Sent from my Redmi Note 3 using Tapatalk
s-u-f-f-e-r said:
Unlocking was successful only on dev rom in my case
Click to expand...
Click to collapse
ok
i'm flashing dev ROM now.
going to try if i can unlock BL.
so there no way to install TWRP without unlock BL first?
my situation is bit messed up, because I had Redmi Note 2 linke to same mobile number.
so when I tried to unlock it it keeps saying "Couldn't verify device, Current accoutn is different from the account info on the device" but i'm 100% sure i'm using same account tho.
s-u-f-f-e-r said:
Unlocking was successful only on dev rom in my case
Click to expand...
Click to collapse
unlocked fine with Dev ROM!
sweet
now time to find out how to flash TWRP!
Put the recovery image file in the folder from Unlocker.
Press Shift and Right click with the mouse on the empty space in the folder.
In the context menu choose Open Command Window Here
Put the phone in fastboot mode
Write in the terminal
fastboot flash recovery and write down the name of the image. For example:
fastboot flash recovery twrp.img
or
fastboot flash recovery recovery.img
Success.
s-u-f-f-e-r said:
Put the recovery image file in the folder from Unlocker.
Press Shift and Right click with the mouse on the empty space in the folder.
In the context menu choose Open Command Window Here
Put the phone in fastboot mode
Write in the terminal
fastboot flash recovery and write down the name of the image. For example:
fastboot flash recovery twrp.img
or
fastboot flash recovery recovery.img
Success.
Click to expand...
Click to collapse
done.
TWRP flashed, but somehow lost wifi function in Dev Rom
going to try flash Resurrection over see if that fix it.
seems everything's working now with RR rom!
thanks so much for everyone's help especially s-u-f-f-e-r!

Going back full stock after unlocking the bootloader

Hi.
The last couple days, I unlocked my bootloader to install the phh-treble rom and experiment with this phone but the *unlocked bootloader* message every time that I power up my phone, is very annoying.
So I ask if anyone knows which firmware to install to my phone so I can lock the bl and receive otas as normal
Thanks
t-shock said:
Hi.
The last couple days, I unlocked my bootloader to install the phh-treble rom and experiment with this phone but the *unlocked bootloader* message every time that I power up my phone, is very annoying.
So I ask if anyone knows which firmware to install to my phone so I can lock the bl and receive otas as normal
Thanks
Click to expand...
Click to collapse
It's just a guess, but i think that you should flash an original "system. img" with fastboot and then reset you device.
You can use Huawei Unpacker to get your system.img from a FullOTA firmware (you can download it with Firmware Finder).
Pretoriano80 said:
It's just a guess, but i think that you should flash an original "system. img" with fastboot and then reset you device.
You can use Huawei Unpacker to get your system.img from a FullOTA firmware (you can download it with Firmware Finder).
Click to expand...
Click to collapse
Thanks for that
But having used this guide ( https://forum.xda-developers.com/mate-10/how-to/guide-mate-10-flash-oreo-update-package-t3716814 ) I guess it changes more that the system
t-shock said:
Thanks for that
But having used this guide ( https://forum.xda-developers.com/mate-10/how-to/guide-mate-10-flash-oreo-update-package-t3716814 ) I guess it changes more that the system
Click to expand...
Click to collapse
When you go to recovery now, is it Huawei recovery or some aosp recovery?
If Huawei you should be able to use that same guide to go back to stock. You just need to download the Firmware your phone came with (Ex. L29 C432), then update using the guide. Or you could rebrand and install fw.
ante0 said:
When you go to recovery now, is it Huawei recovery or some aosp recovery?
If Huawei you should be able to use that same guide to go back to stock. You just need to download the Firmware your phone came with (Ex. L29 C432), then update using the guide. Or you could rebrand and install fw.
Click to expand...
Click to collapse
It is the Huawei recovery but the weird thing is that it flashes another recovery and kernel before at the fastboot mode.
Anyhow, I just wonder, if I go back to the 127 (following the method above) which is verified thru IMEI, will I be able to get OTAs?
Or
Which is the correct method of restoring the full stock rom in order to have OTAs and lock the BL
t-shock said:
It is the Huawei recovery but the weird thing is that it flashes another recovery and kernel before at the fastboot mode.
Anyhow, I just wonder, if I go back to the 127 (following the method above) which is verified thru IMEI, will I be able to get OTAs?
Or
Which is the correct method of restoring the full stock rom in order to have OTAs and lock the BL
Click to expand...
Click to collapse
Yes, you will get OTA.
If you install a full firmware everything will be replaced (though you can keep bootloader unlocked, but you're asked when you run repack so select yes ("Lock bootloader?").
The "correct" ways would be: HWOTA8, Dload (if available for your firmware), FunkyHuawei (paid).
ante0 said:
Yes, you will get OTA.
If you install a full firmware everything will be replaced (though you can keep bootloader unlocked, but you're asked when you run repack so select yes ("Lock bootloader?").
The "correct" ways would be: HWOTA8, Dload (if available for your firmware), FunkyHuawei (paid).
Click to expand...
Click to collapse
Thanks a lot
Just one last question, if I only have unlocked bootloader and no root , will AI "brake"?
Thanks
t-shock said:
Thanks a lot
Just one last question, if I only have unlocked bootloader and no root , will AI "brake"?
Thanks
Click to expand...
Click to collapse
It shouldn't. And it works again with root. Apparently something broke in SEPolicy, but mankindtw fixed it in his pre-rooted ramdisk. Though, we can install Magisk "normally" now (as a package through recovery) so it shouldn't be a problem anyway SuperSU should install in a similar way too, if one would take the time to make it. I prefer Magisk though

Does somebody know anything about the Y6 2018 ATU-L21?

Does anybody knows how to root or flash a recovery or a rom on a Huawei Y6 2018 ATU-l21?
Thank you.
JiX666 said:
Does anybody knows how to root or flash a recovery or a rom on a Huawei Y6 2018 ATU-l21?
Thank you.
Click to expand...
Click to collapse
I could not find an recovery for Huawei Y6 2018 but I may tell you this:
You may unlock your bootloader and root your device.
How you may root it?
Get the boot.img of your model (you may get it extracting an update.app for your model)
Install Magisk Manager on your device and patch that boot.img
After that go to your PC, make sure you have usb debugging and OEM unlock enabled from dev settings on your phone and install "minimal adb&fastboot 15 sec installer" or something like that and put the patched boot.img in the folder of minimal adb and fastboot.
Now shutdown your device and after that press power and volume down for about 5 seconds and connect the usb cable ( that usb cable should be connected to PC). Now your device should go into fastboot. Now type fastboot devices(In minimal adb and fastboot console). It should show you an number, if nothing shows up then its not good.
If it shows up type fastboot flash boot boot.img
You are done. This may go wrong and may hard brick your device, don't blame me for that.
This requires your bootloader to be unlocked, to unlock it you need to get the bootloader unlock code from huawei, put your phone into fastboot and type fastboot oem unlock (code)
If I helped, the thanks button works well
Thespartann said:
Get the boot.img of your model (you may get it extracting an update.app for your model)
Click to expand...
Click to collapse
Can you better explain this step please?
JiX666 said:
Can you better explain this step please?
Click to expand...
Click to collapse
So basically download this https://forum.xda-developers.com/showthread.php?t=2433454
Get the update.app for your device.
The update.app is basically the Stock Rom for your device.
Search google to find it.
Now extract huawei update extactor into an folder. And run the exe. (The link i sent)
And now you will select the update file (update.app) and you should see some .img files, now you may extract all of them, but select the system.img and boot.img and right click on your mouse. You will see the option Extract selected.
Now wait until it extractes itself.
If i helped press the thanks button
Thespartann said:
So basically download this https://forum.xda-developers.com/showthread.php?t=2433454
Get the update.app for your device.
The update.app is basically the Stock Rom for your device.
Search google to find it.
Now extract huawei update extactor into an folder. And run the exe. (The link i sent)
And now you will select the update file (update.app) and you should see some .img files, now you may extract all of them, but select the system.img and boot.img and right click on your mouse. You will see the option Extract selected.
Now wait until it extractes itself.
If i helped press the thanks button
Click to expand...
Click to collapse
Stock Rom isn't available yet for download.
I've tried installing TWRP using fastboot flash recovery recovery.img
That failed.
Then I used fastboot flash recovery/ramdisk recovery.img
Succes… But then its impossible to boot into TWRP. It automatically jumps to eRecovery.
Huawei Y6 Prime 2018 ATU-L21
Oreo 8.0.0
---------- Post added at 10:52 PM ---------- Previous post was at 10:39 PM ----------
inkepinkje said:
Stock Rom isn't available yet for download.
I've tried installing TWRP using fastboot flash recovery recovery.img
That failed.
Then I used fastboot flash recovery/ramdisk recovery.img
Succes… But then its impossible to boot into TWRP. It automatically jumps to eRecovery.
Huawei Y6 Prime 2018 ATU-L21
Oreo 8.0.0
Click to expand...
Click to collapse
And I don't know if 'there is a custom Rom available from other devices that are compatible with this one.
Build number ATU-L21 8.0.0.100(C423)
EDIT: Google search gave me this
To find stock rom for ATU-L21. Search for Atomu-L21
They are the same.
inkepinkje said:
Stock Rom isn't available yet for download.
I've tried installing TWRP using fastboot flash recovery recovery.img
That failed.
Then I used fastboot flash recovery/ramdisk recovery.img
Succes… But then its impossible to boot into TWRP. It automatically jumps to eRecovery.
Huawei Y6 Prime 2018 ATU-L21
Oreo 8.0.0
---------- Post added at 10:52 PM ---------- Previous post was at 10:39 PM ----------
And I don't know if 'there is a custom Rom available from other devices that are compatible with this one.
Build number ATU-L21 8.0.0.100(C423)
EDIT: Google search gave me this
To find stock rom for ATU-L21. Search for Atomu-L21
They are the same.
Click to expand...
Click to collapse
Hm. Treble made some things different.
Also what recovery you wanted to flash?
I could not find any for Huawei Y6 2018 so you may hard brick your device if you use one for Y6 2015 etc.
Thespartann said:
Hm. Treble made some things different.
Also what recovery you wanted to flash?
I could not find any for Huawei Y6 2018 so you may hard brick your device if you use one for Y6 2015 etc.
Click to expand...
Click to collapse
I've tried flashing serveral twrp's. ClockWorkMod is definitely a no go. Then there is a mate10 tool. Tried that. Nothing. It says bootloader locked. While frp and bootloader are both unlocked.
I'm not worried about a hardbrick. It was a gift. So just toying around.
Found a stock firmware on easyfirmware.com . But they make you pay. So nope.
I'll just keep on googling until I find something that will work.
My coding is nill. So.... Hope and pray.
inkepinkje said:
I've tried flashing serveral twrp's. ClockWorkMod is definitely a no go. Then there is a mate10 tool. Tried that. Nothing. It says bootloader locked. While frp and bootloader are both unlocked.
I'm not worried about a hardbrick. It was a gift. So just toying around.
Found a stock firmware on easyfirmware.com . But they make you pay. So nope.
I'll just keep on googling until I find something that will work.
My coding is nill. So.... Hope and pray.
Click to expand...
Click to collapse
Well well well. If you tried to flash clockworkmod or twrp to your device, Huwei Y6 2018, from Huawei Y6 2015 that means hard brick lol, what were you thinking. See the description of the thread lul. You could have hard bricked your device, there are no custom recovery's for Huawei Y6 2018. So be more carefull, clockword recovery is already oold so there was no reason to be for an device from 2018.
Thespartann said:
Well well well. If you tried to flash clockworkmod or twrp to your device, Huwei Y6 2018, from Huawei Y6 2015 that means hard brick lol, what were you thinking. See the description of the thread lul. You could have hard bricked your device, there are no custom recovery's for Huawei Y6 2018. So be more carefull, clockword recovery is already oold so there was no reason to be for an device from 2018.
Click to expand...
Click to collapse
I see. Its been a while since I've played with Android. So my bad. Been just a week playing around again.
inkepinkje said:
I see. Its been a while since I've played with Android. So my bad. Been just a week playing around again.
Click to expand...
Click to collapse
Well its ok.
I may port TWRP for your device, when i have time
I have managed to boot TWRP but it cant mount partition so got stuck in a twrp boot loop. i had to flash another recovery to be able to get to erecovery and boot.
ps: tried to root, dint work!
Fernandodx1000 said:
I have managed to boot TWRP but it cant mount partition so got stuck in a twrp boot loop. i had to flash another recovery to be able to get to erecovery and boot.
ps: tried to root, dint work!
Click to expand...
Click to collapse
May you send me the erecovery so i may check if i can port TWRP propretly?
Thanks
Thespartann said:
May you send me the erecovery so i may check if i can port TWRP propretly?
Thanks
Click to expand...
Click to collapse
how do i extract the .img from my device ? I cant find any tool for snapdragon
Fernandodx1000 said:
how do i extract the .img from my device ? I cant find any tool for snapdragon
Click to expand...
Click to collapse
If you can boot into Twrp then boot into it and try to make an Nandroid Backup of stock Recovery.
Thespartann said:
If you can boot into Twrp then boot into it and try to make an Nandroid Backup of stock Recovery.
Click to expand...
Click to collapse
I can't. Twrp can't mount storage or any partition.
Fernandodx1000 said:
I can't. Twrp can't mount storage or any partition.
Click to expand...
Click to collapse
I paid to download the stock rom. Downloading now, probably just got scam.
Fernandodx1000 said:
I paid to download the stock rom. Downloading now, probably just got scam.
Click to expand...
Click to collapse
Seriously?
Hopefully you don't get scammed.
You may send me the erecovery if its not an scam
You can extract it via Huawei update extractor.
Thespartann said:
Seriously?
Hopefully you don't get scammed.
You may send me the erecovery if its not an scam
You can extract it via Huawei update extractor.
Click to expand...
Click to collapse
here you have !
I have flashed erecovery and works !
https://mega.nz/#!6eplUQAB!K4hfh2s-b_sSVSJ_Xxg65sywdpJHNRKtzs2ZMRr2bVk
Fernandodx1000 said:
here you have !
I have flashed erecovery and works !
https://mega.nz/#!6eplUQAB!K4hfh2s-b_sSVSJ_Xxg65sywdpJHNRKtzs2ZMRr2bVk
Click to expand...
Click to collapse
Have you rooted it?
JiX666 said:
Have you rooted it?
Click to expand...
Click to collapse
I dont.

Zenfone 3 zoom TWRP

Since there's no thread about it yet (in here then), I'll just make this one so that there won't be any more confusion for TWRP links.
Do keep in mind that if you use the official bootloader unlock method, you won't receive OTA updates anymore from Asus.
Have a great day and happy flashing
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
I'm using more current Twrp and magisk 16 I do not know which is preventing the biometric reader
rinampa said:
I'm using more current Twrp and magisk 16 I do not know which is preventing the biometric reader
Click to expand...
Click to collapse
At the time, I do not know either what is causing this. Because the Oreo rom is rather bugged a bit. (Lower audio, wifi not turning on once it's off and now this)
What twrp should i use for nougat version?
HnsAlczr said:
What twrp should i use for nougat version?
Click to expand...
Click to collapse
Since it's nougat, preferably use 20180304. Once on Oreo, you can flash the latest.
+)KEV1N(+ said:
Since it's nougat, preferably use 20180304. Once on Oreo, you can flash the latest.
Click to expand...
Click to collapse
After i flash twrp thru adb reboot it on twrp works properly but when i reboot to system im stuck at Asus Logo, did i do something wrong on the process?
HnsAlczr said:
After i flash twrp thru adb reboot it on twrp works properly but when i reboot to system im stuck at Asus Logo, did i do something wrong on the process?
Click to expand...
Click to collapse
Did you upgrade your system to Oreo? If so, did you have substratum themes on?
I wonder when he opens the twrp he asks for the PIN number , password or something?
How do I unlock the ZenFone 3 Zoom bootloader on Android Oreo ?
ZueiraBR said:
How do I unlock the ZenFone 3 Zoom bootloader on Android Oreo ?
Click to expand...
Click to collapse
https://www.asus.com/br/Phone/ZenFone-3-Zoom-ZE553KL/HelpDesk_Download/,Select the android operating system, Versão UnlockTool_2018_0629(android O)
2018/06/29740.7 KBytes.
Read the instructions carefully.
+)KEV1N(+ said:
Since there's no thread about it yet (in here then), I'll just make this one so that there won't be any more confusion for TWRP links.
Do keep in mind that if you use the official bootloader unlock method, you won't receive OTA updates anymore from Asus.
Have a great day and happy flashing
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
Click to expand...
Click to collapse
Hi all, does not work with WW-80.30.76.10 . Help me please
personal I flashed the twrp by adb fastboot soon then I entered i REBOOTED-SYSTEM by own twrp! but when I turned it off and put it in recouvery mode (twrp) it goes into the original factory recovery! Does anyone know the solution ??
Delaias1995 said:
personal I flashed the twrp by adb fastboot soon then I entered i REBOOTED-SYSTEM by own twrp! but when I turned it off and put it in recouvery mode (twrp) it goes into the original factory recovery! Does anyone know the solution ??
Click to expand...
Click to collapse
Installed twrp by fastboot goes into recovery in twrp restart the always by twrp.
After updating to twrp new version I can not update more firmware, I have to download recovery stock
I am having problems in twrp I can not install rom always error 7 in this last update how to solve?
Please, I appreciate your help.
+)KEV1N(+ said:
Since there's no thread about it yet (in here then), I'll just make this one so that there won't be any more confusion for TWRP links.
Do keep in mind that if you use the official bootloader unlock method, you won't receive OTA updates anymore from Asus.
Have a great day and happy flashing
https://mega.nz/#F!p90wgAaY!l1JbJilmAUEKTKWu43pT9w
Click to expand...
Click to collapse
Is there any UN-OFFICIAL unlock method ? tks
Can someone help me? I can't find the correct version (or doesn't even exist) of twrp for my zenfone zoom s.
(UL-Z01H-WW-80.30.76.74)

[AIO] Guide to Unlock bootloader , Flash TWRP and a Custom rom.

Unlocking Bootloader​1. Make sure you have a sim and active mobile data. Then go to about phone tap build number 7-8 times. After that go to advanced settings > developer options > turn on OEM unlocking and then check if this device is secure and click add account and device.
2. Download Mi unlock tool from here. Extract it and paste it in C:/unlock. or else your device won't be recognized for unlocking.
3. Open Mi unlock tool and then enter the Mi account which was on your device. Put your device in fastboot mode by pressing vol- and power and then connect to PC. Press unlock and if it tells you to wait you have no other option but to wait. If your mi flash tool shows connect your device even after you have connected it. Follow this guide here.
4. After you have unlocked your bootloader reboot your phone.
Flashing TWRP and Rooting via magisk​
1. Download this TWRP image here. Thanks to the original developer mauronofrio.
2. Download adb and fastboot tools here and install it.
3. Now put your phone in fastboot mode and connect it with your pc. Now where you have downloaded the TWRP file rename it to TWRP.img and open a CMD window there if you don't know how just google.
4. Type the following commands
1. fastboot devices
2. fastboot flash recovery TWRP.img
3. fastboot reboot recovery.
Click to expand...
Click to collapse
5. Your phone will boot into TWRP now. But TWRP will be overwritten by stock miui recovery to stop that you need to flash Magisk. Download this zip move it to internal storage then flash by tapping on install and swipe to flash. Reboot your device. Reboot to recovery again to check if TWRP is present.
Now your device is rooted
OR
Flash latest OrangeFox Recovery if you don't want magisk.
Flashing A rom
1. Download.
2. Flash.
3 Format Data.
Done
Feel free to ask any questions. And don't point a finger at me for messing your device.
My mi unlock tool says can't get info. I using Indian version miui 12
Thanks for the useful guide. I have a quick question, does this works with MIUI 12?
igeekyayush said:
My mi unlock tool says can't get info. I using Indian version miui 12
Click to expand...
Click to collapse
Sorry for late reply. Have you installed the drivers correctly? Try using another port in your pc or use this mi unlock tool version zip
Doombuggie85 said:
Thanks for the useful guide. I have a quick question, does this works with MIUI 12?
Click to expand...
Click to collapse
Yes, it does.
hello,
thanks for the reply sir. yes i've tired changing port, pc everything. today i've factory reset my phone and added mi account and now i'm getting 7 days wait time. let's see now
LoadOP2 said:
Sorry for late reply. Have you installed the drivers correctly? Try using another port in your pc or use this mi unlock tool version zip
Click to expand...
Click to collapse
igeekyayush said:
hello,
thanks for the reply sir. yes i've tired changing port, pc everything. today i've factory reset my phone and added mi account and now i'm getting 7 days wait time. let's see now
Click to expand...
Click to collapse
Okay keep the sim inserted and use the device for 7 days. And if it doesn't work try using older version of unlock tool.
Hi there!
Silly question: is it possible to install TWRP but keep the official ROM? (phone is unlocked)
_benedict_ said:
Hi there!
Silly question: is it possible to install TWRP but keep the official ROM? (phone is unlocked)
Click to expand...
Click to collapse
Flashing a custom rom is optional. You don't NEED to flash a rom to get TWRP...
---------- Post added at 06:48 PM ---------- Previous post was at 06:46 PM ----------
I've unlocked the bootloader using the unlock tool and waited for 7 days,
But i rooted the device using a different method where i patched a boot.img and flashed that to the device.
Will this method still work for me as I'm already rooted but just want TWRP so i can flash other ROMs.. The post says you have to flash magisk from the (temporary) TWRP for the TWRP to stay as the recovery..
Will the magisk on my phone and the magisk installed here collide?
I just want TWRP so i can switch to a custom rom, so any input is appreciated!!
_benedict_ said:
Hi there!
Silly question: is it possible to install TWRP but keep the official ROM? (phone is unlocked)
Click to expand...
Click to collapse
Skip the flashing a rom part and you will be good to go.
But i rooted the device using a different method where i patched a boot.img and flashed that to the device.
Will this method still work for me as I'm already rooted but just want TWRP so i can flash other ROMs.. The post says you have to flash magisk from the (temporary) TWRP for the TWRP to stay as the recovery..
Will the magisk on my phone and the magisk installed here collide?
I just want TWRP so i can switch to a custom rom, so any input is appreciated!!
Click to expand...
Click to collapse
You can flash twrp and then check if it persists. If not flash magisk again their is no thing as magisk colliding lol. Just make sure you flash a newer version. And if nothing works flash stock rom and then twrp.
If you have the stock boot IMG flash it and then intsall twrp and magisk.
smsry said:
Flashing a custom rom is optional. You don't NEED to flash a rom to get TWRP...
Click to expand...
Click to collapse
LoadOP2 said:
Skip the flashing a rom part and you will be good to go.
Click to expand...
Click to collapse
Haha, makes sense! Thank you for your answers
Nevermind.. i got it to work pretty easily..
I have twrp on this device and Pixel Experience ROM and it's working all fine..
But there's this one thing where when booting to recovery, it asks me to input a password for User(0) when i try to input anything it says password failed..
From reading the log, it says it's for decrypting data(8f I'm not mistaken)
Is this important? Do i need to decrypt it?
Currently the ROM works fine with no errors, so I'm not gonna bother, but would still like to know what this "decrypting" thing is..
smsry said:
Nevermind.. i got it to work pretty easily..
I have twrp on this device and Pixel Experience ROM and it's working all fine..
But there's this one thing where when booting to recovery, it asks me to input a password for User(0) when i try to input anything it says password failed..
From reading the log, it says it's for decrypting data(8f I'm not mistaken)
Is this important? Do i need to decrypt it?
Currently the ROM works fine with no errors, so I'm not gonna bother, but would still like to know what this "decrypting" thing is..
Click to expand...
Click to collapse
Yes, If you use a lock screen enter that password it will be decrypted. You will have to format data if you decide to flash any other rom anyway.
flashed twrp but not able to boot into recovery.
igeekyayush said:
flashed twrp but not able to boot into recovery.
Click to expand...
Click to collapse
There can be many reasons for that. Please tell me the error or what's actually happening. Then only I can be of help.
Sir ive used xiaomi flashtool v2 after that and it worked. Thanks sir. After that i updated to latest twrp from that chinese one.
​
LoadOP2 said:
There can be many reasons for that. Please tell me the error or what's actually happening. Then only I can be of help.
Click to expand...
Click to collapse
Joyeuse
Hello, Does it work for Joyeuse (European version)?
The name of TWRP says Curtana -Unified
rfguy said:
Hello, Does it work for Joyeuse (European version)?
The name of TWRP says Curtana -Unified
Click to expand...
Click to collapse
Yes Unified means all Snapdragon 720g Devices which include Joyeuse, Curtana, Gram, Excalibur.
Hey buddy, thank you for this quick step-by-step guide. I flash ROMs since 2012 and you know what? It helped me the same. Having all stuff needed for go from stock to custom concentrated in one place (plus some useful tip like the Magisk flash at the end) it's always useful and time-saving. Thank you
2 Micro-notes about fastboot btw:
- write 'fastboot (with lowered 'f'): it may confuse some newbie
- it's 'reboot' instead of 'boot'

Categories

Resources