twrp backup wont restore - HTC 10 Questions & Answers

I have a nandroid backup of my phone from earlier in the day i am trying to restore. It finishs no problem says its restore but when i reboot it goes back to factory settings??
I have rooted the phone and also s off just done tonight.
Any ideas this is driving me crazy i really really dont want to have to set up the whole phone again!!!

Are you talking about data backup? If so let me tell that doing a data backup in TWRP will be nontheless, as long as data partition is still encrypted. In that case TWRP won't be able to decrypt it, due to proprietary encryption used by HTC, and the restored backup is no data backup as a matter of fact. Will say at the moment it is not possible to backup/restore the encrypted data partition.
Sent from my HTC 10 using XDA Labs

So nandroid backups are pointless at the moment then?

angerfist2009 said:
So nandroid backups are pointless at the moment then?
Click to expand...
Click to collapse
for user data yes. Try Titanium backup or just store everything on your external storage and use google backup to restore to the best of its ability. I've actually found google backup restores to be fairly decent lately. Much better than the old HTC backups.
TWRP can still be useful for system backups. If you make system edits, you can simply restore with TWRP and not have to touch data at all. For example, if you modify build.prop or use xposed or some other system mod, and want to return to stock system, you can just restore your system backup. Of course, you may need to then remove anything that your mod did to the data partition manually.

So the backup still works but when you restore, it'll land you back at out of the box stock? And I started a backup and it said 27gb! Is that right?! I know it gets bigger everytime with each new phone, but 20gb larger than m9 backup is nuts.
System is 3.x GB and data is 24.xx GB. Should I just uncheck data and only backup system and boot?
Just want to be 100% sure before I wipe stock rom
Sent from my HTC6545LVW using Tapatalk

Evocm7 said:
So the backup still works but when you restore, it'll land you back at out of the box stock? And I started a backup and it said 27gb! Is that right?! I know it gets bigger everytime with each new phone, but 20gb larger than m9 backup is nuts.
System is 3.x GB and data is 24.xx GB. Should I just uncheck data and only backup system and boot?
Just want to be 100% sure before I wipe stock rom
Sent from my HTC6545LVW using Tapatalk
Click to expand...
Click to collapse
Restore system with no data wipe will leave you with your data intact.
Twrp can't see anything on the data partition, so it tries to backup the whole thing, which on my phone was about 25 GB. Unfortunately, this backup is useless. If you restore it, your system will not boot with a warning that your data is not encrypted and you need to wipe data to fix. Which kind of defeats the point of the data backup.

jollywhitefoot said:
Restore system with no data wipe will leave you with your data intact.
Twrp can't see anything on the data partition, so it tries to backup the whole thing, which on my phone was about 25 GB. Unfortunately, this backup is useless. If you restore it, your system will not boot with a warning that your data is not encrypted and you need to wipe data to fix. Which kind of defeats the point of the data backup.
Click to expand...
Click to collapse
So if I flash a rom and it doesn't boot, am I out of luck getting back to anything bootable? I'm on the Verizon model so I don't have many options yet.
Sent from my HTC6545LVW using Tapatalk

Evocm7 said:
So if I flash a rom and it doesn't boot, am I out of luck getting back to anything bootable? I'm on the Verizon model so I don't have many options yet.
Sent from my HTC6545LVW using Tapatalk
Click to expand...
Click to collapse
Well. I think there is an ruu for Verizon, so you should be able to get back to full stock by flashing it. But you will lose everything on you internal storage so make sure to back everything up prior to doing anything. At the moment, internal storage is inaccessible on a device that can't boot into system.
I personally am not keeping anything of importance on my internal storage right now knowing that everytime I flash something I could be forced to wipe.
Twrp system backup should work to get you back to where you are too, without wiping any of your personal data.
Having said all of this. I'm really not that familiar with Verizon specifically. So take all of these above as general device information.
Remember, it's just data partition that there are issues with. If you have a good system backup you should always be able to restore to a bootable state. But you may have to format data in order to do so.
When wiping, try topjohnwu's wipe script in the dev section to wipe app data, but not userdata first. If it doesn't work, then full wipe

I nothing valuable on internal so I think I'll try it. Thanks for the help
Sent from my HTC6545LVW using Tapatalk

Related

[Q] A few questions about flashing ROMs

Hey All,
I am curious about a few things...
I had a couple/few nandroid back ups that were stored on my phone, do you all only keep 1 nandroid and delete your previous backups?
I am running mikfroyo and flashed another ROM about 2 days ago, had some issues so I went back to mik. I think I may have done it in a way that nobody else does...I did it like I was flashing it for the first time, wipe everything and flash from sd card.
Should I have just did a nandroid restore? What does this actually bring back? Text, recent calls, apps?
When doing a nandroid restore should I wipe all before doing so? I would imagine the answer is yes.
And one more, before switching to any new ROM, should I always flash Caulkins Format All zip?
Thank you.
Nand restore will restore everything that was on your phone when you made the backup. Definitely a good idea to flash the zip when installing a new ROM. I also do it to restore though.
When you restore, unless you are backing up the cache, which isn't necessary, you need to minimally wipe the cache/dalvik before you restore. Also, if your SD Card is partitioned, you would need to wipe SD EXT. I pretty much flash Calk's format all anytime I restore or flash a new ROM.
I almost never have one back up. I have a few ROMs I like so, I set them up the way I want and restore between them when I get bored, which is like 100 times a day it feels like.
I do usually only keep the latest backup of any one ROM though. At any given time I probably have at least 5.
Edit: I re-read your post and I think I misunderstood one part the first time. Sometimes, when I got back to a previous ROM, I do just reflash it and start over, but I am anal about fresh starts. Usually I do just nand restore, especially if I know the setup was running well. I don't typically restore a lot between ROMs b/c I feel like it just adds to something that can go wrong. A lot of times I redownload apps instead of restoring, especially if they are purchased, since they are just stored in my apps in the market anyway. And I never restore app data. Usually end up only restoring about 30 apps w/out data, but most people do backup/restore a lot of info with no problems.
You should have just restore from a previous backup. When you restore, it bring ti back to EXACTLY how it was, texts, number of calls, ect. Actually you don't need to wipe when doing a restore. Well you can manually wipe all of them, or flash the format all, so I'm saying yes.
Also, I suggest against wiping data before creating a nandroid backup, lol. That would defeat the purpose, as your info and apps will be gone! Just wipe cache and davlik before a backup, or nothing at all, just so there's no confusion.
Sent from my PC36100 using XDA App
Yeah, I didn't mean to wipe anything before backing up. But if your going to restore a different ROM and there's no cache included in the nand back up you're going to restore, then best to wipe it before you restore.
jstalford said:
Also, if your SD Card is partitioned, you would need to wipe SD EXT. I pretty much flash Calk's format all anytime I restore or flash a new ROM.
It is partitioned, what gets stored on there that needs to be wiped, apps?
Thanks for your help
Click to expand...
Click to collapse
It is partitioned, what gets stored on there that needs to be wiped, apps?
Thanks for your help
Click to expand...
Click to collapse
If the ROM has a2sd built in, yeah, if not, nothing. I always wipe it just so I'm in the habit of doing it for when it's there. Also depending on how a2sd is set up, dalvik can be on there.

Q: stuck in cyanogen boot animation - Flashed back to Cm6

So I got Cm7 running using rom manager, used titanium backup to restore apps + system data, then fixed permissions. For the last 10 minutes it's been stuck in the CM7 screen....
What should I do? Can I pull the battery without harm? Does it take that long to boot after fixing permissions?
Edit: pulled the batter and am trying to boot into recovery...going to wipe the dalvik/cache again.
Edit2: same thing for the last 6 minutes....dang. I guess I'll just nandroid in 5 minutes if it doesn't' get out of it.
Edit3: going to nandroid back. I might try it again later flashing from a Zip instead of using rom manager. I probably won't restore system data either next time. If anyone has any suggestions though please post them.
Edit4: not good...phone is bootlooping cyangen screen after nandroid.
Edit5: Cleared factordata, cache, and when I go to clear dalvik I'm getting
e unknown volume for path sd-ext
Any ideas here?
Edit6: I'm reflashing 6.1.2....okay...got through the boot and now I'm setting up the phone.
You may need to wipe everything now and reinstall fresh. Do a search for Calkulin's tools here and download the format all zip and put it on the root of your sdcard. Flash it just like you would a rom from recovery. It will wipe boot, data, cache and system. Then try flashing cm7 from recovery. Usually boot loops happen because of there not being enough space on one of your partitions like system or boot etc.
housry23 said:
You may need to wipe everything now and reinstall fresh. Do a search for Calkulin's tools here and download the format all zip and put it on the root of your sdcard. Flash it just like you would a rom from recovery. It will wipe boot, data, cache and system. Then try flashing cm7 from recovery. Usually boot loops happen because of there not being enough space on one of your partitions like system or boot etc.
Click to expand...
Click to collapse
Will do....I know I had been installing apps to the SD card using CM6 and when I first got CM7 up it said my phone memory was low. I thought it would say on the SD card.
I'll probably try tomorrow again if I get the courage and I most definitely will DL Calkun's tools.
Thanks!
I'm going to guess the nandroid didn't work either because of the phone memory low issue?
I would reccomend re-doing what you did originally, except when restoring with titanium, do NOT restore system settings, only apps and data. That's probably the cause.
teh roxxorz said:
I would reccomend re-doing what you did originally, except when restoring with titanium, do NOT restore system settings, only apps and data. That's probably the cause.
Click to expand...
Click to collapse
Wiped manually, installed from zip, and didn't restore system data. CM7 has been running for about an hour now.
Thanks everyone!
Glad that you got it working man.
Is ANY system data safe to restore from Titanium?
Had the exact same problem myself... I'm restoring my Myn nandroid as we speak, and I'll mess with it more tomorrow.
Does anyone know what (if any) system data is safe to restore from Titanium? I just want my contacts and text messages basically... I don't know exactly what caused the problem from Titanium since I made sure not to check any of the Sense-related items.
For about 20 min after I pulled the battery I couldn't get the phone to do anything except vibrate three times when I tried to get into recovery. Eventually coaxed it into the bootloader where I selected to boot into recovery to nandroid back. Almost had a heart attack!
phsteve said:
Had the exact same problem myself... I'm restoring my Myn nandroid as we speak, and I'll mess with it more tomorrow.
Does anyone know what (if any) system data is safe to restore from Titanium? I just want my contacts and text messages basically... I don't know exactly what caused the problem from Titanium since I made sure not to check any of the Sense-related items.
For about 20 min after I pulled the battery I couldn't get the phone to do anything except vibrate three times when I tried to get into recovery. Eventually coaxed it into the bootloader where I selected to boot into recovery to nandroid back. Almost had a heart attack!
Click to expand...
Click to collapse
You should never restore system settings.
For contacts, open accounts and sync, tap your google account, then sync contacts, and that'll be done.
For texts, people highly recommend sms backup or my backup. Then backup apps and data, then restore only apps and data, and you'll be set.

[Q] Will Wipe system and data in TWRP wipe out my ROM but not my back-ups?

Hey,
I an trying to wipe my ROM and reinstall a fresh ROM. In TWRP Recovery, if I hit wipe system and data wipe, will that effect my back-ups on TWRP? Trying wipe the current one and restore the very first backup after installing the revolution HD M8 9.1 .
Only wiping Internal SD will wipe twrp backups. So wiping system, data and caches should be fine.
Sometimes things go wrong though. Good to have a backup of a backup off the device. And/or another rom zip. Titanium backup backups are good to store off device too. And pics, etc.
Bad things happen... And it's a drag when all your stuff goes away. :good:
Storing things as backup on an external sd is good too... But not fool proof either.
Darth said:
Sometimes things go wrong though. Good to have a backup of a backup off the device. And/or another rom zip. Titanium backup backups are good to store off device too. And pics, etc.
Click to expand...
Click to collapse
Agree to all the above. Always give yourself multiple ways out of a jam; and taking a few minutes to backup off-device is a great way to avoid regret and headaches.

Help flashing

I'd like to flash cloudy g3 but I'm not sure how to restore data into it, I have a nandroid backup with twrp, I used the preset backup and compressed the file on a sd card. Please help.
AryG15 said:
I'd like to flash cloudy g3 but I'm not sure how to restore data into it, I have a nandroid backup with twrp, I used the preset backup and compressed the file on a sd card. Please help.
Click to expand...
Click to collapse
by restore data you mean to restore data from stock rom? I don't think that would be possible every time you flash a new rom you have to do a fully wipe, or you'll get a bootloop.
I mean as in all my app data and photos etc
tietganFTW said:
by restore data you mean to restore data from stock rom? I don't think that would be possible every time you flash a new rom you have to do a fully wipe, or you'll get a bootloop.
Click to expand...
Click to collapse
I mean as in app data and photos and stuff
AryG15 said:
I mean as in app data and photos and stuff
Click to expand...
Click to collapse
you cannot restore any data from /data partition (a.k.a. app data, etc) because it will cause a bootloop if you're coming from another rom. Internal storage and external sdcard data can be restored if you have a backup on your computer. In fact it wouldn't even be wiped by twrp in the first place.
AryG15 said:
I mean as in all my app data and photos etc
Click to expand...
Click to collapse
Internal memory won't be formatted. So your data will stay intact. For backuping and restoring apps you can use titanium backup. It would restore the data completely.
What do you mean?
I don't get what you mean by internal memory won't go

TWRP Restore Issue

Hi guys,
I seem to have this problem where my nandroid backup from TWRP won't boot. I can only get it to boot after flashing the Rom over again after the store (this doesn't erase the data and all my file are still there, I just have to make sure I'm flashing the same Rom version as was part of the backup to avoid issues . But I was wondering if there is something else I should be doing here. I've used TWRP in the past and was just able to back up and restore no problem.
When I back up I make sure my system partition is mounted and I usually backup the default selections (boot/data/system, EFS) . My feeling is somehow the boot partition gets corrupted and won't allow the phone to continue booting, but I'm not sure why?
Any ideas? I'm using TWRP version 3.0.2-0. This happens when restoring nandroid for any rom (so far tried with oxygen/hydrogen/miui and cm14).
Thanks in advance.
I have question regarding TWRP. I always had a phone with an external SD card. This will be my first phone with no external memory. When I install a new ROM I always wiped internal, factory reset and cleared cache. Now can't do that anymore cause that will wipe my internal card and lose my nandroid backup. What are you guys wiping right before you install a ROM?
borijess said:
I have question regarding TWRP. I always had a phone with an external SD card. This will be my first phone with no external memory. When I install a new ROM I always wiped internal, factory reset and cleared cache. Now can't do that anymore cause that will wipe my internal card and lose my nandroid backup. What are you guys wiping right before you install a ROM?
Click to expand...
Click to collapse
Standard factory reset on TWRP will erase data, cache and Calvin cache without wiping internal SD card. That's what most people use.
piotrus22 said:
Hi guys,
I seem to have this problem where my nandroid backup from TWRP won't boot. I can only get it to boot after flashing the Rom over again after the store (this doesn't erase the data and all my file are still there, I just have to make sure I'm flashing the same Rom version as was part of the backup to avoid issues . But I was wondering if there is something else I should be doing here. I've used TWRP in the past and was just able to back up and restore no problem.
When I back up I make sure my system partition is mounted and I usually backup the default selections (boot/data/system, EFS) . My feeling is somehow the boot partition gets corrupted and won't allow the phone to continue booting, but I'm not sure why?
Any ideas? I'm using TWRP version 3.0.2-0. This happens when restoring nandroid for any rom (so far tried with oxygen/hydrogen/miui and cm14).
Thanks in advance.
Click to expand...
Click to collapse
I don't have any solution for you but I can certainly concur. I've seen this behaviour as well but not as consistently as what you are describing. About 1/3rd of the time my restores don't work as you mentioned and I have to dirty flash the rom to get it to boot. Sometimes the restore even errors out while restoring the System partition in which case I just dirty flash. This is like my 9th or so Android device since Samsung released the SGS1 in whatever year that was and this is the first phone I've ever had this problem with. On previous phones it would happen rarely but nothing like it does on the OP3.
---------- Post added at 11:01 AM ---------- Previous post was at 10:58 AM ----------
borijess said:
I have question regarding TWRP. I always had a phone with an external SD card. This will be my first phone with no external memory. When I install a new ROM I always wiped internal, factory reset and cleared cache. Now can't do that anymore cause that will wipe my internal card and lose my nandroid backup. What are you guys wiping right before you install a ROM?
Click to expand...
Click to collapse
You can either not wipe internal storage (that is what I do usually) or you can buy an OTG adapter. I think TWRP supports it for our device. You can always copy off your backups via USB then wipe internal then copy your backups back too I think.
Did you for once try wiping the complete device after backing up nans on external storage and thn trying restoring? That would make a difference
Dr-Hack said:
Did you for once try wiping the complete device after backing up nans on external storage and thn trying restoring? That would make a difference
Click to expand...
Click to collapse
What?
piotrus22 said:
What?
Click to expand...
Click to collapse
I think he is asking to do below procedure -
1.Copy your nandroid backup and other imp stuff to computer
2.boot into TWRP
3.wipe all partitions including internal storage
4.copy nandroid backup to phone
5.restore backup through TWRP
Did you mount system to restore backup?
null0seven said:
Did you mount system to restore backup?
Click to expand...
Click to collapse
Yep of course.
JumboMan said:
I think he is asking to do below procedure -
1.Copy your nandroid backup and other imp stuff to computer
2.boot into TWRP
3.wipe all partitions including internal storage
4.copy nandroid backup to phone
5.restore backup through TWRP
Click to expand...
Click to collapse
OK. Have not tried this, why would this work and fix my problem? Do I only have to do it once and then all subsequent restores would be fine? Is it a problem with my TWRP? Phone?
piotrus22 said:
OK. Have not tried this, why would this work and fix my problem? Do I only have to do it once and then all subsequent restores would be fine? Is it a problem with my TWRP? Phone?
Click to expand...
Click to collapse
its one time procedure. Subsequent restore will be fine.
May be different versions of TWRP will help you with this problem
is this issue had been resolved? because i have also the same problem.. whats the fix for this?
piotrus22 said:
OK. Have not tried this, why would this work and fix my problem? Do I only have to do it once and then all subsequent restores would be fine? Is it a problem with my TWRP? Phone?
Click to expand...
Click to collapse
How did you fix your problem? I cant restore my backup also..
it says restore complete but stock in boot logo after... any fix?
toto_vanir said:
How did you fix your problem? I cant restore my backup also..
it says restore complete but stock in boot logo after... any fix?
Click to expand...
Click to collapse
Hey man. No I never fixed it. Just flash your Rom over it and it should boot fine.

Categories

Resources