[JB][P] AppOpsXposed Re 1.30.6 - Now with EdXposed support!

Search This thread

v0ne

Senior Member
Jun 19, 2015
293
136
Redmi Note 10 Pro
Regarding your second question, YES!
The fresh new 1.30.6 version supports Android 9.0 Pie and EdXposed.

I managed to make it work by separating resource hooking related stuff to a second module and made it optional for other functionality.
Simple? Absolutely. Clever? Maybe. AppOps? Xposed.Sorry :/

This is great. Thank you :good:
 

v0ne

Senior Member
Jun 19, 2015
293
136
Redmi Note 10 Pro
To be honest I've never heard of AppOpsX. The two applications work completely different under the hood.
There is stuff non-Xposed apps can't do, like adding a shortcut to AppOps on the app details activity.

Regarding your second question, YES!
The fresh new 1.30.6 version supports Android 9.0 Pie and EdXposed.

I managed to make it work by separating resource hooking related stuff to a second module and made it optional for other functionality.
Simple? Absolutely. Clever? Maybe. AppOps? Xposed.Sorry :/

Any alternative solution for this (refer to ss) aside from installing as system app? Im using galaxy note 8 with oneui. Thanks
 

toBsucht Psp

Senior Member
Nov 11, 2014
141
24
Quote:
Originally Posted by toBsucht Psp
Now i see modul can block "write system" e.g. it can denin on playstore / service but some apps still
change system ( force app to run in backround) after install an update.
So if an app has no permission to write system how it can change settings even if i denin playstore & service permisson to change system?

What settings is the app changing after you disabled the permission?

It was a system app which "stop app in backround" similar to stamina mode. It was called Duraspeed (android 7). Now i updated to android 8 and no app switch on enable run in backround. Not sure how much related to Oreo or update of the mangament application which is now called Cubot powermaster.
However after reading your reply i checked again if one of thoses apps are still running in backround. Sadly it seems to be "xposed prevent running" do not work as well as befor system update. So i maybe retry additional greenify which did a good job on android 6 :cyclops:

Apps which always switched to enable in backround are browser, social messenger, guess most of those which want to connect to network during a regular amount of time. The wakelock option of appsops never prevented anything from running, for me^^
Doesn´t matter appsops still better as just disable permission in system.
 

bush911

Senior Member
Oct 12, 2012
849
373
重庆
Google Nexus 5
Google Pixel
Appops vs Xprivacy

Is it necessary to use the two modules, and what's the difference between the 2.

---------- Post added at 10:01 ---------- Previous post was at 09:49 ----------

have installed latest EdXposed and this module, while launching it says:

uid 10220 does not have android.permission.get_app_ops_stats.
 

beeshyams

Senior Member
Dec 29, 2014
1,885
806
Bangalore
@Xspeed

Installed as system app on MiA1 stock Pie using App systemiser Terminal Magisk module (in /system /priv-apps) . Apps show up but when I try to change permissions, app crashes.. Latest EdXposed (released today). Error captured by Scoop Xposed module
Code:
java.lang.SecurityException: uid 10280 does not have android.permission.MANAGE_APP_OPS_MODES.
	at android.os.Parcel.createException(Parcel.java:1950)
	at android.os.Parcel.readException(Parcel.java:1918)
	at android.os.Parcel.readException(Parcel.java:1868)
	at com.android.internal.app.IAppOpsService$Stub$Proxy.setMode(IAppOpsService.java:672)
	at android.app.AppOpsManager.setMode(AppOpsManager.java:1834)
	at java.lang.reflect.Method.invoke(Native Method)
	at at.jclehner.appopsxposed.util.d.a(Unknown Source:4)
	at at.jclehner.appopsxposed.util.d.a(Unknown Source:8)
	at at.jclehner.appopsxposed.util.a.a(Unknown Source:47)
	at com.a.a.a.b$1.onCheckedChanged(Unknown Source:35)
	at android.widget.CompoundButton.setChecked(CompoundButton.java:171)
	at android.widget.Switch.setChecked(Switch.java:1080)
	at android.widget.Switch.toggle(Switch.java:1075)
	at android.widget.CompoundButton.performClick(CompoundButton.java:132)
	at android.view.View.performClickInternal(View.java:6582)
	at android.view.View.access$3100(View.java:778)
	at android.view.View$PerformClick.run(View.java:25897)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:193)
	at android.app.ActivityThread.main(ActivityThread.java:6762)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
Caused by: android.os.RemoteException: Remote stack trace:
	at android.app.ContextImpl.enforce(ContextImpl.java:1812)
	at android.app.ContextImpl.enforcePermission(ContextImpl.java:1821)
	at com.android.server.AppOpsService.enforceManageAppOpsModes(AppOpsService.java:982)
	at com.android.server.AppOpsService.setMode(AppOpsService.java:1091)
	at com.android.internal.app.IAppOpsService$Stub.onTransact(IAppOpsService.java:237)
 
Last edited:
  • Like
Reactions: ElwOOd_CbGp

CapnShitzhu

Member
Feb 6, 2018
38
5
So did we find any fix for GET_APP_OPS_STATS issue?

Edit: Installed App Systemizer from Magisk repo and systemized AppOps into a priv-app. Rebooted and everything working now
 
Last edited:
  • Like
Reactions: MDV106
@Xspeed

Installed as system app on MiA1 stock Pie using App systemiser Terminal Magisk module (in /system /priv-apps) . Apps show up but when I try to change permissions, app crashes.. Latest EdXposed (released today). Error captured by Scoop Xposed module
<code omitted for brevity>


I'm experiencing the same issue. Installed module in EdXposed (running the latest v0.4.1.2 SandHook framework) and used App Systemizer Terminal to install as a system app (to /system/priv-apps). App opens just fine, but as soon as I try to change a setting, the app closes instantly (I don't get an error, it's just gone). Tried selecting various options under "Force Variant" in settings to no avail. Running RR 7.0.2 (klte), Pie.
 

Mikanoshi

Senior Member
Aug 9, 2013
4,000
4,878
Soviet ☭ Russia
en.mikanoshi.name
APK is proguarded, why? Stacktraces are useless.
I managed to launch module without systemizing it by hacking PackageManager class and making module look like a system app, but it also crashes when clicking on any package in a list.
Just tons of errors like this
Code:
java.lang.NoSuchFieldException: No field OP_BLUETOOTH_SCAN in class Lat/jclehner/appopsxposed/util/a; (declaration of 'at.jclehner.appopsxposed.util.a' appears in ...
for every field out there, and finally
Code:
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: at.jclehner.appopsxposed.re, PID: 20199
    java.lang.ArrayIndexOutOfBoundsException: length=78; index=10005
        at com.a.a.a.c.a(Unknown Source:192)
        at com.a.a.a.b.d(Unknown Source:47)
        at com.a.a.a.b.D(Unknown Source:3)
        at androidx.fragment.app.d.U(Unknown Source:18)
        at androidx.fragment.app.k.a(Unknown Source:812)
        at androidx.fragment.app.k.i(Unknown Source:38)
        at androidx.fragment.app.k.a(Unknown Source:42)
        at androidx.fragment.app.a.f(Unknown Source:167)
        at androidx.fragment.app.k.b(Unknown Source:38)
        at androidx.fragment.app.k.a(Unknown Source:114)
        at androidx.fragment.app.k.b(Unknown Source:88)
        at androidx.fragment.app.k.j(Unknown Source:21)
        at androidx.fragment.app.k$1.run(Unknown Source:2)
        at android.os.Handler.handleCallback(Unknown Source:2)
        at android.os.Handler.dispatchMessage(Unknown Source:4)
        at android.os.Looper.loop(Unknown Source:208)
        at android.app.ActivityThread.main(Unknown Source:107)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
        at com.android.internal.os.ZygoteInit.main(Unknown Source:274)

GitHub sources are hard to compile, no idea what are the requirements. Looks like a module and not the entire Android Studio project.

BTW, EdXposed supports resource hooks now :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 25
    AppOpsXposed Re is a module for the Xposed framework that restores AppOps functionality on recent Android versions.
    "Re" (short for "revised") version got a few updates compared to the original, making it work on newer Androids, like Nougat and Oreo.

    Original thread by caspase: AppOpsXposed - AppOps for 4.3+

    What is AppOps? What's the difference between AppOps and permissions?
    AppOps is a feature that is included in Android starting with JellyBean 4.3. It allows the user to limit an apps functionality, regardless of permissions granted; for example, you can prevent an app from reading your contact list, or accessing your current location. The difference between revoking permissions and using AppOps is that in the latter case, the affected app will not know what happend and, most importantly, will (usually) not crash. In the case of the location, the app will think that the location is currently unavailable. In the case of your contact list, the app will see an empty list.
    An important thing to keep in mind is that AppOps was not intended for end-users, so some features do not work as advertised. Limiting "Keep awake" for example has no effect, as this was not implemented by the Android developers.

    Compatible with all Android versions from 4.3 'Jelly Bean' to 9.0 'Pie'.

    Credits:
    Xposed Framework: rovo89 & Tungstwenty
    Original module: caspase

    Download: AppOpsXposed Re on Xposed Module Repository

    How to report problems efficiently?
    - Enable the Debug log in settings
    - Use functions that don't work as intended
    - Export the logs from Xposed app and put them on PasteBin
    - Post on the XDA thread the link along with more information about your device

    XDA:DevDB Information
    AppOpsXposed Re, Xposed for all devices (see above for details)

    Contributors
    Xspeed, caspase
    Source Code: https://github.com/XspeedPL/AppOpsXposed

    Xposed Package Name: at.jclehner.appopsxposed.re

    Version Information
    Status: Stable
    Current Stable Version: 1.30.6
    Stable Release Date: 2019-03-09

    Created 2018-08-10
    Last Updated 2019-03-08
    6
    What is the difference between this app and AppOpsX from F-Droid? does it work on Android Pie?
    To be honest I've never heard of AppOpsX. The two applications work completely different under the hood.
    There is stuff non-Xposed apps can't do, like adding a shortcut to AppOps on the app details activity.

    Regarding your second question, YES!
    The fresh new 1.30.6 version supports Android 9.0 Pie and EdXposed.

    I managed to make it work by separating resource hooking related stuff to a second module and made it optional for other functionality.
    Simple? Absolutely. Clever? Maybe. AppOps? Xposed. Sorry :/
    4
    Any alternative solution for this (refer to ss) aside from installing as system app? Im using galaxy note 8 with oneui. Thanks
    That's definitely a bug. I have an idea how I might be able to fix that. Hang on
    3
    @Xspeed

    Installed as system app on MiA1 stock Pie using App systemiser Terminal Magisk module (in /system /priv-apps) . Apps show up but when I try to change permissions, app crashes.. Latest EdXposed (released today). Error captured by Scoop Xposed module
    <code omitted for brevity>


    I'm experiencing the same issue. Installed module in EdXposed (running the latest v0.4.1.2 SandHook framework) and used App Systemizer Terminal to install as a system app (to /system/priv-apps). App opens just fine, but as soon as I try to change a setting, the app closes instantly (I don't get an error, it's just gone). Tried selecting various options under "Force Variant" in settings to no avail. Running RR 7.0.2 (klte), Pie.
    2
    Hi! What's the difference of this and the appopsxposed without the "re"?~
    Original module was supposedly abandoned. This version was updated to support newer Androids, including Nougat and Oreo.
    "Re" is short for "revised".