FORUMS

Which IO Announcement Are You Most Excited About?

The keynote we had all been waiting for has just ended and it’s time to enjoy … more

Google Launches Google Photos At I/O 2015 Keynote

While rumors have been floating around for a while, the Google I/O 2015 has made … more

Google Now Marches Forward with ‘Now on Tap’

When Google Now was announced three years ago, it revolutionized the mobile … more

I/O 2015: Google Announces App Link Enhancements

During the Google I/O Keynote, VP of Engineering Dave Burke announced that the Android … more
Post Reply Subscribe to Thread Email Thread

[Q] Unable to mount /sdcard as rw

6th December 2013, 05:01 AM |#1  
OP Junior Member
Thanks Meter: 0
 
More
I'm currently trying to use adb to push a ROM to my sdcard on my Verizon Galaxy Nexus. However, it keeps failing due to /sdcard being a read-only filesystem.

When I adb shell into the phone and type mount, i get this (among others):
Code:
/dev/block/mmcblk0p12 on /sdcard type ext4 <ro,relatime,barrier=1,data=ordered>
Attempting to mount /sdcard as read-write is not proving fruitful:
Code:
mount -o remount rw /sdcard
Can anyone help? I'm just trying to get a rom on there so i can install it. Unfortunately, the phone never leaves the google screen when i try to boot, so recovery and fastboot are my only options.
 
 
6th December 2013, 04:28 PM |#2  
DonDizzurp's Avatar
Senior Member
The Internet
Thanks Meter: 417
 
More
mount -o rw,remount /dev/block/mmcblk0p12 /sdcard

try that
7th December 2013, 01:01 AM |#3  
OP Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by DonDizzurp

mount -o rw,remount /dev/block/mmcblk0p12 /sdcard

try that

Thanks for the help. It now mounts as rw. However, when i try to

Code:
adb push C:\rom.zip /sdcard/rom.zip
It fails and i get a Fil I/O error.
7th December 2013, 06:46 AM |#4  
DonDizzurp's Avatar
Senior Member
The Internet
Thanks Meter: 417
 
More
Quote:
Originally Posted by ttremblay

Thanks for the help. It now mounts as rw. However, when i try to

Code:
adb push C:\rom.zip /sdcard/rom.zip
It fails and i get a Fil I/O error.

To make things easier, copy the .zip file to the folder where you have ADB then try

adb push ./rom.zip /sdcard/rom.zip
9th December 2013, 09:52 AM |#5  
ashclepdia's Avatar
Senior Member
Flag under philadelphia above Delaware, beer heaven
Thanks Meter: 1,537
 
Donate to Me
More
I never could get things to push to sdcard while in recovery mode no matter what I tried.
adb sideload was how I always did I

---------- Post added at 04:52 AM ---------- Previous post was at 04:51 AM ----------

Or maybe instead of using "/sdcard" use "/data/media"?
6th November 2014, 10:44 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Hello there, my samsung galaxy s2 i9100's internal sdcard suddenly became read-only shortly after updating it to 4.1. I've tried using the command: ''mount -o remount, rw /sdcard'' which works until i reboot or connect it to an external usb storage device. I'm kindly asking if anyone knows a permanent solution to my problem. P.S- I'm a bit new to this android thing so make your explanations as easy as possible. Please help
Post Reply Subscribe to Thread

Tags
adb, read-write, sdcard
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes