No app can mount system as rw, even mount -o rw,remount /system doesn't work
Only adb remount works.
@Chainfire
SuperSU zip broken root at all
Its been updated .
Related
I'm stuck in Recovery and trying to push a file to /system to try to fix things, however I'm not able to mount it as read/write using adb
$ mount -o remount,rw /dev/stl12 /system
mount -o remount,rw /dev/stl12 /system
mount: Operation not permitted
su
Permission denied
Any solution?
I want to use a script to backup and restore my wifi settings and email accounts after a ROM flash.
In the script I use this command to make system R/W to be able to replace EmailProvider.db in data/data/com.android.email/databases/ :
Code:
mount -o remount,rw /dev/block/mtdblock3 /system
Then I reboot, but ALL files (including /system) stay R/W after reboot.
Also when I add this to end of the script, all stays RW:
Code:
mount -o remount,ro /dev/block/mtdblock3 /system
Is this normal?
Should I (and how can I) remount the system RO after excucuting the restore script?
(all above is done in adb shell su, to test before executing script on sgs2)
ROM: own custom ROM made in Ubuntu based on XWKI4
Kernel: stock XWKI4
busybox 1.18.6
su: 2.3.6.3
SuperUser: 2.3.6.3
Click to expand...
Click to collapse
Nevermind,
found the answer:
the /system is remounted RO after the command, but not /data.
And it was in /data/data/com.android.email/databases/ that I made the changes and where it seems to stay RW.
So the data partition is RW just after flashing and stays RW...
Hi,
I am trying to add indic fonts to my amaze. (following this xda thread). I was looking at these instructions to make /system/fonts writable. However, the listing of the mounts on the amaze is somewhat different.
for /system, here is what I am getting
/dev/block/mmcblk0p29 /system ext4 ro,relatime,barrier=1,data=ordered 0 0
so what is my remount command? would this be right?
mount -o remount,rw -t ext4 /dev/block/mmcblk0p29 /system
Any better way to get indic fonts on amaze?
busybox mount -o remount,rw /system
I have a rooted phone with stock rom and superuser. (following the sticky thread how to root your amaze) I am not planning to install any ROMs (just yet). So how do I get busybox? Is there amaze specific busybox.apk that I can install?
Thanks
did not get busybox .. instead gave command
mount -o remount,rw /system
in the adb shell after su and that worked just fine ..
New question .. what are the default rwx permissions? I changed the fonts directory to 777 and would like to move it back to what it was ..755? is it?
755 it is. or use font changer, https://market.android.com/details?id=com.martino2k6.fontchanger
there is a free version
Is there some kind of trick to mounting system as rw so adaway can modify the hosts file. I have cm10 on here ATM
Did you try something like 'adb shell mount -o remount,rw /' ?
HTH
I want move my app to /system/app/, I did follow steps under ROOT privilege
Code:
mount -o remount,rw /system /system
cat /data/local/tmp/abc.apk > /system/app/abc.apk
chmod 644 /system/app/abc.apk
mount -o remount,ro /system /system
reboot
but the abc.apk file disappear from /system/app after reboot.
if I use update.zip package under Recovery mode to write the abc.apk to /system/app, it will be normal after reboot.
so, what's the difference for wrinting system partition under Recovery mode and ROOT privilege?
Thank you very much!