Related
My XT1521 is stuck at Fastboot, after trying to install last night's OTA update. The Bootloader Logs screen says "failed to validate system image" followed by "Boot up failed".
All of my important data is backed up. I don't care about preserving any data on the phone; I just want to get it working again.
The attached photo shows what I can see.
After connecting the USB cable, "fastboot devices" returns TA38502SB6 fastboot
Is this something I can fix myself, with appropriate software? Will I need to approach Motorola? Is it beyond help?
Flash the twrp recovery using fastboot, install a rom and the squid kernel. The Rom is pretty stable now..
---------- Post added at 09:05 PM ---------- Previous post was at 08:33 PM ----------
Or else you can download the stock Rom
http://motofirmware.center/files/fi...2_lxi2250-531_cid7_subsidy-default_cfcxmlzip/
And the guide is : http://forum.xda-developers.com/mot...e-restore-moto-e-2015-stock-firmware-t3044936
rushabshah32 said:
Flash the twrp recovery using fastboot, install a rom and the squid kernel. The Rom is pretty stable now..
---------- Post added at 09:05 PM ---------- Previous post was at 08:33 PM ----------
Or else you can download the stock Rom
http://motofirmware.center/files/fi...2_lxi2250-531_cid7_subsidy-default_cfcxmlzip/
And the guide is : http://forum.xda-developers.com/mot...e-restore-moto-e-2015-stock-firmware-t3044936
Click to expand...
Click to collapse
Those look very useful, thank you. Gives me something to do this evening!
Loganberry said:
My XT1521 is stuck at Fastboot, after trying to install last night's OTA update.
Click to expand...
Click to collapse
Was it the stock 5.1 update???
Software status: modified
How did you get the OTA update and what did you do previously ?
Recovery log says you had a modified software. So there was no hope to apply patch properly. And it bricked your system
rushabshah32 said:
Was it the stock 5.1 update???
Click to expand...
Click to collapse
Not sure. It was only around 20-30MB or so; can't remember the exact size.
PsyClip-R said:
How did you get the OTA update and what did you do previously ?
Recovery log says you had a modified software. So there was no hope to apply patch properly. And it bricked your system
Click to expand...
Click to collapse
OTA update was advertised through the normal Motorola OTA feature. All I did was to tap on "Yes, I'm in" to accept it when it was offered.
If my phone's ruined, then it's ruined. Irritating, but not the end of the world; a new Moto E2 isn't expensive. I'd just prefer not to have to buy a new one if there's any hope of resurrecting this one. As I indicated in my first post, the important data is safe; I just want a working phone again.
Edit: just re-read your question; realised I might have misunderstood part of it.
My phone had previously been rooted; before accepting the OTA update I went through the steps to unroot the phone before taking the OTA update; looks like something went wrong somewhere along the way.
Loganberry said:
My XT1521 is stuck at Fastboot, after trying to install last night's OTA update. The Bootloader Logs screen says "failed to validate system image" followed by "Boot up failed".
All of my important data is backed up. I don't care about preserving any data on the phone; I just want to get it working again.
The attached photo shows what I can see.
After connecting the USB cable, "fastboot devices" returns TA38502SB6 fastboot
Is this something I can fix myself, with appropriate software? Will I need to approach Motorola? Is it beyond help?
Click to expand...
Click to collapse
i got the update yesterday too on my X1521 but it was working fine.after immediate reboot it was lagging like hell but rebooting solved it
Guys don't panic. What I would do is unlock the bootloader and flash TWRP, after that just download any custom ROM and TWRP lets you get on MTP so you can transfer the ROM to the internal storage.
---------- Post added at 06:58 PM ---------- Previous post was at 06:57 PM ----------
Also there's plenty of stock ROMS out there like SuperR's Stock Roms
I have a similar issue, I just accepted the OTA update from Motorola on my XT1511(otus), It was stock/rooted. The phone went into boot loop. Tried these things to remedy
1) tried booting to TWRP from fastboot. I'd get the TWRP splash screen, but no functionality
2)flashed TWRP - now have functioning recovery, but during rom flash get "error, cant mount /data
3)fastboot -w successfully wiped data, but couldn't format partition, still raw
4)From twrp "mount" screen couldn't check the box for mounting data
5)from twrp wipe>format data was able to format the partition
6) I've flashed a couple of twrp recovery images, and a couple of different roms, I don't get error messages, but now when the phone is powered on it always boots into recovery, even when reboot>system or reboot power off is selected. I can still access fast boot.
Any suggestions? I'm going to try returning to stock at this point'
Update: Downloaded stock recovery here:
http://forum.xda-developers.com/devdb/project/dl/?id=11977
Installed with fastboot, phone boots properly now!
Hello,
I installed the beta cyanogenmod 13.0 for my Honor 5x about a month ago. I saw that recently a version was released with the fingerprint sensor functionality, but it required you to go back to stock and update to emui 4/MM. So, put the dload folder for the Emui 4.0 stock on my sdcard card, booted into bootloader, and flashed the old recovery. Now, when I boot my phone, it is stuck on the splash screen. I can go back into the bootloader and use fastboot commands, but nothing else. Help?
Edit: I tried flashing all of the recoveries for the KIW-L24, none changed anything, except the newest one caused the splash screen to go away after a few seconds, and a blue LED to appear.
arbazcpp said:
Hello,
I installed the beta cyanogenmod 13.0 for my Honor 5x about a month ago. I saw that recently a version was released with the fingerprint sensor functionality, but it required you to go back to stock and update to emui 4/MM. So, put the dload folder for the Emui 4.0 stock on my sdcard card, booted into bootloader, and flashed the old recovery. Now, when I boot my phone, it is stuck on the splash screen. I can go back into the bootloader and use fastboot commands, but nothing else. Help?
Edit: I tried flashing all of the recoveries for the KIW-L24, none changed anything, except the newest one caused the splash screen to go away after a few seconds, and a blue LED to appear.
Click to expand...
Click to collapse
Boot the phone with power + volume up + volume down
When the the first honor screen comes up let go of power and hold the other two untill the update starts
Sent from my SM-N920T using Tapatalk
clsA said:
Boot the phone with power + volume up + volume down
When the the first honor screen comes up let go of power and hold the other two untill the update starts
Sent from my SM-N920T using Tapatalk
Click to expand...
Click to collapse
I have done that but my phone continues to stay on the honor splash screen. I can only go into the fastboot/rescue mode by holding volume down and power.
I tried the steps on this post, but it changed nothing: http://forum.xda-developers.com/honor-5x/help/bricked-honor-5x-t3328308/post65659088#post65659088
arbazcpp said:
I have done that but my phone continues to stay on the honor splash screen. I can only go into the fastboot/rescue mode by holding volume down and power.
I tried the steps on this post, but it changed nothing: http://forum.xda-developers.com/honor-5x/help/bricked-honor-5x-t3328308/post65659088#post65659088
Click to expand...
Click to collapse
flashing the partitions with fastboot is not needed with your phone.
The dload/update.app works, just be patient and follow the instructions I posted.
If you need to restore to Stock B151 use this TWRP backup >> https://www.androidfilehost.com/?fid=24588232905720643
You also need this version of TWRP to restore it >> https://www.androidfilehost.com/?fid=24545070682210514
Fastboot flash TWRP
in TWRP go to backup and check only boot.img > make the backup
now extract the b151 backup to your PC and copy it to the phone
their will be a directory named TWRP/BACKUPS/yourserialnumber/put the backup here
Now in TWRP choose Restore choose the backup you just copied over and be sure all the boxes are checked for restore
swipe to restore
be sure B331 dload/update.app are on the sdcard
In TWRP choose Reboot / Power Off
unplug the usb
hold power + volume up + volume down
when you see the first honor screen let go of power and hold the volume buttons till the update starts (be patient it takes a while)
EMUI recovery will load and do the update when it reboots your done
I had the same issue in the same scenario you described. It happened to me because my SD card was almost full. I'm guessing the Update file has to decompress and there was inadequate space available to complete the operation. When I switched to a clean SD card to run the update, it completed successfully. Hope this helps you!
I also had similiar issue, however the latest recovery from Huawei stopped at 5% and didn't complete. I flashed the recovery from B151 and ran the update again from the SD card and it worked.
remember you need spare space on the device for the update process! Keep around a gig free on whatever storage device you use for the procedure (internal or external SD)
Dead_Dude said:
remember you need spare space on the device for the update process! Keep around a gig free on whatever storage device you use for the procedure (internal or external SD)
Click to expand...
Click to collapse
Really good advice about the additional space need and thanks for pointing it out.
Help
Hello i also have a problem, my kiw l24 is stuck in the emui screen, it goes on then goes off then on again into the emui screen where it only requests for factory reset and the twrp is no longer there that was there so i dont know how i can be able to install another rom or take it back to stock cause theres no twrp now...please help me Help
Milupi said:
Hello i also have a problem, my kiw l24 is stuck in the emui screen, it goes on then goes off then on again into the emui screen where it only requests for factory reset and the twrp is no longer there that was there so i dont know how i can be able to install another rom or take it back to stock cause theres no twrp now...please help me Help
Click to expand...
Click to collapse
Download the latest firmware for your phone, extract it to get update.app, use Huawei update extractor to extract stock recovery.img from update.app
Flash recovery.img in bootloader mode(the same way you flashed twrp).
Copy update.app to a folder named dload in your SD card. Turn off the phone and press and hold power, Vol up, Vol down until a reboot. Let go of power after reboot but keep other two pressed for five, six sec more.
Still Failing
muradulislam said:
Download the latest firmware for your phone, extract it to get update.app, use Huawei update extractor to extract stock recovery.img from update.app
Flash recovery.img in bootloader mode(the same way you flashed twrp).
Copy update.app to a folder named dload in your SD card. Turn off the phone and press and hold power, Vol up, Vol down until a reboot. Let go of power after reboot but keep other two pressed for five, six sec more.
Click to expand...
Click to collapse
I managed to flash back twrp and when i press and hold power and vol buttons it takes me back to twrp screen and not update screen...if i download a twrp backup for my phone and restore it using twrp can it work then??
Milupi said:
I managed to flash back twrp and when i press and hold power and vol buttons it takes me back to twrp screen and not update screen...if i download a twrp backup for my phone and restore it using twrp can it work then??
Click to expand...
Click to collapse
Yep, it should work. But best way is to install official firmware yourself. It's not so difficult as you are already familiar with flashing images.
---------- Post added at 12:04 PM ---------- Previous post was at 11:59 AM ----------
Milupi said:
I managed to flash back twrp and when i press and hold power and vol buttons it takes me back to twrp screen and not update screen...if i download a twrp backup for my phone and restore it using twrp can it work then??
Click to expand...
Click to collapse
Power + vol up always takes you to recovery, right now you have twrp recovery so you are booting into it.
If you flash stock recovery then it will take you to stock recovery.
Best method is as I said, flash stock recovery, update using three button method.
Flashing a twrp backup is a solution but not the first recommended one.
muradulislam said:
Yep, it should work. But best way is to install official firmware yourself. It's not so difficult as you are already familiar with flashing images.
---------- Post added at 12:04 PM ---------- Previous post was at 11:59 AM ----------
Power + vol up always takes you to recovery, right now you have twrp recovery so you are booting into it.
If you flash stock recovery then it will take you to stock recovery.
Best method is as I said, flash stock recovery, update using three button method.
Flashing a twrp backup is a solution but not the first recommended one.
Click to expand...
Click to collapse
ok i managed to take it back to stock rom after using a twrp backup i downloaded here...Thank you very much for your help
First copy the dload to your memory card with update.app. Then Flush Stock recovery and power off or reboot while pressing both volume button.
The installing automatically starts. I have done this 3-4 times.
---------- Post added at 08:16 PM ---------- Previous post was at 08:13 PM ----------
while porting CM13, I got message Patching system image unconditionally while installing.
And Phone stuck in the boot loop of CM13 logo and restarts every time.
I have installed CM13 previously, it worked fine. But now I am unable to port it.
[email protected] said:
First copy the dload to your memory card with update.app. Then Flush Stock recovery and power off or reboot while pressing both volume button.
The installing automatically starts. I have done this 3-4 times.
---------- Post added at 08:16 PM ---------- Previous post was at 08:13 PM ----------
while porting CM13, I got message Patching system image unconditionally while installing.
And Phone stuck in the boot loop of CM13 logo and restarts every time.
I have installed CM13 previously, it worked fine. But now I am unable to port it.
Click to expand...
Click to collapse
@[email protected] This doesn't always work! I am a veteran at flashing phones. New to the Honor 5X, but I have done my fair share of flashing to understand what is happening a little bit behind the scenes. I flashed Cosmic OS but decided to return to stock for the camera app. Like an idiot, I did not make a TWRP backup of my stock image. I flashed stock recovery and tried to Force Update the B331 UPDATE.APP and it hangs at 5% just like another user here. Going to restore a TWRP backup to see if that is more successful for my situation.
Set sdcard as default storage
hello,
I have tried almost all the methods told in the conversation but i could not install the stock ROM.
I always shows software Update fail and forces to power down the phone . My phone is Honor 5X KIW-L22
Please help me on this Issue.
I have also tried to install the ROMs But it stucks after the initial Loading.
Bootloop after flashing any compatible rom
Flashing any custom rom in kiwi l22 , it always bootloops. What to do. I want to flash new rom but always bootloops. How to fix it.
alonevish6368 said:
Flashing any custom rom in kiwi l22 , it always bootloops. What to do. I want to flash new rom but always bootloops. How to fix it.
Click to expand...
Click to collapse
Are you on a volte rom? If yes you need to downgrade.
alonevish6368 said:
Flashing any custom rom in kiwi l22 , it always bootloops. What to do. I want to flash new rom but always bootloops. How to fix it.
Click to expand...
Click to collapse
Can we know ur build number?
Like other curious 6P users, I flashed the "full ota" zip to check out Nougat. Then I tried to restore my nandroid for Dirty Unicorns, and apparently TWRP 3.0.2-1 had a fatal flaw that borked the EFS backup. I tried literally everything I could think of, until I saw the process @be_vigilant did to revive his phone. I'm going to be using his process as the base for the guide, as well as linking you to my nandroid that has now helped two other people revive their device.
What you need:
*MMB29P factory image (although MTC20F also worked for someone).
Direct download link: https://dl.google.com/dl/android/aosp/angler-mmb29m-factory-616cf265.zip
*My nandroid backup (its stock MMB29P, decrypted and rooted)
https://www.androidfilehost.com/?fid=24686679545612465
*TWRP recovery image (3.0.2-0 or one of the newer builds that fixed the EFS stuff)
https://dl.twrp.me/angler/
*Android SDK or at least platform-tools (for fastboot, adb, etc)
The Process:
1. Extract the factory image into the location where you have fastboot.exe (mine is C:\Android\sdk\platform-tools)
2. Extract the nandroid backup - doesn't matter where, I'll explain later
3. Make sure you are in bootloader mode, and run flash-all.bat from the factory image
4. Flash TWRP (fastboot flash recovery twrprecovery.img)
5. Boot into TWRP, and make a new nandroid backup. This step is just to create the TWRP backup folder on your device
6. Now go to wipe, advanced wipe, click on each partition one at a time, choose "Repair or Change File System", then select "Repair File System" - do this for dalvik/art, system, data, internal storage, and cache. It may not work for all of them, but its ok.
***you must mount data again in TWRP after doing this, or you will not be able to see anything***
7. Copy & paste my nandroid onto your device in the correct location (sdcard/TWRP/BACKUPS/XXXXXX)
8. Restore my nandroid and try to boot.
9. If it still does not boot at this point, then you need to run these adb commands (while in TWRP) that @bogomil4e kindly reported to wipe the EFS partitions
adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384 -and-
adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384
Now you should be able to boot up and do anything you want again. Please do not mirror my nandroid or take advantage of it - I am making it available only for people to utilize as a way to unbrick their phone!
Thanks Train, I would been lost. I replied to you gplus posting. Really appreciative for your work on this post. Thanks dude.
Ash
Bump
Sent from my Nexus 6P using Tapatalk
Double Bump
Sent from my SGP621 using XDA-Developers mobile app
This needs to be pinned!
Sent from my Nexus 6 using XDA Labs
I just used this and was able to get my Nexus 6P back up with your nandroid. I should not be able to use fastboot flash correct to get a full google stock?
pctechdroid said:
I just used this and was able to get my Nexus 6P back up with your nandroid. I should not be able to use fastboot flash correct to get a full google stock?
Click to expand...
Click to collapse
Yes you should be able to... Or just unroot so that the OTA will work.
Sent from my Nexus 6P using Tapatalk
Train88 said:
Like other curious 6P users, I flashed the "full ota" zip to check out Nougat. Then I tried to restore my nandroid for Dirty Unicorns, and apparently TWRP 3.0.2-1 had a fatal flaw that borked the EFS backup. I tried literally everything I could think of, until I saw the process @be_vigilant did to revive his phone. I'm going to be using his process as the base for the guide, as well as linking you to my nandroid that has now helped two other people revive their device.
What you need:
*MMB29P factory image (although MTC20F also worked for someone).
Direct download link: https://dl.google.com/dl/android/aosp/angler-mmb29m-factory-616cf265.zip
*My nandroid backup (its stock MMB29P, decrypted and rooted)
https://www.androidfilehost.com/?fid=24686679545612465
*TWRP recovery image (3.0.2-0 or one of the newer builds that fixed the EFS stuff)
https://dl.twrp.me/angler/
*Android SDK or at least platform-tools (for fastboot, adb, etc)
The Process:
1. Extract the factory image into the location where you have fastboot.exe (mine is C:\Android\sdk\platform-tools)
2. Extract the nandroid backup - doesn't matter where, I'll explain later
3. Make sure you are in bootloader mode, and run flash-all.bat from the factory image
4. Flash TWRP (fastboot flash recovery twrprecovery.img)
5. Boot into TWRP, and make a new nandroid backup. This step is just to create the TWRP backup folder on your device
6. Now go to wipe, advanced wipe, click on each partition one at a time, choose "Repair or Change File System", then select "Repair File System" - do this for dalvik/art, system, data, internal storage, and cache. It may not work for all of them, but its ok.
***you must mount data again in TWRP after doing this, or you will not be able to see anything***
7. Copy & paste my nandroid onto your device in the correct location (sdcard/TWRP/BACKUPS/XXXXXX)
8. Restore my nandroid and try to boot.
9. If it still does not boot at this point, then you need to run these adb commands (while in TWRP) that @bogomil4e kindly reported to wipe the EFS partitions
adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384 -and-
adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384
Now you should be able to boot up and do anything you want again. Please do not mirror my nandroid or take advantage of it - I am making it available only for people to utilize as a way to unbrick their phone!
Click to expand...
Click to collapse
Dude. I don't know what to say. I really thought I lost my nexus 6p. But your tutorial worked like a charm. Thank you so much for sharing your nandroid and writing up an amazing tutorial!!! This seriously needs to get pinned!!????✌?
Sent from my ONE A2003 using Tapatalk
---------- Post added at 05:22 PM ---------- Previous post was at 05:17 PM ----------
BTW, I also was on MTC20F. Your nandroid booted the device. But I had to clean install MTC20F again so that the WiFi and sim started to work. Might come handy for some people... ??
Sent from my ONE A2003 using Tapatalk
im_Zak said:
Dude. I don't know what to say. I really thought I lost my nexus 6p. But your tutorial worked like a charm. Thank you so much for sharing your nandroid and writing up an amazing tutorial!!! This seriously needs to get pinned!!????✌?
Sent from my ONE A2003 using Tapatalk
---------- Post added at 05:22 PM ---------- Previous post was at 05:17 PM ----------
BTW, I also was on MTC20F. Your nandroid booted the device. But I had to clean install MTC20F again so that the WiFi and sim started to work. Might come handy for some people... ??
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
I'm glad I could help! Thanks for the extra info! ?
Sent from my Nexus 6P using Tapatalk
I have a similar issue, any advice on this... Updated to PureNexus Nougat fine, but even before that I had realized that my phone was not being detected through USB, no fastboot, recovery, nothing. So I flashed through TWRP to the current PureNexus Nougat build. All went good, except I now realized that the version of TWRP I have must be one with bugs on Nougat. Booting into recovery it just sits at the TWRP loading screen forever.
I can't get ADB through USB, can't get into Recovery, and Fastboot wont connect on USB. I can boot into the ROM just fine (not rooted) and can do ADB w/ wifi when booted up in Android.
Any ideas on how to fix my recovery and/or flash anything at all at this point? I am almost feeling like there must be something wrong with the actual usb-c port, but charging works fine, just no data connection at all (tried any different cables, Windows, Mac, different usb ports).
Is debugging on in your developer options.
Sent from my ONE A2003 using Tapatalk
Lacrosse200760 said:
I have a similar issue, any advice on this... Updated to PureNexus Nougat fine, but even before that I had realized that my phone was not being detected through USB, no fastboot, recovery, nothing. So I flashed through TWRP to the current PureNexus Nougat build. All went good, except I now realized that the version of TWRP I have must be one with bugs on Nougat. Booting into recovery it just sits at the TWRP loading screen forever.
I can't get ADB through USB, can't get into Recovery, and Fastboot wont connect on USB. I can boot into the ROM just fine (not rooted) and can do ADB w/ wifi when booted up in Android.
Any ideas on how to fix my recovery and/or flash anything at all at this point? I am almost feeling like there must be something wrong with the actual usb-c port, but charging works fine, just no data connection at all (tried any different cables, Windows, Mac, different usb ports).
Click to expand...
Click to collapse
What Zak said - you are not even in the same boat as the people that need this guide. You can get it to boot. I could not do anything besides go to fastboot(download mode) when I made this
Sent from my Nexus 6P using Tapatalk
Lacrosse200760 said:
I have a similar issue, any advice on this... Updated to PureNexus Nougat fine, but even before that I had realized that my phone was not being detected through USB, no fastboot, recovery, nothing. So I flashed through TWRP to the current PureNexus Nougat build. All went good, except I now realized that the version of TWRP I have must be one with bugs on Nougat. Booting into recovery it just sits at the TWRP loading screen forever.
I can't get ADB through USB, can't get into Recovery, and Fastboot wont connect on USB. I can boot into the ROM just fine (not rooted) and can do ADB w/ wifi when booted up in Android.
Any ideas on how to fix my recovery and/or flash anything at all at this point? I am almost feeling like there must be something wrong with the actual usb-c port, but charging works fine, just no data connection at all (tried any different cables, Windows, Mac, different usb ports).
Click to expand...
Click to collapse
You can flash recovery from phone terminal, Google the commands. You need root though, install super su from playstore. Otherwise you'll need to fix that adb issue.
djdarkknight96 said:
You can flash recovery from phone terminal, Google the commands. You need root though, install super su from playstore. Otherwise you'll need to fix that adb issue.
Click to expand...
Click to collapse
Installing SuperSU from playstore wont actually give me Root though. I like the idea though, maybe there is something that can be done around this.
Lacrosse200760 said:
Installing SuperSU from playstore wont actually give me Root though. I like the idea though, maybe there is something that can be done around this.
Click to expand...
Click to collapse
Flash recovery through adb or android terminal, download the superSU zip, flash the zip in recovery. If you're having trouble getting recovery to stick, you need to flash the superSU zip immediately after you flash recovery. If you boot before doing that, android will try overwrite the custom recovery on boot
Sent from my Nexus 6P using Tapatalk
Train88 said:
Flash recovery through adb or android terminal, download the superSU zip, flash the zip in recovery. If you're having trouble getting recovery to stick, you need to flash the superSU zip immediately after you flash recovery. If you boot before doing that, android will try overwrite the custom recovery on boot
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Doesn't flashing recovery through adb require root? (only have adb wifi access when phone is booted into ROM)
Lacrosse200760 said:
Doesn't flashing recovery through adb require root? (only have adb wifi access when phone is booted into ROM)
Click to expand...
Click to collapse
No you don't need root to flash in adb. Just an unlocked bootloader
Sent from my Nexus 6P using Tapatalk
Lacrosse200760 said:
Doesn't flashing recovery through adb require root? (only have adb wifi access when phone is booted into ROM)
Click to expand...
Click to collapse
Train88 said:
No you don't need root to flash in adb. Just an unlocked bootloader
Click to expand...
Click to collapse
I have been very lucky to not have to remember but Train is correct. You should be able to push recovery via adb Wi-Fi. I forget root isn't needed to replace it, like Train said. "Kinda talking to myself as a reminder lol"
Train88 said:
Like other curious 6P users, I flashed the "full ota" zip to check out Nougat. Then I tried to restore my nandroid for Dirty Unicorns, and apparently TWRP 3.0.2-1 had a fatal flaw that borked the EFS backup. I tried literally everything I could think of, until I saw the process @be_vigilant did to revive his phone. I'm going to be using his process as the base for the guide, as well as linking you to my nandroid that has now helped two other people revive their device.
What you need:
*MMB29P factory image (although MTC20F also worked for someone).
Direct download link: https://dl.google.com/dl/android/aosp/angler-mmb29m-factory-616cf265.zip
*My nandroid backup (its stock MMB29P, decrypted and rooted)
https://www.androidfilehost.com/?fid=24686679545612465
*TWRP recovery image (3.0.2-0 or one of the newer builds that fixed the EFS stuff)
https://dl.twrp.me/angler/
*Android SDK or at least platform-tools (for fastboot, adb, etc)
The Process:
1. Extract the factory image into the location where you have fastboot.exe (mine is C:\Android\sdk\platform-tools)
2. Extract the nandroid backup - doesn't matter where, I'll explain later
3. Make sure you are in bootloader mode, and run flash-all.bat from the factory image
4. Flash TWRP (fastboot flash recovery twrprecovery.img)
5. Boot into TWRP, and make a new nandroid backup. This step is just to create the TWRP backup folder on your device
6. Now go to wipe, advanced wipe, click on each partition one at a time, choose "Repair or Change File System", then select "Repair File System" - do this for dalvik/art, system, data, internal storage, and cache. It may not work for all of them, but its ok.
***you must mount data again in TWRP after doing this, or you will not be able to see anything***
7. Copy & paste my nandroid onto your device in the correct location (sdcard/TWRP/BACKUPS/XXXXXX)
8. Restore my nandroid and try to boot.
9. If it still does not boot at this point, then you need to run these adb commands (while in TWRP) that @bogomil4e kindly reported to wipe the EFS partitions
adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst1 bs=16384 -and-
adb shell dd if=/dev/zero of=/dev/block/platform/soc.0/f9824900.sdhci/by-name/modemst2 bs=16384
Now you should be able to boot up and do anything you want again. Please do not mirror my nandroid or take advantage of it - I am making it available only for people to utilize as a way to unbrick their phone!
Click to expand...
Click to collapse
Followed Your guide
at first, I couldn't repair the data partition. Then I formatted the whole device again and was able to repair data partition. But when I go to restore your backup, boot flashes fine but when it says flashing data, TWRP hangs and it reboots into the google splash logo screen.
TJ_bab said:
Followed Your guide
at first, I couldn't repair the data partition. Then I formatted the whole device again and was able to repair data partition. But when I go to restore your backup, boot flashes fine but when it says flashing data, TWRP hangs and it reboots into the google splash logo screen.
Click to expand...
Click to collapse
It could be due to the storage option my 6P has (128 GB)... Try restoring everything but data. But essentially, it's the efs backup that you need if your issue was created by a bad backup from TWRP 3.0.2-1.
Sent from my Nexus 6P using Tapatalk
i have tried to install twrp. I have do the all what the intructions says. I get into twrp but when i boot my device again and tried to go twrp it goes to xiaomi recovery. My twrp gets overwritten by stock recovery on redmi 5. What i can do?
Which command line are you using?
Aleksiton said:
i have tried to install twrp. I have do the all what the intructions says. I get into twrp but when i boot my device again and tried to go twrp it goes to xiaomi recovery. My twrp gets overwritten by stock recovery on redmi 5. What i can do?
Click to expand...
Click to collapse
Code:
fastboot flash recovery *twrp image name*
should allow you to write twrp to your flash partition.
If you're using
Code:
fastboot boot *twrp image name*
it just loads twrp for that instance.
On a sidenote, what are your plans with TWRP? MIUI has an issue that twrp asks for password when starting. If you want to root, you're better off loading it for single instance, installing magisk.
himodyuti said:
Code:
fastboot flash recovery *twrp image name*
should allow you to write twrp to your flash partition.
If you're using
Code:
fastboot boot *twrp image name*
it just loads twrp for that instance.
On a sidenote, what are your plans with TWRP? MIUI has an issue that twrp asks for password when starting. If you want to root, you're better off loading it for single instance, installing magisk.
Click to expand...
Click to collapse
I use "fastboot flash recovery twrp image name". I planning to instal pixel experience rom on my phone. I have read that your phone doesn't need to root. am i righ?
himodyuti said:
Code:
fastboot flash recovery *twrp image name*
should allow you to write twrp to your flash partition.
If you're using
Code:
fastboot boot *twrp image name*
it just loads twrp for that instance.
On a sidenote, what are your plans with TWRP? MIUI has an issue that twrp asks for password when starting. If you want to root, you're better off loading it for single instance, installing magisk.
Click to expand...
Click to collapse
I am using xiaomi beta developer rom. Is that a problem?
anti rollback security ?..
if You're using MIUI 10
YOU Won't be able to flash any custom recovery..you'll have to fastboot boot recovery.img everytime you want to flash something ?
risunygma said:
anti rollback security ..
if You're using MIUI 10
YOU Won't be able to flash any custom recovery..you'll have to fastboot boot recovery.img everytime you want to flash something ?
Click to expand...
Click to collapse
I have watch some videos and they said that its possible to install custom recovery permanently even if the phone has anti rollback. But if i cant install recovery can i still install custom rom and root the phone?
PE Installation
Aleksiton said:
I am using xiaomi beta developer rom. Is that a problem?
Click to expand...
Click to collapse
I don't think developer rom should be a problem.
Try this:
1. Copy PE Rom on your SD Card.
2. Fire up the stock recovery->wipe data.
3. Then when rebooting, keep the Vol Down key pressed. This will take you directly to Bootloader without invoking MIUI to encrypt the internal storage.
4. Connect to your pc, boot to TWRP with
Code:
fastboot boot *twrp image name*
You will see that it no longer asks for password.
5. In TWRP, go to Wipe Data->Advanced Wipe->Wipe everything except SD Card. (I am assuming you want a clean flash)
6. Back to main twrp screen->Install->Select Storage->SD Card->ROM File. It will take a while to install.
7. Reboot and you're good to go.
Please note that you still have the stock recovery installed in your phone. You can try to replace it with TWRP now as there won't be MIUI to roll it back to stock recovery. Hope it helps.
himodyuti said:
I don't think developer rom should be a problem.
Try this:
1. Copy PE Rom on your SD Card.
2. Fire up the stock recovery->wipe data.
3. Then when rebooting, keep the Vol Down key pressed. This will take you directly to Bootloader without invoking MIUI to encrypt the internal storage.
4. Connect to your pc, boot to TWRP with
You will see that it no longer asks for password.
5. In TWRP, go to Wipe Data->Advanced Wipe->Wipe everything except SD Card. (I am assuming you want a clean flash)
6. Back to main twrp screen->Install->Select Storage->SD Card->ROM File. It will take a while to install.
7. Reboot and you're good to go.
Please note that you still have the stock recovery installed in your phone. You can try to replace it with TWRP now as there won't be MIUI to roll it back to stock recovery. Hope it helps.
Click to expand...
Click to collapse
I did something and now i have twrp my main recovery but every time i wan't wipe it says unable to mount data and some others errors. I tried to flash magisk it worked and my phone is now rooted. I can format data and boot back into miui. But how i can fix the problem? Is my twrp broken? I don't think that miui stock recovery is deleted i think its only overwritten by twrp. I flashed lazyflasher and then it was my main recovery.
If you want to use miui then miui eu roms are recommended. They work flawless with custom twrp's.
Aleksiton said:
I did something and now i have twrp my main recovery but every time i wan't wipe it says unable to mount data and some others errors. I tried to flash magisk it worked and my phone is now rooted. I can format data and boot back into miui. But how i can fix the problem? Is my twrp broken? I don't think that miui stock recovery is deleted i think its only overwritten by twrp. I flashed lazyflasher and then it was my main recovery.
Click to expand...
Click to collapse
No twrp isn't broken. The recovery is responsible for wiping data. Since stock recovery isn't there, the phone boots into twrp. Try factory reset inside twrp->Wipe or advanced wipe->select everything except sd card and format. If that fails, I have uploaded a copy of my recovery to the below link. Flash that and follow the process I have given above. If the phone starts booting into miui, it will encrypt the internal storage again and you have to start over.
https://drive.google.com/file/d/1u3v8n6YMbXFrU0Zn6t8IMK18KiuQBUhz/view?usp=drivesdk
---------- Post added at 06:03 PM ---------- Previous post was at 06:01 PM ----------
xDoge said:
If you want to use miui then miui eu roms are recommended. They work flawless with custom twrp's.
Click to expand...
Click to collapse
Can you unlock the internal storage from twrp there? I am seeing all those tutorials saying that you should enter you lock screen password in twrp to unlock your internal storage but it doesn't seem to work.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------
Aleksiton said:
I did something and now i have twrp my main recovery but every time i wan't wipe it says unable to mount data and some others errors. I tried to flash magisk it worked and my phone is now rooted. I can format data and boot back into miui. But how i can fix the problem? Is my twrp broken? I don't think that miui stock recovery is deleted i think its only overwritten by twrp. I flashed lazyflasher and then it was my main recovery.
Click to expand...
Click to collapse
Another thing, before you wipe your internal storage log out of your google and mi accounts. Else, PE Rom might throw an error saying there's something wrong with your phone. As far as I know it doesn't affect the functionality, but why take the risk.
himodyuti said:
No twrp isn't broken. The recovery is responsible for wiping data. Since stock recovery isn't there, the phone boots into twrp. Try factory reset inside twrp->Wipe or advanced wipe->select everything except sd card and format. If that fails, I have uploaded a copy of my recovery to the below link. Flash that and follow the process I have given above. If the phone starts booting into miui, it will encrypt the internal storage again and you have to start over.
https://drive.google.com/file/d/1u3v8n6YMbXFrU0Zn6t8IMK18KiuQBUhz/view?usp=drivesdk
---------- Post added at 06:03 PM ---------- Previous post was at 06:01 PM ----------
Can you unlock the internal storage from twrp there? I am seeing all those tutorials saying that you should enter you lock screen password in twrp to unlock your internal storage but it doesn't seem to work.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------
Another thing, before you wipe your internal storage log out of your google and mi accounts. Else, PE Rom might throw an error saying there's something wrong with your phone. As far as I know it doesn't affect the functionality, but why take the risk.
Click to expand...
Click to collapse
Is possible to get hard brick if i flash your recovery wrong or my twrp cant wipe data or my twrp can't flash the rocevery right? My phone is working good right now so i dont want take big risk.
himodyuti said:
Can you unlock the internal storage from twrp there? I am seeing all those tutorials saying that you should enter you lock screen password in twrp to unlock your internal storage but it doesn't seem to work.
Click to expand...
Click to collapse
OK which twrp are you guys using/talking about?
Aleksiton said:
Is possible to get hard brick if i flash your recovery wrong or my twrp cant wipe data or my twrp can't flash the rocevery right? My phone is working good right now so i dont want take big risk.
Click to expand...
Click to collapse
AFAIK, you can't flash another ROMs twrp if it was built with proper assert.
And I haven't heard of twrp hard bricking the phone. You can always flash stock ROM via fast boot but say goodbye to data & internal storage.
So always keep backup.
xDoge said:
OK which twrp are you guys using/talking about?
Click to expand...
Click to collapse
What do you mean? Tif you mean the version its twrp 3.3.0-rosy.
xDoge said:
OK which twrp are you guys using/talking about?
AFAIK, you can't flash another ROMs twrp if it was built with proper assert.
And I haven't heard of twrp hard bricking the phone. You can always flash stock ROM via fast boot but say goodbye to data & internal storage.
So always keep backup.
Click to expand...
Click to collapse
What do you mean "AFAIK, you can't flash another ROMs twrp if it was built with proper assert"?
himodyuti said:
No twrp isn't broken. The recovery is responsible for wiping data. Since stock recovery isn't there, the phone boots into twrp. Try factory reset inside twrp->Wipe or advanced wipe->select everything except sd card and format. If that fails, I have uploaded a copy of my recovery to the below link. Flash that and follow the process I have given above. If the phone starts booting into miui, it will encrypt the internal storage again and you have to start over.
https://drive.google.com/file/d/1u3v8n6YMbXFrU0Zn6t8IMK18KiuQBUhz/view?usp=drivesdk
---------- Post added at 06:03 PM ---------- Previous post was at 06:01 PM ----------
Can you unlock the internal storage from twrp there? I am seeing all those tutorials saying that you should enter you lock screen password in twrp to unlock your internal storage but it doesn't seem to work.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------
Another thing, before you wipe your internal storage log out of your google and mi accounts. Else, PE Rom might throw an error saying there's something wrong with your phone. As far as I know it doesn't affect the functionality, but why take the risk.
Click to expand...
Click to collapse
I have tried to unlock the internal storage but i can't
himodyuti said:
No twrp isn't broken. The recovery is responsible for wiping data. Since stock recovery isn't there, the phone boots into twrp. Try factory reset inside twrp->Wipe or advanced wipe->select everything except sd card and format. If that fails, I have uploaded a copy of my recovery to the below link. Flash that and follow the process I have given above. If the phone starts booting into miui, it will encrypt the internal storage again and you have to start over.
https://drive.google.com/file/d/1u3v8n6YMbXFrU0Zn6t8IMK18KiuQBUhz/view?usp=drivesdk
---------- Post added at 06:03 PM ---------- Previous post was at 06:01 PM ----------
Can you unlock the internal storage from twrp there? I am seeing all those tutorials saying that you should enter you lock screen password in twrp to unlock your internal storage but it doesn't seem to work.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------
Another thing, before you wipe your internal storage log out of your google and mi accounts. Else, PE Rom might throw an error saying there's something wrong with your phone. As far as I know it doesn't affect the functionality, but why take the risk.
Click to expand...
Click to collapse
Can you give me full instructions how to fix my 0mb and unable to mount data (invalid argument) problem and how do i install custom rom (PE rom)
himodyuti said:
No twrp isn't broken. The recovery is responsible for wiping data. Since stock recovery isn't there, the phone boots into twrp. Try factory reset inside twrp->Wipe or advanced wipe->select everything except sd card and format. If that fails, I have uploaded a copy of my recovery to the below link. Flash that and follow the process I have given above. If the phone starts booting into miui, it will encrypt the internal storage again and you have to start over.
https://drive.google.com/file/d/1u3v8n6YMbXFrU0Zn6t8IMK18KiuQBUhz/view?usp=drivesdk
---------- Post added at 06:03 PM ---------- Previous post was at 06:01 PM ----------
Can you unlock the internal storage from twrp there? I am seeing all those tutorials saying that you should enter you lock screen password in twrp to unlock your internal storage but it doesn't seem to work.
---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------
Another thing, before you wipe your internal storage log out of your google and mi accounts. Else, PE Rom might throw an error saying there's something wrong with your phone. As far as I know it doesn't affect the functionality, but why take the risk.
Click to expand...
Click to collapse
Do i flash your recovery as my new recovery? And is it safe to flash your recovery?
Aleksiton said:
Do i flash your recovery as my new recovery? And is it safe to flash your recovery?
Click to expand...
Click to collapse
Yes I use Redmi 5 as well. This is just a backup of my stock recovery. No issues.
---------- Post added at 03:48 PM ---------- Previous post was at 03:46 PM ----------
Aleksiton said:
Can you give me full instructions how to fix my 0mb and unable to mount data (invalid argument) problem and how do i install custom rom (PE rom)
Click to expand...
Click to collapse
Sorry I haven't been able to solve the internal storage
mounting issue either. I just wipe my data using stock recovery, go straight into bootloader before it can boot up, boot twrp from there and install whatever rom i need to install.
himodyuti said:
Yes I use Redmi 5 as well. This is just a backup of my stock recovery. No issues.
---------- Post added at 03:48 PM ---------- Previous post was at 03:46 PM ----------
Sorry I haven't been able to solve the internal storage
mounting issue either. I just wipe my data using stock recovery, go straight into bootloader before it can boot up, boot twrp from there and install whatever rom i need to install.
Click to expand...
Click to collapse
I have heard that people format data and then they restart the phone to recovery and wipe all data. Is that right? And if i flash pe rom do i need to flash anything else?
Aleksiton said:
I have heard that people format data and then they restart the phone to recovery and wipe all data. Is that right? And if i flash pe rom do i need to flash anything else?
Click to expand...
Click to collapse
Formatting data and wiping data from recovery is the same thing. I'd suggest that you wipe data from recovery. That way it won't automatically reboot and accidentally go into android again. You can keep the vol down button pressed immediately after hitting reboot so bootloader starts right away. Remember to remove your mi account and google account before doing any data wipe.
PE comes preloaded with all the gapps. I didn't have to flash anything else with it.
Hi,
Recently after i dirty flashed Evolution X rom update, i started facing this issue, where i have to reboot my phone each time i want to charge my phone. To fix this i tried clean flashing the ROM and even tried formatting my device but the issue did not resolve.
EDIT:
Even flashing stock rom via ADB did not solve the issue.
Also, not able to transfer files via USB. After attaching the USB, is keeps connecting and disconnecting repeatedly.
Also i see this error repeatedly in TWRP
Code:
E:recv error on uevent
Googling this found some post saying that this error can be ignored. But not sure if the two issues are related or not.
Please help.
Thanks
Same problem. TWRP has that error too, charging is faulty, and connecting to PC is just connect-disconnect cycle. Hope someone can help us
I think this usually happens when partition is resized. Hopefully the following steps would resolve your issue.
1 Install stock ROM using Mi Flash tool cleaning everything and lock the bootloader. After install allow the phone to boot/get encrypted.
2 When phone reboots, unlock the bootloader using Mi tool.
3 Flash TWRP and then flash whatever you want.
wiley.devil said:
I think this usually happens when partition is resized. Hopefully the following steps would resolve your issue.
1 Install stock ROM using Mi Flash tool cleaning everything and lock the bootloader. After install allow the phone to boot/get encrypted.
2 When phone reboots, unlock the bootloader using Mi tool.
3 Flash TWRP and then flash whatever you want.
Click to expand...
Click to collapse
I'll try this. Hopefully it works
Try performing following steps:
1. Go to recovery and wipe cache, system, & data.
2. Then go to repair and repair system.
3. Now try to flashing rom.
wiley.devil said:
I think this usually happens when partition is resized. Hopefully the following steps would resolve your issue.
1 Install stock ROM using Mi Flash tool cleaning everything and lock the bootloader. After install allow the phone to boot/get encrypted.
2 When phone reboots, unlock the bootloader using Mi tool.
3 Flash TWRP and then flash whatever you want.
Click to expand...
Click to collapse
I tried this method first time, it failed. The flashing and locking of bootloader via Mi Flash Tool went well, locked then unlocked the bootloader, flashing TWRP went well (new version btw, 3.4.0.0), flashing of custom rom went well, but the error is still in TWRP. The only difference it made was my data was encrypted when booting up to TWRP.
Tried it the second time but this time, I logged out my Mi Account before flashing TWRP and I flashed of DFE before flashing a Custom ROM. Now it doesn't have the error. Not sure if this fixed the problem but I'm gonna see if it doesn't return. Thanks!
---------- Post added at 04:34 PM ---------- Previous post was at 04:34 PM ----------
gr8guzzler said:
Try performing following steps:
1. Go to recovery and wipe cache, system, & data.
2. Then go to repair and repair system.
3. Now try to flashing rom.
Click to expand...
Click to collapse
Saw this in another thread, did it, sadly the error still persist.
my phone does not load with this same problem any solution ??? I ask for help from the dev masters.