Android copy apps from old sd to new sd card

First, do not do automount, otherwise all the ownership and permission will be wrong. Format new sd card from windows.
# mount /dev/sde1 /mnt/oldsd
# mount /dev/sdg1 /mnt/newsd
# cp -a /mnt/oldsd/* /mnt/newsd
# cp -a /mnt/oldsd/.* /mnt/newsd
# cd /mnt/newsd
# rsync -av /mnt/oldsd .
# umount /mnt/oldsd
# umount /mnt/newsd


Now the apps on the new sd will be recognized.

No comments: