Giter Site home page Giter Site logo

xposed's People

Contributors

arter97 avatar jclehner avatar likunkun avatar pylersm avatar romracer avatar rovo89 avatar tungstwenty avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xposed's Issues

LG G2mini D618 Bootloop with v69 v70

on previous built v67 v68 i got bootloop when i clear dalvik and cache because of the low space error but with v69 v70 i doesn't even boot ! without wiping cache and dalvik, and with wiping cache and dalvik ! can you look into my logcat and tell me what is wrong ?
my logcat after flashing xposed https://drive.google.com/file/d/0BxDO1J2_PJJobzVmaWVOaENmdmc/view?usp=sharing
no way to get device boot proprely with xposed-uninstaller i just keep bootlooping
my logcat after using xposed-uninstaller https://drive.google.com/file/d/0BxDO1J2_PJJobHdOc21BOUdubWc/view?usp=sharing

Don't nuke access checks completely

Currently several Dalvik access check methods are forced to return true in order to make it possible to subclass Resources and access several methods/fields directly. This works fine most of the time, except for some bad, smali-manipulated ROMs and very few apps (see rovo89/XposedInstaller#89).

Example to reproduce a VerifyError (to be executed on Android 4.0/4.1):

LruCache<String, String> cache = new LruCache<String, String>(10);
cache.put("a", "b");
if (Build.VERSION.SDK_INT >= 17) {
    cache.trimToSize(5);
}

The plan is to make those classes and methods public instead.

Native Method Problems

When I first added this small hook back in earlier versions of Android, I was not sure that it would work, since it is basically a Native method referenced from Java, But it did. But now in ART it seams that this is no longer possible and I was wondering if this would be easy to fix.

I/Xposed  ( 1955): Not hooking native method int android.util.Log.println_native(int, int, java.lang.String, java.lang.String) 

In my case it can be easily overcome by adding a hook to each of the normal log methods like d(), e() and so on, this was just a simpler way to get them all at once. But there might be other places where this type of hook would be more useful, so I thought that I would report it.

And since I am here anyway, I have a quick question.

E/SELinux ( 1939): avc:  denied  { add } for service=com.spazedog.xposed.additionsgb.service.XSERVICE scontext=u:r:system_server:s0 tcontext=u:object_r:default_android_service:s0 tclass=service_manager

When you added services for Xposed, did you ever cross path with this issue? Before I start investigating it, I thought I would see if you already know this problem since you have already successfully added a couple of services that seams to get past SELinux in Lollipop.

Error while loading XResources class 'android/content/res/XResources':

This happens when trying to install Xposed on Xiaomi MiNote PRO: armv64-v8a.
And here is the full log:

09-01 13:09:57.240 I/Xposed  (  445): -----------------
09-01 13:09:57.240 I/Xposed  (  445): Starting Xposed version 72, compiled for SDK 21
09-01 13:09:57.240 I/Xposed  (  445): Device: MI NOTE Pro (Xiaomi), Android version 5.0.2 (SDK 21)
09-01 13:09:57.240 I/Xposed  (  445): ROM: LRX22G
09-01 13:09:57.240 I/Xposed  (  445): Build fingerprint: Xiaomi/leo/leo:5.0.2/LRX22G/5.8.27:user/release-keys
09-01 13:09:57.240 I/Xposed  (  445): Platform: arm64-v8a, 64-bit binary, system server: yes
09-01 13:09:57.240 I/Xposed  (  445): SELinux enabled: yes, enforcing: yes
09-01 13:09:57.260 I/Xposed  (  445): -----------------
09-01 13:09:57.260 I/Xposed  (  445): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
09-01 13:09:57.780 I/Xposed  (  445): Detected ART runtime
09-01 13:09:57.800 I/Xposed  (  445): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
09-01 13:09:58.000 E/Xposed  (  445): Error while loading XResources class 'android/content/res/XResources':
09-01 13:09:58.000 E/Xposed  (  445): java.lang.IncompatibleClassChangeError: android.content.res.XResources
09-01 13:09:58.000 E/Xposed  (  445):   at java.lang.Class dalvik.system.DexFile.defineClassNative(java.lang.String, java.lang.ClassLoader, long) (DexFile.java:-2)
09-01 13:09:58.000 E/Xposed  (  445):   at java.lang.Class dalvik.system.DexFile.defineClass(java.lang.String, java.lang.ClassLoader, long, java.util.List) (DexFile.java:226)
09-01 13:09:58.000 E/Xposed  (  445):   at java.lang.Class dalvik.system.DexFile.loadClassBinaryName(java.lang.String, java.lang.ClassLoader, java.util.List) (DexFile.java:219)
09-01 13:09:58.000 E/Xposed  (  445):   at java.lang.Class dalvik.system.DexPathList.findClass(java.lang.String, java.util.List) (DexPathList.java:321)
09-01 13:09:58.000 E/Xposed  (  445):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:54)
09-01 13:09:58.000 E/Xposed  (  445):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511)
09-01 13:09:58.000 E/Xposed  (  445):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469)
09-01 13:09:58.000 E/Xposed  (  445):   at boolean de.robv.android.xposed.XposedBridge.initNative() (XposedBridge.java:-2)
09-01 13:09:58.000 E/Xposed  (  445):   at void de.robv.android.xposed.XposedBridge.main(java.lang.String[]) (XposedBridge.java:96)
09-01 13:09:58.000 I/Xposed  (  445): Errors during native Xposed initialization
09-01 13:10:07.260 I/Xposed  (  446): -----------------
09-01 13:10:07.260 I/Xposed  (  446): Starting Xposed version 72, compiled for SDK 21
09-01 13:10:07.260 I/Xposed  (  446): Device: MI NOTE Pro (Xiaomi), Android version 5.0.2 (SDK 21)
09-01 13:10:07.260 I/Xposed  (  446): ROM: LRX22G
09-01 13:10:07.260 I/Xposed  (  446): Build fingerprint: Xiaomi/leo/leo:5.0.2/LRX22G/5.8.27:user/release-keys
09-01 13:10:07.260 I/Xposed  (  446): Platform: arm64-v8a, 32-bit binary, system server: no
09-01 13:10:07.260 I/Xposed  (  446): SELinux enabled: yes, enforcing: yes
09-01 13:10:07.260 I/Xposed  (  446): -----------------
09-01 13:10:07.260 I/Xposed  (  446): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
09-01 13:10:07.460 I/Xposed  (  446): Detected ART runtime
09-01 13:10:07.480 I/Xposed  (  446): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
09-01 13:10:07.630 E/Xposed  (  446): Error while loading XResources class 'android/content/res/XResources':
09-01 13:10:07.630 E/Xposed  (  446): java.lang.IncompatibleClassChangeError: android.content.res.XResources
09-01 13:10:07.630 E/Xposed  (  446):   at java.lang.Class dalvik.system.DexFile.defineClassNative(java.lang.String, java.lang.ClassLoader, long) (DexFile.java:-2)
09-01 13:10:07.630 E/Xposed  (  446):   at java.lang.Class dalvik.system.DexFile.defineClass(java.lang.String, java.lang.ClassLoader, long, java.util.List) (DexFile.java:226)
09-01 13:10:07.630 E/Xposed  (  446):   at java.lang.Class dalvik.system.DexFile.loadClassBinaryName(java.lang.String, java.lang.ClassLoader, java.util.List) (DexFile.java:219)
09-01 13:10:07.630 E/Xposed  (  446):   at java.lang.Class dalvik.system.DexPathList.findClass(java.lang.String, java.util.List) (DexPathList.java:321)
09-01 13:10:07.630 E/Xposed  (  446):   at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:54)
09-01 13:10:07.630 E/Xposed  (  446):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:511)
09-01 13:10:07.630 E/Xposed  (  446):   at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:469)
09-01 13:10:07.630 E/Xposed  (  446):   at boolean de.robv.android.xposed.XposedBridge.initNative() (XposedBridge.java:-2)
09-01 13:10:07.630 E/Xposed  (  446):   at void de.robv.android.xposed.XposedBridge.main(java.lang.String[]) (XposedBridge.java:96)
09-01 13:10:07.630 I/Xposed  (  446): Errors during native Xposed initialization

Fatal signals logged from F/libc

Every time I install a new xposed APK, the framework runs fine without any issues for a few days until I get an unexpected reboot. After the reboot I'm starting to get fatal signals in the log (also disturbs the functionality of some modules which requires me to reinstall them).
This is the full log, the fatal signals can be seen at the bottom:

11-20 00:00:02.223 I/Xposed  (  377): -----------------
11-20 00:00:02.223 I/Xposed  (  377): Starting Xposed binary version 61, compiled for SDK 21
11-20 00:00:02.223 I/Xposed  (  377): Device: XT1095 (motorola), Android version 5.0 (SDK 21)
11-20 00:00:02.223 I/Xposed  (  377): ROM: LXE22.46-11
11-20 00:00:02.223 I/Xposed  (  377): Build fingerprint: motorola/victara_tmo/victara:5.0/LXE22.46-11/10:user/release-keys
11-20 00:00:02.223 I/Xposed  (  377): Platform: armeabi-v7a, 32-bit binary, system server: yes
11-20 00:00:02.223 I/Xposed  (  377): SELinux enabled: yes, enforcing: yes
05-07 13:17:38.464 I/Xposed  (  377): -----------------
05-07 13:17:38.552 I/Xposed  (  377): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
05-07 13:17:38.883 I/Xposed  (  377): Detected ART runtime
05-07 13:17:38.918 I/Xposed  (  377): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
05-07 13:17:39.095 I/Xposed  (  377): Initializing XposedBridge version 64
05-07 13:17:39.211 I/Xposed  (  377): Loading modules from /data/app/com.pyler.youtubebackgroundplayback-1/base.apk
05-07 13:17:39.372 I/Xposed  (  377):   Loading class com.pyler.youtubebackgroundplayback.YouTubeBackgroundPlayback
05-07 13:17:39.381 I/Xposed  (  377): Loading modules from /data/app/com.oasisfeng.greenify-1/base.apk
05-07 13:17:39.443 I/Xposed  (  377):   Loading class com.oasisfeng.greenify.pro.FrameworkPatch
05-07 13:17:39.463 I/Xposed  (  377):   Loading class com.oasisfeng.greenify.pro.SettingsPatch
05-07 13:17:39.464 I/Xposed  (  377): Loading modules from /data/app/com.ceco.lollipop.gravitybox-1/base.apk
05-07 13:17:39.940 I/Xposed  (  377):   Loading class com.ceco.lollipop.gravitybox.GravityBox
05-07 13:17:39.975 I/Xposed  (  377): GB:Hardware: qcom
05-07 13:17:39.976 I/Xposed  (  377): GB:Product: victara_tmo
05-07 13:17:39.976 I/Xposed  (  377): GB:Device manufacturer: motorola
05-07 13:17:39.976 I/Xposed  (  377): GB:Device brand: motorola
05-07 13:17:39.976 I/Xposed  (  377): GB:Device model: XT1095
05-07 13:17:39.982 I/Xposed  (  377): GB:Device type: phone
05-07 13:17:39.982 I/Xposed  (  377): GB:Is MTK device: false
05-07 13:17:39.982 I/Xposed  (  377): GB:Is Xperia device: false
05-07 13:17:39.983 I/Xposed  (  377): GB:Is Moto XT device: true
05-07 13:17:39.983 I/Xposed  (  377): GB:Has Lenovo custom UI: false
05-07 13:17:39.985 I/Xposed  (  377): GB:Has telephony support: true
05-07 13:17:39.988 I/Xposed  (  377): GB:Has Gemini support: false
05-07 13:17:39.989 I/Xposed  (  377): GB:Android SDK: 21
05-07 13:17:39.989 I/Xposed  (  377): GB:Android Release: 5.0
05-07 13:17:39.989 I/Xposed  (  377): GB:ROM: LXE22.46-11
05-07 13:18:07.819 F/libc    ( 1324): Fatal signal 11 (SIGSEGV), code 2, fault addr 0xb31bef1a in tid 1328 (Compiler driver)
05-07 13:18:07.819 F/libc    ( 1324): Fatal signal 11 (SIGSEGV) in tid 1327 (Compiler driver)
05-07 13:53:04.082 F/libc    (11868): Fatal signal 11 (SIGSEGV), code 1, fault addr 0xb4f899ea in tid 11890 (Binder_1)
05-07 13:53:04.142 E/DEBUG   (  351): unexpected waitpid response: n=11890, status=00000000

Zygote dying on Galaxy S6 Android 5.1

Now that deodexing Android 5.1 firmware is possible, I went on porting Xposed to Galaxy S6 Android 5.1 with almost the same procedures that I've done with Sammy's Android 5.0, but now with aarch64 compilation.

I managed to fix core-libart.jar to match AOSP's style until the point where Zygote completely dies without complaining which functions are missing or malfunctioning.
(PS, deodex'ed firmware without installing Xposed's new files boots just fine without issues)

Logcat - http://pastebin.com/WXvryB0m
Tombstone - http://pastebin.com/pKzb47nm

@rovo89 , I'd greatly appreciate it if you can take a look at those logs and suggest me what to do next.. as I can't figure out what to do exactly :(

[LP] Sometimes app crashes after update without reboot

The code sample https://github.com/DavisNT/XposedLollipopTests/ starts to crash on opening with

I/ActivityManager( 2446): Process lv.id.dm.xposedlollipoptests (pid 11033) has died
I/Zygote ( 1951): Process 11033 exited due to signal (11)
W/ActivityManager( 2446): Force removing ActivityRecord{35967343 u0 lv.id.dm.xposedlollipoptests/.MainActivity t1002}: app died, no saved state
W/WindowManager( 2446): Failed looking up window
W/WindowManager( 2446): java.lang.IllegalArgumentException: Requested window android.view.ViewRootImpl$W@3e2ab333 does not exist
W/WindowManager( 2446): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8504)
W/WindowManager( 2446): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8495)
W/WindowManager( 2446): at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2604)
W/WindowManager( 2446): at com.android.server.wm.Session.remove(Session.java:186)
W/WindowManager( 2446): at android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:2927)
W/WindowManager( 2446): at android.view.ViewRootImpl.doDie(ViewRootImpl.java:5397)
W/WindowManager( 2446): at android.view.ViewRootImpl$ViewRootHandler.handleMessage(ViewRootImpl.java:3230)
W/WindowManager( 2446): at android.os.Handler.dispatchMessage(Handler.java:102)
W/WindowManager( 2446): at android.os.Looper.loop(Looper.java:135)
W/WindowManager( 2446): at android.os.HandlerThread.run(HandlerThread.java:61)
W/WindowManager( 2446): at com.android.server.ServiceThread.run(ServiceThread.java:46)

after repeatedly uncommenting/commenting Log.i() inside method2() and launching the app (without reboot).
Reboot usually solves this issue (probably cases when reboot does not help is a different issue). It is unclear whether this happens due to changed Xposed module or target app.

Bootloop on ASUS ME302C / MeMO Pad FHD (x86)

http://forum.xda-developers.com/showpost.php?p=46440353
http://forum.xda-developers.com/showpost.php?p=51177359&postcount=9754

D/MountService(  460): volume state changed for /Removable/MicroSD (unmounted -> checking)
D/MountService(  460): sendStorageIntent Intent { act=android.intent.action.MEDIA_CHECKING dat=file:///Removable/MicroSD (has extras) } to UserHandle{-1}
E/Vold    (  138): Filesystem check failed (not an exFAT filesystem)
I/fsck_msdos(  138): ** /dev/block/vold/179:51
I/fsck_msdos(  138): ** Phase 1 - Read FAT (compare skipped)
I/fsck_msdos(  138): Attempting to allocate 7616 KB for FAT
I/DEBUG   (  145): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
I/DEBUG   (  145): Build fingerprint: 'asus/WW_epad/ME302C:4.3/JSS15Q/WW_epad-V5.0.16-20140226:user/release-keys'
I/DEBUG   (  145): Revision: '0'
I/DEBUG   (  145): pid: 460, tid: 466, name: Compiler  >>> system_server <<<
I/DEBUG   (  145): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000011
I/DEBUG   (  145):     eax 00000001  ebx 72a22bf0  ecx 413a50d4  edx 7024ff4c
I/DEBUG   (  145):     esi 000000c0  edi 72a22d44
I/DEBUG   (  145):     xcs 00000073  xds 0000007b  xes 0000007b  xfs 00000000  xss 0000007b
I/DEBUG   (  145):     eip 411f0372  ebp 7ae8af20  esp 72a22b20  flags 00210202
I/DEBUG   (  145): 
I/DEBUG   (  145): backtrace:
I/DEBUG   (  145):     #00  pc 00142372  /system/lib/libdvm.so
I/DEBUG   (  145):     #01  pc 0019de89  /system/lib/libdvm.so
I/DEBUG   (  145):     #02  pc 0013b250  /system/lib/libdvm.so
I/DEBUG   (  145):     #03  pc 000e880e  /system/lib/libdvm.so
I/DEBUG   (  145):     #04  pc 0001b55c  /system/lib/libc.so
I/DEBUG   (  145):     #05  pc 0003dcb5  /system/lib/libc.so
I/DEBUG   (  145):     #06  pc 000e85ff  /system/lib/libdvm.so
I/DEBUG   (  145): 
I/DEBUG   (  145): stack:
I/DEBUG   (  145):          72a22ae0  00000000  
I/DEBUG   (  145):          72a22ae4  00000000  
I/DEBUG   (  145):          72a22ae8  00000000  
I/DEBUG   (  145):          72a22aec  00000000  
I/DEBUG   (  145):          72a22af0  00000000  
I/DEBUG   (  145):          72a22af4  00000000  
I/DEBUG   (  145):          72a22af8  00000000  
I/DEBUG   (  145):          72a22afc  00000000  
I/DEBUG   (  145):          72a22b00  00000000  
I/DEBUG   (  145):          72a22b04  00000000  
I/DEBUG   (  145):          72a22b08  00000000  
I/DEBUG   (  145):          72a22b0c  00000000  
I/DEBUG   (  145):          72a22b10  00000000  
I/DEBUG   (  145):          72a22b14  00000000  
I/DEBUG   (  145):          72a22b18  00000000  
I/DEBUG   (  145):          72a22b1c  00000000  
I/DEBUG   (  145):     #00  72a22b20  72a22bf0  [stack:466]
I/DEBUG   (  145):          72a22b24  00000008  
I/DEBUG   (  145):          72a22b28  72a22b4c  [stack:466]
I/DEBUG   (  145):          72a22b2c  72a22b50  [stack:466]
I/DEBUG   (  145):          72a22b30  7d94d25e  /dev/ashmem/dalvik-jit-code-cache (deleted)
I/DEBUG   (  145):          72a22b34  72a22ba4  [stack:466]
I/DEBUG   (  145):          72a22b38  00000001  
I/DEBUG   (  145):          72a22b3c  00000001  
I/DEBUG   (  145):          72a22b40  412a881c  /system/lib/libdvm.so
I/DEBUG   (  145):          72a22b44  72a22c28  [stack:466]
I/DEBUG   (  145):          72a22b48  01040002  
I/DEBUG   (  145):          72a22b4c  7d94d0ac  /dev/ashmem/dalvik-jit-code-cache (deleted)
I/DEBUG   (  145):          72a22b50  00000001  
I/DEBUG   (  145):          72a22b54  00000000  
I/DEBUG   (  145):          72a22b58  00000000  
I/DEBUG   (  145):          72a22b5c  00000000  
I/DEBUG   (  145):          ........  ........
I/DEBUG   (  145):     #01  72a22d80  7ae8af20  
I/DEBUG   (  145):          72a22d84  00000064  
I/DEBUG   (  145):          72a22d88  72a22dfc  [stack:466]
I/DEBUG   (  145):          72a22d8c  72a22e18  [stack:466]
I/DEBUG   (  145):          72a22d90  00000000  
I/DEBUG   (  145):          72a22d94  400c8568  /system/lib/libc.so
I/DEBUG   (  145):          72a22d98  00000000  
I/DEBUG   (  145):          72a22d9c  72a22db0  [stack:466]
I/DEBUG   (  145):          72a22da0  72a22db4  [stack:466]
I/DEBUG   (  145):          72a22da4  798615d0  
I/DEBUG   (  145):          72a22da8  413a50a0  
I/DEBUG   (  145):          72a22dac  41193441  /system/lib/libdvm.so
I/DEBUG   (  145):          72a22db0  00000000  
I/DEBUG   (  145):          72a22db4  00001204  
I/DEBUG   (  145):          72a22db8  00000001  
I/DEBUG   (  145):          72a22dbc  72a22e18  [stack:466]
I/DEBUG   (  145):          ........  ........
I/DEBUG   (  145):     #02  72a22dd0  72a22df0  [stack:466]
I/DEBUG   (  145):          72a22dd4  413a5094  
I/DEBUG   (  145):          72a22dd8  00000007  
I/DEBUG   (  145):          72a22ddc  00000002  
I/DEBUG   (  145):          72a22de0  000000e6  
I/DEBUG   (  145):          72a22de4  00000000  
I/DEBUG   (  145):          72a22de8  00000000  
I/DEBUG   (  145):          72a22dec  41194dbe  /system/lib/libdvm.so
I/DEBUG   (  145):          72a22df0  7024ff4c  /system/framework/core.odex
I/DEBUG   (  145):          72a22df4  00000002  
I/DEBUG   (  145):          72a22df8  7ae8af20  
I/DEBUG   (  145):          72a22dfc  00000000  
I/DEBUG   (  145):          72a22e00  00000000  
I/DEBUG   (  145):          72a22e04  00000000  
I/DEBUG   (  145):          72a22e08  00000000  
I/DEBUG   (  145):          72a22e0c  78ee6870  
I/DEBUG   (  145):          ........  ........

libdvm.so: http://forum.xda-developers.com/showpost.php?p=51192467&postcount=9775

"signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000" with some Xposed modules

Hello,

I'm getting lots of "Unfortunately, has stopped" (where is android.process.media, com.google.process.gapps, ru.krikun.freespace, and whole bunch of others) accompanied by "signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000" in logcat when specific modules including XPrivacy and XuiMod are enabled. Other modules including App Settings do just fine and don't cause any harm. Disabling XPrivacy and XuiMod make the whole thing work just fine. I've been advised by Marcel Bokhorst, the developer of XPrivacy that the issue might be related to Xposed framework.

Please see the logs, look for SIGSEGV:

bad: https://drive.google.com/open?id=0B6jJgft1-HT7RzVrTUFLaHZubFk&authuser=0
good: https://drive.google.com/open?id=0B6jJgft1-HT7ZzF0dFNwV250cDQ&authuser=0

HTC Desire Bravo A8181
Xposed 2.6.1 (app_process - 58, Xposed_bridge.jar - 54)
tried number of different ROMs:
KitKANG http://forum.xda-developers.com/showthread.php?t=2549776
AOSB Kitkat http://forum.xda-developers.com/showthread.php?t=2771350
CarbonRom http://forum.xda-developers.com/showthread.php?t=2658853

Can you help please nailing down the root cause?

Thanks!

Lollipop: xposed can't find framework classes during initZygote

Trying to find classes which are located inside services.jar

final Class<?> traceClass = XposedHelpers.findClass("com.android.server.usb.UsbDeviceManager.UsbHandler", null);
final Class<?> traceClass = XposedHelpers.findClass("com.android.server.notification.NotificationManagerService", null);
final Class<?> traceClass = XposedHelpers.findClass("com.android.server.InputMethodManagerService", null);

but getting error

06-08 00:08:02.336 I/Xposed  (  457): Loading modules from /data/app/kz.virtex.htc.tweaker-2/base.apk
06-08 00:08:02.406 I/Xposed  (  457):   Loading class kz.virtex.htc.tweaker.XMain
06-08 00:08:02.436 E/Xposed  (  457): de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.server.usb.UsbDeviceManager.UsbHandler
06-08 00:08:02.436 E/Xposed  (  457):   at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:54)
06-08 00:08:02.436 E/Xposed  (  457):   at kz.virtex.htc.tweaker.mods.Services.hookUpdateAdbNotification(Services.java:85)
06-08 00:08:02.436 E/Xposed  (  457):   at kz.virtex.htc.tweaker.XMain.initZygote(XMain.java:66)
06-08 00:08:02.436 E/Xposed  (  457):   at de.robv.android.xposed.XposedBridge.loadModule(XposedBridge.java:498)
06-08 00:08:02.436 E/Xposed  (  457):   at de.robv.android.xposed.XposedBridge.loadModules(XposedBridge.java:447)
06-08 00:08:02.436 E/Xposed  (  457):   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:105)
06-08 00:08:02.436 E/Xposed  (  457): Caused by: java.lang.ClassNotFoundException: com.android.server.usb.UsbDeviceManager.UsbHandler
06-08 00:08:02.436 E/Xposed  (  457):   at java.lang.Class.classForName(Native Method)
06-08 00:08:02.436 E/Xposed  (  457):   at java.lang.Class.forName(Class.java:308)
06-08 00:08:02.436 E/Xposed  (  457):   at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
06-08 00:08:02.436 E/Xposed  (  457):   at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:52)
06-08 00:08:02.436 E/Xposed  (  457):   ... 5 more
06-08 00:08:02.436 E/Xposed  (  457): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.server.usb.UsbDeviceManager.UsbHandler" on path: DexPathList[[zip file "/system/framework/XposedBridge.jar"],nativeLibraryDirectories=[/system/lib, /vendor/lib, system/vendor/lib, system/vendor/lib/egl, system/lib/hw]]
06-08 00:08:02.436 E/Xposed  (  457):   at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
06-08 00:08:02.436 E/Xposed  (  457):   at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
06-08 00:08:02.436 E/Xposed  (  457):   at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
06-08 00:08:02.436 E/Xposed  (  457):   ... 9 more
06-08 00:08:02.436 E/Xposed  (  457):   Suppressed: java.lang.ClassNotFoundException: com.android.server.usb.UsbDeviceManager.UsbHandler
06-08 00:08:02.436 E/Xposed  (  457):       at java.lang.Class.classForName(Native Method)
06-08 00:08:02.436 E/Xposed  (  457):       at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
06-08 00:08:02.436 E/Xposed  (  457):       at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
06-08 00:08:02.436 E/Xposed  (  457):       at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
06-08 00:08:02.436 E/Xposed  (  457):       ... 10 more
06-08 00:08:02.436 E/Xposed  (  457):   Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

it was 100% working on KK & JB

can not build xposed

error log:

target thumb C++: libxposed_art <= frameworks/base/cmds/xposed/libxposed_art.cpp
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::onVmCreated(JNIEnv_)':
frameworks/base/cmds/xposed/libxposed_art.cpp:44:19: error: 'XLOG' was not declared in this scope
frameworks/base/cmds/xposed/libxposed_art.cpp:53:19: error: 'XLOG' was not declared in this scope
frameworks/base/cmds/xposed/libxposed_art.cpp:59:5: error: 'xposed_callback_class' is not a member of 'art::mirror::ArtMethod'
frameworks/base/cmds/xposed/libxposed_art.cpp:61:14: error: 'XLOG' was not declared in this scope
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::logExceptionStackTrace()':
frameworks/base/cmds/xposed/libxposed_art.cpp:78:15: error: 'XLOG' was not declared in this scope
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'jboolean xposed::callback_XposedBridge_initNative(JNIEnv_)':
frameworks/base/cmds/xposed/libxposed_art.cpp:96:5: error: 'xposed_callback_method' is not a member of 'art::mirror::ArtMethod'
frameworks/base/cmds/xposed/libxposed_art.cpp:98:9: error: 'xposed_callback_method' is not a member of 'art::mirror::ArtMethod'
frameworks/base/cmds/xposed/libxposed_art.cpp:99:19: error: 'XLOG' was not declared in this scope
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::XposedBridge_hookMethodNative(JNIEnv_, jclass, jobject, jobject, jint, jobject)':
frameworks/base/cmds/xposed/libxposed_art.cpp:123:16: error: 'class art::mirror::ArtMethod' has no member named 'EnableXposedHook'
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::XposedBridge_setObjectClassNative(JNIEnv_, jclass, jobject, jclass)':
frameworks/base/cmds/xposed/libxposed_art.cpp:146:19: error: 'XLOG' was not declared in this scope
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::XposedBridge_dumpObjectNative(JNIEnv_, jclass, jobject)':
frameworks/base/cmds/xposed/libxposed_art.cpp:155:5: error: 'LOG_XPOSED' was not declared in this scope
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'jobject xposed::XposedBridge_cloneToSubclassNative(JNIEnv_, jclass, jobject, jclass)':
frameworks/base/cmds/xposed/libxposed_art.cpp:162:73: error: no matching function for call to 'art::mirror::Object::Clone(art::Thread_, size_t)'
frameworks/base/cmds/xposed/libxposed_art.cpp:162:73: note: candidate is:
In file included from art/runtime/mirror/class.h:21:0,
from art/runtime/mirror/art_method.h:20,
from art/runtime/mirror/art_method-inl.h:20,
from frameworks/base/cmds/xposed/libxposed_art.cpp:10:
art/runtime/mirror/object.h:84:11: note: art::mirror::Object* art::mirror::Object::Clone(art::Thread*)
art/runtime/mirror/object.h:84:11: note: candidate expects 1 argument, 2 provided

complie issue on 5.1.1_r9 Nexus 5

Hi, I copy the xposed project to framework/base/cmds/xposed.and using mmm to build.I got many errors following:
Using target GCC 4.8 disables thread-safety checks.
PRODUCT_COPY_FILES device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml ignored.
No private recovery resources for TARGET_DEVICE hammerhead
target thumb C++: libxposed_art <= frameworks/base/cmds/xposed/libxposed_art.cpp
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::onVmCreated(JNIEnv_)':
frameworks/base/cmds/xposed/libxposed_art.cpp:44:19: error: 'XLOG' was not declared in this scope
XLOG(ERROR) << "Error while loading XTypedArray class '" CLASS_XTYPED_ARRAY "'";
^
frameworks/base/cmds/xposed/libxposed_art.cpp:53:19: error: 'XLOG' was not declared in this scope
XLOG(ERROR) << "Error while loading Xposed class '" CLASS_XPOSED_BRIDGE "'";
^
frameworks/base/cmds/xposed/libxposed_art.cpp:59:5: error: 'xposed_callback_class' is not a member of 'art::mirror::ArtMethod'
mirror::ArtMethod::xposed_callback_class = classXposedBridge;
^
frameworks/base/cmds/xposed/libxposed_art.cpp:61:14: error: 'XLOG' was not declared in this scope
XLOG(INFO) << "Found Xposed class " CLASS_XPOSED_BRIDGE ", now initializing";
^
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::logExceptionStackTrace()':
frameworks/base/cmds/xposed/libxposed_art.cpp:78:15: error: 'XLOG' was not declared in this scope
XLOG(ERROR) << self->GetException(nullptr)->Dump();
^
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'jboolean xposed::callback_XposedBridge_initNative(JNIEnv_)':
frameworks/base/cmds/xposed/libxposed_art.cpp:96:5: error: 'xposed_callback_method' is not a member of 'art::mirror::ArtMethod'
mirror::ArtMethod::xposed_callback_method = env->GetStaticMethodID(classXposedBridge, "handleHookedMethod",
^
frameworks/base/cmds/xposed/libxposed_art.cpp:98:9: error: 'xposed_callback_method' is not a member of 'art::mirror::ArtMethod'
if (mirror::ArtMethod::xposed_callback_method == nullptr) {
^
frameworks/base/cmds/xposed/libxposed_art.cpp:99:19: error: 'XLOG' was not declared in this scope
XLOG(ERROR) << "ERROR: Could not find method " CLASS_XPOSED_BRIDGE ".handleHookedMethod(Member, int, Object, Object, Object[])";
^
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::XposedBridge_hookMethodNative(JNIEnv_, jclass, jobject, jobject, jint, jobject':
frameworks/base/cmds/xposed/libxposed_art.cpp:123:16: error: 'class art::mirror::ArtMethod' has no member named 'EnableXposedHook'
artMethod->EnableXposedHook(env, javaAdditionalInfo);
^
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::XposedBridge_setObjectClassNative(JNIEnv_, jclass, jobject, jclass)':
frameworks/base/cmds/xposed/libxposed_art.cpp:146:19: error: 'XLOG' was not declared in this scope
XLOG(ERROR) << "Could not initialize class " << PrettyClass(clazz);
^
In file included from art/runtime/atomic.h:25:0,
from art/runtime/thread.h:28,
from frameworks/base/cmds/xposed/libxposed_art.cpp:8:
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'void xposed::XposedBridge_dumpObjectNative(JNIEnv_, jclass, jobject)':
frameworks/base/cmds/xposed/libxposed_art.cpp:155:25: error: 'LOG_XPOSED' was not declared in this scope
UNIMPLEMENTED(ERROR|LOG_XPOSED);
^
art/runtime/base/logging.h:135:61: note: in definition of macro 'LOG'
#define LOG(severity) ::art::LogMessage(FILE, LINE, severity, -1).stream()
^
frameworks/base/cmds/xposed/libxposed_art.cpp:155:5: note: in expansion of macro 'UNIMPLEMENTED'
UNIMPLEMENTED(ERROR|LOG_XPOSED);
^
frameworks/base/cmds/xposed/libxposed_art.cpp: In function 'jobject xposed::XposedBridge_cloneToSubclassNative(JNIEnv_, jclass, jobject, jclass)':
frameworks/base/cmds/xposed/libxposed_art.cpp:162:73: error: no matching function for call to 'art::mirror::Object::Clone(art::Thread_, uint32_t)'
mirror::Object* dest = obj->Clone(soa.Self(), clazz->GetObjectSize());
^
frameworks/base/cmds/xposed/libxposed_art.cpp:162:73: note: candidate is:
In file included from art/runtime/mirror/art_method.h:24:0,
from art/runtime/mirror/art_method-inl.h:20,
from frameworks/base/cmds/xposed/libxposed_art.cpp:10:
art/runtime/mirror/object.h:105:11: note: art::mirror::Object* art::mirror::Object::Clone(art::Thread_)
Object_ Clone(Thread* self) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
^
art/runtime/mirror/object.h:105:11: note: candidate expects 1 argument, 2 provided
build/core/binary.mk:620: recipe for target 'out/target/product/hammerhead/obj/SHARED_LIBRARIES/libxposed_art_intermediates/libxposed_art.o' failed
make: *** [out/target/product/hammerhead/obj/SHARED_LIBRARIES/libxposed_art_intermediates/libxposed_art.o] Error 1
make: Leaving directory '/home/ososo/ANDROID5.1.1_r9'

make failed to build some targets (9 seconds)

Could you help me fix them?

Xposed Framework crashing after App update

Hi @rovo89, first things first: HATS OFF to the awesome work you've been doing to create the magic tool! Here's an Issue I've been monitoring for quite a while now: Upon updating Apps, Xposed tends to crash at times - especially when updating Greenify. Here is my logcat. Let me know of you need anything.

Bootloop on LG G Stylo

Device Info:

I/Xposed  (10905): Starting Xposed version 70 (by romracer / 20150808), compiled for SDK 22

I/Xposed  (10905): Device: LG-H631 (LGE), Android version 5.1.1 (SDK 22)

I/Xposed  (10905): ROM: LMY47V

I/Xposed  (10905): Build fingerprint: lge/g4stylusn_tmo_us/g4stylusn:5.1.1/LMY47V/15167172282f1:user/release-keys

I/Xposed  (10905): Platform: armeabi-v7a, 32-bit binary, system server: yes

I/Xposed  (10905): SELinux enabled: yes, enforcing: yes

This device is on 5.1.1 and I was fully aware this would likely not work on the latest framework, even with your recent LG fixes, as it's constantly reported that this doesn't boot on the G4. I didn't see an open issue about this specific LG issue, so I wanted to open this to try and help debug this since it seems like no one has given you anything useful to work with. I've tried your version of Xposed as well as an unofficial version here: http://forum.xda-developers.com/xposed/super-alpha-posted-permission-xposed-t3072979

Flashed and cleared cache and dalvik. Waited for a bit, used LiveBoot by Chainfire to see that it was indeed freaking out on booting. Captured a log, found the following information:

E/System  ( 3096): ************ Failure starting core service

E/System  ( 3096): java.lang.RuntimeException: Unable to get provider com.android.providers.settings.SettingsProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.settings.SettingsProvider" on path: DexPathList[[zip file "/system/framework/com.lge.mdm.jar", zip file "/system/priv-app/LGSettingsProvider/LGSettingsProvider.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

E/System  ( 3096):  at android.app.ActivityThread.installProvider(ActivityThread.java:5150)

E/System  ( 3096):  at android.app.ActivityThread.installContentProviders(ActivityThread.java:4742)

E/System  ( 3096):  at android.app.ActivityThread.installSystemProviders(ActivityThread.java:5344)

E/System  ( 3096):  at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:10445)

E/System  ( 3096):  at com.android.server.SystemServer.startOtherServices(SystemServer.java:479)

E/System  ( 3096):  at com.android.server.SystemServer.run(SystemServer.java:271)

E/System  ( 3096):  at com.android.server.SystemServer.main(SystemServer.java:185)

E/System  ( 3096):  at java.lang.reflect.Method.invoke(Native Method)

E/System  ( 3096):  at java.lang.reflect.Method.invoke(Method.java:372)

E/System  ( 3096):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:914)

E/System  ( 3096):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:707)

E/System  ( 3096):  at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)

E/System  ( 3096): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.settings.SettingsProvider" on path: DexPathList[[zip file "/system/framework/com.lge.mdm.jar", zip file "/system/priv-app/LGSettingsProvider/LGSettingsProvider.apk"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]

E/System  ( 3096):  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

E/System  ( 3096):  at java.lang.ClassLoader.loadClass(ClassLoader.java:511)

E/System  ( 3096):  at java.lang.ClassLoader.loadClass(ClassLoader.java:469)

E/System  ( 3096):  at android.app.ActivityThread.installProvider(ActivityThread.java:5135)

E/System  ( 3096):  ... 11 more

E/System  ( 3096):  Suppressed: java.io.IOException: Entry not found

E/System  ( 3096):      at dalvik.system.DexFile.openDexFileNative(Native Method)

E/System  ( 3096):      at dalvik.system.DexFile.openDexFile(DexFile.java:295)

E/System  ( 3096):      at dalvik.system.DexFile.<init>(DexFile.java:80)

E/System  ( 3096):      at dalvik.system.DexFile.<init>(DexFile.java:59)

E/System  ( 3096):      at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)

E/System  ( 3096):      at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)

E/System  ( 3096):      at dalvik.system.DexPathList.<init>(DexPathList.java:109)

E/System  ( 3096):      at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)

E/System  ( 3096):      at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)

E/System  ( 3096):      at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)

E/System  ( 3096):      at android.app.LoadedApk.getClassLoader(LoadedApk.java:414)

E/System  ( 3096):      at de.robv.android.xposed.XposedBridge$4.afterHookedMethod(XposedBridge.java:240)

E/System  ( 3096):      at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:664)

E/System  ( 3096):      at android.app.LoadedApk.<init>(<Xposed>)

E/System  ( 3096):      at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1812)

E/System  ( 3096):      at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1773)

E/System  ( 3096):      at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1745)

E/System  ( 3096):      at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2318)

E/System  ( 3096):      at android.app.ContextImpl.createPackageContext(ContextImpl.java:2305)

E/System  ( 3096):      at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:671)

E/System  ( 3096):      at android.app.ActivityThread.installProvider(ActivityThread.java:5120)

E/System  ( 3096):      ... 11 more

E/System  ( 3096):  Caused by: java.io.IOException: Failed to open file '/data/dalvik-cache/arm/system@priv-app@[email protected]@classes.dex': Permission denied

E/System  ( 3096):      ... 32 more

E/System  ( 3096):  Suppressed: java.lang.ClassNotFoundException: com.android.providers.settings.SettingsProvider

E/System  ( 3096):      at java.lang.Class.classForName(Native Method)

E/System  ( 3096):      at java.lang.BootClassLoader.findClass(ClassLoader.java:781)

E/System  ( 3096):      at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)

E/System  ( 3096):      at java.lang.ClassLoader.loadClass(ClassLoader.java:504)

E/System  ( 3096):      ... 13 more

E/System  ( 3096):  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

I pulled both /system/framework/com.lge.mdm.jar and /system/priv-app/LGSettingsProvider/LGSettingsProvider.apk, available here: https://db.tt/y8EFBWQr

com.lge.mdm.jar is 1kb with only a META-INF in it (that's all I see with 7zip and JD-GUI), is this related to LG's encrypted apps at all? I wasn't able to see the smali code when I decompiled LGSettingsProvider with the latest apktool, it just didn't exist, so I was thinking maybe it dealt with LG encrypting these apps or something.

Is there anything else you need or anything I can test? I'm happy to check out anything.

Thanks for your time and the work you dedicate to this project!

EDIT: Found that there was a similar, yet different, issue reported for the OneTouch: #53 Interesting to see something similar happening on a different version of Android, different phone, etc so maybe this will help.

Lg G2 (Verizon) Not Booting - newer than alpha2 (4/30)

I can't get a log because it doesn't boot but after flashing alpha4, the phone sits at the boot animation. I tried several restarts and let it sit for 10 minutes on the boot animation but it just sits there. I ended up reflashing alpha3 which works fine.

I'm on xdabbeb's stock-based lollipop rom (5.0.2)

modify system level/non-java code with ptrace as root?

It's a longshot but I think it'd be really useful and neat. SELinux would be an issue but I don't think it's insurmountable either.

Think of how useful it could be to shove things into the HAL code instead of having to do them from within the VM. It could also be a way to "support" ART.

Crashes of other processes are written to the Xposed log

I do have a nasty crash on every reboot in my Xposed Log. It doesn't seem to do any real harm, it's been there all the time and everything works as expected.

But as I'm using the same phone as you (N5, albeit with AOSP 5.0.1) I thought I maybe should report it as this probably shouldn't happen.

05-05 10:59:01.393 F/libc    ( 5559): Fatal signal 13 (SIGPIPE), code 0 in tid 5559 (sh)
05-05 10:59:01.452 I/DEBUG   (  181): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-05 10:59:01.452 I/DEBUG   (  181): Build fingerprint: 'google/hammerhead/hammerhead:5.0.1/LRX22C/1602158:user/release-keys'
05-05 10:59:01.452 I/DEBUG   (  181): Revision: '11'
05-05 10:59:01.453 I/DEBUG   (  181): ABI: 'arm'
05-05 10:59:01.453 I/DEBUG   (  181): pid: 5559, tid: 5559, name: sh  >>> sh <<<
05-05 10:59:01.453 I/DEBUG   (  181): signal 13 (SIGPIPE), code 0 (SI_USER), fault addr --------
05-05 10:59:01.463 I/DEBUG   (  181):     r0 ffffffe0  r1 b6c23204  r2 00000031  r3 0000000a
05-05 10:59:01.463 E/DEBUG   (  181): AM write failure (32 / Broken pipe)
05-05 10:59:01.463 I/DEBUG   (  181):     r4 00000003  r5 00000031  r6 00000001  r7 00000004
05-05 10:59:01.463 I/DEBUG   (  181):     r8 00000000  r9 b6fe9408  sl b6c23204  fp 00000000
05-05 10:59:01.463 I/DEBUG   (  181):     ip b6fea11c  sp bee79718  lr b6fd1321  pc b6f6e904  cpsr 20000010
05-05 10:59:01.463 I/DEBUG   (  181): 
05-05 10:59:01.463 I/DEBUG   (  181): backtrace:
05-05 10:59:01.463 I/DEBUG   (  181):     #00 pc 00039904  /system/lib/libc.so (write+12)
05-05 10:59:01.463 I/DEBUG   (  181):     #01 pc 0000f31d  /system/bin/sh
05-05 10:59:01.463 I/DEBUG   (  181):     #02 pc 0000c37b  /system/bin/sh
05-05 10:59:01.463 I/DEBUG   (  181):     #03 pc 0000dce5  /system/bin/sh
05-05 10:59:01.463 I/DEBUG   (  181):     #04 pc 0000cf95  /system/bin/sh
05-05 10:59:01.463 I/DEBUG   (  181):     #05 pc 00018f13  /system/bin/sh
05-05 10:59:01.463 I/DEBUG   (  181):     #06 pc 00002d37  /system/bin/sh
05-05 10:59:01.464 I/DEBUG   (  181):     #07 pc 000128ed  /system/lib/libc.so (__libc_init+44)
05-05 10:59:01.464 I/DEBUG   (  181):     #08 pc 00002e00  /system/bin/sh
05-05 10:59:01.477 I/DEBUG   (  181): 
05-05 10:59:01.477 I/DEBUG   (  181): Tombstone written to: /data/tombstones/tombstone_09

Logs:

Working on bringing ART support to Xposed...

Hey,

I am a software engineer that is curious about contributing to this project. I was wanting to start contributing to creating a solution for ART support. I have pulled down Google/platform-art, Xposed, Xposed-Bridge, and Xposed-Installer. I started reading through the code for Xposed trying to understand . I was wondering where there is any documentation on setting up a debugging/testing environment so I could be able to step through the code and see how it interacts. If you have the time I would love maybe some further information so I can get a good starting point. Furthermore, I have read into ART but again feeling there isn't a lot of documentation for how ART works and interacts from a developers perspective.

Any tips, tricks, books, talks, documentation, etc. that would help would be greatly appreciated. Thanks!

LG encrypted apps can't be loaded

When you install any version of xposed on lg g3 lollipop it cause several apps to crash. These apps are LGSmartCover and Wether applications. You cannot uninstall LGSmartCover because it causes fc's.

xposed causes sygic to crash

Hey rovo

so latelly I tried using xposed(lollipop) and sygic and sygic would crash after doing some research I saw a couple of guys having the same problem (see link 1), so I used the uninstaller and sygic stopped crashing, but first I took a log(see link 2) I would be greatfull if you would at least look into it.

link1:http://forum.xda-developers.com/xposed/xposed-lollipop-sygic-causing-problems-t3114229
link2:https://www.dropbox.com/s/2ambl6xjn3bhetm/2015-08-03_00.39.zip?dl=0

Bootloop on MT6592 SoC [JiaYu G4S Advanced]

The thing is that Xposed generally works, and works fine with some modules, but there are also the modules that can cause the phone to start lagging badly, crashing apps, heating up, then hanging and rebooting (and so a bootloop may be started).

I experience the above described problems with 2 modules: GravityBox and XPrivacy.
I've also already opened issues in their repos: 1 and 2, but M66B (the author of XPrivacy) after reading my logcat.log suggested that the issue might be in the Xposed fw itself, so I'm opening this issue here.

logcat.log with Xprivacy causing bootloop.
logcat.log with GravityBox causing bootloop.

Suggestion: Sorting by compatibility

(I am only posting here because I don't know how else to get your attention, apologies if this isn't the correct place)

Setting in User Interface:
Show:
[]Xposed <4.4.4
[]Xposed 5.0
[]Xposed 5.1
[]Xposed (All) - Default

Example, they fill out something like this that the App would recognize:
Developer Form:

http://i.imgur.com/vJCl7HU.png

I only mention this alternate implementation because I and am sure others don't care about LG, Sony, Amazon, etc.. specific modules and some people would prefer to see only universal usable modules.
EVEN MORE Work but it could be taken a step further by adding the above in addition to allowing the user to hide device specific modules:

http://i.imgur.com/x0hlFfi.png

http://forum.xda-developers.com/showpost.php?p=60279502&postcount=5739

Bootloop on LeTV (log provided)

Xposed not working on this phone. I'm using these files:

XposedInstaller_3.0_alpha4.apk
xposed-v66-sdk21-arm64.zip
xposed-uninstaller-arm64.zip

First, it bootlooped, the log showed:
Cannot load any modules because /data/data/de.robv.android.xposed.installer/conf/modules.list was not found

So i thought installing Gravitybox for Lollipop, would fill that file. But it gave me the same error, so i manually wrote Gravitybox's apk file location on modules.list And now it shows:

07-10 23:22:19.842 I/Xposed ( 4353): -----------------
07-10 23:22:19.842 I/Xposed ( 4353): Starting Xposed version 66, compiled for SDK 21
07-10 23:22:19.842 I/Xposed ( 4353): Device: X600 (Letv), Android version 5.0.2 (SDK 21)
07-10 23:22:19.842 I/Xposed ( 4353): ROM: ABXCNOP5000306151S release-keys
07-10 23:22:19.842 I/Xposed ( 4353): Build fingerprint: Letv/乐视超级手机1/x600:5.0.2/ABXCNOP5000306151S/48:user/release-keys
07-10 23:22:19.842 I/Xposed ( 4353): Platform: arm64-v8a, 64-bit binary, system server: yes
07-10 23:22:19.842 I/Xposed ( 4353): SELinux enabled: yes, enforcing: yes
07-10 23:22:20.853 I/Xposed ( 4353): -----------------
07-10 23:22:20.853 I/Xposed ( 4353): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
07-10 23:22:21.011 I/Xposed ( 4353): Detected ART runtime
07-10 23:22:21.013 I/Xposed ( 4353): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
07-10 23:22:21.122 I/Xposed ( 4353): Loading modules from /data/app/com.ceco.lollipop.gravitybox-1/base.apk
07-10 23:22:21.276 I/Xposed ( 4353): Loading class com.ceco.lollipop.gravitybox.GravityBox
07-10 23:22:21.287 I/Xposed ( 4353): GB:Hardware: mt6795
07-10 23:22:21.287 I/Xposed ( 4353): GB:Product: 乐视超级手机1
07-10 23:22:21.287 I/Xposed ( 4353): GBevice manufacturer: Letv
07-10 23:22:21.287 I/Xposed ( 4353): GBevice brand: Letv
07-10 23:22:21.287 I/Xposed ( 4353): GBevice model: X600
07-10 23:22:21.290 I/Xposed ( 4353): GBevice type: phone
07-10 23:22:21.290 I/Xposed ( 4353): GB:Is MTK device: true
07-10 23:22:21.290 I/Xposed ( 4353): GB:Is Xperia device: false
07-10 23:22:21.290 I/Xposed ( 4353): GB:Is Moto XT device: false
07-10 23:22:21.291 I/Xposed ( 4353): GB:Has Lenovo custom UI: false
07-10 23:22:21.291 I/Xposed ( 4353): GB:Has telephony support: true
07-10 23:22:21.294 I/Xposed ( 4353): GB:Has Gemini support: true
07-10 23:22:21.294 I/Xposed ( 4353): GB:Android SDK: 21
07-10 23:22:21.294 I/Xposed ( 4353): GB:Android Release: 5.0.2
07-10 23:22:21.294 I/Xposed ( 4353): GB:ROM: ABXCNOP5000306151S release-keys
07-10 23:22:21.329 E/Xposed ( 4353): java.lang.NoSuchMethodError: com.android.internal.telephony.uicc.UiccController #setNotification(int)#exact
07-10 23:22:21.329 E/Xposed ( 4353): at de.robv.android.xposed.XposedHelpers.findMethodExa ct(XposedHelpers.java:181)
07-10 23:22:21.329 E/Xposed ( 4353): at de.robv.android.xposed.XposedHelpers.findAndHookMe thod(XposedHelpers.java:131)
07-10 23:22:21.329 E/Xposed ( 4353): at de.robv.android.xposed.XposedHelpers.findAndHookMe thod(XposedHelpers.java:138)
07-10 23:22:21.329 E/Xposed ( 4353): at com.ceco.lollipop.gravitybox.PhoneWrapper.initZygo te(PhoneWrapper.java:180)
07-10 23:22:21.329 E/Xposed ( 4353): at com.ceco.lollipop.gravitybox.GravityBox.initZygote (GravityBox.java:63)
07-10 23:22:21.329 E/Xposed ( 4353): at de.robv.android.xposed.XposedBridge.loadModule(Xpo sedBridge.java:464)
07-10 23:22:21.329 E/Xposed ( 4353): at de.robv.android.xposed.XposedBridge.loadModules(Xp osedBridge.java:413)
07-10 23:22:21.329 E/Xposed ( 4353): at de.robv.android.xposed.XposedBridge.main(XposedBri dge.java:103)
07-10 23:22:21.385 E/Xposed ( 4353): de.robv.android.xposed.XposedHelpers$ClassNotFound Error: java.lang.ClassNotFoundException: com.mediatek.op.telephony.ServiceStateExt
07-10 23:22:21.385 E/Xposed ( 4353): at de.robv.android.xposed.XposedHelpers.findClass(Xpo sedHelpers.java:54)
07-10 23:22:21.385 E/Xposed ( 4353): at de.robv.android.xposed.XposedHelpers.findAndHookMe thod(XposedHelpers.java:138)
07-10 23:22:21.385 E/Xposed ( 4353): at com.ceco.lollipop.gravitybox.ModTelephony.initZygo te(ModTelephony.java:80)
07-10 23:22:21.385 E/Xposed ( 4353): at com.ceco.lollipop.gravitybox.GravityBox.initZygote (GravityBox.java:67)
07-10 23:22:21.385 E/Xposed ( 4353): at de.robv.android.xposed.XposedBridge.loadModule(Xpo sedBridge.java:464)
07-10 23:22:21.385 E/Xposed ( 4353): at de.robv.android.xposed.XposedBridge.loadModules(Xp osedBridge.java:413)
07-10 23:22:21.385 E/Xposed ( 4353): at de.robv.android.xposed.XposedBridge.main(XposedBri dge.java:103)
07-10 23:22:21.385 E/Xposed ( 4353): Caused by: java.lang.ClassNotFoundException: com.mediatek.op.telephony.ServiceStateExt
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.Class.classForName(Native Method)
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.Class.forName(Class.java:308)
07-10 23:22:21.385 E/Xposed ( 4353): at external.org.apache.commons.lang3.ClassUtils.getCl ass(ClassUtils.java:823)
07-10 23:22:21.385 E/Xposed ( 4353): at de.robv.android.xposed.XposedHelpers.findClass(Xpo sedHelpers.java:52)
07-10 23:22:21.385 E/Xposed ( 4353): ... 6 more
07-10 23:22:21.385 E/Xposed ( 4353): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.mediatek.op.telephony.ServiceStateExt" on path: DexPathList[[zip file "/system/framework/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
07-10 23:22:21.385 E/Xposed ( 4353): at dalvik.system.BaseDexClassLoader.findClass(BaseDex ClassLoader.java:56)
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.ClassLoader.loadClass(ClassLoader.java:5 11)
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.ClassLoader.loadClass(ClassLoader.java:4 69)
07-10 23:22:21.385 E/Xposed ( 4353): ... 10 more
07-10 23:22:21.385 E/Xposed ( 4353): Suppressed: java.lang.ClassNotFoundException: com.mediatek.op.telephony.ServiceStateExt
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.Class.classForName(Native Method)
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.BootClassLoader.findClass(ClassLoader.ja va:781)
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.BootClassLoader.loadClass(ClassLoader.ja va:841)
07-10 23:22:21.385 E/Xposed ( 4353): at java.lang.ClassLoader.loadClass(ClassLoader.java:5 04)
07-10 23:22:21.385 E/Xposed ( 4353): ... 11 more
07-10 23:22:21.385 E/Xposed ( 4353): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

This phone is running EUI, a custom UI from LeTV, but i do not think it's heavily customized, but what do i know?... Will xposed only work if this ROM is deodex or something? Anything more i can do to debug/troubleshoot this?

Android 5.1

hi, i have a nexus 5 with Android 5.1 with root, which version works of Xposed ??
thank you

SettingsProvider classes not found, results in boot loop

For device:

I/Xposed  ( 7896): Starting Xposed version 67, compiled for SDK 21
I/Xposed  ( 7896): Device: 6045I (TCL ALCATEL ONETOUCH), Android version 5.0.2 (SDK 21)
I/Xposed  ( 7896): ROM: LRX22G release-keys
I/Xposed  ( 7896): Build fingerprint: TCL/6045I/idol3:5.0.2/LRX22G/v7SQR-0:user/release-keys
I/Xposed  ( 7896): Platform: arm64-v8a, 64-bit binary, system server: yes
I/Xposed  ( 7896): SELinux enabled: yes, enforcing: no

There seems to be something wrong with permission:

I/art     ( 8134): DexFile_isDexOptNeeded file /system/priv-app/SettingsProvider/arm64/SettingsProvider.odex needs to be recompiled with Xposed for /system/priv-app/SettingsProvider/SettingsProvider.apk
W/Binder  ( 8134): Caught a RuntimeException from the binder stub implementation.
W/Binder  ( 8134): java.lang.NullPointerException: Attempt to invoke interface method 'int android.app.IActivityManager.checkPermission(java.lang.String, int, int)' on a null object reference
W/Binder  ( 8134):  at android.app.ContextImpl.checkPermission(ContextImpl.java:1905)
W/Binder  ( 8134):  at android.app.ContextImpl.checkCallingOrSelfPermission(ContextImpl.java:1931)
W/Binder  ( 8134):  at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:1968)
W/Binder  ( 8134):  at com.android.server.power.PowerManagerService$BinderService.releaseWakeLock(PowerManagerService.java:2908)
W/Binder  ( 8134):  at android.os.IPowerManager$Stub.onTransact(IPowerManager.java:94)
W/Binder  ( 8134):  at android.os.Binder.execTransact(Binder.java:446)
W/ResourceType( 8204): CREATING STRING CACHE OF 56 bytes
W/ResourceType( 8204): CREATING STRING CACHE OF 1048 bytes

So eventually boot failed since essential services cannot find SettingsProvider:
e.g.

W/ActivityManager( 7422): Can't addPackageDependency on system process
E/System  ( 7422): ******************************************
E/System  ( 7422): ************ Failure starting core service
E/System  ( 7422): java.lang.RuntimeException: Unable to get provider com.android.providers.settings.SettingsProvider: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.settings.SettingsProvider" on path: DexPathList[[zip file "/system/priv-app/SettingsProvider/SettingsProvider.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
E/System  ( 7422):  at android.app.ActivityThread.installProvider(ActivityThread.java:5004)
E/System  ( 7422):  at android.app.ActivityThread.installContentProviders(ActivityThread.java:4596)
E/System  ( 7422):  at android.app.ActivityThread.installSystemProviders(ActivityThread.java:5182)
E/System  ( 7422):  at com.android.server.am.ActivityManagerService.installSystemProviders(ActivityManagerService.java:10292)
E/System  ( 7422):  at com.android.server.SystemServer.startOtherServices(SystemServer.java:504)
E/System  ( 7422):  at com.android.server.SystemServer.run(SystemServer.java:281)
E/System  ( 7422):  at com.android.server.SystemServer.main(SystemServer.java:195)
E/System  ( 7422):  at java.lang.reflect.Method.invoke(Native Method)
E/System  ( 7422):  at java.lang.reflect.Method.invoke(Method.java:372)
E/System  ( 7422):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
E/System  ( 7422):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)
E/System  ( 7422):  at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:115)
E/System  ( 7422): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.providers.settings.SettingsProvider" on path: DexPathList[[zip file "/system/priv-app/SettingsProvider/SettingsProvider.apk"],nativeLibraryDirectories=[/vendor/lib64, /system/lib64]]
E/System  ( 7422):  at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
E/System  ( 7422):  at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/System  ( 7422):  at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
E/System  ( 7422):  at android.app.ActivityThread.installProvider(ActivityThread.java:4989)
E/System  ( 7422):  ... 11 more
E/System  ( 7422):  Suppressed: java.io.IOException: Entry not found
E/System  ( 7422):      at dalvik.system.DexFile.openDexFileNative(Native Method)
E/System  ( 7422):      at dalvik.system.DexFile.openDexFile(DexFile.java:295)
E/System  ( 7422):      at dalvik.system.DexFile.<init>(DexFile.java:80)
E/System  ( 7422):      at dalvik.system.DexFile.<init>(DexFile.java:59)
E/System  ( 7422):      at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)
E/System  ( 7422):      at dalvik.system.DexPathList.makeDexElements(DexPathList.java:231)
E/System  ( 7422):      at dalvik.system.DexPathList.<init>(DexPathList.java:109)
E/System  ( 7422):      at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.java:48)
E/System  ( 7422):      at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:65)
E/System  ( 7422):      at android.app.ApplicationLoaders.getClassLoader(ApplicationLoaders.java:57)
E/System  ( 7422):      at android.app.LoadedApk.getClassLoader(LoadedApk.java:361)
E/System  ( 7422):      at de.robv.android.xposed.XposedBridge$4.afterHookedMethod(XposedBridge.java:240)
E/System  ( 7422):      at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:664)
E/System  ( 7422):      at android.app.LoadedApk.<init>(<Xposed>)
E/System  ( 7422):      at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1752)
E/System  ( 7422):      at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1713)
E/System  ( 7422):      at android.app.ActivityThread.getPackageInfo(ActivityThread.java:1685)
E/System  ( 7422):      at android.app.ContextImpl.createPackageContextAsUser(ContextImpl.java:2174)
E/System  ( 7422):      at android.app.ContextImpl.createPackageContext(ContextImpl.java:2161)
E/System  ( 7422):      at android.content.ContextWrapper.createPackageContext(ContextWrapper.java:658)
E/System  ( 7422):      at android.app.ActivityThread.installProvider(ActivityThread.java:4974)
E/System  ( 7422):      ... 11 more
E/System  ( 7422):  Caused by: java.io.IOException: Failed to open file '/data/dalvik-cache/arm64/system@priv-app@[email protected]@classes.dex': Permission denied
E/System  ( 7422):      ... 32 more
E/System  ( 7422):  Suppressed: java.lang.ClassNotFoundException: com.android.providers.settings.SettingsProvider
E/System  ( 7422):      at java.lang.Class.classForName(Native Method)
E/System  ( 7422):      at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
E/System  ( 7422):      at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
E/System  ( 7422):      at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
E/System  ( 7422):      ... 13 more
E/System  ( 7422):  Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

