Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,943 Members 52,079 Now Online
XDA Developers Android and Mobile Development Forum

Problem writing to external SD card

Tip us?
 
Xdpker06
Old
(Last edited by Xdpker06; 21st April 2014 at 05:52 AM.)
#1  
Senior Member - OP
Thanks Meter 8
Posts: 159
Join Date: Dec 2011
Default Problem writing to external SD card

I am rooted and on the stock rom. I used SDfix to enable writing to the external SD card, but I still cannot write to it using Airdroid. I also tried the app FTP server, but I get the same result. Transfers start and disconnect immediately. Using root explorer, I am able to create a folder in the external sd card. I looked at Platform.xml and everything looks like it should.

<permission name="android.permission.READ_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
</permission>

<permission name="android.permission.WRITE_EXTERNAL_STORAGE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
</permission>

<permission name="android.permission.ACCESS_ALL_EXTERNAL_STORA GE" >
<group gid="sdcard_r" />
<group gid="sdcard_rw" />
<group gid="sdcard_all" />
</permission>

<permission name="android.permission.WRITE_MEDIA_STORAGE" >
<group gid="media_rw" />
</permission>

One question, does it matter whether I access the storage from /sdcard2 or /storage/ext_xd or it makes no difference at all? Thanks
*edit* tried other stuff. unmounting/mounting sd card, different sd card. shot in the dark, but still does not work
added <group gid="media_rw" /> to WRITE_EXTERNAL_STORAGE transfer still fails.
 
Xdpker06
Old
#2  
Senior Member - OP
Thanks Meter 8
Posts: 159
Join Date: Dec 2011
Okay, so apparently after I update the platform.xml and reboot, Kit Kat just reverts the changes I make. When I look at the platform.xml after a restart, the <group gid="media_rw" /> line is gone. Is anybody else having this problem?
 
BenPope
Old
#3  
Senior Member
Thanks Meter 880
Posts: 3,501
Join Date: Dec 2007
I think rovo89 made a kernel module that allows system to be writable.
 
andrewnelson
Old
#4  
Account currently disabled
Thanks Meter 23
Posts: 384
Join Date: Feb 2014
Location: Dhaka
You can try by restore your phone.
 
Xdpker06
Old
#5  
Senior Member - OP
Thanks Meter 8
Posts: 159
Join Date: Dec 2011
Quote:
Originally Posted by BenPope View Post
I think rovo89 made a kernel module that allows system to be writable.
I don't understand, I am already rooted. I can already write to system.

Quote:
Originally Posted by andrewnelson View Post
You can try by restore your phone.
I already factory restored it when I rooted the phone.
 
BenPope
Old
#6  
Senior Member
Thanks Meter 880
Posts: 3,501
Join Date: Dec 2007
Quote:
Originally Posted by Xdpker06 View Post
I don't understand, I am already rooted. I can already write to system.

I already factory restored it when I rooted the phone.
You said those changes revert after a restart. You're writing to a shadowed filesystem. The Kernel module fixes that. At least, this is what I understand, I could be wrong.
 
Xdpker06
Old
#7  
Senior Member - OP
Thanks Meter 8
Posts: 159
Join Date: Dec 2011
Quote:
Originally Posted by BenPope View Post
You said those changes revert after a restart. You're writing to a shadowed filesystem. The Kernel module fixes that. At least, this is what I understand, I could be wrong.
Can somebody else chime in or am I the only one with this problem?
 
exad
Old
#8  
exad's Avatar
Senior Member
Thanks Meter 1392
Posts: 3,338
Join Date: Jan 2010
Location: Montreal

 
DONATE TO ME
Quote:
Originally Posted by Xdpker06 View Post
One question, does it matter whether I access the storage from /sdcard2 or /storage/ext_xd
Have you tried accessing from /mnt/media_rw/ext_sd/?

I don't have an sd card to test or I would do so.
My Phone: Telus HTC One M8: 3.16 HBOOT S-OFF

Exad's m8 everything explained thread for teh noobs

 
Xdpker06
Old
#9  
Senior Member - OP
Thanks Meter 8
Posts: 159
Join Date: Dec 2011
Quote:
Originally Posted by exad View Post
Have you tried accessing from /mnt/media_rw/ext_sd/?

I don't have an sd card to test or I would do so.
I don't have the ext_sd folder there. I was reading on this thread

http://forum.xda-developers.com/xpos...fying-t1574401

"You can verify this by starting the Xposed Installer again. If app_process jumped back to an older version (or none at all), you probably have a ROM with S-On or similar, which reverts any changes to /system after a reboot. Use installation via recovery in such cases."

I think I need S-Off
 
BenPope
Old
#10  
Senior Member
Thanks Meter 880
Posts: 3,501
Join Date: Dec 2007
It was flar2 http://forum.xda-developers.com/show....php?t=2701816

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes