[Q] Unable to restore .ab backup on rooted One V - HTC One V

I recently rooted my One V, but I did an adb backup with all the flags. Including backing up shared files.
After root, I am unable to restore my .ab backup as it stalls at com.android.sharedstorage or something like that. The backup won't move at all, and I have important messages and contacts that are backed up in the file.
Please help me with this. Thanks...

uhmm, i did not understand it ! :!

So your saying instead of using cwm or twrp you made a system dump with adb? Hmmm. Is it too late to run the ruu and start from scratch and do it right?
Sent from my One V using xda app-developers app

cybervibin said:
uhmm, i did not understand it ! :!
Click to expand...
Click to collapse
Tehwafflez said:
So your saying instead of using cwm or twrp you made a system dump with adb? Hmmm. Is it too late to run the ruu and start from scratch and do it right?
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
Okay, so I shall explain again.
Before unlocking & rooting my One V, I made an .ab backup using adb (command line = adb backup -noshared etc etc). Backed up my contacts and stuff.
After unlocking and rooting, I installed CM10 on my One V.
Then after that, I used adb again to push the backup to the phone. The phone accepts it and all, but then it stalls at restoring com.android.sharedstoragebackup for ages and won't move.
I have no SD card in the phone before or after the backup/unlock/root/restore.
I will try the RUU and see how things work. In the meantime, if there are any alternatives, in case the RUU method doesn't, please advice.
Thanks in advance.

Serenadier said:
Okay, so I shall explain again.
Before unlocking & rooting my One V, I made an .ab backup using adb (command line = adb backup -noshared etc etc). Backed up my contacts and stuff.
After unlocking and rooting, I installed CM10 on my One V.
Then after that, I used adb again to push the backup to the phone. The phone accepts it and all, but then it stalls at restoring com.android.sharedstoragebackup for ages and won't move.
I have no SD card in the phone before or after the backup/unlock/root/restore.
I will try the RUU and see how things work. In the meantime, if there are any alternatives, in case the RUU method doesn't, please advice.
Thanks in advance.
Click to expand...
Click to collapse
U need a sd card bro Manny things are dependent on it
Sent from my One V using xda premium

cybervibin said:
U need a sd card bro Manny things are dependent on it
Sent from my One V using xda premium
Click to expand...
Click to collapse
Tried using an SD card, hopefully the missing contacts were restored. Ah well, thanks for the tip!

Related

Backing up?

Hey guys.. i was just wondering about something..
I just got a 16gb SDcard and i already have a 4gb.. on my phone i have APP2SD+ and i would like to know, if its possible to just backup my 4gig, and then just partition my 16gig and just drag and drop my backup to that one, and then i would be able to use my programs, that ive used APP2SD+ to install on the 4gig? Without having to reinstall everything?
Is that possible? and if i didnt explain well enough, please tell me
Thanks in advance,
- Mathias
Use batch install apps and user data option in titanium backup
Also click on thanks
Sent from my HTC Desire using XDA App
gurpreet3579 said:
Use batch install apps and user data option in titanium backup
Also click on thanks
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
Thanks! But i wont click the button, you dont deserve it if youre asking for it yourself..

[TIP] Backup/Restore user apps and data from old phone (without needing root)

If, like me, you're moving over to the One X from another ICS phone but don't want to root until it doesn't require htcdev.com, you can still backup/restore all your user apps and data from your old device to the One X without Titanium (which needs root) or MyBackup Pro (which costs money).
Firstly, you'll need to install the android sdk to get adb (Edit: And HTC Sync for the drivers). Once you have that, open a command prompt and cd to the adb folder, eg
Code:
cd c:\android-sdk\platform-tools
Then run the following command
Code:
adb backup -apk -all -nosystem -f c:\backup.ab
(where -all is every app, -apk means to also include the apks and -nosystem ignores the system apps and data)
You'll need to confirm the backup on the device itself for it to start and, optionally, set an encryption password for the backup.
Once it's finished, plug the One X in, enable 'USB Debugging' in Settings -> Developer Options and then run
Code:
adb restore c:\backup.ab
...then, on the One X, enter your encryption password (if specified during backup) and confirm. Once it's finished, all the apps and data from your old phone will now be restored on the One X
Note: this feature of adb only works on ICS so you can't backup from previous android versions (although i haven't actually tried).
If the backup option doesn't exist in your adb, make sure you have the latest Android SDK
tbriden said:
If, like me, you're moving over to the One X ...
Click to expand...
Click to collapse
Badass tip... Thanks & Cheers
Supercool ... Thanks a ton
Sent from my HTC One X using Tapatalk
Nice thank you!
Awesome! Thanks for sharing!
Sent from my HTC One X using XDA Premium HD app
This method really rocks! Will try it very soon
Thank you!
Btw. does it also backup the user-settings of the apps?
If i can also add a tip here to all those who are flashing custom roms and want to revert back to stock so they can do their OTA updates.
BACKUP BACKUP BACKUP your rom first before you start in the world of flashing custom roms. That way make sure you always have your BACKUP of stock and whenever you do update make sure you backup the updated rom. So if you are on 1.26 say BACKUP that rom and then flash whatever custom roms you want.
Then once your carrier releases a new update just simply return to the backup rom and follow the necessary steps to update the OTA. And then BACKUP that rom and then start again
So my tip. Always make sure you have a BACKUP.
damn... should of seen this before doing the titanium backup and nandroid on my other phone... tks mate! good tip
do you happen to know if there is a way of restoring a titanium backup without root?
the apps are easy, the data is the problem...
When I plug my HOX to my computer, my computer can't recognize it and it is shown as unknown device in device manager. I'm using latest android sdk but still can't update to the latest driver (no problem on my HD2), how can I solve it? Thx!
That's a brilliant tip, now I have to restore my desire with ICS, titanium restore and backup using this to move to one x. Can anyone else confirm this works without any issues.
Sent from my HTC One X using XDA
hetalmp said:
That's a brilliant tip, now I have to restore my desire with ICS, titanium restore and backup using this to move to one x. Can anyone else confirm this works without any issues.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
my nexus S is in Africa at the moment...so no luck with that procedure for me lol
without root I'm f*cked up, only have titanium backup and I'm not willing to kill my warranty with htcdev.
I'm having same issue installed latest SDK and updated platform tools pc doesn't recognize my hox when opening cmd it's the same type dab devices unknown command help please
Sent from my HTC One X using xda premium
I think this should sticky for long while! never knew that this existed.
One question though, when Backing up "system" apps with the "-apk" argument, will system apks also be backed up? Also when restoring system data (and apks if backed up), will the system allow writing without root permissions? If yes, could this be used as an exploit for root access?
Works perfectly, thank you
Sent from my HTC One X using xda premium
Hi, just a quick question, I want to try and factory reset my One X to see if battery life will get better. will this backup method also keep any program settings and/or progress in games? So that when you restore you don't have to configure anything and you are still where you left with games? (my instinct says no because I only see apk's getting backed up, but I could be wrong!)
casca said:
damn... should of seen this before doing the titanium backup and nandroid on my other phone... tks mate! good tip
do you happen to know if there is a way of restoring a titanium backup without root?
the apps are easy, the data is the problem...
Click to expand...
Click to collapse
Not possible i'm afraid, which is why I went with this method!
stm2008 said:
When I plug my HOX to my computer, my computer can't recognize it and it is shown as unknown device in device manager. I'm using latest android sdk but still can't update to the latest driver (no problem on my HD2), how can I solve it? Thx!
Click to expand...
Click to collapse
canna666 said:
I'm having same issue installed latest SDK and updated platform tools pc doesn't recognize my hox when opening cmd it's the same type dab devices unknown command help please
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Do you have HTC Sync? You need to run through its installer past getting the drivers installed. Then, you can cancel out and adb should work
omar302 said:
I think this should sticky for long while! never knew that this existed.
One question though, when Backing up "system" apps with the "-apk" argument, will system apks also be backed up? Also when restoring system data (and apks if backed up), will the system allow writing without root permissions? If yes, could this be used as an exploit for root access?
Click to expand...
Click to collapse
I think they'll be backed up but without root permissions they probably won't restore. (The data should if the app is already installed though).
dmestriner said:
Hi, just a quick question, I want to try and factory reset my One X to see if battery life will get better. will this backup method also keep any program settings and/or progress in games? So that when you restore you don't have to configure anything and you are still where you left with games? (my instinct says no because I only see apk's getting backed up, but I could be wrong!)
Click to expand...
Click to collapse
Yep, all user data will get restored. The apk option just makes sure the apks are included, as the default is to just backup data.
THis works for me on my home PC but not on work laptop.
I have HTC sync installed and android usb driver from google sdk
adb works (well adb devices returns the ID) and the backup kicks off, i get to put in a password etc. but on clicking ok it just hangs at the first apk
anyone seen this?
wintermute000 said:
THis works for me on my home PC but not on work laptop.
I have HTC sync installed and android usb driver from google sdk
adb works (well adb devices returns the ID) and the backup kicks off, i get to put in a password etc. but on clicking ok it just hangs at the first apk
anyone seen this?
Click to expand...
Click to collapse
Try without a password?
Yes I didn't set one
Sent from my HTC One X using Tapatalk 2
Is there enaugh space on your Laptop on the drive where the backup file is supposed to go?

[Q] cwm backup

Hi all, can someone help me with a cwm backup of a sense rom? i would like to try and restore it on my htc 'cause i cannot install a rom by a normal way. thanks in advance
What do you mean when you say you cant install a rom the normal way?
Sent from my Galaxy Nexus using xda premium
Lesicnik1 said:
What do you mean when you say you cant install a rom the normal way?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
i can't install roms via ruu nor cwm
seagerfreak said:
i can't install roms via ruu nor cwm
Click to expand...
Click to collapse
now I got it: you want to try to "restore" a nandroid backup taken on someone else's phone...? I'm not sure if this will work as I know that CWM seems to be very sensitive regarding the backup files - but I'm not absolutely sure about that (and sorry: no sense ROM here to try with)
eventcom said:
now I got it: you want to try to "restore" a nandroid backup taken on someone else's phone...? I'm not sure if this will work as I know that CWM seems to be very sensitive regarding the backup files - but I'm not absolutely sure about that (and sorry: no sense ROM here to try with)
Click to expand...
Click to collapse
even if it won't work, i want to try i tried every freakin guide, no success. so, if someone can provide me a nandroid backup of his own, i would much appreciate it. sense or no sense. i would any backup. can you help me?
I used to restore backups from my phone to my girlfriends phone all the time, it works fine but one thing I'd recommend is that if anyone is willing to do this make sure the backup is from a freshly wiped phone that hasn't been signed into a Google account or has any phone numbers saved etc etc as a nandroid contains a full snapshot of the phone including all personal details.
Sent from my GT-I9100 using xda premium
Scratch0805 said:
I used to restore backups from my phone to my girlfriends phone all the time, it works fine but one thing I'd recommend is that if anyone is willing to do this make sure the backup is from a freshly wiped phone that hasn't been signed into a Google account or has any phone numbers saved etc etc as a nandroid contains a full snapshot of the phone including all personal details.
Sent from my GT-I9100 using xda premium
Click to expand...
Click to collapse
ofcourse no personal data. you say in your sig that you have a wildfire for flashing. can you help me, please?
Anyone please?
seagerfreak said:
Anyone please?
Click to expand...
Click to collapse
sorry, but I really don't have any time to do that as it has to be done without any personalization as scratch already mentioned (I even have no time to flash my own Willy atm)
Sure, I'll get you one.
Just give me an hour or two to do a data wipe, backup and upload to Mediafire.
Alright, here you go.
Extract it to /clockworkmod/backup/
http://www.mediafire.com/?t549nnjw31jowiw
seagerfreak said:
Anyone please?
Click to expand...
Click to collapse
check your pm too.
R.V.3
Thank you both. I will deal with this tonight at home and will let you know how it went.
Sorry I didn't post 'till now. The nandroid backups didn't work. MD5 missmatch!
Have u changed the backups name? Then u get a md5 mismatch. Search the web to redo the md5 code on your backups and all is good.
Verstuurd van mijn HTC Wildfire
Hazou said:
Have u changed the backups name? Then u get a md5 mismatch. Search the web to redo the md5 code on your backups and all is good.
Verstuurd van mijn HTC Wildfire
Click to expand...
Click to collapse
yep, IIRC the backup has to reside in /clockworkmod/backups/<the-date-and-computer-time-of-the-backup> and the filenames must remain the same. Not sure about it but couldn't it also be a problem to use different versions of CWM?
i always rename my backups! by the way,he is talking about the 2 nandroids myself and lesicnik sent him from our phones respectively!!
R.V.3 (MokeeOs)
slymobi said:
i always rename my backups! by the way,he is talking about the 2 nandroids myself and lesicnik sent him from our phones respectively!!
R.V.3 (MokeeOs)
Click to expand...
Click to collapse
I've read somewhere about restoring problems and someone mentioned that renaming could end up in CWM not finding the backups anymore (thus this has nothing to do with the md5 sum of course). It's probably depending on the version...?
Yep i know that you two made those backups - therefore my suggestion with the cwm versions...
Perhaps the files were corrupted during download (just to make sure: did you pack them? That might give issues, too, due to different packing/compression modes).
Swyped from my HTC Wildfire (Buzz)
I've recalculated md5 and the phone started restoring. But im the middle of the restore process the phone restarts in cwm. Could the internal memory have a fault or something?
Sent from my GT-I9100 using Tapatalk 2
for the nand i sent you,event may be correct regarding version issues!! i use cwm 5.0.2.0 and you need a ext partition. you already said you dont use mtds so your internal memory should be ok providing you are of course making full wipes prior to flashing?
R.V.3 (MokeeOs)
didn't worked with 5.0.2.0 either. tomorow i will sell it for a low price just to escape from this stress. thank you all for the help you gave.

[Q] Backup of apps

Hello all,
Question is:
How to create a full backup of your phone (applications, photos, music and so on) that you can restore after flashing a firmware to your phone??
I am desperate making it manual (copy music, see what apps you need again, etc) each time i flash a rom!!!
Please advise!
(I hope I am not the only one having this issue .... )
Thx
kreindler said:
Hello all,
Question is:
How to create a full backup of your phone (applications, photos, music and so on) that you can restore after flashing a firmware to your phone??
I am desperate making it manual (copy music, see what apps you need again, etc) each time i flash a rom!!!
Please advise!
(I hope I am not the only one having this issue .... )
Thx
Click to expand...
Click to collapse
Nandroid backup in recovery
Sent from my HTC One X using xda app-developers app
adb backup if you're not rooted.
If rooted then titanium backup pro best app available for tasks like this. Has a batch feature to backup what you need and restore again also you can save your backup to dropbox.
Sent from my HTC One X using Tapatalk 2
It is somehow helpfull, but still:
It works for all user installed apps flawless.
BUT i cannot complete it for system apps! For none of them! It doesnt give me an error or so, it (the progress bar) just freezes when trying to backup sys apps....
My phone is of course rooted...
Sent from my HOX InsertCoin using xda app-developers app
kreindler said:
It is somehow helpfull, but still:
It works for all user installed apps flawless.
BUT i cannot complete it for system apps! For none of them! It doesnt give me an error or so, it (the progress bar) just freezes when trying to backup sys apps....
My phone is of course rooted...
Sent from my HOX InsertCoin using xda app-developers app
Click to expand...
Click to collapse
Titanium backup works fine with user or system app, you can uninstall titanium backup and delete the folder on sd card and redownload the app
Sent from my HTC One X using xda premium
I tested the 4.6 version as i wanted to pay fo it only after I see it working
Will try somehow to test the last version.... If there would be a trial...
Sent from my HOX InsertCoin using xda app-developers app

[Q] How to backup before root?

I only see ways to backup before rooting. I read this thread [TUT] How to Unlock Bootloader and Root your Htc One V and are the bootloader and root different things? Do you have to install bootloader to root or can you just root it without?
http://forum.xda-developers.com/showthread.php?t=1996665
Sent from my One V using xda premium
Bootloader is a program that loads files required during booting.Rooting is a process which gives you access to the root of the system.Bootloader is a program while rooting is a process.
As far as backing up before rooting is concerned, there is a guide here about backing up before rooting.
Searched,but couldn't find it.
And,bootloader doesn't need to be installed,it is present in the device.
And,rooting requires an unlocked bootloader unless you have s-off,which you most probably don't have.
[email protected] OP is not asking how to flash a ROM or a kernel,he's asking the difference between root and bootloader.
Sent from my One V using xda app-developers app
cybervibin said:
http://forum.xda-developers.com/showthread.php?t=1996665
Sent from my One V using xda premium
Click to expand...
Click to collapse
Umm what?
mihirengg19 said:
Bootloader is a program that loads files required during booting.Rooting is a process which gives you access to the root of the system.Bootloader is a program while rooting is a process.
As far as backing up before rooting is concerned, there is a guide here about backing up before rooting.
Searched,but couldn't find it.
And,bootloader doesn't need to be installed,it is present in the device.
And,rooting requires an unlocked bootloader unless you have s-off,which you most probably don't have.
[email protected] OP is not asking how to flash a ROM or a kernel,he's asking the difference between root and bootloader.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
Thanks. So back to my original question, how do I backup before unlocking bootloader and rooting? I don't want to lose the data on some of the apps I have.
In my reply,I said that I could not find the thread.I searched,but couldn't find it....wait I'll search again....
Sent from my One V using xda app-developers app
intrepid9 said:
I only see ways to backup before rooting. I read this thread [TUT] How to Unlock Bootloader and Root your Htc One V and are the bootloader and root different things? Do you have to install bootloader to root or can you just root it without?
Click to expand...
Click to collapse
What do u want to backup?? Ur ROM or data ( SMS contacts)???
Sent from my One V using Tapatalk 2
bahubali67 said:
What do u want to backup?? Ur ROM or data ( SMS contacts)???
Sent from my One V using Tapatalk 2
Click to expand...
Click to collapse
I think it is my rom... my game progress, my notes, etc. I already synced my contacts with Google.
intrepid9 said:
I think it is my rom... my game progress, my notes, etc. I already synced my contacts with Google.
Click to expand...
Click to collapse
Rooting procedure does not needs backup .. it will not delete your data though ...
OK,here is the guide for a full adb backup before rooting-
http://forum.xda-developers.com/showthread.php?t=1420351
Use this if you already have the adb+fastboot setup,or it won't work.
Sent from my One V using xda app-developers app
Razor! said:
Rooting procedure does not needs backup .. it will not delete your data though ...
Click to expand...
Click to collapse
What? It states here that it will be deleted.
ckpv5 said:
Note: After doing unlocking bootloader, all your data/apps are gone so make a backup to your PC first.
You will need to run the initial setup again.
Click to expand...
Click to collapse
mihirengg19 said:
OK,here is the guide for a full adb backup before rooting-
http://forum.xda-developers.com/showthread.php?t=1420351
Use this if you already have the adb+fastboot setup,or it won't work.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
Thanks. Will I be able to restore my data after I root the phone? Or will it restore the stock android that I had on there?
If you restore the adb backup,you will get to the same state(an identical image) as you were before,with all the data and game progress.
mihirengg19 said:
If you restore the adb backup,you will get to the same state(an identical image) as you were before,with all the data and game progress.
Click to expand...
Click to collapse
So, is there is any way to import my data and game progress after I root the phone?
You will not be able to import any game progress from the unlocked/unrooted phone to the newly rooted phone.
But after rooting,play again and save the game progress using Ti Backup; you can use Titanium Backup to restore app+data in any Rom after that(though,it is not recommended).
Fine.
mihirengg19 said:
You will not be able to import any game progress from the unlocked/unrooted phone to the newly rooted phone.
But after rooting,play again and save the game progress using Ti Backup; you can use Titanium Backup to restore app+data in any Rom after that(though,it is not recommended).
Click to expand...
Click to collapse
Wow. There goes my minecraft world, my 3 star angry birds levels, my unlocked "swag" in fruit ninja, and a whole bunch of other random games that had some nice saved progress.
This is worth it though because Titanium Backup is able to backup apps!
Rooting also gives better control of my phone and I can remove all those annoying network apps that I can't uninstall now.
Thanks for the info.
But,don't worry,after rooting you can easily hack games using gamecih or game saves are easily available online.just google 'angry birds game save' or for any other game you want
Edit: Root isnt required for backing up apps.you can backup using any file manager like file expert.but,to backup data,root is required.
Oh yea, that's what I meant. Backing up data
Oh yea, that's what I meant. Backing up data
mihirengg19 said:
OK,here is the guide for a full adb backup before rooting-
http://forum.xda-developers.com/showthread.php?t=1420351
Use this if you already have the adb+fastboot setup,or it won't work.
Sent from my One V using xda app-developers app
Click to expand...
Click to collapse
One last question, will I need to back up my SD card too? I installed apps on there. Will the ADB backup back those stuff up too?
No need.
The adb will create an identical image of your rom like CWM or TWRP would.
when you restore the backup,just put the sd with the games in the phone or it will say app not installed.
Or,to avoid unnecessary confusion,move the games to the phone and then do the backup.
Sent from my HTC One V using xda app-developers app

Categories

Resources