Yes, on 5T at least
Yes, on 5T at least
Thank you so much for this! Works on a OnePlus 5T running OOS 10.Alright, I did you all a favor and coded up some XPrivacyLua hooks that make the screenshot application produce PNG screenshots. I've attached it to this post. There are a total of 6 and they can be installed for free with the "XPrivacyLua Pro" companion app (without actually purchasing Pro).
Import them all, make sure that "Correctness" is checked in the "Global values" section, then go into XPrivacyLua, navigate to Screenshot (com.oneplus.screenshot), make sure "Force stop automatically" is checked, then check the "Longshot.JPEG" group.
Ta-da, you should have PNG screenshots. You can use an app like MiXplorer to verify the file name, and you can just... zoom in to see the immediate quality improvement. It's amazing.
There's a check for the Screenshot app in each hook so that you can leave "restrict new apps" on like I do, without intercepting random unrelated calls to String.format or StringBuilder.append.
I think this works on all versions of the Screenshot app, though I only tested it on OOS10 on the 7 Pro.
Here is a nice PNG screenshot to prove it works:
View attachment 5150015
So I tried installing your hooks in XprivacyLua Pro by going to ≡ -> Import all settings, however I get a grayed out popup that says "Buy this pro feature". Not sure what I might've missed. Since I'm not as well versed in using XprivacyLua Pro I maybe could have overlooked something .Alright, I did you all a favor and coded up some XPrivacyLua hooks that make the screenshot application produce PNG screenshots. I've attached it to this post. There are a total of 6 and they can be installed for free with the "XPrivacyLua Pro" companion app (without actually purchasing Pro).
Import them all, make sure that "Correctness" is checked in the "Global values" section, then go into XPrivacyLua, navigate to Screenshot (com.oneplus.screenshot), make sure "Force stop automatically" is checked, then check the "Longshot.JPEG" group.
Ta-da, you should have PNG screenshots. You can use an app like MiXplorer to verify the file name, and you can just... zoom in to see the immediate quality improvement. It's amazing.
There's a check for the Screenshot app in each hook so that you can leave "restrict new apps" on like I do, without intercepting random unrelated calls to String.format or StringBuilder.append.
I think this works on all versions of the Screenshot app, though I only tested it on OOS10 on the 7 Pro.
Here is a nice PNG screenshot to prove it works:
View attachment 5150015
Sorry, you're meant to unzip the file and install each hook using Manage hook definitions -> dot menu -> Import.So I tried installing your hooks in XprivacyLua Pro by going to ≡ -> Import all settings, however I get a grayed out popup that says "Buy this pro feature". Not sure what I might've missed. Since I'm not as well versed in using XprivacyLua Pro I maybe could have overlooked something .
Sorry, you're meant to unzip the file and install each hook using Manage hook definitions -> dot menu -> Import.
Also you should tick Optional in the SaveImageBackgroundTask.SCREENSHOT_FILENAME_TEMPLATE hook, since I forgot to do that. That way it won't spam you with notifications every time you install a new app
The latest update works only on Pie. Also, pie for 5T is currently on Beta, so most users don't have it.
Whilst developer's enthusiasm is to be understood, a good practice would be to upload a second module in magisk repo, for Pie and leave the Oreo one largely available.
I had to uninstall due to this issue.
v8 of this module doesn't work on my OxygenOS 5.1.2 Oreo, Magisk 18.1. Breaks the screenshot feature. [emoji20]
Pie only?
Sent with much love & Android. OnePlus 5T
The module is still working with 9.0.3 but the texts in the share menu are wrong Is there anyone else experiencing this?