FORUMS
Remove All Ads from XDA
H10 Turbo

[APP][XPOSED][6.0+] XPrivacyLua - Android privacy manager

12,281 posts
Thanks Meter: 23,603
 
By M66B, Recognized Developer on 5th January 2018, 04:32 PM
Post Reply Email Thread
XPrivacyLua
XPrivacyLua

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.

Features:
  • Simple to use
  • Manage any user or system app
  • Extensible
  • Multi-user support
  • Free and open source

See here for all details, including installation instructions and download link.

Please read the frequently asked questions before asking a question.

For discussions about custom hook definitions, please use this XDA thread.

For discussion about the pro companion app, please use this XDA thread.



If you value your privacy, please consider to support this project with a donation or by purchasing pro features.

Quote:
Originally Posted by M66B

XPrivacyLua is not a permission manager, but a privacy manager. XPrivacyLua doesn't block things and doesn't revoke permissions, but does replace real data by fake data. This means you can grant Android permissions to an app and still let XPrivacyLua prevent the app from seeing privacy sensitive data. Revoking permissions can result in an app refusing to work and/or to crash. However, replacing real by fake data generally doesn't let an app crash.

Currently restrictions are quite crude because they mostly replace real data by no data. For example restricting the contacts app from getting contacts will result in an empty contact list. In the near future it might be made possible to select the data an app may see, for example just one group of contacts.

About feature requests and bug reports:

Quote:
Originally Posted by M66B

The goal is to have a tool that can properly protect the privacy of many in the near future. However, it isn't paid work, so I do whatever I like whenever I like it.

You can request features in this XDA forum. I will read them, but I will not respond to them and they might or might not be implemented. If I know for sure something will not be implemented, I will let you know.

You can report any problem you have here. There will be no issue tracker on GitHub.

Quote:
Originally Posted by M66B

For now I have decided to not implement restrictions that are useful to prevent tracking only. There are simply too many data items that can be used for tracking and it would take too much time to develop restrictions for all these data items.

The basic idea is to restrict only things that 'define' you, so which contacts you have, where you are, which apps you use, etc.

Quote:
Originally Posted by Namnodorel

Maybe we can widen the definition of things that the core of XPL covers to "What defines you, and what can be used to spie on you"? This would include camera/audio, but not tracking.

Quote:
Originally Posted by M66B

XPrivacyLua is pretty feature complete and will be maintained and supported and when there is a need new hook definitions will be added to better protect your privacy. For the rest this FAQ applies:

https://github.com/M66B/XPrivacyLua/...er/FAQ.md#FAQ4

As said before, development will also depend on Xposed development, which is just minimal unfortunately.

XDA thanks and donations are appreciated.


XDA:DevDB Information
XPrivacyLua, Xposed for all devices (see above for details)

Contributors
M66B
Source Code: https://github.com/M66B/XPrivacyLua

Xposed Package Name: eu.faircode.xlua

Version Information
Status: Beta

Created 2018-01-05
Last Updated 2018-04-22
The Following 231 Users Say Thank You to M66B For This Useful Post: [ View ]
 
 
5th January 2018, 05:10 PM |#2  
Senior Member
Thanks Meter: 111
 
More
Wow, I was just scrolling through some stuff, stumbled into your repo for XPrivacy/Lua and couldn't believe what I saw! M66B is developing a new app as a replacement for XPrivacy... Thank you so much, you've totally made my day and pobably quite some time into the future as well! I'll definetely also buy/donate for this version as soon as I get to use it.

Just some technical questions:
Looks like you are going more modular with this new app, and you mentioned something about downloading additional (user-made) hooks. You also said you'd keep it much more simple this time to avoid high maintenance etc. Could these external hooks then allow to get the complexity back? I totally understand your motivation, but in-depth restricting of app permissions was something I really liked about the old XPrivacy, and if some user-made hooks would make that possible I'd use them. But they'd also need the ability to add new UI elements, and not just "This hook is about the method XY, execute this code before/after to block it and this code to enable it" for that to be possible.
The Following 4 Users Say Thank You to Namnodorel For This Useful Post: [ View ] Gift Namnodorel Ad-Free
5th January 2018, 05:11 PM |#3  
M66B's Avatar
OP Recognized Developer
Thanks Meter: 23,603
 
More
Quote:
Originally Posted by Orphee

Even if old Xprivacy isn't supported on nougat, is it possible to keep it with new Lua too until Lua grow up? Or it is not recommended ?

I have just added a FAQ that answers this question:
https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md
The Following 18 Users Say Thank You to M66B For This Useful Post: [ View ]
5th January 2018, 05:12 PM |#4  
Orphee's Avatar
Senior Member
Thanks Meter: 664
 
More
Quote:
Originally Posted by m66b

i have just added a faq that answers this question:
https://github.com/m66b/xprivacylua/blob/master/faq.md

5vp4096549363413x
The Following 2 Users Say Thank You to Orphee For This Useful Post: [ View ] Gift Orphee Ad-Free
5th January 2018, 05:20 PM |#5  
M66B's Avatar
OP Recognized Developer
Thanks Meter: 23,603
 
More
Quote:
Originally Posted by Namnodorel

Wow, I was just scrolling through some stuff, stumbled into your repo for XPrivacy/Lua and couldn't believe what I saw! M66B is developing a new app as a replacement for XPrivacy... Thank you so much, you've totally made my day and pobably quite some time into the future as well! I'll definetely also buy/donate for this version as soon as I get to use it.

Just some technical questions:
Looks like you are going more modular with this new app, and you mentioned something about downloading additional (user-made) hooks. You also said you'd keep it much more simple this time to avoid high maintenance etc. Could these external hooks then allow to get the complexity back? I totally understand your motivation, but in-depth restricting of app permissions was something I really liked about the old XPrivacy, and if some user-made hooks would make that possible I'd use them. But they'd also need the ability to add new UI elements, and not just "This hook is about the method XY, execute this code before/after to block it and this code to enable it" for that to be possible.

For now I will concentrate on fixing bugs and building restrictions, which is of course the most important of all. Restrictions are indeed defined and written in Lua. Currently all restrictions are built-in, but later I might add a manager, so you can manage your own definitions. There might even be a repository, which could even contain definition for things not privacy related.

You can find the current definitions here (hooks.json contains the definitions).
The Following 15 Users Say Thank You to M66B For This Useful Post: [ View ]
5th January 2018, 05:23 PM |#6  
Member
Thanks Meter: 25
 
More
Just donated. More to follow along the way. Thank you!!
The Following 8 Users Say Thank You to TheAKAlias For This Useful Post: [ View ] Gift TheAKAlias Ad-Free
5th January 2018, 05:31 PM |#7  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by blackhawk_LA

Noooo! First post and it is asking about using Xprivacy on Nougat? That must be demotivating to the dev! It has been told too many times in the xprivacy thread that it is not recommended to use it on Nougat and above all IT IS NOT SUPPORTED!
Sorry for using capitals but let's hope everyone sees it and this thread stays on new Lua topic.
Greetings.

"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.

Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?
5th January 2018, 05:36 PM |#8  
M66B's Avatar
OP Recognized Developer
Thanks Meter: 23,603
 
More
Quote:
Originally Posted by OgreTactic

"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.

I don't see why that is a lie or misstatement, so, could you please explain why you think it is?

Edit: I have changed the wording of the opening post a bit, so it is clearer that "Android 6 Marshmallow and later" applies to XPrivacyLua and not to XPrivacy, assuming this is what you meant.

Quote:
Originally Posted by OgreTactic

Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?

See this comment.
The Following 2 Users Say Thank You to M66B For This Useful Post: [ View ]
5th January 2018, 05:43 PM |#9  
Senior Member
Thanks Meter: 74
 
More
Quote:
Originally Posted by OgreTactic

"XPrivacyLua is supported on Android 6 Marshmallow and later" you're either lying or it's a misstatement on the repo.

Also can somehow explain to me (I just switched to Android), what Lua is (if not a programming language)?

Some people...
The Following 6 Users Say Thank You to mrfrantastic For This Useful Post: [ View ] Gift mrfrantastic Ad-Free
5th January 2018, 05:58 PM |#10  
MishaalRahman's Avatar
Editor in Chief
Thanks Meter: 1,495
 
More
Glad to see Xposed Module development is still alive!
5th January 2018, 06:05 PM |#11  
Junior Member
Thanks Meter: 3
 
More
Thx a lot for building and developing this app.

After I've selected some apps I get an error:
XLua.Main:android.os.DeadObjectException:Transacti on failed on small parcel; remote process probably died

Things that I would appreciate in future releases:
- More restriction-types like: Network connection, Telephone number/sim-operator, Serialnumber, installed apps/services, accounts
- Is it possible to hide disabled apps from the list?
- Is it possible to decide when an app will request for example the location to allow or deny the request?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes