Writing to SD Card - Nexus 6P Q&A, Help & Troubleshooting

Hi, I am having trouble writing to SD card so that I can copy my data from my old phone, but I am unable to do this?

In answering this, I'm going to assume a few things. First, your bootloader is unlocked. Second, you are rooted. If not, achieve these things, and then give the following a try. Download a root file manager, like ES File Manager, for example, which, in it's settings, has a root explorer option. In that, there is a mount option. Check the ones you want as RW, and you should be good to go.

Related

[Q] SD card issues after root

Hope someone can help, I have achieved root (have the super user option from apps etc) When I boot into clockwork, I am unable to install updates as it always fails to mount my sd card. From what I have read, it seems to be because the transformer is topsy turvy with it folder naming, it is not looking at the card but the system storage. I can see no way to fix this so I am looking at another option.
Is it possible to push updates from my PC when connected to the transformer? I have the file recovery-3.1.0.1-solarnz-R3-240511-1908, in zip format, could someone tell me the commands I would need in order to push and install this file?
Thanks
lrthumwood said:
Hope someone can help, I have achieved root (have the super user option from apps etc) When I boot into clockwork, I am unable to install updates as it always fails to mount my sd card. From what I have read, it seems to be because the transformer is topsy turvy with it folder naming, it is not looking at the card but the system storage. I can see no way to fix this so I am looking at another option.
Is it possible to push updates from my PC when connected to the transformer? I have the file recovery-3.1.0.1-solarnz-R3-240511-1908, in zip format, could someone tell me the commands I would need in order to push and install this file?
Thanks
Click to expand...
Click to collapse
To install updates you need a micro SD card.

[Q] First impressions & SD card issue?

