yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] mobileanimal:
Thanks for the info. It's more a couple of things:

1. As a network admin, I could uniquely identify a user traversing my network based simple by looking at what IP addresses on my network are doing dns lookups for lua.xprivacy.eu. Hopefully that's clear. So for example, let's say I'm a spy for the Chinese PLA. I could either track DNS lookups for lua.xprivacy.eu and/or those clients that access the resolved IP address for lua.xprivacy.eu traversing the network / Internet. I could use those to uniquely identify a user and then look at all other network / URL access for their IP over time. (Yes, I'm a network engineer and have assisted with forensic investigations where we do exactly this - find a user's device and see what it accesses regularly, then tie that back to historical logs to determine their IP address over time and what they have accessed. I don't even need to reach out with a warrant or subpoena from any third party!). It's most often not realistically possible to do this with devices accessing common services provided by the likes of Google, Microsoft, Apple, Netflix, etc.

2. It can be assumed that any device accessing lua.xprivacy.eu is both rooted and running XPrivacyLUA

3. It's waking the device to make an http connection (though a minor inconvenience).
[Paid Software Announcement and Discussion] Oswald Boelcke:
I'm convinced my reply is off-topic now but I hope that Marcel @M66B accepts it.

You are obviously much more knowledgable in this subject as me. Due to your concerns stated above, I always access the internet via a secure VPN and the use of custom DNS servers of my personal desire unless I'm connected to our home network. Actually, the secure VPN reaches out for the RaspberryPi in our home network, setup with PiVPN and Pihole.

At least within my limited technical understanding, I believe to have fought this concern but I'm very happy to learn more and/or differently. For possible follow on discussions I suggest either one of these two threads:

https://xdaforums.com/android/general/how-enhance-battery-duration-sgs-3-lte-t3478287

https://xdaforums.com/raspberry-pi/help/pi-hole-pivpn-powered-raspberry-pi-3-t3768983
[Paid Software Announcement and Discussion] mobileanimal:
I don't think you're too far off topic, and it's our collective knowledge that matters. We're all different people and use our devices differently, and pick and choose our battles based on our lives and experiences. I use different AFWall+ profiles depending on what network I'm connected to, and VPN for only specific things. I use AdAway along with the old XPrivacy for DNS monitoring and control (though I'm carefully watching the progression of DNS over SSL). I like knowing every host my apps connect to vs depending on a third party list that may or may not block what's important to me by application. The tracking that's going on out there is pretty amazing!

It is impressive that you're able to survive using it full time! I use VoIP and video apps a lot for work, and VPN adds latency. Also, maintaining a VPN connection adds battery drain.
[Paid Software Announcement and Discussion] bush911:
whoa, finally I used this. and bought the pro. thanks for this great app. now working on pixel 3
[Paid Software Announcement and Discussion] Ashish Gupta1999:
Hi Can you add Randomize on Access feature in pro app , or can we expect it in future release?
[Paid Software Announcement and Discussion] M66B:
This will result in too many crashes, so no, sorry.
[Paid Software Announcement and Discussion] Fif_:
However nothing prevents you from implementing such hooks.
[Paid Software Announcement and Discussion] pupsidze:
A quick question. If I going to fake certain bits for the specific app (serial, android id, IMEI, phone no) via XPrivacyLua Pro and then in XPrivacyLUA I will untick all 'Restrict' boxes, will the app be able to read real values or faked values?
[Paid Software Announcement and Discussion] M66B:
Real values because there is no restriction anymore.
[Paid Software Announcement and Discussion] pupsidze:
Thanks Marcel, this is very helpful. Assuming I will keep 'Restrict' boxes and use XPrivacyLua Pro to fake info and leave 'Randomize on boot' box unticked, will this app have access to the fake info?
[Paid Software Announcement and Discussion] M66B:
Yes
[Paid Software Announcement and Discussion] hapmpt:
Hi, I'd like to suggest a feature: using the package name of the app (or some other app specific identifier) as a salt or a seed for the generated randomized values. This way, we would have a single value for each app, without having to generate then individually.
[Paid Software Announcement and Discussion] M66B:
The idea is nice, but I don't see what it would add over a randomly seeded random value.
[Paid Software Announcement and Discussion] hapmpt:
You are right, of course. The only advantage is stability of values in case you uninstall/reinstall an application, but this is probably not important. Having a button to generate individual random values for all applications would be enough.
[Paid Software Announcement and Discussion] Fif_:
[MENTION=2799345]M66B[/MENTION], there's a minor bug in XPL Pro: importing a lua script doesn't mark the hook as modified.

To reproduce:

- Open XPL Pro

- Open side menu, click on "Manage Hooks Definitions"

- Scroll to any built-in hook, for example ActivityRecognitionResult.extractResult.

- Press on the hook, select "Export script" and save the script.

- Press on the hook again, select "Import script" and load the file you just saved at the step before.

- Press on the hook again, "Upload" and "Delete" are greyed out, as if the hook wasn't modified.

I'd be expecting "Upload" and "Delete" to be available actions, because the hook was modified.
[Paid Software Announcement and Discussion] M66B:
I will look into this.
[Paid Software Announcement and Discussion] M66B:
This problem should be fixed in the just released version 0.74.
[Paid Software Announcement and Discussion] denika:
Hello [MENTION=2799345]M66B[/MENTION]

How to fake let say brand name from Samsung to Sony using define hook on XPL pro companion cause i don't know anything about programming language if i have to read Github user manual.

Thankyou. :)
[Paid Software Announcement and Discussion] M66B:
If you don't know anything about programming, you're out of luck. Wasn't there a custom hook definition doing this already in the repository?
[Paid Software Announcement and Discussion] denika:
So what does it means:

"Note that you can conveniently edit hook definitions in the pro companion app, so there is no need to edit JSON files."

I want to know which field should i change as per pic below.
[Paid Software Announcement and Discussion] M66B:
You'll need to edit the Lua script.
[Paid Software Announcement and Discussion] denika:
All exported script is 0 KB so i can't edit it.

---------- Post added at 01:45 AM ---------- Previous post was at 01:35 AM ----------

Managed it using LuaEdit.

Thanks
[Paid Software Announcement and Discussion] bush911:
how to use BlockGuardOs.open

Dear [MENTION=2799345]M66B[/MENTION]

just like the title. I downloaded this hook and enabled. for some app I can restrict them from creating file on SD.

but for this one, it does not work.

The APP is com.eg.android.AlipayGphone.

This damn APP, if I dont give storage permission, it will close itself.
[Paid Software Announcement and Discussion] M66B:
The app is likely using native code to access the storage space. Unfortunately, native code cannot be hooked by Xposed.
[Paid Software Announcement and Discussion] bush911:
thank you. for now using appops to prevent this damn app :D
[Paid Software Announcement and Discussion] Kglim:
If I buy pro features, will I be able to hide my location to the value I've set?

Eg. If I toggle on the location, will My map going to recognize what I've set in pro features?
[Paid Software Announcement and Discussion] M66B:
If the location is faked without the pro features, you can set a specific location with the pro features.
[Paid Software Announcement and Discussion] Kglim:
OH I see! Thank you sir ??️
[Paid Software Announcement and Discussion] fpoke:
Hello! In the pro app, if I would like to randomize the Sim Serial in the same way that we randomize the Android ID, or the phone number, how would I go about doing that?
[Paid Software Announcement and Discussion] M66B:
Randomizing the SIM serial is not supported and I have no plans to add this.

You could write a custom hook definition to do this.
[Paid Software Announcement and Discussion] fpoke:
I see, thank you very much!

How about the build.fingerprint? Is randomizing this supported?
[Paid Software Announcement and Discussion] M66B:
Restricting the Build.FINGERPRINT is not available out of the box, but you can enable it.

You'll need to change the built -in hook definition to change the returned value.

You can just install the pro companion app to see what can be done with it.
[Paid Software Announcement and Discussion] fpoke:
Just did, thanks - Looks incredible!! :)

How would I go about creating a an array of strings and have the returned value choose a string from the array randomly?

Currently, I go to Manage Hook Definitions>Build.FINGERPRINT>Edit>Lua Script. I understand that the default fake value is set to 'unknown' and I can edit that string in the script.

In this case, I'm planning to create an array with possible values and have the "local fake = 'unknown' " line read a random value from the array instead of 'unknown'. I would also like to change the value every time that the app is opened. Is this possible?
[Paid Software Announcement and Discussion] M66B:
Please use this forum for questions about hook development:

https://xdaforums.com/xposed/modules/xposed-developing-module-t3741692

Not everybody here is interested in this.
[Paid Software Announcement and Discussion] fpoke:
Will do thanks!
[Paid Software Announcement and Discussion] denika:
[MENTION=2799345]M66B[/MENTION]

I installed Pro Companion on new device, downloaded using same Play account but get error everytime i want to use pro feature. Already bought all pro features before.

How to handle this?
[Paid Software Announcement and Discussion] M66B:
Please make sure this isn't caused by a restriction.

This FAQ might be of help:

https://github.com/M66B/NetGuard/blob/master/FAQ.md#user-content-fag59
[Paid Software Announcement and Discussion] denika:
I don't use any VPN or activated firewall service. Nothing wrong with connection to Play server cause if i choose "Buy all pro features" it said that i already own this item.
[Paid Software Announcement and Discussion] M66B:
It seems to me that the pro companion apps don't get purchase updates from the Play store.

Please contact me via this contact form:

https://contact.faircode.eu/?product=other

I will need the Play store order/transaction number to help you.
[Paid Software Announcement and Discussion] denika:
Support request sent...
[Paid Software Announcement and Discussion] dirtyreturn:
Just want to say that I have had this happen with many purchases made in app.
[Paid Software Announcement and Discussion] Im_Mattgame:
I have downloaded the app, however I do not understand how you fake the data? All I can do is check "restrict" button and that's all
[Paid Software Announcement and Discussion] M66B:
This is likely about XPrivacyLua and not the pro companion app, so you are commenting in the wrong thread.
[Paid Software Announcement and Discussion] adem940:
Why these are greyed out? I need these ones...
[Paid Software Announcement and Discussion] Fif_:
Which are these?
[Paid Software Announcement and Discussion] M66B:
Grey mice. There are many of them and they are annoying as hell.

Edit: yes, I am a racist (not). No need to discuss this again.
[Paid Software Announcement and Discussion] adem940:
I am very sorry, I thought my image link was displayed, here, these lines, I need these greyed ones so much. https://prnt.sc/nv73gt
[Paid Software Announcement and Discussion] Fif_:
The hooks are not applicable to your android version.

So nothing to worry about.
[Paid Software Announcement and Discussion] adem940:
so I can't use them? :( which Android version can use them? I was using xprivacy on Android emulator and emulator had Android 6, but my phone has Android 8 :/
[Paid Software Announcement and Discussion] M66B:
In short: you won't need them because the no privacy sensitive data isn't exposed anymore.
[Paid Software Announcement and Discussion] adem940:
ohh they are blocked automatically? ? I see! ?
[Paid Software Announcement and Discussion] P€πtex4869:
Can we uninstall the main app, once we install pro version?
[Paid Software Announcement and Discussion] M66B:
No, because the pro companion app is an extension.
[Paid Software Announcement and Discussion] P€πtex4869:
I see. Thanks
[Paid Software Announcement and Discussion] xperiaf:
hello, XPL Pro cannot save any configs.

i typed the config and click save, prompt says "saved", then exit and come back to Pro app, all configs are gone, nothing written here ..
[Paid Software Announcement and Discussion] M66B:
Which config exactly?
[Paid Software Announcement and Discussion] xperiaf:
any, either Global or Apps-specific, either imei android_id or others, cannot save.

Xprivacylua origin itself seems work fine.
[Paid Software Announcement and Discussion] M66B:
Did you purchase the pro feature(s) for this?
[Paid Software Announcement and Discussion] xperiaf:
temporarily no ..
[Paid Software Announcement and Discussion] M66B:
You'll need to purchase the pro features to be able to save things.
[Paid Software Announcement and Discussion] xperiaf:
got it, i'll try it.

thanks for reply.
[Paid Software Announcement and Discussion] xperiaf:
hi.

if Pro would provides a function "Specify fake Tracking (useragent, buildprops, and others) value" function ? i've also looking on Custom Hook Definition, not fine.
[Paid Software Announcement and Discussion] M66B:
This is not supported.
[Paid Software Announcement and Discussion] xperiaf:
could this functionality be developed, on technical field. if yes, i'll looking forward to.
[Paid Software Announcement and Discussion] M66B:
I have no plans for that, but you could do this yourself with custom hook definitions. There is a separate XDA thread for this, see the opening post.
[Paid Software Announcement and Discussion] M66B:
I have made the pro companion app 30% cheaper for the time being, so if you always found it too expensive, this might be your chance.
[Paid Software Announcement and Discussion] xperiaf:
thank you, i've bought two features (property and log), then i would bought other features on cheaper price ever.

edit: but regretedly that deal is only for a total feature order, not for single feature order
[Paid Software Announcement and Discussion] M66B:
What exactly happens when you try to save values?
[Paid Software Announcement and Discussion] nyuszika7h:
I'm having trouble getting the app to recognize my pro license after an OTA update to OxygenOS Open Beta 33 on my OnePlus 5T. I'm using EdXposed, and I have tried clearing the data of XPrivacyLua & XPrivacyLua Pro, uninstalling them both, rebooting, reinstalling and then rebooting again, but no luck.

https://imgur.com/a/fpSdFvR
[Paid Software Announcement and Discussion] M66B:
Maybe this FAQ can help:

https://github.com/M66B/NetGuard/blob/master/FAQ.md#user-content-faq59

Additionally, make sure you didn't block Play store/services and try to reboot your device.
[Paid Software Announcement and Discussion] nyuszika7h:
OK, it's working now, I left the Play Store open for a few minutes and then closed XPrivacyLua Pro from recents and opened it again.
[Paid Software Announcement and Discussion] Toukaaa:
Hi, I'm on OxygenOS 9.0.14 with EdXposed. The basic XprivacyLua is working, but I can't seem to purchase any pro features.

When I open the pro app it says "BILLING_UNAVAILABLE" and the purchase buttons are grayed out.
[Paid Software Announcement and Discussion] M66B:
This means that the Play store/services are not available / do not work properly.

Please see here how you can get the pro features without Google stuff:

https://lua.xprivacy.eu/pro/
[Paid Software Announcement and Discussion] 白い熊:
I'd like to ask for guidance on properly downloading/using custom hooks — working with collections.

From the FAQ I see all the additional hook definitions in the repo are part of the “ Fif” collection, right? I've seen many references in this the train thread to “enabling the Fif collection” — how do you do this?

When I enter the Pro app, under Global, I only see the “Privacy” Collection with no way to add any other collection.

So I thought by downloading a custom hook definition it'll let me activate the collection. So from “ Manage hook definitions” and the cloud icon I downloaded FlurryAgent definitions.

After the download still only the “ Privacy” Collection is seen in the “Global” tab of the Pro app.

So I edited the hook definition of one of the FlurryAgent hooks — there the “Collection” said “Privacy”, changed it to “Fif”. Now the “Global” tab of the Pro app lists “Fif” also under Collections and it's selected. But the edited hook's definition still shows “Privacy” as Collection when I check it.

So clearly I'm misunderstanding how this is done. Can someone explain to me?

Many thanks.
[Paid Software Announcement and Discussion] Fif_:
The FlurryAgent hooks are not part of the Fif collection.

Once you download hooks that are part of the Fif collection, the Fif collection will appear automatically in XPL Pro "Collection" section.

If you want to revert to the stock hooks for your edited ones, just delete and re-download them.
[Paid Software Announcement and Discussion] markd89:
Hi,

I want to export settings so I can import to my new phone.

1. I'm assuming this would be the many settings in xPrivacyLua, not the few settings in xPrivacyLua Pro?

2. Export All, Import All Challenge are all dimmed. I touch them and nothing happens.

I'm on version 0.74/Lineage 15.1

Can I use Titanium Backup as a workaround or?

Thanks,

Mark
[Paid Software Announcement and Discussion] M66B:
Please see these FAQs:

https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md#user-content-faq1

https://github.com/M66B/XPrivacyLua/blob/master/FAQ.md#user-content-faq19
[Paid Software Announcement and Discussion] markd89:
Thanks for your reply. I didn't remove Storage Access Framework but maybe it's not there in LineageOS 15.1 by default?

Can I copy /data/system/xlua from the old phone to the new one to get the settings?

Thanks,

Mark
[Paid Software Announcement and Discussion] M66B:
I don't know.

Can I copy /data/system/xlua from the old phone to the new one to get the settings?[/QUOTE]

Maybe, but be aware that restrictions from one device can result in a bootloop on another device because of differences in Android.
[Paid Software Announcement and Discussion] AC-t:
"If you install a new ROM, restore the XPrivacyLua pro companion app with its data and it will reactivate itself automatically."

With data do you mean just the export and import of the settings inside the app?
[Paid Software Announcement and Discussion] M66B:
No, here the Android app data is meant.
[Paid Software Announcement and Discussion] AC-t:
Ah i´m an idiot, i found the problem. I thought there is only that folder in/data/app but i found another one in /data/data. I guess that´s the important one. But since Titanium Backup works too im going with that because it´s the easiest solution.
[Paid Software Announcement and Discussion] tekagi:
Is restore app data only one way to reactivate license in standalone version? Yes, i didn't create backup :(
[Paid Software Announcement and Discussion] M66B:
Just contact me.
[Paid Software Announcement and Discussion] SilentEYE:
Thank you for your awesome app [MENTION=2799345]M66B[/MENTION]

Unfortunately I can't use the official ebay app, even if I allow everything through xprivacy lua app.

The app seems to check a Google play service permission.

Is there a way to fix this without giving play services full access.

Every other app is working flawlessly.

2 attachements added.

Oneplus 6T official rom

No firewall

Restricted some Google spyware through a script (maybe the root of the problem? But other users don't have this issue)
[Paid Software Announcement and Discussion] M66B:
I don't use and don't want to use the eBay app, so I cannot help you with this.
[Paid Software Announcement and Discussion] SilentEYE:
All right!

Hoped that you might know the root of the problem.

If it's more complicated than its fine. There are other ways to use ebay.
[Paid Software Announcement and Discussion] M66B:
I am planning to close this thread referencing to the main XPrivacyLua thread with the remark to contact me in another way about purchases. In practice the wrong thread is used often anyway.

Are there any objections to this?
[Paid Software Announcement and Discussion] mark_at:
Making one thread for XPL and XPL Pro is a good idea. Most people do not understand that there are two.

So it might be right decision ...
[Paid Software Announcement and Discussion] Oswald Boelcke:
You're the OP, and you best know what you're doing. Your observation is certainly correct as well as your conclusions and decisions. It's a pity that quite a few people are unable (for whatever reasons) to differentiate between the two things. Do you intent to leave "[APP][XPOSED][6.0+] Use Xposed without developing a module" open regarding the custom hook definitions, or will it be closed, too? In latter case, you might want to consider to migrate its OP into the XPL OP.

Thanks very much for all you work for the benefit of the XDA community and our all privacy; this includes all your projects. As XPL doesn't have top priority (to what I fully agree), a comprehensive approach with just one (or two) threads is certainly the best.
[Paid Software Announcement and Discussion] M66B:
This thread is closed.

If you have questions about XPrivacyLua, please go here:

https://xdaforums.com/xposed/modules/xprivacylua6-0-android-privacy-manager-t3730663

In the opening post you'll find a link if you have questions about a purchase.
[Paid Software Announcement and Discussion] M66B:
There is a note below the check box, does that help?
[Paid Software Announcement and Discussion] Phoost:
I'm talking about the dark theme of Pro App.

Let's report it this way.

I'm on dark theme in lua and start to Pro.

Switch is off but Pro is dark.

Change switch, means enable it and Pro changes to white.

That's weird.

It's still reproducable. Switch doesn't reflect the status when Pro was called from lua.
[Paid Software Announcement and Discussion] Pogo:
Would you consider to move "Dark Theme" checkbox from the top of the screen somewhere down or in the menu?

On my Nexus 5 with 5" LCD I need now to scroll down to get Log View button. IMHO, the Log View button is typically used way more more than Dark Theme button.
[Paid Software Announcement and Discussion] M66B:
I will see if I can reproduce this.
[Paid Software Announcement and Discussion] M66B:
Moving the switch to the menu a good idea.

Edit: this has been done in the just released version 0.36.

Changelog:

Moved theme switch to menu

Small improvements and minor bug fixes
[Paid Software Announcement and Discussion] Phoost:
This version fixed my theme switch issue.
[Paid Software Announcement and Discussion] badabing2003:
[MENTION=2799345]M66B[/MENTION],

Thanks for the updates,

I updated both XPrivacyLua and the companion app to the latest, rebooted and checked Build.Fingerprint in the companion app, to my surprise it was still set enabled.

Also I was looking around the definitions and noticed ActivityManager.getRecentTasks and few others within the group was in gray, I wondered why, drilled to the details to see what it was about and they all showed enabled.

Are these some UI glitches or I'm misunderstanding the proper use?

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
Only the Build.Fingerprint hook was disabled and nothing else was changed to the hooks:

https://github.com/M66B/XPrivacyLua/commit/b721af4742cc01dbd58ea7ba36a1f6c516b1f272