[TIP] SD Card Location for ADB - AT&T Samsung Galaxy S 5

I just wanted to post this in case anyone else came across this issue. I've been trying to pull my backups from Titanium and didn't find the correct path to the GS5 SD card listed. For reference my folder is named: Titanium Backup and stored on my SD Card.
The location I found this to be is: /storage/extSdCard/Titanium Backup/. To use the adb pull command, I used: adb pull "/storage/extSdCard/Titanium Backup/" "Desired Destination".
I hope this saves someone else some time.:good:

Related

Question - migrating memory cards

I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
jook11 said:
I'm currently using a 2GB MicroSD card with an apps2SD partition (Ext2) and a storage partition (FAT32)
I have a 4GB card that I'd like to move everything to. I could surely partition it the same way I did my 2GB card, but then it would be a blank, partitioned card. What's a good way to get all my apps and such moved over, as I'm running windows (which won't read the Ext2 partition)
Would Norton Ghost do it?
Click to expand...
Click to collapse
Thanks for your help.
lbcoder said:
Use linux.
plug in uSD card, do NOT mount. If it automounts, UNMOUNT it. Check device name "tail dmesg".
If device name is for example, sdb, then copy contents to hard disk;
"dd if=/dev/sdb of=~/sdbackup" -- this will create a file in your home directory called "sdbackup".
pull card, insert new card. If it mounts, unmount it. Again check device path.
"dd if=~/sdbackup of=/dev/sdb"
Now pull card, the data on the new card mirrors the old card. Plug back in. Note: we pull and then reinsert to make sure that the kernel reloads the partition table. There are other ways of forcing this, but this is the easiest and most fool-proof.
You have unpartitioned free space at the end of the card.
Use a combination of "parted" and "resize2fs" to resize/move partitions, or just use gparted to handle these operations graphically.
Click to expand...
Click to collapse
Are these directions explicit/comprehensive? Will I need to partition first? I don't know very much at all about linux, but I've got an ubuntu cd downloading. I've poked at it a little before - I can at least get a terminal and follow your directions, if this is all there is to it.
edit
I'm trying copying things manually in ubuntu's file.. explorer.. thingy. Then I'll partition the new memory stick with gparted and copy the files there.
This seems more natural to me, since I'm not familiar with command-line operations much anyway. Personally, I don't see why it won't work.
edit again:
I don't have permission to copy the folders "app" "app-private" or "dalvik-cache"
How can I do this?
edit edit again
google found me a "sudo nautilus" command which seems to open a file browser window with more permissions. I still can't actually copy the folders I mentioned before, but I recreated them in my backup location and I can copy the contents. Maybe this will take care of it.
update:
nope, that worked for "app" and some (but not all) of "dalvik-cache" but not "app-private"
How do I gain permission to copy it?
I'm willing to go back to the terminal, but I get an error on the tail command. There's nothing found, or somesuch. Sorry, I meant to copy the message exactly but I forgot before I rebooted the computer I was doing it with.
Can anybody help me out a little more with this?
The error I get right off the bat is "tail: cannot open 'dmesg' for reading: no such file or directory"
The only access to linux I have is an ubuntu live CD
Code:
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
[email protected]:~$ tail dmesg
tail:cannot open `dmesg' for reading: No such file or directory
[email protected]:~$ _
MontAlbert said:
no try Ext2IFS_1_11a
can't remember where it is: if it doesnt work DL linux and boot into it from disc (no need to install) and copy onto disc from there...
Click to expand...
Click to collapse
How do I make use of this? It sounds like it should make Ext2 partitions appear in Windows Explorer just like anything else...
I installed it, but the Ext2 partition still doesn't show when I plug in the SD card. Do I need to do something particular?
I have rebooted.
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
jook11 said:
Can anyone please give me more information on this, please? I've been poking at it different ways and still can't get it to work. Who knows something I don't?
Click to expand...
Click to collapse
Code:
dmesg | tail
All the information to do this has been stated in this thread by now.

Switch Memory Card with Apps to SD

HI guys,
Last night, got my new 8gb class 6 card, and took it into ubuntu and recreated all my partitions. Then did a copy from the old partition to new one...
Then did a reset ext security thing from the recovery console, however one issue is still out there... 4 apps didn't copy across correctly. They can't be uninstalled or reinstalled and are just refusing to work at all anymore.
When I try to reinstall from ADB, it spits out:
INSTALL_PARSE_FAILED_NO_CERTIFICATES
Any ideas how I can fix it?
they should just auto delete any new thread that ends with a question mark in the dev forums....
gunigugu if your too dull to get what im saying, POST IN TH PROPER PLACE
( Capslock is cruise control to success)
I've had issues of not being able to uninstall something, the only solution I found was download the apk file off the internet then installing, then uninstalling.
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
lbcoder said:
How did you copy it over?
The *right* way is to use the "dd" command.
dd if=/path/to/sdcard-device-file of=/path/to/store-image-in
switch the card
dd if=/path/to/store-image-in of=/path/to/sdcard-device-file
Now you can move and resize your partitions, and its done.
Click to expand...
Click to collapse
I just did a copy and paste within the ubuntu explorer
Everything works, except I think the protected apps.... and I would uninstall / reinstall them, but the option to uninstall the apps is grayed out.

[Q] Titanium Backup - Change default directory?

Just had my first boot-loop event last night... Took an hour or so to recover after formatting the internal SDCard space. Thanks go to all those who have beaten that path and graciously posted how to get back.
I had been storing my TiBackup files on the internal SDCard, so of course they were all gone. Is there a way to change the default directory? I see where, you can change the dir name, has anyone tried an absolute path? I'd like it to save to SDCard2.
If that doesn't work, can i schedule a script to copy it to SDCard2? That might be better, as then I can copy the CWM Backups too-
Thanks,
TheDude
thedudevt said:
Just had my first boot-loop event last night... Took an hour or so to recover after formatting the internal SDCard space. Thanks go to all those who have beaten that path and graciously posted how to get back.
I had been storing my TiBackup files on the internal SDCard, so of course they were all gone. Is there a way to change the default directory? I see where, you can change the dir name, has anyone tried an absolute path? I'd like it to save to SDCard2.
If that doesn't work, can i schedule a script to copy it to SDCard2? That might be better, as then I can copy the CWM Backups too-
Thanks,
TheDude
Click to expand...
Click to collapse
I periodicaly make a backup of the titanium folder fron internal and copy it to sdcard2
insight3fl said:
I periodicaly make a backup of the titanium folder fron internal and copy it to sdcard2
Click to expand...
Click to collapse
I contacted the developer of Titanium Backup and he suggested that I use ../sdcard2/TitaniumBackup as the target directory name if I wanted to have the files stored directly on my external sd card. I tried it and it works just fine.

how to do back up SD card?

So i want to follow this tutorial:
[
in order so that my phone will work a bit faster, but
when I copy all the files from my sd card to my desktop on my computer
the folder res, cant be copy cause it has long name of files inside. This res folder in located under a Android folder on the root of my sd card.
is the android folder is important?
thank you for your help
Use something like estrongs file manager to compress/zip the folder, and then copy the zip to your PC...
is the Android folder important on the root directory ?
I tried and it didnt work
I don't have a res folder--so may not be that important--depends what files are in there
They may be replaced when you do a nandroid restore or flash a new rom
Your tutorial you are using never got posted
i did notice that i did not add the link to the tutorial which I am following. But the tutorial can be found, on this web site:
Nexus one Q&A>Newbie Friendly How To's w/ Instructional Videos>How To Switch to a Different SD Card (for use with Swap, Hero ROMs, etc.)
I am not yet allow to post links. I am consider a newbie, regarding theses topics
http://theunlockr.com/2009/10/15/ho...-android-when-using-swap-hero-and-or-apps2sd/
this is the tutorial
Well,
If you are familiar with your phone and getting into and out of recovery--here is what I do--using Amon_Ra recovery--I don't like Rom Mgr/Clockwork Mod.
Copy contents of SD Card to PC.
Power off phone and pull sd card out and using a card reader, reformat it on pc with sdformatter from web. Format Type-Full Erase On and Format Size Adjustment-On.
Put it back in phone and boot into recovery--hold down vol-/pwr/trackball at same time until phone boots and select recovery.
Then go to Partition SD Card/Partition SD. Select 1gb ext size (if you have an 8gb card or bigger) and 0 swap. Once done go back to Partition SD screen and select xext2 to ext3. When done go back to first recovery screen. Here you can USB Toggle and copy contents from pc back to SD Card.
At this depends what you want to do. Restore a nandroid or flash a new rom. Either way I usually wipe ALL data and caches at least 3X and restore or flash new rom.
Hope this helps,
Ken
it helps some what,
Do i need to format my sd card in fat32 or NTFS format?
another question is that when I try to do a simple select all copy and paste unto a different folder in my computer, it gets to a point where it does not want to copy (res folder) which is located under the android folder. Is this folder (res) to any importance??/?
thank you
Fat32, but I think sdformatter accounts for that--I don't remember a selection
sdformatter puts card back to original/new condition--I highly recommend it
As I mentioned, I have no res folder, DR's suggestion is a good option
Look and see what files are in it, may just be apps/images that will get put back eventually
Here is Google Search link--search is your friend http://search.yahoo.com/search;_ylt...s+folder&fr=att-portal&toggle=1&cop=&ei=UTF-8 It may give you some answers
You could also try adding a .bak to name of folder thru Root Explorer and maybe copy/paste it to phone somewhere from sd card folder shown in Root Explorer, then as soon as you reload sd card, go back to Root Explorer and copy/paste it back to Android and change name back.
I am not sure about that, maybe someone can confirm that would work and not mess up anything. If you nandroid, it shouldn't matter--??
If you are new to all this it just takes time and a lot of searches and thread reading--as long as do nandroids and use Titanium Backup for your app management, you can recover from anything.
Ken
http://efreedom.com/Question/1-2965149/Res-Src-Folder-Relation-Eclipse-Android
I think that folder is put there when doing development projects, if you or someone used SDK and/or Eclipse that's how it got there--so doubt if you need it
Just an opinion, I am not a dev or very tech savvy with Android OS

[Q] Lost most of my internal storage?

Today when trying to free up some space on my HTC One (S-OFF, rooted, latest FW, etc), with the phone connected to the computer I cut and pasted the 'storage' folder into a folder on my computer. After this, most of my internal storage folders were gone, most notably all my Camera pictures. I looked in the folder that was copied to the computer and these folders aren't present. I also tried to do an adb pull from the root directory and the missing files weren't there either.
Looking at my phone storage, it says i have 20GB used by 'Other', which gives me hope that these files are still somewhere on the device. I did a search in a few applications looking for jpg files or any lost files but didn't come up with anything.
Has anyone else encountered this or have any idea if these files are still somewhere on the device? I know it was a stupid thing to do and didn't have a cloud backup set
Could you see the photos before you cut and pasted? What you've described doesn't sound like it should have caused your photos to disappear, but an upgrade would.
On a 4.1 ROM, the sdcard points to /data/media. On a 4.2 and beyond ROM, the sdcard points to /data/media/0. I would have a look in /data/media.

Categories

Resources