John Wu

Results 13 comments of John Wu

Mount master is root implementation specific, I don't think Phh's SU has mount master support.

There is no way to really test whether an `su` binary accepts certain arguments. Even if we check its version by calling `su -v`, it's still possible that would hang...

`setns` unfortunately does not have a platform native JNI binding, so apps would have to create the binding itself in native code. But this project is using JNI already, so...

Of course, you can do everything in your own fashion! I created the module template for people with zero programming or scripting experience. One example is the [Busybox-Installer](https://github.com/Magisk-Modules-Repo/Busybox-Installer) by @osm0sis,...

Oh, and for the script callback, there is actually plenty of them 😄 You can place the general shell script into `/magisk/.core/post-fs-data.d` to run scripts in `post-fs-data` boot stage, it...

> I had a lot of compatibility problems before switching to my custom BusyBox executable. There are not that many recoveries and I guess all of them use BusyBox anyway,...

Oh, another good reason for using shell script as flashable zip is that it can be called in rom zips. Some rom devs are asking me to update my version...

> Regarding the systemless support: I currently don't plan to make that flashable in recovery, as Chainfire advised that there's no officially supported way (by him) to mount su.img. I'm...

What I've done for experiment is I unzipped an APK file and rezip it. Android can install it without an issue, so I assumed that signature is only involved with...

The root service is not running in the same process as your application. Also, I cannot understand what we are trying to achieve here.