Everything worked as before (Antennapod, Osmand, MapsMe, Aard 2 dictionary with offline Wikipedias, photos, etc.). Inserted the new card in the phone, restarted it (didn’t have to, I think). Then I just copied it with cp -a, which was at a rate of 100+ MB/s. I then tried to copy from old to new sd-card with rsync -aP but astonishingly that didn’t work (data rate was really low (20–40 MB/s) and it seamed that only some files were copied to the new card, I have no idea why that happened, first time to see that, but as I didn’t have time, I didn’t further investigate). Then I formated new card with the old volume id (in the example the volume id is 01234567) mkfs.exfat -i 01234567 /dev/mmcblk0p1 For that I had to install several exfat tools. Then I inserted the new sd-card and formatted it adding the volume id of the old sd-card. Installed it with dnf install kde-partitionmanager So I used (KDE) partitionmanager (as gparted is not supporting extfat). I haven’t found a commandline tool for this, yet. I used my Fedora linux computer to do this, as it is a Thinkpad with SD-card slot.įirst I looked what the volume id of the old sd-card was. then copy the whole content of old card to new card (or copy it first to a harddisk and then from the harddisk to the new card, doesn’t make a difference).copy the volume id of old card to new card.I restarted my phone again, and then some of my apps lost permissions to write to their SD card folders?!?!, ie podcastaddict which had downloaded 300 podcasts overnight could not write to sdcard1/Android/data//files/podcastsīy deleting and reinstalling podcastadditc it regenerated its folder and it has been working since. I erroneously assumed that file permissions werehidden somewhere on the SD card and therefore tried to find the 'correct way' to copy, but it seems that the folder permission is saved on the internal card, or they are tied to the application in some non-trival way. I am familiar with the command line and would prefer solution listing a few commands I need to copy-pasteĪs Firelord suggested, rebooting the phone makes android "display" the DCIM folder, so this one can be copied over, however it still seems that the /Android/data// folders have to be created by the apps themselves, otherwise they cannot write to them, but you can subsequently copy files into these foldersįactory reset and restore from backup did this for me.I don't care what file system is on my external SD card.I have access to a Linux and windows computer, but would prefer Linux solutions.or do I have to factory reset my phone and redownload all my apps such that all the folders and appropriate premissions are created by android. how do I copy over all my files from the old sdcard to the new one. The problem in all of the above cases is that android eigher a) does not see the file, simply sees the card as a file with 64 GB used space but it cannot see any of the folders, or it does copy it over but the apps does not have 'access' to their own directories eg Android/data//files/podcast/ is where my podcasts are, but the app podcastaddict does not have write premissions for the folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |