System RW on Axon 7 US - ZTE Axon 7 Questions & Answers

I'm just having root from Magisk 13 on B25. I used ES File Explorer to convert some app into system app but /system doesn't give me rw permission. I keep change back to RO on my root explorer.
I diid terminal command and have this
mount -o remount,rw /system
mount: '/dev/block/bootdevice/by-name/system'->'/system': Device or resource busy
Click to expand...
Click to collapse
and this
mount | grep \system
/dev/block/sde13 on /system type ext4 (ro,seclabel,relatime,discard,data=ordered)
/dev/block/loop0 on /system/etc/hosts type ext4 (rw,seclabel,relatime,data=ordered)
Click to expand...
Click to collapse
I feel like the security doesn't let me change permission for system somehow.
Thanks in advanced!

NVm, i solved the issue. I haven't disable the write protection. I guess i need to do it after upgrade android.

Related

copy file to /system

how can i copy file to /system
remount the file system
ex.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock5 /system
xcxda said:
remount the file system
ex.
mount -o rw,remount -t yaffs2 /dev/block/mtdblock5 /system
Click to expand...
Click to collapse
mount: Operation not permitted
tadasi said:
how can i copy file to /system
Click to expand...
Click to collapse
Read this, three different methods.
http://forum.xda-developers.com/showthread.php?p=7622713#post7622713

[Q] Writing to system?

I'v just rooted my Tab, I don't know if I'm losing the plot but I can't figure out how to write to the system partition? I can't find any apps that will work (for free) and "adb remount" doesn't work. "remount failed: Operation not permitted"
Am I missing something?
alias_neo said:
I'v just rooted my Tab, I don't know if I'm losing the plot but I can't figure out how to write to the system partition? I can't find any apps that will work (for free) and "adb remount" doesn't work. "remount failed: Operation not permitted"
Am I missing something?
Click to expand...
Click to collapse
adb remount doesn't work because /default.prop needs ro.secure set to 0 (not 1). This can't be changed easily without modifying the boot.img.
However, you can remount /system as a r/w filesystem using ADB by opening a shell and:
Code:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p1 /system
or
Code:
su
mount -o rw,remount -t ext3 /dev/mtdblock3 /system
Regards,
Dave
foxmeister said:
adb remount doesn't work because /default.prop needs ro.secure set to 0 (not 1). This can't be changed easily without modifying the boot.img.
However, you can remount /system as a r/w filesystem using ADB by opening a shell and:
Code:
su
mount -o rw,remount -t ext3 /dev/block/mmcblk0p1 /system
or
Code:
su
mount -o rw,remount -t ext3 /dev/mtdblock3 /system
Regards,
Dave
Click to expand...
Click to collapse
Thanks, so which should I actually use, the former or the latter?
I've personally used the first command, but I saw the second one on another thread and it seems to work as well.
To be honest, I think it's ignoring the parameter anyway.
Regards,
Dave

[solved]adb remount

Hello,
Has anyone gotten adb remount to work? I always get
remount failed: operation not permitted
Click to expand...
Click to collapse
I've also tried
Code:
mount -o remount,rw /dev/block/mmcblk0p4 /system
both from adb and in the terminal emulator but I get the same response
Trying to push anything to /system just results in
failed to copy '<file>' to '/system/<path>': Read-only file system
Click to expand...
Click to collapse
Any ideas?
Root?
You are rooted right? and didn't forget to "su" before those shell commands? because the shell command works fine for me, I remount system and changed the fonts
apparently I was just making it more complicated than it needs to be. You don't need to specify the mount point. Just use
mount -o remount,rw /system

[Q] /system automatically remounts as ro

I'm rooted via the standard root, with CWM installed.
When I attempt to mount /system as read-write with mount -o rw,remount /dev/block/system /system, about 10 seconds later it remounts as -ro.
This means I can't change anything on there, is anyone else having this issue and is there a fix?
MrLadoodle said:
I'm rooted via the standard root, with CWM installed.
When I attempt to mount /system as read-write with mount -o rw,remount /dev/block/system /system, about 10 seconds later it remounts as -ro.
This means I can't change anything on there, is anyone else having this issue and is there a fix?
Click to expand...
Click to collapse
I had a similar problem once and I fixed it by restoring an old nandroid backup, I was never able to figure out what caused it.
I had the same issue when I installed the ota2 update, then tried to reroot. I think I was able to change permissions by installing, then opening superuser app.
Im on OTA1.
Hello,
I've got the same problem. With the following programs i have read/write access to /system only for seconds:
Esexplorer, file manager hd, root explorer, total commander , especially: adb shell
Strange thing: i have no problems with permissons when using x-plore or titanium backup.
(Currently OTA2)
Installing superuser again does not fix anything.
I have the same problem here (OTA2) :-/
A workaround I found is to chain the remount-command with the command you want to execute on /system:
Code:
$ su
# mount -o rw,remount -t ext4 /dev/block/mmcblk0p3 /system && cp /sdcard/Download/kernel_modules/cifs.ko /system/lib/modules/
# ls /system/lib/modules/
bcm4329.ko
cifs.ko
scsi_wait_scan.ko
Brilliant!

where is app locations in defy mini ?

hi i want to delete Mobidiv and swype keyboard but there is no .apk and .odex name in system/app
any body know where is this file ?
s27moto said:
hi i want to delete Mobidiv and swype keyboard but there is no .apk and .odex name in system/app
any body know where is this file ?
Click to expand...
Click to collapse
Remount /flex partition as r/w using adb. Use these commands in cmd :
Code:
adb shell
Code:
su
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock14 /flex
Now use root explorer and delete the apk's from the /flex/app folder. Then wipe dalvik-cache in CWM Recovery.
rootdefyxt320 said:
Remount /flex partition as r/w using adb. Use these commands in cmd :
Code:
adb shell
Code:
su
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock14 /flex
Now use root explorer and delete the apk's from the /flex/app folder. Then wipe dalvik-cache in CWM Recovery.
Click to expand...
Click to collapse
thanks men it's done :good:
waiting for your Custom ROMS for XT320
rootdefyxt320 said:
Remount /flex partition as r/w using adb. Use these commands in cmd :
Code:
adb shell
Code:
su
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock14 /flex
Now use root explorer and delete the apk's from the /flex/app folder. Then wipe dalvik-cache in CWM Recovery.
Click to expand...
Click to collapse
in this folder only can see apk where is odex file ???
s27moto said:
in this folder only can see apk where is odex file ???
Click to expand...
Click to collapse
/Flex is deodexed. There is no odex file in /fex.

Categories

Resources