Mounting system as RW question - OnePlus 6T Questions & Answers

I'm running on Magisk and for the life of me cannot figure out how to make the system writable (both root explorer and es do not work). Even getting errors using twrp file manager (made sure to mount system in twrp prior to). Any suggestions? I made sure to grant rw rights at the "/" level vs "/system".
edit: looks like i can copy files from any non-storage directories to /system just fine, but not if i want to copy something from my downloads folder or anything on the sd card.

RussianBear said:
I'm running on Magisk and for the life of me cannot figure out how to make the system writable (both root explorer and es do not work). Even getting errors using twrp file manager (made sure to mount system in twrp prior to). Any suggestions? I made sure to grant rw rights at the "/" level vs "/system".
edit: looks like i can copy files from any non-storage directories to /system just fine, but not if i want to copy something from my downloads folder or anything on the sd card.
Click to expand...
Click to collapse
Hmmm. The system is writable with Magisk alone. You do not need anything else. Getting the error in TWRP and Magisk? Strange!
Can you screenshot the failure?

Related

[Q] Manually mount /system and /data

Sorry if this has been asked before...
I'm on stock 2.1 rooted. In order for me to access /system or /data, I must mount it manually via recovery. Is there any way that they may be accessed (from the phone preferably, but at the very least from the computer) while the phone is booted?
Thanks In Advance
in short, no. Phones that can do that are S=OFF, whereas the Aria is S=ON. You have to be in Recovery to mess with the /system or /data stuff
It's helpful to know what its called.
So, would AlphaRev 2 work?
Hmmm, I installed Darktremor Apps2SD 2.7 Update 3r1 and now i can see /system in astro
NuNinja said:
Sorry if this has been asked before...
I'm on stock 2.1 rooted. In order for me to access /system or /data, I must mount it manually via recovery. Is there any way that they may be accessed (from the phone preferably, but at the very least from the computer) while the phone is booted?
Thanks In Advance
Click to expand...
Click to collapse
NuNinja said:
Hmmm, I installed Darktremor Apps2SD 2.7 Update 3r1 and now i can see /system in astro
Click to expand...
Click to collapse
When the phone is booted normal, the /system and /data partitions are mounted in readonly mode, that is why you see them in Astro. In order to write or modify these partitions, you need to have the phone in recovery mode and mounted as read/write.
I should have considered that.
It just seemed odd because I couldn't see it before and still cannot see /data...
NuNinja said:
I should have considered that.
It just seemed odd because I couldn't see it before and still cannot see /data...
Click to expand...
Click to collapse
When I fire up Astro, I can select the Up button and that will take me to / on the phone and I can see /acct, /cache, /data, etc. I have to scroll the screen, but all of the directories show up.
But if you open them, are they empty?
NuNinja said:
But if you open them, are they empty?
Click to expand...
Click to collapse
Astro doesn't run as a rooted application, therefore it can't see the contents of readonly folders. If you open up a terminal emulator window and type 'su' at the $ prompt to gain root access, then you could do a 'ls /data' and see the contents.

[Q] [SOLVED] [4.3] Cannot write to SD card properly?

Hi,
I updated my nexus 7 to from PA 4.2 to PA 4.3, before this I did multiple backups using TWRP, TiB and copied the entire contents of my SD card to my computer using adb (adb push and adb pull) on OS X (android file transfer does not work properly and windows kept on not responding, Linux had no space and no write to my OS X partitions or Windows Drive.
After the update I restored apps from TiB, and copied the data folders for some apps (apex launcher backups etc.), my TWRP folder and TiB folder back to my SD card. (using adb again) Then, with adb, I copied some films to a Media folder on the root of my sdcard, I created the folder with adb but now, with any file manager I can't write to the contents of that folder anymore, or change anything. Then I tried to make another, updated TiB backup, but it said insufficient storage space, even for just one app with well over 5GB of free space. Then I tried to do a TWRP backup using offline nandroid backup, however the backup completed in 0 seconds and made no new file or folder in the TWRP folder on sdcard. I then tried in recovery, the backup completed, but upon further inspection no new files or folders were made.
I think the problem is that any folders I have made through adb have no write permissions, even though mounted rw(x). And I cannot change the permissions. ( in Linux would I be able to cd to the directories on my n7 then sudo chmod 755 them?), I already tried this with mobile terminal however on my N7 and had no result. What is the solution for this problem?, should I wipe sdcard and make folders using a file explorer, then use adb to copy files into the premade folders, or just find a way to use Ubuntu to copy the files?
Thanks!
Sent from my Nexus 7
I have fixed it my self by doing this:
I was originally using the link from solid explorer to view and edit my sdcard files, which uses the /sdcard directory on root. For some reason I could not edit files going through /sdcard made from adb on OS X, however, when navigating internal storage through /data/media/0/ I had full permissions and could delete the folders made through adb, making new TiBu Backups and TWRP backups.
I tried using shell through adb to change permissions and remove the directories using:
Code:
adb shell
su chmod 777 /sdcard/(TWRP/TiBu etc...)
and
Code:
adb shell
rm -rf /sdcard/(TWRP/TiBu etc...)
but had permission denied errors.

[Q] Can't Move Files to ExtSD Card. Platform.xml File Changed.

Hello, I have tried the app fixes, next app and sd fixer. Both say all is fixed. I have verified that the correct changes have been made to the platform.xml file. I have mounted r/w the system. ES File Explorer still has SuperSu permissions, verified root with root checker. No matter how hard I try, I can't seem to get this to work. Anyone have any suggestions on what I could try to regain the ability to transfer files from Internal Storage to External SD Card?
jerdoggmckoy said:
Hello, I have tried the app fixes, next app and sd fixer. Both say all is fixed. I have verified that the correct changes have been made to the platform.xml file. I have mounted r/w the system. ES File Explorer still has SuperSu permissions, verified root with root checker. No matter how hard I try, I can't seem to get this to work. Anyone have any suggestions on what I could try to regain the ability to transfer files from Internal Storage to External SD Card?
Click to expand...
Click to collapse
Try installing SDFix: KitKat Writable MicroSD it also works on lollipop that should fix your problem

External SD card write support for T530N? - solved

Is there any fix for external SD card write support for the T530N? I'm on a rooted stock Samsung build BOI2 ROM and TitaniumBackup is not happy .
UPDATE: I followed the information in the thread [FIX] SD Card Write Restriction ALL Firmwares and Models and it works.
I attached an edited platform.xml file in case anyone wants it. The upload is named platform.xml.txt so it has to be renamed to platform.xml before being copied to /system/etc/permissions
Obviously keep a backup copy of the original in case anything goes wrong. Also be careful, because if there are any problems or errors with that file and it can't be read by the system, there will be MAJOR issues. I recommend using the "more" command in the terminal emulator to validate that the file looks good, prior to copying it to /system/etc/permissions as outlined in the steps below.
Before being copied the /system directory must first be re-mounted as read-write with the following command:
mount -o remount,rw -t ext4 /dev/block/platform/msm_sdcc.1/by-name/system /system
Since I did not have a root file manager I just installed terminal emulator, switched to superuser with "su -", copied /system/etc/permissions/platform.xml to the sdcard, copied it to my computer, edited it, copied it back to sdcard, then copied it via the root shell to /system/etc/permissions.
I can verify it works and TitaniumBackup is now happy.
Aethera said:
Is there any fix for external SD card write support for the T530N? I'm on a rooted stock Samsung build BOI2 ROM and TitaniumBackup is not happy
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2716881

Safestrap Restore

I did a dumb thing trying to free up some space. I moved the SafeStrap system files for rom-slot1 to my SD Card thinking it was an old backup. It was 5 gigs and I hadn't made any mods in well over a year. Turns out it was the active system. After a reboot I'm back to stock. I figured I could just copy it back but every method I try seems to be blocked. Read-only file system, permission denied, etc. I've tried remounting as RW, chmod 777, etc. Nothing has worked yet. Moving the files off worked without anything fancy just cut/paste with ES File Explorer but moving back with ES fails with a disk space issue.
Anyone have any suggestions?

Categories

Resources