June 4th, 2010, 11:33 PM
#1 (permalink )
Junior Member
Thread Author (OP)
Join Date: Jun 2010
Location: Simi Valley, CA
Posts: 20
Device(s): Motorola Droid X
Carrier: Not Provided
Thanks: 1
Thanked 0 Times in 0 Posts
"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!
Sponsors
June 4th, 2010, 11:34 PM
#2 (permalink )
Superuser
Join Date: Nov 2009
Location: Illinois
Posts: 3,635
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Carrier: Not Provided
Thanks: 134
Thanked 2,143 Times in 697 Posts
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
June 4th, 2010, 11:45 PM
#3 (permalink )
Junior Member
Thread Author (OP)
Join Date: Jun 2010
Location: Simi Valley, CA
Posts: 20
Device(s): Motorola Droid X
Carrier: Not Provided
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by
Fabolous
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!
Last edited by Grimshak; June 4th, 2010 at 11:45 PM .
Reason: Added a thank you!
June 4th, 2010, 11:55 PM
#4 (permalink )
Superuser
Join Date: Nov 2009
Location: Illinois
Posts: 3,635
Device(s): Galaxy Nexus, Sensation 4G, Nexus S, Droid X, XOOM 4G, Touchpad
Carrier: Not Provided
Thanks: 134
Thanked 2,143 Times in 697 Posts
You should just press menu, wallpapers, live wallpapers, and it should be there.
June 4th, 2010, 11:56 PM
#5 (permalink )
Junior Member
Thread Author (OP)
Join Date: Jun 2010
Location: Simi Valley, CA
Posts: 20
Device(s): Motorola Droid X
Carrier: Not Provided
Thanks: 1
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by
Fabolous
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.
February 7th, 2011, 03:27 PM
#6 (permalink )
Junior Member
Join Date: Jan 2010
Posts: 17
Device(s):
Carrier: Not Provided
Thanks: 0
Thanked 1 Time in 1 Post
Quote:
Originally Posted by
Fabolous
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
Last edited by Carnivex; February 7th, 2011 at 03:32 PM .
January 19th, 2012, 04:40 PM
#7 (permalink )
New Member
Join Date: Jan 2012
Posts: 12
Device(s):
Carrier: Not Provided
Thanks: 3
Thanked 1 Time in 1 Post
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
January 19th, 2012, 04:44 PM
#8 (permalink )
New Member
Join Date: Jan 2012
Posts: 12
Device(s):
Carrier: Not Provided
Thanks: 3
Thanked 1 Time in 1 Post
Quote:
Originally Posted by
Grimshak
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
January 19th, 2012, 04:46 PM
#9 (permalink )
New Member
Join Date: Jan 2012
Posts: 12
Device(s):
Carrier: Not Provided
Thanks: 3
Thanked 1 Time in 1 Post
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
January 21st, 2012, 06:46 PM
#10 (permalink )
The Guide who has guides
Join Date: May 2010
Location: Randle, WA
Posts: 1,453
Device(s): SamsungŪ SCH-I515
Carrier: Verizon
Thanks: 448
Thanked 461 Times in 283 Posts
Quote:
Originally Posted by
GreenAsJade
(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.
February 28th, 2012, 08:10 PM
#11 (permalink )
Junior Member
Join Date: Sep 2011
Location: Kalamazoo, Michigan
Posts: 69
Device(s): Samsung Galaxy Prevail
Carrier: Not Provided
Thanks: 5
Thanked 8 Times in 2 Posts
Quote:
Originally Posted by
Fabolous
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
February 29th, 2012, 03:20 PM
#12 (permalink )
The Guide who has guides
Join Date: May 2010
Location: Randle, WA
Posts: 1,453
Device(s): SamsungŪ SCH-I515
Carrier: Verizon
Thanks: 448
Thanked 461 Times in 283 Posts
Quote:
Originally Posted by
TFroehlich4368
I get a "permission denied" when I adb shell sysrw
Read the post right above yours.
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off