How to fix this?

Full logcat: http://paste.ubuntu.com/11938673/

Lag

Could it be that XPOSED slightly lag the phone? without xposed phone is seems somewhat faster

Xposed break Dolphin Emulator

Xposed for Lollipop breaks Dolphin Emulation(the fastmem path stop working). The first time I flashed I have not made the connection but when i reflash my rom Dolphin Emulator work anew. I reflash Xposed and it breaks Dolphin Emulator again.

There is something wrong with you libs.

Please fix it. I like your work.

I can provide logs if needed.

Device : Nvidia Shield Tablet
OS : Lollipop 5.0.1
Processor : ARM Cortex A15

http://pastebin.com/qB14NcxZ

https://mega.co.nz/#!dBMjlJSS!ZdnqMRIMOxCRFdFbORKPzC4TXOw_5rQtMeiL_gk0bb4

Suggestions for Xposed

Hello rovo89,
I hope this is the right place to send in suggestions. I love Xposed framework and I'm planning on donating soon. I just have a few suggestions:
•I know that XDA can be used for commenting, but it would be amazing if it was incorporated in Xposed
•Using Accounts from google and XDA would make the commenting community bigger.
•Statistics will let you know your users and will help you grow

Sony Z3 Compact bootloop

install goes fine. First boot is okay. xposed works. From 2nd boot the phone will bootloop. Nothing will make the phone boot again but a factory reset.

Xposed on lollipop does not write to application log

public class XMain implements IXposedHookInitPackageResources, IXposedHookLoadPackage
{
    @Override
    public void handleLoadPackage(LoadPackageParam lpparam) throws Throwable
    {
        XposedBridge.log("-------------handleLoadPackage");
    }

    @Override
    public void handleInitPackageResources(InitPackageResourcesParam resparam) throws Throwable
    {
        XposedBridge.log("-------------handleInitPackageResources");
    }
}

I do not see any debug or exception log from Xposed under application menu except logs coming from initZygote.
But this log can be found in logcat. Unfortunately logcat contains only last 10k lines, so I'm not able see any exceptions or debug information after phone full restart.
how to solve this issue?

Support for Android 5.1

Android 5.1 (SDK 22) is now out, xposed-arm-20150308.zip is compiled against SDK 21 and won't install.

LG G3s (D722) Lollipop: com.android.phone crashes with Xposed installed

When the Xposed framework is installed on the LG G3s, calling isn't working anymore. Every second or two, there is a popup with the message that "com.android.phone has stopped". I have confirmed with a few other G3s owners to confirm this issue, it also happens to them

To reproduce this problem, dalvik-cache needs to be cleared from recovery. Not clearing the dalvik cache makes the phone work, but incredibly slow and also with the "low storage" problem. It seems like the dalvik-cache isn't recreated correctly with the Xposed framework installed, the folder (/data/dalvik-cache) gets way bigger than without Xposed. Also with Xposed there are 135 apps to be optimized, on the same system setup without Xposed there are only 49 apps to be optimized.

I do have an Xposed log file and also a logcat file, I hope it's useful for finding the problem.
Xposed log file: http://pastebin.com/Webt1f4P
Logcat (too big for pastebin): https://mega.co.nz/#!wBAFFDQL!h_Uor7Laopc-Uc1jAKQzEFFRmj7O0QTjGlspVZ0tgyc

Btw: the issue with LGWeather and LGCover also applies for the G3s, but that's of less priority for our device in my opinion. Before installing the framework, I deleted both apps. In that way the logs shouldn't be spammed with the problems those apps cause.

Text relocations

"adb install X.apk" on Moto E causes this warning:
WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Please fix.

Custom ROM's just globally disabled the warning that's why they don't show it.
I think it should be fixed with -fPIC

IOException: Invalid argument while reading <file>

The soft reboot requirement of the current implementation of Xposed on LP can be a real PITA when someone has to power off their phone or their battery dies, especially if they're using GNL with a non-standard homescreen grid size and have widgets in the expanded rows or columns, as GNL does not offer a way to save those widgets and their locations, so they're lost after a full reboot and need to be set up again after a soft reboot. I'll admit I'm not super familiar with how Xposed works, so I'm not positive that what I'm about to suggest is even viable. If you have to tell me I'm wrong, I'm a big boy and can take it :)

If Xposed is being loaded in advance of the launcher (which I imagine it would be), it should be possible to detect whether or not Xposed is active and issue a soft reboot, if necessary, before the launcher (or anything else) starts up. Something like:

Check Xposed status:
    If installed and active, delete reboot flag if found; we're done.
    If installed and not active, check for reboot flag:
        If flag is found, we've just done an automatic soft reboot, something is wrong.
            Remove the flag, display an error message, we're done.
        If flag is not found, create flag and immediately soft reboot.

This way, we're creating a flag to indicate that we're doing an automatic soft reboot, so we know, when we come back, that we've just done one and not to do another if Xposed still isn't working (e.g. to avoid an Xposed-induced boot loop). Assuming this gets in ahead of the launcher (or other components that might throw away someone's careful configuration if Xposed isn't running), it should be a viable workaround for the requirement to manually soft reboot in order to get Xposed working under LP.

Admittedly, it's a bit of a hack and it will lengthen boot times for Xposed users on LP, but I think most of us would agree that's a fair tradeoff to ensure our homescreen widgets and whatnot don't get blown away, especially since we soft reboot whenever possible anyway.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.