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 June 4th, 2010, 11:33 PM   #1 (permalink)
Junior Member
 
Join Date: Jun 2010
Location: Simi Valley, CA
Posts: 20
 
Device(s): Motorola Droid X
Thanks: 1
Thanked 0 Times in 0 Posts
Default "Read-Only File System" when trying to ADB Push an App

Rooted my Droid for the first time earlier today, and installed the NexBeast using the handy-dandy Mod Manager. So far everything has been great, but I'm having problems installing non-Market Apps.

I'm trying to install a Live Wallpaper from http://androidforums.com/all-things-root-droid/63554-coheed-cambria-live-wallpaper.html, but I keep receiving an error.

Here is a copy from the CMD console:
Quote:
D:\Program Files (x86)\android-sdk-windows\tools>adb push LiveWallpapers.apk /system/app/LiveWallpapers.apk

failed to copy 'LiveWallpapers.apk' to '/system/app/LiveWallpapers.apk': Read-only file system
I also tried the other method, which says the file is already there?

Quote:
D:\Program Files (x86)\android-sdk-windows\tools>adb shell
# su
su
# mount -o,rw remount /dev/block/mtdblock4 /system/
mount -o,rw remount /dev/block/mtdblock4 /system/
Usage: mount [-r] [-w] [-o options] [-t type] device directory
# cp /sdcard/LiveWallpapers.apk /system/app/LiveWallpapers.apk
cp /sdcard/LiveWallpapers.apk /system/app/LiveWallpapers.apk
cp: cannot create '/system/app/LiveWallpapers.apk': File exists
If it's already there, what else do I need to do? It doesn't show up under Applications>Manage Applications OR under the Market Downloads.

I HAVE checked the "Unknown Sources" box, but still nothing. Any ideas? Thanks!

Grimshak is offline  
Reply With Quote
Sponsors
Old June 4th, 2010, 11:34 PM   #2 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,141 Times in 697 Posts
Default

You need to mount the system as R/W first, before you push:

Code:
adb shell sysrw
adb push blah blah blah
adb shell sync
adb shell sysro
__________________
Overclocked Rooted Droid X with ApeX


Fabolous is offline  
Reply With Quote
Old June 4th, 2010, 11:45 PM   #3 (permalink)
Junior Member
 
Join Date: Jun 2010
Location: Simi Valley, CA
Posts: 20
 
Device(s): Motorola Droid X
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Fabolous View Post
You need to mount the system as R/W first, before you push:

Code:
adb shell sysrw
adb push blah blah blah
adb shell sync
adb shell sysro
Awesome! It pushed correctly. However, I am a SUPER newbie to this, and I'm not sure what to do after I've finished the ADB part of it. On the phone, do I need to install it? Again, I checked in the Market Downloads and under Manage Applications (as well as Live Wallpapers, just in-case), and I don't see anything. I know this is gonna be something simple, I just don't quite know what I'm doing yet.

Thanks again!
Grimshak is offline  
Last edited by Grimshak; June 4th, 2010 at 11:45 PM. Reason: Added a thank you!
Reply With Quote
Old June 4th, 2010, 11:55 PM   #4 (permalink)
Superuser
 
Fabolous's Avatar
 
Join Date: Nov 2009
Location: Illinois
Posts: 3,636
 
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Thanks: 134
Thanked 2,141 Times in 697 Posts
Default

You should just press menu, wallpapers, live wallpapers, and it should be there.
Fabolous is offline  
Reply With Quote
Old June 4th, 2010, 11:56 PM   #5 (permalink)
Junior Member
 
Join Date: Jun 2010
Location: Simi Valley, CA
Posts: 20
 
Device(s): Motorola Droid X
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Fabolous View Post
You should just press menu, wallpapers, live wallpapers, and it should be there.
I just realized it replaced one I had already on there...god I feel dumb.

Thanks again.
Grimshak is offline  
Reply With Quote
Old February 7th, 2011, 03:27 PM   #6 (permalink)
Junior Member
 
Join Date: Jan 2010
Posts: 17
 
Device(s):
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Fabolous View Post
You need to mount the system as R/W first, before you push:

Code:
adb shell sysrw
adb push blah blah blah
adb shell sync
adb shell sysro
Mind spelling out the actual commands for an Android newbie?

I'm trying to push a file to my Android device but I get the same error as the original thread starter. Then someone said I had to try doing the adb remount command and it doesn't seem to work :/

Code:
D:\Test\android-sdk-windows\platform-tools>adb push D:\tun.ko \system\lib\modules
failed to copy 'D:\tun.ko' to '\system\lib\modules': Read-only file system

D:\Test\android-sdk-windows\platform-tools>adb remount
remount failed: Operation not permitted
Carnivex is offline  
Last edited by Carnivex; February 7th, 2011 at 03:32 PM.
Reply With Quote
Old January 19th, 2012, 04:40 PM   #7 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 12
 
Device(s):
Thanks: 3
Thanked 1 Time in 1 Post
Default

Those are the actual commands, to use on your PC.

However, when I do

adb shell sysrw

I get

sysrw: not found

Any ideas?

GaJ
GreenAsJade is offline  
Reply With Quote
Old January 19th, 2012, 04:44 PM   #8 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 12
 
Device(s):
Thanks: 3
Thanked 1 Time in 1 Post
Default

Quote:
Originally Posted by Grimshak View Post
Rooted my Droid for the first time earlier today, and installed the NexBeast using the handy-dandy Mod Manager. So far everything has been great, but I'm having problems installing non-Market Apps.

I'm trying to install a Live Wallpaper from http://androidforums.com/all-things-root-droid/63554-coheed-cambria-live-wallpaper.html, but I keep receiving an error.

Here is a copy from the CMD console:


I also tried the other method, which says the file is already there?



If it's already there, what else do I need to do? It doesn't show up under Applications>Manage Applications OR under the Market Downloads.

I HAVE checked the "Unknown Sources" box, but still nothing. Any ideas? Thanks!
Your remount command failed.

This is because -o,rw is not valid syntax for mount

So if for no other reason than this, you were sure to fail with that attempt...

GaJ
GreenAsJade is offline  
Reply With Quote
Old January 19th, 2012, 04:46 PM   #9 (permalink)
New Member
 
Join Date: Jan 2012
Posts: 12
 
Device(s):
Thanks: 3
Thanked 1 Time in 1 Post
Default

I did

# su
# mount

(which gave me a list of the mounts, so I could choose the right mount points for /system, which was not mtdblock4 for me, but rather mtdblock1)

# mount -rw -o remount /dev/block/mtdblock1 /system

and after that the adb push worked.

Yay, thanks for the hints in this thread.

(still don't know why adb shell sysrw didn't work)

GaJ
GreenAsJade is offline  
Reply With Quote
Old January 21st, 2012, 06:46 PM   #10 (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

Quote:
Originally Posted by GreenAsJade View Post
(still don't know why adb shell sysrw didn't work)

GaJ
That's because "sysrw" is not an adb command. It is usually a .sh script which contains the longer command that some developers have included in their roms to be run from a terminal on the phone. However while in adb shell a "adb remount" usually does the same thing.
teddyearp is offline  
Reply With Quote
Sponsors
Old February 28th, 2012, 08:10 PM   #11 (permalink)
Junior Member
 
TFroehlich4368's Avatar
 
Join Date: Sep 2011
Location: Kalamazoo, Michigan
Posts: 64
 
Device(s): Samsung Galaxy Prevail
Thanks: 5
Thanked 4 Times in 2 Posts
Default

Quote:
Originally Posted by Fabolous View Post
You need to mount the system as R/W first, before you push:

Code:
adb shell sysrw
adb push blah blah blah
adb shell sync
adb shell sysro
I get a "permission denied" when I adb shell sysrw
TFroehlich4368 is offline  
Reply With Quote
Old February 29th, 2012, 03:20 PM   #12 (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

Quote:
Originally Posted by TFroehlich4368 View Post
I get a "permission denied" when I adb shell sysrw
Read the post right above yours.
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

Tags
adb, apk, droid, live, nexbeast, push, root, wallpaper


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
"SD Card blank or has unsupported file system" MSPreacher Desire HD - Support and Troubleshooting 53 April 25th, 2012 07:56 PM
"ES File Explorer" or "ASTRO"? ZDroid1 Android Applications 23 November 12th, 2010 01:38 PM
cannot adb remove "Read only file system" tannerw_2010 Sprint Hero - All Things Root 14 July 23rd, 2010 08:56 PM
Hot to read a ".pbf" file on PC??? gilbequick Android Lounge 1 July 13th, 2010 09:01 AM
Support Under "System select", does "home only" prevent roaming for voice calls? Johnny Cakes Samsung Moment 1 December 7th, 2009 07:58 PM



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