XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more

AOSP 5.1 Lollipop for Nexus Q

Google Nexus Q is an intriguing device released with Android 4.0 Ice Cream Sandwich. It was abandoned by … more

XDA Picks: Best Apps of the Week (Apr 17 – 24)

Apps are at the front and center of any smartphone experience, and with over a … more
Post Reply Subscribe to Thread Email Thread

[Xposed][MOD][1.25.3] AppOpsXposed - AppOps for 4.3+

11th December 2013, 11:09 AM |#1  
caspase's Avatar
OP Senior Member
Thanks Meter: 237
The version offered on Google Play is neither endorsed nor supported by me. Support requests will only be honored for versions downloaded from XDA, (my) github or the Xposed Modules Repository.

AppOpsXposed is a module for the Xposed framework that restores AppOps functionality on Android >= 4.4.2, and also adds
"App ops" in the ROM's "Settings" app for Android 4.3+. Why not just install XPrivacy? you may ask - read this post.

Source code is available on github (License: GPLv3+)

1.25 sucks!

Don't use 1.25 if you're not experiencing any problems! Use 1.23 or 1.24 instead, especially if you're still on KitKat!

Version 1.25 is a quick fix for several issues with Lollipop ROMs. Currently, the module does *not* provide an option to launch
from within the settings app ("App info" works though), so you'll have to use the launcher icon. Hacks should work now.

There is still a lot to be done, but as I wrote previously, I'm quite busy at the moment, so you'll have to be patient! Also, if you want
the mod to improve, you must, must must supply full bug reports!


Prior to 1.21, AppOpsXposed simply exposed the AppOps feature hidden in your ROMs "Settings" app. AppOpsXposed 1.1 was
a quick-n'-dirty fix hacked together in an hour that restored AppOps functionality for AOSP ROMs. Over time, I added support for
an increasing number of ROMs, which at times proved to be difficult since I have no way to test a Samsung/HTC/whatever ROM (my only device is a Nexus 4).

In the last few months, my time to work on AppOpsXposed has been limited, so I've come up with a new method (aka "Compatibility mode"): instead of simply exposing the (often broken) implementation of AppOps in a ROMs settings app, I've extracted the AOSP AppOps implementation from the AOSP settings app, which has the benefit that bugs are much easier to fix, plus I don't have to worry about different ROMs.

While 1.21 required Xposed to get the neccessary permissions for "Compatibility mode" to work, 1.22 allows AppOpsXposed to be used without Xposed - you can actually use it on Android 5.0 - by simply adding an option to install it as a system app. The downside of this method is that the various hacks will not work.

This raises the question whether AppOpsXposed is still neccessary, since this approach has been used by others already: one example being this, but also other apps in the Play Store. The only thing setting AppOpsXposed's "Compatibility mode" apart is that it's open-source, so if you're paranoid about non-open-source apps that require root, that's a plus.


(when not using "Compatibility mode")

As the name implies, AppOpsXposed primarily exposes (i.e. enables) the builtin (but disabled) AppOps functionality as implemented by your ROM vendor/developer. AppOps consists of two parts: the interface you see, and the framework that does the real work.

This means that:
  • Your ROM's implementation might be incomplete, or broken
  • Your ROM's implementation might differ in functionality, compared to other ROMs
  • The module's primary task is to get the builtin AppOps interface working
  • The module's secondary task is to fix serious errors in your ROM vendor's AppOps framework that would otherwise severely limit the AppOps feature.
  • Everything else (e.g. adding new features, especially to the framework part) is low priority stuff.
  • I will not reinvent the wheel that is XPrivacy. If you need more fine-grained control, or more features, you're better of with that than AppOpsXposed!


It might seem stupid, but before reporting a crash please try the following: uninstall AppOpsXposed, reinstall it, re-enable it in the Xposed Installer, reboot. I'm not quite sure as to why it helps, but sometimes it does.

If "App ops" doesn't show up in your Settings app, I'm gonna need its APK file! Don't just say "It crashes on device XYZ" - usually this kind of information is of no help at all. Starting with version 1.19, AppOpsXposed includes a simple bug report feature. Simply go to the module's settings and select "Build bug report", then send the created file via email (or upload it to Dropbox/Google Drive/whatever and post a link):

Click image for larger version

Name:	Screenshot_2014-09-06-15-35-35.png
Views:	16731
Size:	82.5 KB
ID:	2926840Click image for larger version

Name:	Screenshot_2014-09-06-15-35-43.png
Views:	17008
Size:	94.7 KB
ID:	2926841

Post AT LEAST the following info:
  • Device,
  • Android version (4.3, 4.4, etc.)
  • Name and type (stock/custom) of ROM
  • Logs: in the Xposed Installer app there's a "Log" section! A logcat would be even better.


***** When upgrading from a version before 1.12, uninstall AppOpsXposed first before installing this version; otherwise, the update will fail!*****

* Multiple fixes for Lollipop

* Add option to disable verbose logs
* Potential fix for LG icon issue
* Potential fix for Samsung GridSettings bug
* Add hack to fix ops resetting on reboot if
installed on SD.

* Finally got the HTC variant working
(thanks to @Mikanoshi)
* Fixed some system-app-install issues
* Bugfixes

* AppOpsXposed now works without Xposed, by installing
as a system-app.
* Add new ops for Lollipop (compatibility mode)
* When enabled, use compatibility mode when launching
from settings app as well

* Fix compatibility mode

* Added new compatibility mode (BETA)
* Fix crash on LG ROMs
* Attempted to fix wrong icon size on some ROMs
* WakeLock hack disabled on JellyBean for now

* Fixed version number (updates should work now)

* Fixed compatibility with some LG ROMs
* Fixed WakeLockFix (JellyBean currently broken)
* Updated icon in settings for non-AOSP ROMs

- Fixed some issues in Samsung ROMs
- Fixed issue in detection of CyanogenMod-based ROMs
- Added bug report functionality

* Added OP_BOOT_COMPLETED hack (must be enabled manually under "Hacks")
* Added WakeLock fix (must be enabled manually under "Hacks")
* Fixed crashes in CyanogenMod-based ROMs
* Now using a dedicated icon in Settings (thanks @Kickinpigeons)
* Added Spanish translation (thanks @Jose Artuņedo)

- Xperia only: more human readable info (e.g. "Run at start-up" vs "BOOT_COMPLETED")

- Fixed compatibility with Galaxy S5 settings app (grid layout)
- Fixed crash on Xperia KitKat ROMs

- Added OmniROM variant (no header in settings, only icon in "App info")
- Added variant for Sony KitKat ROMs with a switch in AppOps, as opposed to the drop-down menu found in 4.3 ROMs

- Fix crashes on Android 4.3

- Added module-specific settings (click module name in Xposed Installer's "Module" section)
- Launcher icon can now be hidden
- Added Korean translation by sdkoongchi@github

- This release should fix further crashes on recent cn11 nightlies

- Attempted to fix issues on recent cm11 nightlies - again
- Added Japanese translation (WedyDQ10@github)

- Hopefully fixed crashes on Xperia devices
- For now, on CM11 nightlies >= 2014-01-28 almost all features are disabled. AppOps can be launched via the launcher icon only.

- Fixed layout issue on Xperia ROMs.

- Hopefully fix crash on Sony stock ROMs

- On Android 4.3, AppOpsXposed now works as a launcher even if the Xposed Framework is not installed
- Fixed issue where AppOps could not be started from "App info"

- AppOpsXposed is now compatible with Sony Xperia devices
- Fixed AppOps details layout for languages where strings were much longer than in English
- Fixed error where AppOps could not be launched from "App info"
- "App info" now uses AppOpsXposed's icon instead of text
- Better detection of Stock vs. AOSP ROMs
- Added 63 translations of "App ops"
- New icon

- AppOps for a specific app can now also be launched from the "App info" page of an app
- The module should now work correctly on Sony (Xperia) devices

- Added launcher icon for ROMs where there's no icon in Settings
- Reverted sorting in AppOps to default for now
- Potential fix for HTC devices

- Sort entries in App ops alphabetically.

- Another attempt at fixing Samsung-related issues. "App ops" should now be listed below "Apps", wherever "Apps" may be
on your device.

- On Samsung devices with a tabbed interface in "Settings", "App ops" should now be displayed in the "General" tab only.

- Should fix issue where "App ops" was shown more than once in "Settings"

- Fixed Android 4.3 compatibility

- No longer allow module to be installed on Android versions before 4.3

- Add "App ops" in Settings app; thirdparty AppOps-launcher no longer required!


Click image for larger version

Name:	header.png
Views:	29050
Size:	109.9 KB
ID:	2495854Click image for larger version

Name:	appinfo.png
Views:	25330
Size:	123.4 KB
ID:	2495853

Demonstration of fixed layout in AppOpsDetails: left is with AppOpsXposed, right is without.
Click image for larger version

Name:	russian_ok.png
Views:	22660
Size:	137.2 KB
ID:	2499124Click image for larger version

Name:	russian_broken.png
Views:	20743
Size:	63.7 KB
ID:	2499125

>>> DOWNLOAD LINK (github) <<<
Attached Files
File Type: apk AppOpsXposed-1.23.apk - [Click for QR Code] (480.1 KB, 2706 views)
File Type: apk AppOpsXposed-1.24.apk - [Click for QR Code] (486.4 KB, 862 views)
File Type: apk AppOpsXposed-1.25.3.apk - [Click for QR Code] (486.5 KB, 994 views)
Last edited by caspase; 1st March 2015 at 11:18 PM.
The Following 123 Users Say Thank You to caspase For This Useful Post: [ View ]
11th December 2013, 01:02 PM |#2  
Junior Member
Thanks Meter: 1
Originally Posted by caspase

AppOpsXposed is a quick-'n-dirty module for the Xposed framework that restores the AppOps functionality on Android 4.4.2. The module enables the :android:show_fragment hack used by many AppOps-launching apps on KitKat and also adds "App ops" in the native android Settings app.


- Add "App ops" in Settings app; thirdparty AppOps-launcher no longer required!

Source code is available on github (can't post link though).

Is root required ?
Last edited by dive3000; 11th December 2013 at 01:10 PM.
The Following User Says Thank You to dive3000 For This Useful Post: [ View ]
11th December 2013, 01:53 PM |#3  
caspase's Avatar
OP Senior Member
Thanks Meter: 237
Originally Posted by dive3000

Is root required ?

It requires the Xposed Framewoek, so yes!
The Following User Says Thank You to caspase For This Useful Post: [ View ]
11th December 2013, 03:36 PM |#4  
Thanks Meter: 4
Originally Posted by caspase

It requires the Xposed Framewoek, so yes!

Fancy uploading it to the repo at ?
11th December 2013, 05:08 PM |#5  
CruxHumanus's Avatar
Senior Member
Thanks Meter: 46
Great job, thank you!
11th December 2013, 07:31 PM |#6  
stfudude's Avatar
Senior Member
Flag Egypt
Thanks Meter: 304
The module itself doesn't need root right?

Sent from my Nexus 7 using Tapatalk 4
11th December 2013, 08:39 PM |#7  
caspase's Avatar
OP Senior Member
Thanks Meter: 237
Originally Posted by drewstiff

Fancy uploading it to the repo at ... ?

Done, can't post link though, need 10 posts first

Originally Posted by stfudude

The module itself doesn't need root right?

Nope, but it's useless w/o root since Xposed Framework needs root. The source is available on github (link
11th December 2013, 10:16 PM |#8  
Psychosi42's Avatar
Flag Kansas City
Thanks Meter: 24
Works perfectly for me ... and I love that you added the AppOps to the settings menu thank you much!
12th December 2013, 02:43 AM |#9  
tariq2kn's Avatar
Senior Member
Thanks Meter: 122
Please add support for 4.3 S3.
Where is it shown in settings?
Last edited by tariq2kn; 12th December 2013 at 02:48 AM.
12th December 2013, 07:41 AM |#10  
caspase's Avatar
OP Senior Member
Thanks Meter: 237
Originally Posted by tariq2kn

Please add support for 4.3 S3.
Where is it shown in settings?

It should be shown in the "Personal" section, or the very last entry in Settings.

To add proper support for devices not running stock Android I need the Settings.apk file, since the module's design is very implementation-specific.

Sent from my Nexus 4 using xda app-developers app
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes