[guide] how to fix totally dead redmi note 4 | stuck in bootloop | qfil flashing - Xiaomi Redmi Note 4 Guides, News, & Discussion

Hello everyone, in today's guide I will tell you all how to fix bootloop problem in Redmi note 4
NOTE: THIS FIX IS FOR THOSE WHOSE PROBLEM DIDN'T GET FIXED EVEN AFTER FLASHING WITH MIFLASH
QFIL is a tool which is used to flash stock firmwares in Qualcomm smartphones.
Prerequisites:
1)Bricked Redmi note 4 (lol I guess you have that already if you are reading this)
2) Working USB cable (You really dont want yourself smashing your head and then finding out faulty cable)
3) QPST Version 2.7.438.3 (Google it)
4) Unlocked bootloader
5) Platform Tools (For passing OEM EDL command)
6) Stock fastboot MIUI ROM (IMPORTANT: Use V8.1.10.0.MCFMIDI from here: http://bigota.d.miui.com/V8.1.10.0....DI_20161228.0000.00_6.0_global_7557bfe334.tgz)
7)QDLoader HS-USB Driver for Redmi Note 4X
Note: I'm not responsible if you mess up your device the mentioned process helped me and others in fixing our devices. You yourself are responsible!
Steps:
1) Open QFIL tool from C:\Program Files\Qualcomm\QPST\bin or wherever you installed it. Run as administrator!
Note: Don't use older version QPST, because you will get an error message when writing userdata section.
2) In QFIL choose Flat Build option.
3) Make sure you you have extracted the above ROM file onto desktop
4) In QFIL tool browse and locate .mbn file
(Named like: prog_emmc_firehose_8953_ddr.mbn)
5) Click on Load XML and select rawprogram0.xml and patch0.xml inside your Fastboot ROM folder.
6) Now turn off your phone and enter Fastboot mode by pressing ans holding power button+vol down button. After that open platform tools folder downloaded above and right click opening cmd in that folder and write following command:
fastboot oem edl
And hit enter (The above command does require your bootloader to be unlocked so kindly keep that in mind before passing the command)
7) Your phone will exit Fastboot mode and red led will start blinking and your phone will be detected as COM port in QFIL tool.
8) At last hit download button, if you did everything right process should begin and end saying download complete.
9) You can now remove your phone and keep holding power button till it boots up. First boot will take some time.
Optional step 10) If you loose your IMEI in flashing process then you can flash your IMEI using Qualcomm IMEI tool (If you face problem in this then comment and i will come up with another guide regarding IMEI flashing)
Hope it helps, if yes be sure you hit that thumbs up button it gives me good feeling lol ?
Reply if you face any problem
Peace!

addymishra said:
Hello everyone, in today's guide I will tell you all how to fix bootloop problem in Redmi note 4
NOTE: THIS FIX IS FOR THOSE WHOSE PROBLEM DIDN'T GET FIXED EVEN AFTER FLASHING WITH MIFLASH
QFIL is a tool which is used to flash stock firmwares in Qualcomm smartphones.
Prerequisites:
1)Bricked Redmi note 4 (lol I guess you have that already if you are reading this)
2) Working USB cable (You really dont want yourself smashing your head and then finding out faulty cable)
3) QPST Version 2.7.438.3 (Google it)
4) Unlocked bootloader
5) Platform Tools (For passing OEM EDL command)
6) Stock fastboot MIUI ROM (IMPORTANT: Use V8.1.10.0.MCFMIDI from here: http://bigota.d.miui.com/V8.1.10.0....DI_20161228.0000.00_6.0_global_7557bfe334.tgz)
7)QDLoader HS-USB Driver for Redmi Note 4X
Note: I'm not responsible if you mess up your device the mentioned process helped me and others in fixing our devices. You yourself are responsible!
Steps:
1) Open QFIL tool from C:\Program Files\Qualcomm\QPST\bin or wherever you installed it. Run as administrator!
Note: Don't use older version QPST, because you will get an error message when writing userdata section.
2) In QFIL choose Flat Build option.
3) Make sure you you have extracted the above ROM file onto desktop
4) In QFIL tool browse and locate .mbn file
(Named like: prog_emmc_firehose_8953_ddr.mbn)
5) Click on Load XML and select rawprogram0.xml and patch0.xml inside your Fastboot ROM folder.
6) Now turn off your phone and enter Fastboot mode by pressing ans holding power button+vol down button. After that open platform tools folder downloaded above and right click opening cmd in that folder and write following command:
fastboot oem edl
And hit enter
7) Your phone will exit Fastboot mode and red led will start blinking and your phone will be detected as COM port in QFIL tool.
8) At last hit download button, if you did everything right process should begin and end saying download complete.
9) You can now remove your phone and keep holding power button till it boots up. First boot will take some time.
Optional step 10) If you loose your IMEI in flashing process then you can flash your IMEI using Qualcomm IMEI tool (If you face problem in this then comment and i will come up with another guide regarding IMEI flashing)
Hope it helps, if yes be sure you hit that thumbs up button it gives me good feeling lol
Reply if you face any problem
Peace!
Click to expand...
Click to collapse
Hi,
after your manual, download success, the device restarts, but it then gets stuck with the MI logo?
What can I do?
sieg

sieg01 said:
Hi,
after your manual, download success, the device restarts, but it then gets stuck with the MI logo?
What can I do?
sieg
Click to expand...
Click to collapse
Hello there,
First of all make sure that you are flashing the fastboot rom which I mentioned in the thread.
Now coming to your problem, open QFIL tool and open configuration panel. You will see many options, check for 'Erase before Download' option and make sure its unchecked then try flashing again. If the problem persist then send me screenshot of QFIL tool along with configuration.
All the best!

addymishra said:
Hello there,
First of all make sure that you are flashing the fastboot rom which I mentioned in the thread.
Now coming to your problem, open QFIL tool and open configuration panel. You will see many options, check for 'Erase before Download' option and make sure its unchecked then try flashing again. If the problem persist then send me screenshot of QFIL tool along with configuration.
All the best!
Click to expand...
Click to collapse
Hi again,
I have flashed again and in the " download configuration " I set " Erase before Download", please see the Attachment, unfortunately the same device restarts, but it then gets stuck with the MI logo?

sieg01 said:
Hi again,
I have flashed again and in the " download configuration " I set " Erase before Download", please see the Attachment, unfortunately the same device restarts, but it then gets stuck with the MI logo?
Click to expand...
Click to collapse
Dear, you DON'T NEED TO SELECT "ERASE BEFORE DOWNLOAD" !!! Now listen carefully what to do-:
1) Download mi flash tool and mi unlock tool
2) Your bootloader must be locked now so unlock it with mi unlock (Don't worry just use your mi account it will unlock successfully)
3) Once unlocked flash the fastboot rom in fastboot mode using mi flash tool. IMPORTANT: MAKE SURE YOU SELECT "CLEAN ALL" OPTION
4) Now when flashed your device will restart. Dont let it boot up. Press and hold power+volume down button till you enter into fastboot
5) From fastboot enter EDL mode using "fastboot oem edl" command. Red light will blink
6) Open QFIL and make sure "Erase before download" IS *NOT* SELECTED
7)Click download and you should be good to go
All the best

addymishra said:
Dear, you DON'T NEED TO SELECT "ERASE BEFORE DOWNLOAD" !!! Now listen carefully what to do-:
1) Download mi flash tool and mi unlock tool
2) Your bootloader must be locked now so unlock it with mi unlock (Don't worry just use your mi account it will unlock successfully)
3) Once unlocked flash the fastboot rom in fastboot mode using mi flash tool. IMPORTANT: MAKE SURE YOU SELECT "CLEAN ALL" OPTION
4) Now when flashed your device will restart. Dont let it boot up. Press and hold power+volume down button till you enter into fastboot
5) From fastboot enter EDL mode using "fastboot oem edl" command. Red light will blink
6) Open QFIL and make sure "Erase before download" IS *NOT* SELECTED
7)Click download and you should be good to go
All the best
Click to expand...
Click to collapse
1. My redmi is unlocked ( from Xiaomi )
2. MI flash tool don`t work, because I get error: can not found file flash_all.bat, so I dont`t use this tool

