yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] caspase:
This behaviour is expected, as the crash on your device was the result of AppOps being able to associate a human readable name with the permission in question. Below you'll find another APK which attempts to avoid the ?????, falling back to text like COARSE_LOCATION or CAMERA if possible. Please report back, ideally with a screenshot and logs!
[Xposed Framework Modules] coolkoushik07:
Thanks bro it worked.. Its now working perfectly.. I have attached ss.. If u need catlog for any future improvement then i will upload catlog too..

Sent from my Xperia Z1 Compact (D5503)
[Xposed Framework Modules] caspase:
Actually, I do have another request :p I've come up with a method that might prevent even strings like WIFI_CHANGE. Please try the attached APK and send me another screenshot!
[Xposed Framework Modules] coolkoushik07:
It also worked perfectly.. Here is the ss.

Sent from my Xperia Z1 Compact (D5503)
[Xposed Framework Modules] caspase:
Awesome! I've published 1.17.2 which includes this fix (plus it capitalizes the first letter, so it looks less ugly).
[Xposed Framework Modules] mroneeyedboh:
As in what to allow this and that? I'm afraid that I'll be doing a lot of back and forth with enabling and disabling stuff as I would run into issues. Well possible issues from turning off things under each app.
[Xposed Framework Modules] hrkh83:
Is it compatible with ART?!
[Xposed Framework Modules] ~Phil~:
Xposed isn't compatible with ART at the moment. So it won't work.
[Xposed Framework Modules] comptonhubbard:
+1
[Xposed Framework Modules] vodeblog:
I found the app ops setting will be reset if I restart my phone or in some other circumstances. Just realized this. Happened on my rooted stock note 3. Is this bug??

Example: Facebook just overwritten my permission on location and awake status .
[Xposed Framework Modules] caspase:
The folks at CM added new functionality to the internal AppOps framework, so implementing this would require more than just "exposing" AppOps, which is what AppOpsXposed does at the moment. I'm very busy at the moment, so no, not in the near future. Sorry.

It might be, I don't know. Since AppOps is experimental, it might very well be broken on some devices. You could try disabling the layout fix in the module's settings and see if that changes anything?
[Xposed Framework Modules] M@rs:
Does it work on 4.4.3?

Gesendet von meinem Nexus 4
[Xposed Framework Modules] caspase:
Yes!
[Xposed Framework Modules] narco14:
yes it works fine for me in 4.4.3
[Xposed Framework Modules] F_T_B:
And on 4.4.4 it seems to be stuck on loading.
[Xposed Framework Modules] caspase:
Hmm... Can you elaborate?
[Xposed Framework Modules] F_T_B:
It starts, says loading... And stays there. Any idea why?
[Xposed Framework Modules] caspase:
Not without a logcat. Also, I need your Xposed Installer's logs.
[Xposed Framework Modules] F_T_B:
Will try to send something, unless I forget by the time I wake up.

If it works on 4.4.4 and it's just me who's seeing these results, I'll do a factory reset. Seems safest bet.
[Xposed Framework Modules] caspase:
Just installed 4.4.4 on my phone (Nexus 4), and it works like a charm. Can't really say why it didn't on your device, since the changes introduced in 4.4.4 are minimal, and don't affect any of the components required for AppOps.
[Xposed Framework Modules] coolkoushik07:
yah it is working on latest cm nightly 4.4.4

Sent from my Xperia Z1 Compact
[Xposed Framework Modules] caspase:
I've hacked together something resembling CM's 'Bootup' section. Note that due to technical reasons, the 'Post notification' permission has

been merged with 'Vibrate'. This means that a) any app that had its 'Post notification' permission disabled is now unable to use vibration and

b) any app that had its 'Vibrate' permission disabled will not be allowed to boot after enabling the hack and rebooting the device.

This version was hacked together in a rather short amount of time, so I might be able to fix these issues in the next release; this

hack was tested only on Stock 4.4.3 and 4.4.4! Also note that disabling the 'Run at startup' permission does not necessarily

prevent an app from booting. This is due to technical limitations of Android: some apps may be run at startup even though they

never requested the appropriate permission.

The 'Bootup'-hack might crash your device, sending it into a boot-loop. You can use the attached

.zip to restore AppOpsXposed's settings from recovery mode.
[Xposed Framework Modules] caspase:
In case it doesn't work (I apparently uploaded the wrong APK), try 1.18-BETA2!
[Xposed Framework Modules] caspase:
Hmm... I'd need to see your Xposed logs... If I get this correctly, the 'Bootup' section exist, and you

get 'run at startup' in the app list, but not in the individual app permissions screen?

Are you referring to the fact that apps can be started at boot even without requesting permission? I'm sure it can be fixed,

I just don't know yet where to tackle that issue.
[Xposed Framework Modules] gagp2p:
seems to running fine on HTC ONE M7 !

But it just dosnt show up in the settings.

here is the Settings.apk from Android Revolution HD 71.1 - hope yu can do something:

http://d-h.st/AX6

Thanks :good:
[Xposed Framework Modules] 2545:
I'm running kitkat and when I upgraded to S5 menu settings, the app was hard to locate but it is there. See attached image.
[Xposed Framework Modules] caspase:
I forgot to mention: You have to enable the 'Bootup' hack in the module's settings after installing the new version!
[Xposed Framework Modules] caspase:
I'll see what I can do. Could take a month or so though, as I'll be on vacation until the end of July!
[Xposed Framework Modules] 2545:
I actually don't have a problem with the way it is. I was just pointing out to others that that's how you can use it. ? have a great vacation.

Sent from my SGH-I317; 4.4.2 ezkat, AGNi v4.x
[Xposed Framework Modules] winamp26:
im using shiny rom but startup menu and wakeup and autostart in apps menu i dont see.

please update it for shiny rom
[Xposed Framework Modules] chazoke:
nice modules,but it crashed on my device xperia z with custom 4.4.4 rom from http://xdaforums.com/xperia-z/development/rom-cyanogenmod-11-t2660672
[Xposed Framework Modules] Astral Dee:
I am having a problem using this module on 4.4.4. I think another user was having the same problem earlier on 4.4.3. The settings page is stuck on "Loading" ring as shown in the attachment. My device is Nexus 7 FHD using stock 4.4.4 Android.

Logcat (long):

--------- beginning of /dev/log/system

[ 07-05 21:33:26.744 598: 887 I/ActivityManager ]

START u0 {act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras)} from pid 2851

--------- beginning of /dev/log/main

[ 07-05 21:33:26.804 2851: 2851 D/SubSettings ]

Launching fragment com.android.settings.applications.AppOpsSummary

[ 07-05 21:33:26.864 598: 626 F/PackageManager ]

Package Manager Crash

java.lang.NullPointerException

at com.android.server.pm.PackageManagerService.addPackageHoldingPermissions(PackageManagerService.java:3248)

at com.android.server.pm.PackageManagerService.getPackagesHoldingPermissions(PackageManagerService.java:3279)

at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:644)

at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:1523)

at android.os.Binder.execTransact(Binder.java:404)

at dalvik.system.NativeStart.run(Native Method)

[ 07-05 21:33:26.935 598: 614 I/ActivityManager ]

Displayed com.android.settings/.SubSettings: +171ms
[Xposed Framework Modules] BTT8:
I have earthing denied for Facebook but I'm still getting wakelocks from it. Any idea why?
[Xposed Framework Modules] NinetoFive:
Are you guys able to use this for Facebook? I have basically everything denied on facebook (ie locations and camera) but when I open the app it can still access my rough location, including when I moved from home to work.

When I go back to AppOps, it still says that location is denied and accessed 14 hours ago.

How is it getting my location if appops is denying it and it says facebook hasn't accessed it?
[Xposed Framework Modules] Anton111111:
i'm on sony xperia zr with 4.4.2 stock rom. Version of appopps is 1.17.2.

I try to disable keep awake for google play service. But it's seems that my phone still doesn't sleep.

I see in logat many lines like that:

07-10 12:13:13.398 W/AppOps ( 1023): Finishing op nesting under-run: uid 10057 pkg com.google.android.gms code 40 time=1404978662475 durati

on=4042 nesting=0

What is it mean?
[Xposed Framework Modules] Javi22:
This module is working in my htc one m7 (ARHD 71.1)

However I've denied keep awake and location permissions of Google Play Services. Everything works fine except GPS location, does not work at all. So, location works but with no precision. Only network location
[Xposed Framework Modules] boe323:
Can't launch app ops from settings on m8 stock rooted ...force closes the app ops app and crashes
[Xposed Framework Modules] Kickbut101:
Cant get mine to install either

I'm on Xposed 2.4.1

Droid Maxx 4.2.2 stock

Logcat claims

W/PackageParser( 3145): /data/data/com.android.providers.downloads/cache/AppOpsXposed-1.2.apk (at Binary XML file line #6): Requires newer sdk version #18 (current version is #17

Maybe I don't have the correct OS to use this? I didn't see a requirement for the app
[Xposed Framework Modules] Makorus:
I think the title of this thread is self-explaining: [Xposed][MOD][1.2] AppOpsXposed -

AppOps for 4.4.2

Or not?
[Xposed Framework Modules] animelover:
It just works with Android 4.3 or newer. Sorry mate. ;)
[Xposed Framework Modules] Kickbut101:
I thought that was in reference to the OS that it is updated and supported up to.
[Xposed Framework Modules] caspase:
[MENTION=2561282]tariq2kn[/MENTION]

Please try if it works with the latest version!
[Xposed Framework Modules] acekay:
Latest version is working on Note2 with DN3 ROM so Settings.apk is actually from 4.3 Note3
[Xposed Framework Modules] tariq2kn:
1.3 too isn't working on S3 4.3. It is due to the stock version.
[Xposed Framework Modules] manojkumar8552:
waiting for 4.2.1 !!

when it will be put

---------- Post added at 04:41 AM ---------- Previous post was at 04:41 AM ----------
[Xposed Framework Modules] caspase:
Never! I've updated the first post with an explanation why!
[Xposed Framework Modules] caspase:
I still need more info. See the original post for details.
[Xposed Framework Modules] Pkt_Lnt:
There are tools to access them now.
[Xposed Framework Modules] caspase:
On 4.2.1? I doubt that, unless you're not talking about the hidden feature in Android's Settings.apk... 4.2.1 is the jb-mr1.1-release branch, which has no AppOps.

Compare sources of Settings.apk on branches jb-mr1.1-release (=4.2.1) and on jb-mr2-release (=4.3)
[Xposed Framework Modules] lionsson:
Is it possible to set a shortcut notification after installation?
[Xposed Framework Modules] iridaki:
Works on my Galaxy Note 10.1 2014. It was much needed as none of the Market apps that worked on my S4 seemed to not work on it.

One glitch is that the App Ops menu appears at the end of every tab in the Settings.

iR¡D@k!* from my Galaxy Note 10.1 2014 ed. via Tapatalk 4
[Xposed Framework Modules] caspase:
I'll consider it.

Please try the latest release and report back!
[Xposed Framework Modules] Pkt_Lnt:
OK, my mistake. Trickster Mod kernel app was the first place I saw access to AppOps, and have used it for some time now. It is only in 4.3, Sorry for the bad info.
[Xposed Framework Modules] iridaki:
Same with 1.4. But it's no biggie. :)

iR¡D@k!* from my Galaxy Note 10.1 2014 via Tapatalk 4
[Xposed Framework Modules] caspase:
Hmm... without the source my attempts to fix this are a shot in the dark. I've attached a debug-signed* BETA version which provides a launcher icon, where you can check "loadHeadersFromResource". If that doesn't make it work, you could send me your Settings.apk so I can dig around in the smali to see what's going on...

*) Because the signing keys differ, you must first uninstall 1.4!
[Xposed Framework Modules] hatememarkz:
Bout to give this a run on 4.3.1 carbon
[Xposed Framework Modules] bahha:
Great module . saved me to restore my sms to kitkat 4.4.2 thank you .
[Xposed Framework Modules] Hobbygamer27:
Hello dear Dev.

I waited a long time to update my Samsung Galaxy Note 2 from Stock 4.1.2 to DN3 Rom 4.4.2 and one reason to leave my rocksolid stable system was the view on App Ops.

Its not working on this rom, I only get this littne thumbnails in the app manager.

Could you try to fix that?

Greets
[Xposed Framework Modules] Brutal_Master:
I REALLY love this xmodule (i am new to xposed btw) ! The only feature i feel is missing is a search function. Can this please be added?
[Xposed Framework Modules] lostangelintx:
Me also.
[Xposed Framework Modules] :
Hi

Using the module since a few days and it works great.

Only 2 issues:

1. Not all permissions are listed in the per app settings. By example, internet permission can't be denied

2. The icon at top right in the app details is the same even if I change the variant style.

Thanks
[Xposed Framework Modules] vassy.uk:
Hi I get an error when I open an app through Appops. I get a message unfortunately settings stopped. I have installed the latest version and the version before that on my OnePlus one. Kindly help. Thank u
[Xposed Framework Modules] kgyirhj:
I cannot find appops in settings.

When I start with appops icon this happens:

http://bayimg.com/AApKMAaFI

Seems to be launched underneath all settings, wtf!?

SGS5 Android 4.4.2

I use Xprivacy xposed module which is better then appops but I want to have this aswell for testing reasons.
[Xposed Framework Modules] KooolaNL:
seems to work on my non rooted non custom rom s5

weird but great?
[Xposed Framework Modules] KooolaNL:
here a screenshot with rom info
[Xposed Framework Modules] papperlapapp:
Thank you for your Xposed plugin!

I have ApOps version 1.17.2 installed on my Sony Xperia Z1 with Sony firmware 14.4.A.0.108.

In AppOps I can chose between disabled or enabled for an app and the different permissions.

In contrast, in Cyanogenmod11 if an app requests a permission you get a question if you want to grant that permission or decline it.

Can you implement this in your AppOps plugin?

In Cyanogenmod11 by default a permission is set to "ask", this means you get a question if you decline or grant a permission.

I think it would be great to have the same behaviour in your plugin!

Or does this depend on the ROM itself? Does Cyanogenmod11 AppOps have these features, because it is part of the ROM?

In other words, if the Sony ROM only allows between disabled and enabled you can do nothing about it in your plugin?

Thank you!
[Xposed Framework Modules] Sahandroid:
I'm getting "Unfortunately, settings has stopped" on my OnePlus One as well (someone a few posts above me was having the same problem). I have tried to disable "Fix Layouts", with no effect.

By the way: Very nice work, mister! Very appreciated
[Xposed Framework Modules] TimAnd:
Also, "Unfortunately, settings has stopped". I'm on Xposed 2.5.1. because 2.6+ don't work on Huawei P7.

Loading Xposed v47 (for Zygote)...

Running Stock ROM 'P7-L10V100R001C00B126' with fingerprint 'Huawei/P7-L10/hwp7:4.4.2/HuaweiP7-L10/C00B126:user/ota-rel-keys,release-keys'

Logs attached. I had to 7z logcat because of it's size. Added Settings.apk also because "App ops" doesn't show up in Settings app.

Hope this will be enough to help us...
[Xposed Framework Modules] caspase:
Back from vacation, so here's a ****load of answers:

Need more info (see first post).

Ditto, especially logcat obtained right after the crash.

Please submit a full logcat.

AFAIK the "Location" AppOp is somewhat broken, as the location are sometimes handled by "Google Play Services", rather than the requesting app itself. Can't elaborate on technical details, but I'll do some research, time permitting.

The "Keep awake" AppOp was not implemented by google. I might however include a hack in the next version that tries to fix that.

See above for "Keep awake". Regarding GPS location: if I get this correctly, GPS does not work for any app if you disable it for "Google Play Services"? If so, see above for an answer.

I've fixed this in a beta version, will include it in the upcoming version! Are you using 1.17.2? I

thought I had fixed it back then... please submit the Xposed Installer log!

I'll see. Lower priority though!

Regarding 1: this is expected, as there is no AppOp for the internet permission.

Regarding 2: what, in your opinion, is the expected behaviour? The variant only affects which patches are used to get AppOps working, and has nothing to do with style.

On a non-rooted device, AppOpsXposed will provide a launcher icon. This works on non-rooted AOSP ROMs between 4.3 and 4.4.1, but

was disabled by Google in 4.4.2. If a vendor did not include this patch however, AppOps -- as implemented by that vendor -- can still be launched using this simple method. Of course, any fixes done by the Xposed module are not applied.

Yes, this does depend on the ROM itself. I could do something about it in my plugin, but the main goal of AppOpsXposed is exposing the builtin AppOps feature, not adding new features. I might add them (see recent addition of "Startup" section, and upcoming "Keep awake" fix), but these things are low priority.

Hmm. I can't find anything in the logcat... was this captured right after the crash? Please launch "App ops" using the launcher icon

and send another logcat immediately after you get the "Unfortunately, Settings has stopped" dialog.
[Xposed Framework Modules] Anton111111:
Will be very cool if you add ability not only prevent all wakelocks per app, but ability to set list of wakelocks like nlpWakelock for preventing.
[Xposed Framework Modules] chazoke:
First time doing logcat,Hope i am doing it right.
[Xposed Framework Modules] caspase:
Okay... This is a CM11 based ROM, right? Please submit your Xposed Installer logs too! You could try manually setting the variant to "CyanogenMod" in the AppOpsXposed settings for now, maybe that helps! Just noticed that CyanogenMod is detected correctly... will investigate!
[Xposed Framework Modules] caspase:
Disabling the layout fix should get rid of the crash for now. Will include a fix in the next version so this won't be necessary any longer!
[Xposed Framework Modules] caspase:
[MENTION=4702469]boe323[/MENTION], [MENTION=5731996]lostangelintx[/MENTION]

Sorry, I quoted you in my back-from-vacation post, but forgot to answer. What I need to get this working is:

Xposed Installer logs

Full logcat (from immediately after the crash)

Your Settings.apk file (deodexed)

[MENTION=5932260]chazoke[/MENTION]

Your issue should be fixed in 1.18!
[Xposed Framework Modules] caspase:
It adds the "Bootup" section in AppOps, to prevent apps from starting at boot time. But I believe that you tested one of the beta builds a month ago, which already included that hack. Nothing much has changed since then - for now.
[Xposed Framework Modules] caspase:
The vibrate/notification thing is not actually a bug. The thing is that increasing the total number of ops is not that easy, as supporting different ROMs would be much harder than it already is. I might find a way around this, but I can't guarantee anything. The way it is at the moment requires that two permissions be merged, and the numerical value of one of them becomes the new OP_BOOT_COMPLETED op. The following ops should be available on all ROMs (names are fairly self-explanatory):

OP_COARSE_LOCATION
OP_FINE_LOCATION
OP_GPS
OP_VIBRATE
OP_READ_CONTACTS
OP_WRITE_CONTACTS
OP_READ_CALL_LOG
OP_WRITE_CALL_LOG
OP_READ_CALENDAR
OP_WRITE_CALENDAR
OP_WIFI_SCAN
OP_POST_NOTIFICATION
OP_NEIGHBORING_CELLS
OP_CALL_PHONE
OP_READ_SMS
OP_WRITE_SMS
OP_RECEIVE_SMS
OP_RECEIVE_EMERGECY_SMS
OP_RECEIVE_MMS
OP_RECEIVE_WAP_PUSH
OP_SEND_SMS
OP_READ_ICC_SMS
OP_WRITE_ICC_SMS
OP_WRITE_SETTINGS
OP_SYSTEM_ALERT_WINDOW
OP_ACCESS_NOTIFICATIONS
OP_CAMERA
OP_RECORD_AUDIO
OP_PLAY_AUDIO
OP_READ_CLIPBOARD
OP_WRITE_CLIPBOARD
OP_TAKE_MEDIA_BUTTONS
OP_TAKE_AUDIO_FOCUS
OP_AUDIO_MASTER_VOLUME
OP_AUDIO_VOICE_VOLUME
OP_AUDIO_RING_VOLUME
OP_AUDIO_MEDIA_VOLUME
OP_AUDIO_ALARM_VOLUME
OP_AUDIO_NOTIFICATION_VOLUME
OP_AUDIO_BLUETOOTH_VOLUME
OP_WAKE_LOCK
OP_MONITOR_LOCATION
OP_MONITOR_HIGH_POWER_LOCATION

OP_READ_CLIPBOARD and OP_WRITE_CLIPBOARD could be an alternative, not sure yet.

Regarding the other issue, that "Run at startup" still allows an app to launch without user interaction, that's a "feature" of Android. I might change this, but I'm not sure yet if this isn't beyond the scope of AppOpsXposed. In the meantime, you could use ReceiverStop, another Xposed module (not open source though).
[Xposed Framework Modules] BTT8:
Still getting wakelocks from Facebook even though all settings ticked off. Was the wakelock fix suppose to address this in the newest version?
[Xposed Framework Modules] caspase:
It was, but.I.haven't had the time yet to thoroughly test it (it's a "hack" for a good reason). Which method are you using to display the wakelocks? Also, can you submit your Xposed Installer logs please?
[Xposed Framework Modules] lmt125:
I'm not sure how to logs but I took a picture I just installed the latest version didn't have this application installed before. When I open it I get the following screenshot. I'm running ezkat ROM which is 4.4.2 touchwiz ROM for the note 2 t mobile version

I'm on latest xposed

It's as if the app itself is in the background and the settings overlay
[Xposed Framework Modules] caspase:
Can you try setting thr variant to Sony.KitKat in the module settings and see if that changes anything? Also, are you launching AppOps from the launcher icon, or from within the Settings app?
[Xposed Framework Modules] lmt125:
OK I was opening it from the app launcher when I did from settings it works! It doesn't have an icon in settings just like a white triangle so I figured it was that!

Thanks
[Xposed Framework Modules] Anton111111:
It's seems like something is still wrong. My phone again fully discharged at night. And i see that phone was not sleeping again. And i see that google play service nlpWakeLock was not prevented. I attached screenshots.

Also i attached xposed log (error.zip). And i attached logcat (logcat.zip). But logcat have information only from i start phone after it's was disabled after discharge.

What's means the lines like following in logcat? I can't find it in source codes:

08-09 09:43:32.091 W/AppOps ( 1067): Finishing op nesting under-run: uid 10057 pkg com.google.android.gms code 40 time=1404978662475 duration

=4042 nesting=0
[Xposed Framework Modules] BTT8:
I'm using betterbatterystats.

I'll attach the log.
[Xposed Framework Modules] caspase:
These lines come from Android itself, not AppOpsXposed. The class in question is AppOpsService, the function is finishOperationLocked.

The fix is not active by default, as it's experimental. You have to manually enable it in the module's settings (under "Hacks"); your logs look like you didn't activate that hack (don't forget to reboot afterwards).
[Xposed Framework Modules] winamp26:
Hi I install 1.18 on nexus 5 stock 4.4.4

But doesn't show boot in app I'll attach debug log

ظSent from NEXUS5
[Xposed Framework Modules] caspase:
You have to enable it manually (found under "Hacks")!
[Xposed Framework Modules] Anton111111:
Oh ;) i didn't know that appops have settings ;) I turned on WakeLock fix.

I didn't turned on OP_BOOT_COMPLETED. Does WakeLock fix work without OP_BOOT_COMPLETED?
[Xposed Framework Modules] caspase:
Yes. The two are completely separate features!
[Xposed Framework Modules] BTT8:
So I enabled the hack in settings, rebooted but betterbatterystats is still showing wake locks from Facebook. I double checked the settings for Facebook in app opps just to make sure everything was ticked "off". I'll attach another log for ya. Thanks man.
[Xposed Framework Modules] caspase:
According to the logs, at least some wakelocks appear to be blocked successfully:

Do you see these in BetterBatteryStats? It could be that the the wakelocks are in fact blocked, but BBS does not detect this correctly (don't know yet, will check).