[Q]–can't transfer my nanodroid backup - One (M7) Q&A, Help & Troubleshooting

I am trying to transfer my backup to my computer. But it only transfer 16mb instead of over 3giga of files.
Sent from my HTC One using XDA Premium HD app

I bet your computer can't see all files, browse the backup folder and check if all files are shown
Sent from my liquid glowing bomb shell

I can see all the file but it only trensfer like 3 file instead of the 15 files the folder
Sent from my HTC One using XDA Premium HD app

quite weird, what exactly happens when you try to copy?
Sent from my liquid glowing bomb shell

You use TWRP I guess? Latest version has this problem there is a version of 2.5.0.0 with updated touch drivers that will work, look in the TWRP thread

It has nothing to do with the touch drivers. It is a new security feature in 2.6+.
It is related to the permissions being allocated to the backup. It is supposed to be a TWRP 'security feature'... to stop someone from copying your backup from your phone.
If you download the attached zip and extract the command file inside to the folder on your pc containing ADB, if you connect your phone to your pc and double click on the command file, it will change the file permissions and allow you then to copy the backup folder to you pc.
When you run it, you will see two command prompt windows open. One closes immediately and you can close the second one manually. It only takes a second to run.
Easy.

oreitan13 said:
I am trying to transfer my backup to my computer. But it only transfer 16mb instead of over 3giga of files.
Click to expand...
Click to collapse
Hi,
It has happened to me (with my old laptop but I don't really know if it's the cause but since I have my new computer I've never had this problem again), try to reboot your phone and transfer your backup but before don't transfer any other files phone->computer or computer->phone, just your backup after the reboot.

viking37 said:
Hi,
It has happened to me (with my old laptop but I don't really know if it's the cause but since I have my new computer I've never had this problem again), try to reboot your phone and transfer your backup but before don't transfer any other files phone->computer or computer->phone, just your backup after the reboot.
Click to expand...
Click to collapse
See my post above

Whare I can find the folder with ADB
Sent from my HTC One using XDA Premium HD app

proctologist said:
It has nothing to do with the touch drivers. It is a new security feature in 2.6+.
It is related to the permissions being allocated to the backup. It is supposed to be a TWRP 'security feature'... to stop someone from copying your backup from your phone.
If you download the attached zip and extract the command file inside to the folder on your pc containing ADB, if you connect your phone to your pc and double click on the command file, it will change the file permissions and allow you then to copy the backup folder to you pc.
When you run it, you will see two command prompt windows open. One closes immediately and you can close the second one manually. It only takes a second to run.
Easy.
Click to expand...
Click to collapse
Thanks in works
Sent from my HTC One using XDA Premium HD app

oreitan13 said:
Whare I can find the folder with ADB
Sent from my HTC One using XDA Premium HD app
Click to expand...
Click to collapse
This means you don't have ADB, you need to install android sdk to get it
Sent from my liquid glowing bomb shell

proctologist said:
It has nothing to do with the touch drivers. It is a new security feature in 2.6+.
It is related to the permissions being allocated to the backup. It is supposed to be a TWRP 'security feature'... to stop someone from copying your backup from your phone.
If you download the attached zip and extract the command file inside to the folder on your pc containing ADB, if you connect your phone to your pc and double click on the command file, it will change the file permissions and allow you then to copy the backup folder to you pc.
When you run it, you will see two command prompt windows open. One closes immediately and you can close the second one manually. It only takes a second to run.
Easy.
Click to expand...
Click to collapse
Thanks for correcting my wrong. only revered to the touch driver because of maybe updated firmware. But It's not much of a feature when everyone can download the "key"

Manual Process
If you would like to do it manually do the following:
Open a command window in the Platform-Tools folder of the Android SDK and then type the following:
adb shell
su
chmod -R 777 /data/media/0/TWRP (note, if you are using 4.1 you will need to remove "/0")
exit
exit
This changes the permission so you can copy all of the data from the TWRP folder.

ineedone said:
Thanks for correcting my wrong. only revered to the touch driver because of maybe updated firmware. But It's not much of a feature when everyone can download the "key"
Click to expand...
Click to collapse
yeah, this "feature" is a pita and a waste of time

Related

adb command

I have been tryng to set up adb for my N1. I have all the files downloaded and have gone as far as to see if the computer recognizes my phone. I go into device manager and the phone and files are there but when I go to the next step to see if the computer recognizes the phone, I type in certain commands I got from XDA and I got all the way till the last command before the computer pushes out the id #'s to my phone, I type "adb devices" and I get this response "adb is not recognized as a internal or external command, operable program or batch file".
I have studied these commands and I know I have typed in the right ones, I want to learn this process and unlock my bootloader and other things.
any help would be welcomed.
Thank You
Open a terminal in the folder where you have ADB file at.
IE
I have the sdk from froyo still so i navigate my way to the android-sdk-windows folder, go into the tools folder, SHIFT right click and click on open command prompt window here.
Download this, place in the same folder as your adb on the pc, and double click...
http://db.tt/aVW40cy
Sent from my Nexus One using XDA App
danger-rat said:
Download this, place in the same folder as your adb on the pc, and double click...
http://db.tt/aVW40cy
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I dl file and opened the command prompt, worked fine but still having problem with finding my device, I noticed the adb file was hazed out and it said under it that it had moved, wonder if this is my problem??? I know I'm very close but just getting frustrated. I think I need to reinstall the adb file, I think??????
the problem is that the froyo sdk and the gingerbread sdk have different directory structures. Make sure you are in the right directory. Be it tools or platform-tools. In order to run adb (or fasboot) you need to be in the same directory as the executable (unless you've added the directories to the windows path).
Sent from my Nexus One
efrant said:
the problem is that the froyo sdk and the gingerbread sdk have different directory structures. Make sure you are in the right directory. Be it tools or platform-tools. In order to run adb (or fasboot) you need to be in the same directory as the executable (unless you've added the directories to the windows path).
Sent from my Nexus One
Click to expand...
Click to collapse
I am running gingerbread, I was in the tools folder, what folder should I be in?
If you get stuck, just take a look at this thread. It places all the files you need in one location. Much easier than the sdk...
http://www.nexusoneforum.net/forum/...mple-sdk-setup-manual-root-guide-windows.html
Sent from my Nexus One using XDA App
vinnyjr said:
I am running gingerbread, I was in the tools folder, what folder should I be in?
Click to expand...
Click to collapse
With the Gingerbread SDK, you should be in /platform-tools.

LG Marquee has root!

I have a Marquee and have successfully rooted using http://androidnerds.net/2011/10/08/lg-esteem-oneclickroot-now-ready/. Apparently the LG Esteem is close enough for this to work. After install, you will need to manually update superuser via the market.
Thanks to Hoovhartid over at androidcentral forums for suggesting this.
Can u make backup for ur gb and upload it here?
Sent from my LG-P970 using XDA App
Fatcobrah, if you can give me instructions how to back it up, I will be glad to upload it. I have root access but not CWM recovery.
tcaudill01 said:
Fatcobrah, if you can give me instructions how to back it up, I will be glad to upload it. I have root access but not CWM recovery.
Click to expand...
Click to collapse
install Rom Manager from the market
ROM manager doesn't give an option for my phone for CWM and you can't back up your ROM without it.
Sorry but not risking bricking this thing if I make the wrong choice.
tcaudill01 said:
ROM manager doesn't give an option for my phone for CWM and you can't back up your ROM without it.
Sorry but not risking bricking this thing if I make the wrong choice.
Click to expand...
Click to collapse
Hmm you can use root explorer to copy all files & folder from root folder to sdcard
Sent from my Optimus Black using Tapatalk
lesp4ul said:
Hmm you can use root explorer to copy all files & folder from root folder to sdcard
Sent from my Optimus Black using Tapatalk
Click to expand...
Click to collapse
+1.and you can use adb to pull all files and boot.img ,and we can test it in a safer way
Okay guys, I thought what the hell, I'll try the LGE Black option in ROM manager and see what happens.
IT WORKS!!!!!!!!!!!!!!!!!!
Use the volume keys to move and the search button to select.
I have backed up the ROM from the Marquee and loaded on Mediafire.
The back up wasn't good, so i pulled the link. Sorry!
Hope this helps.
Sorry folks, I don't think the backup is any good. I tried another and it looks the same. It is too small and doesn't have musch data.
Can someone point me to, or step me through, how to pull all the files with adb. I'll be glad to pull and post.
tcaudill01 said:
Sorry folks, I don't think the backup is any good. I tried another and it looks the same. It is too small and doesn't have musch data.
Can someone point me to, or step me through, how to pull all the files with adb. I'll be glad to pull and post.
Click to expand...
Click to collapse
http://www.addictivetips.com/mobile/how-to-perform-and-restore-a-nandroid-backup/
am kinda noob too..so hope this will help!xD
first of all,you need a adb.exe
you can get it from super-one-click,or android sdk,google it
for example,we pull files at d:\system
copy adb files in d:\system
and then,open cmd(win+R,enter cmd)
connect your phone before we start.
type
Code:
d:
adb pull /system .\system
ok then it will pull all the system files into d:\system
does it back up to a directory on the SD card? if it does, you need all the files in the directory. there should be a few .img files along with the nandroid.md5 file. put them all in a zip and upload it.
look in sdcard: \clockworkmod\backup\
the directory the files are in should be named with a date+time stamp
Any chance?
mike-y said:
does it back up to a directory on the SD card? if it does, you need all the files in the directory. there should be a few .img files along with the nandroid.md5 file. put them all in a zip and upload it.
look in sdcard: \clockworkmod\backup\
the directory the files are in should be named with a date+time stamp
Click to expand...
Click to collapse
I've already tried the CWM backup and it is no good, only about 18 meg in size and missing almost everything important.
That is why I was trying to get directions on how to use ADB to pull system files and image from the phone.
tcaudill01 said:
I've already tried the CWM backup and it is no good, only about 18 meg in size and missing almost everything important.
That is why I was trying to get directions on how to use ADB to pull system files and image from the phone.
Click to expand...
Click to collapse
1. Download Android SDK http://developer.android.com/sdk/index.html
2. Install it on C: (not on Program Files for Easy Access)
3. Connect your phone through USB with debugging on
4. Open Command propt from your PC. (windows button + r / type "cmd" without quotes)
5. On command prompt type "cd c:\Android\ASDK\platform-tools" (without quotes then press Enter)
6. Then type "adb pull /system" (without quotes then press Enter)
7. wait till it's finished pulling the files
Now go to C:Android\ASDK\platform-tools. Copy all files now, zip it. Upload, they'll just exclude/disect the adb ones.
this is interesting. I'm going to try to use this method for rooting our P970.
Advices are welcome
Okay, I used ADB and was able to pull the system, boot.img and recovery.img.
Not sure if any of these are correct. The system file is HUGE (434mb zipped) but looks like every thing is there. Both boot and recovery are 5.00mb each.
If this looks right and is what you are after I will upload it to mediafire.
Let me know.
go go up it!, i wanna see if we can get a nice gingerbread with lg drivers from this.
tcaudill01 said:
Okay, I used ADB and was able to pull the system, boot.img and recovery.img.
Not sure if any of these are correct. The system file is HUGE (434mb zipped) but looks like every thing is there. Both boot and recovery are 5.00mb each.
If this looks right and is what you are after I will upload it to mediafire.
Let me know.
Click to expand...
Click to collapse
Yes... that's exactly what we need... just zip it and upload it...
tcaudill01 said:
Okay, I used ADB and was able to pull the system, boot.img and recovery.img.
Not sure if any of these are correct. The system file is HUGE (434mb zipped) but looks like every thing is there. Both boot and recovery are 5.00mb each.
If this looks right and is what you are after I will upload it to mediafire.
Let me know.
Click to expand...
Click to collapse
nicely done
now let our chef master to cook it

LG thrill 4g one click cwr

hello i have tried to use one click and when i do it said that cannot stat recovery.img no such file or directory if you could help let me
thanks to colbur87
Its in the zip, but make sure you launch 1click_cwr in the same folder as recovery.img
Dont copy it out or anything like that. The program looks for recovery.img to be in the same folder as 1click_cwr.
ok thanks but i am still having a few problem when adb push recovery.img /data it said failed to copy recovery,img to /data/recovery.img permission denied
i have tried keeping it in a zip and extracting it all to the same folder only when i extract it is when i can run as admin and my phone is rooted so that not the problem
You can't run an executable in a zip file. It must be extracted first. Even if you just click it from within the zip file, it is still extracted to a temporary location......
All you need to do is:
Extract the entire folder somewhere on your computer (right click extract(depending on your os/installed zip program, the menu may be different. Just extract it!))
Run 1click_cwr as admin (right click on the icon and click run as administrator)
That it your done......
Make sure USB Debugging mode is ON.
i did extract it all to the same folder and right click as
admin and it said in the cmd
adb push recovery.img /data it said failed to copy recovery,img to /data/recovery.img permission denied
any help would be greatly appreciated
anything i can do in my super user to allow access
any chance i could run this program in Linux
by the way my debugging is on
Well, there are two error I see there....first: can't push file to phone because premission denied.
2nd: Can't change premissions on the file because its not found (because of 1st error).
I would suggest googling 'permission denied adb push' I found a lot of people with your same problem...I can only speak to my application which worked for me and a lot of other people.
Have you tried setting permissions for the /data folder? Use root explorer and long press /data folder and check all nine boxes.
Sent from my LG-P925 using XDA App
dcmcc99 said:
Have you tried setting permissions for the /data folder? Use root explorer and long press /data folder and check all nine boxes.
Sent from my LG-P925 using XDA App
Click to expand...
Click to collapse
thanks that did it
after using one click and i do a factory reset would that brick my thrill
hello.... I just recently bought a Thrill from a person off craigslist. It came rooted and I hadnt known. Is there anything I should be worried about? like if he installed anything that could be tracking the phone or anything? Also, how can I tell what method he used to root it. Basically, how do i figure out how to unroot it and erase everything so i can have the expirence of actually doing everything myself so i understand it.
just use super one click root to unroot the device but you have down load the right one click

Titanium backup update.zip question

Where is th update. Zip file located
I creaed update.Zip file but im not able to find it
Its located in /sdcard
i still not able to find it
when you create the update.zip file, and it's finished, the notification bar will have a notification about the path, check that. If it's not there, may be the zip was not created successfully.
/mnt/sdcard/update.zip
Was this solved? I can't find the file either.. it's not in the root of the sdcard, I've tried to create it twice and searched for it. Any help would be appreciated!
Thanks.
dont you get a notification of completion of the process and when you pull it down, you can see where its located ?
I'm having the same problem. If I look with root explorer, it exists on the root of the SD, but I can't see it in windows? Maybe it's a 2GB file limit thing or something?
but the update.zip is not more than 4MB
nokiamodeln91 said:
but the update.zip is not more than 4MB
Click to expand...
Click to collapse
Yeah, I tried to make a smaller one, and it's still there but I can't see it in windows. I tried renaming it as well and that didn't work either.
the7thson said:
Was this solved? I can't find the file either.. it's not in the root of the sdcard, I've tried to create it twice and searched for it. Any help would be appreciated!
Thanks.
Click to expand...
Click to collapse
Answering my own question - its definitely located in the root, just not visible in Windows no matter what I do. Use a root explorer to grab it and move it to a flash drive or remote network location, that's what I did and it worked great.
Sent from my Nexus 7 using xda app-developers app
I used wifi file transfer. I was able to download the file from there.
I had this problem. Try simply unplugging your phone from the USB cord, wait 5 seconds, then plug it back into your PC. Your PC should now see the update.zip.
One of common prob's with MTP !!
just do a search in root explorer, i got 4 locations of the same file on my galaxy s3 so you can find it in anyone of those.
and yes it is the same file in all of those locations, i even tried to change the name on one of them to check if all of them changed and they did
/data/media/0/update.zip
/mnt/sdcard/update.zip
/mnt/shell/emulated/0/update.zip
/storage/emulated/0/update.zip
Move the file out of the root directory and put it a folder, any folder. It will then show up on windows.
the7thson said:
Answering my own question - its definitely located in the root, just not visible in Windows no matter what I do. Use a root explorer to grab it and move it to a flash drive or remote network location, that's what I did and it worked great.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
This worked for me! Although I used the stock file manager. After moving the update.zip to another location using file manager, I was able to see the file via Windows as well.
just change the file name and retry. worked for me
C:\> adb pull /sdcard/update.zip

[GUIDE][Windows] Making backups with adb

NOTE: The Nexus 4 does not have a physical sd card. However, the user directory on the phone is located at /storage/sdcard0/ and will, for the purposes of this guide, be referred to as the sdcard.
Click to expand...
Click to collapse
Making sdcard backups with MTP is often unreliable. First of all, files are not always immediately updated with the ones on your phone. As a result, there may be folders missing, files that you deleted on your phone still showing up, etc. Also, the Date modified values of files are changed to the time that the files were moved onto your computer, which can cause errors when restoring them to your phone; i.e. photos in gallery not appearing in order. Other times, MTP is simply not available (if you have an older computer or an unsupported OS, for example). The best way to go about a backup is by using adb (Android Debug Bridge).
So, let's get started.
1. First, you're going to need some variant of the Android SDK/Software Development Kit as well as the Nexus 4 drivers installed. I won't show you how to do this, as there are already many guides and tutorials available.
Here's the link to the official Google ADT/Android Developer Tools.
2. Once you've got everything on your computer set up, open up the Settings app and go to About phone. Scroll down and quickly tap the Build number tile seven times. You have now enabled Developer options.
Go back, enter Developer options and enable USB debugging. An authorization pop-up will appear; allow it.
3. Now, open up a command prompt window and change directory to the location of adb on your computer. If you installed the official SDK, this will be under
Code:
folderyouextractedto\sdk\platform-tools
Connect your phone via USB and type
Code:
adb devices
You should see something like this:
Code:
List of devices attached
random numbers and letters device
If you don't, you probably don't have the drivers installed properly OR you failed to authorize your computer for USB debugging.
4. Make a folder on C:\ (or whatever your OS drive is) with NO SPACES in the file name. You can now make the backup.
Type
Code:
adb pull /storage/sdcard0/ C:\folderyoumade
You are now backing up your entire sdcard. This can take a while, depending on how many files you have on your phone.
When the copy is complete, you should see something like
Code:
x files pulled. 0 files skipped.
0 files skipped is very important, as it confirms that all of the files were copied over correctly.
To backup specific folders on it, simply change the command to that directory on your phone.
i.e.
Code:
adb pull /storage/sdcard0/folderyouwant/ C:\folderyoumade
5. To restore a backup, simply type
Code:
adb push C:\folderyoumade /storage/sdcard0/
NOTE: Restored folders DO NOT replace existing folders on your sdcard. They are merged (so pre-existing files in a folder remain, while any new files are copied in).
Click to expand...
Click to collapse
NOTE: I recommend that you do not use your phone during a backup or restore so as to make sure all files are properly copied.
Click to expand...
Click to collapse
Remember, this is only an sdcard backup. App and system data are NOT copied over. If you want to make a backup of your app data, the easiest way to do this is with Titanium Backup, Helium, or a similar app and then backup those files using adb pull. If you wish to make a complete backup of your file system (not including sdcard though), make a nandroid from recovery.
Reserved
klvnhng said:
Reserved
Click to expand...
Click to collapse
Good method if MTP failes or crashes! Thanks!
Thanks!
I get remote object '/storage/sdcard0' not a file or directory when I try pull. Help?:crying:
nphone said:
I get remote object '/storage/sdcard0' not a file or directory when I try pull. Help?:crying:
Click to expand...
Click to collapse
You forgot the frontslash at the end of 0. Try that
On some devices you can't specify destiny forlder in order to use adb push or pull, you have to use current folder:
Code:
cd C:\folderyoumade
adb pull /storage/sdcard0/folderyouwant/
It's better to backup the sdcard this way than using adb backup because it also backups the Android folder inside the sdcard.
Or much shorter;
adb pull /sdcard C:\SDCARDBackUp
__________________________________________________
Device: Google Nexus 4 (LG-E960) 16GB (MAKO)
ROM: SimpleAOSP-L-ROM (Stable Build 7)
Kernel: Stuxnet v4.5 (3.4.105)
Gapps: PA-Gapps-5.0.1-BETA4 (MINI)
_________________________________________________
Is there a way for pull to skip files which already exist in your specified destination? Sometimes it errors in the middle of a long transfer because it doesn't like a file name or something.
I was looking for a better way to push my virtual sd card backup, as using the copy and paste method in windows doesn't copy all of the files for some reason. It will copy all the files from the sd card to the PC, but not back again. I was having to search through every folder and copy and paste to get everything copied back. Thank you so much for this tutorial. I knew about adb push command, but I never tried it, because I always thought the copy and paste method would be easier. Boy was I wrong. This way pushes all the files in one try. Soooo much easier.
I have a question, can I also backup this file directory: /storage/emulated/0? Or is this something else, I checked both folder and they seem to be the same.
Hi,
I've done a full backup using adb backup, including the whole content of my sd card (using the -shared option).
However, when restoring my device using adb restore, nothing is restored on my sd card (not the apps and not the files).
Am I doing something wrong?
Is there any special option to use for the restore?
Is there any other way to restore my apps&data from my backup file (.ab) using other commands ?
The content of my backup file seems correct though.
Thanks!
NikoBe00 said:
Hi,
I've done a full backup using adb backup, including the whole content of my sd card (using the -shared option).
However, when restoring my device using adb restore, nothing is restored on my sd card (not the apps and not the files).
Am I doing something wrong?
Is there any special option to use for the restore?
Is there any other way to restore my apps&data from my backup file (.ab) using other commands ?
The content of my backup file seems correct though.
Thanks!
Click to expand...
Click to collapse
Sounds like the adb backup didnt copy the /storage/sdcard0/android/ folder on the sdcard perhaps? Maybe try using adb pull to copy the scdard seperately in addition to doing the adb backup to be safe. You could push the sdcard data back manually if the restore doesnt. See below:
scandiun said:
On some devices you can't specify destiny forlder in order to use adb push or pull, you have to use current folder:
Code:
cd C:\folderyoumade
adb pull /storage/sdcard0/folderyouwant/
It's better to backup the sdcard this way than using adb backup because it also backups the Android folder inside the sdcard.
!
Click to expand...
Click to collapse
it doesnt work
Why?
klvnhng said:
You forgot the frontslash at the end of 0. Try that
Click to expand...
Click to collapse
I font understand why is the front slash required?
I also forgot the front slash and was facing the same problem. Now its working after adding the front slash.
So, why is the front slash required and what does it mean ?
can I backup the sd card even if it is external using this method (apps are moved there too)?
edit: ok, I got the android folder from sd card, the message was:
/storage/sdcard1/Android/: 147 files pulled. 0 files skipped.,
but how am I supposed to see them?
I contacted AppMgr III, maybe they can tell me

Categories

Resources