Mounting /system as r/w - Upgrading, Modifying and Unlocking

i'm trying to mount /system as r/w to put apps in /system/priv-app.
However i can't seem to find a way that works on my phone (oneplus 6 running android 8.1).
if you have any suggestions please leave a reply
Things i can think of i have tried:
TWRP
Root explorer
mount -o rw,remount /system

i have found a way to put apps in priv-app i just used systemizer

Related

[SOLVED?] Busybox causes /system to be read-only?

First, my Euro Desire Z is S-Off (using the gfree method) and perm-rooted.
I was messing with installing some new keyboard layouts to the /system folder, when I found and installed busybox from the market to use its cp command...
Then I discovered I could no longer write to /system -- I could before busybox
I booted to recovery, installed my nandroid backup (taken before installing busybox), and I still can't get write access to /system
I did a factory wipe (still have S-Off) ran visionary to root and permroot ( I get the # prompt just fine) and still no write access to /system.
I restored my nandroid to get my apps back and still can't seem to get write access.
Any ideas
Hmm -- I just found and installed "mount /system" from the market and that did it -- I can now write to /system.
Not sure why it stopped working before... Busybox may have been a red herring.
I think it was just that you still had /system mounted as read-only, and that app just mounted it as read-write (i.e. "mount /system -o rw, remount" )
steviewevie said:
I think it was just that you still had /system mounted as read-only, and that app just mounted it as read-write (i.e. "mount /system -o rw, remount" )
Click to expand...
Click to collapse
Yeah -- I had it RW and something must have remounted it to RO --perhaps when I was doing an adb session...
Speaking of BusyBox -- whats the best version people are using for the DZ?

after the 1 click root - not able to mount some directories in root explorer?

I used the post to install the one click root for the samsung epic 4g (sprint), and it appears to have worked. However - after entering root explorer, only some of the directories allow me to edit files. I click the remount as r/w button but nothing happens. Any thoughts?
sedric1 said:
I used the post to install the one click root for the samsung epic 4g (sprint), and it appears to have worked. However - after entering root explorer, only some of the directories allow me to edit files. I click the remount as r/w button but nothing happens. Any thoughts?
Click to expand...
Click to collapse
Are you sure you granted root permissions to root explorer when it first ran? Run the superuser app from the app drawer and see if root explorer is on the list of apps that are allowed root permission.
I just tried v2.17.2 and it works fine. I tried changing the permissions on /system/xbin/busybox, it said filesystem mounted ro, then I press the mount rw button and redid the permission change, this time it worked no problem.
Thanks for your response-
yes, when i ran root explorer it asked if i wanted to grant superuser and i said yes. some folders allow it to remount, but - say the /system/bin folder - it doesnt allow it at all.
for further background, i used the automated instructions here for my root:
http://forum.xda-developers.com/showthread.php?t=1342728
i did option A like 5 times and also did option C (as i have EK02).
When opening root explorer it tells me that i have super user permissions. one thing to note- if i go to /system/xbin, i do not see a busybox directory. is there something else i should be installing?
in fact, i cant mount anything under the system directory or sub directories, but above that, i was able to change to r/w mode. i could also mount the /vendor directory right beside the /system directory...
If you were able to remount "/" as r/w then the problem isn't with root. That is basicly an "I'm a little bit pregnant situation" Either you are or you aren't.
Now if you weren't able to get root in the first place, then I'd look at the root.
As to busybox, there is no directory. There should be a file /system/xbin/busybox Also there should be a bunch of symlinks from various apps it supports to busybox.
I see - yea i did validate that busybox is not allowing for a mount or any type of change on that file/directory including busybox but the file is present. any suggestions on what else may be locking down this system directory?
I don't know if root file explorer is implemented it's own concept of ro/rw to protect you from making mistakes or it is using the system facilities. If it is using the system facilities, then once you remount /system as rw, then everything under /system is automatically rw. It is all the same partition.
I would try it from "adb shell" (do not type $ or # symbols)
Code:
$ su
# mount -o remount,rw /system /system
# cd /system/xbin
# chmod 755 busybox
If it lets you do that with no errors, then you have remounted /system/xbin as rw and the problem is with root file explorer. For that, you'd have to check with them or someone more well-versed in why that might be failing.
i appreciate your help
I went off googling the adb stuff/installed it and java's jdk stuff. then figured out how to run that adb shell stuff and validated that it worked (permissions were changed in places that this app didnt allow). knowing that the problem is actually with root explorer helps a ton.. as I just assumed it was working

[H] Can't make changes on System/usr/keylayout READ-ONLY

Hi guys :laugh:
I've successfully rooted my table, installed Supersu, TWRP and even tried the CM11 ROM in it.
The main problem is that I want to add/change some files on the /system/usr/keylayout folder so I can configure correctly my xbox 360 wireless controller (I'm having the spin buggy thing on some games).
But whenever I try to make changes in that folder using "ES File Manager" (granting it SU) It just pops up "Try again, this folder is read only"
I tried changing it through the Terminal Emulator through these steps:
su
cd /system/usr/keylayout/
mount -o remount,rw /system (or mount -o rw,remount /system its the same)
Didn't make any difference...
Can anyone help me really hard here?
Thanks guys :highfive: (and girls)
edit:
I'm now with the LG Firmware 50020D and android vers 4.4.2 (rooted)
up
anyone?
install ES File manager via Play store
You can activate Root browser in ES File manager. You need to click on the root browser settings within ES File manager, and mount /system/ as RW

[Q] rooted - root explorer not copying some dirs

SM-T705, cf-autoroot (incl. SuperSU) checked with root-checker, platform.xml adapted
e.g. if I want to copy /dev to my sdcard ... there comes a message similar to "copying went wrong ... 4.4+ .... in non-root mode some limitations ..."
I won't search for you, please have a read through Q&A and General for a number of other similar questions and corresponding answer I would suggest you please contact a Mod to delete this unneeded thread
Sorry I searched and read a lot of older suggestions but did not get a clue ... and I know about the kitkat probs regarding SD (platform.xml). But still dont understand, why there are just few folders affected ...
So sorry but it seem I need a Little push into the right direction
+1 solid explorer has struggled for me, but root explorer hasn't. Seems to be only certain directories. ...idk
just to make shure - we are talking about Root Explorer (File Manager) non free app. Did you try to copy System dirs like /dev ??
if yes, where to did you copy them. I just figured out that my ext3 partition (1st=exFat, 2nd=ext3) on the SD is mounted to /data/sdext2.
but copying /dev to /data/sdext2 doesnt work either
Could someone please tell me how to Mount /mnt RW
some folder cant be copy. the only way for you to have those are extracting it from the original firmware.
THX - 2 Pprobs now
1
mount -o remount rw /System worked, but still
[email protected]:/ # mkdir /mnt/extSD2
mkdir failed for /mnt/extSD2, Read-only file System
a) with Root Explorer it seemed to work, but was gone after restart ?
b) where to mount my ext3 SDcard partition (1st exfat, 2nd ext3)
c) can I do it by modifying init.rc, universal5420.rc or fstab.goldfish ...
2 how to extract Folders from Firmware files like T705XXU1ANF7_T705DBT1ANF1_T705XXU1ANF7_HOME.tar
I extracted the files within. But how can I Mount those Image files on W8 (ext2fs does not work with my sdcard) ?
2nd best would be to go to my Linux PC (but I'm a Linux DAU) ...
try learn about kitchen or use this software on windows... ^_^ http://sourceforge.net/projects/ext2read/
sorry my english is not good enough ... kitchen seems to be a Linux tool ... this seems to be a good start http://www.modaco.com/topic/366230-tools-useful-tools-for-tinkerers/ or this http://www.diskinternals.com/linux-reader/
Best use OSFMount to Mount the *.img and "Paragon ExtFS for Windows" to view the files
mount -o remount rw /System worked, but still
[email protected]:/ # mkdir /mnt/extSD2
mkdir failed for /mnt/extSD2, Read-only file System
a) with Root Explorer it seemed to work, but was gone after restart ?
b) where to mount my ext3 SDcard partition (1st exfat, 2nd ext3)
c) can I do it by modifying init.rc, universal5420.rc or fstab.goldfish ...
mounting system.img does not work
del

unable to mount system rw, Android m 6.0.1 Nexuss 7 flo stock rom

Hello everyone,
I am a beginner please bear with me. I tried to mount system as rw through terminal emulator, adb, TWRP recovery and the app named "Mount /system RO/RW [ROOT]" but no success. I read somewhere that in Android 6.0.1 it is impossible to remount system as rw, is it true?
Thank you.

Categories

Resources