Related
This is what I have done this afternoon.
Use at your own risk, I'm not responsible for any data losing.
Environment: Oneplus One with stock CM11s XNPH30O
Steps:
1. Apply cm-11.0-XNPH25R-bacon-signed.zip from stock recovery.
2. DO NOT BOOT TO OS when update is finished. After updated, press power button until screen off.
3. Boot to fastboot mode by holding 'Power' button & 'Vol UP(+)'.
4. In fastboot mode, boot to custom recovery by
Code:
fastboot boot openrecovery-twrp-2.7.1.1-bacon.img
http://techerrata.com/browse/twrp2/bacon
5. Make a nandroid backup for data partition. (Optional)
6. Sideload OnePlusOne-BootUnlocker.zip http://forum.xda-developers.com/showpost.php?p=54251992&postcount=1
7. Reboot to bootloader(fastboot mode)
8. Extract cm-11.0-XNPH30O-bacon-signed-fastboot.zip and execute 'flash-radio.sh' to update radio and other binaries.
9. Flash 30O system partition only by
Code:
fastboot flash system system.img
(Don't flash userdata.img or userdata_64G.img or you'll lose all your data.)
10. Reboot. The Bootloader is unlocked.
Sorry for my bad english.
Sick man, gonna try this when i get home
I am running on 33R will this work ???
Or connect to PC.. Adb backup, root, then adb restore
Cool write-up! I re-wrote the guide for use over on the OnePlus forums: https://forums.oneplus.net/threads/...ck-the-bootloader-without-losing-data.103642/
ifg said:
This is what I have done this afternoon.
Use at your own risk, I'm not responsible for any data losing.
Environment: Oneplus One with stock CM11s XNPH30O
Steps:
1. Apply cm-11.0-XNPH25R-bacon-signed.zip from stock recovery.
2. DO NOT BOOT TO OS when update is finished. After updated, press power button until screen off.
3. Boot to fastboot mode by holding 'Power' button & 'Vol UP(+)'.
4. In fastboot mode, boot to custom recovery by
Code:
fastboot boot openrecovery-twrp-2.7.1.1-bacon.img
http://techerrata.com/browse/twrp2/bacon
5. Make a nandroid backup for data partition. (Optional)
6. Sideload OnePlusOne-BootUnlocker.zip http://forum.xda-developers.com/showpost.php?p=54251992&postcount=1
7. Reboot to bootloader(fastboot mode)
8. Extract cm-11.0-XNPH30O-bacon-signed-fastboot.zip and execute 'flash-radio.sh' to update radio and other binaries.
9. Flash 30O system partition only by
Code:
fastboot flash system system.img
(Don't flash userdata.img or userdata_64G.img or you'll lose all your data.)
10. Reboot. The Bootloader is unlocked.
Sorry for my bad english.
Click to expand...
Click to collapse
Big thanks for this guide. You saved my life. And thanks also to developers for this MOD :good:
---------- Post added at 04:11 PM ---------- Previous post was at 04:05 PM ----------
Dibbyo123 said:
I am running on 33R will this work ???
Click to expand...
Click to collapse
Be sure to read the steps.
philicibine said:
Or connect to PC.. Adb backup, root, then adb restore
Click to expand...
Click to collapse
How would this be done by steps? I'm somewhat familiar with adb {I have the SDK installed and use it for fastboot) but coming from rooting and modding mostly Samsung devices I don't have experience with this method. Could you elaborate in another thread plz? Just the back up and restore part. I can manage the unlock and root.
erad1 said:
How would this be done by steps? I'm somewhat familiar with adb {I have the SDK installed and use it for fastboot) but coming from rooting and modding mostly Samsung devices I don't have experience with this method. Could you elaborate in another thread plz? Just the back up and restore part. I can manage the unlock and root.
Click to expand...
Click to collapse
i used the steps posted here. although they needed adapting for the one.
the bones of it is there though, so if you understand it, its easy to do.
Kind of went a different route but used this as a base and got it done. It was tricky but I'm unlocked, rooted, stock recovery and got most of my data back! Thanks for heads up philicibine and OP.
someone running on 33R succeeded with this MOD ???
Medosofts said:
someone running on 33R succeeded with this MOD ???
Click to expand...
Click to collapse
Yes. I was on 33R. Went to stock recovery and flashed 25R. Booted to fastboot and remotely ran twrp recovery and did a backup (in case) then flashed Bootloader unlock zip. While still in recovery, flashed 33R zip and SuperSU. I didn't extract any fastboot files, just used the flashable stock signed zip. All said and done, I had unlocked bootloader and root and back on 33R.
Now I was able to use Flashify app if I wanted a permanent custom recovery.
ralphwiggum1 said:
Yes. I was on 33R. Went to stock recovery and flashed 25R. Booted to fastboot and remotely ran twrp recovery and did a backup (in case) then flashed Bootloader unlock zip. While still in recovery, flashed 33R zip and SuperSU. I didn't extract any fastboot files, just used the flashable stock signed zip. All said and done, I had unlocked bootloader and root and back on 33R.
Now I was able to use Flashify app if I wanted a permanent custom recovery.
Click to expand...
Click to collapse
Hello did this wipe the device???
also were did you download the 33R from can you please provide me the link.
Thanks
Hilmesh said:
Hello did this wipe the device???
also were did you download the 33R from can you please provide me the link.
Thanks
Click to expand...
Click to collapse
This did NOT wipe my device. Look for the flashable (NOT fastboot) images in this thread.
http://forum.xda-developers.com/showthread.php?t=2857110
ralphwiggum1 said:
This did NOT wipe my device. Look for the flashable (NOT fastboot) images in this thread.
http://forum.xda-developers.com/showthread.php?t=2857110
Click to expand...
Click to collapse
Hello ,
I am on 33 R and downloading the flash-able zip from the thread you gave. The rest of items i have already downloaded (Please see attachment). Request you to please confirm that once my 33R download is complete am i ready to proceed??? (I also have the Complete SDK Package with me)
Also can you please list me the procedure step by step. This is my very first time doing it this way as i am used to rooting my S2 and that is a totally different method using ODIN.
Hope to receive your positive reply.
Ok. Done. It worked flawlessly on 33R. Followed all the steps as mentioned by @ralphwiggum1 (Thanks a lot mate . Also Thanks to @ifg for making the basic post to be followed. See attached Rootchecker image for proof.
Please note that this procedure worked for me on a totally unrooted & never before tried rooting device with 33R. Also my device info showed Tampered bit as True & unlock bit as False. You can check it by following this http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912. Thanks to @Mnt-XDA.
Hilmesh said:
Ok. Done. It worked flawlessly on 33R. Followed all the steps as mentioned by @ralphwiggum1 (Thanks a lot mate . Also Thanks to @ifg for making the basic post to be followed. See attached Rootchecker image for proof.
Please note that this procedure worked for me on a totally unrooted & never before tried rooting device with 33R. Also my device info showed Tampered bit as True & unlock bit as False. You can check it by following this http://forum.xda-developers.com/oneplus-one/development/mod-reset-unlock-tamper-bit-t2820912. Thanks to @Mnt-XDA.
Click to expand...
Click to collapse
Good job!
"As every guide is written with a Foreword so is this. Please try at your own risk. I am not responsible."
Next this is neither my guide nor my work. I went through all the threads as mentioned in the various links given below. All I did was follow procedure from whichever thread / post was related with my condition. Once I even got confused with too much information but then again as they if we don’t try we never know whether we would have failed or succeeded.
So I was able to do this only due the works of other people. All the credit & Thanks goes to them. I have tried and remembered and mentioned all the names. In case I have missed anyone please forgive me and point me the name and I will thank them too.
My Step by step procedure to root the device without wipe for devices who have never tried rooting their Oneplus One and are currently on 33R using the method mentioned in this thread,
Download the Recovery flashable zips of the complete ROMz - XNPH25R, XNPH33R
Follow the ADB & Fastboot Installation Procedure listed HERE(Also if you can then do read the complete post as it is very informative for Noobs like me )
Download the Oneplusone-bootunlocker.zip from HERE (Again if possible please read this complete thread too as it is also very informative)
Download the Supersu file from HERE
Download the custom recovery file from HERE
Copy both the Flashable zips, Bootunlocker, supersu files to your device
Switch off your device. And Then boot into STOCK RECOVERY by pressing the VOL DOWN & POWER key
Apply update – XNPH25R and then keep the power key pressed until the screen turns off. DO NOT REBOOT
Now boot to fastboot mode by holding the POWER button & VOL UP Key. Connect it to the PC and let it install all the drivers
Go to the SDK Installation in your PC, and within that go to the folder PLATFORM-TOOLS. Copy the “openrecovery-twrp-2.8.0.1-bacon.img” or latest file which you must have downloaded from the TWRP site
Within the directory Press the Shift Key and right click and you will get an option “Open command Prompt here” – Do it. Type in the command
Code:
Fastboot boot openrecovery-twrp-2.8.0.1-bacon.img
. Wait for 30 Seconds your device will enter into TWRP Custom recovery
Make a Nandroid backup (Optional)
Go to the install option within the recovery and select the Bootunlocker.zip. make sure the signature verification check box in unchecked. Apply the zip.
Now once again go into install option and select the XNPH33R zip and apply
I rebooted the device after Step 14 as I forgot to apply the supersu
Once again followed the same procedure to enter fastboot mode (Step 9) and loaded the custom recovery as mentioned in Step 11 and then applied the supersu zip as mentioned in Step 13. Again rebooted and device was successfully rooted with SuperSU
Next I wanted to flash Franco’s latest Kernel (franco.Kernel-nightly-r20.zip). Downloaded from HERE
Again put device in Fastboot mode (Step 9) and loaded Custom recovery (Step 11) and installed zip file using same procedure as Step 13
Wiped Cache & Dalvik Cache & Rebooted the device. No Issues. Franco Kernel was installed
Credits - I would like to thank everyone for helping me out. Full Thanks & Credits to @ifg (Guide for XNPH300), @Mnt-XDA (Bootunlocker.zip & a great thread about Reset Unlocker & Tamper Bit), @MICa.fighter (CM11S official & untouched image collection), @franciscofranco (Kernel for Oneplus One), Chromium (From Oneplus One Forum for a great guide on Everything Rooting for Oneplus One), @Chainfire (SuperSU), @ralphwiggum1 (for already trying it and clearing my doubts and giving me confidence to proceed)
Worked like a charm. Thanks!
Yeah, I really wish I found this post before I wiped my OPO, and lost another day reinstalling and configuring apps.
Hilmesh said:
"As every guide is written with a Foreword so is this. Please try at your own risk. I am not responsible."
Next this is neither my guide nor my work. I went through all the threads as mentioned in the various links given below. All I did was follow procedure from whichever thread / post was related with my condition. Once I even got confused with too much information but then again as they if we don’t try we never know whether we would have failed or succeeded.
So I was able to do this only due the works of other people. All the credit & Thanks goes to them. I have tried and remembered and mentioned all the names. In case I have missed anyone please forgive me and point me the name and I will thank them too.
My Step by step procedure to root the device without wipe for devices who have never tried rooting their Oneplus One and are currently on 33R using the method mentioned in this thread,
Download the Recovery flashable zips of the complete ROMz - XNPH25R, XNPH33R
Follow the ADB & Fastboot Installation Procedure listed HERE(Also if you can then do read the complete post as it is very informative for Noobs like me )
Download the Oneplusone-bootunlocker.zip from HERE (Again if possible please read this complete thread too as it is also very informative)
Download the Supersu file from HERE
Download the custom recovery file from HERE
Copy both the Flashable zips, Bootunlocker, supersu files to your device
Switch off your device. And Then boot into STOCK RECOVERY by pressing the VOL DOWN & POWER key
Apply update – XNPH25R and then keep the power key pressed until the screen turns off. DO NOT REBOOT
Now boot to fastboot mode by holding the POWER button & VOL UP Key. Connect it to the PC and let it install all the drivers
Go to the SDK Installation in your PC, and within that go to the folder PLATFORM-TOOLS. Copy the “openrecovery-twrp-2.8.0.1-bacon.img” or latest file which you must have downloaded from the TWRP site
Within the directory Press the Shift Key and right click and you will get an option “Open command Prompt here” – Do it. Type in the command
Code:
Fastboot boot openrecovery-twrp-2.8.0.1-bacon.img
. Wait for 30 Seconds your device will enter into TWRP Custom recovery
Make a Nandroid backup (Optional)
Go to the install option within the recovery and select the Bootunlocker.zip. make sure the signature verification check box in unchecked. Apply the zip.
Now once again go into install option and select the XNPH33R zip and apply
I rebooted the device after Step 14 as I forgot to apply the supersu
Once again followed the same procedure to enter fastboot mode (Step 9) and loaded the custom recovery as mentioned in Step 11 and then applied the supersu zip as mentioned in Step 13. Again rebooted and device was successfully rooted with SuperSU
Next I wanted to flash Franco’s latest Kernel (franco.Kernel-nightly-r20.zip). Downloaded from HERE
Again put device in Fastboot mode (Step 9) and loaded Custom recovery (Step 11) and installed zip file using same procedure as Step 13
Wiped Cache & Dalvik Cache & Rebooted the device. No Issues. Franco Kernel was installed
Credits - I would like to thank everyone for helping me out. Full Thanks & Credits to @ifg (Guide for XNPH300), @Mnt-XDA (Bootunlocker.zip & a great thread about Reset Unlocker & Tamper Bit), @MICa.fighter (CM11S official & untouched image collection), @franciscofranco (Kernel for Oneplus One), Chromium (From Oneplus One Forum for a great guide on Everything Rooting for Oneplus One), @Chainfire (SuperSU), @ralphwiggum1 (for already trying it and clearing my doubts and giving me confidence to proceed)
Click to expand...
Click to collapse
Excellent...well done and will help many!
How to unbrick or get back stock on your Huawei Mate 8. There are many reasons why you would want to do that.
In my case my device (AL10) was stuck at "your device cannot be trusted" after updating from B180 to B321.
First I got to thank acer73 for his software. ajsmsg78 and Kris Chen for their links to the right ROMs.
Also thanks to DarkSilentSC for his help, especially with the L29, great support.
He has a L29, which I don't have, so I'm glad he provides help with that device.
This worked for me on my AL10 to get it back on track, should work on other models too. Just have to find the right ROMSs as according to your model. However, I am not responsible if this does not work for you or if it bricks your phone even more.
And remember: don't forget turning on usb debugging whenever you can!
Unbrick (return to Stock)
1. Find yourself a stock ROM.zip according to your model and extract from the zip the update.app (I used one from a B172 (AL10) Stock ROM, I was running a B180 custom ROM, it worked.)
2. Download the Huawei Update Extractor http://forum.xda-developers.com/showthread.php?t=2433454
3. Extract boot.img, recovery.img, system.img and cust.img with the HuaweiUpateExtractor from the Update.App you find in the ROM to somewhere where you can find them easily
4. Head over to http://forum.xda-developers.com/mate-8/development/rayglobe-italian-knife-t3295526 (You can also do it with fastboot commands, but Acer73's tool makes it easier)
5. get yourself the Italian Knife (btw you probably have to turn off your anti-virus program), extract it in a directory on your PC and start Rayglobe_knife.exe
6. Put the images you have extracted into the folder Unbrick (same directory where you extracted Rayglobe Knife in). The folder was created after you started Rayglobe_Knife.exe
7. Boot your phone into bootloader.
8. In the Rayglobe Knife tool choose Unbrick and choose the option where it says you have placed all the images in the unbrick folder.
9. let the magic work. The phone will restart and it will probably take 15 minutes, make sure its charged enough.
After all that I quickly updated to the latest Stock ROM version, in my case B321, which you need to do if you want to flash later a custom B321. See second post if you want to do that as well or continue with unlocking the bootloader.
Now lets get the bootloader unlocked (for some reason mine was still unlocked)
1. Get Minimal ADB https://www.androidfilehost.com/?fid=24521665358595410
2. Hopefully you still have your unlock code (cause you need it otherwise it won't work)
3. Put your phone in Bootloader Mode (Press & hold power and volume down)
4. Extract Minimal ADB zip and run command.bat
5. Type <fastboot oem unlock xxxxxxxxxxxxx> (where xxxx is your bootloader unlock code)
6. Done
Now lets get twrp set up
1. For that we need minimal ADB again
2. Headover to http://forum.xda-developers.com/mate-8/development/recovery-twrp-huawei-mate-8-t3298567
3. Download TWRP according to your EMUI (For B321 it's EMUI 4.1)
4. Place the image in the directory of the Minimal ADB
5. Rename it to just twrp.img (not necessary but simplifies things)
6. Put your phone in Bootloader Mode (Press & hold power and volume down)
7. Run command.bat
8. Type <fastboot flash recovery twrp.img>
9. Then type fastboot reboot
10. Now you can hold volume up and power until your phone boots into TWRP
11. You need to format data (you'll lose everything on your phone)
12. Done
Remember: don't forget turning on usb debugging whenever you can!
!!!FOR L29 scroll down to DarkSilentSC's instructions!!!
After unbricking I quickly updated my AL10 to the latest version, in this case B321. Should work with all B3xx
1. Head over to Kris Chen's thread (this I used for the AL10)
http://forum.xda-developers.com/mate-8/development/rom-verison-t3324164
Or ajsmsg78's (also AL10 and L09)
http://forum.xda-developers.com/showpost.php?p=66776194&postcount=58 to get the Stock B321
2. Download the ROM and after downloading the zip file, extract update.app from it. Copy the UPDATE.APP to the internal memory of your HM8 in a folder called - dload (you may have to create it). Then press [volume+]+
[volume-]+[power] together to force the update.
3. Voila B321
-----------
!!![For the L29 you should try DarkSilentSC's instructions, which you find below or in post #54 on page 6 http://forum.xda-developers.com/mate-8/general/unbrick-updating-to-b321-t3375934/page6 don't forget to hit thanks!!!
1. Start from stock B170 firmware with TWRP ready
2. Extract BOOT, CUST, RECOVERY, SYSTEM from B321 UPDATE.APP
3. Add firmware .zip file (which contains META-INF folder and UPDATE.APP) and place it into internal storage
4. Make sure internal storage data is fully backed up
5. Delete All Accounts in Settings
6. Go to Recovery, Wipe Cache, Delvik Cache, Data, System
7. Flash that .zip file! (Getting errors is okay at this time) [This is what I didn't do before!]
8. Boot straight to bootloader
9. fastboot flash boot, cust, and system
10. let it boot. Let it proceed with encryption process in chinese and fully boot into EMUI
11. NOW I'M AT EMUI 4.1!
12. Reboot to fastboot and fastboot flash insecure_boot and flash TWRP
13. Reboot to recovery (TWRP) and then flash whatever rom you want to place in!
14. Enjoying it!
Great, was looking for details instructions like that, was stuck at cannot be trusted screen
Hello. Also i stuck today when i try to update. I try at my own all what did you said ......everything greast but when i try to flash rom from update.app proccess no pass more than 5:%.
My phone was also al-10 but 2 months ago i debrand with internation rom of acer. Nothing i cant flash . phone reboot work but can flash i thing my problem is the oem info file. Can anyone please help me
ganjbass said:
Hello. Also i stuck today when i try to update. I try at my own all what did you said ......everything greast but when i try to flash rom from update.app proccess no pass more than 5:%.
My phone was also al-10 but 2 months ago i debrand with internation rom of acer. Nothing i cant flash . phone reboot work but can flash i thing my problem is the oem info file. Can anyone please help me
Click to expand...
Click to collapse
Which update.app did you use? Maybe your download is corrupt?
BTW I debranded mine too with Acer's to international.
GerManiac said:
Which update.app did you use? Maybe your download is corrupt?
BTW I debranded mine too with Acer's to international.
Click to expand...
Click to collapse
NXT-AL10C00B321 i extract i unbrick from acer tool and then i use uppdate.app t but no pass more than 5%
What method you used for deprand? mine after debrand no able to use wifi recovery also no let me update even if i install factory recovery.
ganjbass said:
NXT-AL10C00B321 i extract i unbrick from acer tool and then i use uppdate.app t but no pass more than 5%
Click to expand...
Click to collapse
But you first used different ROM images to unbrick and then tried to update to B321.
really sounds as if your file is corrupted. Would try to download it again
GerManiac said:
But you first used different ROM images to unbrick and then tried to update to B321.
really sounds as if your file is corrupted. Would try to download it again
Click to expand...
Click to collapse
ok i will try tommorow......thanks for help by theway the phone booted but if i flash recovery for root no boot.... very strange....sometimes aloud to flash from boot some times no ohhhhhhh(((
Or something no correct with huawei extractor..... Can you provide extracted files?
Thanks in advance.
So I unbricked with B170 and then tried force flashing B321. My first attempt at flashing B321 ended up getting stuck at 5%. Tried flashing again and it said it was incompatible with the current firmware version of my phone. Any ideas on what I should do next?
Edit: Nevermind. I mistakenly copied the UPDATE.APP from B170 to the dload folder instead of the one from B321. lol
Now on B321. Thanks!
AndroidBestieRE said:
Great, was looking for details instructions like that, was stuck at cannot be trusted screen
Click to expand...
Click to collapse
Used this stock ROM for L29 to unbrick, it worked well following OP instructions
update.hicloud.com:8180/TDS/data/files/p3/s15/G1076/g104/v46463/f1/full/update.zip
hi, i have follow unbrick guide with knife, flash from knife and phone reboot. when phone reboot in settings, info phones, serial number is b321. is corretcly??
danielg90 said:
hi, i have follow unbrick guide with knife, flash from knife and phone reboot. when phone reboot in settings, info phones, serial number is b321. is corretcly??
Click to expand...
Click to collapse
Don't know which ROM you used to unbrick.
But seems that you used an B321 if that worked for you and you have no problems then that is great.
Could mean that wet can unbrick straight with the most current ROM available. If someone else could confirm?
GerManiac said:
Don't know which ROM you used to unbrick.
But seems that you used an B321 if that worked for you and you have no problems then that is great.
Could mean that wet can unbrick straight with the most current ROM available. If someone else could confirm?
Click to expand...
Click to collapse
i have AL10, please link stock rom that you used
danielg90 said:
i have AL10, please link stock rom that you used
Click to expand...
Click to collapse
Can't find the link right now, am in the car, but I've found this link to B170
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G884/g77/v43738/f1/full/update.zip:
Did not check though if it works
GerManiac said:
Can't find the link right now, am in the car, but I've found this link to B170
http://update.hicloud.com:8180/TDS/data/files/p3/s15/G884/g77/v43738/f1/full/update.zip:
Did not check though if it works
Click to expand...
Click to collapse
sorry, is possible flash with knife if bootloader is locked? my bootloader is locked
hello, my phone is still stuck.. i tried other cust/system/recovery/boot from other update.app, but its still stuck at: your device has been unlocked... im on l29
Have NXT-L29, downloaded stock L09 file from posted link, placed UPDATE.APP into 'dload' folder which I created, but still hanging at 5%. What to do?? Exactly where do I create this 'dload' folder? Just at 'Internal Storage'?
danielg90 said:
sorry, is possible flash with knife if bootloader is locked? my bootloader is locked
Click to expand...
Click to collapse
Bootloader has to be unlocked. You can unlock best with DC unlocker, it's fast and only costs around 5 dollars.
Unless you already have your unlock code then you can unlock following instructions see my first post
GerManiac said:
Bootloader has to be unlocked. You can unlock best with DC unlocker, it's fast and only costs around 5 dollars.
Unless you already have your unlock code then you can unlock following instructions see my first post
Click to expand...
Click to collapse
ok how can i unlocked bootloader with b321 stock?
DarkSilentSC said:
Have NXT-L29, downloaded stock L09 file from posted link, placed UPDATE.APP into 'dload' folder which I created, but still hanging at 5%. What to do?? Exactly where do I create this 'dload' folder? Just at 'Internal Storage'?
Click to expand...
Click to collapse
What are you trying to do? Unbrick or update?
The folder has to be created in internal storage
EDIT3 15/08/2018 - Some links broke. I found a better way to get the files: go to this thread (RAW firmware collection) by RealYoti here : https://forum.xda-developers.com/zenfone2/general/z008-z00a-z00d-z00x-raw-fw-collection-t3448966
All the files are here and they will never expire
In case of problem I still have the files on my computer, maybe one day I will upload them myself on my web server
EDIT2 07/06/2017 - I updated links. + INFO: My ZE550ML phone bricked again, but this time with no USB logo and no vibration at boot. The only tutorial that worked for me is the one from Tech YouTubers channel (click to go to their YouTube channel). Please check their tutorials, in case they made a new one. Try multiple tutorials, for me only an older one worked: this one! (during the video tutorial, I was somehow blocked after flashing img files: black screen. But, I managed to run my own guide again, and this time it worked! The video says to flash ZE551ML xFSTK file on ZE550ML device, and flash ZE550ML xFSTK file on ZE551ML device. It allowed me to boot my device on fastboot but it prevented me to boot Android after flashing the correct ZE550ML img, so I had to flash, normally without reversing files, xFSTK ZE550ML config on my ZE550ML to make it work, then use my guide. good luck You can also try directly my "standard" tutorial below, or trying it after trying the Tech YouTuber's one, hoping finally you'll unbrick your device
EDIT 03/09/2016: Updated RAW links, taken from amtech.vn. and new ZIP files from ASUS.com
Hello, just after solving my problem I wrote a guide of everything I did to unbrick my ZenFone 2 ZE550ML (bricked after installing OTA update for Marshmallow Beta).
This is a "duplicate" of my last post on this thread : http://forum.xda-developers.com/showthread.php?t=3405331
because I want to help people who are trying to unbrick their ZenFone 2 ZE550ML or ZE551ML
Here is a detailed guide of everything I did to unbrick a Marshmallow ZE550ML stuck on USB logo with lost bootloader without losing any data or setting, everything like before bricking in my case (except settings of some non-system apps, can't figure out why) :
(Note: I recommend you to charge your ZenFone for a few hours as soon as you'll get fastboot menu at step 1, so it will not shutdown... Even if it's not turning on the orange LED, it's charging )
(WARNING : these are the steps I had to do in order to unbrick MY phone without losing data and installing Marshmallow. For your phone some steps might be unnecessary, if you're lucky... I know this is a very long guide but I had to do this in MY case)
(The whole guide is a "modified" version of this guide by Summit007s)
Step 1. Flash basic bootloader with xFSTK Downloader to boot fastboot
I had, first, to switch to advanced startup with support for unsigned drivers (video tutorial here),
install Asus USB drivers (link to Asus USB drivers here - note: video tutorial to install drivers from inf (the inf file for the driver is Android\android_winusb.inf) (repeat for every device available : ADB Interface, Bootloader Interface, etc...) )
and IntelSocUSB driver (link to IntelSocUSB driver 1.2.0 - Note: Before finishing IntelSocUSB setup it will ask you to configure a device : you'll have to connect your ZenFone 2 using an USB cable to your computer, while it's displaying USB logo, and WAIT FOR DETECTION IN Device Manager as "Moorefield device" under "Intel Soc" section),
to flash a fastboot bootloader (link to xFSTK_ZE550ML-sal358-amtech.vn for ZE550ML / link to xFSTK_ZE551ML-sal358-amtech.vn for ZE551ML) using xFSTK Downloader (link to xFSTK Downloader 1.7.0)
(guides for everything in this step 1: english version - same in vietnamese with screenshots and valid links - detailed PDF for xFSTK with screenshots). => phone boots on fastboot
Step 2. Flash a lollipop ROM (or Marshmallow raw image from the raw fw collection but I did not test it) with Asus Flash Tool to repair fastboot info (like serial number) and access recovery if you want to install Marshmallow from a zip
In order to get a working recovery menu (because I found a zip for Marshmallow but no raw, I'll have to install a recovery),
I had to install Asus Flash Tool (NEW link to Asus Flash Tool 1.0.0.45),
UPDATE Some links broke so I suggest you to download the raw firmware from this thread: https://forum.xda-developers.com/zenfone2/general/z008-z00a-z00d-z00x-raw-fw-collection-t3448966, there are Marshmallow raw firmware so you can skip step 3. I havent tried myself for now.
flash a raw file (go download it from the raw collection) on ZenFone 2 ZE550ML using Asus Flash Tool (Model: ZE550ML - wipe data : no)
OR FOR A ZE551ML flash a raw file (NEW link to WW_ZE551ML_2.20.40.184_20160504.raw) on ZenFone 2 ZE551ML using Asus Flash Tool (Model: ZE551ML - wipe data : no)
(guides for everything in this step 2: english version - same in vietnamese with screenshots and valid links)
BUT because Asus Flash Tool will wipe everything except user data and change your serial number from 0123456789ABCDEF to your legit serial number, flashing will NOT work and process will be ENDLESS because serial number has changed so phone is not found and you're not warned of that by Asus Flash Tool.
After 20 minutes of "OKAY" status displayed in green text on your phone, after 20 minutes of "a500cgfastboot.exe" running in task manager,
I think you can safely unplug USB cable, abort Asus Flash Tool by closing this software, killing "a500cgfastboot.exe",
don't restart the phone, just plug it back to your computer and reopen ASUS FLASH TOOL (notice serial number change in ASUS FLASH TOOL) and flash again with same settings but the new serial number (different from 0123456789ABCDEF).
This flash should work, after an hour or less you'll see in Asus Flash Tool that it's finished.
If it did not work, then you can reboot the phone and try again
Step 3. Flash Marshmallow zip with adb sideload, if you didn't installed it with a raw at step 2
Finally, you'll have to shut down your phone,
boot in recovery mode (guide is here),
connect it to computer, select "apply update from adb",
install adb (link to ADB Installer 1.4.3 - Note: install it system-wide but don't install Android USB drivers) on your computer,
download zip OTA for Marshmallow (NEWEST official link to UL-Z008-WW-4.21.40.191-user.zip for ZE550ML / NEWEST official link to UL-Z00A-WW-4.21.40.223-user.zip for ZE551ML),
open a command prompt in the folder where you downloaded files (using "File > Open command prompt > Open command prompt" in the Windows Explorer's ribbon), then type :
Code:
adb devices
to verify that your phone is detected (you should see your serial number in cmd),
then type the following command to flash Marshmallow stock (zip is NOT pre-rooted if you want to root you'll have to do it after) :
ZE550ML
Code:
adb sideload UL-Z008-WW-4.21.40.191-user.zip
ZE551ML
Code:
adb sideload UL-Z00A-WW-4.21.40.223-user.zip
It may take a while decompressing then sending to phone. Then select "wipe cache partition" in your recovery menu,
wait until you see again the menu (so, wait until end of wiping cache), and select "reboot").
If you want more details for each step, just ask in the comments! Don't forget to read the other guides linked in the steps (for example, the one for xFSTK)
Now pray, and your device SHOULD magically boot the latest beautiful stock Marshmallow ROM from Asus, with all your data (except, maybe, settings of some non-system apps), exactly like before you bricked it.
It worked for me, but with the right new files it should work perfectly for you...
I hope you'll appreciate this "googling" work
Thank you
Thank you for sharing this information dude.. This is a helpful one.. It will surely be of greater use soon..
Thanks man u saved my zenfone 2 ze550ml. I tried various tutorial and videos but things didnt work as old files for z008 didnt work. You got the right files and steps. Cheers and keep up the good work
Hopefully this puts an end to all new unbricking threads *thumbs up*
password doesnt work for the flash tool anymore?
if u face error in ASUS FLASH TOOL
faced error in ASUS FLASH TOOL.
so i followed this guide after step 1 of this post: http://forum.xda-developers.com/zenfone2/help/thead-bricked-phone-updating-to-mm-tips-t3452785
then phone rebooted normally with a running OS. then i flashed last official lollipop zip from asus website by copying it to phone root directory. After that i flashed again the latest official Android 6 zip from ASUS same way.
everything working fine now. thanks
quarterbreed said:
password doesnt work for the flash tool anymore?
Click to expand...
Click to collapse
Hello,
I just tried it again and I can confirm that www.asus-zenfone.com is the right password for the archive, as seen on the original website :
http://www.asus-zenfone.com/2015/12/download-asus-flashtool-10014-for-windows.html
Download the RAR on your computer and open it : your archive opener software will ask you for the password only if you want to extract file. You can still see the list of file without password
Currently stuck at the end of step 1. :crying: any recommendations? Uploaded a picture of where xFSTK says as an error.
deathmaker06 said:
Currently stuck at the end of step 1. :crying: any recommendations? Uploaded a picture of where xFSTK says as an error.
Click to expand...
Click to collapse
Hello,
Your phone is still not booting on fastboot? Make sure you set settings in xFSTK Downloaded (GP Flag override, see the pdf) and try again. Good luck
fanfan54 said:
Hello,
Your phone is still not booting on fastboot? Make sure you set settings in xFSTK Downloaded (GP Flag override, see the pdf) and try again. Good luck
Click to expand...
Click to collapse
Nope its still not, and I've already set the GP Flag override stated in the pdf.
Good thing I was planning on upgrading to the V20 soon.
deathmaker06 said:
Nope its still not, and I've already set the GP Flag override stated in the pdf.
Click to expand...
Click to collapse
Try > 0x80000807 < (4x0`s)gp over ride in box ending [CRC]
timbernot said:
Try > 0x80000807 < (4x0`s)gp over ride in box ending [CRC]
Click to expand...
Click to collapse
omfg I love you
That means the PDF could be wrong using five 0's. Might want to add that as an edit to step 1 for anyone else that may experience the samething.
deathmaker06 said:
omfg I love you
That means the PDF could be wrong using five 0's. Might want to add that as an edit to step 1 for anyone else that may experience the samething.
Click to expand...
Click to collapse
Theres vid tutorial in my signature thats shows this and also how to restore serial :good:
THANK YOU !
You can find the solution HERE :
http:// forum.xda-developers.com/zenfone2/general/guide-fix-bricked-ze550ml-ze551ml-usb-t3405840
http:// forum.xda-developers.com/zenfone2/general/unbrick-vid-tutorial-restore-serial-t3411064
http:// forum.xda-developers.com/zenfone2/general/guide-brick-soft-hard-bricked-zenfone-2-t3284256
BUT because Asus Flash Tool will wipe everything except user data and change your serial number from 0123456789ABCDEF to your legit serial number, flashing will NOT work and process will be ENDLESS because serial number has changed so phone is not found and you're not warned of that by Asus Flash Tool.
After 20 minutes of "OKAY" status displayed in green text on your phone, after 20 minutes of "a500cgfastboot.exe" running in task manager,
I think you can safely unplug USB cable, abort Asus Flash Tool by closing this software, killing "a500cgfastboot.exe",
rebooting phone (notice serial number change in fastboot info on phone's screen) and flash again with same settings but the new serial number (different of 0123456789ABCDEF).
This flash should work, after an hour or less you'll see in Asus Flash Tool that it's finished.
Click to expand...
Click to collapse
What is worked for me :
1°) Using XFSTK > -- Do not hesitate to use another computer OR Reinstall only XFSTK (Change the Folder too) if you are "ATTEMPTING #20" / "errors encountered during download. aborting" / "firmware download completed. continuing to os" --- i had these msg then i shutdown the phone an plug it to his power for all the night then it worked at first try
Then you are on "Weird Flag" then BOOTLOADER with "123456789ABCD"
2°) Use Asus FlashTool with the RAW File (WIPE : NO)> DO NOT REBOOT THE PHONE After it says "RESULT : OKAY" on the Phone
-Close Asus FlashTools only (do not close the task - VIDEO : https:// bambuser.com/v/6355633)
-Relaunch Asus FlashTools
-UNPLUG the USB Cable then Plug it back directly
-Wait 10 sec -> You will have your serial number on Asus FlashTools
>>> Reuse your RAW File with Wipe Yes then it Works
I even use ADB Sideload to upgrade to MM
Thanks A LOT for bringing back to life my ZENFONE 2
-
Anyone have the RAW image for Marshmallow yet? Kind of old to keep flashing Lollipop first, only to sideload later.
Good Morning. My in AFT takes only 4 minutes until " erase data" and then he already restarts . What I do to show the correct serial . Thank you
Hrllo yesterday i update to android M now i have bricked ZE 550ml. Follow this guide im on fastboot screen and when flash raw file from lolipop because i didnt find marshmalow raw phone boot. But i cant get recovery.there is android with triangle says error. Now trying asus flash tool for about 40mins and on display sometimes say erase data flash rrcovery... But nothing happens. How to get rrvive phone and have recovery back and flash marshmallow again. Please help
Odesláno z mého LG-H815 pomocí Tapatalk
Step 3. Flash Marshmallow zip with adb sideload, if you didn't installed it with a raw at step 2
Finally, you'll have to shut down your phone,
boot in recovery mode (guide is here),
connect it to computer, select "apply update from adb",
install adb (link to ADB Installer 1.4.3 - Note: install it system-wide but don't install Android USB drivers) on your computer,
download zip OTA for Marshmallow (NEW official link to UL-Z008-WW-4.21.40.112-user.zip for ZE550ML / NEW official link to UL-Z00A-WW-4.21.40.134-user.zip for ZE551ML),
open a command prompt in the folder where you downloaded files (using "File > Open command prompt > Open command prompt" in the Windows Explorer's ribbon), then type :
adb devices (null)
Click to expand...
Click to collapse
Not work in my case with this recovery: twrp-3.0.2-0-Z00A.img
Man, i am so ****ing happy.. My phone wasn't available for 2 weeks and this was a very bad experience for me. I fixed it because of you. Thank you so so so much!
Stuck in the first step!
Hello, currently my ASUS Zenfone 2 is bricked because I tried flashing the released Android Marshmallow ROM on TWRP.
After 10 minutes of flashing my device abruptly shut down and now it can't even show anything on the screen when I turn it on (phone still buzzes but not even a dead android icon is shown--just dark unlit screen).
I followed your instructions and I got stuck in step 1 when trying to install the drivers using PowerShell. I was able to install the .inf from the folders "MTP" and "tethering" but the one in "android".
May I have some assistance to the next step gentlemen?
I believe because of this my computer could only detect my phone as the "Moorefield Device" for more than a second.
Thank you,
Tom
First of all, sorry for my awesome English.i am praticing my writing
if u understand Chinese,congratulations!these is the Chinese version:
Notice:
A. Warning! Flash phone might get it bricked. I am not responsible for it.
B. Phone is already Oreo firmware.
C. i cant guarantee these is no needless steps , but at least , i execute the steps from a to m, and i succeed to root my mate9 oreo {MHA-AL00 8.0.0.334(C00)}
-----------------------2017.12.07 update---------------------------
sorry for so many needless steps of the old method.
root mate9 emui8 now only need 2 steps (so please neglect the old method).
new method:
1. reboot to fastboot mode . and fastboot flash recovery_ramdisk this
2. reboot to recovery mode. flash supersu 2.82 sr5 mod. (download link)
done!
ps: i have compared the "supersu 2.82 sr5 mod" to official supersu 2.82 sr5
the only different is:
the 683th line of file: "/META-INF/com/google/android/update-binary"
official package is : TRY="boot_a BOOT_A $TRY"
and the mod package is: TRY="ramdisk_a RAMDISK_A $TRY"
so the the mod package can be trusted i think.
that's all !
as the Chinese popular saying goes: 无图无真相!( no pictures! no truths ! )
but i dont know how to upload my picture, imgur?tumblr? anybody teach me?
HOPE THE ABOVE IS CLEAR.
GOOD LUCK
----------------------------------------------------------------
old method ( too many needless steps, please read the new method!):
Prepare:
1. FunkyHuawei Mate 10 Root/Rebranding tool (find lastest release here)
2. TWRP 3.1.1-0 for Mate 9/EMUI 8 (click me)
3. HWOTA8 Package ( get it from this post)
4、update_data_public.zip & update_all_hw.zip for the corresponding version you need (mine is MHA-AL00 8.0.0.334(C00), you can find wat u need at here)
5、supersu 2.82 SR5 (donwload link ,we only need the superuser.apk in /common.)
steps:
a. Unlock bootloader (backup all the data you need before this step)
b. Decompress the HWOTA8 Package on ur PC.
c. Copy the TWRP 3.1.1-0 to this folder (created by Decompression ),and rename this recovery img file (TWRP 3.1.1-0) to "TWRP8_3.0.3.img"
d. Connect ur mate9 to PC by USB cable and Use Vol-Dn +Power to boot into fastboot mode.
e. Use "Replace_Recovery.bat" in the folder (created by Decompression ) to flash TWRP recovery
f. Disconnect USB cable, use Vol-Up + Power to boot into TWRP
g. Format Data in TWRP, and connect USB cable again.
h. Reboot into fastboot mode .
i. Decompress FunkyHuawei Mate 10 Root/Rebranding tool Package on ur PC.
j. Run the "FHMate10Tool.exe" and choose Option 1 to root. and it will reboot later
k. Phone reboot ---> appare the warming interface ( it said:your device has been unlocked and cant trusted blablalba..... ) ---> appare the huawei welcoming interface -----> suddenly, phone reboot. notice!: please keep USB cable disconnecting from ur Phone. and after phone reboot suddenly , keep holding the Power + Vol up as fast as u can to reboot to recovery mode. (ps: why do we hold the keys as fast as u can? because it will prevent ur rebooting phone enter the huawei welcoming interface again. if the huawei welcoming interface appearing we cant execute the step l following)
l. flash the update_data_public.zip & update_all_hw.zip in TWRP. and reboot to system .
m. if supersu is not installed, please install supersu 2.82 SR5 manually.
the step k & l is not necessary,but recommended. because if you neglect them, u cant use the Theme( i am sure) and other.... important things (maybe) .
thanks very much!!!!!!
OP, How did u upgrade to oreo? I also have an AL00
Astra1 said:
OP, How did u upgrade to oreo? I also have an AL00
Click to expand...
Click to collapse
there are two posts told me how to update mate9 from nougat to oreo
1. https://romprovider.com/2017/11/update-emui-8-0-huawei-mate-9/
2. https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
notice:
a. the part of post 1 --"2.1 Method 1 using HWOTA Tool–" works on my mate9 Android N (emui 5.0) .
b. the part of post 2 --"Downgrade Nougat" works on my mate9, i succeed to downgrade to Nougat emui5.0 MHA-AL00C00B233.
c. the attachment of the post 1 seem to be designed to work on mate9 pro(because of the "LON") , so i modified the package to fit mate9. i don't know if it's neccessary.
i have wrote a guide,but it's in Chinese . 2rd floor (2#) of this post
Good Luck!
abbyvictor said:
First of all, sorry for my awesome English.i am praticing my writing
if u understand Chinese,congratulations!these is the Chinese version:
Notice:
A. Warning! Flash phone might get it bricked. I am not responsible for it.
B. Phone is already Oreo firmware.
C. i cant guarantee these is no needless steps , but at least , i execute the steps from a to m, and i succeed to root my mate9 oreo {MHA-AL00 8.0.0.334(C00)}
Prepare:
1. FunkyHuawei Mate 10 Root/Rebranding tool (find lastest release here)
2. TWRP 3.1.1-0 for Mate 9/EMUI 8 (click me)
3. HWOTA8 Package ( get it from this post)
4、update_data_public.zip & update_all_hw.zip for the corresponding version you need (mine is MHA-AL00 8.0.0.334(C00), you can find wat u need at here)
5、supersu 2.82 SR5 (donwload link ,we only need the superuser.apk in /common.)
steps:
a. Unlock bootloader (backup all the data you need before this step)
b. Decompress the HWOTA8 Package on ur PC.
c. Copy the TWRP 3.1.1-0 to this folder (created by Decompression ),and rename this recovery img file (TWRP 3.1.1-0) to "TWRP8_3.0.3.img"
d. Connect ur mate9 to PC by USB cable and Use Vol-Dn +Power to boot into fastboot mode.
e. Use "Replace_Recovery.bat" in the folder (created by Decompression ) to flash TWRP recovery
f. Disconnect USB cable, use Vol-Up + Power to boot into TWRP
g. Format Data in TWRP, and connect USB cable again.
h. Reboot into fastboot mode .
i. Decompress FunkyHuawei Mate 10 Root/Rebranding tool Package on ur PC.
j. Run the "FHMate10Tool.exe" and choose Option 1 to root. and it will reboot later
k. Phone reboot ---> appare the warming interface ( it said:your device has been unlocked and cant trusted blablalba..... ) ---> appare the huawei welcoming interface -----> suddenly, phone reboot. notice!: please keep USB cable disconnecting from ur Phone. and after phone reboot suddenly , keep holding the Power + Vol up as fast as u can to reboot to recovery mode. (ps: why do we hold the keys as fast as u can? because it will prevent ur rebooting phone enter the huawei welcoming interface again. if the huawei welcoming interface appearing we cant execute the step l following)
l. flash the update_data_public.zip & update_all_hw.zip in TWRP. and reboot to system .
m. if supersu is not installed, please install supersu 2.82 SR5 manually.
the step k & l is not necessary,but recommended. because if you neglect them, u cant use the Theme( i am sure) and other.... important things (maybe) .
as the Chinese popular saying goes: 无图无真相!( no pictures! no truths ! )
but i dont know how to upload my picture, imgur?tumblr? anybody teach me?
HOPE THE ABOVE IS CLEAR.
GOOD LUCK
Click to expand...
Click to collapse
how can me update my phone and i on oreo (C185log) i would like move it to (C636)
Sent from my [device_name] using XDA-Developers Legacy app
Maheriraqi said:
how can me update my phone and i on oreo (C185log) i would like move it to (C636)
Sent from my [device_name] using XDA-Developers Legacy app
Click to expand...
Click to collapse
if nougat to oreo ,you should read this: https://romprovider.com/2017/11/upda...huawei-mate-9/
if oreo to higher version oreo OR oreo to nougat , you should read this: https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
these articles are very helpful!
abbyvictor said:
if nougat to oreo ,you should read this: https://romprovider.com/2017/11/upda...huawei-mate-9/
if oreo to higher version oreo OR oreo to nougat , you should read this: https://forum.xda-developers.com/mate-9/how-to/guide-mate-9-flash-oreo-update-package-t3699522
these articles are very helpful!
Click to expand...
Click to collapse
Thank you, but I need to files twrp and how to install on the oreo 8
Sent from my [device_name] using XDA-Developers Legacy app
Its quite confusing at first. And I manage to make it works after 4 - 7 times repeating the process. To get that themes work. Thanks a lot.
I spend few days figure this out. Thanks!
AlemSalleh said:
Its quite confusing at first. And I manage to make it works after 4 - 7 times repeating the process. To get that themes work. Thanks a lot.
I spend few days figure this out. Thanks!
Click to expand...
Click to collapse
It's my pleasure.
but i found this guide contains many redundant steps
i will simplify it later.....
viper4android for emui 8.0 ?
[No message]
hijibiji said:
viper4android for emui 8.0 ?
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?t=2191223
no version for Oreo until now as i know
I want to restore my Mate 9 to stock recovery and have used Huawei Update Extractor to extract the Oreo 1.9GB Update.app.
Which of the following files should I use to fastboot flash the stock recovery?
RECOVERY_RAMDIS.img 32MB
RECOVERY_VBMETA.img 6,93kB
RECOVERY_VENDOR.img 16MB
Flavio said:
I want to restore my Mate 9 to stock recovery and have used Huawei Update Extractor to extract the Oreo 1.9GB Update.app.
Which of the following files should I use to fastboot flash the stock recovery?
RECOVERY_RAMDIS.img 32MB
RECOVERY_VBMETA.img 6,93kB
RECOVERY_VENDOR.img 16MB
Click to expand...
Click to collapse
/recovery has a new name "recovery_ramdisk" in mate9 oreo
if you want to flash stock recovery , you should execute " fastboot flash recovery_ramdisk xxxxxxxxxxxxx.img" in fastboot mode.
"RECOVERY_RAMDIS" may be refer to "recovery_ramdisk", so try to execute " fastboot flash recovery_ramdisk RECOVERY_RAMDIS.img" in fastboot mode.
i'm not sure.
gook luck!
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