Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root

Droid - All Things Root Rooting, ROMS, Overclocking, etc.



Reply
 
LinkBack Thread Tools
Old May 19th, 2011, 06:01 PM   #1 (permalink)
New Member
 
Join Date: May 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default Read only file system

I am trying to push "build.prop" which I edited to get Netflix support. Note, phone is rooted.

At a cmd prompt: adb push C:\build.prop /system/
failed to copy 'c:\build.prop' to '/system//build.prop': Read-only file system

Tried: adb remount
remount failed: Operation not permitted

Tried: adb shell sysrw
sysrw: permission denied

I also tried editing the file through a root file system editor. Tried using standard *nix commands at a terminal editor after switching to su.

Any ideas would be greatly appreciated!!

steveo225 is offline  
Reply With Quote
Sponsors
Old May 19th, 2011, 07:00 PM   #2 (permalink)
Senior Member
 
Join Date: Jan 2010
Posts: 684
 
Device(s): Verizon Galaxy Nexus
Thanks: 42
Thanked 199 Times in 138 Posts
Default

I'm not sure, cause I'm still quite nubuish with camands in the SDK, but I think you need to mount the system folder rw first

$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system

Then try to push your file.

Some one more knowledgable please correct me if I'm wrong.
trav473 is offline  
Reply With Quote
Old May 19th, 2011, 07:13 PM   #3 (permalink)
New Member
 
Join Date: May 2010
Posts: 2
 
Device(s):
Thanks: 0
Thanked 0 Times in 0 Posts
Default

For the most part that worked. Small caveat: adb shell, then su failed. Wouldn't give root access. But using a terminal emulator on the phone, perfect. Thanks!!
steveo225 is offline  
Reply With Quote
Old May 19th, 2011, 07:30 PM   #4 (permalink)
Senior Member
 
Join Date: Jan 2010
Posts: 684
 
Device(s): Verizon Galaxy Nexus
Thanks: 42
Thanked 199 Times in 138 Posts
Default

at least you got it. good!
trav473 is offline  
Reply With Quote
Old May 19th, 2011, 09:34 PM   #5 (permalink)
Senior Member
 
teddyearp's Avatar
 
Join Date: May 2010
Posts: 818
 
Device(s): Motorola® A855
Thanks: 144
Thanked 241 Times in 161 Posts
Default

FYI, the most possible reason that the 'su' command _might_ not have worked is that you need to check your phone the first time and see the pop-up asking for permission, just like the first time you run any other root app. Also, a tiny nit pick, it should be mtdblock4 and not mtdblock3 for the A855, but I usually just do this:
Code:
mount remount,ro /dev/null /system
which lets the system decide for itself which one is most appropriate to use.
teddyearp is offline  
Reply With Quote
Old February 20th, 2012, 03:54 PM   #6 (permalink)
New Member
 
Join Date: Jul 2010
Posts: 9
 
Device(s): Droid Eris. Suave Smush v2
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by trav473 View Post
$ adb shell
$ su
$ mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
Firstly, sorry for resurrecting an old thread, but I had to follow this instruction to get my /system to mount as rw so that I could remove the systemupdater that keeps bothering me and it lead me to a few questions.

1.) What causes the adb remount to quit working? and
2.) Can someone explain or point me to an explanation of what the code does. I'm trying to learn all I can about linux and android and I just want to know more about the syntax and what is going on in that command. Thanks in advance to anyone who feels like responding
jjtjp is offline  
Reply With Quote
Old February 21st, 2012, 04:08 PM   #7 (permalink)
Senior Member
 
teddyearp's Avatar
 
Join Date: May 2010
Posts: 818
 
Device(s): Motorola® A855
Thanks: 144
Thanked 241 Times in 161 Posts
Default

1) I am not sure, but it might only work while booted into a custom recovery where the phone is already dropped to su status. I use the command mentioned above whiel in adb shell.

2) Google. There is no one place to find what you want, so much effort and searching for the bits and pieces is what it will take.

good luck
teddyearp is offline  
Reply With Quote
Reply

Motorola Droid
Current Rating:
Rate this Phone:

The Motorola Droid - the first ever Verizon Android Phone - exploded onto the mobile market with an incredibly successful ad campaign that brough Android to the masses. With a huge and vibrant touchscreen, solid metal body, full QWERTY keyboard, 5M... Read More


Bookmarks


Go Back   Android Forums > Android Phones > Motorola Droid > Droid - All Things Root User CP
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 03:48 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo