yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] sir mordred:
TODO

Since Privset uses "aapt" compiler to compile overlays,

I'll also implement dynamic switch for compilers in next update (between aapt, aapt2 and aopt)

(In my test, sometimes aapt is not working on some devices while aopt or aapt2 working or vice versa)

Stay tuned :good:
[Android Apps and Games] sir mordred:
TODO

Oops, duplicate of previous post
[Android Apps and Games] kanishkad:
Did this, but still getting the error..
[Android Apps and Games] cubandanger05:
It works on OP5T. Thank you for the update.
[Android Apps and Games] Ja_som:
Still the same error, will see if aopt or aapt2 will work.
[Android Apps and Games] bmg002:
I was having the same problem after updating to version 11, then I uninstalled and reinstalled (like you recommended) and boom! that fixed things for me. I even tried changing a setting to verify it worked and things are golden!

Awesome app. I really like it. Thanks for this!
[Android Apps and Games] yochananmarqos:
I still have the same error on my 5X after updating to version 11, uninstalling & reinstalling the app.
[Android Apps and Games] TioCareca:
[MENTION=4176888]reversegear[/MENTION] [MENTION=5450821]sir mordred[/MENTION]

New version working in MIUI 7.11.30 beta on mi max 2...

Edit:

It conflicts with miui themes...
[Android Apps and Games] ITguy2:
Worked after reinstalling version 11!
[Android Apps and Games] sir mordred:
It's good to hear that the "overlay compilation issue" is fixed with new update for most users :good:

Enjoy ;)
[Android Apps and Games] sir mordred:
Alternative bug reports

For those who have github account, you can also send bug reports through Privset's official issue tracker https://github.com/sirmordred/PrivsetIssueTracker

Thanx :good:
[Android Apps and Games] unimke:
Version 11 works after uninstalling and reinstalling. Version 11 on OnePlus 3T running Lineage OS 14.1 nightly. Thanks!!!
[Android Apps and Games] Galaxiez:
Still nothing works?

Edit:eek:h well I uninstalled and installed again,now it works?
[Android Apps and Games] unimke:
Anyone got some really cool ideas to do with this app, cos I've only changed what I understand like round icons and others...
[Android Apps and Games] DodoGTA:
Disable "Wake on plug" on pure AOSP and more...
[Android Apps and Games] theduke7:
doesn't work on OnePlus 3 OOS Oreo.

i tested both OMS and Pro, with mutable reboots...
[Android Apps and Games] xehed:
[MENTION=5450821]sir mordred[/MENTION], anyway how to delete the app, I saw there's a file "privsetRescue.zip" on sdcard, do I need to flasht it through recovery or just uninstall it ??
[Android Apps and Games] xk0niR:
After reinstalling compiling works but somehow options do not work. For example I enabled All Rotations but still I can't rotate 180. Anyone else experience this?
[Android Apps and Games] :
Round icons not showing...
[Android Apps and Games] Ja_som:
Hmmmm, it works fine on my Nexus 7 II with LOS 14.1 on apps which support round icons.
[Android Apps and Games] fjsferreira:
Can the dev take a look at the instant reboots when long pressing power button on the oneplus 5 after installing any overlay apk?
[Android Apps and Games] cubandanger05:
Same exact thing happened to me. Had to restore a backup to fix it.
[Android Apps and Games] smartymcfly:
you might need to change your launcher to one that has round icons enabled. pixel launcher, and not every icon will be round, only the ones that support it. "revolution" is free icon pack that can make every other icon that isn't round into a round icon.
[Android Apps and Games] sir mordred:
Ok, will take a look, also any logs if possible? thanx :good:

You dont have to flash rescue zips for uninstalling(they are just for emergency cases like bootloop etc), for uninstalling if you already changed some settings, just reset configuration settings through app's settings interface and uninstall it

:good:

Any log would be really appreciated and helpfull, will take a look ASAP, thanx :good:
[Android Apps and Games] fjsferreira:
Here's a log. Running Oneplus 5 Oxygen OS latest stock version 4.5.14 (nougat) with supersu in systemless mode, encrypted data.

I started adb logcat after rebooting the device after installing only "allow all rotations -> true" overlay with privset.

Note, this happens not only with privset, In the past I compiled my own framework-res.apk overlays and it does the same, when long-pressing power button, instant soft reboot.

Funny enough, when installing apks produced by a substratum theme (Ozone in this case), it works fine. So I don't know what's the cause.

Thank you for your attention.

EDIT: the log is here, sorry for the long log, I don't know how to filter out the irrelevant parts :(

https://gist.github.com/fjsferreira/2e2979f904f9dc1d351cd655d4518033
[Android Apps and Games] osm0sis:
Doesn't seem to work on my stock Oreo 8.0 Nexus 5X with SuperSU (so BINDSBIN mode). When I press run "Applying" quickly flashes on the screen, then there is no difference, and List modified settings is still empty.

My test value is only setting "Use round icons" to true, nothing major. :confused:
[Android Apps and Games] kozmo21:
Have you tried changing OMS/RRO in settings? It should ask to reboot after you change value and hit "run".
[Android Apps and Games] osm0sis:
Same behavior with both. It flashes applying, if root isn't granted yet it requests it and then nothing happens.
[Android Apps and Games] sir mordred:
Sorry for late reply

It seems there are still some problems even after latest update, especially on OMS systems

I'm investigating it, and hopefully will fix the issue on next update

Can you contact with me through telegram if possible (@sirmordred on telegram)

Thanx :good:
[Android Apps and Games] osm0sis:
Thanks! Sorry, I don't use Telegram. Hangouts maybe?
[Android Apps and Games] DodoGTA:
But, why don't you use it?
[Android Apps and Games] osm0sis:
What kind of question is this? Because I don't want to, obviously. I've got enough social networking apps on the go.
[Android Apps and Games] gettingerr:
On Pixel 2 XL, anytime I attempt to change settings, nothing changes. I type the new value, press run, and then restart, they're always default values after the restart.
[Android Apps and Games] joeyhuab:
I got it to work on my Wileyfox Swift with 8.0 Validus ROM installed. Basically I played with the App Settings. I switched from OMS to RRO and back to OMS, I changed priority to 1 then restarted my device. It started working after that.
[Android Apps and Games] PedroCaseiro:
It's not working on my Zenfone 2 with LOS14.1

Tried changing the overlays back and forth and priorities also but still nothing...

It just flashes quickly "applying" and does nothing
[Android Apps and Games] furious.builder:
Still getting Overlay Apk not Found, failed on version 11 :/
[Android Apps and Games] suku_patel_22:
How is the rootless version coming up?
[Android Apps and Games] rignfool:
Not that I understand... But wouldn't Andromeda make it work if you could build the overlay and put it in the overlays.xml on device?
[Android Apps and Games] suku_patel_22:
If we could somehow generate the APK, we could use andromeda to install it.
[Android Apps and Games] rignfool:
So maybe we could ask real nice if he would make a version of Privset using the substratum template?

Or maybe we ask the subs team to add support for overlays generated with a different app?

Let's tag [MENTION=1050103]sykopompos[/MENTION] and see if he can help us get this rolling?
[Android Apps and Games] osm0sis:
I'm still hoping this will get an update to fix it on stock Nexus 5X. :fingers-crossed:
[Android Apps and Games] sykopompos:
That's normally a conflict in framework styles ie it's trying to change to something that the base files aren't in there to change or changing it to something that isn't supposed to be there.

This was really common on lineage ROMs because they changed the power options menu and using one meant for AOSP caused a framework panic
[Android Apps and Games] sykopompos:
We haven't released tetherless Andromeda yet and when we do we already plan to extend it to privset to be able to use it
[Android Apps and Games] suku_patel_22:
Great!! I am glad this is happening and we are gradually going rootless. Lesser reasons to root is a good thing.

Kudos to deva on XDA!![emoji122][emoji122][emoji122]
[Android Apps and Games] daitalos:
Nice work, nice app.

very useful app ..

thanks !
[Android Apps and Games] osm0sis:
[MENTION=5450821]sir mordred[/MENTION] any progress?
[Android Apps and Games] rignfool:
Even if you have no idea what this project does... It just has to be absolutely awesome when [MENTION=4544860]osm0sis[/MENTION] is looking for an update...
[Android Apps and Games] osm0sis:
Hahaha it's just a super badass idea, and I was dying to force the round icons on my stock N5X using Pixel Launcher while remaining systemless; the squircles weren't cutting it. :p
[Android Apps and Games] yochananmarqos:
There's a Magisk Module for that. ;)
[Android Apps and Games] osm0sis:
Right, you can replace the framework to enable it, but privset doing it with overlays would be far far cleaner and zero upkeep vs. a module that needs to update the framework file with each OTA along with there being potential conflicts with the framework file from stock vs. custom ROMs. ;)
[Android Apps and Games] yochananmarqos:
Sure, but that's not what I'm talking about. See Adaptive Icons Round Mask in the repo:
[Android Apps and Games] osm0sis:
Ah, right you are! Uses an overlay apk and everything. Very clever. :)

Easily adapted to SuperSU as well. ;)

Edit: Damn, still doesn't seem to work, even though the contents of /data/system/overlays.xml suggests it loaded fine:

<?xml version='1.0' encoding='utf-8' standalone='yes' ?>
<overlays version="3">
<item packageName="android.overlay.RoundMask" userId="0" targetPackageName="android" baseCodePath="/vendor/overlay/RoundMask/RoundMaskOverlay.apk" state="1" isEnabled="true" isStatic="true" priority="0" />
<item packageName="com.android.systemui.theme.dark" userId="0" targetPackageName="com.android.systemui" baseCodePath="/vendor/overlay/SysuiDarkTheme/SysuiDarkThemeOverlay.apk" state="3" isEnabled="true" isStatic="false" priority="1" />
</overlays>

:confused:
[Android Apps and Games] sir mordred:
osm0sis sorry for late reply mate :good:

and to all:

sorry for not providing any update for 1.5 month, i have just been a bit busy on that period(life problems, uni exams work etc)

but i'm now in a vacation so i have more free time :good:

will look into current remaining issues and will try to look what can i do for them ;)

thanx to all for your interest,supports guys

hopefully i will provide a new update to eliminate all current remaining issues and then i will try to implement systemUI settings which can be cooperatively overlayed with framework-res (with this way you will be able to enable some sweat features like night light etc) :good:

and osm0sis: i dont have hangout mate but if you can install Telegram(i'm on there), it would be good mate :good:
[Android Apps and Games] Ex_FallenSkyTear:
android 8.1, unofficial lineage 15.1.

i tap run, say "compiling", but at end process don't apply any change.
[Android Apps and Games] creeve4:
[MENTION=5450821]sir mordred[/MENTION], will you be adding the ability to modify values in arrays.xml?
[Android Apps and Games] umy_54:
when the app is just about to connect to my ps4 a message pops up that i need to update the app. could someone help me?
[Android Apps and Games] PedroCaseiro:
RIP :(
[Android Apps and Games] Pain-N-Panic:
Connect to your PS4?
[Android Apps and Games] umy_54:
I think this is the wrong thread lol
[Android Apps and Games] sir mordred:
Ok mates, sorry for long wait and delay

I just updated the app with various improvements

* 8.0 Oreo and 8.1 Oreo-mr1 are now supported

* Privset is now compatible with Project-Treble-Enabled systems (so you can override fw settings on GSI too now)

* Updated compilation environment to latest android stuido 3.0

* Updated app components to their latest version

Enjoy ;)
[Android Apps and Games] sir mordred:
Oki thanx for the feedback mate, will look into logs :good: and also can you update the app to latest version and try to reproduce issue?

I'll definitely add them in future updates :good: especially "SystemUI resource support" but i just had an limited time so couldnt include it into version-12 (released on today) but will give an update for it ASAP i hope

It's alive :)
[Android Apps and Games] Ex_FallenSkyTear:
nope, sorry, i have switched to official lineageos 7.1.2 and it's work.
[Android Apps and Games] Nikhilesh_@14:
Doesn't work in my Mi A1 running official RR oreo 8.1
[Android Apps and Games] Ex_FallenSkyTear:
RR?

any oreo roms support OMS by default.
[Android Apps and Games] Nikhilesh_@14:
Resurrection Remix
[Android Apps and Games] Ex_FallenSkyTear:
oh, sorry, my mistake.
[Android Apps and Games] Nikhilesh_@14:
Its okay.... don't be...
[Android Apps and Games] champagne66601:
I was reading about forcing rounded corners on the whole system, is that true?
[Android Apps and Games] Ex_FallenSkyTear:
yes, you are right, i have tried, but nothing change...
[Android Apps and Games] Massyboy:
On my S8 running Oreo, the changes I make don't get saved. The log says:

LOG: onCreate, launching app...

LOG: Preparing UI

LOG: Device supports Runtime-Resource-Overlay

LOG: Device is not nexus device

LOG: There is no overlay apk installed in vendor directory, refreshing preferences

LOG: Getting default values from device

LOG: Creating User Interface according to default values

LOG: Starting overlay process

LOG: isCreatable is true

LOG: Saving user input values to res file

LOG: Everything is ready, lets compile it

LOG: OK, compiling...

LOG: Overlay apk file is not found, failed
[Android Apps and Games] lonequid:
Awesome app!

Would you be able to add the ability to modify config_backPanicBehavior?
[Android Apps and Games] romeo_coi:
Same here with my Max2, official RR 6.1 Oreo. Actually, I have tried Privset on every ROM I tested w. Max2: MSM Xtended, Bootleggers, RR, AEX, Pixel Experience...and got them same error: Overlay apk file is not found, failed :(
[Android Apps and Games] sir mordred:
Update

Hello all mates

I have just been busy for a long time and so couldnt provide an update to Privset but i finally found a time to refactor/update Privset

This update can be called as "Huge Update" compared to other updates

I refactored all the things including User Interface

Changelog:

- UI has been refactored and Materialized (Material Design with beatiful Dark Theme :fingers-crossed:)

- Initial Android Pie 9.0 support added

- Fixed Android O-MR1 (8.1) and Android O (8.0) bugs (specifically "Overlay apk is not found" issues)

- Updated overlay compiler binaries

- Updated build environment to latest version

- Switched to Android's traditional logging system called as "logcat" which is much more flexible and informative about errors,crashes so old txt-based in-app logging method is removed

- Added more control checks to compiler to make compilation process more solid
[Android Apps and Games] yochananmarqos:
Just a couple things I noticed right away on my Pixel running Pie:

- The Dynamic Overlay System Switch was set as RRO, but should have detected OMS

- While in Settings, pressing Back should go back the main screen, not prompt to exit the app. Pressing the back arrow in the upper left does return to the main screen as expected

- Search results appear on top of the list instead of only showing matches. If there are no matches, it still shows the main list

- I tried changing Default Night Mode from 1 to 2 and the title changed to red, but it did not think any changes had been made after applying. The setting did not change. Logcat is attached.
[Android Apps and Games] sir mordred:
Hi mate

- Dynamic overlay system switch sets on RRO for android Pie(even if it supports OMS) because of Google's new platform-signed overlay app restriction introduced in Pie (like RRO, in Pie overlays should be installed to system/app directory otherwise OS ignores them because of apks not signed with platform-key) so there is no error about internal overlaying system detection

- Default Night Mode settings probably require also "SystemUI overlaying" which PrivSet can't do at the moment so changing only corresponding framework setting is not enough to activate Night Mode :good:

and thanx so much for other feedbacks , i noted them and will try fix in upcoming update :good:
[Android Apps and Games] yochananmarqos:
I switched back to RRO and tried to change the same setting and the app thinks it applied. It was just the first thing I tried for the heck of it to test. Logcat attached.
[Android Apps and Games] sir mordred:
Added :good:

ok i just updated the app again, switching back to main screen from modified settings screen is now possible (it was exiting from app before)

and also latest update should address some crashes (it was related with Google's stupid buggy build tools -provided with studio-)

I double-checked the app on 8.1 and 8.0 and overlays are working good(compiled, installed and enabled properly) :good:

And again the Default Night Mode settings require also "SystemUI overlaying" to function so only changing/overlaying framework is not enough, Can you try with other settings please? :good:

And TO ALL:

- Since Privset uses overlays to change default framework-res values, there can be some situations where overlays wont be enabled because of other overlays(that can come from OEM or from Google) are also targeting same frameworks so changing priority can help in those situations (from "App Settings" menu) OR you can disable other overlays via adb shell cmd overlay disable "OverlayPackageNameWithoutQuotes"

- How can you find installed and enabled overlays: well again just type adb shell cmd overlay list

Overlays marked with [X] ones are enabled otherwise they are disabled
[Android Apps and Games] yochananmarqos:
The Back button still prompts to exit the app in both app settings and modified settings.

I set Support Double Tap Wake to true, applied and it prompted to restart for changes to take effect. I selected not to restart and the Applying Changes dialog stays there even after the toast saying that changes were successful. I'm not able to use the app again unless I swipe it out of Overview. Logcat attached.
[Android Apps and Games] sir mordred:
Behaviour of back buttons in screens are normal (i designed with it from initial release of an app) but i may change it in the future releases

and i just looked into your logs and it seems compilation, installation and enablement of overlay are good (you can also see it by searching with "PrivsetBuilder" keyword in log file) and note that some settings may not work without an hardware support (like Double Tap To Wake which requires also kernel touchscreen driver patches)

and for for the ProgressDialog issue, i just fixed it in version 15 update which i provided just now :good:

Can you also try the following command through adb adb shell cmd overlay list and send the result of that command here?

thanx so much
[Android Apps and Games] cc_rock:
[MENTION=5450821]sir mordred[/MENTION] would you mind sharing the correct procedure for manually building an overlay apk for Android pie, and where to place it on the device? I'd like to try changing some resources that are not covered by privset .. and I could not find any guide that is up to date with Pie.. sorry for the partially "off topic"..
[Android Apps and Games] h3110:
Can "config_webViewPackageName" be added?
[Android Apps and Games] wirespot:
[MENTION=5450821]sir mordred[/MENTION], can privset modify something like config_locationProviderPackageNames in res/values/arrays.xml? This thread explains why.
[Android Apps and Games] Nochlab1:
Is rootless support being added???
[Android Apps and Games] bunklung:
Is there a setting to control the status bar or navigation bar?
[Android Apps and Games] Tamil009:
Group dead

Rip privset
[Motorola Droid and Milestone Q&A, Help & Troublesh] p122654:
Droid Mini XT1030 has lost pin, tried to hard reset to factory and on selection takes me back to pin lock screen with the Android icon in the running tasks bar at top. One note there is no SIM card installed so phone is in emergency mode. Does pin get stored on SIM card or non-volatil memory? Phone must not be in debug mode in system, ADB does not see in devices and windows 7 does not load MOTO device driver.
[General Questions and Answers] cbrebel:
Hello. We just got these for work. One of my employees added a bogus google account and has no idea what he used. Long story short he locked it out and factory reset. We are now stuck at the frp screen as we don’t know the login for the google acct.

I couldn’t find any stock firmware or anything to put this back to stock. Am I stuck trying to see if Verizon or Samsung will just redo it ? Company wants to bill him if they send it in so just looking for options here.
[Moto G 2015 Android Development] KrisM22:
Starting this because other folks than [MENTION=4480917]Alberto97[/MENTION] are cooking from the LineageOS 15.x repository. This is unmonitored - ymmv.
[Moto G 2015 Android Development] KrisM22:
reserved
[Moto G 2015 Android Development] althafvly:
Althaf:

lineage-15.0 from latest source https://www.androidfilehost.com/?fid=889964283620761059

Anyone try it with fire kernel or udkernel?
[Moto G 2015 Android Development] KrisM22:
by the way, great job on cooking that! I won't play with it as I need to stay Alberto so I can help at other thread but hopefully others will grab it.
[Moto G 2015 Android Development] Apurba99:
Does VOLTE works with this one?
[Moto G 2015 Android Development] rahul9999:
Have you used any kernel to flash with this?.. Before flashing this you're on which ROM? have you flashed any gapps with this ?

---------- Post added at 05:59 PM ---------- Previous post was at 05:56 PM ----------

I was trying to flash this with UDkernel latest version which supports Oreo.. but TWRP gives error.. sorry but i have forgot to capture that error
[Moto G 2015 Android Development] melp57:
Why does everyone use lineage as a base?

Is it because they have already done most of the work? Seems like almost every N rom is based on it. Not complaining, just trying to learn.

Big thanks to ALL developers and those of you here helping others.
[Moto G 2015 Android Development] KrisM22:
LineageOS has many hundreds/thousands of developers and perhaps another 100,000 folks helping in the device threads.
[Moto G 2015 Android Development] melp57:
No luck flashing this. Received error 7?

No idea what that means.
[Moto G 2015 Android Development] KrisM22:
google

twrp error 7
[Moto G 2015 Android Development] rahul9999:
"E3004: This package is for device: osprey,osprey_umts,osprey_u2,osprey_ud2,osprey_uds,osprey_cdma,osprey_sprint,osprey_udstv

I also got same error while flashing with UD kernel [MENTION=5881712]althafvly[/MENTION]
[Moto G 2015 Android Development] melp57:
Wondering what the cause of it is.
[Moto G 2015 Android Development] rahul9999:
I think this issue is due to TWRP..

TWRP needs to be updated .. I'm currently on Squid2 latest TWRP 3.1.1 r3

Also i have seen that Althaf have modified updater script in his LOS15 to avoid this error.. so that i only got this error while flashing UD Kernel not with the ROM
[Moto G 2015 Android Development] mg_jishad:
Squid2's TWRP causing problems when flashing kernels.
[Moto G 2015 Android Development] Ahmed Hady:
remove the assert lines from updater_script and try
[Moto G 2015 Android Development] Apurba99:
Error 7 usually show when the firmware are not match with the ROM
[Moto G 2015 Android Development] rahul9999:
Could you make a Zip for me if possible ? because i have tried this already but TWRP gives me error while flashing that Invalid Zip format