I have a rooted nexus 7 and I know how to do a nandroid backup and a Titanium Pro Backup for the apps. But all these would be useless if the tablet is lost or stolen. So, what does one need to copy to a separate computer to be able to restore in case of disaster?
I imagine copying the nandroid and Titanium backups should be the minimum (assuming I can find where these files are located in the nexus..... ), but what else should be copied to a different computer? Are the nandroid and Titanium backups alone enough to restore everything or do I need to copy more of the root, sdcard, other folders, etc?
Appreciate advice from the experts.
Sent from my Nexus 7 using Tapatalk 2
I make regular backups of my devices by just running:
adb pull /data/media
That pulls in all nandroids, titanium backups, pictures/videos, etc
AW: Backup to computer
I would backup all apps+data using titanium and then
Code:
adb pull /sdcard/
for all your music etc
Sent from my Nexus 7 running Android 4.2.2
I had the same "problem" and so I am currently writing a Java application which enables a remote backup, i.e. you can either backup whole images of the different partitions, or backup filesystems as tar files. Some days ago I wrote a small blog entry. The sources you can find on my GitHub account, but I can also provide some binaries.
Thank you all. But I am a newbie and come from the windows world and the device I would backup to is a windows laptop. So where do I enter the adb command?
Can I manually copy the sdcard contents to a folder in the windows laptop? If so, should this manual usb file copy to the laptop include the root?
Sent from my Nexus 7 using Tapatalk 2
AndDiSa said:
I had the same "problem" and so I am currently writing a Java application which enables a remote backup, i.e. you can either backup whole images of the different partitions, or backup filesystems as tar files. Some days ago I wrote a small blog entry. The sources you can find on my GitHub account, but I can also provide some binaries.
Click to expand...
Click to collapse
I read your blog entry and you are talking exactly about what I need. But because I am a newbie from the windows world the rest is over my head.
I have TWRP on my Nexus, so the OTG nandroid sounds simpler for me. I have read elsewhere that nandroid backups copied manually to a windows device via usb frequently fail when used to restore. Is that why you are uncomfortable with the TWRP OTG nandroid?
Thanks.
Sent from my Nexus 7 using Tapatalk 2
Anderson2 said:
Thank you all. But I am a newbie and come from the windows world and the device I would backup to is a windows laptop. So where do I enter the adb command?
Can I manually copy the sdcard contents to a folder in the windows laptop? If so, should this manual usb file copy to the laptop include the root?
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
You can't manually copy over 'root'
You can use windows, you know windows has a command prompt too right?
Sent from my Galaxy Nexus
I have Titanium Backup upload the backups to Dropbox after they run on a scheduled basis. I occasionally copy nandroids over but those aren't as important.
Sent from my SGH-I777 using xda premium
korockinout13 said:
I have Titanium Backup upload the backups to Dropbox after they run on a scheduled basis.
Click to expand...
Click to collapse
This
Then copy contents of /sdcard to your computer using any method you are comfortable with. If you have the drivers installed your device will show up as a storage device in my Computer.
Note 2 - Nexus 7 - Charge - Player 5.0 - Fascinate
Read twice, flash once
Pirateghost said:
You can't manually copy over 'root'
Click to expand...
Click to collapse
Aha! I didn't know I could not manually copy root. That explains things. I had assumed that if I was rooted and mounted root I could manually copy and paste it. Now I understand.
Thank you.
Sent from my Nexus 7 using Tapatalk 2
Related
I recently switched over to team win recovery from cwm. I do like the ui and functionality way better then cwm. The problem I'm having is that I cannot access my back up files from my PC via USB. When I use the file browser that is built into twrp I can see the back up files in the twrp folder. When I plug my tablet into my PC via USB and open the twrp folder it is empty. Also when I open the twrp folder in es file browser it is empty there too. I would like to store the back up on my PC rather then on my tablet. Am I missing something? I was having this same problem with titanium with backed up apps so I upgraded to the paid version and uploaded my back ups to Google drive. After that I looked in the titanium back up folder again on my PC and all the sudden the files were there when before they were not. Its very frustrating. Please help.
Sent from my Nexus 7 using Xparent Green Tapatalk 2
I had this same problem with TWRP when I started using it a couple of days ago. I'm not rooted, just unlocked and using fastboot to load the recovery image temporarily to do backups. And when I went looking for the backup files to move to my computer, I couldn't find them. It turns out to be a permissions issue, with TWRP creating the files/directories owned and visible only to root. Not a problem if backing up to a FAT formatted sdcard, but it is a problem with the Nexus 7 since it honors permissions and ownership of all files on the "sdcard".
Two fixes that I know of, though I have only used one so far:
1) After you do the backup, open up the psuedo terminal in TWRP and manually change the permissions or owner of the files recursively. Just set the starting directory in TWRP to "/sdcard/TWRP" and do "chown -R media_rw.media_rw BACKUPS" to change the owner, or do "chmod -R og+rw BACKUPS" to change the permissions. You really only have to do one of those, and I went with the owner change. I was then able to see the backup when connected to my computer, copy the files off, and then delete them to avoid taking up space on the tablet.
2) Although I haven't tried it yet, supposedly you can backup and restore directly to/from a USB thumb drive connected via OTG cable. This would be the easiest method for me, since I want backup and restore capability but without actually storing anything on the Nexus 7. I'm going to try it with a backup tomorrow, but I read about someone doing just that thing for the same reasons in a comment on reddit.
Hopefully that answers your question and gives you a way around it.
Just wanted to bump and let you know that the permissions issue seems to be properly resolved in the 2.2.1.5 version of TWRP. If you update then you shouldn't have to go through any crap to get at the backups.
Additionally, I tried doing a backup to a USB drive and it worked perfectly, so if you prefer that route it is definitely an option. Just make sure that you have the USB drive connected before you boot into TWRP, otherwise it doesn't notice the drive.
mtrs said:
I had this same problem with TWRP when I started using it a couple of days ago. I'm not rooted, just unlocked and using fastboot to load the recovery image temporarily to do backups. And when I went looking for the backup files to move to my computer, I couldn't find them. It turns out to be a permissions issue, with TWRP creating the files/directories owned and visible only to root. Not a problem if backing up to a FAT formatted sdcard, but it is a problem with the Nexus 7 since it honors permissions and ownership of all files on the "sdcard".
Two fixes that I know of, though I have only used one so far:
1) After you do the backup, open up the psuedo terminal in TWRP and manually change the permissions or owner of the files recursively. Just set the starting directory in TWRP to "/sdcard/TWRP" and do "chown -R media_rw.media_rw BACKUPS" to change the owner, or do "chmod -R og+rw BACKUPS" to change the permissions. You really only have to do one of those, and I went with the owner change. I was then able to see the backup when connected to my computer, copy the files off, and then delete them to avoid taking up space on the tablet.
2) Although I haven't tried it yet, supposedly you can backup and restore directly to/from a USB thumb drive connected via OTG cable. This would be the easiest method for me, since I want backup and restore capability but without actually storing anything on the Nexus 7. I'm going to try it with a backup tomorrow, but I read about someone doing just that thing for the same reasons in a comment on reddit.
Hopefully that answers your question and gives you a way around it.
Click to expand...
Click to collapse
Thank you for the tip. I went everywhere yesterday...
Best buy, radio shack, staples etc looking for an otg cable and had no luck. I'm going to order one online today. I will give the other techniques a try today though. I'm not familiar with pseudo terminal but I'm gonna dig in anyway. That's the best thing about these gadgets for me is hacking in and figuring out. Thanks again for your help!
mtrs said:
Just wanted to bump and let you know that the permissions issue seems to be properly resolved in the 2.2.1.5 version of TWRP. If you update then you shouldn't have to go through any crap to get at the backups.
Additionally, I tried doing a backup to a USB drive and it worked perfectly, so if you prefer that route it is definitely an option. Just make sure that you have the USB drive connected before you boot into TWRP, otherwise it doesn't notice the drive.
Click to expand...
Click to collapse
When I first started out with twrp I flashed 2.2.1.2 via adw. That was before I knew about the goo option in the play store. I've since upgraded to 2.2.1.5 and still having the same issue.
Sent from my Nexus 7 using Xparent Green Tapatalk 2
norcal61 said:
When I first started out with twrp I flashed 2.2.1.2 via adw. That was before I knew about the goo option in the play store. I've since upgraded to 2.2.1.5 and still having the same issue.
Click to expand...
Click to collapse
I think that it only works with newly created files. So your existing backups will still have the wrong permissions, but new ones will be correct.
It's the old permissions on directory structure that will mess you up though. If you delete the "/sdcard/TWRP/BACKUPS" directory through TWRP, you will lose your existing backups, but then the next backup that you do should recreate the full directory path with the correct permissions on all of the files and directories. After that you shouldn't have any trouble accessing the backups. I tested that on mine just to be sure that it worked and it did fine for me.
If you don't want to lose your existing backups then just do the owner/permissions change that I mentioned before and you will have access to the old backups as well as having the new ones created with the correct permissions from the start.
mtrs said:
I think that it only works with newly created files. So your existing backups will still have the wrong permissions, but new ones will be correct.
It's the old permissions on directory structure that will mess you up though. If you delete the "/sdcard/TWRP/BACKUPS" directory through TWRP, you will lose your existing backups, but then the next backup that you do should recreate the full directory path with the correct permissions on all of the files and directories. After that you shouldn't have any trouble accessing the backups. I tested that on mine just to be sure that it worked and it did fine for me.
If you don't want to lose your existing backups then just do the owner/permissions change that I mentioned before and you will have access to the old backups as well as having the new ones created with the correct permissions from the start.
Click to expand...
Click to collapse
Cool, that totally makes sense. Can't believe I didn't try that all ready. I will definitely make a new back up with the latest version of twrp. I'm running the same ROM and kernel as the back up that I currently have stored. Gonna give it a shot right now and let you know how it works.
Sent from my Nexus 7 using Xparent Green Tapatalk 2
mtrs said:
I think that it only works with newly created files. So your existing backups will still have the wrong permissions, but new ones will be correct.
It's the old permissions on directory structure that will mess you up though. If you delete the "/sdcard/TWRP/BACKUPS" directory through TWRP, you will lose your existing backups, but then the next backup that you do should recreate the full directory path with the correct permissions on all of the files and directories. After that you shouldn't have any trouble accessing the backups. I tested that on mine just to be sure that it worked and it did fine for me.
If you don't want to lose your existing backups then just do the owner/permissions change that I mentioned before and you will have access to the old backups as well as having the new ones created with the correct permissions from the start.
Click to expand...
Click to collapse
No luck. That's weird. I deleted the folder SD/twrp/backups containing the back up, did another back up and still not visible on my PC or in es file browser.
norcal61 said:
No luck. That's weird. I deleted the folder SD/twrp/backups containing the back up, did another back up and still not visible on my PC or in es file browser.
Click to expand...
Click to collapse
Hmm, you may have to delete "/sdcard/TWRP" as well, and just let it recreate everything. I might have changed the permissions on it already on mine, which is why it worked for me just deleting BACKUPS. I'll double-check that when I get back home and make sure.
mtrs said:
Hmm, you may have to delete "/sdcard/TWRP" as well, and just let it recreate everything. I might have changed the permissions on it already on mine, which is why it worked for me just deleting BACKUPS. I'll double-check that when I get back home and make sure.
Click to expand...
Click to collapse
It worked! I deleted the twrp folder all together and it worked like a charm. I'm now able to see and move the backups to my PC. Thank you very much for your help. It is greatly appreciated!
Sent from my Nexus 7 using Xparent Green Tapatalk 2
Some path is :
/data/media/TWRP/BACKUPS/
You need copy to /sdcard/TWRP/BACKUPS and connect to pc will see it.
trungdtdev said:
Some path is :
/data/media/TWRP/BACKUPS/
You need copy to /sdcard/TWRP/BACKUPS and connect to pc will see it.
Click to expand...
Click to collapse
I had the same issue and tried searching for "TWRP" to locate every instance of that folder. Turns out that I had previous backups in:
/mnt/shell/emulated/TWRP/BACKUPS/
I am happy to report that I was able to delete several past and hidden backups and recovered over 9gb of space!
So I would like to transfer my nexus 7 nandroid backups to my PC. Since I only have an 8GB N7, I dont want to waste alot of space with nandroid backups. My question is, when connecting my N7 to my PC via USB cable, which folders do I need to transfer? The reason I'd like to do this is because I need to do a factory restore on my device, but after I get the factory restore done, I want to be able to reflash CWM and then use the files on my computer to restore my N7 (after transferring the files back to my N7 of course) Any help would be much appreciated!
Just cut the clockworkmod folder from the internal storage. Then if you Need to restore just drop it back
Sent from my HTC One X using xda app-developers app
I have had to do this as well. I keep my nandroid and TiBu files on my PC between ROM updates.
bagofcrap24 said:
Just cut the clockworkmod folder from the internal storage. Then if you Need to restore just drop it back
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Sorry, but I never thought about this before. If I delete the CWM folder from my tablet, it will remain in my tablet folder on my PC? Then, if I need to do a restore, I can just connect to the PC and add it back to my tablet and restore? Is this correct?
No. Plug your tablet in
Open Nexus 7
Internal storage
Copy the folder clockworkmod to a place on your pc
Once complete delete it from internal storage
If you need to restore
Plug in
Open Nexus 7
Internal storage
Copy clockworkmod folder back from pc to internal storage
Sent from my Nexus 7
I realize this thread is a bit old, but I have been searching and I cant find the answer. My problem is simple. The clockworkmod folder simply does not show up on my PC. The directories that show are the ones for my apps etc, and I can't seem to dig deeper than that. On my Nexus 7 I can browse right to the backups, but I cannot access them from the PC. I have no clue why. I successfully rooted 4.2.2 yesterday and everything else I've done has worked fine, but I can only access the clockworkmod folder from the Nexus 7 itself or from the adb shell on the PC (but I have no idea if I can use the shell to move the backup file to the PC or not).
So in short, I have no idea what to do. I recognize that I am a noob here, but I have done my homework searching for this particular issue and I haven't been able to find anything resembling a solution.
Mjolniir said:
I realize this thread is a bit old, but I have been searching and I cant find the answer. My problem is simple. The clockworkmod folder simply does not show up on my PC. The directories that show are the ones for my apps etc, and I can't seem to dig deeper than that. On my Nexus 7 I can browse right to the backups, but I cannot access them from the PC. I have no clue why. I successfully rooted 4.2.2 yesterday and everything else I've done has worked fine, but I can only access the clockworkmod folder from the Nexus 7 itself or from the adb shell on the PC (but I have no idea if I can use the shell to move the backup file to the PC or not).
So in short, I have no idea what to do. I recognize that I am a noob here, but I have done my homework searching for this particular issue and I haven't been able to find anything resembling a solution.
Click to expand...
Click to collapse
The pathway for nandroid backup is not /storage/emulated/0 or /storage/sdcard0 or /sdcard
It's somewhere else, but I'm not sure exactly where. Download a root file manager like root explorer then search.
Sent from Nexus 7 3G using Tapatalk HD
stfudude said:
The pathway for nandroid backup is not /storage/emulated/0 or /storage/sdcard0 or /sdcard
It's somewhere else, but I'm not sure exactly where. Download a root file manager like root explorer then search.
Sent from Nexus 7 3G using Tapatalk HD
Click to expand...
Click to collapse
Thanks, I have been using the one that comes with ROM Toolbox. The path is data/media/clockworkmod but the problem is I can't access that from the PC. When I try to copy or move the backup file to a directory that I can reach from the PC, It fails. I just get a message saying copy failed or move failed and thats it. That happens with both ES file Explorer and the ROM Toolbox root file explorer. I can see the files just fine and they also appear to have read, write and execute permissions.
Perhaps I am doing something wrong as a user with these apps that I am not being allowed to copy or move these files.
Mjolniir said:
Thanks, I have been using the one that comes with ROM Toolbox. The path is data/media/clockworkmod but the problem is I can't access that from the PC. When I try to copy or move the backup file to a directory that I can reach from the PC, It fails. I just get a message saying copy failed or move failed and thats it. That happens with both ES file Explorer and the ROM Toolbox root file explorer. I can see the files just fine and they also appear to have read, write and execute permissions.
Perhaps I am doing something wrong as a user with these apps that I am not being allowed to copy or move these files.
Click to expand...
Click to collapse
OK, something occurred to me right after writing that reply. I have been trying to copy the whole folder containing the backup files instead of just copying the files themselves. So I went in one level deeper and selected all the individual backup files and was able to copy/paste them into a directory my PC can see and was able to copy them from there onto my PC hard drive. So problem solved I guess.
Difficult to transfer Nandroid to Win8 PC
I have spent the morning trying to find a certain way to transfer my TWRP folders/files to a Windows 8 PC, without luck:
If anyone knows of a simple way to do this please chip in.
Luckily I have an iMac which allows easy transfer from a Nexus device, so I was able to copy TWRP to the iMac and from there to a 32GB Flash drive, then carry that to the Win8 for copying. Not exactly what one would hope for in 2013.. but it works.
I looked at pulling TWRP using WUGfresh and a Nexus Toolkit and think myself lucky not to have ended up with a brick.
Any links to Howto for Windows 8 much appreciated
Mvh
Its as simple as
adb pull /data
Sent from my Galaxy Nexus
Pirateghost said:
Its as simple as
adb pull /data
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Can't get much simpler than that I guess
Thanks
So it's okay to just copy the backup itself to the computer desktop, then when I need it, transfer it back? I've been just going in to the CWM folder and copying the folder directly to my desktop. So if I need to I can just copy it back provided I put in the same folder?
nicholi2789 said:
So it's okay to just copy the backup itself to the computer desktop, then when I need it, transfer it back? I've been just going in to the CWM folder and copying the folder directly to my desktop. So if I need to I can just copy it back provided I put in the same folder?
Click to expand...
Click to collapse
of course....why would it NOT be ok?
Pirateghost said:
of course....why would it NOT be ok?
Click to expand...
Click to collapse
Well, I just wasn't sure if in the process of being transferred that windows might alter it somehow. I just transferred my Nandroid to my computer, deleted it off my phone, then transferred it back and booted into CWM. I went to restore just to see if it would show up and it did just fine.
I just wasn't 100% sure about it. It just seems too easy... lol. I have Nandroids of quite a few different Rom setups on my computer, I just never had to restore them yet. So hypothetically, if you had the storage space, you could take a Nandroid of every Rom setup you've had and be able to revert to them anytime?
I saw some video guides of people using Adb to transfer to their computers and wondered why they didn't just copy and paste it. I thought there must be a reason. I'm still relatively new to this (only been a few months since my first flash), so I'm still learning.
---------- Post added at 07:41 AM ---------- Previous post was at 07:02 AM ----------
Pirateghost said:
Its as simple as
adb pull /data
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
And what would the advantage of doing it through adb pull command instead of just simply copying it to the desktop? Is it safer or what? That's why I wonder if doing it this way is safe, when everyone else does adb commands...
Sent from my Galaxy S3 on Beans build 15 via tapatalk 2
nicholi2789 said:
Well, I just wasn't sure if in the process of being transferred that windows might alter it somehow. I just transferred my Nandroid to my computer, deleted it off my phone, then transferred it back and booted into CWM. I went to restore just to see if it would show up and it did just fine.
I just wasn't 100% sure about it. It just seems too easy... lol. I have Nandroids of quite a few different Rom setups on my computer, I just never had to restore them yet. So hypothetically, if you had the storage space, you could take a Nandroid of every Rom setup you've had and be able to revert to them anytime?
I saw some video guides of people using Adb to transfer to their computers and wondered why they didn't just copy and paste it. I thought there must be a reason. I'm still relatively new to this (only been a few months since my first flash), so I'm still learning.
---------- Post added at 07:41 AM ---------- Previous post was at 07:02 AM ----------
And what would the advantage of doing it through adb pull command instead of just simply copying it to the desktop? Is it safer or what? That's why I wonder if doing it this way is safe, when everyone else does adb commands...
Sent from my Galaxy S3 on Beans build 15 via tapatalk 2
Click to expand...
Click to collapse
If you are using cwm, the backups are not user accessible and do not show up under /sdcard, and the only way of accessing them is with ROM manager or with a root explorer... Which makes it hard to transfer back and forth from a computer. If you use adb you will be able to pull everything available under /data/media
Sent from my Nexus 7 using Tapatalk HD
That's weird... The backups show up on my computer.... I just plug in and open my phone through my computer, then I go to the CWM folder and drag and drop it to the desktop. Usually takes about ten minutes to transfer because my nandroids are huge (2.2 gb). That easy. I now have transferred it to the computer and then transferred it back to my ext SD card and used it to successfully restore. Did it yesterday.
That's weird. I wonder why it would show up on my computer and not everyone else's?
nicholi2789 said:
That's weird... The backups show up on my computer.... I just plug in and open my phone through my computer, then I go to the CWM folder and drag and drop it to the desktop. Usually takes about ten minutes to transfer because my nandroids are huge (2.2 gb). That easy. I now have transferred it to the computer and then transferred it back to my ext SD card and used it to successfully restore. Did it yesterday.
That's weird. I wonder why it would show up on my computer and not everyone else's?
Click to expand...
Click to collapse
Depends on what version you are on
Sent from my Galaxy Nexus
Pirateghost said:
Depends on what version you are on
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
Well i guess on windows 7/Beams build 15 it's visible.... But even when I still had the stock Jellybean Rom I was able to transfer my backups no problem...
In any event, I should probably get more familiar with adb so i am able to transfer that way or restore if I get bricked somehow... Adb is just so complicated to me though. I've read countless threads and other how tos, but i'm still hesitant to try anything serious. It's friggen intimidating. I have the toolkit installed and the path all set up on my computer and everything, I just haven't done much with it yet.
Sent from my Galaxy S3 on Beans build 15 via tapatalk 2
not your version of windows OR ROM.
are you on 4.2.2 with latest CWM?
I used ROM Manager to 'Backup Current ROM'. It seems like I saved a couple nandroid backups successfully but I can't find where they saved so I can transfer them to my computer. I checked internalstorage/clockworkmod/ but there is no "backup" folder present, only 3 small files called .nomedia, .salted_hash, and .settings.
When I go in ROM Manager and go to "Manager and Restore Backups" I can see three dated backups listed, where are those?
I just want to successfully perform a nandroid backup and move it to my computer. I have tinkered with this device twice and lost data both times because of unsuccessful backups to my computer (totally my fault). Still getting used to Android.
right under the "Backup Current ROM" option in ROM Manager you can see it says mnt/shell/clockwordmod/backup
It's where CWM stores backups, you cannot see the folder from computer. But you can pull it via adb or copy it to sdcard using a root explorer then move to computer
Sent from my Nexus 4 in a Faraday cage
KyraOfFire said:
right under the "Backup Current ROM" option in ROM Manager you can see it says mnt/shell/clockwordmod/backup
It's where CWM stores backups, you cannot see the folder from computer. But you can pull it via adb or copy it to sdcard using a root explorer then move to computer
Sent from my Nexus 4 in a Faraday cage
Click to expand...
Click to collapse
How exactly do I pull via adb?
provided you know how to use adb
adb pull "mnt/shell/emulated/clockwordmod" "C:/CWMbackups"
if you're not familiar with adb, well... go to the general section then read
Sent from my Nexus 4 in a Faraday cage
I'm having the same problem but I'm using TWRP. Is it possible to make TWRP store my backups in /data/media/0/TWRP instead? This is quite a mess to go through just to be able to make a copy of the backup on my PC...
Like the other guy said, just use root Explorer and copy the back ups, then past them in the faux sd card. This is the simplest way to do it. ADB can be challenging for the novice.
[email protected] via Nexus4
Don't know why...but my nandroid backups are in /mnt/shell/emulated/clockworkmod/backup
GretaLewd said:
Don't know why...but my nandroid backups are in /mnt/shell/emulated/clockworkmod/backup
Click to expand...
Click to collapse
Out of interest does anyone know why my backups are put there, I backed up using TWRP and it puts the backups there, but in recovery it looks to the sdcard/twrp folder so doesnt find the backups
same here. i've already browsed everything using file explorer but still cant find my cwm nandroid backup
Hi, i done the adb pull..
Later on if i wish to copy back to phone, do i need
to use adb push ? Thanks.
KyraOfFire said:
right under the "Backup Current ROM" option in ROM Manager you can see it says mnt/shell/clockwordmod/backup
It's where CWM stores backups, you cannot see the folder from computer. But you can pull it via adb or copy it to sdcard using a root explorer then move to computer
Sent from my Nexus 4 in a Faraday cage
Click to expand...
Click to collapse
thanks man
nsg86 said:
Hi, i done the adb pull..
Later on if i wish to copy back to phone, do i need
to use adb push ? Thanks.
Click to expand...
Click to collapse
You should be able to just drag and drop anywhere on the sdcard folder.
On another note why do I have to do an image verification every time I leave a comment?
Hi,
My tablet was having some issues yesterday and wouldn't turn on, so I managed to do a factory reset, planning on restoring everything from Titanium Backup (from my TWRP backup), however, when I look at my TWRP Backup in TiBu, there doesn't seem to be anything there?
However, when I copy the data.win file to my computer and extract it, I can see all the files and I would like to try and copy some of the saves back to my data partition, however, I can't seem to find a way to find it or write to it?
Any ideas?
Stewart
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
AndDiSa said:
There are many possibilities, on of them:
- boot Nexus 7 into recovery mode
- connect the Nexus 7 with USB to you PC
- mount /data in recovery
- adb push the files / directories you want to restore to the /data partition
- ...
There is only one problem: as you have done a factory reset / wipe the corresponding apps are no longer installed and even if you install them again,they will get a different uid so that the restored data is no longer accessible to them. Probably fix_permissions can help in that situations, but I didn't try yet.
Click to expand...
Click to collapse
Ah ok, that sucks!
Is there not anyway I can use an Android based GUI tool to copy the files from my SDCard to /data.
I am not the best with adb, but I imagine the command would be "./adb push <insert file name here> /data/com.bigideas.swys/files", would that work?
Cheers
Stewart
Yes, that should work. Unfortunately I don't know any tool providing the functionality you are looking for.
Sent from my Nexus 7 using xda app-developers app
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
TWRP should work, too, but if I remember well, the USB id is different, so you might get problems with adb if you do not have the correct driver installed.
To push a file to the device:
- unzip/untar data.win on your PC
- boot device to recovery
- on PC cmd-line:
- adb shell mount /data
- adb push <file_or_dir_to_push> /data/
But as I said, most likely it's not enough ...
Sent from my Nexus 7 using xda app-developers app
korockinout13 said:
Ummm... how about you restore it in TWRP like you're supposed to?
Sent from my SGH-I777 using xda premium
Click to expand...
Click to collapse
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
StuMcBill said:
Because that caused it to stop booting like it did when it first powered off!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
The data.win file is just a tar archive. You can extract whatever you want, although there are a couple caveats:
- the .tar archives seem to be absolutely rooted (e.g. /foo/bar instead of ./foo/bar) so you might need to fool with -C or other tar command line options to get the result you are after.
- while you certainly could use 7-zip or similar to unpack the archive and cherry pick whatever you want on a Windoze box, you probably ought to do offline unpacking using Linux so you don't lose file permission settings. An alternative would be to unpack on the device itself to someplace such as /data/local/tmp using your preferred terminal emulator (or adb command line) and busybox combination. Then you can adjust ownership via "chmod -r" as needed and "mv" to move your cherry picks into place. Note you also need to pay attention to /data/app-lib/* in addition to /data/data/* and /data/app/* cherry picks.
- To reiterate about file ownership, probably what you should do is install only the .apks you want first, and then after rebooting, note the assigned user/group IDs chosen for each app install, and change the restored /data/data/* and /data/app-lib/* files to that uid.
Confused? Well, you asked. Look up a decent Linux administration guide for clarification.
good luck
Last night I flashed a kernel and it caused a bootloop. No problem I have a backup from a few days ago. I will wipe data and flash cm and then restore tomorrow. So I flashed CM. When I went to restore via the nexus toolkit it wouldn't connect to my device. It was the new adb signing thing. So I updated the toolkit into a different folder to make sure I didn't lose the backup.
The thing is I cant find how to make the backup visible to the toolkit. I've tried putting it in the same folder as the previous version but it doesn't show on the toolkit. I've tried using NANDROID in CWM but it can't find a directory or something. What is the best way to get this backup restored? Can I get it into the toolkit?
Thank you for the help. I am at a loss of what to do here.
No one?
Sent from my Nexus 4 using Tapatalk 2
One more try and I'll give up.
I'm not to familiar with the tool kit but you can push it to cwr directory
mnt/shell/emulated/clockworkmod/backup
You can use adb to push or use a file explorer to move it over .(transfer to SD then use file explorer move to new directory)
Sent from my Nexus 4 using xda app-developers app
Thank you so much. I just couldn't find the folder. This is my first device without a real SD