Hi,
Just Got the 7.7 3g - so far so good. Screen is as good as they say
The extra resolution defn. helps with web browsing.
Not finding any lag really.
7.7 is just about the limit for my two handed use but i would say the original 7" was a wee bit easier to handle but something with time should become more intuitive.
Just a few issues - external sd card is somewhat limited. Might be deliberate by Samsung but does not make sense.
Normal user apps cant access to the external sdcard. Using connect bot, i checked permissions and it seems that it is mounted by the os with system permissions, where as the internal sdcard is mounted as sd_rw.
This can't be correct? The only way to copy stuff to it is to use the samsung system file explorer as it has system permissions So copy to internal first then to external - this sounds like a bug?
I have not rooted this yet - might then chown to sd_rw get rid of this ?? There is a lot of entries in the vold.fstab to make sense of. Not a hacker so just looking around. A bit too early to start soft-bricking
But I take these don't have protected bootloaders so thats why we can root ?
Video playback is v.good but I am not able to throw on a bluray m2ts file (obviously with the sd card issue) and play smoothly. I found Dice player can handle m2ts by renaming it to a ts file. It then can use hardware decoding. Still drops frames but still watchable to a certain degree. For all other files mx player is still best. I have lossy transcoded some "native" blurays clips and seems that it handle high profile h264 1080p at high bitrates very well. Hoping, formatting sd card ext3/ext4 will improve things.
On the whole very impressive device - plus more ics goodies to come soon hopefully.
I've noticed some issues with the external SD card as well. Only the stock file manager can copy files from the internal storage to the external storage. I was able to transfer files to the ext. SD via Dooblou's Wifi Explorer, though. Although that would crap out a few times.
I'm hoping that we see some new ROMs with a different file system at any rate. The 4GB limit is so 1998.
Fix for external sd write issue
I've already posted a fix for this in our original thread?
davp said:
There is a fix for the write to external storage in this thread:
Samsung Galaxy Tab Plus->Galaxy Tab Plus General->unable to write files to external sd card
post #7
Requires root to apply fix.
There is a new permission that older file managers aren't asking for yet. The stock file manager knows to ask for it.
Fix worked for my P6810 wifi.
Click to expand...
Click to collapse
thaloneus said:
I can't post a link to the original post on another forum that worked for me so I will quote it:
Simple solution for external sdcard write access on Android 3.2...if you're rooted
I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.
The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
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 your tablet.
After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that access either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.
Click to expand...
Click to collapse
Rooted and then applied this change.
Can write to ext sdcard !!!!
Cheers
Will apply as soon as i get tad, should be getting it today, cant wait
Sent from my GT-P1000 using XDA App
I think you have to format the sd card in the tab. I been able to transfer files no problem. Maybe its due to the mtp for the internal sd.
Sent from my GT-P6800 using xda premium
will6316 said:
I think you have to format the sd card in the tab. I been able to transfer files no problem. Maybe its due to the mtp for the internal sd.
Sent from my GT-P6800 using xda premium
Click to expand...
Click to collapse
Using downloaded apps or the stock File Manager app? Because I formatted the SD card in the Tab and nothing else can write to it. Now, I can drag and drop stuff from my computer via MTP, but that's not the same issue.
Ok, I'm trying to add the permission and it doesn't seem to save after a reboot. I'm rooted and made sure to mount that directory as R/W. After I edit platform.xml and reboot it simply reverts. Can anyone offer a more granular description to this n00b?
Thanks.
Edit: Nevermind. I edited the file on my computer and copied it over the original and am good to go.
burhanistan said:
Ok, I'm trying to add the permission and it doesn't seem to save after a reboot. I'm rooted and made sure to mount that directory as R/W. After I edit platform.xml and reboot it simply reverts. Can anyone offer a more granular description to this n00b?
Thanks.
Edit: Nevermind. I edited the file on my computer and copied it over the original and am good to go.
Click to expand...
Click to collapse
Thanks Burhanistan. I had this problem too and did what you did to get around it. Now I can read/write to the external SD with any file explorer.
Hello,
I can access the external SD with no problem, only issue is Titanium backup showing 440Mb capacity on the external SD (32Gb card).
Anyone with the same issue? Any fix?
Thanks.
No problem for me
davp said:
I've already posted a fix for this in our original thread?
Click to expand...
Click to collapse
Things must have changed as i got my P6800 recently did the upgrade from samsung and tried to copy to external sd and no problem for me. I never tried to do it pre upgrade but maybe the upgrade fixed that. Re i can copy and paste to device from my pc when its connected - to both device and sd. I can also copy using the the stock file manager from device to sd card.
No Issues here also
I recieved the tap a week ago. Now my 32GB Sandisk SD is here.
The Tap did at the first startup and using the described 12 MB Android update via internet conn.
Until now there is no issue between writing from/to SD over PC/MTP, copying between internal and external SD. Used preinstalled Filemanager and ES File Ex.
I tried it unrooted and rooted but not before the Android update.
davp said:
Simple solution for external sdcard write access on Android 3.2...if you're rooted
I've found a simple solution for gaining write access to the external sdcard (/mnt/sdcard2) on Android 3.2. The sdcard is mounted r/w, but the owning group is media_rw which is linked to the WRITE_MEDIA_STORAGE permission. Unfortunately, this permission was not required for access to the external sdcard prior to 3.2 so most file management utilities do not request it when they run...meaning they only have read access to the card.
The simple solution, if you're rooted, is as follows:
1. Using a root-enabled file manager, navigate to /system/etc/permissions and make sure you have mounted the file system r/w.
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 your tablet.
After this change, any apps that request the WRITE_EXTERNAL_STORAGE permission (which includes almost anything that access either of the sdcards) will gain group membership in both sdcard_rw AND media_rw, giving them r/w access to both sdcard filesystems.
Click to expand...
Click to collapse
Some people are reporting the above procedure is no more needed, however, with several apps (like Titanium backup, and a SAMBA explorer), writing to the sdcard (extstorage/.../sdcard) is still impossible (GT6800 updated to latest samsung firmware).
I have used this procedure and can state that Titanium backup works now with the SD card.
Thanks to many reading within the XDA forum, I have found this simpler procedure :
- download / install the "Root Browser Lite" app from the android market
- add write access to group and other to the following directory: /system, /system/etc, /system/etc/permissions (with root browser Lite, press on the directory name during 3 seconds to get a contextual menu allowing to change the permissions)
- add write access to group and other to the file platform.xml in /system/etc/permissions
- use the editor of "Root Browser Lite" to modify the file platform.xml as described above (you should have two <group gid= ...> lines within the WRITE_EXTERNAL_STORAGE xml block.)
- save the file. Verify that a .bak file has been created and that the date of platform.xml changed.
- remove the write access.
- Turn off the GTAB, then turn it ON.
NB: Titanium backup still reports a erronous free size on the SD card (401MB), but backups on the sdcard work.
can't save the xlm doc
davp said:
I've already posted a fix for this in our original thread?
Click to expand...
Click to collapse
Hi, I edit the file but when I try to save it I fail because it says original saved as .....xlm.bak, but I can't find that file and the one I find is unchanged, any ideas?
There is an automated installer for the fix here:
http://forum.xda-developers.com/showthread.php?p=21670802
Is for the plus but worked fine for me
Sent from my SCH-I815 using Tapatalk
damm, must forget something, just followed exacty all the steps
still no writing on sd card
the automatic installer failed also
IS there a way to go into the (forgive the incorrect term) "registry" or similar, and have Android re-interpret/understand that instead of looking in "/sdcard"... it should instead look/point programs to "/mnt/sdcard/extstorages/sdcard"...
i heard that it might be called something like a "simlink" or "symbolic link"... maybe this could resolve the application installation issue to the sdcard as well as backups, transfers, etc... right now, not only do i run out of space too fast, can't install apps to the sd card, but as well, if i should run a hard reset... all my data erases! (yes, the internal "SD card" is erased in a hard reset)...
so, for all practical senses, when it says it will erase data, unless you KNOW you have copied ALL you user data to your "Real" SD Card, you will kill your data without even knowing it when you do a hard reset, even if you "thought" you were protected because "I saved my info to the SD card!"
(and yes, this was my experience today, so it's a fact.)
backup programs won't point to the sd card, (app manager, titanium, app list backup, etc)...
so unless you actively move files individually to the card (and know where to look)...
Bottom line... is there a hack/workaround on this that's not just "open up for file transfers" or is someone working on a ROM that might kill the partitioning and allow the /sdcard to actually point to a real external card?
Edited: Nevermind...
acess-rights-hell
hi forum
i would like to use the EzyKernel v1 - 23/02/2012 as in post http://forum.xda-developers.com/showthread.php?t=1513413&highlight=ezykernel
one of the prerequisites is a stock ZSKL firmware.
on the tab is/was XXKL4 AUT/CH
i successfully flashed the ZSKL2 - but that's where the nightmare started: i could not write to sdcard, busybox/superuser don't work properly, as i can't get root via su - which means to me, that there are messed up accessrights also in other places, not just the SD. the funny thing is, that i finally got the overclocking EzyKernel working, but not busybox + superuser.
does that sound familiar to anyone ?
i would really appreciate any ideas about this.
thank you
with best regards from switzerland
roland
could you please explain what "make sure you have mounted the file system r/w" means. And sorry for my noob question, but does this fix allow to install apps on the external sd card or I'm missing something.

Help With a File/Philz Issue

Hi folks, need some thoughts on a rogue NANDROID file that somehow was saved to SD card\Emulated\legacy\O\O\clockworkmod! EX File Explorer can see it but it says that I have no permission to do anything with it except read or copy to another location. It is taking up over 4GB of the 16GB or phone memory. I have tried several different file managers, Rom Tool Box and still no success, it is still there! Also when connected to PC with USB again it tells me I don't have premission to do anything and nowhere on PC or phone will it allow me to change permissions or ownership. Under Explorer in windows it is not shown as write protected. I may be able to get rid of it by formating Data and Data\Medial in Philz but would rather not do that as my other NANDROIDs probably have the same stuck file. (Didn"t notice it for a while) If anyone has any other ideas for how to delete this rogue I would appreciate.

Help with sd card as portable media

Ok so ive finally upgraded my s4 to a s5 unlocked bootloader, rooted and resurrection rom. I understand the whole adaptable media and encryption. I want my sd card as portable so i can use it in my pc and other phones if needed. Also to use titanium backup to restore apps if i wipe and install a fresh rom.
My problem is es file explorer, root explorer, and any archiving apps are all jacked up and wont write as they used to. I am able to write to the sd card but i want to have full control like i used to on older roms on my s4.
Any help?
maniac2k said:
Ok so ive finally upgraded my s4 to a s5 unlocked bootloader, rooted and resurrection rom. I understand the whole adaptable media and encryption. I want my sd card as portable so i can use it in my pc and other phones if needed. Also to use titanium backup to restore apps if i wipe and install a fresh rom.
My problem is es file explorer, root explorer, and any archiving apps are all jacked up and wont write as they used to. I am able to write to the sd card but i want to have full control like i used to on older roms on my s4.
Any help?
Click to expand...
Click to collapse
I'm using Ressurection too. Marshmallow can be a pain with the sdcard. Apps have to ask for write permission when it first needs it and you have make sure to grant it.
Titanium Backup works with the external sdcard but you have to go to "Preferences", then to "Backup Folder Location", click where it says "Storage provider:", select " Document provider storage", go to the external sdcard (not a directory in it) and press "select", and then go to the TB backup directory and select "Use the current folder".
If you're using a multi partitioned sdcard, Link2SD doesn't work but Apps2SD appears to work fine. Either way, you'll probably get a notification about a corrupted sdcard for each extra partition. You can safely ignore them. Long press on the notification and select the crossed bell icon to prevent it from popping up again.
Some apps have trouble if they are opened from another app. Rar wouldn't work for me in ES File Explorer until I opened it from the app drawer. Then the correct permission dialog popped up and it was fine ever since.
I would also strongly suggest setting selinux mode to permissive. I suggest using SELinuxModeChanger.
Thanks. I changed the selinux mode but es is still wonky when working with zips. I also tried zarchiver opened directly and it has problems too. Oh well.
I did get tibu working previously as you stated.
I hate when enhancements are downgrades!!
Thank you for the information.

Rooted S7E: No SD Card Write

I recently bought an S7E. I was a little disappointed that there was no full root for the thing, but understand the situation with the locked bootloader. So I went the engineering root route. All is well and good there other than I hate that I cannot seemingly install any kind of recovery and make a full backup of the phone. Nonetheless, I the reason I am posting is that I have an issue with writing to the SD card. I have formatted the card with no change. I tried using root explorer to change the ownership of the card with no change (says it can't because of no write permissions). I even tried the KitKat fix I think it was in that you modified the platform.xml file to get write permissions. I had to use ADB to do that though but it too still made no difference.
So I am kind of out of ideas here. I first noticed it trying to run Syncthing which I use to sync files across devices for work and, of course, I use the SD Card for that purpose. However, other apps are unable to write as well like ES File Explorer, Root Explorer and so on.
Does anyone have any solution to this? I am on T-Mobile if that makes a difference. Any help would be greatly appreciated. Thanks.
Just to see if any fresh eyes on this may have some clues or answers. Thanks.
StormStrikes said:
Just to see if any fresh eyes on this may have some clues or answers. Thanks.
Click to expand...
Click to collapse
Install Fx explore from playstore. Click 3dot menu select enable write access.select 3dot menu and again select show all storage then from side menu select memory card then select right symbol on the bottom, you are done.
Thank you for that Anik49. That will get me functional for the moment, but is there not a way to make it permanent? Syncthing is unable to write to the SD card and I have yet to find anything that would adjust the permissions for that specific app or that would more generally give write access to the SD card outside of the file explorer.
StormStrikes said:
Thank you for that Anik49. That will get me functional for the moment, but is there not a way to make it permanent? Syncthing is unable to write to the SD card and I have yet to find anything that would adjust the permissions for that specific app or that would more generally give write access to the SD card outside of the file explorer.
Click to expand...
Click to collapse
Without root you have to give app permission to write on sd card but not all app have the option but with root you can do this you need xposed framework install on your phone. Then install xinternal sd apk and give the app proper permission. It will enable all write access to the memory card.
Anik49 said:
Without root you have to give app permission to write on sd card but not all app have the option but with root you can do this you need xposed framework install on your phone. Then install xinternal sd apk and give the app proper permission. It will enable all write access to the memory card.
Click to expand...
Click to collapse
Awesome! Thank you.

Categories

Resources