[BUG?] Toggle delay on ?123 (symbols) key on AOSP keyboard - Xposed General

Don't know where to put this but ever since the 2.6.1 update there's a considerable delay in toggling from alpha keyboard to symbols/number. I can count up to two seconds before it first toggles then acts normal while it's open. I uninstall Xposed and it works fine again. The odd thing is that it only affects AOSP keyboards and variants. Non-AOSP ones work without a hitch. Or is this just me?

Did you test without any active modules?

rovo89 said:
Did you test without any active modules?
Click to expand...
Click to collapse
I did. Started off by disabling one module after another until all that was left was the framework. I'd like to go back to an earlier version but the modules I use needed the update.

Not sure how well this will work, but could you please try to take a logcat of that situation? There are many apps which can also clear the log before you start, so it can hopefully be reduced to just the relevant lines (if there are any - not sure about that).

rovo89 said:
Not sure how well this will work, but could you please try to take a logcat of that situation? There are many apps which can also clear the log before you start, so it can hopefully be reduced to just the relevant lines (if there are any - not sure about that).
Click to expand...
Click to collapse
I have attached two logs. The larger one with xposed 2.6.1 installed, the other without. I did the exact same thing for both: Start recording, go to home screen, open messaging, open keyboard, toggle between alpha and symbols a few times, then stop recording. Hope the logs make sense because it's all alien to me. :-S Viewing it from catlog, though, shows xposed doing something with the keyboard.

Starting to hate MIUI (oh well, I probably already do):
Code:
06-14 15:06:22.026 I/Xposed ( 844): java.lang.IllegalArgumentException: Cannot transfer object from class android.content.res.MiuiTypedArray to class android.content.res.XResources$XTypedArray
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge.setObjectClass(XposedBridge.java:773)
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge.access$6(XposedBridge.java:759)
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge$7.afterHookedMethod(XposedBridge.java:358)
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.TypedArray.<init>(Native Method)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.MiuiTypedArray.<init>(MiuiTypedArray.java:13)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.Resources.getCachedStyledAttributes(Resources.java:2267)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.Resources.obtainAttributes(Resources.java)
It would need a more detailed analysis and even more workarounds... Sorry, currently I don't have the time for that. You can try to use the "disable Resources API" option in Xposed Installer, which should prevent these messages, but some modules won't work anymore.

rovo89 said:
Starting to hate MIUI (oh well, I probably already do):
Code:
06-14 15:06:22.026 I/Xposed ( 844): java.lang.IllegalArgumentException: Cannot transfer object from class android.content.res.MiuiTypedArray to class android.content.res.XResources$XTypedArray
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge.setObjectClass(XposedBridge.java:773)
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge.access$6(XposedBridge.java:759)
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge$7.afterHookedMethod(XposedBridge.java:358)
06-14 15:06:22.026 I/Xposed ( 844): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.TypedArray.<init>(Native Method)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.MiuiTypedArray.<init>(MiuiTypedArray.java:13)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.Resources.getCachedStyledAttributes(Resources.java:2267)
06-14 15:06:22.026 I/Xposed ( 844): at android.content.res.Resources.obtainAttributes(Resources.java)
It would need a more detailed analysis and even more workarounds... Sorry, currently I don't have the time for that. You can try to use the "disable Resources API" option in Xposed Installer, which should prevent these messages, but some modules won't work anymore.
Click to expand...
Click to collapse
I was just able to read your sentiment about MIUI. I didn't realize it went that far. Well, since I'm the only one reporting this problem, I won't bug you about it any further while I'm on this ROM. I've dropped back to 2.5 for now. Looks like the updated modules that wanted a higher version still run for some reason. Thanks for taking the time to look at it. :beer:

Related

IOException: Invalid argument while reading ...

Hi guys! I'm really starting to love your community, as you 've helped me a lot tweaking my smartphones (Arc S - KK & SP - J).
I just flashed my SP to CM 12, Android 5.0.2 and I'm facing a problem with the Xposed Framework.
The thing is that it's working just fine until I'm checking the modules and rebooting. Its requesting me to reboot again, so the Xposed gets ativated.
I 've got the log here, as I'm not a developer or a programmer, I just google and follow instructions and things work like magic!
03-07 03:36:04.453 I/Xposed ( 518): -----------------
03-07 03:36:04.453 I/Xposed ( 518): Starting Xposed binary version 60, compiled for SDK 21
03-07 03:36:04.453 I/Xposed ( 518): Phone: Xperia SP (Sony), Android version 5.0.2 (SDK 21)
03-07 03:36:04.453 I/Xposed ( 518): ROM: cm_lbhuashan-userdebug 5.0.2 LRX22G d961795a75 test-keys
03-07 03:36:04.453 I/Xposed ( 518): Build fingerprint: Sony/C5303/C5303:4.3/12.1.A.1.207/Nvt_nw:user/release-keys
03-07 03:36:04.453 I/Xposed ( 518): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-07 03:36:04.453 I/Xposed ( 518): SELinux enabled: yes, enforcing: yes
03-07 03:36:04.463 I/Xposed ( 518): -----------------
03-07 03:36:04.473 I/Xposed ( 518): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 03:36:05.253 I/Xposed ( 518): Detected ART runtime
03-07 03:36:05.313 I/Xposed ( 518): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 03:36:05.704 I/Xposed ( 518): Initializing XposedBridge version 61
03-07 03:36:05.924 I/Xposed ( 518): Errors during Xposed initialization
03-07 03:36:05.924 E/Xposed ( 518): java.io.IOException: Invalid argument while reading /data/data/de.robv.android.xposed.installer/conf/modules.list
03-07 03:36:05.924 E/Xposed ( 518): at de.robv.android.xposed.services.ZygoteService.readFile(Native Method)
03-07 03:36:05.924 E/Xposed ( 518): at de.robv.android.xposed.services.BaseService.getFileInputStream(BaseService.java:116)
03-07 03:36:05.924 E/Xposed ( 518): at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:414)
03-07 03:36:05.924 E/Xposed ( 518): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
I also get same error message sometimes. Not sure what causes that. @rovo89 may give us advice.
https://github.com/rovo89/Xposed/issues/25

Sony Xperia t2ultra

Here is my log
Pl help me
05-19 00:01:27.672 I/Xposed ( 994): -----------------
05-19 00:01:27.672 I/Xposed ( 994): Starting Xposed binary version 61, compiled for SDK 21
05-19 00:01:27.672 I/Xposed ( 994): Device: D5322 (Sony), Android version 5.0.2 (SDK 21)
05-19 00:01:27.672 I/Xposed ( 994): ROM: 19.3.A.0.470
05-19 00:01:27.672 I/Xposed ( 994): Build fingerprint: Sony/D5322/D5322:5.0.2/19.3.A.0.470/552693915:user/release-keys
05-19 00:01:27.672 I/Xposed ( 994): Platform: armeabi-v7a, 32-bit binary, system server: yes
05-19 00:01:27.672 I/Xposed ( 994): SELinux enabled: yes, enforcing: yes
05-19 00:01:27.681 I/Xposed ( 994): -----------------
05-19 00:01:27.681 I/Xposed ( 994): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
05-19 00:01:27.785 I/Xposed ( 994): Forcing image recompilation because /data/dalvik-cache/arm/[email protected]@boot.art is not compiled for the current Xposed version
05-19 00:01:55.606 I/Xposed ( 994): Detected ART runtime
05-19 00:01:55.616 I/Xposed ( 994): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
05-19 00:01:55.689 I/Xposed ( 994): Initializing XposedBridge version 64
05-19 00:01:55.892 E/Xposed ( 994): Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found
05-19 00:01:57.206 F/libc ( 1831): Fatal signal 6 (SIGABRT), code -6 in tid 1831 (main)
Any suggestions and advices are welcome.. Plz help
Thanks inadvance

Xposed Framework Successfully Installed But Nothing Works?! OnePlus Two

Hi, I've just received my OnePlus Two, flashed TWRP and rooted with SuperSU but still have kept the stock ROM. I've tried using Xposed Framework and when I go to the app it says in green "Xposed framework version 80 is active" but installing modules and nothing seems to work, I've tried using Instagram downloader, Youtube Adaway, Snapprefs, Snapgroups and Device Faker and nothing does anything.
Instagram module and snapchat modules just don't show up in the app, Youtube still shows ads and Device Faker acts like its going to open but then closes after just displaying a white screen.
I installed the framework by flashing the sdk22-arm64.zip first and then installing the .adk, I've uninstalled and reinstalled but nothing works.
I'm running OxygenOS2.2 with Android 5.1.1 on a OnePlus Two.
Here is my log file from Xposed
03-07 20:59:13.817 I/Xposed ( 494): -----------------
03-07 20:59:13.818 I/Xposed ( 494): Starting Xposed version 80, compiled for SDK 22
03-07 20:59:13.818 I/Xposed ( 494): Device: ONE A2003 (OnePlus), Android version 5.1.1 (SDK 22)
03-07 20:59:13.818 I/Xposed ( 494): ROM: ONE A2003_14_151211
03-07 20:59:13.818 I/Xposed ( 494): Build fingerprint: OnePlus/OnePlus2/OnePlus2:5.1.1/LMY47V/1436933050:user/release-keys
03-07 20:59:13.818 I/Xposed ( 494): Platform: arm64-v8a, 64-bit binary, system server: yes
03-07 20:59:13.818 I/Xposed ( 494): SELinux enabled: yes, enforcing: yes
03-07 20:59:14.826 I/Xposed ( 494): -----------------
03-07 20:59:14.827 I/Xposed ( 494): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 20:59:15.240 I/Xposed ( 494): Detected ART runtime
03-07 20:59:15.255 I/Xposed ( 494): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 20:59:15.454 I/Xposed ( 494): Loading modules from /data/app/com.mohammadag.xposedinstagramdownloader-2/base.apk
03-07 20:59:15.604 I/Xposed ( 494): Loading class com.mohammadag.xposedinstagramdownloader.InstagramDownloader
03-07 20:59:15.609 I/Xposed ( 494): Loading modules from /data/app/com.elesbb.snapchatfullcaption-1/base.apk
03-07 20:59:15.655 I/Xposed ( 494): Loading class com.elesbb.snapchatfullcaption.Xposed
03-07 20:59:15.665 I/Xposed ( 494): Loading modules from /data/app/com.devicefaker.free-1/base.apk
03-07 20:59:15.720 I/Xposed ( 494): Loading class com.devicefaker.free.hook.MainHook
03-07 20:59:23.381 I/Xposed ( 495): -----------------
03-07 20:59:23.381 I/Xposed ( 495): Starting Xposed version 80, compiled for SDK 22
03-07 20:59:23.381 I/Xposed ( 495): Device: ONE A2003 (OnePlus), Android version 5.1.1 (SDK 22)
03-07 20:59:23.381 I/Xposed ( 495): ROM: ONE A2003_14_151211
03-07 20:59:23.381 I/Xposed ( 495): Build fingerprint: OnePlus/OnePlus2/OnePlus2:5.1.1/LMY47V/1436933050:user/release-keys
03-07 20:59:23.381 I/Xposed ( 495): Platform: arm64-v8a, 32-bit binary, system server: no
03-07 20:59:23.381 I/Xposed ( 495): SELinux enabled: yes, enforcing: yes
03-07 20:59:23.383 I/Xposed ( 495): -----------------
03-07 20:59:23.383 I/Xposed ( 495): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-07 20:59:23.719 I/Xposed ( 495): Detected ART runtime
03-07 20:59:23.735 I/Xposed ( 495): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-07 20:59:23.896 I/Xposed ( 495): Loading modules from /data/app/com.mohammadag.xposedinstagramdownloader-2/base.apk
03-07 20:59:24.029 I/Xposed ( 495): Loading class com.mohammadag.xposedinstagramdownloader.InstagramDownloader
03-07 20:59:24.033 I/Xposed ( 495): Loading modules from /data/app/com.elesbb.snapchatfullcaption-1/base.apk
03-07 20:59:24.085 I/Xposed ( 495): Loading class com.elesbb.snapchatfullcaption.Xposed
03-07 20:59:24.094 I/Xposed ( 495): Loading modules from /data/app/com.devicefaker.free-1/base.apk
03-07 20:59:26.050 I/Xposed ( 495): Loading class com.devicefaker.free.hook.MainHook
03-07 20:59:56.211 E/Xposed ( 7538): java.lang.NoSuchMethodError: com.instagram.android.activity.ActivityInTab#onCreate(android.os.Bundle)#exact
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:174)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
03-07 20:59:56.211 E/Xposed ( 7538): at com.mohammadag.xposedinstagramdownloader.InstagramDownloader.handleLoadPackage(InstagramDownloader.java:140)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-07 20:59:56.211 E/Xposed ( 7538): at android.app.ActivityThread.handleBindApplication(<Xposed>)
03-07 20:59:56.211 E/Xposed ( 7538): at android.app.ActivityThread.access$1600(ActivityThread.java:154)
03-07 20:59:56.211 E/Xposed ( 7538): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1383)
03-07 20:59:56.211 E/Xposed ( 7538): at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 20:59:56.211 E/Xposed ( 7538): at android.os.Looper.loop(Looper.java:135)
03-07 20:59:56.211 E/Xposed ( 7538): at android.app.ActivityThread.main(ActivityThread.java:5300)
03-07 20:59:56.211 E/Xposed ( 7538): at java.lang.reflect.Method.invoke(Native Method)
03-07 20:59:56.211 E/Xposed ( 7538): at java.lang.reflect.Method.invoke(Method.java:372)
03-07 20:59:56.211 E/Xposed ( 7538): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
03-07 20:59:56.211 E/Xposed ( 7538): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
03-07 20:59:56.211 E/Xposed ( 7538): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
03-07 20:59:56.615 E/Xposed ( 7646): java.lang.NoSuchMethodError: com.instagram.android.activity.ActivityInTab#onCreate(android.os.Bundle)#exact
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:174)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
03-07 20:59:56.615 E/Xposed ( 7646): at com.mohammadag.xposedinstagramdownloader.InstagramDownloader.handleLoadPackage(InstagramDownloader.java:140)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-07 20:59:56.615 E/Xposed ( 7646): at android.app.ActivityThread.handleBindApplication(<Xposed>)
03-07 20:59:56.615 E/Xposed ( 7646): at android.app.ActivityThread.access$1600(ActivityThread.java:154)
03-07 20:59:56.615 E/Xposed ( 7646): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1383)
03-07 20:59:56.615 E/Xposed ( 7646): at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 20:59:56.615 E/Xposed ( 7646): at android.os.Looper.loop(Looper.java:135)
03-07 20:59:56.615 E/Xposed ( 7646): at android.app.ActivityThread.main(ActivityThread.java:5300)
03-07 20:59:56.615 E/Xposed ( 7646): at java.lang.reflect.Method.invoke(Native Method)
03-07 20:59:56.615 E/Xposed ( 7646): at java.lang.reflect.Method.invoke(Method.java:372)
03-07 20:59:56.615 E/Xposed ( 7646): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
03-07 20:59:56.615 E/Xposed ( 7646): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
03-07 20:59:56.615 E/Xposed ( 7646): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
03-07 21:00:28.139 E/Xposed (11878): java.lang.NoSuchMethodError: com.instagram.android.activity.ActivityInTab#onCreate(android.os.Bundle)#exact
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:174)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
03-07 21:00:28.139 E/Xposed (11878): at com.mohammadag.xposedinstagramdownloader.InstagramDownloader.handleLoadPackage(InstagramDownloader.java:140)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-07 21:00:28.139 E/Xposed (11878): at android.app.ActivityThread.handleBindApplication(<Xposed>)
03-07 21:00:28.139 E/Xposed (11878): at android.app.ActivityThread.access$1600(ActivityThread.java:154)
03-07 21:00:28.139 E/Xposed (11878): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1383)
03-07 21:00:28.139 E/Xposed (11878): at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 21:00:28.139 E/Xposed (11878): at android.os.Looper.loop(Looper.java:135)
03-07 21:00:28.139 E/Xposed (11878): at android.app.ActivityThread.main(ActivityThread.java:5300)
03-07 21:00:28.139 E/Xposed (11878): at java.lang.reflect.Method.invoke(Native Method)
03-07 21:00:28.139 E/Xposed (11878): at java.lang.reflect.Method.invoke(Method.java:372)
03-07 21:00:28.139 E/Xposed (11878): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
03-07 21:00:28.139 E/Xposed (11878): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
03-07 21:00:28.139 E/Xposed (11878): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
03-07 21:05:28.713 E/Xposed (25598): java.lang.NoSuchMethodError: com.instagram.android.activity.ActivityInTab#onCreate(android.os.Bundle)#exact
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:174)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
03-07 21:05:28.713 E/Xposed (25598): at com.mohammadag.xposedinstagramdownloader.InstagramDownloader.handleLoadPackage(InstagramDownloader.java:140)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-07 21:05:28.713 E/Xposed (25598): at android.app.ActivityThread.handleBindApplication(<Xposed>)
03-07 21:05:28.713 E/Xposed (25598): at android.app.ActivityThread.access$1600(ActivityThread.java:154)
03-07 21:05:28.713 E/Xposed (25598): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1383)
03-07 21:05:28.713 E/Xposed (25598): at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 21:05:28.713 E/Xposed (25598): at android.os.Looper.loop(Looper.java:135)
03-07 21:05:28.713 E/Xposed (25598): at android.app.ActivityThread.main(ActivityThread.java:5300)
03-07 21:05:28.713 E/Xposed (25598): at java.lang.reflect.Method.invoke(Native Method)
03-07 21:05:28.713 E/Xposed (25598): at java.lang.reflect.Method.invoke(Method.java:372)
03-07 21:05:28.713 E/Xposed (25598): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
03-07 21:05:28.713 E/Xposed (25598): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
03-07 21:05:28.713 E/Xposed (25598): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
03-07 21:09:18.637 E/Xposed (27375): java.lang.NoSuchMethodError: com.instagram.android.activity.ActivityInTab#onCreate(android.os.Bundle)#exact
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:174)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
03-07 21:09:18.637 E/Xposed (27375): at com.mohammadag.xposedinstagramdownloader.InstagramDownloader.handleLoadPackage(InstagramDownloader.java:140)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-07 21:09:18.637 E/Xposed (27375): at android.app.ActivityThread.handleBindApplication(<Xposed>)
03-07 21:09:18.637 E/Xposed (27375): at android.app.ActivityThread.access$1600(ActivityThread.java:154)
03-07 21:09:18.637 E/Xposed (27375): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1383)
03-07 21:09:18.637 E/Xposed (27375): at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 21:09:18.637 E/Xposed (27375): at android.os.Looper.loop(Looper.java:135)
03-07 21:09:18.637 E/Xposed (27375): at android.app.ActivityThread.main(ActivityThread.java:5300)
03-07 21:09:18.637 E/Xposed (27375): at java.lang.reflect.Method.invoke(Native Method)
03-07 21:09:18.637 E/Xposed (27375): at java.lang.reflect.Method.invoke(Method.java:372)
03-07 21:09:18.637 E/Xposed (27375): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
03-07 21:09:18.637 E/Xposed (27375): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
03-07 21:09:18.637 E/Xposed (27375): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
03-07 21:09:43.837 E/Xposed (28336): java.lang.NoSuchMethodError: com.instagram.android.activity.ActivityInTab#onCreate(android.os.Bundle)#exact
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:174)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
03-07 21:09:43.837 E/Xposed (28336): at com.mohammadag.xposedinstagramdownloader.InstagramDownloader.handleLoadPackage(InstagramDownloader.java:140)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-07 21:09:43.837 E/Xposed (28336): at android.app.ActivityThread.handleBindApplication(<Xposed>)
03-07 21:09:43.837 E/Xposed (28336): at android.app.ActivityThread.access$1600(ActivityThread.java:154)
03-07 21:09:43.837 E/Xposed (28336): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1383)
03-07 21:09:43.837 E/Xposed (28336): at android.os.Handler.dispatchMessage(Handler.java:102)
03-07 21:09:43.837 E/Xposed (28336): at android.os.Looper.loop(Looper.java:135)
03-07 21:09:43.837 E/Xposed (28336): at android.app.ActivityThread.main(ActivityThread.java:5300)
03-07 21:09:43.837 E/Xposed (28336): at java.lang.reflect.Method.invoke(Native Method)
03-07 21:09:43.837 E/Xposed (28336): at java.lang.reflect.Method.invoke(Method.java:372)
03-07 21:09:43.837 E/Xposed (28336): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
03-07 21:09:43.837 E/Xposed (28336): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
03-07 21:09:43.837 E/Xposed (28336): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
Click to expand...
Click to collapse
If anyone can help it'll be appreciated, I have seen Youtube videos of it working on this phone so I don't know why I can't figure it out!
It's a bit tricky, but it actually works. You "only" need to disable selinux. A tutorial about how to do this will follow.
cr1cr1 said:
It's a bit tricky, but it actually works. You "only" need to disable selinux. A tutorial about how to do this will follow.
Click to expand...
Click to collapse
Thanks, I eagerly await it lol, this was the main reason I rooted my phone
AJHylton said:
Thanks, I eagerly await it lol, this was the main reason I rooted my phone
Click to expand...
Click to collapse
Ok, I have managed to put it all together.
This is just to disable selinux though.
Always, do not forget to clear your cache from twrp after flashing something, especially xposed.
Here it is:
[GUIDE] Disable selinux to allow Xposed framework for Oneplus 2
Also, my flow of customiziing OxygenOS, in short is like this:
Fastboot flash the latest TWRP image and reboot in recovery
Add in the list of zips to be flashed:
OxygenOS base image zip
OxygenOS latest incremental OTA update
Custom kernel zip
Xposed framework zip
Latest SuperSU zip
Patch the boot image and reflash to disable selinux (see the guide above)
Clear cache and Dalvik/ART
Also, I have noticed sometimes Xposed causes bootloop, so I have found out that deleting the log files from /data/data/de.robv.android.xposed.installer/log helps.
Reboot and wait a veeery long time to start and rebuild all the ART bytecode
If you neeed to see what your phone is doing, you can usually connect with adb while booting and monitor with logcat.
Thank you! I'm going to try this out tomorrow and I'll let you know if it all works
cr1cr1 said:
Ok, I have managed to put it all together.
This is just to disable selinux though.
Always, do not forget to clear your cache from twrp after flashing something, especially xposed.
Here it is:
[GUIDE] Disable selinux to allow Xposed framework for Oneplus 2
Also, my flow of customiziing OxygenOS, in short is like this:
Fastboot flash the latest TWRP image and reboot in recovery
Add in the list of zips to be flashed:
OxygenOS base image zip
OxygenOS latest incremental OTA update
Custom kernel zip
Xposed framework zip
Latest SuperSU zip
Patch the boot image and reflash to disable selinux (see the guide above)
Clear cache and Dalvik/ART
Also, I have noticed sometimes Xposed causes bootloop, so I have found out that deleting the log files from /data/data/de.robv.android.xposed.installer/log helps.
Reboot and wait a veeery long time to start and rebuild all the ART bytecode
If you neeed to see what your phone is doing, you can usually connect with adb while booting and monitor with logcat.
Click to expand...
Click to collapse
Sorry about the delay, I was planning on leaving my phone and not doing anything to it for a while as I hard bricked it and spent hours trying to unbrick it lol, but I got it working again :good: but I'm going to be honest and say that I decided to disable SELinux using a terminal doing it this way
su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
echo "0" > /sys/fs/selinux/enforce
chmod 755 /system/su.d/permissive.sh
Click to expand...
Click to collapse
rather than in the link as it seemed a lot simpler and less risky haha (I was scared) and now when I run getenforce on the terminal it says permissive but I still can't run any Xposed modules. Can I ask what modules you've successfully used on a OnePlus 2 with permissive SELinux as maybe it's the modules I'm trying to run aren't compatible?
Also I'm just running the rooted stock OxygenOS ROM if that makes any difference
AJHylton said:
Sorry about the delay, I was planning on leaving my phone and not doing anything to it for a while as I hard bricked it and spent hours trying to unbrick it lol, but I got it working again :good: but I'm going to be honest and say that I decided to disable SELinux using a terminal doing it this way
rather than in the link as it seemed a lot simpler and less risky haha (I was scared) and now when I run getenforce on the terminal it says permissive but I still can't run any Xposed modules. Can I ask what modules you've successfully used on a OnePlus 2 with permissive SELinux as maybe it's the modules I'm trying to run aren't compatible?
Also I'm just running the rooted stock OxygenOS ROM if that makes any difference
Click to expand...
Click to collapse
This is why you need to disable selinux in the boot image. I have tried all the scripts and methods and in fact nothing worked untill I have changed the boot image.
What do you mean hard brick? What are the steps you did?
cr1cr1 said:
This is why you need to disable selinux in the boot image. I have tried all the scripts and methods and in fact nothing worked untill I have changed the boot image.
What do you mean hard brick? What are the steps you did?
Click to expand...
Click to collapse
I've used the code and it actually worked, I was just trying to run some modules that weren't working but now everything besides snapprefs does. I guess the difference is every time I boot my phone up I get a toast showing that SELinux has been set to permissive whereas you wouldn't if you edit the boot image. But thanks for your help though.
And hard bricked because the bootloader was locked and there was no software on there, all I could get into was Fastboot mode. I accidentally turned off 'Allow OEM unlocking' on the stock ROM and went to flash a new ROM, after wiping everything it just got stuck in a bootloop and wouldn't go into recovery, I tried so many steps and toolkits to try and fix it but because I couldn't get into the bootloader I couldn't flash anything. I'm going to be honest and say that I have absolutely no idea what it was that actually fixed it but after trying so many different things for 6 hours I did something and it rebooted perfectly fine but with wiped internal storage.
Never again am I troubling that toggle lol, that was scary ****
AJHylton said:
I've used the code and it actually worked, I was just trying to run some modules that weren't working but now everything besides snapprefs does. I guess the difference is every time I boot my phone up I get a toast showing that SELinux has been set to permissive whereas you wouldn't if you edit the boot image. But thanks for your help though.
And hard bricked because the bootloader was locked and there was no software on there, all I could get into was Fastboot mode. I accidentally turned off 'Allow OEM unlocking' on the stock ROM and went to flash a new ROM, after wiping everything it just got stuck in a bootloop and wouldn't go into recovery, I tried so many steps and toolkits to try and fix it but because I couldn't get into the bootloader I couldn't flash anything. I'm going to be honest and say that I have absolutely no idea what it was that actually fixed it but after trying so many different things for 6 hours I did something and it rebooted perfectly fine but with wiped internal storage.
Never again am I troubling that toggle lol, that was scary ****
Click to expand...
Click to collapse
Well I will try also with just the script (without altering the boot partition) and see if it works - though I have tried many things like that, including issuing the setenforce 0 at any time and did not work for me.
Also, I have seen that Boeffla Kernel app has an option to disable SELinux: it sets /sys/fs/selinux/enforce to 0
Anyway, glad that worked for you, and even more glad you managed to unbrick your phone.
I have bricked my HTC One by accidentally deleting the sbl1 partition )) and struggled a lot to recover via software, but the qualcomm tools are way too cryptic and poorly documented.
cr1cr1 said:
Well I will try also with just the script (without altering the boot partition) and see if it works - though I have tried many things like that, including issuing the setenforce 0 at any time and did not work for me.
Also, I have seen that Boeffla Kernel app has an option to disable SELinux: it sets /sys/fs/selinux/enforce to 0
Anyway, glad that worked for you, and even more glad you managed to unbrick your phone.
I have bricked my HTC One by accidentally deleting the sbl1 partition )) and struggled a lot to recover via software, but the qualcomm tools are way too cryptic and poorly documented.
Click to expand...
Click to collapse
How do you know that your SELinux isn't being changed, is it Xposed modules you're trying to run also or something else? Download Termux and run the code I pasted earlier, reboot your phone and type getenforce and it should say permissive. As soon as that says permissive then the problem is with what you're trying to do, not the SELinux. I haven't seen that kernel but I've recently flashed the Exodus ROM on my OnePlus Two and there's a toggle on there if you'd consider switching ROMs.
Wow I don't really know too much about partition tables but I know its not good to have deleted that lol, having a quick look you could possibly have a read of these two threads (if you haven't already) http://forum.xda-developers.com/showthread.php?t=2632477 and http://forum.xda-developers.com/showthread.php?t=2632736
But it seems like if you can get into fastboot there may be a fix.
Good luck
AJHylton said:
How do you know that your SELinux isn't being changed, is it Xposed modules you're trying to run also or something else? Download Termux and run the code I pasted earlier, reboot your phone and type getenforce and it should say permissive. As soon as that says permissive then the problem is with what you're trying to do, not the SELinux. I haven't seen that kernel but I've recently flashed the Exodus ROM on my OnePlus Two and there's a toggle on there if you'd consider switching ROMs.
Wow I don't really know too much about partition tables but I know its not good to have deleted that lol, having a quick look you could possibly have a read of these two threads (if you haven't already) http://forum.xda-developers.com/showthread.php?t=2632477 and http://forum.xda-developers.com/showthread.php?t=2632736
But it seems like if you can get into fastboot there may be a fix.
Good luck
Click to expand...
Click to collapse
It is possible to be what you say, I will give it a try with the next update of OxygenOS.
I would rather stick with Oxygen as it is quite stable and I am happy with the amount of customizations I have plus that I do not have that much time to spend on this right now
Thank you for the links, as you can imagine, I have tried a lot No, there is no fastboot as the first essential partitions are gone and apparently only a direct write to the emmc memory would solve the problem.
This means 2 things: either managing to work with the qualcomm tools to do it, and I couldn't so far... or going to a repair shop and having the phone open and write to the emmc via JTAG.
If you open an HTC M7 ... well, you cannot really put it back in a pretty manner.
However, bricking my M7 was a good excuse to have an Oneplus 2 that I absolutely love
All the best to you!

Why Xposed cannot load module?

I created an application in the android studio
launched it on the device
activated the module in the XposedInstaller
After rebooting I get such a log
Code:
04-01 13:27:46.115 I/Xposed ( 231): -----------------
04-01 13:27:46.115 I/Xposed ( 231): Starting Xposed version 87.3 (Systemless by topjohnwu), compiled for SDK 22
04-01 13:27:46.115 I/Xposed ( 231): Device: :), Android version 5.1.1 (SDK 22)
04-01 13:27:46.115 I/Xposed ( 231): ROM: LMY48T
04-01 13:27:46.115 I/Xposed ( 231): Build fingerprint: google/razor/flo:5.1.1/LMY48T/2237560:user/release-keys
04-01 13:27:46.115 I/Xposed ( 231): Platform: armeabi-v7a, 32-bit binary, system server: yes
04-01 13:27:46.115 I/Xposed ( 231): SELinux enabled: yes, enforcing: yes
04-01 13:27:46.122 I/Xposed ( 231): -----------------
04-01 13:27:46.123 I/Xposed ( 231): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
04-01 13:27:46.866 I/Xposed ( 231): Detected ART runtime
04-01 13:27:46.889 I/Xposed ( 231): Found Xposed class 'de/robv/android/xposed/XposedBridge', now initializing
04-01 13:27:47.445 I/Xposed ( 231): Loading modules from /data/app/daylemk.xposed.xbridge-1/base.apk
04-01 13:27:47.462 I/Xposed ( 231): Loading class daylemk.xposed.xbridge.XposedInit
04-01 13:27:47.486 I/Xposed ( 231): Loading modules from /data/app/hooker.admin.hooker_v02-2/base.apk
04-01 13:27:47.517 E/Xposed ( 231): Cannot load module:
04-01 13:27:47.517 E/Xposed ( 231): The Xposed API classes are compiled into the module's APK.
04-01 13:27:47.517 E/Xposed ( 231): This may cause strange issues and must be fixed by the module developer.
04-01 13:27:47.517 E/Xposed ( 231): For details, see: [you know what]
04-01 13:27:47.517 I/Xposed ( 231): Loading modules from /data/app/com.device.emulator-1/base.apk
04-01 13:27:47.551 I/Xposed ( 231): Loading class com.device.emulator.hook.Xposed
04-01 13:28:20.716 E/XposedInstaller( 2231): AdvancedInstallerFragment -> Unable to resolve host "raw.githubusercontent.com": No address associated with hostname
Prior to this, Xposed installer couldn't find the class from the file "xposed_init", but I disabled Instant Run.
xposed_init
Code:
hooker.admin.hooker_v02.XMain
XMain.java
Code:
package hooker.admin.hooker_v02;
import de.robv.android.xposed.IXposedHookInitPackageResources;
// ...
import de.robv.android.xposed.callbacks.XC_LoadPackage.LoadPackageParam;
public class XMain implements IXposedHookInitPackageResources, IXposedHookLoadPackage, IXposedHookZygoteInit
{
// ...
}
In short, everything should be fine. I suspect that this is due to the fact that the SDK version ofdevice is 22, and target SDK of Gradle Build is 26. If I change target SDK to 22 in project structure (and Gradle Build files) then there are errors in building of apk. Can you help, because I'm new and have spent a lot of time and energy on this?
The thing is you are including Xposed API into your module which is not OK.
Yo have to configure the gradle for Xposed lib to be "provided" not "compiled".

Xposed wont activate (Logs included) (Bounty available)

I've been having issues with Xposed it keeps saying that its installed but its not active. I've tried fully uninstalling multiple times. Using the Magisk module for Xposed. I've tried removing magisk modules and messing with Xposed modules. I've narrowed it down to this error that appears constantly in the log and I don't know how to fix. I've googled around looking for Landroid and the error but I can't find anything simular. The Rest of the Log is attached below. Disabling all modules doesnt affect anything.
Device Info:
Google Pixel XL (Verizon Version but bootloader unlocked)
Rooted with Magisk 16.0
Running Pixel Dust r8 latest security patch
Xposed Version 90 beta 3
I really don't know how to fix this and really would appreciate some help. If you can fix this issue and get Xposed to become active I will paypal you $5.
08-16 23:51:29.317 E/Xposed ( 1870): java.lang.NoSuchMethodError: No virtual method getPackageInfoNoCheck(Landroid/content/pm/ApplicationInfo;Landroid/content/res/CompatibilityInfoLandroid/app/LoadedApk; in class Landroid/app/ActivityThread; or its super classes (declaration of 'android.app.ActivityThread' appears in /system/framework/framework.jar)
08-16 23:51:29.317 E/Xposed ( 1870): at de.robv.android.xposed.XposedInit$2.beforeHookedMethod(XposedInit.java:125)
08-16 23:51:29.317 E/Xposed ( 1870): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:341)
08-16 23:51:29.317 E/Xposed ( 1870): at android.app.ActivityThread.handleBindApplication(<Xposed>)
08-16 23:51:29.317 E/Xposed ( 1870): at android.app.ActivityThread.access$2000(ActivityThread.java:178)
08-16 23:51:29.317 E/Xposed ( 1870): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1667)
08-16 23:51:29.317 E/Xposed ( 1870): at android.os.Handler.dispatchMessage(Handler.java:106)
08-16 23:51:29.317 E/Xposed ( 1870): at android.os.Looper.loop(Looper.java:164)
08-16 23:51:29.317 E/Xposed ( 1870): at android.app.ActivityThread.main(ActivityThread.java:6524)
08-16 23:51:29.317 E/Xposed ( 1870): at java.lang.reflect.Method.invoke(Native Method)
08-16 23:51:29.317 E/Xposed ( 1870): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:460)
08-16 23:51:29.317 E/Xposed ( 1870): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
08-16 23:51:29.317 E/Xposed ( 1870): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:108)
View attachment 4573977
Just to make sure: You are using the Magisk systemless Xposed specific Xposed installer from the OP of the Systemless Xposed thread, right?
Didgeridoohan said:
Just to make sure: You are using the Magisk systemless Xposed specific Xposed installer from the OP of the Systemless Xposed thread, right?
Click to expand...
Click to collapse
Switched to this installer and reinstalled and it still won't become active. Thanks for the suggestion though.
Complexityyz said:
Switched to this installer and reinstalled and it still won't become active. Thanks for the suggestion though.
Click to expand...
Click to collapse
Good, that Installer is necessary for systemless Xposed to work properly.
You're still seeing the same errors, I presume? I think a good place to also ask for help is in your ROM's thread, since it could be a ROM issue.
Edit: Ah... I see you already have.
Didgeridoohan said:
Good, that Installer is necessary for systemless Xposed to work properly.
You're still seeing the same errors, I presume? I think a good place to also ask for help is in your ROM's thread, since it could be a ROM issue.
Edit: Ah... I see you already have.
Click to expand...
Click to collapse
Yeah I already posted and I think I'm the only one having this issue.

Categories

Resources