Can't restore from TWRP backup, phone won't boot - E 2015 Q&A, Help & Troubleshooting

A couple weeks ago my carrier, Ringplus, went out of business, so I decided to switch to Tello. I couldn't do this because I couldn't do a carrier reset on Cyanogenmod 13, so I backed up my system with TWRP Backup, restored to stock (XT1526 Surnia Boost 5.0.2), successfully did a carrier reset. Then I tried restoring back to my original Cyanogenmod 13 backup, but it won't work, after the restore is complete, the phone won't boot. When I try rebooting after the restore is done, the phone crashes at the WARNING BOOTLOADER UNLOCKED screen. It can boot into Fastboot or TWRP, but it won't boot into the restored backup.
Is there anything I can do to get my Moto E 2015 Surnia XT1526 phone to boot once I restore from my backup?

regularcarrot said:
A couple weeks ago my carrier, Ringplus, went out of business, so I decided to switch to Tello. I couldn't do this because I couldn't do a carrier reset on Cyanogenmod 13, so I backed up my system with TWRP Backup, restored to stock (XT1526 Surnia Boost 5.0.2), successfully did a carrier reset. Then I tried restoring back to my original Cyanogenmod 13 backup, but it won't work, after the restore is complete, the phone won't boot. When I try rebooting after the restore is done, the phone crashes at the WARNING BOOTLOADER UNLOCKED screen. It can boot into Fastboot or TWRP, but it won't boot into the restored backup.
Is there anything I can do to get my Moto E 2015 Surnia XT1526 phone to boot once I restore from my backup?
Click to expand...
Click to collapse
Wipe system data and try restoring again
Or
Wipe system data and flash any custom ROM

oppodi said:
Wipe system data and try restoring again
Or
Wipe system data and flash any custom ROM
Click to expand...
Click to collapse
Here's what I'm doing: (I'm writing it out since I'm not allowed to link to pictures I took of the process)
On the Wipe/Advanced Wipe screen, I select the following partitions to wipe:
Dalvik / ART Cache
System
Data
Internal Storage
Cache
The wipe process goes as follows:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
-- Dalvik Cache Directories Wipe Complete!
Formatting System using make_ext4fs...
Wiping data without wiping /data/media ...
Done.
Wiping internal storage -- /data/media...
Formatting Cache using make_ext4fs...
Updating partition details...
...done
Restore
Select Backup from Micro SDCard
2017-02-13--00-39-33_cm_surnia-userdebug_6.0.1_MOB30R_aeb84f171e
Restore
Backup made on Mon Feb 13 00:40:34 2017
Name:
2017-02-13--00-39-33_cm_surnia-userdebug_6.0.1_MOB30R_aeb84f171e
Select Partitions to Restore:
System (checked)
Data (checked)
Boot (checked)
Enable MD5 Verification of Backup Files (unchecked)
Restore Complete
Successful
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
[RESTORE STARTED]
Restore folder: '/external_sd/TWRP/BACKUPS/TAO9800XCQ/2017-02-13--00-39-33_cm_surnia-userdebug_6.0.1_MOB30R_aeb84f171e'
Skipping MD5 check based on user setting.
Calculating restore details...
Restoring 3 partitions...
Total restore size is 4944MB
Wiping System
Formatting System using make_ext4fs...
Restoring System...
[System done (66 seconds)]
Wiping Data
Wiping data without wiping /data/media ...
Done.
Restoring Data...
[Data done (249 seconds)]
Restoring Boot...
Flashing Boot...
[Boot done (2 seconds)]
Updating partition details...
...done
[RESTORE COMPLETED IN 325 SECONDS]
After that, the phone now doesn't boot beyond the WARNING BOOTLOADER UNLOCKED screen. I even tried leaving it on for 2 hours, and only got that screen.
I'm hoping that someone knows a way that will allow me to successfully restore from this backup, and that I won't have to flash to a new custom rom rather than restoring from my backup, since that would mean setting up the phone from scratch again.

