FORUMS

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

497 posts
Thanks Meter: 656
 
By Xspeed, Senior Member on 10th August 2018, 02:11 PM
Post Reply Email Thread
21st March 2019, 09:31 PM |#31  
Senior Member
Flag Bangalore
Thanks Meter: 504
 
More
@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)
The Following User Says Thank You to beeshyams For This Useful Post: [ View ] Gift beeshyams Ad-Free
26th March 2019, 11:30 PM |#32  
Member
Thanks Meter: 6
 
More
app not launching and it says stopped working android 7.0
27th March 2019, 02:27 AM |#33  
bush911's Avatar
Senior Member
Flag 重庆
Thanks Meter: 90
 
Donate to Me
More
android Pie
expecting a workable build for pixle 3 on latest android pie
2nd April 2019, 09:41 AM |#34  
Senior Member
Thanks Meter: 168
 
More
Any updates yet on the bug?
The Following User Says Thank You to MDV106 For This Useful Post: [ View ] Gift MDV106 Ad-Free
20th April 2019, 05:33 PM |#35  
Member
Thanks Meter: 4
 
More
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
The Following User Says Thank You to CapnShitzhu For This Useful Post: [ View ] Gift CapnShitzhu Ad-Free
2nd May 2019, 04:32 PM |#36  
SunDevil329's Avatar
Member
Flag San Francisco
Thanks Meter: 33
 
More
Quote:
Originally Posted by beeshyams

@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.
The Following 3 Users Say Thank You to SunDevil329 For This Useful Post: [ View ] Gift SunDevil329 Ad-Free
5th May 2019, 12:09 PM |#37  
Mikanoshi's Avatar
Senior Member
Flag Soviet ☭ Russia
Thanks Meter: 4,573
 
Donate to Me
More
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
20th June 2019, 10:40 PM |#38  
Member
Flag San Jose
Thanks Meter: 14
 
More
Was anyone able to get this to work? Like the others, I experienced a crash when toggling an option.
21st June 2019, 11:23 AM |#39  
Senior Member
Thanks Meter: 168
 
More
Quote:
Originally Posted by natsousa

Was anyone able to get this to work? Like the others, I experienced a crash when toggling an option.

Dev hasnt fixed the issues yet.
21st June 2019, 01:45 PM |#40  
Mikanoshi's Avatar
Senior Member
Flag Soviet ☭ Russia
Thanks Meter: 4,573
 
Donate to Me
More
I just use another app, "App Ops - Permission manager".
22nd June 2019, 11:50 PM |#41  
Senior Member
Thanks Meter: 168
 
More
Quote:
Originally Posted by Mikanoshi

I just use another app, "App Ops - Permission manager".

AppOpsX is free and opensource and available via fdroid
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes