Why do few system apps bypass root? - Xiaomi Poco F1 Questions & Answers

Updater, Security, Battery & Performance etc all bypass root settings you try to implement on them, why?

Related

Android binary to handle root functions

Several apps on android market is utilizing some kind of binary and root to call android system methods which normally require permissions only granted to system apps (/system/app).
I am wondering if it is possible to call java methods with C++ binaries using JNI. Does anyone know how the apps are doing this? An example is the launcher Apex launcher, which uses root to allow users to add widgets with the new widgets screen on ICS.
Any ideas/help would be much appreciated
Did you ever figure this out?

Permissions for preinstalled apps

So I have seen the 6.0 and the CM permission system before.
Both have a toggle that allows setting permissions for preinstalled system apps aswell.
Is that possible in OxygenOS too?
(The whole reason for me to get a phone with a permission system was to be able to restrain all that Google Play stuff...)
NotieB said:
So I have seen the 6.0 and the CM permission system before.
Both have a toggle that allows setting permissions for preinstalled system apps aswell.
Is that possible in OxygenOS too?
(The whole reason for me to get a phone with a permission system was to be able to restrain all that Google Play stuff...)
Click to expand...
Click to collapse
CM's privacy guard can do exactly that, even with system apps. OOS's permissions can only limit non-system apps, so you'd need to remove all the Google Play apps as system apps and re-install as user apps (or convert them to user apps with Titanium Backup). However, this would need root. Not sure if you wanted a non-root option, but I can't think of any that would not require root.
MrKhozam said:
However, this would need root. Not sure if you wanted a non-root option, but I can't think of any that would not require root.
Click to expand...
Click to collapse
I was indeed wondering about a non root option, i.e. if there is a toggle i just missed.
So I guess I'll wait for the 6.0 update as the native android permission system works for system apps aswell, and they'd be stupid to replace it.

How to remove pre-root from CM?

Is there any way to not use the inbuilt pre-root within the developer settings? Even when you disable the pre-root some apps are gonna see it as rooted.

aggressive doze does not stick after reboot

hey everybody!
running taimen 8.1 rooted stock with the greenify magisk module and (ofc) the app from the playstore. whenever enabling aggressive doze in greenify settings, it gets reset to "off" after a reboot.
anyone knows why?
thanks!
I have been searching for hours if there is an answer for that, no luck so far.
My Xiaomi phones have most apps that came with it as unoptimized, and when you optimize them, they get reset after a boot. Same with user apps that we install, I unoptimize important apps like Whatsapp, but after a reboot, it gets reset to optimized.
My Asus phone is the opposite, all apps including Google services are Optimized, and for my user apps as well as system apps that I set, they don't get reset after reboot.
No problem to set it all over again, IF I rarely reboot. Unfortunately, Xiaomi gives me weekly developer rom updates, and I have 4 Xiaomis to update. I also like to backup using TWRP, saved me countless times when I accidentally screw up the phone (and Titanium Backup to restore more recent updates backed up).
I can systemize the app in question and it will stick, but I've a phobia now for systemizing apps.
Does anyone knows where the system stores the information we set for Battery Optimization ? i.e. which file, directory ...

How to disable WiFi access to system apps

I'm on miui 11 & recently rooted my Poco (TWRP->Magisk). Now that it has been done, I'm not sure how to block WiFi access to system apps. Do I install another app such as AFWall+ ? But then the inbuilt security app also restricts data usage. Will having the two cause issues. Do I need to turn the security app off or uninstall it ? If so, how ?

Categories

Resources