HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
M66B
XPrivacyLua
Java2018–2025
M66B / XPrivacyLua · Archived

XPrivacyLua

Really simple to use privacy manager for Android 6.0 Marshmallow and later

17Distinct people
21Mentions
0Explicit recommenders
558GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Really simple to use privacy manager for Android 6.0 Marshmallow and later

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 12:54:37 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year21 dated mentions

Observed mentions: 2018-03-06 02:31:55 UTC to 2025-03-30 00:46:54 UTC.

02462018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 5 mentions; 0 submissions, 5 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 6 mentions; 0 submissions, 6 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC505
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC606
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC514
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

21 sources
On Android you should be able to create new user accounts on the phone which are completely separated and can be quickly switched between. I used to create one with just WhatsApp installed for instance. Alternatively if you are rooted Xprivacy[0] does what you asked, allowing you to grant apps permissions but then feeding them fake data as configured. No idea about iOS though. EDIT: There seems to be an app called Insular[1] which also works like Xprivacy, but doesn't require root at all and comes with a couple of extra features like the ability to have multiple instances of an app installed. Haven't tried this one though and I have no idea if it even runs on newer versions of Android. [0] https://github.com/M66B/XPrivacyLua [1] https://secure-system.gitlab.io/Insular/
In “When we all have pocket telephones”
I heard that there is indeed an option to do that, with help of some apps. You keep your real contacts list in these apps. Presumably this also means that you have special dialer and sms apps integrated with this contact list app, since otherwise you can't just tap a contact to dial or message, and would have to copy-paste phone numbers around. Dunno what to do about messengers and such, which integrate with the contact system to show their correspondents in e.g. the ‘share’ menu. Not sure if these contacts are available to other apps—but if they are, it seems impossible to hide them. Also there's e.g. a plugin for the (non open-source) Xposed ‘framework’, to feed fake data to apps that want to access the location and other such info. Seems to be able to fake the contacts, too, but afaiu requires a rooted phone: https://github.com/M66B/XP
Read the rest
In Ask HN: People who use different emails everywhere, who sold you to spammers?
It's still possible to use XPrivacyLua (https://github.com/M66B/XPrivacyLua) with passing SafetyNet. It's a cat-and-mouse game, but the community is still ahead. You can achieve this with latest Magisk (v24+, https://github.com/topjohnwu/Magisk), enabled Zygisk and following modules: - LSposed Zygisk (https://github.com/LSPosed/LSPosed, fork of Xposed) - Universal SafetyNet Fix (https://github.com/kdrag0n/safetynet-fix) - Shamiko [optional, more hiding but needs configuration] (https://github.com/LSPosed/LSPosed.github.io)
In Google Maps now requires WiFi scanning to use navigation
Ok, how to fix fingerprinting: - for web, stop using chrome, install firefox (or firefox mobile) and in about:config set privacy.resistFingerprinting on true then add following addons: https://addons.mozilla.org/en-US/android/addon/canvas-finger... https://addons.mozilla.org/en-US/android/addon/audioctx-fing... https://addons.mozilla.org/en-US/android/addon/webgl-fingerp... https://addons.mozilla.org/en-US/android/addon/font-fingerpr... They will not only prevent fingerprints but also screw with the data (add random noise to audio/webgl sample, return random fonts,...). - the most important rule, don't use applications like tiktok, fb,.. if your phone is not rooted, with xprivacylua (https://github.com/M66B/XPrivacyLua, for added kicks https://github.com/M66B/NetGuard) installed and you have basic understanding what you allow there (disal
Read the rest
low everything for new apps and work permissions one by one). The sole purpose of those apps and their bussiness model is to steal your data. This is most sane advice I can give, sorry :( Voila. Solved. Those methods of fingerprinting are few years old and well known.
In Privacy analysis of Tiktok’s app and website
'Obfuscation' - feeding fake data to privacy-violating apps - is a promising solution for everyone who does not want to miss out on apps like whatsapp, or become the digital equivalent of a prepper with only self-compiled OSS or hobbyist software. On Android, XPrivacy and the newer version XPrivacyLua use this approach, but they require the Xposed framework to run. I wish this approach would be more common: https://github.com/M66B/XPrivacyLua/blob/master/README.md
In The Fantasy of Opting Out
> Honest question : Can you expand on how this would work please? Such a thing is already possible today. Some require root, some require breaking PlayStore's terms of use. One such example is: XPrivacyLua [0] by the creator of NetGuard. It helps fake location data, hide contacts and calendar, fake device-id, IMEI, MAC addresses etc on a per-app basis. Another example is how VPN in Android [1][2] is widely used to block trackers and ads. A third example would be how the accessibility service APIs are (ab)used to temporary grant permissions to apps [3]. A fourth would be reversing engineering tools like Frida [4] that help with inspecting apps, and even change their behaviour. A fifth is repackaging APKs with advertisement and tracking code removed, like with YouTube [5]. I am attempting to build an app with most of these features combined
Read the rest
in to one, lets see how far I get. My aim is probably to build something as close as possible to uMatrix/uBlockOrigin but without requiring root. --- [0] https://github.com/M66B/XPrivacyLua/blob/master/README.md [1] https://github.com/M66B/NetGuard [2] https://github.com/blokadaorg/blokada [3] Sam Ruston's Bouncer app: https://samruston.co.uk/ [4] https://securitygrind.com/bypassing-android-ssl-pinning-with... [5] https://youtubevanced.com/
In Browser extensions are underrated: the promise of hackable software

Showing the 15 most recent of 21 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.