[APP][LSPOSED][Unofficial] XPrivacyLua - Android privacy manager

Search This thread

VD171

Senior Member
Jun 21, 2012
2,938
2
2,172
127.0.0.1
LG K10
Samsung Galaxy J7
  • Like
Reactions: beeshyams

Hikerz

Member
Feb 9, 2021
9
1
I know the project has been discontinued, but is the pro version still working? Is it still possible to customise restrictions to selected apps?
 

AnyNameYouWish

Senior Member
Then I might need some help here: even though I installed the pro (downloaded after the donation), each time I try to save the general settings in the pro app, as well as modifying the single app restrictions in the general app, I get redirected to XPL homepage.
That's beyond my knowledge, sorry...

It's been a while for me but I remember setting the pro app wasn't as user friendly as I expected
 

VD171

Senior Member
Jun 21, 2012
2,938
2
2,172
127.0.0.1
LG K10
Samsung Galaxy J7
Then I might need some help here: even though I installed the pro (downloaded after the donation), each time I try to save the general settings in the pro app, as well as modifying the single app restrictions in the general app, I get redirected to XPL homepage.
Update XPrivacyLua Pro to latest release (purchases made on google play store isn't supported anymore):
 
  • Like
Reactions: Fif_

nIMa_aZx

Member
Dec 15, 2012
41
9
Tehran
Hello. I got to know XprivacyLua project about a year ago. I was able to write some custom hooks. In the previous thread that was closed, some friends gave good advices. @VD171 or @Fif_
Recently, I returned to the previous thread and saw that after a few years the main programmer of the project left it. Anyway, thanks to him.
In the previous topic, I had read several question about VPN hooking. I mean bypassing app side level.
Recently, I wrote a custom hook that could work with the "hasTransport" method in "NetworkCapabilitie" class.
Link:

But again, VPN was detected in my desired program.

So I looked at other classes and did the same with the "NetworkInterface" and "isVirtual" class, which seemed completely useless. I didn't understand what did method just do!:D
This link: https://developer.android.com/reference/java/net/NetworkInterface#isVirtual()


anyway I want to work more deeply on "hasTransport". But I have a problem.
I don't know how I can work with the input of the "hasTransport" function.
I need to recognize if input type of "hasTransport" method is "TRANSPORT_VPN" (Constant Value: 4 (0x00000004) ) , so return false. I couldn't realize how to work with input parameter.


my simple script :
function after(hook, param) local result = param:getResult() if result == nil then return false end param:setResult(false) return true

I guess I have to work on result from "param:getArgument()" but couldn't find any examples code or definition.


Edited: I think I could find rewrite script but I'm not sure is correct or not . my problem persist. vpn detected.

function after(hook, param) local result = param:getResult() if result == nil then return false end local par = param:getArgument(0) if par == 4 then param:setResult(false) return true end param:setResult(true) return true end

btw if there are other classes or methods for detecting vpn I appreciate to tell me.
Also, I thought about using the "traceroute" command to find the vpn connection, and I didn't get an accurate result, and it probably requires root access to execute the command.
 
Last edited:

Schrinus

Member
Sep 13, 2012
16
10
Tried running "Whats My IMSI", crashes on my device, unable to advise on that.
But as far as I am aware, the MCC,MNC spoofing should still work, maybe check for another app that gives you a MCC,MNC readout. Ymmv but I have pretty much all apps selected for XPL under LSP (and in Magisk despite advice to the contrary).
I tried other ones and spoofing doesn't work on any app.

I don't know about all, but most of the Fif hooks work on the Pixel with A13. I can't speak to other devices.
Fif hooks?
Edit: Nevermind, just saw a few posts later that it's some custom hooks from @Fif_.
Now I just have to find them in the other thread.
Edit2: Found some hooks, but for all links to the https://lua.xprivacy.eu/repo/ I get a 502 error 😔

I think in my case it might be a problem with LSPosed since I installed YouTube AdAway to test that theory and it says that the Xposed module is not active.
But my bigger guess is that it's actually a Problem with Magisk / Zygisk since I also can't use AppOps with the Zygisk - Sui module, the App view doesn't load with it 😕
 
Last edited:

Amd4life

Senior Member
Dec 30, 2010
1,885
467
Google Pixel 6 Pro
Vivo X Fold
Open the lsposed manager on your launcher (or type *#*#5776733#*#* in your phone app) , click the xprivacy lua icon. Make sure all the apps you want are actually checked.

The hooks were moved to a different host once the OP stopped working the app. The link is posted a few pages back in the thread.

They are only available in the pro app anyway. I am not sure if you can still buy a pro add on license anymore, unfortunately.

Email the former developer and see.
 

VD171

Senior Member
Jun 21, 2012
2,938
2
2,172
127.0.0.1
LG K10
Samsung Galaxy J7
I tried other ones and spoofing doesn't work on any app.


Fif hooks?
Edit: Nevermind, just saw a few posts later that it's some custom hooks from @Fif_.
Now I just have to find them in the other thread.
Edit2: Found some hooks, but for all links to the https://lua.xprivacy.eu/repo/ I get a 502 error 😔

I think in my case it might be a problem with LSPosed since I installed YouTube AdAway to test that theory and it says that the Xposed module is not active.
But my bigger guess is that it's actually a Problem with Magisk / Zygisk since I also can't use AppOps with the Zygisk - Sui module, the App view doesn't load with it 😕
XPrivacyLua repo has been moved to here:
 

Schroeder09

Senior Member
Nov 6, 2017
1,099
203
Google Pixel 7 Pro
XPrivacyLua repo has been moved to here:
These are all the same hooks available from within the pro-app download menu though or are these different hooks?


Also, is anyone using XPL on a Google pixel 7/pro? Is XPL still working on the February update? I was thinking of updating.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Is there a way to get the pro companion app since the module still works, even though it is no longer supported?
    Yes you can, check https://lua.xprivacy.eu
    1
    Is there a way to get the pro companion app since the module still works, even though it is no longer supported?

    How to donate to XPrivacyLua and get pro features in automated way:​


    1. Access https://lua.xprivacy.eu/

    2. Go to "With PayPal or a credit card", choose a value and click on paypal button.

    If you donate 7 euros or more, you are allowed to activate the pro features on all devices you personally own, else you are allowed to activate the pro features one time only.

    3. Place your payment on paypal website.

    4. Once your donation is paid, open XPrivacyLua Pro companion app and click "Challenge" on menu.

    If you installed the XPrivacyLua Pro companion app from the Play store, you'll need to uninstall it first. You can find official apk file of XPrivacyLua Pro companion app here: https://bitbucket.org/M66B/xlua-companion/downloads/

    5. Once the webpage is open, select "PayPal/Creditcard", select "XPrivacyLua", write your paypal email in right box and submit the form.

    6. Go to your email box, open message sent by [email protected] and click on link present in message.

    It starts with: https://lua.xprivacy.eu/activate/?response=

    7. And then, click on link showing on the webpage.

    It starts with: https://lua.xprivacy.eu/license?response=

    8. Close XPrivacyLua Pro companion app and open it again.

    9. Done, you got pro features in automated way.
    1
    We? You speak for everyone also the dev has stated they have abandoned it and what does this have anything to do with donations you want to do that then go for it I spoke nothing of it I asked for an active alternative some community XDA is completion is good and people should want such not support an abandoned app that doesn't even work can be easily bypassed but k don't care bye
    @M66B didn't abandon the project.
    The project is just unsupported.
    It means the project keeps in their plans.
    But if you had problems using XPrivacyLua, you have to solve by yourself.
    Nobody in the world wants to see @M66B to leave XPrivacyLua forever.
    If want this, okay, BYE !
    1
    Hi.

    The Hide My Applist​

    can hide magisk apps/modules, LSPosed apps/modules and root application against detecting it by bank applications and other MAD applications. The only XPrivacyLua is not possible to be hidden by HMA. Is a way to hide it, or the only way is to abandom XPrivacyLua and do not use it any more ?
    You can write all protections present on "hide my applist" app to "xprivacylua".
    But you can't do all protections present on "xprivacylua" to "hide my applist" app.
    Xprivacylua is NOT detected by no one app, except detectors created by hide my applist developer.
    You don't need to care with that.
    If you still care, just try magiskdelta by @huskydg (or magiskhide by @huskydg ).

    MagiskDelta:
    MagiskHide:
    1
    What is the purpose of this particular app? Does it simply hide your installed app list from being compiled and sent back to a particular app that requests it?
    That app just prevents app for reading query contents, intents, activies, services, etc.
    They reveals if some app is installed.
    Like queryIntentServices, queryIntentContentProviders, queryIntentActivities, etc.
    But, you can do all same with more accuracy on xprivacylua.
  • 21
    Since M66B decided to discontinue support for XPrivacyLua and the official thread was closed I'm starting this unofficial thread to continue discussing the module.

    It currently works up to android 13 with LSPosed.

    Source code can be found at the author's github https://github.com/M66B/XPrivacyLua

    FAQ https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md

    Please read the original thread as it contains a lot of useful information https://forum.xda-developers.com/t/...-android-privacy-manager-unsupported.3730663/

    Disclaimer: I am not the developer of the module. I'm a long time user of XPrivacy/XPrivacyLua who wants to keep using it on future android versions. All credits for this module go to the developer and the people who made the custom hooks.
    6
    As requested by all (and @M66B), LSPosed Developers are dedicated on development of a new XPosed API, including scope management, as we can see here:

    New Xposed API proposal​

    As Android version iterates, the original Xposed API by rovo89 reaches its limits. Now we are working on the new modern Xposed API with features of application scope management, remote preferences, dex parser interface and so on.
    The new API will be implemented in the next releasing of LSPosed, and it is welcome to post your suggestions on https://github.com/libxposed.

    Sources:
    3
    The main focus should be on XPL but since LSPosed is needed to run XPL, I see nothing wrong with discussing it here.
    QoL things like how to auto-add new apps to LSPosed are fine. Of course if people want a more in depth discussion (e.g. bugs, new features, etc.) they should post in the LSPosed threads as the developers don't read this.
    2
    Best module to date 👍
    Thank you for creating new thread for XPL user.
    2
    @Oswald Boelcke the thread is about XPrivacyLua or about LSPosed ?
    Lol
    Hello and good morning, @VD171

    I guess you need to address the OP @mythos_ with this question but as far as I understand it's about the Xposed module XPrivacyLua by @M66B and not about LSPosed. If my assumption is correct it's on the OP to decide if LSPosed related questions and contributions are off-topic (OT) or not. A moderator will never get involved to that unless a threadowner (and only the owner) reports something as OT.

    Regards
    Oswald Boelcke
    Senior Moderator