yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] Mikanoshi:
No errors now :) Only those logs about classes checking which are useless now I guess.

Change "personalize" anchor to "apps" and shift to 0. It will place AppOps right after Apps.

Add a label to LauncherActivity$Htc, otherwise it's displayed as a package name :)

BTW why $Htc is a subclass of the class it extends?) You can drop static and even extends, it just needs a class name.

Another issue is with back function. If I press AppOpps' actionbar it brings me back to Settings, but if I press Back key it goes straight to the app that was before Settings.

Maybe some flags in launch intent should be changed, I'm not sure.

Last but not least, item needs new icon in Sense 6 style :) Something like this (flat and color 0x6b6b6b):
[Xposed Framework Modules] caspase:
Not quite, as these classes are currently used to determine the ROM variant the module runs on. BTW - Have you tried whether launching

AppOps from the "App info" screen works?

Please try the current APK. It also includes a second header (for testing) which uses a plugLaunchType of fragment. Just curious whether approach works as well :)

Done.
[Xposed Framework Modules] Mikanoshi:
Yes, it works, but has the opposite problem with Back action, key sends back to app details page, but tapping on actionbar leads to Settings... Also it will be better to use flat icon there too)

Fragment works perfectly, even better than activity, problem with back is gone. AppOps is a part of Settings app after all :)

Please use a string resource instead of hardcoded text for activity label, because it looks for labelRes.

Even when forced variant is selected?
[Xposed Framework Modules] bdizzle1686:
I always poke my head In here to check if this has been updated to work with htc, n holy $&¡^

, u guys r working on getting this to actually display app ops in the htc one m7 settings!? NICE, can't wait to see it!
[Xposed Framework Modules] caspase:
Yeah, the hardcoded text was just for testing. Perfect, will use fragment thingy then.

No.

HTC was on "need more info" for the past year, but no-one bothered. But yes, you're in luck! Credit goes to Mikanoshi!
[Xposed Framework Modules] bdizzle1686:
Is the 1.23 beta 2 working? Or should I just wait for the next official release?

GREAT JOB TO BOTH U! And not surprised at all that it was [MENTION=5386198]Mikanoshi[/MENTION] that stepped up to help out getting this working, he seems to know htc one devices inside n out, between his s6TB module and Dark6 theme .
[Xposed Framework Modules] caspase:
I have one final beta (which you may consider stable), if all is well then I'll release it soon.
[Xposed Framework Modules] bdizzle1686:
Thanks a lot ! I couldn't resist so I installed and took a look at the one u guys were testing last night, (1.23 beta 2) and love it! Only problems I saw are what u n mikanoshi already were discussing and Woking on, so great work to both of u again!

---------- Post added at 09:57 AM ---------- Previous post was at 09:22 AM ----------

1.23 Beta 3 looks perfect in setting, but when clicking it, settings force closes
[Xposed Framework Modules] caspase:
The app_ops_summary it inflates should be HTC's, not the one included in AppOpsXposed (if you're using HTC or automatic variant) - even if "Use layout fix" is enabled.

What do you mean by "HTC's class"? Is there something like HtcAppOpsSummary in your APK? If so, can you submit your Settings.apk file?

Hmm... in Beta 2, did you try both items ("AppOps (activity)" and "AppOps (fragment)") in settings (or did you see only one)?
[Xposed Framework Modules] Mikanoshi:
Force variant HTC is selected, everything else is disabled except launcher icon. It should, but it uses class from apk and not from Settings (but BETA 2 was working fine).

AppOps fragment in HTC's Settings is the same: com.android.settings.applications.AppOpsSummary
[Xposed Framework Modules] caspase:
Beta 2 launched AppOps by launching LauncherActivity, which in turn launched the Settings app again, with extras to show the fragment (which is also why the back button thingy didn't work).

The problem appears to be in HtcPluginMetadata, which sets "android.intent.extra.PACKAGE_NAME" to the declaring package name, i.e. at.jclehner.appopsxposed, when using plugLaunchType=fragment (thus NOT launching the version in the Settings app, apparently ).

I'll try to fix this using Xposed, but won't get around to that until tomorrow evening! In the meantime, you (and [MENTION=5966630]bdizzle1686[/MENTION]) could either use Beta 2, or "Compatibility mode" (which uses LauncherActivity -- and AOX' implementation of AppOpsSummary).

Edit: Attached you'll find BETA4!
[Xposed Framework Modules] bdizzle1686:
Here's a pic of settings in beta 2, there's 2 headers, both labeled the Same, and both work when clicked .
[Xposed Framework Modules] caspase:
Hmm... I'm a little confused since I thought that in beta 3 I'm launching AppOps using the same method as in the second (lower) header... Will look into that tomorrow!
[Xposed Framework Modules] Mikanoshi:
BETA4 still FCs with the same error, but in BETA2 both activity and fragment was working.

You could push current code to repo so it will be a lot faster for me to test it and try to find a fix.

You already did))
[Xposed Framework Modules] bdizzle1686:
Same here, just tried beta 4, and settings fc on normal install mode, compatible mode, and still whether u change variant from automatic to htc or not. However it seems on all versions that it works if you launch it from the little icon in top right corner in the individual app sections under manage applications, so it seems like that parts down. Back on Beta2.
[Xposed Framework Modules] Tywins:
I'm trying to figure out how to install this in "compatibility" mode for a Nexus 4 running Lollipop 5.0.1. This is a fresh factory image, rooted using Nexus Root Toolkit. Could someone verify my steps?

adb push AppOpsXposed-1.22.apk /sdcard/Download/

adb shell

su

mount -o remount,rw system

mv /sdcard/Download/AppOpsXposed-1.22.apk /system/app/

chown root:root /system/app/AppOpsXposed-1.22.apk

chmod 644 /system/app/AppOpsXposed-1.22.apk

exit (twice, to get out of ADB shell entirely)

adb reboot

The push/mount/mv/chown dance is required because I can't seem to get `adb remount` to work; keep getting permission denied.
[Xposed Framework Modules] Mikanoshi:
Fixed AppOps launch, fragment title and icon in app details. Pull request.
[Xposed Framework Modules] vip57:
ruined

I have this app and it was working perfectly wothout xposed and without root i don't know how but it was working on my sgs4 stock 4.4.2 rom maybe because it is custom rom

but now when i updated and gave root and installed as system app it is not working !!

can you make the user choose whenever choose to launch the app as root mode or unroot mode
[Xposed Framework Modules] caspase:
When you launch AppOpsXposed on Lollipop, it asks whether to install as system app. I've verified this on my N4 and it works, so just do a simple adb install AppOpsXposed-1.22.apk and launch the app.

Even better! Thanks a ton, will build when I get home!

What did you update? Your ROM or AppOpsXposed? Submit a bug report using the option in the module's settings!
[Xposed Framework Modules] Tywins:
Awesome, will try it tonight when I get home. Thanks! Presumably it will request root access for that operation?

Edit

Success! Just to be clear, I have to launch it from the shortcut? Launching it from there works, I just wasn't sure if I should also see an entry in the Settings menu.
[Xposed Framework Modules] izitlegit:
Nexus 5

4.4.4

Stock Rom

UBER kernel

Can't figure out how to make 1.22zip work w/o xposed. I installed as system app and rebooted

here's the bug report:

https://www.dropbox.com/s/oqj2myq1bj47rqa/bugreport.txt?dl=0

Receiving error (uid 10145 does not have android.permission.GET_APP_OPS_STATS.)
[Xposed Framework Modules] eastitus:
Hi, If I have Xposed installed, can I still install this as a system app? It force closes when I try to do so. ("Unfortunately, AppOpsXposed has stopped")
[Xposed Framework Modules] izitlegit:
make sure you mount as read&write
[Xposed Framework Modules] caspase:
You can, butbsince it has no benefits, only drawbacks, AppOpsXposed does not offer this option if used as an Xposed module!
[Xposed Framework Modules] mikegiord:
Even if AppOps works on my Mi2S, i'm not able to save the configurations made (e.g. keep awake set on OFF, when you open it again is set ON). Any suggestions?
[Xposed Framework Modules] caspase:
Does this happen with "Keep awake" onlu, or others as well? Have you tried "Compatibility mode" yet?
[Xposed Framework Modules] mikegiord:
It happens with all of them, even using compatibility mode! In addition, sometimes the program doesn't find any app to control
[Xposed Framework Modules] Mikanoshi:
I greenified Google Play Services, disabled wake permission using AppOps, disabled CheckinService, but this f*** piece of sh**y software still keeps the device awake with Checkin Handoff wakelock! WTF!

Will try Wakelock Terminator now...
[Xposed Framework Modules] thahim:
What is app ops?
[Xposed Framework Modules] caspase:
Did you enable the wakelock hack? Otherwise, this option does nothing at all!
[Xposed Framework Modules] Mikanoshi:
No) Where is new version BTW?)
[Xposed Framework Modules] lmt125:
How did you greenify google play services it doesn't come up on the list
[Xposed Framework Modules] Mikanoshi:
In App Analyzer there is a menu with only one option - "Show all" - it reveals GPServices. But greenifying it is almost useless.

Many apps use these services and it will wake up all the time. I found out that I haven't used a fix for wakelock blocking in AppOps, so it should work better. Wakelock Terminator was working too.
[Xposed Framework Modules] bdizzle1686:
+1
[Xposed Framework Modules] caspase:
Hmmm... It could be possible that AppOpsManager is broken on MiUi. Which version are you using?

Was on holiday without access to a computer to build the app on. Just released 1.23!
[Xposed Framework Modules] Mikanoshi:
Works perfectly with the hack :good:
[Xposed Framework Modules] godlesplay:
settings of apps moved to sd are resetting after reboot, could you do something with that?
[Xposed Framework Modules] __Michael__:
Can I disable wake permission?
[Xposed Framework Modules] mikegiord:
I'm using sMIUI 4.4.4
[Xposed Framework Modules] wojwem19:
[MENTION=4477302]caspase[/MENTION] First of all I really do love App Ops. I just got one ask to you. Could you implement to yours app ops the option to decide rather I want the app to autostart nor I dont want it to start on the boot. Just like in Lars Team App ops from play store https://play.google.com/store/apps/details?id=com.findsdk.apppermission. I really do miss this feature.
[Xposed Framework Modules] Mikanoshi:
An option to disable output to Xposed log would be nice. Actually it should only be enabled for debugging.
[Xposed Framework Modules] thahim:
[MENTION=4477302]caspase[/MENTION] for a test i took all the permissions from chaton app on my samsung, but it still working properly and is performing all its actions.

mod is also enabled in xposed framework.
[Xposed Framework Modules] godlesplay:
[MENTION=4477302]caspase[/MENTION] I remember that on cm11 I had same problem, but they fixed it, maybe you could look into their source? and could you use their translation too? btw appops icon in settings on my s3 lte is too big
[Xposed Framework Modules] JoshCiares:
Bug!!!

Opening the AppOp Settings from the App Info section, it brought me to what you see in the screenshot.

Device; Samsung Galaxy S5 (SM-G900A)

Version; 4.4.2 (NCE)

App Version; 1.23 (Downloaded straight from Xposed Installer)
[Xposed Framework Modules] xdp:
Thanks so much OP for continuing to work on this app and for enabling access without Xposed. Using Lollipop, App Ops was pretty much the only thing I was really missing from Xposed. I learned it was still available in Lollipop, but as you mentioned in your OP, I wasn't interested in using the couple random closed-source apps available on the Play Store to access it. I figured it was as simple as launching the right intent from a system app so I was going to try to whip it together myself, but I decided to check this thread first and saw you did that right here! Thanks for working on it and for sharing your source.

The App Ops discussion has died down in the community, but I bet a lot of people running Lollipop would still love to use it if they knew they could. Have you submitted your app for discussion to reddit, Android Police, or somewhere else where it can get more attention? I think a lot of Lollipop users out there would probably try it right away once they see they can without Xposed and given that your app is on Github.

I've noticed that denying Location doesn't seem to work. Earlier in the thread you mentioned this might be because it's being handled by Google Play Services and not the requesting app directly. Is this still believed to be the case? Also, has "read/write USB storage" ever been in App Ops? Disappointed that it's not there.

Thanks again!
[Xposed Framework Modules] __Michael__:
After a full wipe i have installed the app and i am getting this when i am getting into the app.

I used the same ROM in the past and the app worked on it.

Device: GT-I9300

Android version 4.4.4

Name and type (stock/custom) of ROM : in the signature

Logs: in the Xposed Installer app there's a "Log" section! A logcat would be even better.

http://www55.zippyshare.com/v/75195097/file.html
[Xposed Framework Modules] caspase:
Okay, I'll look into it. Which ROM?

Yes, if you enable the corresponding hack.

And compatibility mode does the same? Permissions reset to 'allowed'? Only on reboot, or whenever you reopen the app? If only on reboot, is the app installed on sd (not AppOpsXposed, but the one you want to restrict).

Start on boot can be restricted by enabling the corresponding hack. Autostart due to any event is not yet restrictable, but I will consider it.

Will be in the next release.

Define "working properly" and "performing all its actions". Also, which permissions are we talking about exactly?

This is a known bug, but I haven't yet found the cause. Are you launching AppOps from the "Settings" app, or a launcher icon?
[MENTION=4996692]__Michael__[/MENTION] which ROM version worked for you?

Actually, just an Intent is not going to do it. I simply copied the sources of the AOSP settings app, and modified them slightly to embed them in my app. Then there are two permissions {GET,UPDATE}_APP_OPS_STATS which are required to access AppOps, but these are system-apps only, hence the app must be installed as a system app for these permissions to be granted - on Xposed this can be done via a crude hack in PackageManager.[/QUOTE]

No not yet, but seems like a good idea. It's just that I'm not too good at PR ;)

Yes. If an app uses Google Play Services for location access this can't be restricted at the moment. I started digging around a few months ago but hit a dead end and never continued. Might pick it up sometime, if I find the time to do so. Access to USB storage was never part of AppOps, unfortunately.

You're welcome :)
[Xposed Framework Modules] __Michael__:
I tried to launch from the launcher and from the settings , the same issue.

I noticed that i i install the app ops immediately after installing the ROM i getting this issue but when i tried to install the app ops after 2 days after the ROM install the app worked without any issues.

I am using Blekota Note 4 Lite v3.

Thank you :)
[Xposed Framework Modules] caspase:
I've implemented a potential fix. Please try the attached APK and report back.
[Xposed Framework Modules] __Michael__:
Now it works , but i need to try this after a ROM installation.
[Xposed Framework Modules] godlesplay:
samsung galaxy s3 lte 4.4.4 stock rom, btw could you fix size of icon too?
[Xposed Framework Modules] __Michael__:
Just did a full wipe , installed the app and i have got the same issue :(

EDIT:

To solve this installed the app without xposed (like system app) then it worked.
[Xposed Framework Modules] caspase:
This is expected, as the latter doesn't use your "Settings" app at all. When it worked on your device, were you using the "grid" layout in settings, or the "list" layout?
[Xposed Framework Modules] __Michael__:
The List layout.
[Xposed Framework Modules] caspase:
Okay, then this is expected as well, as the issue only affects the "grid" layout atm...
[Xposed Framework Modules] ixdinfinity:
Why does it says "now for 5.0" if lollipop can't run xposed? Can you install the apk on 5.0 or what?
[Xposed Framework Modules] bdizzle1686:
As stated in the OP, yes it ca be used without Xposed. It has option to install as system app, and will then work on its own.
[Xposed Framework Modules] ixdinfinity:
Sorry my bad, read too quickly ;)
[Xposed Framework Modules] lee99:
Hi

On cube u25gt special edition (4.4.2) this module works fine but... On onda v972 with unofficial cm build 10.2 (4.3.1) by christian troy (from sladedroid) i can only open app ops.

If i click on any app settings crashes.

Best regards
[Xposed Framework Modules] ImbaWind:
Got a "Unfortunately, Settings has stopped" message whenever I press anything in AppOps. Logcats are attached.

Using a Oneplus with CM11S btw.
[Xposed Framework Modules] royalh:
I just started playing around with this module and have a question. I searched the thread but didn't find an answer.

Is there a way to restore all the permissions for all of the apps that I have modified using AppOps? Does uninstalling, or disbling the module in Xposed, restore all the permissions? Or do you have to go through every application and try to remember all of the correct permission settings and change them manually?

sorry if this has been answered already, but I didn't find the answers...
[Xposed Framework Modules] puiatmp:
How to install without Xposed

Hey guys... Awesome this apk.

I try to use this with exposed framework, can install, execute the app but none option was saved after change.. Try compatibility mode, hack, etc... and nothing.

I have a z3 compact - stock - 4.4.4 - rooted with cwm

I try to uninstall de appopsexposed and this fail... i can only disable the app at moment.

How to install in system ?? can someone help me ? already uninstall exposed framework too...

Sorry my bad english, regards.
[Xposed Framework Modules] reignzy:
I've come across this too and I know why.

It doesn't work on anything 4.4.3 and above.

Is there a chance it can get updated to work on 4.4.4 please?

I would greatly appreciate it as the permissions apps are requesting are rather intrusive

Thanks in advance
[Xposed Framework Modules] Crono88:
i've a z3 compact (root, stock rom). AppOps work fine (compatibility mode on) except for boot panel where it does not show me which apps are booted.

I'm sending you a bug report.
[Xposed Framework Modules] Rapper_skull:
This module does not work in Xposed mode on Lollipop. The App Ops setting does not show up in the settings and the Settings app crashes when trying to access app info. Here's the log: https://docs.google.com/file/d/0B27-Q3Won2AhQmxsRVNfU2J2d2s/edit?usp=docslist_api
[Xposed Framework Modules] bdizzle1686:
On a vzw HTC one m7, on santods nusense 6 lollipop Rom, when installing as system app, shows up fine in settings, works fine as well...

EDIT: My bad, didn't see u said in Xposed mode...
[Xposed Framework Modules] Zedgor:
Is this app fully working?

On location, messaging and device is stuck on loading, it doesn't show anything in those 3.

Is the same app as: https://play.google.com/store/apps/details?id=com.findsdk.apppermission made by lars team? If yes then those 3 rows still wont work with this one too. Also where is the thread for lars team version, somehow I had it and lost it.:p
[Xposed Framework Modules] eemgee:
It says in the op that the ones on Google play are imposters.
[Xposed Framework Modules] caspase:
Need bug report.

Try disabling "Layout fix" in settings!

In Settings go to the list of installed apps, there should be an option like "Reset app preferences". If not, delete /data/system/appops.xml and reboot.

Are the settings not saved on your device? If so, that's a known bug on some devices, but I don't know yet why and I'm too busy to work on AOX at the moment.

This feature requires the OP_BOOT_COMPLETED hack to be enabled.

Lollipop support in Xposed mode has not yet been tested. Which ROM are you using? From the logs it seems that certain names are missing from your Settings app - maybe it was obfuscated?

The one by lars team is not an impostor, it's simply another aproach at App ops. In fact, AppOpsXposed without Xposed (running as a system app) is pretty much what lars team does. The message in the OP concerned builds of this app (AppOpsXposed) that were placed on Google Play by third parties.
[Xposed Framework Modules] godlesplay:
[MENTION=4477302]caspase[/MENTION] will you fix not saving settings of apps moved to sd card after reboot? and will you use translations from cyangogenmod?
[Xposed Framework Modules] caspase:
Try 1.24 and use the "Don't prune database" hack, that should fix it. Everything else, in the next release.
[Xposed Framework Modules] exodius48:
[MENTION=4477302]caspase[/MENTION] Crash on MIUI 6. Log on attach.
[Xposed Framework Modules] caspase:
Try compatiblity mode!

Need full bug report from AppOpsXposed. Enable verbose logs, reboot, then cause it to crash, the submit full report.
[Xposed Framework Modules] lskater98712:
add

:cool:
[Xposed Framework Modules] diosdiablo:
no funciona en lollipop 5.0.2

Cuando funcionara en lollipop 5.0.2?????
[Xposed Framework Modules] iridaki:
Thank you! But still appears on every tab.

Here is my Settings app: https://www.dropbox.com/s/a8t3ucez7scc06n/SMP600_Settings.zip.

iR¡D@k!* from my Galaxy Note 10.1 2014 via Tapatalk 4
[Xposed Framework Modules] wickdc:
Unable to see the AppOps option in the settings on my rooted stock nexus 4. v4.4. Any thoughts?
[Xposed Framework Modules] caspase:
Which module version? What's in Xposed Installer's "Logs" section?
[Xposed Framework Modules] wickdc:
Module 1.4 downloaded from github. Now noob alert!

I downloaded logcat viewer and then installed the app. I don't see anything in the logs. Can you please let me know how to get the xposed installer log?
[Xposed Framework Modules] caspase:
Well, just open the Xposed Installer and click on logs.... :rolleyes:
[Xposed Framework Modules] xbran7ngx:
thanks!

Thanks ! I will remember this I have been wondering the sane thing :good:
[Xposed Framework Modules] caspase:
[MENTION=426752]iridaki[/MENTION]

I've attached another BETA version that could (I have no way of testing it) fix your issue; regardless of whether it works or not, please post the logs (regardless of whether it works or not).
[Xposed Framework Modules] iridaki:
It worked! And here are the logs: https://www.dropbox.com/s/89rrewywijr7s57/debug.log

iR¡D@k!* from my Galaxy Note 10.1 2014 via Tapatalk 4
[Xposed Framework Modules] caspase:
Excellent! I've uploaded a release-signed version that includes the fix!
[Xposed Framework Modules] gcgspain:
It doesn't seem to work on Xperia z new 4.3 stock Rom, it shows up on settings but nothing happens when pressed.

Enviado desde mi C6603 mediante Tapatalk
[Xposed Framework Modules] juliatan:
Module works great on Nex7/13 running stock KK 4.4.2 and latest Xposed Framework 2.4.1. With AppOps 4.3/4.4 (in app 'native') from Play Store I can open and adjust AppOps-settings. This app also has possibilty to install root version for use without Xposed (I think), but I rather don't to prevent future OTA problems. Which makes this X-module a great solution.

One question. When this module is disabled for instance during OS update transition periods, are the adjusted AppOps-settings still working?

(My gues is yes, but just to be sure I'll ask anyway)