Hi everyone,
I hope I am posting in the right thread. I am getting errors related to xposed repeatedly in my logcat. This could be because of a module that wasn't updated yet for the latest version of xposed but I can't seem to find out which one or this could be because of other reasons. I am posting here hoping to find a resolution.
[ 06-04 13:00:07.202 16150:16150 E/Xposed ]
java.lang.NoSuchMethodError: com.android.internal.telephony.PhoneSubInfo#getDeviceId()#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:339)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:176)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:251)
at com.phoneinfo.changerpro.hooks.f.a(Unknown Source)
at com.phoneinfo.changerpro.hooks.MainHook.handleLoadPackage(Unknown Source)
at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:34)
at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:61)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:106)
at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:193)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:720)
at android.app.ActivityThread.handleBindApplication(<Xposed>)
at android.app.ActivityThread.-wrap1(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1424)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5471)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
I appreciate any kind of suggestions. Thanks.
why not disabling all modules and then checking one by one?
it seems one of your modules is designed for a different variant of Android (one that has the method com.android.internal.telephony.PhoneSubInfo#getDev iceId()), or the module works but isn't implemented well to avoid the exception in logcat
gitfib said:
why not disabling all modules and then checking one by one?
it seems one of your modules is designed for a different variant of Android (one that has the method com.android.internal.telephony.PhoneSubInfo#getDev iceId()), or the module works but isn't implemented well to avoid the exception in logcat
Click to expand...
Click to collapse
Thanks, I'll try doing that.
Sent from my "i9300/1+2" powered by Carbon/RR
Fueled by 7000mAh ZeroLemon Battery
Related
As the title suggests, Xposed fails to initialize, resulting in the installer giving an error about Xposed not being active, despite the framework installation screen displaying active version numbers in green. I'm currently running the 2012-04-12 CM1 nightly on a Nexus 5 (32GB).
Here's what looks like the relevant part of the log:
Code:
Apr 12, 2014 6:18:38 PM UTC
Loading Xposed v46 (for Zygote)...
Running ROM 'cm_hammerhead-userdebug 4.4.2 KVT49L 670861c82b test-keys' with fingerprint 'google/hammerhead/hammerhead:4.4.2/KOT49H/937116:user/release-keys'
Errors during resources initialization
- android.content.res.Resources android.app.ActivityThread.getTopLevelResources(java.lang.String,java.lang.String[],int,android.content.res.Configuration,android.app.LoadedApk,android.content.Context)
- public android.content.res.Resources android.app.ResourcesManager.getTopLevelResources(java.lang.String,java.lang.String[],int,java.lang.String,android.content.res.Configuration,android.content.res.CompatibilityInfo,android.os.IBinder,android.content.Context)
Errors during Xposed initialization
java.lang.NoSuchMethodError: android.app.ResourcesManager#getTopLevelResources(java.lang.String,int,android.content.res.Configuration,android.content.res.CompatibilityInfo,android.os.IBinder)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:208)
at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:155)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:167)
at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:179)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:342)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:268)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
And for good measure, here's the complete log: h**p://cl.ly/text/2T2S1e3c1w2f/xposed_debug_20140412_193135.log.txt
Please let me know if there's anything else I can provide.
Yes, I know: http://forum.xda-developers.com/app...d-rom-modding-modifying-t1574401/post51839299
Fixed with 2.5.1.
rovo89 said:
Yes, I know: http://forum.xda-developers.com/app...d-rom-modding-modifying-t1574401/post51839299
Fixed with 2.5.1.
Click to expand...
Click to collapse
Thanks, 2.5.1 works perfectly
Hello xposed devs and @rovo89!
I tested my modules on Lollipop and I got this strange error: "Class not found using the boot class loader; no stack available".
Full error looks like this one: http://forum.xda-developers.com/showpost.php?p=58836010&postcount=613
Not sure if this is XposedBridge bug (new API will fix it?) or we should fix it on our side. Any solution?
Edit: Rovo89 gave us solution, read here: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
Are you sure it's the same class on Lollipop?
Modules targeting the system behavior might need to be adjusted to the new Android framework code, which isn’t caused by ART, but simply by architecture and code changes that happen between any two Android releases. The most significant one is that the code for system services has been moved to a separate file. For most of the affected modules, this can be solved by a little refactoring (moving code to a different place).
Click to expand...
Click to collapse
Looks like it still same in Lollipop
https://github.com/android/platform.../android/server/pm/PackageManagerService.java
com.android.server.pm.PackageManagerService
There's nothing in that error about PackageManagerService. Also, considering that user is running CM12 and not AOSP, you might want to check the CM12 source anyway.
Just wrote this: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
rovo89 said:
Just wrote this: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
Click to expand...
Click to collapse
Thank you so much! Very useful info for all xposed module devs
Moto x ghost
running AL 5.0.2 custom rom (AICP) made out of CM12
no boot loop
xposed works fine
flashed with twrp-2.8.4.0
smohanv said:
Moto x ghost
running AL 5.0.2 custom rom (AICP) made out of CM12
no boot loop
xposed works fine
flashed with twrp-2.8.4.0
Click to expand...
Click to collapse
You are off topic..
pyler said:
You are off topic..
Click to expand...
Click to collapse
You are right.. It is off topic.. Meant to post in xposed framework forum.. Sorry mate... Thanks for pointing..
rovo89 said:
Just wrote this: http://forum.xda-developers.com/xposed/xposed-api-changelog-developer-news-t2714067#post58840569
Click to expand...
Click to collapse
I already had my intercept in handleLoadPackage looking for package "android" and it worked previously, but for some reason it doesn't intercept this package in Lollipop.
My code is:
Code:
if (lpparam.packageName.equals("android")) {
XposedBridge.log("htccarxposed: Hooked into Android Policy!");
Log.i("htccarxposed","Hooked into Android Policy.");
And neither do I see the log flag nor is any of the hooking working.
The "Log" feature in the Xposed Installer app only shows the "Xposed" tag for ADB logs, not any of my log calls, btw, and I can't see anything there about the boot class loader.
Edit: Correction, I found this error:
Code:
02-14 20:26:09.992 E/Xposed ( 476): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available
02-14 20:26:10.032 E/Xposed ( 476): java.lang.NoSuchMethodError: com.android.server.pm.PackageManagerService#grantPermissionsLPw(android.content.pm.PackageParser.Package,boolean)#exact
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:179)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.mods.appsettings.hooks.PackagePermissions.initHooks(PackagePermissions.java:59)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.mods.appsettings.XposedMod.initZygote(XposedMod.java:297)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:469)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:418)
02-14 20:26:10.032 E/Xposed ( 476): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
I have small problem...
I need to get (find) class SubSettings.
https://github.com/android/platform...ter/src/com/android/settings/SubSettings.java
My code:
https://github.com/pylerSM/XInstaller/blob/master/src/com/pyler/xinstaller/XInstaller.java#L1008
So if use param.getClass().getClassLoader() as class loader, I get "Class not found using the boot class loader; no stack available". Same story if I use "null" as class loader.
Any advice?
Good day. I just need some help from you guys. Can you please tell me how to do this stuff? Xposed Installer Frameware always states "The lastest version of xposed is not activated." I 've done all the process but it doesn't work either. What should i do with this? Here's the Log report of my phone:
-----------------
Jul 22, 2015 3:04:30 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'Cherry_Flare_S30_Lite_V08_20150523' with fingerprint 'unknown'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.SPRDResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
-----------------
Jul 22, 2015 5:22:47 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'Cherry_Flare_S30_Lite_V08_20150523' with fingerprint 'unknown'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.SPRDResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
Help me please. Thank you in advance.
Same problem for me.
In Honor bee yaar. hrlp mr to.. It aleays resets d phonr.. Only donkeygurd not working
akoposimel said:
Good day. I just need some help from you guys. Can you please tell me how to do this stuff? Xposed Installer Frameware always states "The lastest version of xposed is not activated." I 've done all the process but it doesn't work either. What should i do with this? Here's the Log report of my phone:
Click to expand...
Click to collapse
Same here. Running Omega ROM v. 27 on Galaxy S4, I9500. Cannot get Framework Activated.:crying:
BobMac
What does "activating" exactly mean?
I'm having also issues with the Xposed framework.
It's installed, but when using the installed modules, they both complain that Xposed framework isn't "activated".
Apart from the button "Installe/Update" that is supposed to activate this there is nothing to know on how to fix this.
My Xposed framework does not get activated.
Who can help?
Johan
akoposimel said:
Good day. I just need some help from you guys. Can you please tell me how to do this stuff? Xposed Installer Frameware always states "The lastest version of xposed is not activated." I 've done all the process but it doesn't work either. What should i do with this? Here's the Log report of my phone:
-----------------
Jul 22, 2015 3:04:30 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'Cherry_Flare_S30_Lite_V08_20150523' with fingerprint 'unknown'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.SPRDResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
-----------------
Jul 22, 2015 5:22:47 PM UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'Cherry_Flare_S30_Lite_V08_20150523' with fingerprint 'unknown'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.SPRDResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
Help me please. Thank you in advance.
Click to expand...
Click to collapse
abhiforu said:
Same problem for me.
In Honor bee yaar. hrlp mr to.. It aleays resets d phonr.. Only donkeygurd not working
Click to expand...
Click to collapse
guiguy said:
Same here. Running Omega ROM v. 27 on Galaxy S4, I9500. Cannot get Framework Activated.:crying:
BobMac
Click to expand...
Click to collapse
dcturbob said:
What does "activating" exactly mean?
I'm having also issues with the Xposed framework.
It's installed, but when using the installed modules, they both complain that Xposed framework isn't "activated".
Apart from the button "Installe/Update" that is supposed to activate this there is nothing to know on how to fix this.
My Xposed framework does not get activated.
Who can help?
Johan
Click to expand...
Click to collapse
Guys, if you want help, provide more information about your device: the exact type/name as well as the Android version you are running.
orville87 said:
Guys, if you want help, provide more information about your device: the exact type/name as well as the Android version you are running.
Click to expand...
Click to collapse
Sorry for that.
Here we go
device: HTC One X+
Android ver: 4.2.2.
HTC Sense: 5.0
Software number: 2.18.401.3
Kernel ver:
3.1.10-g7f360be
[email protected] #1
SMP PREEMPT
In the Xposed Installer you can see logs show at:
Loading class .... XposedModule
java.lang.IllegalAccessError: Class ref in pre-verified class resolved to unexpected implementation.
Anything more you need: let me know!
hi guys, for me xposed do not work. is istalled but not active, this is log :
-----------------
05/feb/2016 03:00:44 UTC
Loading Xposed v54 (for Zygote)...
Running ROM 'UmiLeMaxV01' with fingerprint 'alps/eMAX/eMAX:4.4.4/KTU84P/1438840987:user/release-keys'
Errors during Xposed initialization
java.lang.ClassCastException: class android.content.res.XResources doesn't extend class android.content.res.LewaResources
at de.robv.android.xposed.XposedBridge.cloneToSubclass(XposedBridge.java:787)
at de.robv.android.xposed.XposedBridge.hookResources(XposedBridge.java:365)
at de.robv.android.xposed.XposedBridge.initXbridgeZygote(XposedBridge.java:267)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
at dalvik.system.NativeStart.main(Native Method)
how to fix ?
up, pls help ?
Why are you using such an old version of Xposed?
Disable ressource hooks in Installer
defim said:
Disable ressource hooks in Installer
Click to expand...
Click to collapse
because it works! But I have a problem, disabling that option can not run modules that interact with the interface, there is not another way to change the icons in the status bar lollipop style?
I have the same problem with a huawei ascend mate 2 please help uh
Hello, I Have a Very Specific problem, It Only happens when i Copy something to clipboard
If anyone can help me
The Log is Here -
java.lang.SecurityException: Permission Denial: getCurrentUser() from pid=26100, uid=10173 requires android.permission.INTERACT_ACROSS_USERS
at android.os.Parcel.createException(Parcel.java:1966)
at android.os.Parcel.readException(Parcel.java:1934)
at android.os.Parcel.readException(Parcel.java:1884)
at android.content.IClipboard$Stub$Proxy.setPrimaryClip(IClipboard.java:194)
at android.content.ClipboardManager.setPrimaryClip(ClipboardManager.java:128)
at com.google.android.apps.authenticator.AuthenticatorActivity.copyStringToClipboard(AuthenticatorActivity.java:595)
at com.google.android.apps.authenticator.AuthenticatorActivity.access$1000(AuthenticatorActivity.java:107)
at com.google.android.apps.authenticator.AuthenticatorActivity$9.copyCodeToClipboard(AuthenticatorActivity.java:554)
at com.google.android.apps.authenticator.AuthenticatorActivity$9.updateCabForAccount(AuthenticatorActivity.java:533)
at com.google.android.apps.authenticator.AuthenticatorActivity$9.onItemCheckedStateChanged(AuthenticatorActivity.java:525)
at android.widget.AbsListView$MultiChoiceModeWrapper.onItemCheckedStateChanged(AbsListView.java:9538)
at android.widget.AbsListView.setItemChecked(AbsListView.java:1599)
at android.widget.AbsListView.performLongPress(AbsListView.java:4270)
at android.widget.AbsListView$CheckForLongPress.run(AbsListView.java:4177)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7078)
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:964)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.UserController.getCurrentUser(Unknown Source:90)
at com.android.server.am.ActivityManagerService.getCurrentUser(Unknown Source:2)
at android.app.ActivityManager.getCurrentUser(ActivityManager.java:4852)
at com.samsung.android.knox.SemPersonaManager.getFocusedUser(SemPersonaManager.java:2032)
at com.android.server.clipboard.ClipboardService$ClipboardImpl.getPersonaId(Unknown Source:13)
Im having a similar issue but only after rooting on an S7.
I'm able to copy text from any edit Text Box as normal but any app using the "Copy To Clipboard" method fails with clipboard errors.
LOG:
System.err: at android.content.IClipboard$Stub$Proxy.setPrimaryCl ip(ClipboardManager.java: 181)
System.err: at android.content.IClipboardManager.setPrimaryClip(C lipboardManager.java: 155)
System.err: at com.google.android.apps.docs.drive.clipboard.SendT extToClipboardActivity.onCreate(PG:27)
qounik said:
Hello, I Have a Very Specific problem, It Only happens when i Copy something to clipboard
If anyone can help me
The Log is Here -
java.lang.SecurityException: Permission Denial: getCurrentUser() from pid=26100, uid=10173 requires android.permission.INTERACT_ACROSS_USERS
at android.os.Parcel.createException(Parcel.java:1966)
at android.os.Parcel.readException(Parcel.java:1934)
at android.os.Parcel.readException(Parcel.java:1884)
at android.content.IClipboard$Stub$Proxy.setPrimaryClip(IClipboard.java:194)
at android.content.ClipboardManager.setPrimaryClip(ClipboardManager.java:128)
at com.google.android.apps.authenticator.AuthenticatorActivity.copyStringToClipboard(AuthenticatorActivity.java:595)
at com.google.android.apps.authenticator.AuthenticatorActivity.access$1000(AuthenticatorActivity.java:107)
at com.google.android.apps.authenticator.AuthenticatorActivity$9.copyCodeToClipboard(AuthenticatorActivity.java:554)
at com.google.android.apps.authenticator.AuthenticatorActivity$9.updateCabForAccount(AuthenticatorActivity.java:533)
at com.google.android.apps.authenticator.AuthenticatorActivity$9.onItemCheckedStateChanged(AuthenticatorActivity.java:525)
at android.widget.AbsListView$MultiChoiceModeWrapper.onItemCheckedStateChanged(AbsListView.java:9538)
at android.widget.AbsListView.setItemChecked(AbsListView.java:1599)
at android.widget.AbsListView.performLongPress(AbsListView.java:4270)
at android.widget.AbsListView$CheckForLongPress.run(AbsListView.java:4177)
at android.os.Handler.handleCallback(Handler.java:873)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:214)
at android.app.ActivityThread.main(ActivityThread.java:7078)
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:964)
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.am.UserController.getCurrentUser(Unknown Source:90)
at com.android.server.am.ActivityManagerService.getCurrentUser(Unknown Source:2)
at android.app.ActivityManager.getCurrentUser(ActivityManager.java:4852)
at com.samsung.android.knox.SemPersonaManager.getFocusedUser(SemPersonaManager.java:2032)
at com.android.server.clipboard.ClipboardService$ClipboardImpl.getPersonaId(Unknown Source:13)
Click to expand...
Click to collapse
Are you rooted/running xposed? I have a fix.
elesbb said:
Are you rooted/running xposed? I have a fix.
Click to expand...
Click to collapse
Yes i am Rooted With Magisk/Exposed
qounik said:
Yes i am Rooted With Magisk/Exposed
Click to expand...
Click to collapse
Install the attached xposed module in the post found by going to this link: https://forum.xda-developers.com/showthread.php?p=80495057
Sent from my SM-G930P using Tapatalk