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.
I see nandroid images how do I reinstall in case of a failure
Sent from my SAMSUNG-SGH-I717 using xda premium
Nandroid images are restored from within your recovery...
You would boot to the recovery, data wipe, cache wipe, and dalvik cache wipe, then restore the nandroid backup from the restore sub-menu of the recovery...
Note: you must ensure that you have the same recovery that created the nandroid image...I.E. CWM for those images, or TWRP for their respective image.
They are "NOT" compatible..
It's toooo easy....g
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
If I restore back up I made with CWM with it will it flash Rom too?
I mean let's say I have stock Samsung Rom then I flash the cm back will it be like flashing new cm Rom but with my apps and settings already?
Restoring android backup take your phone exactly at the moment the backup was done. Rom, kernel, apps, data, everything.
Sent from my Nexus 4 using xda app-developers app
A Nandroid backup takes images of your partitions.
If you want to restore a previously made Nandroid backup, enter Recovery Mode select Restore. Everything should go back to how it was when you made the backup.
If you choose the ‘Advanced Restore’ option, you can select which component of the backup to restore – like the boot, system, data or cache.
Downloaded apps, apps and OS settings, contacts, messages are backed up in data (/data)
boot has the initrd.gz and zImage.
system has the system files (/system)
cache has the cache (/cache).
SD-ext has the ext partition
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