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.
- Simple to use
- Manage any user or system app
- Extensible
- Multi-user support
- Free and open source
- Determine activity (fake unknown activity, see here)
- Get applications (hide installed apps and widgets)
- Get calendars (hide calendars)
- Get call log (hide call log)
- Get contacts (hide contacts with the pro option to allow (non) starred contacts, hide blocked numbers)
- Get location (fake location, hide NMEA messages)
- Get messages (hide MMS, SMS, SIM, voicemail)
- Get sensors (hide all available sensors)
- Read account name (fake name, mostly e-mail address)
- Read clipboard (fake paste)
- Read identifiers (fake build serial number, Android ID, advertising ID, GSF ID)
- Read notifications (fake status bar notifications)
- Read network data (hide cell info, Wi-Fi networks, fake Wi-Fi network name)
- Read sync data (hide sync data)
- Read telephony data (fake IMEI, MEI, SIM serial number, voicemail number, etc)
- Record audio (prevent recording)
- Record video (prevent recording)
- Send messages (prevent sending MMS, SMS, data)
- Use analytics (Fabric/Crashlytics, Facebook app events, Firebase Analytics, Google Analytic, Mixpanel, Segment)
- Use camera (fake camera not available and/or hide cameras)
- Use tracking (fake user agent for WebView only, Build properties, network/SIM country/operator)
The tracking restrictions will work only if the code of the target app was not obfuscated. The other restrictions will work always.
Hide or fake?
- Hide: return empty list
- Fake: return empty or fake value
It is possible to add custom restriction definitions, see this FAQ for details.
You can see all technical details here.
- Some apps will start the camera app to take pictures. This cannot be restricted and there is no need for this, because only you can take pictures in this scenario, not the app.
- Some apps will use OpenSL ES for Android to record audio, an example is WhatsApp. Xposed cannot hook into native code, so this cannot be prevented.
- The get applications restriction will not restrict getting information about individual apps for stability and performance reasons.
- The telephony data restriction will result in apps seeing a fake IMEI. However, this doesn't change the IMEI address of your device.
XPrivacyLua is supported on Android 6.0 Marshmallow and later. For Android 4.0.3 KitKat to Android 5.1.1 Lollipop you can use XPrivacy.
XPrivacyLua with Island is not supported.
- Download, install and activate the Xposed framework
- Download, install and activate the XPrivacyLua module
See here for a list of often asked questions.
Only the XPrivacyLua version released in the Xposed repository is supported, so for example the F-Droid build is not supported.
See here about how you can donate.
Documentation
Contributions to this document and the frequently asked questions are prefered in the form of pull requests.
Translations
- You can translate the in-app texts of XPrivacyLua here
- You can download the in-app texts of XPrivacyLua Pro for translation here
- If your language is not listed, please send a message through this contact form
Source code
Building XPrivacyLua from source code is straightforward with Android Studio. It is expected that you can solve build problems yourself, so there is no support on building.
Source code contributions are prefered in the form of pull requests. Please contact me first to tell me what your plans are.
Please note that you agree to the license below by contributing, including the copyright.
XPrivacyLua uses:
- LuaJ. Copyright 2007-2013 LuaJ. All rights reserved. See license.
- Glide. Copyright 2014 Google, Inc. All rights reserved. See license.
- Android Support Library. Copyright (C) 2011 The Android Open Source Project. See license.
GNU General Public License version 3
Copyright (c) 2017-2018 Marcel Bokhorst. All rights reserved
XPrivacyLua is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
XPrivacyLua is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with XPrivacyLua. If not, see https://www.gnu.org/licenses/.
Android is a trademark of Google Inc. Google Play is a trademark of Google Inc