Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

Problem writing to external SD card

OP Xdpker06

21st April 2014, 05:53 AM   |  #1  
OP Senior Member
Thanks Meter: 8
 
162 posts
Join Date:Joined: Dec 2011
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.
Last edited by Xdpker06; 21st April 2014 at 06:52 AM.
21st April 2014, 07:06 AM   |  #2  
OP Senior Member
Thanks Meter: 8
 
162 posts
Join Date:Joined: 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?
21st April 2014, 10:17 AM   |  #3  
Senior Member
Thanks Meter: 1,024
 
3,727 posts
Join Date:Joined: Dec 2007
I think rovo89 made a kernel module that allows system to be writable.
21st April 2014, 11:00 AM   |  #4  
Account currently disabled
Flag Dhaka
Thanks Meter: 23
 
384 posts
Join Date:Joined: Feb 2014
You can try by restore your phone.
21st April 2014, 05:54 PM   |  #5  
OP Senior Member
Thanks Meter: 8
 
162 posts
Join Date:Joined: Dec 2011
Quote:
Originally Posted by BenPope

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

You can try by restore your phone.

I already factory restored it when I rooted the phone.
21st April 2014, 06:12 PM   |  #6  
Senior Member
Thanks Meter: 1,024
 
3,727 posts
Join Date:Joined: Dec 2007
Quote:
Originally Posted by Xdpker06

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.
21st April 2014, 06:23 PM   |  #7  
OP Senior Member
Thanks Meter: 8
 
162 posts
Join Date:Joined: Dec 2011
Quote:
Originally Posted by BenPope

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?
21st April 2014, 06:29 PM   |  #8  
exad's Avatar
Senior Member
Flag Montreal
Thanks Meter: 1,444
 
3,362 posts
Join Date:Joined: Jan 2010
Donate to Me
More
Quote:
Originally Posted by Xdpker06

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.
21st April 2014, 06:32 PM   |  #9  
OP Senior Member
Thanks Meter: 8
 
162 posts
Join Date:Joined: Dec 2011
Quote:
Originally Posted by exad

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
21st April 2014, 06:40 PM   |  #10  
Senior Member
Thanks Meter: 1,024
 
3,727 posts
Join Date:Joined: Dec 2007
It was flar2 http://forum.xda-developers.com/show....php?t=2701816

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes