Help ADB Push to /System Folder

spielnicht

Senior Member
Dec 15, 2008
379
107
0
DC
Hope this is the right place to post this.

My Atrix is rooted stock 1.83 .

I'm trying to "adb push" some OGG files to "/system/media/audio/" to add-to and replace some of the existing system sounds, especially that bloody annoying keypress (typewriter) sound, but I'm getting the following error (which makes sense):

Read-only file system

Tried using Root Explorer, same issue...again makes sense since its mounted as Read only on boot.

I tried booting into recovery mode, but I can't access the phone via ADB at all, even with USB Debug enabled. I also tried "adb remount" command, no luck either. I get an error "operation not permitted".

So, does anyone know the correct sequence of commands I need in ADB to remount the Atrix /system folder as RW??
 
Last edited:

aver2one

Senior Member
Nov 26, 2010
173
21
0
miami
www.anythinggeekonline.com
What I have been doing is using adb push to the /sdcard then using adb shell then su then
mount -t rfs -o remount,rw /dev/stl5 /system

Then cp /sdcard/whatever /system/media


Sent from my MB860 using XDA App

EDIT: im at my computer now so I can write this easier to understand, lol

Lets say the file you want to change is called whatever.ogg

Code:
adb push whatever.ogg /sdcard/whatever.ogg
adb shell
su
mount -t rfs -o remount,rw /dev/stl5 /system
cp /sdcard/whatever.ogg /system/media/audio/notifications
 
Last edited:
  • Like
Reactions: -Happy Feet-

mrphil101

Senior Member
Apr 2, 2009
317
44
0
NPR, Florida
when you access root explorer, does it let you know that it has been granted supervisor privilages? Does it give you the option to change from read to write? what did you use to root? I had to run the original Aroot three times before if finally gave me root.
 

spielnicht

Senior Member
Dec 15, 2008
379
107
0
DC
You're the best, worked perfectly :) Can't believe that hideous typewriter sound is gone, it only took me 1.5 years as an Android user to finaly say enough is enough. Whomever thought it was a good idea to mimic the sound of an 1800's typewriter on a 21st century device needs to be fired.

Thanks again.


What I have been doing is using adb push to the /sdcard then using adb shell then su then
mount -t rfs -o remount,rw /dev/stl5 /system

Then cp /sdcard/whatever /system/media


Sent from my MB860 using XDA App

EDIT: im at my computer now so I can write this easier to understand, lol

Lets say the file you want to change is called whatever.ogg

Code:
adb push whatever.ogg /sdcard/whatever.ogg
adb shell
su
mount -t rfs -o remount,rw /dev/stl5 /system
cp /sdcard/whatever.ogg /system/media/audio/notifications
 

Obiechina

New member
Apr 20, 2014
1
0
0
i need help

im using a clone samsung galaxy tab2.tried to change the system font with root browser and it bricked.the phone dont have cwm so i didnt back up my rom.any command in adb that can be used to change the font folder
 

palmbeach05

Senior Member
Oct 12, 2012
4,292
1,795
243
im using a clone samsung galaxy tab2.tried to change the system font with root browser and it bricked.the phone dont have cwm so i didnt back up my rom.any command in adb that can be used to change the font folder
Well congrats! that was the dumbest thing ever. NEVER attempt something like that unless you have CWM or equivalent installed, have a backup, and know what you are doing.

Have you tried to read your device's xda forum?
 

epcdranyel

New member
Jul 8, 2014
3
1
0
Iloilo
Please Help

Hahaha, can you help me?

i want to change my /system/framework folder by using the POWER and UP volume keys
i had a backup of my system/framework in my SD..

What should i do?