I'm using a rooted Huawei G7 and i'm trying to install BusyBox, but I keep getting an error. I'm 100% sure this error is because there is some weird write protection on /system
. I know this because every time I try to change it to RW in ES File Explorer it changes back to RO when I close the app.
I also tried some terminal commands but with no luck so far.
EDIT: Here is the full log:
u0_a161@hwG7-L01:/ $ su
root@hwG7-L01:/ # mount
…
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
…
root@hwG7-L01:/ # mount -o rw,remount /system
mount: Read-only file system
255|root@hwG7-L01:/ # mount
…
/dev/block/bootdevice/by-name/system /system ext4 ro,seclabel,relatime,data=ordered 0 0
…
EDIT: When I try the mount command, I always get the error Read-only file system
. I don't know why, but could it be possible to put /system
in RW mode from the recovery menu?
/system
is normally mounted as "read-only". This makes it more difficult for evil crackers and rogue apps to do Bad Things. If you want to install BusyBox to/system/xbin
— as you probably should — you will need to temporarily remount it as "read-write" first. – unforgettableidSupportsMonica Jul 13 '16 at 13:47su
;mount
;mount -o rw,remount /system
;mount
— and look carefully at the output. Eachmount
command will produce a couple dozen lines of output. One of these lines will probably start with/dev
, contain/system
somewhere in it, and end with a digit, a space, and another digit. Please [edit] your question, add a heading labeled "EDIT:", and provide us with the relevant line of output from eachmount
command. Each time you edit your question, it will be bumped to the top of the homepage, which is good. – unforgettableidSupportsMonica Jul 13 '16 at 15:28mount help
? The command should output a one-line usage message which can help us to determine whichmount
you're running. – unforgettableidSupportsMonica Jul 14 '16 at 13:46seclabel
flag in the output ofmount
? IMHO that indicates SELinux having its part in the game, and might prevent the partition from being remounted/altered. I've got no experience with this, but possibly SELinux must be either set to permissive mode first, or the remount command needs a specific additional parameter (context=…
). – Izzy Jul 14 '16 at 14:29