Is there a way to execute a nandroid backup to save directly to a folder on a computer without saving it first in the sdcard folder on the device?
Sent from my Galaxy Nexus using Tapatalk
efrant said:
Is there a way to execute a nandroid backup to save directly to a folder on a computer without saving it first in the sdcard folder on the device?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
i know of ADB
http://geekyouup.blogspot.com/2011/12/android-40-adb-backup-restore.html
http://jonwestfall.com/2009/08/backup-restore-android-apps-using-adb/
you can check for more info on this if you do 'adb', read the part about backup.
bk201doesntexist said:
i know of ADB
http://geekyouup.blogspot.com/2011/12/android-40-adb-backup-restore.html
http://jonwestfall.com/2009/08/backup-restore-android-apps-using-adb/
you can check for more info on this if you do 'adb', read the part about backup.
Click to expand...
Click to collapse
Thanks, but that's not really what I'm looking for. I basically want to do a nandroid backup, but I don't want to have to clear my /sdcard every time in order to do so.
Sent from my Galaxy Nexus using Tapatalk
efrant said:
I basically want to do a nandroid backup, but I don't want to have to clear my /sdcard every time in order to do so.
Click to expand...
Click to collapse
I'm not sure I follow you: doing a nandroid backup requires you to delete /data/media?
bk201doesntexist said:
I'm not sure I follow you: doing a nandroid backup requires you to delete /data/media?
Click to expand...
Click to collapse
My 16GB of internal memory is about 14-15GB full. If I want to do a nandroid backup via CWM, it needs about 2-3GB of free space on /sdcard. Thus, I have to free up about 1-2GB if I want to do it. Now, if somehow I can use CWM or some script to do a nandroid and have it saved directly to my PC, I would not have to free up space on my device. Understand?
efrant said:
My 16GB of internal memory is about 14-15GB full. If I want to do a nandroid backup via CWM, it needs about 2-3GB of free space on /sdcard. Thus, I have to free up about 1-2GB if I want to do it. Now, if somehow I can use CWM or some script to do a nandroid and have it saved directly to my PC, I would not have to free up space on my device. Understand?
Click to expand...
Click to collapse
Sure.
CWM doesn't backup /data/media, correct?
ADB would allow you to backup all of that, even app data. You can even use 'dd' to backup full partitions/folders, not sure if you can use dd over adb shell though.
Anyways, can't think of anything else right now.
Perhaps use OTG storage and a Symlink?
If you linked /sdcard/clockworkmod to the OTG it should write direct to your mounted stick...
Target and source would both have to be ext...
Edit: You would probably have to link /data/media/clockworkmod, but you know what I mean...
bk201doesntexist said:
Sure.
CWM doesn't backup /data/media, correct?
ADB would allow you to backup all of that, even app data. You can even use 'dd' to backup full partitions/folders, not sure if you can use dd over adb shell though.
Anyways, can't think of anything else right now.
Click to expand...
Click to collapse
Hmmm... it would be good if we could use dd over adb, but I'm not sure you could specify a folder on your PC as the destination.
danger-rat said:
Perhaps use OTG storage and a Symlink?
If you linked /sdcard/clockworkmod to the OTG it should write direct to your mounted stick...
Target and source would both have to be ext...
Edit: You would probably have to link /data/media/clockworkmod, but you know what I mean...
Click to expand...
Click to collapse
Thanks. That would probably work. Ideally though, I would be able to do it with the target being fat/fat32, but I'm not sure that would be possible.
You would probably need a modified recovery?
Other phones write to fat on the sd, but since our virtual sd is ext I'm not sure recovery supports fat (though I suspect Koush writes all his recoveries along the same lines, and modifies as little as possible). Either way, I'm pretty sure symlinking doesn't support fat...
I took a look at Chainfires Stick Mount thread, and he states specifically that it doesn't support ext. He may be a good source though, and he's pretty responsive...
efrant said:
Hmmm... it would be good if we could use dd over adb, but I'm not sure you could specify a folder on your PC as the destination.
Click to expand...
Click to collapse
Yeah, that was the flaw in the whole thing.
efrant said:
My 16GB of internal memory is about 14-15GB full. If I want to do a nandroid backup via CWM, it needs about 2-3GB of free space on /sdcard. Thus, I have to free up about 1-2GB if I want to do it. Now, if somehow I can use CWM or some script to do a nandroid and have it saved directly to my PC, I would not have to free up space on my device. Understand?
Click to expand...
Click to collapse
Interested in the outcome. OTG and b/u to "external sd" sounds promising, and this thread answers a question I'd been wondering about, is it possible to b/u via adb and NOT have the nandroid saved on the "internal sd" and to the PC instead and then push it to the phone so I have a b/u of my b/u.
Edit: damnit, should've read the last 2 posts, back to the drawing board.
I'm very interested in finding a way to do this as well. I'd really like to encrypt my phone's storage, but that's somewhat impractical at present... you lose the ability to take nandroid backups, not to mention flashing zips, unless you're willing to perform a full userdata reset first.
I keep hoping that CockworkMod recovery will gain support for encrypted storage in future. Sadly, to date I've been unable to get a response from the developer... I guess it's anyone's guess at present.
efrant said:
Is there a way to execute a nandroid backup to save directly to a folder on a computer without saving it first in the sdcard folder on the device?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
Do you have busybox installed?
scandiun said:
Do you have busybox installed?
Click to expand...
Click to collapse
Yes, why?
Sent from my Galaxy Nexus using Tapatalk 2
efrant said:
Yes, why?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
And which one is the block device that you want to backup? It is under /dev/block
scandiun said:
And which one is the block device that you want to backup? It is under /dev/block
Click to expand...
Click to collapse
Not sure where you are going with this, but anyway, as I had mentioned, I want to do an nandroid backup, so I would want:
/dev/block/platform/omap/omap_hsmmc.0/by-name/system
and
/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata
but for the second, I don't want the entire thing, I want it to skip /data/media, just like a nandroid does.
efrant said:
Not sure where you are going with this, but anyway, as I had mentioned, I want to do an nandroid backup, so I would want:
/dev/block/platform/omap/omap_hsmmc.0/by-name/system
and
/dev/block/platform/omap/omap_hsmmc.0/by-name/userdata
but for the second, I don't want the entire thing, I want it to skip /data/media, just like a nandroid does.
Click to expand...
Click to collapse
OK, about backing up system, here we go. About doing the same with userdata and skipping /data/media, we'll discuss this later.
So, this is how to backup the system partition to your windows / linux / mac /BSD system using ADB, and having a rooted phone with BusyBox Pro installed.
1) Put the phone in ADB mode so you can run busybox commands there and so android is not running.
2) Install on windows Filezilla Server, create a user with no password (in this case will be scandiun), set the home dir with full permissions and with enough free space, and set timeouts to 0. Set port to 40 for example. Start the server.
3) run via adb the following commands in order:
Code:
su
cd /data
mkfifo myfifo
ftpput -v -u scandiun -P 40 COMPUTER_IP p11.img myfifo &
dd if=/dev/block/platform/omap/omap_hsmmc.0/by-name/system of=myfifo bs=512
jobs
fg 1
4) Check that you receive the files on your computer
5) Mount the img with DiskInternals Linux Reader and check its contents.
Tips:
- Fifos only can be made on linux native filesystems, for example on a FAT partition is not possible.
- Reading from a partition does not modify it.
- The bs should be adjusted to the partition block size.
Images:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
@ scandiun Great, thanks! I will give it a try later tonight.
EDIT: "Sorry, you are limited to 8 thanks per day". I'll catch you tomorrow!
efrant said:
@ scandiun Great, thanks! I will give it a try later tonight.
EDIT: "Sorry, you are limited to 8 thanks per day". I'll catch you tomorrow!
Click to expand...
Click to collapse
Just curious, did it work?
scandiun said:
Just curious, did it work?
Click to expand...
Click to collapse
I honestly haven't had time to try it out yet, but it is on my to-do list. Hopefully soon, and thanks again.
Related
PLEASE READ THE ENTIRE POST BEFORE REPLYING. IF YOU DON'T I'LL JUST REPORT YOU FOR SPAM.
just spent an hour trying to find a way to do this and no such luck. i've read that clockworkmod recovery, when doing a factory wipe does not wipe the /sdcard but i still would like to be able to make a backup.
I've tried simply doing a copy/paste but windows refuses to even attempt it. even trying to do one folder at a time gives me issues. i've resorted to using airdroid for all my file transferring needs.
But using airdroid, even trying to do a backup, it eventually goes so slow that it fails. I have 4Gb of data i want to backup, and eventually it just stops transferring. i could do it one file at a time but honestly i don't feel like spending hours.
so does anyone know of any program, or possible easy way, that won't take days, to backup the /sdcard
You could always use cloud storage. Sugarsync gives you 5GB for free. Also, you could try running an FTP server app on your phone and then connect to it from your computer. I've used FTPServer in the past and it has been pretty quick to transfer lots of data.(https://market.android.com/details?...t#?t=W251bGwsMSwxLDEsImx1dGV5LkZUUFNlcnZlciJd)
yeah, i've thought of that, my internet at home isn't that great though. 6Mbps down, 1Mbps up. so cloud storage hasn't worked that great for me in the past, but maybe i'll give that ftpserver a shot.
BTW, i would like absolute confirmation that if i choose Wipe data/factory reset in CWMR Touch 5.504 beta 3 it won't erase any of the data on /sdcard.
as i've read, any CWMR won't erase the sdcard partition, but doing that through ICS, will.
Isn't CWMR 5.5.0.4 the non-touch version? I was using 5.5.0.4 and I can confirm that "Wipe Data/Factory Reset" does NOT erase anything on /sdcard, but I haven't actually done it in any other versions.
Hmm... what about using terminal/adb shell to build a .tar(.gz) of /sdcard and just copy that over to your PC?
codesplice said:
Hmm... what about using terminal/adb shell to build a .tar(.gz) of /sdcard and just copy that over to your PC?
Click to expand...
Click to collapse
sounds like a good idea if possible. correct me if i'm wrong, but wouldn't that allow you to use adb to restore all of your sd contents as well?
palisaide said:
Isn't CWMR 5.5.0.4 the non-touch version? I was using 5.5.0.4 and I can confirm that "Wipe Data/Factory Reset" does NOT erase anything on /sdcard, but I haven't actually done it in any other versions.
Click to expand...
Click to collapse
idk, mine has touch. not sure when/how i updated to it though. good to know that it doesn't though. thank you.
rsync backup for Android
http://forum.xda-developers.com/showthread.php?t=871307
Since you're on Windows, you would need to setup an SSH server. People in that thread have done this. A Linux desktop would make things a tad easier though.
This is how I backup the microSD on all my phones.
neok44 said:
sounds like a good idea if possible. correct me if i'm wrong, but wouldn't that allow you to use adb to restore all of your sd contents as well?
Click to expand...
Click to collapse
I believe so. You'd of course have to find some other folder on your internal storage (not /sdcard) to store the tarball while it's being created.
Or heck, adb should be able to do it all for you:
Code:
adb backup -shared -noapk -nosystem
*should* (according to adb help output) backup your /sdcard to "backup.ab" in the current directory
Code:
adb restore backup.ab
*should* then restore it.
Also, checkout "adb backup"
http://forum.xda-developers.com/showthread.php?t=1420351
Allows you to set a flag to include shared content (the microSD). You could probably get it to backup just shared content.
so i've gone through my whole sd card trying to figure out exactly how much data really needs to be backed up, and it's not much. biggest thing ist he 1.5GB CWM backup. everything else is pretty tiny.
so i'm thinking of giving the cloud a try.
are there any that anyone can recommend? I'm hoping for one that i'll be able to choose what folders to backup and have it automatically do it at a time that i set.
neok44 said:
so i've gone through my whole sd card trying to figure out exactly how much data really needs to be backed up, and it's not much. biggest thing ist he 1.5GB CWM backup. everything else is pretty tiny.
so i'm thinking of giving the cloud a try.
are there any that anyone can recommend? I'm hoping for one that i'll be able to choose what folders to backup and have it automatically do it at a time that i set.
Click to expand...
Click to collapse
I like dropbox + the DropSync app - best two-way cloud sync I've found yet.
Assuming you can get an MTP connection with your pc then try copying across the sdcard folders 1 at a time to back them up. First time I tried to back up the entire contents in a single go it seemed like it was stalled but it was actually just trying to work out how long it would take before starting and probably would have succeeded if left long enough. Copying the android folder and sometimes stall a copy so do that last.
Alternatively if you dont want to use cloud storage (which would take quite some time depending on upload speeds) you could try the backup option in my ToolKit which uses the latest version of adb and will give you an option to include internal storage in the backup file. Just make sure to check the backup file size after it completes as that function is a bit buggy in adb and has been known not to restore everything such as pictures and music so copy across what you can before starting.
Mark.
Thanks to both of you. I was able to do files one at a time and get them over. and luckily nothing was that big, except for the CWM backups. freaking 1.5GB, that alone is the reason why i wish i had a 32GB phone.
good to know that the toolkit has that option. i'll be sure to use that if i ever need to do a full backup in a hurry.
The dropbox dropsync solution sounds interesting and i'm gonna give that a try. basically i'm just trying to make sure my backup files from apps that don't use cloud syncing will be secure in case something ever goes wrong. with having only 13Gb in the phone i'm keeping most of my big stuff like movies in a 32gb microsd that i'm connecting with an OTG cable.
Although I don't think the tone of the first line of your OP is conducive to soliciting help, I'll thought in my two cents anyway.
The contents of your sdcard is located in /data/media. If you connect your phone to your PC, and open a command prompt in the same directory as your ADB.exe file, the following command will copy everything from your sdcard to your PC in a folder called sdcard_backup:
adb pull /data/media /sdcard_backup
Although not speedy by any means, I've successfully backed up over 8GB this way.
I have to move to a new phone. I backed up my old one to the SDcard. I placed it in the new phone and booted into TWRP. When I enter the restore menu, I go to ext card and it doesn't show any backups. I am not sure why TWRP does not see my sdcard backups so I can restore my backup.
caseyatbt said:
I have to move to a new phone. I backed up my old one to the SDcard. I placed it in the new phone and booted into TWRP. When I enter the restore menu, I go to ext card and it doesn't show any backups. I am not sure why TWRP does not see my sdcard backups so I can restore my backup.
Click to expand...
Click to collapse
There different serial#s it dosent recognize that phone I had the same problems when I switched my s3 to another s3
Sent from my SPH-L900 using xda premium
Will it work with CWM or just start from scratch?
Sent from the Delta Quadrant using XDA Premium
caseyatbt said:
Will it work with CWM or just start from scratch?
Sent from the Delta Quadrant using XDA Premium
Click to expand...
Click to collapse
CWM backups can only be restored with CWM, and TWRP backups can only be restored with TWRP
CNexus said:
CWM backups can only be restored with CWM, and TWRP backups can only be restored with TWRP
Click to expand...
Click to collapse
Sorry, what I meant was, if I install CWM, will I have a better shot at a restoration or does CWM check serials as well?
caseyatbt said:
Sorry, what I meant was, if I install CWM, will I have a better shot at a restoration or does CWM check serials as well?
Click to expand...
Click to collapse
And that's what I'm answering. CWM won't even attempt to restore it (much less check the serial) because its in a different format than what it saves its backups as, you have to be on TWRP if you even wanna try it
caseyatbt said:
I have to move to a new phone. I backed up my old one to the SDcard. I placed it in the new phone and booted into TWRP. When I enter the restore menu, I go to ext card and it doesn't show any backups. I am not sure why TWRP does not see my sdcard backups so I can restore my backup.
Click to expand...
Click to collapse
Are you just trying to restore apps or what?
@OP I actually started a similar thread a while back that could have given you the solution make a backup on your new phone using twrp, then on your sd card within the twrp folder there should be two folders with different numbers, one will have the backup you just made and the other will have your old backups. Move the files with the old backups into the folder which contains the new backup, then delete the old, empty folder. Now you can restore your old backups
Sent from my SPH-L710 using Tapatalk 2
CNexus said:
And that's what I'm answering. CWM won't even attempt to restore it (much less check the serial) because its in a different format than what it saves its backups as, you have to be on TWRP if you even wanna try it
Click to expand...
Click to collapse
I meant install CWM, then make a backupwith CWM and use CWM on a new phone.
imaconeheadXD said:
@OP I actually started a similar thread a while back that could have given you the solution make a backup on your new phone using twrp, then on your sd card within the twrp folder there should be two folders with different numbers, one will have the backup you just made and the other will have your old backups. Move the files with the old backups into the folder which contains the new backup, then delete the old, empty folder. Now you can restore your old backups
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
I tried that and it says it failed as it finishes the restore.
I decided to just restore from Titanium Backup and do the set it up over again.
WAIT
Do you mean to say that you still have the old phone? If so, there's a way to make an ODIN flashable tar of the exact state of your old phone so you can flash to your new phone
Here's a link: http://forum.xda-developers.com/showthread.php?t=1777579
Partitions are the same so you can use the script someone in there made
CNexus said:
WAIT
Do you mean to say that you still have the old phone? If so, there's a way to make an ODIN flashable tar of the exact state of your old phone so you can flash to your new phone
Here's a link: http://forum.xda-developers.com/showthread.php?t=1777579
Partitions are the same so you can use the script someone in there made
Click to expand...
Click to collapse
That is cool! Thanks. I have made the images, but making them flash-able seems a little less clear.
caseyatbt said:
I have to move to a new phone. I backed up my old one to the SDcard. I placed it in the new phone and booted into TWRP. When I enter the restore menu, I go to ext card and it doesn't show any backups. I am not sure why TWRP does not see my sdcard backups so I can restore my backup.
Click to expand...
Click to collapse
TWRP bases backups and restores on serial number in a couple places. I've only done this from same phone to other of the same phones I've gotten of the same model (e.g. S3 to S3, HTC One 32GB to HTC One 64GB). Not sure how it would work from different model to different model - spose it depends on what you are restoring., model, rom, etc.
TWRP backup directory is sdcard/TWRP/BACKUPS/[SerialNumberOfDevice]/[timeStampOfBackup]/
Change the directory name to the serial number of the new device you want to restore to. Then, go to /[timeStampOfBackup]/recovery.log and do a find/replace on all of the old serial number with the new serial number - I believe there are 8 or 9 instances.
If you change the directory name from w/in TWRP recovery console, reboot - then it'll show up as a recovery option... though, you'll need to update the log file another way -if it's on an sdcard (vs. an HTC One where there is no true sdcard) neither should be a problem.
cheers
hex90 said:
TWRP bases backups and restores on serial number in a couple places. I've only done this from same phone to other of the same phones I've gotten of the same model (e.g. S3 to S3, HTC One 32GB to HTC One 64GB). Not sure how it would work from different model to different model - spose it depends on what you are restoring., model, rom, etc.
TWRP backup directory is sdcard/TWRP/BACKUPS/[SerialNumberOfDevice]/[timeStampOfBackup]/
Change the directory name to the serial number of the new device you want to restore to. Then, go to /[timeStampOfBackup]/recovery.log and do a find/replace on all of the old serial number with the new serial number - I believe there are 8 or 9 instances.
If you change the directory name from w/in TWRP recovery console, reboot - then it'll show up as a recovery option... though, you'll need to update the log file another way -if it's on an sdcard (vs. an HTC One where there is no true sdcard) neither should be a problem.
cheers
Click to expand...
Click to collapse
I'm having a similar issue with TWRP not seeing backups but my device didn't change. I found my serial number but it's a long, 14 digit number and the folder you mention above is about 8 characters long consisting of characters and numbers. I tried to convert my serial number (is Hex I believe) to ASCII but it doesn't render the same name as the folder (not even close in terms of length). Any idea as to how I can convert it?
robertfah said:
I'm having a similar issue with TWRP not seeing backups but my device didn't change. I found my serial number but it's a long, 14 digit number and the folder you mention above is about 8 characters long consisting of characters and numbers. I tried to convert my serial number (is Hex I believe) to ASCII but it doesn't render the same name as the folder (not even close in terms of length). Any idea as to how I can convert it?
Click to expand...
Click to collapse
I think the easiest way of getting the "new" serial number is just to create a new TWRP backup for your phone (maybe something small like just recovery). It'll create a new folder with the name of your "new" serial number. That's the one you'd want to use.
robertfah said:
I'm having a similar issue with TWRP not seeing backups but my device didn't change. I found my serial number but it's a long, 14 digit number and the folder you mention above is about 8 characters long consisting of characters and numbers. I tried to convert my serial number (is Hex I believe) to ASCII but it doesn't render the same name as the folder (not even close in terms of length). Any idea as to how I can convert it?
Click to expand...
Click to collapse
Connect your phone to your computer (make sure drivers are installed)
Download the adb_windows.zip from my devhost here: http://d-h.st/qmi
Then unzip that and open a command prompt in the unzipped directory (Shift + Right click > Open command prompt here)
Type "adb devices", press enter, and you'll have your serial in the following form:
Code:
xxxxxxx device
Last step: profit
topherk said:
I think the easiest way of getting the "new" serial number is just to create a new TWRP backup for your phone (maybe something small like just recovery). It'll create a new folder with the name of your "new" serial number. That's the one you'd want to use.
Click to expand...
Click to collapse
Yeah I did that but once again, I couldn't see it through TWRP (but could through Root Explorer or Windows Explorer).
CNexus said:
Connect your phone to your computer (make sure drivers are installed)
Download the adb_windows.zip from my devhost here: http://d-h.st/qmi
Then unzip that and open a command prompt in the unzipped directory (Shift + Right click > Open command prompt here)
Type "adb devices", press enter, and you'll have your serial in the following form:
Code:
xxxxxxx device
Last step: profit
Click to expand...
Click to collapse
Thanks for this...after doing this, the serial number was the same, however, I ran across this thread http://forum.xda-developers.com/showthread.php?t=2178264&highlight=twrp+not+finding+backups&page=2 and found Post #14 to be very helpful and my possible solution.
As it turns out, when I connect my phone to my computer, I get the drive "SPH-L710" and the folders "Card" and "Phone" within that. Phone has a 0 folder in it and I copied the TWRP from Phone\TWRP to 0\TWRP and then I was able to view them and restore them in recovery.
So why isn't TWRP storing the backups in 0\TWRP? What is supposed to be in the 0 folder and the Phone folders? it looks like I have some duplicate folders going on:
Phone:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
0:
This actually worked for me. I bricked my LG G3, got Verizon to send me a replacement LG G3, and then I used the TWRP backup that I had made to restore everything. Thanks for this information.
How I got it to work was I made a TWRP backup on the new phone, transferred the backup that I had made on the old phone to the new phone, rename the new backup to something, and rename the old backup to to match the original name of the new backup.
TWRP backup directory is sdcard/TWRP/BACKUPS/[SerialNumberOfDevice]/[timeStampOfBackup]/
Change the directory name to the serial number of the new device you want to restore to. Then, go to /[timeStampOfBackup]/recovery.log and do a find/replace on all of the old serial number with the new serial number - I believe there are 8 or 9 instances.
If you change the directory name from w/in TWRP recovery console, reboot - then it'll show up as a recovery option... though, you'll need to update the log file another way -if it's on an sdcard (vs. an HTC One where there is no true sdcard) neither should be a problem.
cheers[/QUOTE]
Thanks I got it working like this
During the TWRP restore process (old phone backup to new phone but same model), should I restore every partition to have everything working properly? or maybe just system+data?
I mean about screen as below:
I am not sure if I should also restore partition as: modem, boot?
I'm having problems w/ my GS3 after accidentally restarting w/ no OS.
See original post here: http://forum.xda-developers.com/showpost.php?p=41306538&postcount=5979
I got a response, here: http://forum.xda-developers.com/showpost.php?p=41306968&postcount=5980
I'm unsure of what exactly they meant in the response, but I found a walkthrough, here: http://www.androidjunkies.com/how-to-unroot-att-galaxy-s3-flash-stock-ucdlk3-firmware/
I feel like I've done this, but I'll try it out anywho. I'm wondering:
1. Could it an issue of kernels?
2. Would it help if I wiped everything on my sd card(s)? If so, how do I do that?
3. Could it be an issue of having/not having my sd cards mounted?
Thank you for your generous help.
hoss9009 said:
I'm having problems w/ my GS3 after accidentally restarting w/ no OS.
See original post here: http://forum.xda-developers.com/showpost.php?p=41306538&postcount=5979
I got a response, here: http://forum.xda-developers.com/showpost.php?p=41306968&postcount=5980
I'm unsure of what exactly they meant in the response, but I found a walkthrough, here: http://www.androidjunkies.com/how-to-unroot-att-galaxy-s3-flash-stock-ucdlk3-firmware/
I feel like I've done this, but I'll try it out anywho. I'm wondering:
1. Could it an issue of kernels?
2. Would it help if I wiped everything on my sd card(s)? If so, how do I do that?
3. Could it be an issue of having/not having my sd cards mounted?
Thank you for your generous help.
Click to expand...
Click to collapse
I installed triangleaway and it's saying that I'm not rooted, but somehow still have access to CMW.
Thoughts?
I'm going to try all the other steps.
hoss9009 said:
I installed triangleaway and it's saying that I'm not rooted, but somehow still have access to CMW.
Thoughts?
I'm going to try all the other steps.
Click to expand...
Click to collapse
CMW or any recovery for that matter has nothing to do with any rom or whatever you are running. Recoveries on this device are on their own partition.
If you are trying to go back to stock:
1.) Go here and download the correct firmware for your device. http://forum.xda-developers.com/showthread.php?t=1968625
2.) Flash that firmware with odin.
3.) After that's done, reboot into recovery and factory reset.
4.) After that's done you will be fully stock.
5.) You should really consider reading up on all of this stuff. If you don't, you take the risk of bricking your expensive device and rendering it useless.
task650 said:
If you are trying to go back to stock:
1.) Go here and download the correct firmware for your device.
2.) Flash that firmware with odin.
3.) After that's done, reboot into recovery and factory reset.
4.) After that's done you will be fully stock.
5.) You should really consider reading up on all of this stuff. If you don;t you take the risk of bricking your expensive device and rendering it useless.
Click to expand...
Click to collapse
Thank you so much. I know some, but not everything. I'm missing pieces to the puzzle.
I just tried to make a nandroid of my stock rom as is right now and I got the error:
Code:
No /sdcard/ .android_secure found. Skipping backup of applications on external storage. No sd-ext found. Skipping backup of sd-ext. Generating md5 sum... Backup complete!
Why would it say that about my sd card? I feel like directories on my sd card(s) aren't lining up w/ what android wants.
Thoughts?
hoss9009 said:
Thank you so much. I know some, but not everything. I'm missing pieces to the puzzle.
I just tried to make a nandroid of my stock rom as is right now and I got the error:
Code:
No /sdcard/ .android_secure found. Skipping backup of applications on external storage. No sd-ext found. Skipping backup of sd-ext. Generating md5 sum... Backup complete!
Why would it say that about my sd card? I feel like directories on my sd card(s) aren't lining up w/ what android wants.
Thoughts?
Click to expand...
Click to collapse
That's not an error. CMW or any recovery for that matter will not make nandroids of anything on your external sdcard partition. Its supposed to say that.
task650 said:
That's not an error. CMW or any recovery for that matter will not make nandroids of anything on your external sdcard partition. Its supposed to say that.
Click to expand...
Click to collapse
No no, I tried to make a nandroid backup OF my system and put it on ON my sd card (which I've done a billion times before).
task650 said:
That's not an error. CMW or any recovery for that matter will not make nandroids of anything on your external sdcard partition. Its supposed to say that.
Click to expand...
Click to collapse
Is there a way to wipe/format both sd cards? i have everything backup on my comp.
hoss9009 said:
Is there a way to wipe/format both sd cards? i have everything backup on my comp.
Click to expand...
Click to collapse
Use your comp to format your external sdcard. Wipe the internal in recovery.
task650 said:
Use your comp to format your external sdcard. Wipe the internal in recovery.
Click to expand...
Click to collapse
Thanks. Really hoping this works. I don't know why it says that I'm not rooted when I can access CMW.
hoss9009 said:
Thanks. Really hoping this works. I don't know why it says that I'm not rooted when I can access CMW.
Click to expand...
Click to collapse
You're not reading what I posted is why you don't understand. Its very simple. Root has nothing to do with recovery. CMW is a recovery. Not a root method. Just because you have a custom recovery doesn't mean you have root. You have to root your device if you want it rooted.
task650 said:
You're not reading what I posted is why you don't understand. Its very simple. Root has nothing to do with recovery. CMW is a recovery. Not a root method. Just because you have a custom recovery doesn't mean you have root. You have to root your device if you want it rooted.
Click to expand...
Click to collapse
Ah, ok. I've always that they were synonymous.
But here's where I'm confused. I've used oden and have unroot/rooted about 5 times in the last few days. Also, while using Oden, it gives me the i9300 label at the top. Is that normal/correct?
hoss9009 said:
Ah, ok. I've always that they were synonymous.
But here's where I'm confused. I've used oden and have unroot/rooted about 5 times in the last few days. Also, while using Oden, it gives me the i9300 label at the top. Is that normal/correct?
Click to expand...
Click to collapse
You don't want to use anything i9300 related. Please only use what I've linked you in an earlier post. All of this is very simple and I've given you all of the steps to do this correctly. There's no need for you to be making this complicated. Everything you need is all right in front of you here.
task650 said:
You don't want to use anything i9300 related. Please only use what I've linked you in an earlier post. All of this is very simple and I've given you all of the steps to do this correctly. There's no need for you to be making this complicated. Everything you need is all right in front of you here.
Click to expand...
Click to collapse
Thank you so much. But I don't get why it says my phone is a i9300. It's an ATT phone. When I plug into my comp, oden tells me it's a i9300 phone. I'm afraid I really messed it up.
I just wiped my cache and it says
Code:
Formatting /cache
Cache wipe complete.
E:unknown volume for path [sd-ext]
Dalvik Cache wiped
Should I be concerned if it says "E:unknown volume for path [sd-ext]"??
hoss9009 said:
Thank you so much. But I don't get why it says my phone is a i9300. It's an ATT phone. When I plug into my comp, oden tells me it's a i9300 phone. I'm afraid I really messed it up.
I just wiped my cache and it says
Code:
Formatting /cache
Cache wipe complete.
E:unknown volume for path [sd-ext]
Dalvik Cache wiped
Should I be concerned if it says "E:unknown volume for path [sd-ext]"??
Click to expand...
Click to collapse
Also, in the "Mounts and Storage Menu" of CMW, I get this:
Code:
- mount /system
- unmount /data
- unmount /cache
- mount /emmc
- mount /sdcard
(all format options below these)
Should I be concerned w/ the "unmounted" items?
hoss9009 said:
Also, in the "Mounts and Storage Menu" of CMW, I get this:
Code:
- mount /system
- unmount /data
- unmount /cache
- mount /emmc
- mount /sdcard
(all format options below these)
Should I be concerned w/ the "unmounted" items?
Click to expand...
Click to collapse
This is what I was talking about...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
hoss9009 said:
This is what I was talking about...
View attachment 1957243
Click to expand...
Click to collapse
OK.... so I'm assuming the oden I was using was not the best to use. I found this article: http://gs3.wonderhowto.com/how-to/root-your-samsung-galaxy-s3-and-flash-stock-roms-using-odin-for-windows-0142713/, and have it working now.
This oden looked different:
I don't know why, but I got it to work this time. I'll attempt to install AOKP and see what happens....
hoss9009 said:
OK.... so I'm assuming the oden I was using was not the best to use. I found this article: http://gs3.wonderhowto.com/how-to/root-your-samsung-galaxy-s3-and-flash-stock-roms-using-odin-for-windows-0142713/, and have it working now.
This oden looked different: View attachment 1957279
I don't know why, but I got it to work this time. I'll attempt to install AOKP and see what happens....
Click to expand...
Click to collapse
Ok, @Task650. Everything's working :victory:
hoss9009 said:
Ok, @Task650. Everything's working :victory:
View attachment 1957376
Click to expand...
Click to collapse
My recommendation: do not try to root until you know all of the common problems that are encountered for the device model your using. Your problems here should have been able to been resolved within 15 to 20 minutes (not including setting your phone back up). Had you done your due diligence beforehand and learned more, this would have been easy and never an issue.
I would highly suggest you stick with the stock rom until you have thoroughly educated yourself. While I am not a developer, I respect those who are. As such I take upon myself to learn as much as I can so I do not have to bug them about any problems I run into.
I did a search to try and find an answer but couldn't find anything, so apologies if it has already been asked/answered..
Alrighty, so I got my shiny new Nexus 7 Flo for Christmas, and rooted it straight away. Everything seems to be fine, but just realised i hadn't done a nandroid backup yet. Once the backup was finished, I rebooted so I could move the backup to my laptop to free up ~4gb from my Nexus, but the backup location is different from the normal /sdcard/ClockworkMod/Backup, and I finally found it (using a root file manager) in data/media/clockworkmod/backup.
SO, my question is this..
Since it is apparent that Nexus 7 doesn't support USB Mass Storage Mode, I cannot access said nandroid backup without using a root file manager to move it to my MTP-accessible /sdcard folder, then moving to my laptop. That being the case, if something funky were to happen to my tablet and require me to restore the nandroid backup, how would I be able to put the nandroid backup back onto my tablet, since it would require the root file manager to move (which I obviously wouldn't be able to use if I'm in a bootloop for example).
As i was typing this I thought that mounting USB storage in recovery might do the trick, but nothing appears in My Computer when I select mount USB storage in CWM..
Any ideas/suggestions would be greatly appreciated, thanks
-Nexus 7 2013, stock 4.4.2/stock kernel, CWM Touch Recovery 6.0.4.3
DrRuckingFetard said:
I did a search to try and find an answer but couldn't find anything, so apologies if it has already been asked/answered..
Alrighty, so I got my shiny new Nexus 7 Flo for Christmas, and rooted it straight away. Everything seems to be fine, but just realised i hadn't done a nandroid backup yet. Once the backup was finished, I rebooted so I could move the backup to my laptop to free up ~4gb from my Nexus, but the backup location is different from the normal /sdcard/ClockworkMod/Backup, and I finally found it (using a root file manager) in data/media/clockworkmod/backup.
SO, my question is this..
Since it is apparent that Nexus 7 doesn't support USB Mass Storage Mode, I cannot access said nandroid backup without using a root file manager to move it to my MTP-accessible /sdcard folder, then moving to my laptop. That being the case, if something funky were to happen to my tablet and require me to restore the nandroid backup, how would I be able to put the nandroid backup back onto my tablet, since it would require the root file manager to move (which I obviously wouldn't be able to use if I'm in a bootloop for example).
As i was typing this I thought that mounting USB storage in recovery might do the trick, but nothing appears in My Computer when I select mount USB storage in CWM..
Any ideas/suggestions would be greatly appreciated, thanks
-Nexus 7 2013, stock 4.4.2/stock kernel, CWM Touch Recovery 6.0.4.3
Click to expand...
Click to collapse
if you have adb set up correctly and the path variable set - just navigate to where you want to save your Nandroid and type:
Code:
adb pull /data/media/clockworkmod/backup/
To put it back on your device you can use adb push for single files or the entire directory contents to wherever you want to put the files on your device.
Code:
adb push /path/to/saved/file_or_directory /target_dir_on_device
Then restore using cwm or twrp as needed.
Alternatively you could also use fastboot to flash your recovery images.
hope this helps,
Cheers!
Ahh i didn't even think of using adb pull to work around this, thanks heaps!
Any ideas as to why I can't mount usb storage within recovery?
Sent from my Nexus 7 using XDA Premium HD app
DrRuckingFetard said:
I did a search to try and find an answer but couldn't find anything, so apologies if it has already been asked/answered..
Alrighty, so I got my shiny new Nexus 7 Flo for Christmas, and rooted it straight away. Everything seems to be fine, but just realised i hadn't done a nandroid backup yet. Once the backup was finished, I rebooted so I could move the backup to my laptop to free up ~4gb from my Nexus, but the backup location is different from the normal /sdcard/ClockworkMod/Backup, and I finally found it (using a root file manager) in data/media/clockworkmod/backup.
SO, my question is this..
Since it is apparent that Nexus 7 doesn't support USB Mass Storage Mode, I cannot access said nandroid backup without using a root file manager to move it to my MTP-accessible /sdcard folder, then moving to my laptop. That being the case, if something funky were to happen to my tablet and require me to restore the nandroid backup, how would I be able to put the nandroid backup back onto my tablet, since it would require the root file manager to move (which I obviously wouldn't be able to use if I'm in a bootloop for example).
As i was typing this I thought that mounting USB storage in recovery might do the trick, but nothing appears in My Computer when I select mount USB storage in CWM..
Any ideas/suggestions would be greatly appreciated, thanks
-Nexus 7 2013, stock 4.4.2/stock kernel, CWM Touch Recovery 6.0.4.3
Click to expand...
Click to collapse
USB is not native on the Nexus 7 Flo so USB only works with an stick mount type app. I don't know if any will do this without root but you can't mount USB in recovery regardless. As to how to get a nandroid to your tablet, adb is your friend. 4GB is a an unusually huge nandroid. I always recommend keeping a nandroid or at least a ROM zip on you internal memory to flash. It save some hassles.
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app
LinearEquation said:
USB is not native on the Nexus 7 Flo so USB only works with an stick mount type app. I don't know if any will do this without root but you can't mount USB in recovery regardless. As to how to get a nandroid to your tablet, adb is your friend. 4GB is a an unusually huge nandroid. I always recommend keeping a nandroid or at least a ROM zip on you internal memory to flash. It save some hassles.
Sent from my Nexus 7 Flo running Odex SinLess ROM 4.4.2 with ElementalX kernel using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I'm not referring to mounting a USB stick to the tablet, I already use stickmount for that. I'm talking about mounting the Nexus to the computer so files can be moved to it while in recovery.
As for the nandroid file size, it's 4gb because of my apps/app data backed up within it.. If there is a way to nandroid backup without also backing up /data folder I'd love to know how (but I'll also feel like an idiot because I've been trying to work out how to do that for a while lol..)
Sent from my Nexus 7 using XDA Premium HD app
If you are using Obackup ( Online Nandroid Backup ) you can select your partitions if you do a custom backup. You could also do it the hard way using the Linux dd command for the partitions you want in your backup
Sent from my Nexus 7 using XDA Premium HD app
oldsoldier2003 said:
If you are using Obackup ( Online Nandroid Backup ) you can select your partitions if you do a custom backup. You could also do it the hard way using the Linux dd command for the partitions you want in your backup
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
That sounds like a great idea, but with an upload speed of 30kb/s to dropbox with my internet connection, I wouldn't even bother trying to upload a file this size lol...
Any other way to perform a nandroid backup without the /data folder included?
Okay so I actually just noticed the first line of the XDA post about it (whoops)-
:good:Make a backup, zip it and upload it on your Dropbox or Google Drive in ONE CLICK only !!! (upload is just a feature, you can make the backup and just keep it on your device)
Click to expand...
Click to collapse
I'll give that a go then since it will let me select partitions to backup, thank you!
Okay so I got the app, tried looking through the XDA thread for it to find an answer but it didn't really explain many of the options so here's my next n00b question(s)-
1. Backup type: use "CWM Full" or "CWM Incremental"? What's the difference?
2. Being that the CWM Recovery nandroid location is /data/media/clockworkmod/backup, should I set OBackup to save to this location or leave it at the default /mnt/sdcard, and if I do, will it still be recognised within recovery to restore said backup?
DrRuckingFetard said:
Okay so I got the app, tried looking through the XDA thread for it to find an answer but it didn't really explain many of the options so here's my next n00b question(s)-
1. Backup type: use "CWM Full" or "CWM Incremental"? What's the difference?
2. Being that the CWM Recovery nandroid location is /data/media/clockworkmod/backup, should I set OBackup to save to this location or leave it at the default /mnt/sdcard, and if I do, will it still be recognised within recovery to restore said backup?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup
It appears I don't have permissions to upload an attachment...
https://plus.google.com/u/0/101829893094741883826/posts/SUMLDu313EG
The example here is for a backup without the data partition.
You can save the nandoid to the /sdcard/ directory - because I use TWRP mine go to /sdcard/TWRP/BACKUPS/<device serial number>
For CWM I am not sure of the option but it would be custom if you only want certain partitions.
regardless as long as you know where it is you can restore it. If you use nandroid manager it will scan and find your backup paths for you and restore them, or again you can just point your recovery to them.
oldsoldier2003 said:
https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup
It appears I don't have permissions to upload an attachment...
https://plus.google.com/u/0/101829893094741883826/posts/SUMLDu313EG
you can save the nandoid to the /sdcard/ directory becuae I use TWRP mine go to /sdcard/TWRP/BACKUPS/<device serial number>
Click to expand...
Click to collapse
If i selected /data/media as the backup directory, would that make the backup visible within recovery now wouldn't it? Tried using Obackup and backed up to /mnt/sdcard/clockworkmod but recovery didn't see any backups on the device..
Sent from my Nexus 7 using XDA Premium HD app
oh and I never bother trying to save uncompressed backups to drop box they take forever. I usually just adb pull them to my desktop then stash an archival copy on dvd . zipping and uploading to drive/box/dropbox are also good options but as you said they take a very long time. It is just easier for me to maintain multiple copies on different computers and media in the house...
---------- Post added at 01:55 AM ---------- Previous post was at 01:52 AM ----------
DrRuckingFetard said:
If i selected /data/media as the backup directory, would that make the backup visible within recovery now wouldn't it? Tried using Obackup and backed up to /mnt/sdcard/clockworkmod but recovery didn't see any backups on the device..
Sent from my Nexus 7 using XDA Premium HD app
Click to expand...
Click to collapse
I think that cwm looks for the backup in a oddball location. Cant remember exactly where off the top of my head. Its late and I'm tired. Nandroid manager should be able to find it though.
oldsoldier2003 said:
https://play.google.com/store/apps/details?id=com.h3r3t1c.onnandbup
For CWM I am not sure of the option but it would be custom if you only want certain partitions.
regardless as long as you know where it is you can restore it. If you use nandroid manager it will scan and find your backup paths for you and restore them, or again you can just point your recovery to them.
Click to expand...
Click to collapse
There's no option within CWM to select which partitions to backup, or to select backup/restore locations, but it has the advanced options to restore selected partitions, which doesn't really help for now..
I'm more concerned if I get into a bootloop, and my recovery can't find my nandroid backups to restore to..
Yeah I understand your concern. If I am not mistaken the reason you cant see the backup is because it is in protected storage. I think cwm does this by design now... Have you tired booting into recovery and looking for it in cwm?Once you figure out where cwm saves it you can tell online nandroid to save it there, or you could just boot to recovery and do your nandroid directly from cwm. Personally I prefer to do it "online" so I don't have to reboot...
I really cant be of much more assistance directly becuase I don't have CWM on the device right now, but It looks to me like you pretty much have it licked. I'll check back after I get some sleep and If you are still having issues I'll flash cwm and see if I can be of any further assistance.
oldsoldier2003 said:
Yeah I understand your concern. If I am not mistaken the reason you cant see the backup is because it is in protected storage. I think cwm does this by design now... Have you tired booting into recovery and looking for it in cwm?Once you figure out where cwm saves it you can tell online nandroid to save it there, or you could just boot to recovery and do your nandroid directly from cwm. Personally I prefer to do it "online" so I don't have to reboot...
I really cant be of much more assistance directly becuase I don't have CWM on the device right now, but It looks to me like you pretty much have it licked. I'll check back after I get some sleep and If you are still having issues I'll flash cwm and see if I can be of any further assistance.
Click to expand...
Click to collapse
Okay so I just did a custom nandroid within the app you linked me to, and set it to save in /data/media and booted into recovery, and CWM now sees the backup :good:
That's pretty much my problems solved now, seems i'll have to use adb as you mentioned to pull the backup from my device to store on my laptop/portable HDD, and then push it back if needed, thanks very much for your help!
You're very welcome. I'm glad you have it all sorted out
Sent from my Nexus 7 using XDA Premium HD app
Seem to be having an issue. Every time I restore a nandroid, I can't backup files with tibu and also have problems deleting files with file managers. I try the SD fix but it says I already am able to write to SD. Please any help would be appreciated,
stoehner said:
Seem to be having an issue. Every time I restore a nandroid, I can't backup files with tibu and also have problems deleting files with file managers. I try the SD fix but it says I already am able to write to SD. Please any help would be appreciated,
Click to expand...
Click to collapse
long story short u will need to factory reset but do NOT restore...instead use titanium backup to restore apps from within the nandroid u made but see the link below for more details
http://forum.xda-developers.com/galaxy-tab-s/orig-development/recovery-twrp-2-7-1-0-touch-recovery-t2817100/page8
^FILE FIX (see post #80...it describes the issue plus a few fixes)
If you are having trouble with internal memory try using terminal emulator
type su
press enter
then type restorecon -v -R /data/media
press enter
and see if you can write to internal and/or external
Thanks
ifly4vamerica said:
If you are having trouble with internal memory try using terminal emulator
type su
press enter
then type restorecon -v -R /data/media
press enter
and see if you can write to internal and/or external
Click to expand...
Click to collapse
You're my savior! Spent several hours looking for solution and your guide helped me. After restoring my nandroid backup, I've got write protection to internal SD card. Now everything is fine.
Thanks again!
MaddKorben said:
You're my savior! Spent several hours looking for solution and your guide helped me. After restoring my nandroid backup, I've got write protection to internal SD card. Now everything is fine.
Thanks again!
Click to expand...
Click to collapse
Awesome glad that worked for you!
Note 3 Sent