Back up your EXT2 AppsToSD partition. Nandroid doesn't. - Hero CDMA General

Nandroid does NOT back up the apps off your SD card.
AppsToSD (I'm speaking re MoDaCo's rom here) uses the ext2 partition on your SD card for the /data/app and /data/app-private folders, where your actual downloaded application files are kept. Nandroid does NOT back this up, and simply mounting your SD card and copying the files off also does not back this up.
The only way to back up these critical folders is to directly copy them to somewhere else. You can use command line or Droid Explorer.
If you want to use command line, do this from an ADB shell or terminal:
mkdir /sdcard/backup/
mkdir /sdcard/backup/app
mkdir /sdcard/backup/app-private
cp -r /data/app/* /sdcard/backup/app/
cp -r /data/app-private/* /sdcard/backup/app-private/
This will create two folders on your SD card: app and app-private, both in a folder called Backup. It will then copy the entire contents of your /data/app and /data/app-private folders to your SD card.
After you do this, back up the entire contents of your SD card as normal.
To restore the files after replacing/partitioning your SD card, head to this thread:
http://forum.xda-developers.com/showthread.php?t=585349

Related

Apps On Sd Card EXT2 Partition

How can I view the files on my sd card in the ext2 partition?
I have one fat32 and one ext2 which my apps are on but every file viewer app in my G1 phone or computer only lets me see whats in the fat32 one, so how could I access it it?
I have windows vista and ubuntu (which I dont know how to use well) pc
and my sd card is an 8gb class 6 with 500 mb of the ext2 and rest is fat32, I just want to access the ext2 and view its files
someone please help and thank you
tanner2007 said:
How can I view the files on my sd card in the ext2 partition?
I have one fat32 and one ext2 which my apps are on but every file viewer app in my G1 phone or computer only lets me see whats in the fat32 one, so how could I access it it?
I have windows vista and ubuntu (which I dont know how to use well) pc
and my sd card is an 8gb class 6 with 500 mb of the ext2 and rest is fat32, I just want to access the ext2 and view its files
someone please help and thank you
Click to expand...
Click to collapse
You would have to load ubuntu and use a card reader to view the files on your ext2 partition.
Or, as an alternative, you could download terminal emulator from the market. Open up the app, then type this:
$su
#cd /system/sd
to view the files in your ext2 partiton.
while your in /system/sd you may want to change to a different directory, such as app or data, you could use this command:
$su
#cd /system/sd
#cd app
#ls
where you would substitute app for another directory such as app-private, data, dalvik-cache, etc.
when you want to move up a directory type this:
#cd ..
and whenever you want to view whatever folders or files are present in the directory you're in, type this:
#ls
hope this helps.
if you are using ubuntu, you will need an sdcard reader, you won't be abel to ea dthe ext2 partition form windos (not that am aware of) inserd the sd card or i think if you plug the phone nd u have teh drivers ubuntu will read and mount the sd card should appear in yoru desktop both partitions with an icond of a hard drive
thanks but I wannna see and be able to move files and etc like in windows..well im new to ubuntu and not sure how but yes I have my phone and an sd card reader
so where are they located
am i just an idiot or what? i made an ext2 partition on my sdcard, and it wont let me put anything on it. i'm doing this half for my apps and half to install debian. but why the f cant i do anything with it?? it wont let me change permissions so am i in the reference to south park "f'd in the a?"

Any app for ext2 backup?

I would like to shift to a new sdcard but I just unable to copy all the data in the ext2 partition
Any app desiged for this purpose?
just use adb to pull the folder
download the adb file explorer
go to /system/ and put the whole sD card on your PC
just use adb to pull the folder
download the adb file explorer
go to /system/ and put the whole sD card on your PC
This is one of the simplest things to do on ANY computer that is NOT mswindoze. Unmount the ext partition on your phone, plug in the USB cable, do NOT mount it on your desktop, dd if=/dev/sd?2 of=~/droidextbackup where '?' corresponds to the device. Then swap the card, partition as the same, dd if=~/droidextbackup of=/dev/sd?2

Bought another micro sdcard, how to transfer things?

Hi, i use an 8gb sdcard with ext partition but I bought a 32gb sdcard and I´d like to copy the content from the fat and ext partitions to the new 32gb sdcard...
I have ubuntu in vmware because I´m a windows´ user.
Can I format the 32gb sdcard in the bootloader with fat and ext partition then copy the ext content of the 8gb directly to the 32gb ext partition so as the fat content?
thanks!
paolobacci said:
Hi, i use an 8gb sdcard with ext partition but I bought a 32gb sdcard and I´d like to copy the content from the fat and ext partitions to the new 32gb sdcard...
I have ubuntu in vmware because I´m a windows´ user.
Can I format the 32gb sdcard in the bootloader with fat and ext partition then copy the ext content of the 8gb directly to the 32gb ext partition so as the fat content?
thanks!
Click to expand...
Click to collapse
How this relates do you using things in a VM I'm not going to try to figure out, but you should be able to attach the device in whatever method necessary..
Partition the new card the way you want it, format the ext3, and I suggest formatting the FAT partition in your phone directly. If you need help here you can ask...
Then simply rsync the contents of one to the other.. I'd use your hard drive as the intermediate storage location... Let's say your card is sdc when mounted..
# Created the paths we need to use..
mkdir ~/oldcard ~/oldcard-ext /mnt/sdcard /mnt/sdcard-ext
# old fat files to intermediate storage location
mount /dev/sdc1 /mnt/sdcard
rsync -va /mnt/sdcard ~/oldcard/
umount /dev/sdc1
When it's done, poke through ~/oldcard, make sure it appears to all be there, particularly make sure there's no extra layer of subdirectories, ie: if you ls ~/oldcard you see just one directory which contains the rest of the stuff. If so, fix it.
Do the exact same for the ext partition, but make it a different directory of course..
# old ext files into intermediate storage location
mkdir ~/oldcard-ext
mount /dev/sdc2 /mnt/sdcard-ext
rsync -va /mnt/sdcard-ext ~/oldcard-ext
umount /dev/sdc2
To note, you SHOULD already be doing this on a regular basis. Memory cards DO die sometimes.
Then swap cards and reverse..
# move fat files into new card
mount /dev/sdc1 /mnt/sdcard
rsync -va ~/oldcard /mnt/sdcard/
umount /dev/sdc1
# move ext cards into new card
mount /dev/sdc2 /mnt/sdcard-ext
rsync -va ~/oldcard-ext /mnt/sdcard-ext
umount /dev/sdc2
I've broken things out into sections to make it more readable, some steps could be combined etc but didn't want to obfuscate anything.
Thanks, it´s the way I thought
I mentioned the linux in the vm because windows can´t read ext partitions

[Q] Easier way to move media to my sd card?

I am running CM7 on SD card that has a storage partition of about 6 gig.
When I run stock Nook Color USB, it's easy to set up folders in My Files and fill them with magazines, ebooks, pdf files, videos, etc. on the EMMC.
Then under CM7, I have been using File Manager to move the files one by one to the SD card.... a tedious process.
Or I have been able to use DropBox to export the files one by one to the SD card .... even slower and more tedious
I've tried to get EASEUS Partition Master to activate the storage partition so I could just drop files in there, but all I can ever see is the boot partition on my PC.
There has to be an easier way, right ?
Just plug the Nook in via USB and then you need to open your status bar and mount as USB. You will then have two new drives on your PC, one for EMMC and one for your SD card.
Sent from space
THATS more like it. Working great now and thanks!
edit /system/etc/vold.fstab on stock and change first auto for SDCARD to 4 and you can use the same partition for stock and sd ROM for the SDCARD
in your CM7...
either use terminal app or adb shell:
mkdir /sdcard/tmp
mount /dev/block/mmcblk0p1 /sdcard/tmp
Then edit /sdcard/tmp/etc/vold.fstab to make the following change:
Code:
dev_mount sdcard /mnt/sdcard auto auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1
CHANGE TO
dev_mount sdcard /mnt/sdcard 4 auto /devices/platform/usb_mass_storage/lun1 /devices/platform/mmci-omap-hs.0/mmc_host/mmc1

[Q] Ext4 sdcard problem in carbon rom 4.4.2...

Hi friends, i installed carbon rom 4.4.2 on my galaxy grand gt-i9082....i have a ext4 formatted 32GB sd card and contains only one primary partition........Carbon ROM detects ext4 card successfully and mounts it at /storage/sdcard1 , but i am not able to copy and write files onto the sd card using an explorer like root explorer or ex file explorer......Now, Carbon rom also mounts it at /mnt/media_rw/sdcard1...but here i am able to copy an write files onto the sd card...But the downside is that When i use MTP to transfer files between my mobile and windows pc, i can see only the sdcard mounted at /storage/sdcard1 from which i cant copy or paste the files.....So how do i make MTP to show the real mounted partition /mnt/media_rw/sdcard1 so that i can transfer files between my computer and mobile.
NOTE: I just found out using mount command that it uses /dev/fuse to mount the sdcard at /storage/sdcard1 but uses the real device i.e. /dev/block/mmcblk1p1 to mount the sdcard at /storage/media_rw/sdcard1.......
Please Help........Any ideas or suggestions to make this work are welcome....

Categories

Resources