yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] BTT8:
These are the ones I see still.
[Xposed Framework Modules] caspase:
These are alarms, not wakelocks. As opposed to wakelocks, any app can request alarms that cause the device to wake up, without requesting a permission. Alarms can be used to periodically run a certain task (such as checking mails), but they usually cause only short wakeups. A wakelock on the other hand can be used to force your device to stay awake for much longer periods of time!

There's a difference between "Keep awake" and "Wake up to perform a task, then go to sleep again". While both may cause battery drain, it should be significantly higher for wakelocks than alarms. The WAKE_LOCK permission (and by extension the OP_WAKE_LOCK appop) covers only wakelocks.
[Xposed Framework Modules] BTT8:
I see. I was under the impression that App Opps would kill these alarms like the Privacy Guard app that comes built into Roms such as Mahdi rom. I never saw Facebook alarms when i was running PG with Madhi. I switched back to stock as Madhi was too bloated.

Anyways, I thank you for taking your time to help us out. :good:
[Xposed Framework Modules] Anton111111:
I've tested it again with hack is enabled. It's seems like hack works perfect!

How i see method canAcquire has already released ;) We will waiting the following version ;)

And again i have a new idea ;) I don't know how difficult to make it. But you can add ability to setup timeout to prevent wake lock. Something like, prevent wakelock if wake lock lasts for more than a specified time.
[Xposed Framework Modules] Anton111111:
I have a new problem with wakelock prevention. When i enable wakelock prevent google now don't show any cards (weather, news, routing and etc). If i disable wakelock prevention cards shows again. And it happens also when screen is enabled. May be don't prevent wakelocks when screen is on ?
[Xposed Framework Modules] tryptophane:
Hi,

sorry if this has already been asked before, but is there a way to list all apps which were edited with AppOps? I mean, I play a lot with this feature, and I can't always remember all the things that I have done...

Thanx for this usefull module!
[Xposed Framework Modules] Ritchiejoe:
I'm just wanting to make sure I understand this app, I'm trying to avoid wakelocks etc..... when I turn "facebook Keep awake" off will this permanently revoke it's ability to keep my phone awake?

Sounds like A very stupid question I know, just want to make sure before I go fiddling with things :p
[Xposed Framework Modules] caspase:
I'm assuming that's because Google Now fetches that info asynchronously in the background, using a wakelock for this task. Disable the wakelock -> Boom, no more updates in the background! There's a reason why wakelocks exist, and there's a reason why things won't work the way they used to when you disable them.

Not yet (in the future maybe).

Yes and no. It will prevent long running tasks from keeping your device awake, but it'll still wake up for short periods of time to process alarms.
[Xposed Framework Modules] migidid:
App works almost perfect, I can access it from settings but it just loads and loads in any tab and never show anything... I can disable permissions from app info screen now so no problem! Ive been looking for something like this, awesome job!
[Xposed Framework Modules] Exinus:
Samsung Galaxy S II

Android 4.4.2

WizzedKat 3.3 Rom

Error Log no Entries.

Parsing Error. No installation possible.
[Xposed Framework Modules] Anton111111:
How about disable preventing of wakelock if screen turned on
[Xposed Framework Modules] caspase:
The thing is, your device is awake whenever the screen is on, meaning that a disabled wakelock has no effect upon your device at this point. I'm assuming Google Now uses a mechanism that periodically wakes up the device to check for updates. This happens when you're not using your device, i.e. when it's asleep. Fetching the data might take some time so GN requests a wakelock, but since it's disabled, the job never finishes, as your device is forced back to sleep. The user interface you launch then just checks the data it believes was downloaded in the background, but it's not available, so it displays nothing. The developers of Google Now expected wakelocks to be available, so they made no attempt to handle the situation when this isn't the case.

I'll quote myself again

---

This might be fixed in the next release. Logs would be great though!

I need a logcat!
[Xposed Framework Modules] SaZh047:
Location

Hi,

How comes, all i can see when go in App Ops is the location that i can allow or not?
[Xposed Framework Modules] caspase:
Seeing as you're providing me with almost no info: I have no f*cking clue! Read the original post about reporting bugs.
[Xposed Framework Modules] Ritchiejoe:
[MENTION=4477302]caspase[/MENTION]

Every time I open the app on my nexus 7 no options show ? I am on Paranoid Android 4.4 if that helps

Thanks in advance
[Xposed Framework Modules] Ritchiejoe:
I fixed it :)
[Xposed Framework Modules] chicks0315:
LG G3 is supported ?
[Xposed Framework Modules] FastKatt317:
I was just going to ask the same question...

The screen flips around, but AppOpps doesn't open up
[Xposed Framework Modules] caspase:
It appears that you didn't read the section "Read before you post" before you posted. Download v1.19 and submit the bug report file!
[Xposed Framework Modules] FastKatt317:
You're correct, I'll give it a go. But I don't see the version number you listed?

Sent from my LG G3
[Xposed Framework Modules] shaggyskunk:
That's because you have to scroll to the right - Settings - Versions to be shown - Change to Beta ?

http://slimroms.net/index.php/faqandmanual/slimbean/120-kitkat
[Xposed Framework Modules] caspase:
Nope, just hit "refresh", and 1.19 should pop up (it's not a beta!)
[Xposed Framework Modules] shaggyskunk:
Yeah - I saw that it wasn't a beta once I selected versions and beta - but I guess that just refreshed available versions as well :

http://slimroms.net/index.php/faqandmanual/slimbean/120-kitkat
[Xposed Framework Modules] NWS:
On LG G3 you have to switch the settings menu to "List View" before launching appops. It's not perfect but at least it works.
[Xposed Framework Modules] woody4165:
Launcher icon does not show

Hi

I'm using this module and I think it's very useful.

I am experiencing an issue.

Even if I have the launcher icon option checked, I don't see the icon in the launcher. I use Nova, but I tried also with the stock GEL.

I have it in the settings.

What can I try to solve it?

Thanks

Woody
[Xposed Framework Modules] FastKatt317:
Nailed it!

Thanks for the info =)
[Xposed Framework Modules] Blumarine:
Please support for android 4.2.2! it's important for me thank you developer! Please!!
[Xposed Framework Modules] caspase:
That's odd... The icon should be visible by default when you install AppOpsXposed... Using Nova myself, and it works perfectly. Are you sure it's not there?

Not going to happen. Read the first post for an explanation!

[MENTION=2706142]FastKatt317[/MENTION], [MENTION=1324489]NWS[/MENTION], [MENTION=4430731]chicks0315[/MENTION]

Do you happen to have a deodexed version of LGSettings.apk that you could share with me?
[Xposed Framework Modules] FastKatt317:
I'm stock rooted, but if you tell me how to get what you need... I'll try?

Sent from my LG G3
[Xposed Framework Modules] migidid:
Update 1.19 fixed all the bugs I experienced it is perfect now! Great job dev!
[Xposed Framework Modules] caspase:
It's okay, I already have the APK file. Now I just need to know which setting it was exactly that you had to change to make it work...

Awesome! So the never-ending spinning wheel in the main AppOps screen is fixed now?
[Xposed Framework Modules] migidid:
Yes now works and its fast! Confirmed working on Z1 and Z2 perfectly!
[Xposed Framework Modules] FastKatt317:
This can't be in "Tab View"

Sent from my LG G3
[Xposed Framework Modules] caspase:
Yes, as the Settings menu icon uses the icon from "Manage apps" (or "Installed apps", "Apps").

[MENTION=1324489]NWS[/MENTION], [MENTION=4430731]chicks0315[/MENTION] I've attached a new APK that should theoretically work on your LG G3 devices in both tab and list view. Please verify and report back!
[Xposed Framework Modules] FastKatt317:
Different locations in the list. Different icons. But yes, it's working from both views now. Thanks! =)

Sent from my LG G3
[Xposed Framework Modules] caspase:
The differing location is intentional: in the list view, it's placed in the "Personal" section (as is the case on Stock Android), in the tabbed view it's under the "General" tab right below the "Manage apps" option (in line with other vendors such as Samsung's tabbed "Settings" app).
[Xposed Framework Modules] thereassaad:
I tested on my note 2 rom dn3 & why this look thats
[Xposed Framework Modules] caspase:
I thought I'd fixed that by now, but it appears I'm mistaken... Please submit a bug report (see first post on how to do that).
[Xposed Framework Modules] thereassaad:
I use v1.20 beta1 on op v1.19 ???
[Xposed Framework Modules] caspase:
That beta version was just a test for users having issues on LG ROMs, and is not yet fully stable. Should make no difference on your Samsung though.
[Xposed Framework Modules] donsultan:
Works perfectly, thanks a lot.

Device: LG G3 D85510i

ROM: Stock Rooted
[Xposed Framework Modules] Brutal_Master:
1.20 beta1 wont' install over v1.19 ? Never had this issue before with this module and i've updated it several times.....
[Xposed Framework Modules] shaggyskunk:
Maybe with a clean flash - factory reset etc?

http://slimroms.net/index.php/faqandmanual/slimbean/120-kitkat
[Xposed Framework Modules] Brutal_Master:
Nope only this module is going this, the others i have are all updating fine. It's like the version in the repository is corrupt or something. I thought a saw an MD5 error popup for a split second?
[Xposed Framework Modules] shaggyskunk:
Yeah - This is the only module that won't install for me - In the Description of the update - it refers to LG roms.... I'm on a Samsung Galaxy Note 3.... Don't know if that's why?

http://slimroms.net/index.php/faqandmanual/slimbean/120-kitkat
[Xposed Framework Modules] Taomyn:
Is this why?

09-26 00:14:32.346 I/ActivityManager( 819): START u0 {dat=file:///data/user/0/com.android.providers.downloads/cache/at.jclehner.appopsxposed_v11201_3727c5.apk cmp=com.android.packageinstaller/.InstallAppProgress (has extras)} from pid 14775

09-26 00:14:32.366 W/InstallAppProgress(14775): Replacing package:at.jclehner.appopsxposed

09-26 00:14:32.376 W/ActivityManager( 819): No content provider found for permission revoke: file:///data/user/0/com.android.providers.downloads/cache/at.jclehner.appopsxposed_v11201_3727c5.apk

09-26 00:14:32.376 W/PackageManager( 819): Can't install update of at.jclehner.appopsxposed update version 11201 is older than installed version 11900

09-26 00:14:32.406 I/ActivityManager( 819): Displayed com.android.packageinstaller/.InstallAppProgress: +53ms

09-26 00:14:32.526 D/dalvikvm( 819): GC_EXPLICIT freed 1913K, 18% free 68203K/83084K, paused 3ms+7ms, total 150ms

09-26 00:14:32.546 D/dalvikvm(14775): GC_FOR_ALLOC freed 620K, 4% free 21126K/21976K, paused 17ms, total 17ms

09-26 00:14:32.546 D/InstallAppProgress(14775): Installation error code: -25

09-26 00:14:33.836 I/InstallAppProgress(14775): Finished installing at.jclehner.appopsxposed

Seems the version number is screwed.
[Xposed Framework Modules] caspase:
Sorry folks, yeah the version number was messed up, so it appeared as if it was a downgrade to 1.12.1 instead of an upgrade to 1.20.1; 1.20.2 should fix that issue!
[Xposed Framework Modules] shaggyskunk:
Thanks - That did it :)

http://slimroms.net/index.php/faqandmanual/slimbean/120-kitkat
[Xposed Framework Modules] neonlite:
getting these errors after updating from 1.19 to the latest 1.20.2 version.

tried uninstalling, reinstalling. clearing google play store cache, google services cache. no luck whatsoever.

with every reboot, it is coming back.

whats going on?
[Xposed Framework Modules] caspase:
Next time you see this dialog, submit a bug report as described in the first post. Also, have you tried disabling the various hacks (they are named hacks for a good reason)?
[Xposed Framework Modules] neonlite:
good one. yes unchecked all xposed mods, rebooted. same error messages. see appsops log attached.

https://www.dropbox.com/s/drv75pb7merarqx/report_78db3ebc70c6_20140927113342.txt?dl=0
[Xposed Framework Modules] hasnogames:
Icon in LG G2 settings (list view) is bigger than is should be.
[Xposed Framework Modules] volume25:
i don't know if this helps i had the same message (google process locations has stopped) but it was the Xposed] Disable Google Location consent module. I disable it and it stopped
[Xposed Framework Modules] caspase:
From the logs it's not really obvious to me, where that crash comes from. You say that you disabled all xposed modules, and the error still occurs? If so, can you submit a report from a boot with no xposed modules enabled?

You could also try resetting AppOps (in the "Apps" section of your Settings app, there should be an option to "reset app preferences"; alternately you could delete /data/system/appops.xml).
[Xposed Framework Modules] neonlite:
did a clear data for appsops and reneabling xposed mods one by one. the culprit was the xposed mod 'disable location consent'. it's not appsops. sry for the trouble.
[Xposed Framework Modules] ares.:
I'm sorry about that question

but i cannot find appops in setting, I'm using galaxy tab s Rooted
[Xposed Framework Modules] kingbeta:
I'm getting random reboots, and after isolating it looks like app ops xposed is the culprit. Is it possible I've restricted something important? Do the changes made in app ops persist after the module is disabled? And how could I revert these changes?
[Xposed Framework Modules] caspase:
First off: did you enable anything listed under the Hacks section? If so, disable everything and see if the random reboots persist.

Yes, they persist, since the AppOps feature is already built into your ROM; this module only makes it accessible. To reset all changes there are two possibilities:

1. In your settings app go to the list of installed apps; there should be a "Reset app preferences" option or similar.

2. Delete /data/system/appops.xml.
[Xposed Framework Modules] kingbeta:
Thanks for your reply. Nothing is enabled in the hacks section. I use force variant 'Sony.kitkat' and layout fix on or off. This displays app ops correctly, but I do still get occasional FCs of settings with and without the layout fix. If I enable failsafe mode, I cannot open app ops at all.

Are there any issues or incompatibilities that can cause reboots just from having the module installed, perhaps conflicting with something else (e.g. in the ROM), or must it be something I've disabled in app ops that's causing the reboots? I'll try wiping the settings and see if that helps.
[Xposed Framework Modules] caspase:
I'd need a bug report (captured after an FC of "Settings") to assess this.

Not from the module itself, but if you used AppOps to limit another app's functionality, these changes will continue to be applied even if the module is disabled. While AppOps was designed not to crash an app if it tries to access a feature that was disabled, certain situations could still lead to a crash (or the app behaving erratically).

Try to reset AppOps and report back!
[Xposed Framework Modules] kingbeta:
So far so good; I've had several hours with no reboots. Currently running app ops reset to defaults.

Is there a way I can quickly find all apps for which permissions have been changed, to help fix problems like this? Would that be easier to do by manually editing appops.xml?
[Xposed Framework Modules] caspase:
Not at the moment, but this feature has already been requested, so I'll consider implementing in an upcoming version.
[Xposed Framework Modules] kingbeta:
After re enabling app ops xposed and restricting some apps, the random reboots returned. Is there any way to troubleshoot these, besides restricting one by one? I was only restricting the boot permission, but I have several apps I wanted to restrict, and the reboots happen every few hours, so troubleshooting one by one would take a long time.
[Xposed Framework Modules] dasojie:
asking about hacks experimental features

need more info about

enable OP_Boot_completed and Fix Op_wake_lock

regards
[Xposed Framework Modules] caspase:
It's hard to say, but random reboots usually occur when a system component fails.

Are you using AppOps for critical system apps, such as "Android System"?

Are you using any hacks at the moment? Hacks interfere with system components and may cause random reboots.

Use the search function.

Need detailed bug report as described in original post.
[Xposed Framework Modules] kentandrei:
sir caspase what's the difference between this AppOpsXposed and AppOpsStarter? because im on echoe rom (s4 GT-I9505) and it has appopsstarter. but the AppOpsStarter is not in the module of xposed i think its just a system app. and lastly sir, which one is better to use? AppOpsXposed or AppOpsStarter?
[Xposed Framework Modules] kingbeta:
No, I only changed the permissions for user apps.

What kind of hacks are you referring to? The reboots only happen when using AppOps.
[Xposed Framework Modules] caspase:
Read the original post.

Anything listed under the AppOpsXposed "Hacks" section (currently "Add OP_BOOT_COMPLETED" and "Fix OP_WAKE_LOCK").

You mean the phone reboots randomly while you're in the AppOps interface or simply when having the module enabled?
[Xposed Framework Modules] alexandre.dumat:
wiko darkmoon not supported

Hi, i got a wiko Darkmoon android 4.2.2, and it does not even recognise your module to be a valid apk (either downloaded from the XDA or your github)

Is there any solution ?

i rooted my phone for the only purpose of using this moduel :(
[Xposed Framework Modules] caspase:
That's because it only supports 4.3 and above. Read the original post!
[Xposed Framework Modules] legiong:
I'm another Galaxy Tab S user who can't find app ops in settings.

I've installed the framework, rebooted, installed app ops module, rebooted again and there's no app ops on the general tab of settings.

I'm on a rooted stock rom T700.
[Xposed Framework Modules] A0_o:
Not compability with galaxy Note 4 Settings layout
[Xposed Framework Modules] ericsmart:
why icon is huge in setting? running LG g3
[Xposed Framework Modules] aussiebum:
AppOpsXposed does not draw correctly on Galaxy Note 4

Device: Galaxy Note 4 SM-N910G

Android version: 4.4.4

ROM: Stock N910GDTU1ANJ3 (rooted)

See attached logcat (trimmed a bit to reduce log noise) for Settings crash after clicking on AppOps icon in a app's App Info view. This occurs when the Settings app is set to View As "Tab".

When the Settings app is set to View As "List" (the default), clicking the AppOps icon in the App Info view of an app causes it to render underneath the Settings list (see screenshot) - the toggles are not selectable.

Thanks
[Xposed Framework Modules] Temetka:
Just wanted to say thanks for this. It is working great on your 2012 Note 10.1 running Gnabo ROM.
[Xposed Framework Modules] surya_mca:
+1
[Xposed Framework Modules] caspase:
Please try "Compatibility mode" in 1.21 for now (must use launcher icon though).

Should be fixed in 1.21!
[Xposed Framework Modules] aussiebum:
Doesn't help. After launching AppOps from the launcher icon, it shows the "loading" screen for a long time and then crashes ("AppOps has stopped").

Accessing AppOps via the icon in the main Settings page works, but that was working even without the Compatibility mode in 1.20.1.

Accessing AppOps through the App Info shortcut in an app's App Info page still causes Settings to crash, and requires a reboot to stop Settings from crashing when trying to access the Device Security settings page.
[Xposed Framework Modules] caspase:
Yeah, just noticed that I forgot to enable the hack that makes compatibility mode work in the release builds. Please try 1.21.1!
[Xposed Framework Modules] aussiebum:
Launcher icon loads now, thanks.

If possible would like to have the AppOps shortcut in the App Info screen fixed since that's the one I use most.

Would it be much work to get that shortcut to load an app's permission toggles in compatibility mode instead of trying to draw the toggles in Settings?
[Xposed Framework Modules] Rix70:
Hi guys, good mod.

Working on viper one?

Thanks in advanced for the support.

Edit: sorry guys, I searching the icon in system and have not found.

But now I have found it in app drawer ??

However thanks for the module!!
[Xposed Framework Modules] kotey:
Icon mod suggestion

On some devices with light theme (asus, lenovo, etc) the AppOps icon is white on white background which equals none :)

I'm suggesting a simple change for the icon, eg thin black (or anything) borders around the original icon.

Nothing critical anyways...
[Xposed Framework Modules] abs0lut3z33r0:
Is there an article explaining all types of android permissions , searched it couldnt find one with detailed explaination
[Xposed Framework Modules] caspase:
Really? http://goo.gl/l31by1
[Xposed Framework Modules] abs0lut3z33r0:
Really because this is not seoed http://developer.android.com/reference/android/Manifest.permission.html
[Xposed Framework Modules] Mikanoshi:
Is there a way to disable debug without recompiling? Hundreds of error messages in Xposed log makes module unusable for me on HTC One M7 (AppOpsXposed fails to add icon or item or what- it-adds-there to Settings).

Also you don't need to hook at all to add something to HTC Settings app, it has another method to do so. Just create a separate activity (so it could be enabled/disabled via PackageManager.setComponentEnabledSetting() to show/hide an item) and add this category and metadata to it:

<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="com.htc.settings.category.PLUGIN_ENTRY" />
</intent-filter>
<meta-data android:name="plugAnchorItem" android:value="personalize"/>
<meta-data android:name="plugAnchorShift" android:value="-1.0"/>
<meta-data android:name="plugLaunchType" android:value="activity"/>
<meta-data android:name="plugLaunchTarget" android:value="intent:#Intent;component=at.jclehner.appopsxposed/.LauncherActivity;end"/>

Anchor names can be found in com.android.settings.framework.activity.HtcWrapHeaderInfo, shift defines where to put your item relative to specified anchor.

You can also hook into Apps fragment (com.android.settings.applications.ManageApplicationsFragment) and add your item to dropdown menu there (methods onCreateOptionsMenu, onOptionsItemSelected and updateOptionsMenu).
[Xposed Framework Modules] caspase:
Not sure what you mean by "seoed", but the link I gave you should have enough info about Android permissions (unless your interested in (app) ops).

Awesome! Thank you for your input, as mentioned in the original post I have no way of testing the module on other ROMs, and so far noone with an HTC ROM has bothered to give me enough info to fix it. I'll put this in the next release!

There's no way to disable debug logs for now, so I'd recommend you either try to enable failsafe mode or set "Force variant" to AOSP.
[Xposed Framework Modules] Mikanoshi:
Failsafe gives the same amount of errors, as well as AOSP :) Because there is no such method as com.android.settings.Settings.isValidFragment, HTC moved it to com.android.settings.ClassicSettings.isValidFragment.

Doesn't matter anyway, metadata is the way to go, it's working on any Sense ROM.
[Xposed Framework Modules] caspase:
Please try the attached APK!