[Completed] [Question] Writing to external sd card Specifically with ES File Manager! - XDA Assist

I have a Sprint Galaxy Note $ Running Stock og5 Rom Rooted via Beast Mode TWRP then Play update, then flashed to Plazma Kernel. I have modified the /etc/permissions/platfom.xml file to include Group Id media_rw in the write to external storage permission and mounted the /mnt/media_rw/estSDcard as r/w in the root explorer portion of ES File Manager and it seemed to work fine for as long as I can remember but now if I try to copy or paste or send something to /storage/extSDcard it is created asychrously and ends up in the LOST.dir folder after a simple unmount remount or reboot or SDcard pull. Other apps are having the same problems like app backup restore and Btitorrent and others when trying to write directly to extSDcard I even went ass far as adding sdcard_all to the aforementioned gid permission set. It seems like such an obvious thing that has been overlooked by develpoers of the rom. I can create masting folders "no asychronously' if I do so buy navigating to /mnt/media_rw/extSDcard rather than /storage/extSDcard and they'll last but not all programs will allow that directory in their settings. Furthermore ES download Manager won't function with either directory and will not allow their app backup file to be saved the /mnt directory. only /0 or /storage/extSDcard.
I have exhausted my abilities with this and have no answer also It seems to be a new problem, and I haven't done anything I can think of to cause this. Partition table is 55000mb Fat32 17009mb ext4 journal partition on the extSDcard. Any Ideas?
Below you can see The before and after of unmounting and remounting my sd card resulting in Populated Lost.dir and loss of created folders also you can see the way that all nav methods resultu in same permission set when checked with a root explorer "total Commander"

wELL i DON'T KNOW WHY BUT REFORMATTING THE SD CARD TO A SINGLE FAT 32 VOLUME SOLVED THE LEAK. i FIRST TRIED AN ALTERNATE SD CARD WITH A SIMILAR PATITION TABLE (EXT2/FAT32) BUT HAD THE SAME PROBLEMS EXCEPT THE DATA WOULD SIMPLY BE GONE INSTEAD OF IN THE LOST.DIR FOLDER. i HAVE YET TO IMPLEMENT THIS TO MY PRIMARY USE SD CARD because of the fact that I have backups and files that I need on that card from before the leak. I anticipate the same results, fingers crossed.
If ANYONE has any incite into why the partition table set up as it was would affect the retention of data in this manner please let me know.
PLEASE PLEASE let me know

Hello,
Try posting your question/issue in the ROM/kernel thread where you got them or their dedicated Q&A thread(if it has one) or even PM the developer in case its something he isn't aware of, he may want to try and solve it so his ROM has no issues.
I hope this helps. Good luck.

Droidriven said:
Hello,
Try posting your question/issue in the ROM/kernel thread where you got them or their dedicated Q&A thread(if it has one) or even PM the developer in case its something he isn't aware of, he may want to try and solve it so his ROM has no issues.
I hope this helps. Good luck.
Click to expand...
Click to collapse
Thanks, I was using stock rom though. And the caps lock was an accident, at any rate i have changed roms and the issue appeared to be a faulty sd card to begin with. I wasn't able to retain data from my reader writer to phone on my primary sd ince reformatted but was when I used a different one. Anyway thanks for the advice and I will use it if I have different questions

Related

[APP] swapsd beta: Samsung

Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well. Note: This app is not compatible with CyanogenMod. Root is required.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required. Easy install: copy the apk file to your SD card and open with a file manager.
Please nandroid backup before testing!
If you get "Unknown Error, Contact Developer" you are more than likely not properly rooted! This app requires Superuser and Busybox to properly function!
Please note that if you've already moved existing apps to SD or existing apps have placed support files on SD, swapping mount points is not a good idea. Uninstall these apps, then reinstall after swapping.
jocala said:
Tested on the Samsung Galaxy Exhibit only. If your device's /system/etc/vold.fstab file matches the attached fstab file, it may work for you as well.
Please nandroid backup before testing!
Click to expand...
Click to collapse
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Works on any rom?
Sent from my GT-I8150 using xda premium
willynatedgreat said:
So has anyone had success using this on the Exhibit II/4G or is it really just for the older Exhibit or am I just mis-reading the title?
I'd like to make the switch since the "internal" sd situation is rather silly and I just picked up a new SDHC card for my phone.
Click to expand...
Click to collapse
The Galaxy Exhibit 4G was formerly known as the Exhibit II 4G
mosta_9741 said:
so the app is for swapping
and wt abt the txt ??? is it the original or the custom for swapping ??????
Click to expand...
Click to collapse
The fstab.txt is the original from the Galaxy Exhibit. It's attached so you can compare it to the /system/etc/vold.fstab on your phone. If the two match, this app may work for you.
Karmalot said:
Works on any rom?
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
So far.
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Pkt_Lnt said:
Ok, a question as I learn more and more about the Galaxy Exhibit.
I am testing one, have some time to return if the coverage is not what I need, so I have installed my apps from my other phone, and just moved the SD card over, since it had some zips and apks that I wanted.
Since some of the directories exist already and are used by apps, while others have been recreated on the internal sd of the phone. My thought was to install the swapsd apk, immediately physically move all files from the internal sd to the actual sd card by activating the USB connection. Then disable USB, the swap is active, the media scanner will run, and the phone should see everything on /sdcard and the /ext_sdcard will be clean, except for what I left in the /usb_storage directory.
I tried mounting in recovery under mounts, mount usb storage, but it can only see one virtual drive and not both, whereas activating from the phone, both show.
Is that correct, or am I missing something? And obviously, in recovery, the partitions stay they same since the script is not running.
Click to expand...
Click to collapse
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
jocala said:
Samsung's stock recovery only sees the internal storage, not removable. ClockworkMod sees both. You can get cwm here.
Click to expand...
Click to collapse
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
sd/swap beta
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
I also find a swapsd01.zip and a swapsd.apk, same, just different application method?
Click to expand...
Click to collapse
The swapsd.apk in this thread is the app. Disregard any links to zips, they are outdated.
roto rooter said:
hi jocala ,was wondering if you could fully explain how to do the swpp sd in full ?
thanks
sean
Click to expand...
Click to collapse
I've attached a screenshot to the OP, hopefully that will help. It's pretty simple:
Root is required. Run the app, you'll see four buttons, Help, Default, Swap, Reboot.
To swap sd and external_sd press Swap.
To return to default, press Default.
Once you press either of the buttons above, press Reboot.
For instructions, press Help.
Pkt_Lnt said:
That is from within CWM from that link, maybe my old XP laptop is playing games. Is that implying that I should move files in recovery?
Click to expand...
Click to collapse
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
jocala said:
No. I misunderstood your post. To mount your /sdcard (internal) in cwm mount /sdcard. To mount your removable sd do mount /emmc.
Click to expand...
Click to collapse
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Pkt_Lnt said:
Well, I got it done. I had to do it a little different, more lengthy, more secure. Backed up both partitions to my computer. Activated swapsd, rebooted to recovery, but could not mount both simultaneously. So I mounted the new /sdcard that is removable and moved what was backed up on the computer from the previous internal card to it. Rebooted and then cleaned up everything for duplicates. Thanks for the help again.
Click to expand...
Click to collapse
Glad it worked out for you. Good luck with your Galaxy Exhibit
jocala said:
Tested by me on the Samsung Galaxy Exhibit only. (I'm told it works on the Galaxy W). If your device's /system/etc/vold.fstab file matches the attached original Galaxy Exhibit fstab file, it may work for you as well.
A common complaint about some Samsung Gingerbread phones is the fact that they mount the relatively small internal sd memory as /mnt/sdcard and this memory is treated as the phone's primary removable storage by some apps, ignoring the "real" removable sd card that Samsung refers to as "/mnt/sdcard/external_sd".
This simple gui allows you to swap the two so your larger "external sd" is mounted as "/mnt/sdcard/" and the smaller sd internal memory is mounted as "/mnt/sdcard/external_sd".
This is done by changing a file called vold.fstab in your phone's /etc folder. The original device vold.fstab file is backed up to /etc/vold.fstab.backup when this app first runs. Your data on /mnt/sdcard and /mnt/sdcard/external_sd is not touched in any way whatsoever. Root is required.
Please nandroid backup before testing!
Click to expand...
Click to collapse
How to change the file?
Many thanks
NOLAchick said:
How to change the file?
Many thanks
Click to expand...
Click to collapse
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Pkt_Lnt said:
Install the apk in the OP, and choose the swap button, then the reboot button. Sorry to be so technical..........
Click to expand...
Click to collapse
That's the big question....for us noobies
Tanks though...
NOLAchick said:
That's the big question....for us noobies
Tanks though...
Click to expand...
Click to collapse
Copy the file to your SD card. Open it in your file manager.

[Q] Has anyone found an App to SD solution?

I've looked through the big development thread and haven't found a clear answer but has anyone found an app to sd solution that works?
This stupid SdCard / ExtSdCard arrangement is making me pull my hair out. I just realized my titanium backups weren't really backups since they were being stored on my internal memory.
I managed to change my backup folder and free up some space by moving all my backups to the SD card, but for some reason I cannot move apps to SD through Titanium or any other app I've tried.
Does anyone know how to do this? Is there a setting in titanium I need to change or is this just something we have to deal with forever short of flashing a custom rom?
SDCARD binary
Galahad_Knight said:
I've looked through the big development thread and haven't found a clear answer but has anyone found an app to sd solution that works?
This stupid SdCard / ExtSdCard arrangement is making me pull my hair out. I just realized my titanium backups weren't really backups since they were being stored on my internal memory.
I managed to change my backup folder and free up some space by moving all my backups to the SD card, but for some reason I cannot move apps to SD through Titanium or any other app I've tried.
Does anyone know how to do this? Is there a setting in titanium I need to change or is this just something we have to deal with forever short of flashing a custom rom?
Click to expand...
Click to collapse
I've found the real problem, but not the solution.
My Relay runs ICS. It is rooted, and you have to root to even touch any of this. The phone has a binary, /system/bin/sdcard that controls the internal memory and your SDcard. now, I have found that if you are rooted, you can chmod this binary (or use rooted ES File explorer to remove all executable properties) so that it can no longer run, then reboot. then you can run, as superuser "mount -o rw,bind /mnt/extSdCard /mnt/sdcard"
Seems great... Except vfat doesn't like to be bound in such a fashion, and you quickly lose write access and it starts mangling your files.
vfat just doesn't seem to work for us in this case. I've changed mine back, and reformatted my SDcard to be NTFS and mounted with paragon NTFS/HFS, which has completely stabilized my filesystem. only problem is, I can't get this to mount -o bind worth a damn.
I'm toying with the idea of reformatting my SDCard part vfat and either part NTFS or EXT4. maybe I get get the phone to natively recognize ext4 for the sdcard (even if I have to create a script myself)
keypoints I've found in this process:
1. the sdcard binary only allows access to 1023 files at once on either the SDcard, or the memory block it is using as the SDcard. too many pictures in your gallery? so sorry... can't load them all.
2. the physical device for your sdcard is /dev/block/mmcblk1. the partitions are mmcblk1p* (starting with 1)
3. the phone will not allow the sdcard binary to be killed manually. removing the executable permission and then rebooting the phone seems to be the only way to get it to stop.
4. vfat is prone to errors, and android seems to love screwing with the card. getting off vfat seems to be crucial to this process.
As you've gotten no other replies, and this is a gigantic concern for me as well, I'm going to keep working on this myself, in the hopes that I can get the phone to actually use the SDcard the way we hope it can be used.

[Q] Link2sd relink file not working

Hello,
I have installed a lot of applications on my device and linked them to my sdcard with link2sd.
Those applications have been installed on a specific account (guest account) on my device.
I have changed my sdcard, create a new partition ext2 on it, copy and paste all the files, directories,... of the old partition to the new one, and tried to relink the new card with link2sd.
But -> "no file to link" !! :crying:
And I don't have anymore my old sdcard.
Means, today, I have no more application listed on my screen, no more application listed in the settings, no more application listed in "My applications" of the Google Play Store, but the memory of my device is completly full of specific files of the applications which were previoulsy linked to the previous sdcard.
In other word, it is the mess and I really need to recover my applications with the datas.
Does someone know how to fix this??? (even manually)
Thank you
clecocq1 said:
Hello,
I have installed a lot of applications on my device and linked them to my sdcard with link2sd.
Those applications have been installed on a specific account (guest account) on my device.
I have changed my sdcard, create a new partition ext2 on it, copy and paste all the files, directories,... of the old partition to the new one, and tried to relink the new card with link2sd.
But -> "no file to link" !! :crying:
And I don't have anymore my old sdcard.
Means, today, I have no more application listed on my screen, no more application listed in the settings, no more application listed in "My applications" of the Google Play Store, but the memory of my device is completly full of specific files of the applications which were previoulsy linked to the previous sdcard.
In other word, it is the mess and I really need to recover my applications with the datas.
Does someone know how to fix this??? (even manually)
Thank you
Click to expand...
Click to collapse
Did you try and re-create the mount scripts?
Are the paths exactly the same?
Try installing an app and then linking it with Link2SD. Then check the path of the linked data. Make sure it matches with your backups.
I'd personally go for clean installs when changing SD card, but I think you're brave for trying. Good luck.
tillward said:
Did you try and re-create the mount scripts?
Are the paths exactly the same?
Try installing an app and then linking it with Link2SD. Then check the path of the linked data. Make sure it matches with your backups.
I'd personally go for clean installs when changing SD card, but I think you're brave for trying. Good luck.
Click to expand...
Click to collapse
Yes tried the re-create mount script without success.
One information: The old partition was ext3 and this time I created an ext2. Is it important?
Where can I check the path of the linked data exactly?? Which file?
Thank you for your help.
clecocq1 said:
Yes tried the re-create mount script without success.
One information: The old partition was ext3 and this time I created an ext2. Is it important?
Where can I check the path of the linked data exactly?? Which file?
Thank you for your help.
Click to expand...
Click to collapse
Just so I have this right...
You backed up all the data and file structure from your ext3 partition, re-formatted it to ext2, then copied all the data and file structure back on.
Have a look in root explorer. What are the folder names of your two SDcard partitions under /root ?
Mine looks like this:
/root/sd-ext
/root/sdcard
/root/storage/sdcard0
I used a script from here: http://forum.xda-developers.com/showthread.php?t=1971689 so mine will probably be different to yours.
If your linked app files are in the same place as before, (check this by installing and linking a new app and then finding it's linked data in root explorer) and you get an error/ no result when re-creating mount scripts in Link2SD, then i'm at a loss.
There are a lot more knowledgeable people than me on these forums, so hopefully one of those people will see your post and offer you a solution. Otherwise, it's time to re-install all your apps I suppose.
tillward said:
Just so I have this right...
You backed up all the data and file structure from your ext3 partition, re-formatted it to ext2, then copied all the data and file structure back on.
Have a look in root explorer. What are the folder names of your two SDcard partitions under /root ?
Mine looks like this:
/root/sd-ext
/root/sdcard
/root/storage/sdcard0
I used a script from here: http://forum.xda-developers.com/showthread.php?t=1971689 so mine will probably be different to yours.
If your linked app files are in the same place as before, (check this by installing and linking a new app and then finding it's linked data in root explorer) and you get an error/ no result when re-creating mount scripts in Link2SD, then i'm at a loss.
There are a lot more knowledgeable people than me on these forums, so hopefully one of those people will see your post and offer you a solution. Otherwise, it's time to re-install all your apps I suppose.
Click to expand...
Click to collapse
Effectively, I don't know whether I got the exactly same partition name before and after (before ext3 and after etx2).
I have nothing under /root
Actually it is quite strange. I can see my sdcard (only the FAT partitiion) under:
/sdcard2
or
/storage/sdcard1
this is pointing to my external sdcard. I can see the same files/directories in there.
I don't see the second ext2 partition with RootExplorer.
I can see it only with ESExplorer on the lateral bar. It is named sdext2.
I guess that the old partition ext3 was certainly not named the same.
I've just linked new file on the new partition. It is working correctly.
in the data/app folder I see the icon of the new linked app with the correct icon image (it is a game) and a small arrow in the top left correct (shortcut).
in the same folder, I see all the other icons of the lost linked applications with an android image and also the small arrow in the top left corner. But obviously when I tap on it, it says "analysis error,...". I guess that the shorcut points to nowhere because it is not linked anymore.
But I don't where to check where the shortcut is pointing to !! and how to change.
It should be simple to find back the old partition name and rename the new one with same name...
thank you for your help.
clecocq1 said:
Effectively, I don't know whether I got the exactly same partition name before and after (before ext3 and after etx2).
I have nothing under /root
Actually it is quite strange. I can see my sdcard (only the FAT partitiion) under:
/sdcard2
or
/storage/sdcard1
this is pointing to my external sdcard. I can see the same files/directories in there.
I don't see the second ext2 partition with RootExplorer.
I can see it only with ESExplorer on the lateral bar. It is named sdext2.
I guess that the old partition ext3 was certainly not named the same.
I've just linked new file on the new partition. It is working correctly.
in the data/app folder I see the icon of the new linked app with the correct icon image (it is a game) and a small arrow in the top left correct (shortcut).
in the same folder, I see all the other icons of the lost linked applications with an android image and also the small arrow in the top left corner. But obviously when I tap on it, it says "analysis error,...". I guess that the shorcut points to nowhere because it is not linked anymore.
But I don't where to check where the shortcut is pointing to !! and how to change.
It should be simple to find back the old partition name and rename the new one with same name...
thank you for your help.
Click to expand...
Click to collapse
You could try running the script that I mentioned. It won't do any harm. It may be, like you say, that the partition is named differently, so the paths don't quite match up. Duplicating the SD partition path with the script that I linked to, might (and it's a long-shot) let Link2SD see the partition on the path previously set. Let us know if you figure it out.
What was the reason you changed the partition format type anyway?
tillward said:
You could try running the script that I mentioned. It won't do any harm. It may be, like you say, that the partition is named differently, so the paths don't quite match up. Duplicating the SD partition path with the script that I linked to, might (and it's a long-shot) let Link2SD see the partition on the path previously set. Let us know if you figure it out.
What was the reason you changed the partition format type anyway?
Click to expand...
Click to collapse
I'll give it a try asap.
Concerning the reasons... bad reasons unfortunately. The links sometimes were not working. I had to relink regularly the files (hopefully, it is automatic, but not very convenient). Then I though that it may be better in ext2, and you know what happened
I will keep you informed if your advice works.
Thank you very much
tillward said:
You could try running the script that I mentioned. It won't do any harm. It may be, like you say, that the partition is named differently, so the paths don't quite match up. Duplicating the SD partition path with the script that I linked to, might (and it's a long-shot) let Link2SD see the partition on the path previously set. Let us know if you figure it out.
What was the reason you changed the partition format type anyway?
Click to expand...
Click to collapse
Unfortunately, not possible for me. I don't have a custom ROM and therefore don't have /system/etc/init.d in my device.
I will try to reformat bacl my 2nd partition in ext3 and see if I will be able to relink.
I have reformated my partition in ext3.
But after rebooting my device, the mounted name is still sdext2.
Does someone know how to change a mounted partition name without a custom ROM?
Thank you
The script is named init-recovery.sh in /etc.
Finaly, I reinstalled all the apps and copy/paste all the user files manually then relinked to the new partition with link2sd.
Everything is working now.
Thank you anyway for your help
I too am facing similar problem
but i had been using link2sd before and before doing the process i didnt not unlink back to sd card the applications
so now all the files are in miscellaneous folder
is there any way to re link these
i use stock rom

Issues with Titanium Backup to extSdCard (nVidia Shield Tablet)

Hello all!
I'm not sure if this has come up yet with anybody here, and I didn't see a post referencing it. I just rooted my Shield Tablet and
installed Titanium Backup. When I went to the preferences to change the backup folder to my external SD card it told me that
it was read-only and wouldn't allow me to use it at all.
I just want to save anybody else in a similar situation some time. I'm unable to link things currently but all the credit goes to
mateenf in the Note 3 Dev Forums for posting this fix:
mateenf said:
1. Using a root-enabled file manager, navigate to /system/etc/permissions
2. Edit platform.xml and find the WRITE_EXTERNAL_STORAGE permission.
3. Add an additional group definition for this permission...<group gid="media_rw" />
4. Save the changes to the file.
5. Restart.
Click to expand...
Click to collapse
I would also add that you must mount the partition as R/W first or you will not be able to save the edit.
Virus.Shell said:
Hello all!
I'm not sure if this has come up yet with anybody here, and I didn't see a post referencing it. I just rooted my Shield Tablet and
installed Titanium Backup. When I went to the preferences to change the backup folder to my external SD card it told me that
it was read-only and wouldn't allow me to use it at all.
I just want to save anybody else in a similar situation some time. I'm unable to link things currently but all the credit goes to
mateenf in the Note 3 Dev Forums for posting this fix:
I would also add that you must mount the partition as R/W first or you will not be able to save the edit.
Click to expand...
Click to collapse
I had some issues with the SD card as well. Now that you have root access go to the play store and install SD fix and netapp sd fix. Install them both and run them. I started with netapp SD fix and it said it worked but only certain apps got the right permissions. After i also installed the SD fix (kitkat) Both of them said status of good to go. And now all apps worked with the SD card. Be sure to also use the Root checker app to verify that your root is sticking.
If you have your Shield or Shield Tablet rooted, I would suggest installing Xposed Framework and then installing the "HandleExternalStorage" module. That will give you back read/write access to external storage. I'm able to read/write to my 128GB Micro SD in my Shield and Shield Tablet and to my 64GB card in a memory card reader using an OTG cable with no issues.
Virus.Shell said:
Hello all!
I'm not sure if this has come up yet with anybody here, and I didn't see a post referencing it. I just rooted my Shield Tablet and
installed Titanium Backup. When I went to the preferences to change the backup folder to my external SD card it told me that
it was read-only and wouldn't allow me to use it at all.
I just want to save anybody else in a similar situation some time. I'm unable to link things currently but all the credit goes to
mateenf in the Note 3 Dev Forums for posting this fix:
I would also add that you must mount the partition as R/W first or you will not be able to save the edit.
Click to expand...
Click to collapse
Just stumbled upon this post and appreciate the information! Have an S5 and was wondering why I couldn't use my extSDcard for backups. Seems ridiculous to be limited to internal storage... One simple line of code and all is working flawlessly.

I've lost everything, including backups. Now starting over . Where's the SD card?

Hello,
Background story:
Yesterday, YouTube app wasn't working, so I made a Titanium Backup and Nandroid backup. I went to "Factory reset" and assuming Google is sane, and still only reset the internal storage not the emulated SD card, I proceeded with the reset expecting to be met with a tick field to choose whether or not to wipe the SD card. Surprisingly, my expectations weren't met. So turning on my phone afterwards revealed the hard truth... the very hard truth. I lost everything. The damn thing wiped the SD card as well.
Question:
Now to the question, after accepting what happened, I'm now in the process of restoring everything from scratch. Though I see that some apps are storing their data on /storage/emulated/legacy/ directory and others are choosing /storage/emulated/0/... I remember I always used storage/emulated/0 before the accident. So I want to confirm, which of the two is the emulated EXTERNAL SD card? Where do I store my "Data" stuff?
Clarification:
Here's the folder structure:
/storage/
has /storage/emulated/ AND /storage/sdcard0 (shortcut)
/storage/emulated/
has /storage/emulated/0 AND /storage/emulated/legacy
/storage/emulated/0
has /storage/emulated/0/(folders include another 0 and also regular SD card files). Accessing the second /0/ shows clockworkmod/
/storage/emulated/legacy
has has /storage/emulated/legacy/(folders include another 0 and also regular SD card files). Accessing the second /0/ shows clockworkmod/
So legacy and 0 has the same inside folders. Deleting one file also deletes it from the other. So what's the difference?
info:
Nexus 5
KitKat 4.4
Rooted
CWM recovery
They're all links to the same place. Go to general and then "sticky roll-up". In there i wrote a nexus 5 data thread that explains them all
If you have a 0 folder within a 0 folder, that means you had a problem which I discuss briefly in my /sdcard problems thread, also in general
rootSU said:
They're all links to the same place. Go to general and then "sticky roll-up". In there i wrote a nexus 5 data thread that explains them all
If you have a 0 folder within a 0 folder, that means you had a problem which I discuss briefly in my /sdcard problems thread, also in general
Click to expand...
Click to collapse
Thanks, I'll check that out.
UPDATE:
I saw this thread here, and it seems like case 5 is closest to mine. Though the wording is a bit confusing or not an exact replica of my case since I see ALL of my SD card files in the /emulted/0/ and /emulated/legacy/ not just a 0/ folder.
When I open /Data/ I find absolutely nothing! /Storage/emulated/ has everything. Do I move stuff (copy-paste) from /emulated/0/ to /data/media/0 (i.e. I'd have to create media/ and then 0/ myself)? I think I'm wrong, so a bit more help would be much appreciated. Also, stating the final destination of the SD card would help (the desired result) so I can move stuff around to get that result.
devil snake said:
Thanks, I'll check that out.
UPDATE:
I saw this thread here, and it seems like case 5 is closest to mine. Though the wording is a bit confusing or not an exact replica of my case since I see ALL of my SD card files in the /emulted/0/ and /emulated/legacy/ not just a 0/ folder.
When I open /Data/ I find absolutely nothing! /Storage/emulated/ has everything. Do I move stuff (copy-paste) from /emulated/0/ to /data/media/0 (i.e. I'd have to create media/ and then 0/ myself)? I think I'm wrong, so a bit more help would be much appreciated. Also, stating the final destination of the SD card would help (the desired result) so I can move stuff around to get that result.
Click to expand...
Click to collapse
The best thing you could do to get you're device working correctly is to flash the factory image again. Right afterwards do a factory reset. You'll have to resetup your device again but it should work correctly
Sent from my Nexus 9 using XDA Free mobile app

Categories

Resources