I'm trying to push an apk there but I can't get permission. I tried using this:
Code:
adb shell mount -t rfs -o remount,rw /dev/block/stl9 /system
but it told me "operation not permitted". I got that code from the one click root.
What am I doing wrong?
When in the sdk tools directory but not in adb do;
adb push C:\file.apk /sdcard/file.apk
then open shell
adb shell
su
mount -t rfs -o remount,rw /dev/block/stl9 /system
now you are mounted. Just move the file
mv /sdcard/file.apk /system/app/file.apk
Thanks
Sent from my SPH-D700 using XDA App
Related
Okay here is how to do it if you dont already know, (sorry if this was done before but i found it amazingly fun. lol)**Note, you can be caught in a boot loop for ANY boot files, i would exclude the .mp3 file, but just to be safe, make sure any file you edit, has the same attributes as before. Editing the .xml file, as long as you only edit variables(e.g. useAudio="0" // 1: true ; 0:false the "0" <- that is the only part you should edit, It should be in quotes!!) Do this at your own RISK! i have attached the XML file as a TXT file, just rename it and edit it to what you like.
What you need:
DriodExplorer, (GUI for editing the phones filesystem)
adb and AndriodSDK (they come together)
1. Open up your adb shell, and make sure you see '#' and not '$'
2. type this in: mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
so output should look like this for Super Users: (From start to finish)
Code:
adb shell
$ su
su
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
Or if you are Rooted already:
Code:
adb shell
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
then open up DriodExplorer and navigate to the "/system/media/bootscreen/"
folder. you can now drag and drop any file or edit any file you want.
**NOTE: you can also do this with a file explorer from the phone side too.
Now to finish the job, in adb shell put this in, so it looks like this for super users:
Code:
adb shell
$ su
su
# mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
And for Rooted users:
Code:
adb shell
# mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
mount -o remount,r -t yaffs2 /dev/block/mtdblock3 /system
Notice the 'rw' is now just 'r' this makes the system folder turn back to read only mode, so not to **** it up later
Hope this has helped many of you!!
i rooted my verizon galaxy tab and i can run Root apps, but i cant move a wpa_supplicant file to my /system/root using Astro.
Is this a root issue or do i need something better than Astro? I also tried OI file manager but it just says "cannot move file here".
By default, /system is (usually) mounted read-only. You probably need to remount it read-write.
Code:
adb remount /system
adb push [path-to-file] /system/bin
If remount doesn't work, try
Code:
adb shell mount -t yaffs2 -o rw,remount /dev/block/mtdblock3 /system
Whenever i type:
adb shell "mount -o remount,rw /dev/block/stl9 /system"
i get the error: mount: Operation not permitted
adb shell "su mount -o rw,remount /dev/block/stl6 /system"
i get Permission Denied
can anyone tell me what to do??????
Try to get "shell root" with Superoneclick. Then try again.
Happens the same with me. I was adviced to flash the last fugumod (Which also speeds up your phone) but haven't had time to try.
Humpie said:
Happens the same with me. I was adviced to flash the last fugumod (Which also speeds up your phone) but haven't had time to try.
Click to expand...
Click to collapse
Because fugumod has allready rooted shell. You can use superoneclick to gain temporal shell root. After a restart will be lost.
android_murphy said:
Whenever i type:
adb shell "mount -o remount,rw /dev/block/stl9 /system"
i get the error: mount: Operation not permitted
adb shell "su mount -o rw,remount /dev/block/stl6 /system"
i get Permission Denied
can anyone tell me what to do??????
Click to expand...
Click to collapse
For the 1st, you are not root.
For the second, you should not put 2 commands in 1. Enter 1 command by 1.
Code:
adb shell
$ su
# mount -o remount,rw /dev/block/stl6 /system
or if you want to put 2 or more commands, add a ";" between each command :
Code:
adb shell "su; mount -o remount,rw /dev/block/stl6 /system"
but you will have to send CTRL+C as qtadb doesnt seem to like 2 commands in 1.
What if I'm root and still get the same error?
I used the xUltimate-v2.3.3 to make deodex.
Then it comes to two folders "done_app" & "done_frame"
I copy the two folders into my sdcard, and I want to use adb shell to push & replace
files to system/app /frams
down are my situation.
===========================
C:\android-sdk-windows\tools>adb shell
[email protected]:/$ su
su
[email protected]:/# stop
.................................then it stop...I can't do anything
===========================
down are the sample code from internet
============================
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
=====================================
Can you help me ?
I did wrong on what step....
My OS system is windows7 x64 in command line.
dickluo said:
i used the xultimate-v2.3.3 to make deodex.
Then it comes to two folders "done_app" & "done_frame"
i copy the two folders into my sdcard, and i want to use adb shell to push & replace
files to system/app /frams
down are my situation.
===========================
c:\android-sdk-windows\tools>adb shell
[email protected]:/$ su
su
[email protected]:/# stop
.................................then it stop...i can't do anything
===========================
down are the sample code from internet
============================
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
=====================================
can you help me ?
I did wrong on what step....
My os system is windows7 x64 in command line.
Click to expand...
Click to collapse
記得右鍵點擊cmd圖標,選擇 以管理員身份運行。 看看你是不是忘記了這一步~
No use about that.
Maybe I'll try it on winxp system.
Sent from my ME865 using xda premium
Hi there,Since my M9 update to android M.I want to deodex RUU like what I did in android 5.0.
Code:
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
this is what I did.and shows like this
Code:
[email protected]_himaulatt:/ $ su
[email protected]_himaulatt:/ # stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
mount: Permission denied
I don't know what should I do. I use charge only option when I plug to USB.
if there any solution.I will be very happy:silly: