[HELP] Need some information to move an app to /system - OnePlus 3 Questions & Answers

Hi all, I read a lot of threads about /system permissions being set to r/o only after root with OP3 and latest Oreo stock rom, but I desperately need to make it r/w to set an app as sytem, so my questions are:
- Is there any way to make this app system, like Magisk with a module, or any other solution, just not quitting Oreo stock rom?
- If I flash a Rom with Nougat, could this solve the problem?
Thanks anyone who could clarify!

MajinBug said:
Hi all, I read a lot of threads about /system permissions being set to r/o only after root with OP3 and latest Oreo stock rom, but I desperately need to make it r/w to set an app as sytem, so my questions are:
- Is there any way to make this app system, like Magisk with a module, or any other solution, just not quitting Oreo stock rom?
- If I flash a Rom with Nougat, could this solve the problem?
Thanks anyone who could clarify!
Click to expand...
Click to collapse
If you use Magisk, then Appsystemizer (a Magisk module) can convert an app to system app. Then using a root explorer like ES File Explorer, the permissions can be changed.

Ok, just copying files to flash ExperienceOS rom with Magisk integrated, then I will sure try that module, thanks a lot!

Related

[Q] File System Permissions

Hi All,
Complete Noob here, so please be gentle!
I have been trying to flash the aGPS patch, and it doesnt want to know (on any version) and I suspect it is due to the file system permissions being read only.
My question is, how do I change the permissions to allow files to be copied & renamed?
I have been using Astro with no joy.
I am on CM 7.2 RC1.
Thanks Bob
bobmccann said:
Hi All,
Complete Noob here, so please be gentle!
I have been trying to flash the aGPS patch, and it doesnt want to know (on any version) and I suspect it is due to the file system permissions being read only.
My question is, how do I change the permissions to allow files to be copied & renamed?
I have been using Astro with no joy.
I am on CM 7.2 RC1.
Thanks Bob
Click to expand...
Click to collapse
If you're flashing the zip from recovery, you may need to mount system first in the mounts & storage option of clockwork mod recovery.
If you are doing it via a file manager, there should be an option somewhere to enable root access and or enable system r/w, I use root explorer myself and its as simple as touching a button in the top right corner of the screen to enable r/w.
Sent from my HTC Wildfire using xda premium
Thats great, thanks for your help. Got root explorer and sorted the gps.conf file in two minutes.
Regards
Bob

Enable System RW on Oreo

Hey guys, I recently updated my Moto Z Play, retin version to Oreo...Rooted it via magisk and installed xposed.. So far everything seems good and the battery has also improved a lot.. The only thing that bugs me right now is that i am unable to modify /system files... I was trying to change my bootanimation.zip file...Used RootExplorer, FX Explorer, Root Browser but to no avail..All of them were denied RW permission... Tried booting into TWRP and mounting system as RW, moved the bootanimation.zip to system/media and as soon as i rebooted my device, the change was reverted... It seems any change we make to /system is reverted back due to verification at boot... Is there a way to enable RW access so that i can modify /system files... Thanks
mhp1995 said:
Hey guys, I recently updated my Moto Z Play, retin version to Oreo...Rooted it via magisk and installed xposed.. So far everything seems good and the battery has also improved a lot.. The only thing that bugs me right now is that i am unable to modify /system files... I was trying to change my bootanimation.zip file...Used RootExplorer, FX Explorer, Root Browser but to no avail..All of them were denied RW permission... Tried booting into TWRP and mounting system as RW, moved the bootanimation.zip to system/media and as soon as i rebooted my device, the change was reverted... It seems any change we make to /system is reverted back due to verification at boot... Is there a way to enable RW access so that i can modify /system files... Thanks
Click to expand...
Click to collapse
Try looking for a system_root folder that Magisk creates and see if you can change it there.
Milly7 said:
Try looking for a system_root folder that Magisk creates and see if you can change it there.
Click to expand...
Click to collapse
Nope, there is no such folder in my phone... Is it just me without RW /system access or is it with every oreo devices? How do you guys access and modify /system files on oreo?
Idea of Magisk is not to modify system. Please read documentation and questions other peoples asked.
tag68 said:
Idea of Magisk is not to modify system. Please read documentation and questions other peoples asked.
Click to expand...
Click to collapse
I know but on 7.1(nougat) with magisk and xposed installed, I was able to modify system files.. I used to do all kind of build prop edits & other stuff but on oreo I am facing issues with installation of busybox as well as modifying system files...
My problem is the opposite: it is way too easy to mount system rw. One click ona button in TC, and I won't be able to do OTA without flashing system again.
So, I don't want to find out if system is mounting rw on my mobile. These modifications you want to do are better to do in Magisk way. If you do a system update, you keep your Magisk settings, so modifications will stay. OTA will only require uninstall of Magisk. Why do you want to do them the hard, incompatible way?
tag68 said:
My problem is the opposite: it is way too easy to mount system rw. One click ona button in TC, and I won't be able to do OTA without flashing system again.
So, I don't want to find out if system is mounting rw on my mobile. These modifications you want to do are better to do in Magisk way. If you do a system update, you keep your Magisk settings, so modifications will stay. OTA will only require uninstall of Magisk. Why do you want to do them the hard, incompatible way?
Click to expand...
Click to collapse
+1
<deleted>
On some device you can do this function in recovery.....
TWRP can do these changes when you disable the "mount system as RO" in mount settings. But you'll have to flash a zip that removes dm-verity too, otherwise it won't boot up. Magisk will most likely fail to change the bootanimation on many devices because it can't replace it soon enough.

Can't edit certain system files

Hey guys, I can't seem to edit any files in /system/vendor/etc in the latest MIUI 10 Rom. I have busybox installed from Magisk and have granted system RW access. Keep in mind, I can delete other files in /system, just not the ones in that particular folder. I can't even edit the files with Magisk! Weirdest part is, TWRP let's me delete the files, but as soon as I boot up the OS they're still there!! What tf is up?!?!?!??
ssojyeti2 said:
Hey guys, I can't seem to edit any files in /system/vendor/etc in the latest MIUI 10 Rom. I have busybox installed from Magisk and have granted system RW access. Keep in mind, I can delete other files in /system, just not the ones in that particular folder. I can't even edit the files with Magisk! Weirdest part is, TWRP let's me delete the files, but as soon as I boot up the OS they're still there!! What tf is up?!?!?!??
Click to expand...
Click to collapse
Vendor partition access is blocked by system I guess.

File system or .bin stay in read only

Hello I'm having a problem I try to add a file to my bin with Root Explorer( I try several other software) but I can't do anything cause my .bin stay in read only. I can't find a way to manage this. I'm Root and all the superuser authorization seem to be there..
Thanks you !!
Android 10? If so, you cannot modify the /system partition at all, as Google locked down the partition. You'll have to look into Magisk modules to do what you want, but at the cost of not passing Safetynet.

Problem writing in /system/sbin/.magisk/mirror/system_root/system

Hello There. I rooted with magisk today. Evrrything worked fine until I tried to change something in /system folder.
I have read in the internet that u wont have access to system folder if you are on root with magisk. It says u need to modify the .mirror folder. In this ./system/media I try to change the bootanimation. zip, but I cant change or delete the stock one. I think I do not have root acess in this folder. But I can use apps like Greenify without problems. Have I done something wrong? I gave different file exporer full root access I am using:
Mi10t Lite
MIUI 12.0.8 (GLOBAL)
Android 10
Gauguin
Magisk Version is the newest: 21.4
Magisk Manager: 8.0.7
I think i found the answer...:
System partition locked to read only in Android 10
Help, I don't know what I did but after installing a custom ROM, I noticed that my system partition cannot be mounted as read/write. I tried "mount -o rw,remount /system" command on a terminal
android.stackexchange.com
Create a Magisk module to modify files in /system partition.
_mysiak_ said:
Create a Magisk module to modify files in /system partition.
Click to expand...
Click to collapse
How do I do that?
Francescohub said:
How do I do that?
Click to expand...
Click to collapse
Either create your own module from scratch following the Magisk guide, or adapt one of the existing ones.
You're trying the mount -o rw,remount as root (means: you did a "su" before the "mount")?
Maybe a "blockdev --setrw /dev/block/dm-X" helps (see which dm- is mounted as system for the X).
Greetz
Kurt
hello
also i tried to modify mixer_paths_cdp.xml in / vendor / etc, but i am not able to get myself a magisk module
You can use for example this very simple Magisk module as a template.
Create desired folder structure in the zip file, add your xml files for modification, remove the AOD overlay apk/folder and try to flash it.
Keep TWRP at hand if you mess up something so you can delete the module from recovery if necessary.
I stumbled upon this solution for RW system partition in Android 10+. Someone brave enough might give it a try. https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/
_mysiak_ said:
I stumbled upon this solution for RW system partition in Android 10+. Someone brave enough might give it a try. https://forum.xda-developers.com/t/script-mount-system-as-read-write-android-10.4240703/
Click to expand...
Click to collapse
i can't download it
carabot said:
i can't download it
Click to expand...
Click to collapse
Works for me.. Anyway, you should provide your feedback/complaints to the author.
download ok
I hope not to do any damage

Categories

Resources