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.
Related
Hi all,
I'm trying to install adobe flash to the system partition to save space. I've done it by adding the flash apk and libs to the gapps addon (required for CM6 anyway).
I can see in root explorer that in /system/apps I've got com.adobe.flashplayer.apk, and in /system/lib i've got libflashplayer.so and libysshared.so.
Under settings->applications I can see that Adobe Flash Player 10.1 is present.
In browser settings, Enable plugins is set to "on demand".
But when I try a flash site that used to work, it no longer does. What am I missing?
Thanks for any help,
Phil
It seems if you leave the .so files where they were in /data/data/com.adobe.flashplayer/lib, eveything works. So it looks like the app doesn't bother to check /system/lib, but goes straight to its own data folder.
Any way to remedy this? I've saved 4-5 MB on /data by moving the apk to /system, but the .so files are 8MB between them, i'd like to get them on /system as well.
Before flashing a ROM, move the APK file into the /system/app folder in the ZIP file and then re-zip it
EddyOS said:
Before flashing a ROM, move the APK file into the /system/app folder in the ZIP file and then re-zip it
Click to expand...
Click to collapse
Hi Eddy, that's exactly what I did as I said in my first post. It didn't work initially, but I now have it working by restoring the /data/data/com.adobe.flashplayer/lib folder with the two libs in it.
So the apk is in /system/app, but there are still these two big libs on /data taking up about 8MB. I was wondering if there is any way to get the system to pick them up from /system/lib like with all the other libs.
Cheers for any help,
Phil
I just have the APK in /system/app and it's fine - got over 100MB of storage (but I only use 5 apps and have them all moved to /system/app)
really? can you do me a favour and check in /data/data/com.adobe.flashplayer/lib and see what you have in there? Should be one huge (~7mb) .so file and a smaller one.
you definitely have the latest flash 10.1 final? version 10.1.92.8? (check in settings->applications).
I'm thinking of creating symlinks in /data/data/com.adobe.flashplayer/lib to the two files in /system/lib and see if that works.
Yes I do have the latest it's there by default in Paul's MCR r8 ROM (first thing I did once it was out) - he normally has it set to go to /data/app but I move it (and the other 5 apps) to the /system/app folder and it's fine...I'll have to install Root Explorer again to check the folder, though...
EDIT: Checked that folder, there's nothing in there at all...
Oh. Huh. Can you check and see if they're in /system/lib? I wonder how paul's got this set up. Should probably just ask him
What file(s) am I looking for?
libflashplayer.so and libysshared.so. Cheers
libflashplayer.so is, libysshared.so isn't
ok thanks for your help i tried the symlinks and it works for now although i guess its a bit hacky. Don't know why yours picks it up from /system/lib and mine won't. I'll see if I can get one of the elder gods to give up their wisdom
wingphil said:
ok thanks for your help i tried the symlinks and it works for now although i guess its a bit hacky. Don't know why yours picks it up from /system/lib and mine won't. I'll see if I can get one of the elder gods to give up their wisdom
Click to expand...
Click to collapse
any progress on this? I also would like to push those shared objects into the /system/lib/ folder to save on space
You need to have the matching apk and libraries in /system for it to work.
teppic74 said:
You need to have the matching apk and libraries in /system for it to work.
Click to expand...
Click to collapse
Had the libs in /system whith fresh MCR r8 ROM .. once i upgraded via Market to latest version they were also in /data/data.
So is there a way to get them to /system again (so that they will really be taken from there by the apk) ?
I am S-Off so the moving itself is easy ;-)
Marcus
soory if i dug an ol thread but i cant make it work...
copy the apk file to /system/app via root explorer and reboot...
in settings/application/manage application/all/
Adobe flash player is in it but it is only 56kb..
set browser for enable plugin to be 'on-demand' and 'always on' but no go (tried surfing on adobe flash mobile showcase site).....
to think i am thinking to move adobe air using this method too..
what else is needed?
Running Nexus One, CM6.0
Hi everyone!
I see this thread is a a bit old, but I've been trying to do the exact same thing with installing Flash Player in /system. My device also won't find the libs in /system/lib, so I'm thinking about doing the symlink stuff as well, but I'm not quite sure how to do this, since I don't have a lot of linux experience. Could you please help out a little?
Will this work?
Code:
ln -s /data/data/com.adobe.flashplayer /system/lib/com.adobe.flashplayer
Also, just to check: is there anything else I should do besides copying the libs Adobe Flash installs in its /data/data folder to /system/lib and creating the link?
Thanks a lot!
Not needed to make symlinks.
Just create folder /system/lib/plugins/com.adobe.flashplayer and move libs to it.
..
I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Updated op.
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
VannMann said:
So apps from "Data/App" can be deleted and still get the OTA, just don't delete apps from "System/App", is that correct?
Click to expand...
Click to collapse
You got it.
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
VannMann said:
You, Sir, are the greatest. Have been wondering about this. Finally got root, so I deleted the amazon and some verizon apps fron "Data/App". Thanks!!
Click to expand...
Click to collapse
2 things
1)You don't want to "delete" data apps & no need to root to uninstall them. Settings, apps, downloaded, select.... 2)Also the ones you mention sound like system apps?
I deleted them from the Data/App, so they would not be in my app drawer. And all of my system apps are still there, just looked.
Didn't think about disabling them, I got root happy, been to long without it, lol.
aviwdoowks said:
I started this for several reasons.
1) For those who have deleted some system/app(s) & want to manually restore to get ready for the KK ota.
2) /persist dilemma. It is only on our phone yet both recoveries allow you to format it but do not back it up!!!! http://forum.xda-developers.com/showpost.php?p=48941876&postcount=2061
3) /firmware Also not backed up. Both recoveries format it. But Rsd lite will restore it.
I put some very obscure folders here & they may never be needed! DO NOT GO & restore these just because I attached them! If it ain't broke don't fix it!
Get the full zip here http://batakang.com/ftp/?dir=devs/mhous33/XT907/98.30.1
It is the largest one there!
You can extract even a single system/app with Explorer free & paste it with es file to get OTA ready
But some /partitions are only on the phone. Some are created on boot
1 folder not ANYWHERE BUT ON YOUR PHONE is /persist.
Persist permissions are here
http://forum.xda-developers.com/showthread.php?t=2589790
Some wonder why Vzw does not want us rooting?
/Firmware is in the xml/fxz.
/System/app
/Vendor
/Firmware
/System/media.... stock boot animation/Dst animation.
Use Rom Manager fix perms for now. It has never failed me. Set them to all. Then run RM>fix permissions & reboot.
Permissions & ownership need to be set before use.
Rom Manager fix permissions is one good reason to have that app even if it did not WORK on our M, but it does.
Click to expand...
Click to collapse
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Delerios said:
So is there a package with all the system app .apks somewhere in this mess of links lol, sorry for I'm guessing a very obvious question
Click to expand...
Click to collapse
Dl #9 systemAPP!!!
Hi
So I am looking at blocking a number of websites - no, I don't really want to do this through app's as a mere uninstall can undo the blocks.
I've rooted my phone, I've given +rw mount to /system/ and I'm able to etc hosts under /system/etc/hosts just fine.
However, as soon as I reboot, the system restores the hosts file to it's original state and all my edits to that file are undone.
Is there anything I can do about this? Please be a bit more specific than just "flash the kernel", thanks.
MohamedH93 said:
Hi
So I am looking at blocking a number of websites - no, I don't really want to do this through app's as a mere uninstall can undo the blocks.
I've rooted my phone, I've given +rw mount to /system/ and I'm able to etc hosts under /system/etc/hosts just fine.
However, as soon as I reboot, the system restores the hosts file to it's original state and all my edits to that file are undone.
Is there anything I can do about this? Please be a bit more specific than just "flash the kernel", thanks.
Click to expand...
Click to collapse
any time i edit anything in system folders i copy it to sdcard do my edits then copy it back and make sure the permissions are set correct i think it rw-r--r-- reboot and it should be good to go... for some reason i cant edit them in that folder but moving it to edit then move it back works for me maybe it will work for you too...
buby78 said:
any time i edit anything in system folders i copy it to sdcard do my edits then copy it back and make sure the permissions are set correct i think it rw-r--r-- reboot and it should be good to go... for some reason i cant edit them in that folder but moving it to edit then move it back works for me maybe it will work for you too...
Click to expand...
Click to collapse
I can edit it no probs. I do my changes, test them out and they all work OK.
As soon as I reboot, everything becomes undone. AFAIK this might be some kernel protection.
The system partition is write-protected.
http://forum.xda-developers.com/showthread.php?t=2701816
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.
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