Replies: 8 comments
|
Yes, it is possible. |
|
I could make an extra selection in the controller settings. But recently I'm quite busy, I will add it into my checklist. |
making Magisk module is pretty simple, magisk modules are just replace files to system partition. and it's TWRP flashable, flash it again can uninstall it. |
|
making an extra selection for this feature in the controller settings is good, but it's better to have a separate version for being installed as system app. since RootTools, RootShell and Shizuku stuff will be useless when Blocker was installed as system app, I think we could have a clean, more lightweight and FOSS version as Magisk module. |
|
write your app as a in-system whitelist is not recommended and dangerous, you should use Root permission directly and disable the Root authority as soon as possible. |
|
this is not a good idea, so it shouldn't be uploaded to F-droid. |
No I don't think so, I think it's a good idea to use open source Apps as system-app to make use of Android hidden APIs (such like ifw and appops). Those are just features that custom ROMs are supposed to provide, we just make it a (magisk) module or use TWRP to flash these additional files. This is especially useful for people who don't want root. My suggestion is having two apks for the one require root and the one only works as system app, and release the first one on F-Droid, pack the second one into a magisk module or TWRP flashable zip. |
|
Yeah, I'd like to implement Blocker into a custom ROM, so I'd be happy to see this feature included :) |
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to make Blocker as system app and use it without root?
maybe put the blocker apk to
/system/priv-app/and whitelist required permissions to a file under/system/etc/permissions/?https://source.android.com/devices/tech/config/perms-whitelist
could it call
pm,cmd packageor read/write to/data/system/ifw/then?https://developer.android.com/reference/android/Manifest.permission#CHANGE_COMPONENT_ENABLED_STATE
Is it possible to use this to enable/disable app components?
if this could work, we can package Blocker as a Magisk module, or make it TWRP flashable.
Since google seems don't want this kind of app on Play Store, Magisk repo probably could be a better place if Blocker could works this way. 🤔
All reactions