yashsingh1/xdaforums huggingface dataset:
[Paid Software Announcement and Discussion] badabing2003:
Thanks,

I understand that, my questions are:

1- why Build.Fingerprint was still enabled in the companion app after the update?

2- why some enabled hooks are showing up in gray in the companion app.

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
I don't know and I cannot reproduce it.

Did you update to the latest version of XPrivacyLua and did you hard reboot?

There is really no change that can explain this.
[Paid Software Announcement and Discussion] badabing2003:
Yes to both.

Is it possible that because I had unchecked Build.Fingerprint for few apps like lastpass for granular control while keeping use tracking on this could have happened?

See attached for the gray issue.

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
Editing a hook will make a copy of the hook, so that is likely the cause of the Build.FINGERPRINT stuff.

getRunningServices is enabled for API levels up to 25 only (check the min/max SDK field), so I guess you are using a more recent Android version.
[Paid Software Announcement and Discussion] badabing2003:
Thanks, the gray mystery resolved, yes I'm running Oreo 8.1, I believe sdk 27

As for the Build.Fingerprint I didn't edit the hook, I just made lastpass not restrict it while keeping use.tracking checked.

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
Isn't this contradicting: "it was still set enabled" and "not restrict it" ?

Anyway, I have tried multiple scenarios and I cannot find any problem. Since it will not happen often that an existing hook will be disabled and this therefore can be considered an edge situation, I am not going to put more time into this minor problem. Just disable/enable/delete it to set it as it should be set.
[Paid Software Announcement and Discussion] badabing2003:
Yeah sure, not asking you to invest time on it, just reporting it.

You be the judge of the importance.

Just to be clear,

- I never edited the definition.

- It was enabled in the previous version, part of use.tracking

- I had use.tracking applied to most apps, including lastpass, which in effect had build.restriction applied.

- I then went into granular selection in the companion app (for lastpass) and unchecked Build.Fingerprint (restriction, not definition) while keeping all other use.tracking checked for lastpass.

- updated both apps, rebooted.

- definition was still enabled.

That's all

Not sure why that would be contradictory.

Of course I disabled it once I saw it was still enabled.

Thanks.

BB
[Paid Software Announcement and Discussion] Phoost:
One issue I noticed today:

Open xprivacylua, start pro App for an App.

Pro App started with two tabs. "Global" and "App" .

Select manage hooks in App tab. Close manage hooks via "back" or the symbol in the left upper corner. Pro tab "App" disappeared. There is only "global" anymore.

One wish for manage hooks: possibility to sort by name and/or search field
[Paid Software Announcement and Discussion] M66B:
Actually, this only happens when you use the back symbol in the action bar.
[Paid Software Announcement and Discussion] M66B:
[MENTION=5070801]Phoost[/MENTION] the just released version 0.37 fixes your problem
[Paid Software Announcement and Discussion] Phoost:
Happened with both wsys for me but doesn't matter. You fixed it:good:
[Paid Software Announcement and Discussion] OSheden:
Sorry for having used the wrong thread.

So here is my question: Could you add a search box in the log of the pro companion to allow us to search all the resrictions for a specific app?
[Paid Software Announcement and Discussion] M66B:
I have just released version 0.38

Changelog:

Search for definitions, hooks and logging [MENTION=8070355]OSheden[/MENTION]

Improved hook definition import/export format
[Paid Software Announcement and Discussion] OSheden:
Seriously, 2h later? :good::cowboy:

Thank you so much!
[Paid Software Announcement and Discussion] zzzhead:
Logs view crashing with new version

Process: eu.faircode.xlua.pro Flags: 0x38c83e44 Package: eu.faircode.xlua.pro v38 (0.38) Foreground: Yes Build: OnePlus/OnePlus3/OnePlus3:7.1.1/NMF26F/10122109:user/release-keys java.lang.NullPointerException: Attempt to invoke virtual method 'void android.support.v7.widget.SearchView.setOnQueryTextListener(android.support.v7.widget.SearchView$c)' on a null object reference	at eu.faircode.xlua.pro.ActivityLog.onPrepareOptionsMenu(SourceFile:75)	at android.app.Activity.onPreparePanel(Activity.java:3164)	at android.support.v4.a.i.a(SourceFile:503)	at android.support.v4.a.i.onPreparePanel(SourceFile:491)	at android.support.v7.view.i.onPreparePanel(SourceFile:98)	at android.support.v7.app.f$a.onPreparePanel(SourceFile:359)	at android.support.v7.app.k.b(SourceFile:1385)	at android.support.v7.app.k.f(SourceFile:1638)	at android.support.v7.app.k$1.run(SourceFile:134)	at android.os.Handler.handleCallback(Handler.java:751)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:154)	at android.app.ActivityThread.main(ActivityThread.java:6236)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
[Paid Software Announcement and Discussion] M66B:
This is caused by a bug in your Android version. The just released version 0.39 has a workaround for this, but it could be that searching will not work for you.

Edit: [MENTION=5589707]8monochrome[/MENTION] it would be nice if you let me know if it works now for you
[Paid Software Announcement and Discussion] zzzhead:
Logs are showing up now ;)
[Paid Software Announcement and Discussion] OSheden:
[MENTION=2799345]M66B[/MENTION] Nothing happens when I press the magnifying glass in the log.
[Paid Software Announcement and Discussion] Gerolianis:
Neither it does on my phone. Same in definitions.

I'm very happy to see search function being implemented.

What could be helpful too: a filter by (collection and) group in the definitions list.

I am scrolling helplessly to find definitions included in certain groups...
[Paid Software Announcement and Discussion] M66B:
[MENTION=8070355]OSheden[/MENTION] [MENTION=4980140]Gerolianis[/MENTION] does the search in XPrivacyLua work for you?
[Paid Software Announcement and Discussion] Gerolianis:
Yes, it does
[Paid Software Announcement and Discussion] OSheden:
Yes, it works too.
[Paid Software Announcement and Discussion] M66B:
[MENTION=8070355]OSheden[/MENTION] [MENTION=4980140]Gerolianis[/MENTION] hopefully the search of version 0.40 of the companion app works for you too now.
[Paid Software Announcement and Discussion] Gerolianis:
Yes, it works for both, log and definitions

Thanks
[Paid Software Announcement and Discussion] zzzhead:
Export and import crashes, this is my first time using this feature since release.

Process: eu.faircode.xlua.pro Flags: 0x38c83e44 Package: eu.faircode.xlua.pro v39 (0.39) Foreground: Yes Build: OnePlus/OnePlus3/OnePlus3:7.1.1/NMF26F/10122109:user/release-keys android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.OPEN_DOCUMENT cat=[android.intent.category.OPENABLE] typ=*/* }	at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1818)	at android.app.Instrumentation.execStartActivity(Instrumentation.java:1525)	at android.app.Activity.startActivityForResult(Activity.java:4229)	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:360)	at android.app.Activity.startActivityForResult(<Xposed>)	at android.support.v4.a.f.startActivityForResult(SourceFile:54)	at android.support.v4.a.i.startActivityForResult(SourceFile:67)	at android.app.Activity.startActivityForResult(Activity.java:4187)	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:360)	at android.app.Activity.startActivityForResult(<Xposed>)	at android.support.v4.a.i.startActivityForResult(SourceFile:732)	at eu.faircode.xlua.pro.e$9.onClick(SourceFile:220)	at android.view.View.performClick(View.java:5657)	at android.view.View$PerformClick.run(View.java:22453)	at android.os.Handler.handleCallback(Handler.java:751)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:154)	at android.app.ActivityThread.main(ActivityThread.java:6236)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:891)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:781)	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:107)
[Paid Software Announcement and Discussion] M66B:
This is not something I can fix, because the storage access framework is missing on your device.
[Paid Software Announcement and Discussion] zzzhead:
Noted on this ;)
[Paid Software Announcement and Discussion] M66B:
The just released version 0.41 will show the buttons grayed out. Can you please confirm that?
[Paid Software Announcement and Discussion] zzzhead:
I'm using dark theme, it's the same color, however I can confirm it can't be selected anymore
[Paid Software Announcement and Discussion] M66B:
I have just released version 0.42.

Changelog:

Support for hook settings (custom values)

Small layout improvements
[Paid Software Announcement and Discussion] Droidphilev:
Hello Marcel,

I have tried to search for info after seeing a button to save in the app. I guess this isn't something for "normal daily" use?
[Paid Software Announcement and Discussion] M66B:
I guess you are referring to custom values.

These are meant for things like these:

https://xdaforums.com/showpost.php?p=75585917&postcount=107
[Paid Software Announcement and Discussion] aadi50:
Nothing to conplain though... Is it possible to notify with actual hook name (method hooked) in notification... It shows only app name and restriction group...
[Paid Software Announcement and Discussion] M66B:
The UI is designed around hook groups to keep usage simple, so this will not be changed, sorry.
[Paid Software Announcement and Discussion] aadi50:
Its ok.. Just asked... Its already quite informative... Thanks to u..
[Paid Software Announcement and Discussion] xblosa:
Hi Marcel,

i could not find any hint where to get the ProCompanion app and/or a license outside play store.
[Paid Software Announcement and Discussion] M66B:
The XDA pro companion app thread has this link:

https://play.google.com/apps/testing/eu.faircode.xlua.pro

And tapping on the settings wheel in XPrivacyLua brings you there too.
[Paid Software Announcement and Discussion] xblosa:
I do not have a google account / no gapps installed.
[Paid Software Announcement and Discussion] M66B:
You can get the pro companion app outside the Play store by donating 10 euros or more. See here for the donation options: https://lua.xprivacy.eu

This is not advertised widely, since I handle this manually.
[Paid Software Announcement and Discussion] badabing2003:
[MENTION=2799345]M66B[/MENTION]

When managing an App's granular restrictions, is there a token similar to ? ! That will only show the entries that have timestamp?

The granular list is long enough to warrant such token, I'm trying to determine which of my restrictions is breaking pushbullet.

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
No, there isn't, and since there is a chronological log in the companion app, which is searchable now, I don't see a good reason for it either.
[Paid Software Announcement and Discussion] user2345:
Hello Marcel,

i bought the pro app per donations. I open the link into the mail. All fine.

But in the app, there is the Button buy this pro Feature?

I have 15 € donated. The only feature that is going is "definitions".

Thank you

ps.: sorry for this bad english
[Paid Software Announcement and Discussion] M66B:
Please reply to the activation instructions for support.
[Paid Software Announcement and Discussion] M66B:
The log view is not real-time and will not be updated when you're are looking at it.

You can either get no notification, an usage notification or an error notification. What is wrong with this?

What kind of search would you like to have exactly? Apps with used restrictions?
[Paid Software Announcement and Discussion] badabing2003:
Thanks Marcel,

For:

1. There must be a minor bug then, it happened to me more than once, I went to log view, searched fir an app to see only that app's logs, left it like that, after a while I started seeing other app logs even though I had one app search applied, I think I even have a screenshot on my phone, I'll post that later.

2. Now that you put it that way, one of the three, it fits, I was under the impression (false expectation) that notify selection was for usage notification, and that error notifications were orthogonal to it. Sorry for assuming wrongly.

3. The quoted part 3, is to be able to go to pro apps main screen when I'm in the manage app restrictions screen without having to close the app and launching it again.

As for filter, when I'm managing granular restrictions of an app, I want to filter by usage, i.e. Only show entries that have timestamp.

As always, I'll leave it up to you if you feel inclined to address any of the above, there are ways to workaround, so no showstoppers.

Thanks.

BB
[Paid Software Announcement and Discussion] M66B:
There was indeed a bug letting show up logging of other apps when resuming the log view.

I have added two special hook search characters:

Exclamation mark (!): hook used

Question mark (?): hook unused

I am still unsure how you want to navigate. You can go from XPrivacyLua to the pro companion app seamlessly and then swipe left/right to go to the app/global settings, navigate to any sub screen by pressing a button and return to XPrivacyLua with one or two back presses. What is missing here?

The download of version 0.43 is available right now.
[Paid Software Announcement and Discussion] badabing2003:
Thank you, thank you.

! and ? helps immensely.

Also I can't believe I didn't try that, slide right.

I saw Global and App

I tried clicking on Global many times before, but seeing it in lighter gray, I assumed it was disabled and not possible.

Sorry for writing a long story about missing that feature all the while it being there.

Thanks again.

BB
[Paid Software Announcement and Discussion] CarvedArt:
Marcel,

What's the possibility of adding a "Manage" button to the "Backup" section? Simply allowing the deletion or renaming of backups within the app.

Also, have you ruled out the possible addition of a button in the XPLP menu to launch XPL like you have in XPL? When you launch XPLP then want to open XPL you can't simply hit the back button to get you there.

Finally, there was a request to colorize the dates of the blocked hooks-- any thoughts?

Obviously, these are just convenience issues so no priority or hurt feelings on my part with whatever you decide.

As always, thanks for being awesome!
[Paid Software Announcement and Discussion] M66B:
To manage backups you can use any file manager. It makes no sense to me to build a file manager into the companion app.

The companion app is designed to be seamlessly used from XPrivacyLua, but not the other way around.

The dates are shown in bold in recent versions.
[Paid Software Announcement and Discussion] M66B:
The just released version 0.46 supports uploading to and downloading from a hook definition repository.

To upload you need to register with your e-mail address. This is to prevent misuse, like impersonation.

I have uploaded the hook definitions for Flurry and some other hook definitions. These will be removed from XPrivacyLua in a next release.

Upload: tap on a hook definition and select upload in the menu; the first time this will start the registration procedure

Download: tap the cloud download icon in the action bar of the definitions management screen and tap one of the file download icons

The downloads will be sorted on decreasing last updated time. You can search on all fields using the action bar search.

The repository is free to use and will be available on best effort base.

[MENTION=5297163]Fif_[/MENTION] maybe you want to upload your hook definitions.

Edit: I have made the repository available online too: https://lua.xprivacy.eu/repo/
[Paid Software Announcement and Discussion] Namnodorel:
I recently had to completely wipe/reflash my phone and tried to reactivate XPLP with the link I received. However when I click the link on the page and it redirects me to the app, I get a Snackbar saying "Invalid response" . What could this be caused of?
[Paid Software Announcement and Discussion] M66B:
Just request a new activation in the same way as before to solve this.
[Paid Software Announcement and Discussion] Namnodorel:
Okay, I will. I thought you added wipe survival some time ago, but apparently that works just with a new ROM and not a complete wipe.
[Paid Software Announcement and Discussion] M66B:
Did you restore the companion app and its data after the wipe? The data is needed to make the transition. After a transition the original activation link will not work anymore.
[Paid Software Announcement and Discussion] aadi50:
Why alphabets are not allowed alongwith numbers for faking "ANDROID ID" . Android id's are alphanumeric as far as i know.

Its the value returned by - "Privacy.Settings.Secure.getString/android_id".

But we are unable to type alphabets, only numbers.
[Paid Software Announcement and Discussion] Namnodorel:
No, I didn't bother to backup the data because I thought it'd be pointless anyway. Since XPL stores its DBs and I thought the key would be, too to avoid simply copying it.
[Paid Software Announcement and Discussion] M66B:
Next time you know what to do ;)
[Paid Software Announcement and Discussion] M66B:
The Android ID is a hexadecimal number, so you can only enter digits and the letters A-F.

https://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID
[Paid Software Announcement and Discussion] aadi50:
Ok.. thanx for clarification... Actually android_id returned by system contains alphabets [a-f] ... But we cannot type [a-f] .. but [A-F] works as u said...
[Paid Software Announcement and Discussion] M66B:
I will change it to lower case in the next release.
[Paid Software Announcement and Discussion] M66B:
I have just released version 0.48

Changelog:

highlight updated hook definitions

Android ID lower case
[Paid Software Announcement and Discussion] zzzhead:
I noticed that some hooks such as AdvertisingIdClient$Info.getId have hard coded values. Can these values be more easily customizable per app?

A scenario is, a game I was playing ties my account to this id. To create a new account, I have to change it, but this would break other apps that ties the account to this ID, in a similar manner.
[Paid Software Announcement and Discussion] M66B:
I have no intention to make the advertising ID configurable because there is a Google option to reset it. If an app needs the advertising ID as you described, you should not restrict it. Alternatively you can change the hook definition and use a custom settings.

Edit: an example hook definition with settings is InetAddress.getByName by [MENTION=5297163]Fif_[/MENTION]. You can download and inspect it with the companion app or see it here: https://lua.xprivacy.eu/repo/view?id=28
[Paid Software Announcement and Discussion] badabing2003:
Marcel,

I was just looking at available downloads, and more specifically InetAddress.getByName by [MENTION=5297163]Fif_[/MENTION] , downloaded it.

How do I get my apps to show me the option to set the restriction for this?

I killed both XPrivacyLua and the Pro app.

I can see the hook definition in Pro, and it is enabled.

If I go to XPrivacyLua, I don't see it listed, even if I click on the gear icon to manage the granular control (what's the right term for this feature, I keep on referring to it as granular control) I don't see it listed to be able to select it.

What am I missing?

I'm sure I have overlooked something obvious again.

Do I even need to kill the apps? / reboot?

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
You need to enable the collection 'Fif' in the companion app.
[Paid Software Announcement and Discussion] badabing2003:
Of course,

Yet again something silly I overlooked.

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
No problem, this is all brand new.

Next time you can answer a similar question ;)
[Paid Software Announcement and Discussion] Fif_:
Yes, that should be mentioned somewhere. I pondered for a while whether or not to put my hooks in the "Privacy" collection, but in the end I decided in keeping them separate so that they could be all turned off at once with a single click. I didn't want [MENTION=2799345]M66B[/MENTION] to get blamed for my hooks.
[Paid Software Announcement and Discussion] badabing2003:
Marcel,

I encountered a minor bug.

Wanted to revisit the restrictions I have applied (by group)

1- Select Filter Determine activity

2- Search for ? to only show the apps that don't have the restrictions applied

3- It list (as expected) the systems apps as well, Add @ to filter out the system Apps and only keep user Apps

4- Check the Apps and add any app that is missing this group

5- Change the filter to the next Group Get applications

6- Search ?@ is still selected (great, that's exactly what I want), however the list of Apps are not refreshed, keeping the older set, which some already have restrictions applied, and some others that don't have the restrictions applied totally missing from the list.

Workaround, delete the search entries ?@ and type again ?@

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
[MENTION=4851555]badabing2003[/MENTION] XPrivacyLua is designed around restriction groups and I am not going to change this, sorry.

Edit: what you can do, is rearrange the groups, so that there are less hooks in a group to make things more manageable for you. Just change the group name of the hooks. This will have no consequences for the restrictions already applied.
[Paid Software Announcement and Discussion] badabing2003:
Thanks,

This idea sounds good,

If I do that, the app will create a copy hook right?

Then I'd have to delete or disable the default hook?

That's ok, but I don't want to be left out of updates you deliver on any of these hooks, would I?

Thanks

BB
[Paid Software Announcement and Discussion] M66B:
Just watch the changelog for hook definition updates, but I don't expect that existing hook definitions will be updated many times anymore.
[Paid Software Announcement and Discussion] M66B:
Maybe it is an idea to mention this in the hook definition description.
[Paid Software Announcement and Discussion] Fif_:
I've been reticent to add more verbose documentation as the descriptions are shown in full in the download section. Some of my hooks' descriptions already take half a screenful in the Downloads section, and I don't want to make it worse.

Maybe the descriptions could be elided in the download section, or we could have separate detailed description and summary fields in the json export format.
[Paid Software Announcement and Discussion] badabing2003:
Marcel,

When editing lua scripts, the keyboard covers half the screen, which is expected, however one can not scroll the script to edit the parts that are covered by the keyboard.

What I do is huge keyboard, click on the part I want to edit which brings up the keyboard, and I start typing, editing blindly.

Perhaps forced empty space at the bottom would allow scrolling.

Thanks

BB
[Paid Software Announcement and Discussion] Fif_:
I have the same symptoms.

However, by using a keyboard with arrow keys, you can use the down key to make the rest of the editing buffer appear in view.
[Paid Software Announcement and Discussion] badabing2003:
Thanks,

I'm using Gboard and don't think it has arrow keys.

What keyboard do you use?
[Paid Software Announcement and Discussion] Fif_:
Hacker's Keyboard is great for editing code.

No tracking included either.