regularcarrot said:
Here's what I'm doing: (I'm writing it out since I'm not allowed to link to pictures I took of the process)
On the Wipe/Advanced Wipe screen, I select the following partitions to wipe:
Dalvik / ART Cache
System
Data
Internal Storage
Cache
The wipe process goes as follows:
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
Wiping Dalvik Cache Directories...
Cleaned: /data/dalvik-cache...
-- Dalvik Cache Directories Wipe Complete!
Formatting System using make_ext4fs...
Wiping data without wiping /data/media ...
Done.
Wiping internal storage -- /data/media...
Formatting Cache using make_ext4fs...
Updating partition details...
...done
Restore
Select Backup from Micro SDCard
2017-02-13--00-39-33_cm_surnia-userdebug_6.0.1_MOB30R_aeb84f171e
Restore
Backup made on Mon Feb 13 00:40:34 2017
Name:
2017-02-13--00-39-33_cm_surnia-userdebug_6.0.1_MOB30R_aeb84f171e
Select Partitions to Restore:
System (checked)
Data (checked)
Boot (checked)
Enable MD5 Verification of Backup Files (unchecked)
Restore Complete
Successful
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled
[RESTORE STARTED]
Restore folder: '/external_sd/TWRP/BACKUPS/TAO9800XCQ/2017-02-13--00-39-33_cm_surnia-userdebug_6.0.1_MOB30R_aeb84f171e'
Skipping MD5 check based on user setting.
Calculating restore details...
Restoring 3 partitions...
Total restore size is 4944MB
Wiping System
Formatting System using make_ext4fs...
Restoring System...
[System done (66 seconds)]
Wiping Data
Wiping data without wiping /data/media ...
Done.
Restoring Data...
[Data done (249 seconds)]
Restoring Boot...
Flashing Boot...
[Boot done (2 seconds)]
Updating partition details...
...done
[RESTORE COMPLETED IN 325 SECONDS]
After that, the phone now doesn't boot beyond the WARNING BOOTLOADER UNLOCKED screen. I even tried leaving it on for 2 hours, and only got that screen.
I'm hoping that someone knows a way that will allow me to successfully restore from this backup, and that I won't have to flash to a new custom rom rather than restoring from my backup, since that would mean setting up the phone from scratch again.
Click to expand...
Click to collapse
Have you tried flashing a custom ROM? And what version recovery are you using?

Android_noob17 said:
Have you tried flashing a custom ROM?
Click to expand...
Click to collapse
I was originally using CyanogenMod 13 for Moto E LTE, found here on this forum. That's what my backup is, my CM13 system.
Android_noob17 said:
And what version recovery are you using?
Click to expand...
Click to collapse
I tried both TWRP 3.0.0r2 and 3.0.2r5, both produced the exact same issue.

regularcarrot said:
I was originally using CyanogenMod 13 for Moto E LTE, found here on this forum. That's what my backup is, my CM13 system.
I tried both TWRP 3.0.0r2 and 3.0.2r5, both produced the exact same issue.
Click to expand...
Click to collapse
Did you try flashing back to stock? Did you try any newer roms?

Android_noob17 said:
Did you try flashing back to stock? Did you try any newer roms?
Click to expand...
Click to collapse
I temporarily flashed back to Stock to do a carrier reset, which couldn't be done with CM13 for some reason. But flashing back to stock meant losing the apps and data and settings I had previously, so I wanted to backup using TWRP, temporarily flash back to stock and do the carrier reset, then restore back to CM13 using TWRP, so that I could keep my apps and data and settings. I flashed back to stock successfully but couldn't restore back to CM13 using the backup.

regularcarrot said:
I temporarily flashed back to Stock to do a carrier reset, which couldn't be done with CM13 for some reason. But flashing back to stock meant losing the apps and data and settings I had previously, so I wanted to backup using TWRP, temporarily flash back to stock and do the carrier reset, then restore back to CM13 using TWRP, so that I could keep my apps and data and settings. I flashed back to stock successfully but couldn't restore back to CM13 using the backup.
Click to expand...
Click to collapse
That's unfortunate man. Next time you should use titanium backup.

I switched from TWRP to OrangeFox recovery, move backup from TWRP folder to Fox folder and restored the data, then my phone can boot normally

Related

P7500 - Cannot format /data

On a fresh AOKP installation (r31) I performed a restart then the tablet freezes during boot animation. Tried to reboot it multiple times - same result. I wanted to wipe everything and restart but I cannot format /data partition in recovery: it will stay on "Formatting /data ..." for 2-3 minutes and then will reboot :-(
Any idea?
I suspect something in the data partition is corrupted, may be the partition table. Is there a chance to re-create the partition table?
Thanks.
Problem solved:
Using Odin I flashed the stock recovery then wipe data/factory reset.
Flashed back CWM 4.0.0.4, performed /data format
Flashed CWM 5.5.0.4 installed rom, rebooted, wipe data, format data, format system, adb push aokp rom, flashed AOKP. I lost my sdcard data but now the system is working.
I think we can close this topic.

Unable to load ROM / formatting /system or /data

Hey guys, I have one quick question here.
Today I updated my Vanilla RB from 2.8 - > 2.9. All went ok until I updated DorimanX from 7.0 -> 7.1.
Now I'm unable to get past the boot animation.
Normally I would just wipe/factory reset and install a fresh rom. But this time I don't have a backup of my recent appdata.
I am nearly at the point of wiping anyway but then I thought if I could format /system or /data without harming my apps and appdata?
TL;DR: Does formatting /system or /data affect application data?
SynGates said:
Hey guys, I have one quick question here.
Today I updated my Vanilla RB from 2.8 - > 2.9. All went ok until I updated DorimanX from 7.0 -> 7.1.
Now I'm unable to get past the boot animation.
Normally I would just wipe/factory reset and install a fresh rom. But this time I don't have a backup of my recent appdata.
I am nearly at the point of wiping anyway but then I thought if I could format /system or /data without harming my apps and appdata?
TL;DR: Does formatting /system or /data affect application data?
Click to expand...
Click to collapse
1. /system does not have anything to do with your data, so formatting it wont affect your data. However, if you format /system, then you have to flash a ROM, hence, your device wont boot.
2. /data contains all your application data, settings, messages etc. formatting it will sure delete the same.
I'll advise you to format /system and flash ROM again. Your data will be intact and your device should boot now.
yesyes that was my intention; to format /system and flash the ROM again.
Thank you
edit: not working, guess I'll just wipe

Help! problem loading Roms

Not sure if this has been answered, but I have been searching and cannot find an answer.
I'm S-Off with Dirty Racun, have been flashing Roms for the past year, no problems, backing up and restoring Roms with no problem. Recently was using the latest Hatka LTE but wanted to restore to an earlier version. Didn't work. Did a super wipe and tried to install clean. Didn't work.
Have been messing with this all day and am stuck. At first it was saying that it could not mount the /sdcard. I thought maybe the internal sdcard was corrupt, so I formatted the internal sdcard. Didn't help.
Anyways, yes, I can get into bootloader and I can get into TWRP.
Yes, I have tried other versions of TWRP. All my backups were created under 2.4.1, have tried 2.4.4 and 2.5 to restore, no success.
In TWRP 2.4.1:
It will say:
Restoring 4 partitions...
Wiping System...
Formatting System using mke2fs...
Done.
Restoring system...
E:Unable to extract tar archive '/sdcard2/TWRP/BACKUPS/HT2324......
Wiping Cache..
Formatting Cache using mke2fs...
Done.
Restoring cache...
[cache done]
Restoring boot...
[boot done]
Updating partition details....
E:Unable to unmount '/system'
Also, not sure if this is related, but when I do Factory Reset under the Wipe section, it will only show that it is formatting cache, formatting data, and wiping .android_secure. It used to say formatting system, but now doesn't mention it?
Also, immediately after it says unable to mount /system, if I try to wipe system, it will give me a fail, unable to unmount /system
Basically, I'm stuck at TWRP and bootloader.
Also, when I try to install a ROM, any ROM, it will die - for example MeanBean 3.09, it will say:
Formatting and Mounting Partition...
Clearing cache and dalvik...
Installing /system....
Installing /data...
symlink: some symlinks failed
E: Error in /sdcard2/MeanBean-v309-jewel-ltevo.zip (Status 7)
Please help! What can I do to restore it back to the way it was so that I can at least get a working ROM on my phone?
Thanks!
Also, if it will help, I am HBoot 1.19.22222
Radio 1.12.11.1210
OpenDSP-v31.1.0.45.0815
Thanks for any help in advance!! Really need this phone to boot into something working.
Buffpandabear said:
Not sure if this has been answered, but I have been searching and cannot find an answer.
I'm S-Off with Dirty Racun, have been flashing Roms for the past year, no problems, backing up and restoring Roms with no problem. Recently was using the latest Hatka LTE but wanted to restore to an earlier version. Didn't work. Did a super wipe and tried to install clean. Didn't work.
Have been messing with this all day and am stuck. At first it was saying that it could not mount the /sdcard. I thought maybe the internal sdcard was corrupt, so I formatted the internal sdcard. Didn't help.
Anyways, yes, I can get into bootloader and I can get into TWRP.
Yes, I have tried other versions of TWRP. All my backups were created under 2.4.1, have tried 2.4.4 and 2.5 to restore, no success.
In TWRP 2.4.1:
It will say:
Restoring 4 partitions...
Wiping System...
Formatting System using mke2fs...
Done.
Restoring system...
E:Unable to extract tar archive '/sdcard2/TWRP/BACKUPS/HT2324......
Wiping Cache..
Formatting Cache using mke2fs...
Done.
Restoring cache...
[cache done]
Restoring boot...
[boot done]
Updating partition details....
E:Unable to unmount '/system'
Also, not sure if this is related, but when I do Factory Reset under the Wipe section, it will only show that it is formatting cache, formatting data, and wiping .android_secure. It used to say formatting system, but now doesn't mention it?
Also, immediately after it says unable to mount /system, if I try to wipe system, it will give me a fail, unable to unmount /system
Basically, I'm stuck at TWRP and bootloader.
Also, when I try to install a ROM, any ROM, it will die - for example MeanBean 3.09, it will say:
Formatting and Mounting Partition...
Clearing cache and dalvik...
Installing /system....
Installing /data...
symlink: some symlinks failed
E: Error in /sdcard2/MeanBean-v309-jewel-ltevo.zip (Status 7)
Please help! What can I do to restore it back to the way it was so that I can at least get a working ROM on my phone?
Thanks!
Click to expand...
Click to collapse
sorry for the replies to myself, but as an update, now even after rebooting into recovery, I can't even wipe - the first thing that happens after I reboot into recovery is I see
E: Unable to mount '/sdcard'
E:Unable to recreate android secure folder.
E:Unable to mount '/sdcard', which repeats itself a couple of times
then Running boot script...
Finished running boot script...
This happens before I press a single button in recovery (TWRP 2.4.1), I mean it happens immediately as it is booting into recovery
Buffpandabear said:
sorry for the replies to myself, but as an update, now even after rebooting into recovery, I can't even wipe - the first thing that happens after I reboot into recovery is I see
E: Unable to mount '/sdcard'
E:Unable to recreate android secure folder.
E:Unable to mount '/sdcard', which repeats itself a couple of times
then Running boot script...
Finished running boot script...
This happens before I press a single button in recovery (TWRP 2.4.1), I mean it happens immediately as it is booting into recovery
Click to expand...
Click to collapse
I had the same issue and ended up using three different versions of TWRP, but if you go to the TWRP thread, captain just posted his version of recovery that he built from source and he fixed some of the issues with the android secure and changed some of the wipes, check it out and reformat using rm rf, works better for me it's in the advanced options...
Edit: link to captain's post
http://forum.xda-developers.com/showthread.php?p=41528948
Sent from my EVO using xda app-developers app

How to downgrade Droid dna to 1.15 MUST BE S-OFF AND UNLOCKED

im gonnna show you how to downgrade htc Droid dna MUST BE S-OFF AND UNLOCKED WITH TWRP OR CWM!!
1.MAKE A NANDROID BACKUP THIS IS IMPORTANT
2.Put phone in recovery after backup
3.wipe format data dalvik cache and cache
4.flash DNA-Stock-Rooted-v.1.15.605.4 710RD.zip
Then you are done
:laugh:
dakilla345 said:
im gonnna show you how to downgrade htc Droid dna MUST BE S-OFF AND UNLOCKED WITH TWRP OR CWM!!
1.MAKE A NANDROID BACKUP THIS IS IMPORTANT
2.Put phone in recovery after backup
3.wipe format data dalvik cache and cache
4.flash DNA-Stock-Rooted-v.1.15.605.4 710RD.zip
Then you are done
:laugh:
Click to expand...
Click to collapse
If they format data, they're going to need to adb push the file in the step before flashing. You should also specifiy that's only flashing the rom and has nothing to do with firmware or radios. Also you mentioned to make a nandroid backup in step 1. But your step 3 would erase that nandroid backup so I'm thinking you need to add the step of moving the nandroid backup files to a different storage device or don't have them format the data partition.
If I was new enough to need these directions and made a nandroid backup in step 1 and followed the directions and realized that I had formatted data which erased the zip I was supposed to flash as well as my nandroid, I'd be quite pissed, but worse I would be frustrated and defeated, and I would hate to see that drive away some users.
dakilla345 said:
im gonnna show you how to downgrade htc Droid dna MUST BE S-OFF AND UNLOCKED WITH TWRP OR CWM!!
1.MAKE A NANDROID BACKUP THIS IS IMPORTANT
2.Put phone in recovery after backup
3.wipe format data dalvik cache and cache
4.flash DNA-Stock-Rooted-v.1.15.605.4 710RD.zip
Then you are done
:laugh:
Click to expand...
Click to collapse
you are simply flashing the stock 1.15.605.4 rom... which is kinda pointless TBH
CharliesTheMan said:
If they format data, they're going to need to adb push the file in the step before flashing. You should also specifiy that's only flashing the rom and has nothing to do with firmware or radios. Also you mentioned to make a nandroid backup in step 1. But your step 3 would erase that nandroid backup so I'm thinking you need to add the step of moving the nandroid backup files to a different storage device or don't have them format the data partition.
If I was new enough to need these directions and made a nandroid backup in step 1 and followed the directions and realized that I had formatted data which erased the zip I was supposed to flash as well as my nandroid, I'd be quite pissed, but worse I would be frustrated and defeated, and I would hate to see that drive away some users.
Click to expand...
Click to collapse
I thought that "format data" didn't touch the virtual "sd card". It just wipes the apps and app data. But there is another option to wipe the storage. When I installed a ROM I chose in TWRP to format data, cache, and davlik from their wipe menu. It did not touch the Downloads folder I had saved the ROM to.
Factory reset in recovery is what you are thinking of, which is equal to "format data excluding /media"
In the factory reset menu it says something like "wipe data -/media, cache, and dalvic cache"
If you go to advanced wipe, and wipe the data partition instead of using the factory reset selection it wipes the entire partition, doesnt exclude /media which is the location for /sdcard
Sent from my HTC6435LVW using Tapatalk 4 Beta

Stock Bootloop (ChangedDensity) - Backup with TWRP after?

Messed around without an backup! i know! Crazy kids.
Anyway, i installed TWRP after and wondering if it is possible to backup all apps and data from internal storage and restore after wipe.
I mean, i wanna to get it restored as it was before but without the saving of the settings on all apps and Android for that part, then it should be OK OK (?) cause it was the changed of settings that made it F'CKT.
There is to backup:
Boot
Recovery
System
Data
Cache
EFS
Modem
edit:
I can use Advanced Wipe and there is:
Dalvik Cache - Did not help!
System
Data
Internal Storage
Cache - Did not Help!
Micro SDcard
Is it System? or? :/

Categories

Resources