sieg01 said:
1. My redmi is unlocked ( from Xiaomi )
2. MI flash tool don`t work, because I get error: can not found file flash_all.bat, so I dont`t use this tool
Click to expand...
Click to collapse
In order to use mi flash correctly kindly place the fastboot rom in C: drive root directory then try flashing, it will work. Its a bug of mi flash

Hi I followed your all 9 steps in the first post. However, me too is stuck in 'mi' logo nothing happens waiting after 10 minutes
Then I followed the following steps, flashed by mi tool followed by QFIL. But my QFIL didn't have "ERASE BEFORE DOWNLOAD" option. I downloaded the exact QPST version 2.7.438.3 from gsmhosting forum.
Still the phone boots and stuck with 'mi' logo forever. I have tried flashing other ROMs like RR, lineageOS from TWRP but each of the ROM is stuck while booting . Only miuiPro "miuipro_v7.0_mido_v9.2.1.0_NCFCNEK.zip" manages to boot but keeps rebooting after every 2-3 seconds. My phone has been useless for 3 long days.
addymishra said:
Dear, you DON'T NEED TO SELECT "ERASE BEFORE DOWNLOAD" !!! Now listen carefully what to do-:
1) Download mi flash tool and mi unlock tool
2) Your bootloader must be locked now so unlock it with mi unlock (Don't worry just use your mi account it will unlock successfully)
3) Once unlocked flash the fastboot rom in fastboot mode using mi flash tool. IMPORTANT: MAKE SURE YOU SELECT "CLEAN ALL" OPTION
4) Now when flashed your device will restart. Dont let it boot up. Press and hold power+volume down button till you enter into fastboot
5) From fastboot enter EDL mode using "fastboot oem edl" command. Red light will blink
6) Open QFIL and make sure "Erase before download" IS *NOT* SELECTED
7)Click download and you should be good to go
All the best
Click to expand...
Click to collapse

biits1993 said:
Hi I followed your all 9 steps in the first post. However, me too is stuck in 'mi' logo nothing happens waiting after 10 minutes
Then I followed the following steps, flashed by mi tool followed by QFIL. But my QFIL didn't have "ERASE BEFORE DOWNLOAD" option. I downloaded the exact QPST version 2.7.438.3 from gsmhosting forum.
Still the phone boots and stuck with 'mi' logo forever. I have tried flashing other ROMs like RR, lineageOS from TWRP but each of the ROM is stuck while booting . Only miuiPro "miuipro_v7.0_mido_v9.2.1.0_NCFCNEK.zip" manages to boot but keeps rebooting after every 2-3 seconds. My phone has been useless for 3 long days.
Click to expand...
Click to collapse
Try downloading the lastest version from here:
https://androidmtk.com/download-qpst-flash-tool
Erase before download must be unchecked
And remember first boot does take some time so be patient a little. Hope it works!

addymishra said:
Try downloading the lastest version from here:
https://androidmtk.com/download-qpst-flash-tool
Erase before download must be unchecked
And remember first boot does take some time so be patient a little. Hope it works!
Click to expand...
Click to collapse
Hi, Thank you very much, I managed to boot the ROM using QFil , however in setup wizard I can't get past the getting device security info in mi account setup. Besides, dialogues for lots "app stopped working" keeps coming. and also there are frequent reboots

addymishra said:
In order to use mi flash correctly kindly place the fastboot rom in C: drive root directory then try flashing, it will work. Its a bug of mi flash
Click to expand...
Click to collapse
Hi,
II managed to flash successfully with MIflash tool, but after switching it on
do I have permanent boot loop with MI logo? Andere Fastboot ROM`s will MIflash nicht machen. Please look my Screenshot.
Greating

biits1993 said:
Hi, Thank you very much, I managed to boot the ROM using QFil , however in setup wizard I can't get past the getting device security info in mi account setup. Besides, dialogues for lots "app stopped working" keeps coming. and also there are frequent reboots
Click to expand...
Click to collapse
Strange :/ you can try miflash tool for that case. Download the lastest mi flash tool, enter into EDL mode using "fastboot oem edl" command then in mi flash drop down menu in left corner select "flash_factory.bat" and click flash. It will take around 400 seconds. Make sure you are in edl mode with red blinking light otherwise it will wipe your IMEI. Hope it works!

sieg01 said:
Hi,
II managed to flash successfully with MIflash tool, but after switching it on
do I have permanent boot loop with MI logo? Andere Fastboot ROM`s will MIflash nicht machen. Please look my Screenshot.
Greating
Click to expand...
Click to collapse
Are you able to enter into setup wizard? If not then try the procedure I posted above using factory flash. After flashing with mi flash once again try flashing with QFIL. It's sometimes hit or miss :/

addymishra said:
Are you able to enter into setup wizard? If not then try the procedure I posted above using factory flash. After flashing with mi flash once again try flashing with QFIL. It's sometimes hit or miss :/
Click to expand...
Click to collapse
Hi,
I don`t able to enter into setup wizard, because boot-loop, so I done following:
1. mi flash factory flash-successfully
2. mi flash flash once again-successfully
3. flashing with QFIL- successfully
After switch-on again boot loop every 22 seconds with mi-logo
Do you have any more tips for me?
Greating
sieg

sieg01 said:
Hi,
I don`t able to enter into setup wizard, because boot-loop, so I done following:
1. mi flash factory flash-successfully
2. mi flash flash once again-successfully
3. flashing with QFIL- successfully
After switch-on again boot loop every 22 seconds with mi-logo
Do you have any more tips for me?
Greating
sieg
Click to expand...
Click to collapse
Man, I think its some sort of hardware issue then. Or maybe your messed up your blobs or your partitions real bad and corrupted them. QFIL helped in my case. Got no more tips, maybe its time to visit service center brother One last shot you can give is to try flashing with QFIL first then with Mi Flash. That's last hope! All the best!

flash failed in QFIL please help

sohanaw said:
flash failed in QFIL please help
Click to expand...
Click to collapse
Which version of QFIL and which ROM are you flashing with? I managed to flash the said version in OP through QFIL without any error. However, other official versions like 9.xx fail to be flashed by QFIL

A solution that worked after all these troubles
Hi everyone,
This post is for those who are still struggling with 'cool' bootloop in Redmi note 4x irrespective of stock, custom ROMS, you are flashing.
Before all these steps I flashed "mido_global_images_V8.1.10.0.MCFMIDI_20161228.0000.00_6.0_global_7557bfe334.tgz" using QFIL first, then miFlash tool. I was greeted by "can't decrypt phone".
Refer to the OP
Then I flashed lazy_flasher and managed to boot into the stock ROM but couldn't get past the Mi account setup. Even my Keyboard app keeps stopping, so annoying.
The the below Steps I followed redeemed me of this agony powered by xiaomi:
1. Downloaded this firmware==>"global-mido-firmware-7.12.14.zip"
Mokee ROM==>"MK71.2-mido-201803080920-NIGHTLY"
open gapps arm-64, 7.1, pico
open gapps arm-64, 7.1, nano [BOTH] from gapps
2. flashed TWRP=3.1.1-0[official version] from the xda
Code:
fastboot flash recovery [name_of_recovery_image_of_twrp]
3. Entered into Recovery==>WIPE=>Advanced WIPE=> select all partitions==>WIPE[can leave Internal storage unchecked]
4. Then Format Data==>yes
5. Copied firmware, Mokee ROM, pico and nano gapps [4 items] to internal storage
6. Flashed downloaded firmware, then MOKEE ROM, then gapps-nano
7. Reboot to recovery
8. After entering Recovery, Reboot to system
Hopefully we will see mi logo, then Mokee robot animating soon enough. It will take you to setup wizard within 5-10 minutes, If you see any Google apps [Gboard in my case] stopping,
it may mean that google Play services were not installed properly[Don't know why]. In my case I couldn't set up Google account/framework first time. If it happens, go to settings,
enable developer options tapping BUILD version==>then enable USB debugging.
Then reboot to Recovery
Flash gapps-pico.
Do factory reset from Recovery, simple wipe.
Then reboot to System.[DON'T install TWRP as system app etc]
For me, this time I was able to setup google account from the setup wizard. Google service framework has been working without any issues. [ Again Don't know why]
This time I have been able to install my desired apps from playstore
Few more words:
Firstly, I tried flashing only pico, but I couldn't set up the google account, no matter how many times I reboot to recovery, wipe Dalvik-cache etc, then flash pico.
I described exactly what I did that worked out for me. There could be many possible orders, combinations, but I don't have time for that.
I tried to flash Alexy's "RR-N-v5.8.5-20180121mido_alexy.zip" ROM in combination with this firmware but it just will hang TWRP while flashing. only this MOKEE ROM worked with this firmware for me.
I wasted full 3 days for fixing this device. And no intention to tinker with it anymore, my communication has been in a mess!.
While in stock MIUI 'google *apps keeps stopping" just annoyed me as hell, so decided to switch, and after 3 days of disgusting 'Waiting period for bootloader UNLOCK' I couldn't even install a working stock
MIUI ROM now, maybe cheap hardware issue offered by Xiaomi. They have just made everything complex. This is my first and last device from them. My previous Moto G3 was amazing and would be with me had it not been stolen
Will be happy to help regarding this issue, and thank you the OP of this thread, who helped me realize that this device is still able to boot.
Wishing everyone in this note 4x trouble good luck!!

biits1993 said:
Hi everyone,
This post is for those who are still struggling with 'cool' bootloop in Redmi note 4x irrespective of stock, custom ROMS, you are flashing.
Before all these steps I flashed "mido_global_images_V8.1.10.0.MCFMIDI_20161228.0000.00_6.0_global_7557bfe334.tgz" using QFIL first, then miFlash tool. I was greeted by "can't decrypt phone".
Refer to the OP
Then I flashed lazy_flasher and managed to boot into the stock ROM but couldn't get past the Mi account setup. Even my Keyboard app keeps stopping, so annoying.
The the below Steps I followed redeemed me of this agony powered by xiaomi:
1. Downloaded this firmware==>"global-mido-firmware-7.12.14.zip"
Mokee ROM==>"MK71.2-mido-201803080920-NIGHTLY"
open gapps arm-64, 7.1, pico
open gapps arm-64, 7.1, nano [BOTH] from gapps
2. flashed TWRP=3.1.1-0[official version] from the xda
Code:
fastboot flash recovery [name_of_recovery_image_of_twrp]
3. Entered into Recovery==>WIPE=>Advanced WIPE=> select all partitions==>WIPE[can leave Internal storage unchecked]
4. Then Format Data==>yes
5. Copied firmware, Mokee ROM, pico and nano gapps [4 items] to internal storage
6. Flashed downloaded firmware, then MOKEE ROM, then gapps-nano
7. Reboot to recovery
8. After entering Recovery, Reboot to system
Hopefully we will see mi logo, then Mokee robot animating soon enough. It will take you to setup wizard within 5-10 minutes, If you see any Google apps [Gboard in my case] stopping,
it may mean that google Play services were not installed properly[Don't know why]. In my case I couldn't set up Google account/framework first time. If it happens, go to settings,
enable developer options tapping BUILD version==>then enable USB debugging.
Then reboot to Recovery
Flash gapps-pico.
Do factory reset from Recovery, simple wipe.
Then reboot to System.[DON'T install TWRP as system app etc]
For me, this time I was able to setup google account from the setup wizard. Google service framework has been working without any issues. [ Again Don't know why]
This time I have been able to install my desired apps from playstore
Few more words:
Firstly, I tried flashing only pico, but I couldn't set up the google account, no matter how many times I reboot to recovery, wipe Dalvik-cache etc, then flash pico.
I described exactly what I did that worked out for me. There could be many possible orders, combinations, but I don't have time for that.
I tried to flash Alexy's "RR-N-v5.8.5-20180121mido_alexy.zip" ROM in combination with this firmware but it just will hang TWRP while flashing. only this MOKEE ROM worked with this firmware for me.
I wasted full 3 days for fixing this device. And no intention to tinker with it anymore, my communication has been in a mess!.
While in stock MIUI 'google *apps keeps stopping" just annoyed me as hell, so decided to switch, and after 3 days of disgusting 'Waiting period for bootloader UNLOCK' I couldn't even install a working stock
MIUI ROM now, maybe cheap hardware issue offered by Xiaomi. They have just made everything complex. This is my first and last device from them. My previous Moto G3 was amazing and would be with me had it not been stolen
Will be happy to help regarding this issue, and thank you the OP of this thread, who helped me realize that this device is still able to boot.
Wishing everyone in this note 4x trouble good luck!!
Click to expand...
Click to collapse
will try this tonight, thanks bhai

sohanaw said:
will try this tonight, thanks bhai
Click to expand...
Click to collapse
Let me know bro what happens, hope it works for you
I wanted to use RR rom though, but in the end no ROM worked for me except this one. So I'm just happy with it.

Related

Redmi 3 Pro Considerations - Flash global ROM with BOOTLOADER LOCKED

I've tried some things on my Xiaomi Redmi 3 Pro and I want to share them if helpful for someone.
I've done all this with Xiaomi.eu Rom and SMIUI
///// I'm not accountable for any problem on your phone, do it at your own risk! \\\\\​
1 - Button combinations (unplugged from pc):
vol+ & vol- & power = force shutdown if in fastboot or download mode, if powered-on it's a restart
vol- & power = from switched-off phone goes in fastboot (from there you can launch another combination: vol+&vol- while launche cmd: fastboot.exe reboot)
vol+ & power = preload\ bootload mode (the yellow screen where to choose recovery\ fastboot\ download mode)
2 - For any type of problem \brick \ bootloop be sure before about this:
A) if you run the phone in fastboot mode, check if you can see it in fastboot command line from pc (cmd: fastboot devices)
B) if you run the phone in download mode, check if you can see it from miflash
If these point are ok this means the pc is ready to see the phone if you softbrick it or it goes in bootloop.
You will be always able to run it in fastboot mode, then download mode, an flash any rom to the phone that works.
3 - What you need?
Install last version of MiFlash, here a guide: http://en.miui.com/thread-272376-1-1.html
Install MiPCSuite in english, here the link: http://pcsuite.mi.com/
If you have problems with ADB, install ADB drivers, here the link: http://forum.xda-developers.com/showthread.php?p=48915118#post48915118 or http://forum.xda-developers.com/showthread.php?t=2317790
If you have problems with hs-usb qdloader 9008 driver, try to install from here: http://www.androidbrick.com/download/qdloader-hs-usb-driver/
Download and upack Android.Image.Kitchen for Windows, from here: https://mega.nz/#!McAj2SZT!E4XS7II27BjkjSHS2vcBnE6Tgvl8IZBhCD2wEKBchpA
Download TWRP 3.0.2.0 for MiFlash: https://mega.nz/#!cF4VVQiY!zrq2DTQRBX3UHRPOXN1dDNWiTn5tnoPxUfrHF_Rsnq4
Download ROM from different links:
http://en.miui.com/a-234.html (miui china stock, BL Locked)
https://www.androidfilehost.com/?w=files&flid=36337 (Xiaomi.eu with Gapps, no Bloatware, BL unlocked)
http://smiui.net/kitchen.php(Xiaomi.eu + other stuff)
Install Notepad++
4 - Prepare ROM:
As suggested by the user Jack0190 there are ROMS where is not needed to mod this files, like for "Xiaomi redmi3 pro locked multilanguage" roms.
Searching on web you can find them quickly, just be aware that there are some roms that have problems with SIM recognize. This comes from an old Thai \ Indian MIUI.
I've seen first this thread on en.miui, http://en.miui.com/thread-276565-1-1.html , where explains how to modify ROM to change the bootloader check. The guide explains very good how to modify the "boot.img" file of roms.
So just follow those steps.
I've seen that you can do it for both types of rom, for Recovery and MiFlash too.
For the recovery ROM, you have a file to open in 7Zip, copy the "boot.img" from it, modify it as explained in the guide, and re-copy in the zip file again.
While for the one for Miflash, it's easier; extract the rom, copy the "boot.img" file from \image folder, modify it with, and change it in the original folder. Then flash it with Miflash.
5 - Connect phone in Fastboot with pc:
One thing that always will save you is the ability to connect phone in fastboot mode.
Before start the phone in fastboot mode with cable unplugged (point 1).
Once you've installed Miflash, go on it's directory folder (C:\Program Files\Xiaomi\MiPhone\), and run cmd from there (shift+right mouse click).
Connect phone to pc.
Then run command "fastboot.exe devices" and if the result under the line on left is a code, the phone is recognized
6 - Force Download Mode from fastboot:
To force the phone to go in dowload mode, first run it in fastboot (point 5), check if it's recognized (point 2-A), then type but don't run command "fastboot.exe reboot".
Now push vol+ & vol- in the same time, and now run the command.
If it runs in the right mode, you can see it's connected by device manager under "Ports (COM &LPT)" section.
You will see "qdloader 9008 driver" with a COM port installed. The same port you will see in Miflash if you run it and push the "refresh button".
7 - Flash Job:
A) First you need to flash the recovery, TWRP, and to do this you should already have done this things:
Install Miflash, MiPcSuit
Your phone is right seen in fastboot and in Miflash in download mode.
You have downloaded the right versione of TWRP for MiFlash.
B) Flash TWRP with Miflash
Select in Miflash the button "Browse" and go to the folder "\Image"where you have extracted the TWRP zip
Click "Refresh"
Click "Flash"
Wait to complete (If it fails sending hello packets, it's because it's too much time the phone is in download mode, in this case, switch it off, e restart in Download mode and re-do all )
C) Copy modified ROM:
Now, I've done this step by OTG connection but there are more ways to do it:
Connec and mount an USB Drive in OTG
Push it by ADB
Copy it by SD card
If the old ROM still works, copy it in MTP connection
if none of this options is available, flash the Rom with Miflash, flash again TWRP recovery, run recovery, wipe cache and dalvik (factory reset option under "Wipe") and try to run system, it should run last system flashed.
D) Flash modified rom by recovery
E) Restart in system (It could take long time, even 10 minutes, so just wait for it)
Thanks to all users\ people helped me with different guides from XDA and other forums.
I' m sorry for no image, but it's not an official guide.
If something is wrong I'll change it asap, but don't blame me, these are just advices.
If it's not enough clear, search it on web.
If there are grammar errors, the Image verification confirms "I'm not a robot"
If you don't find the answer, then it's 42.
After mod, i can flash rom update from recovery?
Inviato dal mio GT-I9505 utilizzando Tapatalk
Just wanted to say thank you - This guide works. I tried it with a new redmi 3 pro with locked bootloader. You can skip step 4 if you want to, because there are some prepared images available (search for "xiaomi redmi3 pro locked multilanguage" and you will find them).
Also to note: The first boot of the new system took some long time (~ 10-minutes), so don't get frustrated. As long as there's the android logo with the three dots wandering around, everything should work fine.
- Jack
RuLe89 said:
After mod, i can flash rom update from recovery?
Inviato dal mio GT-I9505 utilizzando Tapatalk
Click to expand...
Click to collapse
not sure about this, I've flashed the last version available, so i don't have updates for now to test.
But i think that it could overwrite files modified.
This is what in some guides tells.
Jack0190 said:
Just wanted to say thank you - This guide works. I tried it with a new redmi 3 pro with locked bootloader. You can skip step 4 if you want to, because there are some prepared images available (search for "xiaomi redmi3 pro locked multilanguage" and you will find them).
Also to note: The first boot of the new system took some long time (~ 10-minutes), so don't get frustrated. As long as there's the android logo with the three dots wandering around, everything should work fine.
- Jack
Click to expand...
Click to collapse
Thanks to you, I've updated with what told. I've tried some of ROMs for locked bootloader, but was an Indian \ Thai version, and I had issues with SIM, no recognize.
That's why it was needed for me to use other rom for unlocked bootloader.
Hi, thanks for the guide. It seems like it'd be the only decent I could come across for my problem.
The only thing is that everytime I try to flash any ROM/image through MiFlash, I get the error:
Code:
Error loading type libary/DLL.(0x80029c4a: wait port ready to use <time in seconds>)
So far I haven't found anything or anyone that could help me with this. Can any of you help me out here? That'd be much appreciated.
Thanks~
----------------------------------
::Edit::
Alright, turns out I just had to do this:
1. Uninstall the Qualcomm drivers
2. Reboot Windows into "test mode"/Disabled driver signature enforcement
3. Reinstall the Qualcomm drivers
4. Flash device (phone in download mode)
5. Be very pacient. Waiting through the phone's boot phase
(took about 10 minutes; if it takes more than 15 minutes, then something is probably wrong. Try to enter download mode and flash it again.)
6. Redmi 3 working again
Okay, so, this worked for me, it doesn't mean it'll necessarily work for you!
This was done with a locked bootloader and MiFlash 2015.10.28.0

Doogee X5 Max Pro Root Recovery OTA

******************Root Recovery Doogee X5 max pro*******************
Your waiting Time IS Now Finished Here is Complete Guide to Root Doogee X5 Max Pro install twrp And More,
Hit :good:
ADB & Fastboot
Before doing most things mentioned below you will need "adb" and "fastboot" installed. Two of your options are to install the Android SDK Tools or the Minimal ADB and Fastboot tool. If you are somewhat new to this I highly recommend the second one. Go here, download the latest version (1.3.1 as of this writing), and install it. When setup is complete you should have an icon for the Minimal ADB and Fastboot tool.
Note: I highly recommend you add "C:\Program Files (x86)\Minimal ADB and Fastboot" to your PATH variable in Windows. This way you can open a Command Prompt anywhere and use adb or fastboot.
1) Unlock Bootloader
Power on the phone and skip through all of the setup options
Go to Settings -> About device
Tap Build number five times to enable Developer options
Go to Settings -> Developer options
Enable OEM unlocking
Enable USB debugging
Plug the phone in to your PC and authorize it
Open a Command Prompt
Type adb reboot-bootloader
The phone should reboot and in a very tiny font at the bottom you should see => FASTBOOT mode
Type fastboot devices to verify that your PC sees it correctly
Type fastboot oem unlock
Press Volume Up to say Yes and wait for this to finish
Type fastboot getvar all and look for (bootloader) unlocked: yes
Type fastboot reboot
You should see your phone reboot a couple times as it erases the phone
Install twrp-
Power on the phone
You can configure your phone now or just skip through all of the setup options and do that later
Go to Settings -> About device
Tap Build number five times to enable Developer options
Go to Settings -> Developer options
Enable OEM unlocking
Enable USB debugging
Plug the phone in to your PC and authorize it
Open a Command Prompt to wherever you extracted the .img file
Type adb reboot-bootloader
The phone should reboot and in a very tiny font at the bottom you should see => FASTBOOT mode
Type fastboot devices to verify that your PC sees it correctly, rename twrp to recovery.img
type fastboot flash recovery recovery.img to flash recovery
Type fastboot reboot
Rooting-
Download BETA-SuperSU.zip and save it to the phone's internal memory or an inserted microSD card
Plug the phone in to your PC
Open a Command Prompt
Type adb reboot recovery
You should now be in twrp. Go to Install zip, find SuperSU.zip, and install it
When it finishes go to Go Back -> Reboot Phone -> No
Once the phone boots up launch SuperSU and configure it as you like
Other Solutions-
i have doogee x5 max-s (i geuss limited editon in algeria ) with mtk6735 . i do evrything and all steps but when i reboot to recovery mode i have ( no command ) in the screen .... how to fix that ? sorry for my ****ty english XD
I had the same Issue but i have found a solution!
After you have flashed the twrp recovery, dont reboot the phone! the "recovery.sh" will replace the twrp on every boot!
Just pull off the battery after flashing, disconnect usb and put the battery back in to the phone.
Now get in to the recovery by pressing volume up and power button together until the select bootmode menue appears.
select recovery with the volume up button and enter with the volume down button.
and now you should be in the twrp main menue.
i hope it works for you too!
greetz from the lizard
It does not work from step 12, all the drives are correctly installed and windows recognizes the cell, the recovery image is in the internal memory and also in the sd but of the error "can not load Recovery.img". I tried all the tutorials on the net to do root and nothing worked.The flash does not recognize to pass the recovery also the installed drivers because windows recognizes the cell phone.
pitro1 said:
It does not work from step 12, all the drives are correctly installed and windows recognizes the cell, the recovery image is in the internal memory and also in the sd but of the error "can not load Recovery.img". I tried all the tutorials on the net to do root and nothing worked.The flash does not recognize to pass the recovery also the installed drivers because windows recognizes the cell phone.
Click to expand...
Click to collapse
use sp flash tools to flash recovery, scatter also added with twrp
Flash does not pass the file in the download only option, the process does not start. I reinstalled ROM by firmware mode all ok, but the process of passing recovery on command 12 and 13 of the error message. I manually copied the recovery to the sd and internal memory but also from the error. Does not find the file speaks that it is not a command found.
pitro1 said:
It does not work from step 12, "can not load Recovery.img".
Click to expand...
Click to collapse
Don't use Capital R's
fastboot flash Recovery Recovery.img
Code:
fastboot flash recovery recovery.img
Doogee X5 Max Pro - Update 01/16/2017 + TWRP-3-0-2 & SuperSU-v2.79
Working root for Update 01/16/2017
Title: Doogee X5 Max Pro
Listed: 01/19/2017 11:21 pm
ROM Version: ROM Android 6.0
Doogee X5 Max Pro - Update 01/16/2017
TWRP-3-0-2 + SuperSU-v2.79
Use This Version Flashtool
SP_Flash_Tool_v5.1620.00.000
XN Logos said:
use sp flash tools to flash recovery, scatter also added with twrp
Click to expand...
Click to collapse
Until today I could not do root on x5 max pro. In the method below even downloading the twrp when starting with the power + volume down button start with a menu in Chinese and if you start with volume up + power goes in the default recovery mode.
Same as Pitro1 I am on 16.01 update and I cannot install twrp no matter what I try.
I tried x32 and x64. I tried rebooting directly on recovery or first load system and then adb reboot recovery. I tried to format all first (now I lost my Imei and so on lol). I downgraded and updated again. Downgrading works only with 26.12 version. All others are giving me Colorado lines on the screen and nothing else...
OEM unlock, file transfer, adb, fastboot, drivers detection, are all working good. Only I cannot install twrp...
Also I cannot write nvram nor with SN Writer 2.1504 nor with Imei & SN Writer 1.7.2, MetaAP mode fails all the time...
I'm just about to send it back...
How i rooted my Doogee X5 Max Pro
How i rooted my Doogee X5 Max Pro
- Unlock Bootloader tutorial in the first post By XN Logos.
- Updated ROM to Android 6 with SP FLASH TOOLS V.5.16.20
- boot phone for 1st start and activate Developer and USB debugging
- Installed TWRP-32x + SuperSu with SP FLASH TOOLS V.5.16.20
i returned the phone as i had no imei anymore.
i got a new one, i did not put any sim or whatsoever, i just unlocked bootloader, and updated to 16.01 version
then i tried to install twrp via fastboot and it did not work, i did it with sp flash tools as advised and removing the battery prior (don't forget to!). it worked !
Stripe_nl said:
How i rooted my Doogee X5 Max Pro
- Unlock Bootloader tutorial in the first post By XN Logos.
- Updated ROM to Android 6 with SP FLASH TOOLS V.5.16.20
- boot phone for 1st start and activate Developer and USB debugging
- Installed TWRP-32x + SuperSu with SP FLASH TOOLS V.5.16.20
Click to expand...
Click to collapse
How old is your phone and what build version was it at before you started? Because this doesn't work on mine. Which of the "Android 6" ROMs did you flash to start with as I've tried flashing mine back to an earlier one in case it's something with the later stuff that my phone has come with but they either don't make a difference or they won't even boot.
I tried the method in the first post here and the phone wouldn't even boot (switch on and you get the Doogee logo in silver for a few seconds then it reboots and does the same again). I had to flash the stock ROM from NeedROM to get it working again.
I've tried flashing TWRPx32 and x64 available NeedROM both with SPFlash tools and with ADB. Generally flashing it with ADB from the command line leaves the phone in that boot-loop. If I flash it with SPFlash when you try to boot into Bootloader afterwards you get the Doogee logo in silver for a few seconds then it seems to reboot again on it's own and boot normally - you don't even get the menu to choose Fastboot, Recovery or Normal. From then on trying to boot to the Bootloader gives you the menu but choosing Recovery gives you the standard recovery.
It's almost as if something is overwriting the recovery partition with the original after I flash TWRP onto it.
Anyone got any suggestions about where I might be going wrong or a way around whatever additional security they might have put in there?
Hi. I have tried to root my x5 max pro with flash tools to load TWRP, but it always restarts normally and the TWRP does not come out. I found you and I started to try this method to load the TWRP. Does everything good, unload bootloader and load recovery, but loading the TWRP gives me error .:
Device unauthorized.
This adb's $ ADB_VENDOR_KEYS is nor set; Try adb kil-server if that seems wrong
what I do?
rooting X5 Max pro in Ubuntu 16.04
Hi all, this is my first china phone and I basically bought it only to experiment, I'm a linux power user but this is the first time I 'play' with an android OS.
thanks to multiple guides and posts on this and other forums I'm getting somewhere and learning a lot about how to manage an android OS, I'm sharing a bit of info I unovered about doing this under ubuntu but I'm also stuck and in need of guidance, please help me.
Linux specific issues:
I'm running ubuntu 16.04 LTS, installed fastboot and adb tools from ubuntu repos, with these tools and no other modification to my system I could follow the tutorial on how to unlock the OEM bootloader with adb and fastboot.
accordingly to this post about SP flash tool in linux you might need to blacklist a modem manager module in order for SP flash tool to connect to the phone, you also need to install usb development tools (package libusb-dev) and check through dmesg that your linux OS can actually properly read mediatek usb devices.
After following the above mentioned instructions (both the linux sp flash tool tutorial and the bootloader unlocking howto) I could get SP flash tool linux (multiple version) to see the phone after you connect it while SP flash is downloading the new recovery image and flash it with an ok message.
If you get stuck with a BROM error 1013 remember to start sp flash tool with root privileges.
Phone specific issues:
I can get SP flash tool to flash my phone recovery with an ok message confirmation but the phone keeps rebooting with doogee recovery and not twrp. I'm on the newest stock ROM update (20170116) as of current post date. I've been using 32 bit TWRP images from multiple sources and linux version 5.1620 of spflash tool from their website
so my questions are as following:
1) after reading other posts I think I might have to play with different versions of SP flash tool and TWRP until I get the right combination, I think I might be using 64bit spflash tool for linux to flash a 32bit rom or something like that, can anybody confirm precise version number of the stock rom, TWRP and SP flash tool that worked out for you?
2) should I try to install the whole stock ROM posted in this chinadevices thread before trying to flash only TWRP recovery? please also check the linked thread for multiple custom ROM being ported to this phone, please also note that the full stock rom this poster uploaded (it's in the "all firmware" link) contains another flashing tools with chinese instruction called MultiDownloadTool.
www.china-devices.com/forum/index.php?threads/doogee-x5-max-pro-mt6737-custom-roms.20527/
3) I don't have access to a windows installation right now, but I do have a Win10 VM under Vmware workstation 12 pro, so I could try windows version of sp flash tool, do you guys think that USB passthrough would work?
ibrooks said:
How old is your phone and what build version was it at before you started? Because this doesn't work on mine. Which of the "Android 6" ROMs did you flash to start with as I've tried flashing mine back to an earlier one in case it's something with the later stuff that my phone has come with but they either don't make a difference or they won't even boot.
I tried the method in the first post here and the phone wouldn't even boot (switch on and you get the Doogee logo in silver for a few seconds then it reboots and does the same again). I had to flash the stock ROM from NeedROM to get it working again.
I've tried flashing TWRPx32 and x64 available NeedROM both with SPFlash tools and with ADB. Generally flashing it with ADB from the command line leaves the phone in that boot-loop. If I flash it with SPFlash when you try to boot into Bootloader afterwards you get the Doogee logo in silver for a few seconds then it seems to reboot again on it's own and boot normally - you don't even get the menu to choose Fastboot, Recovery or Normal. From then on trying to boot to the Bootloader gives you the menu but choosing Recovery gives you the standard recovery.
It's almost as if something is overwriting the recovery partition with the original after I flash TWRP onto it.
Anyone got any suggestions about where I might be going wrong or a way around whatever additional security they might have put in there?
Click to expand...
Click to collapse
Same here. May a work around would be finding out the oem commands in fastboot. I have seen a tutorial to get them, but you have to be root: https://www.xda-developers.com/how-to-discover-hidden-fastboot-commands/
I search a simple method
Why all so complicate? I am searching for a simple way to root.
For my old Doogee X5, I discovered just
update-ROOT-DOOGEE_X5.zip
Copy the zip to the micro-SD-card
Settings -> Phone info -> Update -> menu "update local" -> choose zip from micro-SD-card.
Start update.
That's all!
Now I search for such a simple solution for my new Doogee X5 MAX pro.
I do not want any methods with "volume down power", because my X5 MAX pro has the menus after "Volume down power" start in Chinese language.
Recovery TWRP x32
http://www.needrom.com/download/twrp-x32-rom/
http://www.needrom.com/category/doogee/serial-x-doogee/x5-max-pro/
This version finally works ! Thank you
Neaw said:
Recovery TWRP x32
http://www.needrom.com/download/twrp-x32-rom/
http://www.needrom.com/category/doogee/serial-x-doogee/x5-max-pro/
Click to expand...
Click to collapse
Hi there,
I just tried the first file you posted, (twrp-x32-rom), and this one works for me after all previous attempts to boot up TWRP failed. Thanks for the link !
What I had tried before:
I have a relatively new X5 Max Pro, which I ordered a week ago. I updated the firmware to the newest version (20170116) using the OTA update function.
Then I tried to flash TWRP using the files from "needrom.com" which seem to have worked on older versions of the phone/firmware, but did not work for the newer versions.
I tried 32bit and 64bit TWRP versions and flashed them with SP flash tool, but when pressing Vol+/Power the phone would not boot into TWRP recovery. Insted, when selecting "Recovery" from the boot menu, the phone would show the Doogee logo in silver, then blink once, then boot up normally. When repeating this process, then phone boots into Stock recovery, indicating that the TWRP I flashed was replaced by stock recovery.
However, I just flashed the recovery.img from "TWRP LATEST" (the first file posted by Neaw) with SP flash tools and was finally able to boot into TWRP. I installed the superSU-zip 2.79 included in the link, and I am now rooted. Once again, thanks for posting this :good:
Greetz, Ollek74
Doogee X5 MAX! SERIUS PROBLEM......
Hello Guys i have a serious problem with my phone.....i have Malware on it and i cant uninstall it or anything alse.....the worst thing is that my phone not responding in any connection except that charging.....i can't have access on my storage cause this is not allowed or gives the choice! i tried everything but nothing nor the usb debugging or anything else please give me your help!!!!

My Redmi 2 stuck at mi logo after rooting by super su app.

please help me friends.....
i have redmi 2 and its model no. is 2014818.i rooted my phone by zip file throug updater app.after installation super su app installed automatically.then i opened super su app and it prompts to select continue with normal recovery or twrp/cwm custom recovery.by mistake selected second option which is twrp/cwm custom recovery.then clicked continue.after that my phone booted and that after stucked at mi logo.
my phone is not going to recovery mode.it is stucked at mi logo.
But it is going into fastboot mode properly.also i flashed latest rom by fastboot method and it shows success result in mi flash tool.but after booting it agian stucked at mi logo.i also tried to flash by command prompt by using adb and fastboot tools.all commands i give gets executed properly but the problem is not solved
i went to Mi service center.he told me that "i will do some software update.after some time he came up and said that the phone is taking much time and stucked at mi logo.
then he assumed and told me that ,there is an issue in motherboard i.e. the motherboard is currputed.
but in my perspective i dont think so, because all the fastboot cammands and functions are woring properly.
please help me in this situation and suggest me that whether it is software issue or hardware, and also about the chances of resuming to life of my phone.
you should try to flash the firmware again but don't forget to select clean_all while flashing from mi flash tool. if your phone doesn't revives then maybe it's hardware issue.
and yes also try to install custom recovery and custom os after flashing firmware maybe your phone gets a new life.
U can't flash stock ROM by fastboot r8?
Have u tried to flash T.W.R.P by fastboot by using mi flash tool(try to use latest version of mi flash too).
And direction is here.If that succed then all is good.
not worked
Bhavesh_khatri said:
you should try to flash the firmware again but don't forget to select clean_all while flashing from mi flash tool. if your phone doesn't revives then maybe it's hardware issue.
and yes also try to install custom recovery and custom os after flashing firmware maybe your phone gets a new life.
Click to expand...
Click to collapse
I have done clean install And everything already.But not Working and now phone is not going into fastboot mode also and also not booting on pressing power button.
On connecting to pc the notification message appears and says "unrecognizable device and device may be malfunctioned".
Done already before writing this thread.
raymond_bqg said:
U can't flash stock ROM by fastboot r8?
Have u tried to flash T.W.R.P by fastboot by using mi flash tool(try to use latest version of mi flash too).
And direction is here.If that succed then all is good.
Click to expand...
Click to collapse
i tried to flash TWRP and CWM recovery By Adb and fatboot method using commands (command prompt method) amd on giving commands all executed properly but not resulted.
From now phone is not going into fastboot mode also and not booting on pressing power button.
On connecting to pc the notification message appears and says "unrecognizable device and device may be malfunctioned".sometimes it is detected as Qualcomm Device on connecting.
In that case your device is hard bricked. You need professional help.
But check if your device is listed or not in device manager if it shows an exclamation mark try to update the drivers and though your device doesn't boots into fast boot mi-flash would probably detect your phone and than flash hope it would recover your device up-to certain extent.
I only understand your problem why because I too same thing as you did.
Lavnish said:
please help me friends.....
i have redmi 2 and its model no. is 2014818.i rooted my phone by zip file throug updater app.after installation super su app installed automatically.then i opened super su app and it prompts to select continue with normal recovery or twrp/cwm custom recovery.by mistake selected second option which is twrp/cwm custom recovery.then clicked continue.after that my phone booted and that after stucked at mi logo.
my phone is not going to recovery mode.it is stucked at mi logo.
But it is going into fastboot mode properly.also i flashed latest rom by fastboot method and it shows success result in mi flash tool.but after booting it agian stucked at mi logo.i also tried to flash by command prompt by using adb and fastboot tools.all commands i give gets executed properly but the problem is not solved
i went to Mi service center.he told me that "i will do some software update.after some time he came up and said that the phone is taking much time and stucked at mi logo.
then he assumed and told me that ,there is an issue in motherboard i.e. the motherboard is currputed.
but in my perspective i dont think so, because all the fastboot cammands and functions are woring properly.
please help me in this situation and suggest me that whether it is software issue or hardware, and also about the chances of resuming to life of my phone.
Click to expand...
Click to collapse
Simply flash twrp recovery n your phone through adb drivers or contact me. I can't give you video tutorial because I don't want you make that mistake again. my mail id: [email protected]
Alrighty I think praveen66542 is not wrong.
I have actually a redmi 2 and I had exactly the same problem a year ago; I've tried all the methods but it didn't work
So i've do is :
I installed Android SDK + ADB Drivers
I Turned my phone into fastboot mode
And I wiped all data from ADB But if you don't want to loose your data you can always do a backup from ADB and then wipe device's data
I think that's the one and only working solution.

[Guide] Flash Stock Rom Asus Zenfone 2 ZE551ML

Hey Guys. This guide will help you if
1. If Using Custom Rom and want to revert to latest stock rom.
2. If Stock Rom got corrupted or became laggy.
3. You want to reinstall stock rom.
Warning:
1. Method 1 require unlocked bootloader. If you want to unlock then go Here . Method 2 doesn't. Don't worry.
2. This will clean your phone just like new phone.
3. First read the post twice carefully then proceed.
4. ALL .bat FILES TO BE RUN IN FASTBOOT MODE ONLY, IF YOU DON'T KNOW ABOUT FASTBOOT MODE THEN GOOGLE "HOW TO GET FASTBOOT MODE IN ASUS ZENFONE 2
5. I may change name of files in folder. Use common sense to identify them.
Pre-requisites:
1. Charge your phone atleast 60%.
2. Backup any important data you might not wanna loose to either sd card or usb drive or pc.
3. Copy the rom zip in the sd card of your phone. (The one with size in GB)
4. Android USB Driver should be installed already, if it is not then install all drivers in the "Drivers Folder".
5. Enable USB Debugging.
For that go to "Settings" ,Scroll to bottom goto "about", goto "Software Information", tap "Build number" upto 7 times or till it
says "You are a developer now". Then go to "Settings" you will find "Developer Options", open it and enable "USB Debugging"
4. Common sense, patience.
Download Link:
For Method 1
Click here Android Filehost
Download these folders: TWRP, STOCK RECOVERY, STOCK ROM, DRIVERS
For Method 2
https://forum.xda-developers.com/zenfone2/general/z008-z00a-z00d-z00x-raw-fw-collection-t3448966
Procedure:
METHOD 1​Step 1. Flash TWRP recovery if not installed by using "TWRP.bat" (Given in twrp folder) in fastboot mode or bootloader mode whatever you call it.
Step 2. Go to Twrp recovery then choose "wipe" then choose "Advance wipe" and tick everything except "SD card or external sd card". then swipe to wipe.
Step 3. Go to fastboot/bootloader mode and flash stock recovery running appropriate .bat file. It is given in "Stock Recovery" folder.
Step 4. When the command executes from the above step, Go to "recovery" by pressing volume down button, then press "power" button.
Step 5. You will see a dead android logo. Nothing else. Then go to stock recovery options.
If you don't know how then use following methods
Method 1:
When you see a dead android bot with an error press and hold power button, then (while holding power button) quickly press Vol up and release and then release power button..
Method 2:
Go to fastboot mode. Connect your device and open command prompt there. Then Type
Code:
fastboot erase cache
Step 6: You should see stock recovery options. Then choose "Update from sd card" and select the rom zip you pasted in SD card.
(If you don't have sd card, then paste rom in internal memory and don't tick "internal storage" in twrp in step 2) But micro
sd is preferable.
Step 7: Wait. Your phone may take 20-30 or more minutes. So leave it on charging.
METHOD 2​Step 1: Download and Install all drivers given in download folder. Download RAW firmware for your phone. See above in download links.
Step 2: Install "ASUS FLASH TOOL"
Step 3: Go to fastboot/bootloader mode on your phone. Run asus flash tool, select your phone model and browse for the raw firmware. Check wipe all data. And start the process.
Step 4: Wait for program to say successful. If it takes more than 30 minutes. Disconnect your phone and check phone if rom installed or not.
If this process does not work. Then switch methods.
If you have any questions, problems .. Just Comment it.
Every Suggestion welcomed. Also you can join telegram group to get help and help others.
MOD EDIT: LINK REMOVED
If the guide works for you or you want to thank me for development of tools then you can donate me via
Paypal paypal.me/KapilTapsi (You can donate any amount, It will be of great help)
FAQ
1. Having problems with device connection? like waiting for device.
Sol. Make sure you have enabled USB Debugging (Not applicable for BL Unlocking and TWRP Flashing)
Uninstall all drivers previously installed on computer(every driver of any device)
Reboot your computer. And then install all drivers given in the driver folder.
If the problem persists, try different computer and different usb cable.
2. Facing permission denied in fastboot mode or while running script files.
Sol. Try disabling your lock screen security to none.
File Credits:
1. RealYoti
Would it not be easier to get the stock raw image and just flash it with the asus flash tool?
Sent from my ASUS_Z00A using Tapatalk
kenbo111 said:
Would it not be easier to get the stock raw image and just flash it with the asus flash tool?
Click to expand...
Click to collapse
Thanks for suggestion. But the reasons​ are
First thing is stock raw image of latest version is very difficult to find.
Second thing sometime asus flash tool stops responding. So you have to wait again for 30 minutes. Also it doesn't show progress sometimes.
Kapil Tapsi said:
Thanks for suggestion. But the reasons​ are
First thing is stock raw image of latest version is very difficult to find.
Second thing sometime asus flash tool stops responding. So you have to wait again for 30 minutes. Also it doesn't show progress sometimes.
Click to expand...
Click to collapse
No offense meant. But the entire collection of raw files are here: https://forum.xda-developers.com/showthread.php?t=3448966
As long as you have the correct drivers (which you need for your process too) the AFT will get the job done in one easy step.
Sent from my ASUS_Z00A using Tapatalk
kenbo111 said:
No offense meant. But the entire collection of raw files are here: https://forum.xda-developers.com/showthread.php?t=3448966
As long as you have the correct drivers (which you need for your process too) the AFT will get the job done in one easy step.
Click to expand...
Click to collapse
It is a guide only. Users are free to choose from where to download. Thats it. I only shared my collection.
E: footer wrong
E: footer wrong
Installation aborted
I need your help!
I follow the instructions in Method 1 but the device give me this error message when I try to update via SD-card...
May I know whats the solution?
Rom used: Fastboot Rom WW-4.21.40.327
Thank you very much!
kenbo111 said:
No offense meant. But the entire collection of raw files are here: https://forum.xda-developers.com/showthread.php?t=3448966
As long as you have the correct drivers (which you need for your process too) the AFT will get the job done in one easy step.
Sent from my ASUS_Z00A using Tapatalk
Click to expand...
Click to collapse
Thanks, finally got it
Hey...when I get to part 6 I get this Error >>
footer is wrong
signature verification failed
installation aborted
Hey..I also Tried Flashing with the method 2 it was installing but i got an error after
Man, this thread saved my ass. thank you for all your time all!
I have the Asus Zenfone 2 ZE551ML with sound issues, (it's only when the phone rings that the speaker works) and I put it into recovery mode to wipe cache/data, but it got stuck while doing that and I forced it off. But now, it's stuck at the Asus Boot logo with the rotating icon underneath.
Please help!!!!
Hello, my 551ml has stock LP, it's rooted with bootloader unlocked and Xposed installed. If I want to install the latest MM with through the raw flashing tool, should I install the MM bootloader first or it is included into the raw file? Thank
just trying to revert back to locked bootloader and stock recovery once I have wiped all data with twrp and go to bootloader how do I actually flash stock rom noob thanks
stevegtrlmk said:
just trying to revert back to locked bootloader and stock recovery once I have wiped all data with twrp and go to bootloader how do I actually flash stock rom noob thanks
Click to expand...
Click to collapse
use asus flash tool
damn my asus flash tool says error flashing image failure.... (remote not allowed to flash this partion)
ow btw i already bricked it cause it only does boot fastboot lol no more android
how do i flash it back again i need to send the phone back to amazon by 18/05 lol i mean i can just send it back and say also that it wouldnt boot cause i tried to reset it to get my touchscreen to work but yeah lol dont want them to refuse my retour
No way to simple flash the stock rom through/keeping twrp in the device, like I do with other Custom Roms?
Ok. humm, in AFT, it recognize my phone. (there is no OS on it), i choose the good model, i choose the good firmware, but i got this error in a box
"Can't open file 'SERIALNUMBER_frp_request_server_log.txt' (error 5:denied access)" i can only press OK
and now the button under "state" is red and under description, it's " check the detected serial number failure (not found the device of "SERIALNUMBER") "
you understand the i've replace the real serial number by SERIALNUMBER in those lines.
Anyone ever had this problem?
euphrodil said:
Ok. humm, in AFT, it recognize my phone. (there is no OS on it), i choose the good model, i choose the good firmware, but i got this error in a box
"Can't open file 'SERIALNUMBER_frp_request_server_log.txt' (error 5:denied access)" i can only press OK
and now the button under "state" is red and under description, it's " check the detected serial number failure (not found the device of "SERIALNUMBER") "
you understand the i've replace the real serial number by SERIALNUMBER in those lines.
Anyone ever had this problem?
Click to expand...
Click to collapse
Try manual flashing then. Not the aft flashing
Sent from my MI MAX 2 using Tapatalk
Kapil Tapsi said:
Try manual flashing then. Not the aft flashing
Sent from my MI MAX 2 using Tapatalk
Click to expand...
Click to collapse
Ok thanks, i'll look for a thread that explain this.
euphrodil said:
Ok thanks, i'll look for a thread that explain this.
Click to expand...
Click to collapse
did you find any?
i want to remove the lineageos and install latest stock LP but i have no clue how to do it

Bootloop at reboot when i try to root on android pie

Hi, i'm trying to root my Xiaomi Mi A1 after updating it by OTA and I always get a bootloop on the android one screen.
I explain a little what I did, I had xposed and root on 8.1 with magisk, uninstalled them correctly, and then update to android 9.
Now, with the version 10.0.5.0.PDHMIXM of february, I tried to patch the boot.img from Magisk and then load it both from fastboot, as well as load trough the recovery of twrp, but the same result always happens, when reboot it stays in bootloop and I have I put back the stock boot.img unouching.
Also, in the status of the safety net looked at magisk I get ctsProfile: false, I do not know if it will have something to do
Can someone please help me root the phone?
Need some help, please
Hello.
Let's go.
If it's bootlooped do the next:
1. Download official latest ROM from this Mi site https://en.miui.com/download-333.html by clicking on green tab. After downloading finished, must twice extraxt it till have some yellow folder.
Download and install MFT from this link http://api.bbs.miui.com/url/MiFlash
2. Press&Hold Vol- button till phone goes to bootloader FASTBOOT mode
3. In opened "cmd/adb" on Your PC type "fastboot devices" to verify your phone
4. Check for bootloader is unlocked with "fastboot oem unlock". If it's unlocked You'll get a message "Your b/l is allredy unlocked", if not, Your phone will reboot and must quickly press&hold Vol- button to boot again in to FASTBOOT mode
5. When phone is connected in f/b mode type "fastboot oem edl" and wait Your phone reboot to EDL mode (black screen on display wit LED rapidly blinking)
6. Start Mi Flash Tool and do Refresh button to connect with the phone, click "select" button to navigate to the ROM folder from point 1. and check "save user data" on the bottom right (or check "clean all", as You wish)
7. After all, click "flash" button and be patient for a couple of a minutes when phone flashing. After a good yob you'll get a green colored message "success" to the right side of a MFT window.
8. That's it. Long press Power button on phone and wait till vibrate. Release it and boot to system. Let it update to February update and then do the steps from post "[GUIDE] Rooting Mi A1 without TWRP"
Enjoy!
P.S. Your BootLoader remains unlocked with options selected from point 6. but apps and system will be wiped out! Selecting on own risk!
zorzgeo said:
Hello.
Let's go.
If it's bootlooped do the next:
1. Download official latest ROM from this Mi site https://en.miui.com/download-333.html by clicking on green tab. After downloading finished, must twice extraxt it till have some yellow folder.
Download and install MFT from this link http://api.bbs.miui.com/url/MiFlash
2. Press&Hold Vol- button till phone goes to bootloader FASTBOOT mode
3. In opened "cmd/adb" on Your PC type "fastboot devices" to verify your phone
4. Check for bootloader is unlocked with "fastboot oem unlock". If it's unlocked You'll get a message "Your b/l is allredy unlocked", if not, Your phone will reboot and must quickly press&hold Vol- button to boot again in to FASTBOOT mode
5. When phone is connected in f/b mode type "fastboot oem edl" and wait Your phone reboot to EDL mode (black screen on display wit LED rapidly blinking)
6. Start Mi Flash Tool and do Refresh button to connect with the phone, click "select" button to navigate to the ROM folder from point 1. and check "save user data" on the bottom right (or check "clean all", as You wish)
7. After all, click "flash" button and be patient for a couple of a minutes when phone flashing. After a good yob you'll get a green colored message "success" to the right side of a MFT window.
8. That's it. Long press Power button on phone and wait till vibrate. Release it and boot to system. Let it update to February update and then do the steps from post "[GUIDE] Rooting Mi A1 without TWRP"
Enjoy!
P.S. Your BootLoader remains unlocked with options selected from point 6. but apps and system will be wiped out! Selecting on own risk!
Click to expand...
Click to collapse
First for clearence, my phone its unlocked because im was get root previously.
Im try to do all, but only got this log in XFT:
Code:
[0,02 COM8]:[COM8]:start flash.
[2,08 COM8]:cannot receive hello packet,MiFlash is trying to reset status!
[4,58 COM8]:cannot receive hello packet,MiFlash is trying to reset status!
[7,09 COM8]:try to reset status.
[7,09 COM8]:Switch mode back
[7,09 COM8]:cannot receive hello packet,MiFlash is trying to reset status!
[7,09 COM8]: Object reference not set as an instance of an object.
I'm on 10.5 february patch and in the official website the last version is 10.4 january patch, can this is the problem?
Thanks for your help
Did adb or fastboot commands recognise Your phone?
I am thinking Your phone isn't recognised by system/phone drivers damaged!
Sent from my Mi A1 using Tapatalk
zorzgeo said:
Did adb or fastboot commands recognise Your phone?
I am thinking Your phone isn't recognised by system/phone drivers damaged!
Sent from my Mi A1 using Tapatalk
Click to expand...
Click to collapse
That's it, my drivers are dysfunctional, reinstall them i can root finally my phone.
Really thanks zorzego
zorzgeo said:
Hello.
Let's go.
If it's bootlooped do the next:
1. Download official latest ROM from this Mi site https://en.miui.com/download-333.html by clicking on green tab. After downloading finished, must twice extraxt it till have some yellow folder.
Download and install MFT from this link http://api.bbs.miui.com/url/MiFlash
2. Press&Hold Vol- button till phone goes to bootloader FASTBOOT mode
3. In opened "cmd/adb" on Your PC type "fastboot devices" to verify your phone
4. Check for bootloader is unlocked with "fastboot oem unlock". If it's unlocked You'll get a message "Your b/l is allredy unlocked", if not, Your phone will reboot and must quickly press&hold Vol- button to boot again in to FASTBOOT mode
5. When phone is connected in f/b mode type "fastboot oem edl" and wait Your phone reboot to EDL mode (black screen on display wit LED rapidly blinking)
6. Start Mi Flash Tool and do Refresh button to connect with the phone, click "select" button to navigate to the ROM folder from point 1. and check "save user data" on the bottom right (or check "clean all", as You wish)
7. After all, click "flash" button and be patient for a couple of a minutes when phone flashing. After a good yob you'll get a green colored message "success" to the right side of a MFT window.
8. That's it. Long press Power button on phone and wait till vibrate. Release it and boot to system. Let it update to February update and then do the steps from post "[GUIDE] Rooting Mi A1 without TWRP"
Enjoy!
P.S. Your BootLoader remains unlocked with options selected from point 6. but apps and system will be wiped out! Selecting on own risk!
Click to expand...
Click to collapse
What's that EDL mode & why it's necesary to go into that EDL mode before flashing STOCK ROM? I've done flashing stock rom in MiA1 Oreo but never heard of that step (entering EDL mode) so asking. Is that something new that needs to be done nw for & from Pie update? Someone kindly explain
Warft said:
Hi, i'm trying to root my Xiaomi Mi A1 after updating it by OTA and I always get a bootloop on the android one screen.
I explain a little what I did, I had xposed and root on 8.1 with magisk, uninstalled them correctly, and then update to android 9.
Now, with the version 10.0.5.0.PDHMIXM of february, I tried to patch the boot.img from Magisk and then load it both from fastboot, as well as load trough the recovery of twrp, but the same result always happens, when reboot it stays in bootloop and I have I put back the stock boot.img unouching.
Also, in the status of the safety net looked at magisk I get ctsProfile: false, I do not know if it will have something to do
Can someone please help me root the phone?
Click to expand...
Click to collapse
My friend, do this to repair Bata cellphone, ... 1. enter fastboot mode and unlock oem and do twrp.img boot 2. after you enter twrp, install TWRP installer and install ROM via twrp (android version 5 rom 9, the official version is 4 which can be flashed via miflash tools). Then reboot the system and enjoy ... if you want to root do install magisk via twrp recovery ... give your answer after trying this. Very happy to help later.
.
My friend, do this to repair Bata cellphone, ... 1. enter fastboot mode and unlock oem and do twrp.img boot 2. after you enter twrp, install TWRP installer and install ROM via twrp (android version 5 rom 9, the official version is 4 which can be flashed via miflash tools). Then reboot the system and enjoy ... if you want to root do install magisk via twrp recovery ... give your answer after trying this. Very happy to help later.

Categories

Resources