This is an old revision of the document!
XPrivacyLua
Still usable < Android 14, but no longer recommended. See also lsposed, which is required to use this app.
Really simple to use privacy manager for Android 6.0 Marshmallow and later (successor of XPrivacy).
Revoking Android permissions from apps often let apps crash or malfunction. XPrivacyLua solves this by feeding apps fake data instead of real data.
Download and install apk
Install XPrivacyLua via F-Droid - https://f-droid.org/en/packages/eu.faircode.xlua/.
Enable module
You may receive a notification after the installation. Enable the module in LSPosed and enable any app you want to give fake data too. Restart your device.
Settings
Click on the burger (top left) and mark Notify on new apps
and Restrict new apps
.
Restrictions
Check https://github.com/M66B/XPrivacyLua#restrictions what every single restriction does. It depends on your application whether you need to disable the restriction if you want to share the real data.
An example with a browser (Iceraven):
Get applications
is for example sharing to KDE connect, Messenger etc..
Read clipboard
to copy and paste text, to search for something or similar.
You can easily test it by selecting Read clipboard
and copy and paste something into the restricted application. The output should be Private
.