i am trying to enable aod, so i installed the miui aod apk turned off in the developer settings the miui optimization, but i can't mount system rw to make changes to lancelot.xml in /etc/device_features
i have root access, but I can neither in twrp nor in pbr make changes
any idea?
Use adb
-CALIBAN666- said:
Use adb
Click to expand...
Click to collapse
I tried editing in adb, can't write system, tried to remount rw the system partition, no way
Related
Hi, long story short, I want to make some apps system apps with Link2SD.
I tried using LO14 or some other LO14 based rom and just can't. I read som ewhere that it may be because I have no permissions to write on the system folder. I tried starting TWRP wizard again and setting it to be able to write with no success.
Any help?
I am rooted with magisk working just fine.
thanks!
groggycl said:
Hi, long story short, I want to make some apps system apps with Link2SD.
I tried using LO14 or some other LO14 based rom and just can't. I read som ewhere that it may be because I have no permissions to write on the system folder. I tried starting TWRP wizard again and setting it to be able to write with no success.
Any help?
I am rooted with magisk working just fine.
thanks!
Click to expand...
Click to collapse
As I've seen, Some apps don't work well with other SU except for SuperSU. Get rooted using superSU, everything should work just fine. You can always Uninstall and go back to magisk once you're done.
mhrajib said:
As I've seen, Some apps don't work well with other SU except for SuperSU. Get rooted using superSU, everything should work just fine. You can always Uninstall and go back to magisk once you're done.
Click to expand...
Click to collapse
But should I delete magisk, unroot and root again with super su?
Or is it as simple as installing supersu or something?
groggycl said:
But should I delete magisk, unroot and root again with super su?
Or is it as simple as installing supersu or something?
Click to expand...
Click to collapse
It's better to follow the procedure you mentioned Uninstall magisk, install supersu then install magisk again... But only flashing superSU zip will also work I guess. You can give it a try. I've done it once I guess
mhrajib said:
It's better to follow the procedure you mentioned Uninstall magisk, install supersu then install magisk again... But only flashing superSU zip will also work I guess. You can give it a try. I've done it once I guess
Click to expand...
Click to collapse
I managed to install supersu but anyways wasn't able to get the /system partition writable. Used many guides and even apps that should do it with superuser permissions and nothing. Just cant.
Any help?
groggycl said:
I managed to install supersu but anyways wasn't able to get the /system partition writable. Used many guides and even apps that should do it with superuser permissions and nothing. Just cant.
Any help?
Click to expand...
Click to collapse
What kind of error do you get?? Can you do other operations through link2sd??
mhrajib said:
What kind of error do you get?? Can you do other operations through link2sd??
Click to expand...
Click to collapse
the error is the following..
mount: '/dev/block/bootdevice/by-name/system'->':/system': Device or resource busy
Thats the error. Tried with titanium backup pro version and it gets stuck "PROCESING" the thing... It uninstall the app I want to move to system app, but then never finishes processing..
I also used a app called mount "/system ro/rw". I grant it superuser permissions and when I hit the "mount /system rw" a message appears that says; "Your device might not be rooted or is it not compatible!"
groggycl said:
mount: '/dev/block/bootdevice/by-name/system'->':/system': Device or resource busy
Click to expand...
Click to collapse
Do this from terminal emulator (don't use GUI apps for things like this, they hide important errors most of the time):
Code:
$ su
# lsof /system
And watch for processes that hold the mountpoint.
Code:
# kill <that process id, one by one>
if you're sure they're not doing anything important, then try:
Code:
mount -o rw,remount /system
again.
P.S.: you might need to install BusyBox, I don't know if lsof is available out of the box.
leledumbo said:
Do this from terminal emulator (don't use GUI apps for things like this, they hide important errors most of the time):
Code:
$ su
# lsof /system
And watch for processes that hold the mountpoint.
Code:
# kill <that process id, one by one>
if you're sure they're not doing anything important, then try:
Code:
mount -o rw,remount /system
again.
P.S.: you might need to install BusyBox, I don't know if lsof is available out of the box.
Click to expand...
Click to collapse
I've installed busybox and when I try lsof /system it says "toybox: Unknown command lsof", is there any solution?
Anyone had any luck getting viper4android to work with Mate 10 Pro
I tried several methods but the driver does not install
Thanks
waiting for it
Tried several things like flashing Viper4android with pre-installed drivers, which did not work as the app tells me to install the drivers again but fails at busybox not found.
Bordo_Bereli51 said:
Tried several things like flashing Viper4android with pre-installed drivers, which did not work as the app tells me to install the drivers again but fails at busybox not found.
Click to expand...
Click to collapse
What recovery did you try flashing with?
I used the app FlashFire from Chainfire. You can find it on Play Store. Make sure when you flash something with that app, select mount system R/W
Bordo_Bereli51 said:
I used the app FlashFire from Chainfire. You can find it on Play Store. Make sure when you flash something with that app, select mount system R/W
Click to expand...
Click to collapse
Where do you get the option to select mount system R/W, once you start flashing?
vibrantliker said:
Where do you get the option to select mount system R/W, once you start flashing?
Click to expand...
Click to collapse
Yes, when you select the zip-file it will automatically show you some Misc-Options, where you can select to mount system read write.
No One else getting anywhere with this?
Bordo_Bereli51 said:
Yes, when you select the zip-file it will automatically show you some Misc-Options, where you can select to mount system read write.
Click to expand...
Click to collapse
I just tried flashing with flash fire and it looked like it went through fine but it's nowhere to be found on phone after the reboot.
vibrantliker said:
I just tried flashing with flash fire and it looked like it went through fine but it's nowhere to be found on phone after the reboot.
Click to expand...
Click to collapse
Did you select Mount System R/W? Otherwise it will not work. If its still not working, then I do not know why. For me it worked but viper4android asked my always for installing busybox even though it is installed.
Bordo_Bereli51 said:
Did you select Mount System R/W? Otherwise it will not work. If its still not working, then I do not know why. For me it worked but viper4android asked my always for installing busybox even though it is installed.
Click to expand...
Click to collapse
I did Mount System R/W
vibrantliker said:
I just tried flashing with flash fire and it looked like it went through fine but it's nowhere to be found on phone after the reboot.
Click to expand...
Click to collapse
If you haven't removed Verity on system it would remove what was flashed on reboot. You can do this in /vendor/etc/fstab.kirin970
And you should remove verity off of the other partitions as well.
Etoerh way it probably won't work. I manually installed everything yesterday, including driver. This worked fine on Mate 9 Nougat without even installing driver.
And make sure you have busybox. I can't remember if it had busybox or su as a hardcoded path... I have su in /sbin/ and busybox applets symlinked to /sbin/ from su.d. Still no go. :/
I'll try some more later.
And a question, permissive is usually required, can you guys type in a terminal: setenforce 0
Or setenforce permissive?
I get invalid parameter, so Huawei might've tightened security.
With P10plus oreo setenforce do not work in terminal. I try to install viper4android too.
Gesendet von meinem VKY-L29 mit Tapatalk
ante0 said:
If you haven't removed Verity on system it would remove what was flashed on reboot. You can do this in /vendor/etc/fstab.kirin970
And you should remove verity off of the other partitions as well.
Etoerh way it probably won't work. I manually installed everything yesterday, including driver. This worked fine on Mate 9 Nougat without even installing driver.
And make sure you have busybox. I can't remember if it had busybox or su as a hardcoded path... I have su in /sbin/ and busybox applets symlinked to /sbin/ from su.d. Still no go. :/
I'll try some more later.
And a question, permissive is usually required, can you guys type in a terminal: setenforce 0
Or setenforce permissive?
I get invalid parameter, so Huawei might've tightened security.
Click to expand...
Click to collapse
Don't know why but Viper is having a hard time with Oreo. No problems on any phone with Nougat.
has anyone tried https://forum.xda-developers.com/nexus-6p/general/guide-installing-viper4android-t3250579 ?
Hi, Forgive me as I've been off the android scene for a while, at least to the point I have had to keep up with developments.
I want to replace /etc/hosts on my device to save using a vpn, etc. to block ads. On my Nexus 6P this was easy, remount rw, replace, or adfreezip.
On my S10 this is not so easy. I am unable to remount system as rw, I presume as this is 'systemless', I am also unable to remount the entire filesystem '/' as rw.
Does anyone know how I achieve this or how I replace a hosts file?
I am rooted with magisk but not with TWRP (I did flash TWRP before but could not install zips to the filesystem from twrp so just did not bother this time).
Comedy- said:
Hi, Forgive me as I've been off the android scene for a while, at least to the point I have had to keep up with developments.
I want to replace /etc/hosts on my device to save using a vpn, etc. to block ads. On my Nexus 6P this was easy, remount rw, replace, or adfreezip.
On my S10 this is not so easy. I am unable to remount system as rw, I presume as this is 'systemless', I am also unable to remount the entire filesystem '/' as rw.
Does anyone know how I achieve this or how I replace a hosts file?
I am rooted with magisk but not with TWRP (I did flash TWRP before but could not install zips to the filesystem from twrp so just did not bother this time).
Click to expand...
Click to collapse
AdAway works if you want a much easier solution.
Joe333x said:
AdAway works if you want a much easier solution.
Click to expand...
Click to collapse
Thanks. I actually realised though that Magisk has an option to generate a systemless hosts file so I've turned that on and it has done what I need.
I run a pihole at home that has a script which generates a standard hosts file from the blocklist. I can just on occasion save it to /sdcard/ and then cat /sdcard/hosts > /etc/hosts
When I get around to it I will probably just add this as a cron job
Hello!
I am on LOS GSI 19.1, S20 FE LTE Exynos (with TWRP) - when starting Magisk have this msg:
Abnormal State
A "su" binary not from Magisk has been
detected. Please remove any competing
root solution and/or reinstall Magisk.
What could be reason of that and how to fix it. :/ Maybe someone can help...
Found your thread while searching for a solution of the same problem.
I thought I will share a solution as finding useful info novadays gets harder every day.
Not to get into detailed description, generally it's caused by su existing in /system/xbin path, and in most cases shell is started with su privileges due to an entry in /system/build.prop
Just rename the /system/xbin/su under adb shell or terminal to for example ssu/zu/subackup whatever the name is and after reboot magisk shouldn't yell with a popup.
btw. I haven't encountered any misbehaviour of magisk, but for the sake of not getting this popup I made the change by the way of working with shell on other things.
YoShake said:
Found your thread while searching for a solution of the same problem.
I thought I will share a solution as finding useful info novadays gets harder every day.
Not to get into detailed description, generally it's caused by su existing in /system/xbin path, and in most cases shell is started with su privileges due to an entry in /system/build.prop
Just rename the /system/xbin/su under adb shell or terminal to for example ssu/zu/subackup whatever the name is and after reboot magisk shouldn't yell with a popup.
btw. I haven't encountered any misbehaviour of magisk, but for the sake of not getting this popup I made the change by the way of working with shell on other things.
Click to expand...
Click to collapse
Hi I found that for some reason downgrading to android 12 PE works for some reason but when I update to android 13 EvolutionX it shows the popup do you mind sharing the command for adb on how to do this because it denied access for me when I tried remounting from r/o to r/w.
AirForceNBA said:
do you mind sharing the command for adb on how to do this because it denied access for me when I tried remounting from r/o to r/w.
Click to expand...
Click to collapse
if rom you use is complied with adb root capabilites, then just use linux mv command after connecting to shell
Code:
adb root
adb shell
mv /system/xbin/su /system/xbin/zu
if not, then maybe under twrp commandline it could be possible?
AirForceNBA said:
Hi I found that for some reason downgrading to android 12 PE works for some reason but when I update to android 13 EvolutionX it shows the popup do you mind sharing the command for adb on how to do this because it denied access for me when I tried remounting from r/o to r/w.
Click to expand...
Click to collapse
I solve this issue in my gsi evolution X android 13 after flash overlyfs.zip in my magisk manager ... Click Download System Rw in this site
Magisk Modules - some Daily use Magisk Mods in 2022 | Use these Modules Daily ! ยป Tech Karan
Magisk Modules are here !
techkaran.co.in
and then flash overlyfs.zip using magisk manager...
Need telegram apps and account to download the file...
Hi I have the same issue. I tried to rename su in xbin but I got permission denied. Root explorer granted root and system is rw. In abd with the command above also permission denied. Xbin folder is not visible in recovery. Overlayfs module is not working with my kernel. Galaxy S21+, TWRP, Lineage 19.1, Hari GSI kernel. Any idea?
Did
K_a_m_i said:
Any idea?
Click to expand...
Click to collapse
Did you set rw on /system or /system/xbin?
Set rw on the top dir, not nested one in which you want to make changes, or you won't get permissions to change anything in any nested directory you set rw on.
Try to copy the file somewhere else and then delete it from its original path. But I bet you won't succeed. Maybe changing the owner/group and all permissions to 777 would do.
I'd also try in safe mode, or in native recovery mode (not twrp, assuming you still have access to it) using ADB
For me it disapeard by reinstalling magisk by the TWRP.
K_a_m_i said:
Hi I have the same issue. I tried to rename su in xbin but I got permission denied. Root explorer granted root and system is rw. In abd with the command above also permission denied. Xbin folder is not visible in recovery. Overlayfs module is not working with my kernel. Galaxy S21+, TWRP, Lineage 19.1, Hari GSI kernel. Any idea?
Click to expand...
Click to collapse
Are you try to flash Overlyfs first without any module in your magisk...
After you flash magisk manager in your phone and installed already, open it and then restart your phone.. then
First: flash only Overlyfs.zip in your magisk without any module installed.. then restart your phone
Second: download root explorer and grant root
Third: find su in system/xbin and rename it in ZU and save and delete zu then restart your phone
I hope I helped you with this post
I've rooted a Pixel 5 with Android 13 and Magisk 25.2, but the system partition/directory is not allowing any changes. Specifically, I'm training to systemize an app by having it moved to priv-apps, but I'm getting no space errors. Does anyone know how to allow read/write access to the system partition/directory so I can systemize an app?
Thanks
Yes I root my vivo y23L with kingo root app it install its superuser as system app I try to deleted the super user but no thing happen I use many app that can remove system app but still app not uninstall when I try remount system to rw phone say permission denied I need help thanks
same here android 12 rooted. it seem we cant modify any system files
Did you guys tried this cmd as root ?
Code:
mount -o remount,rw /system
I'm working on it guys. Old version of my script currently only supports EXT4 partitions with the infamous SHARED_BLOCKS read-only feature. (you can make it work beyond A12 if you disable the sdkCheck() function in the script but chances are it will only work on /product in modern EROFS devices)
New upcoming version of my script should have full support for EROFS and then some... If only some expert developer told me how to properly use that make_ext4fs binary...
ace2nutzer said:
Did you guys tried this cmd as root ?
Code:
mount -o remount,rw /system
Click to expand...
Click to collapse
That doesn't seem to work. When executed it states that the /dev/block it corresponds to is read-only.