[Xposed Framework Modules] stayawake:
Not working on my Xperia Z2 (Custom ROM, but stock based, LP 5.1.1)

Log:

03-28 12:12:05.438 I/Xposed ( 467): -----------------
03-28 12:12:05.438 I/Xposed ( 467): Starting Xposed version 80, compiled for SDK 22
03-28 12:12:05.438 I/Xposed ( 467): Device: D6503 (Sony), Android version 5.1.1 (SDK 22)
03-28 12:12:05.438 I/Xposed ( 467): ROM: 23.4.A.1.264
03-28 12:12:05.438 I/Xposed ( 467): Build fingerprint: Sony/D6503/D6503:5.1.1/23.4.A.1.264/2418263178:user/release-keys
03-28 12:12:05.438 I/Xposed ( 467): Platform: armeabi-v7a, 32-bit binary, system server: yes
03-28 12:12:05.438 I/Xposed ( 467): SELinux enabled: yes, enforcing: no
03-28 12:12:08.028 I/Xposed ( 467): -----------------
03-28 12:12:08.033 I/Xposed ( 467): Added Xposed (/system/framework/XposedBridge.jar) to CLASSPATH
03-28 12:12:08.493 I/Xposed ( 467): Detected ART runtime
03-28 12:12:08.528 I/Xposed ( 467): Found Xposed class de/robv/android/xposed/XposedBridge, now initializing
03-28 12:12:08.994 I/Xposed ( 467): Loading modules from /data/app/tk.wasdennnoch.androidn_ify-1/base.apk
03-28 12:12:09.176 I/Xposed ( 467): Loading class tk.wasdennnoch.androidn_ify.XposedHook
03-28 12:12:11.037 E/Xposed ( 1274): de.robv.android.xposed.XposedHelpers$ClassNotFoundError: java.lang.ClassNotFoundException: com.android.server.policy.PhoneWindowManager
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:55)
03-28 12:12:11.037 E/Xposed ( 1274): at tk.wasdennnoch.androidn_ify.recents.RecentsHooks.hookInterceptKeyBeforeDispatching(RecentsHooks.java:60)
03-28 12:12:11.037 E/Xposed ( 1274): at tk.wasdennnoch.androidn_ify.XposedHook.handleLoadPackage(XposedHook.java:26)
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.XposedBridge$3$1.beforeHookedMethod(XposedBridge.java:218)
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
03-28 12:12:11.037 E/Xposed ( 1274): at com.android.server.SystemServer.startBootstrapServices(<Xposed>)
03-28 12:12:11.037 E/Xposed ( 1274): at com.android.server.SystemServer.run(SystemServer.java:267)
03-28 12:12:11.037 E/Xposed ( 1274): at com.android.server.SystemServer.main(SystemServer.java:183)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.reflect.Method.invoke(Native Method)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.reflect.Method.invoke(Method.java:372)
03-28 12:12:11.037 E/Xposed ( 1274): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
03-28 12:12:11.037 E/Xposed ( 1274): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
03-28 12:12:11.037 E/Xposed ( 1274): Caused by: java.lang.ClassNotFoundException: com.android.server.policy.PhoneWindowManager
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.Class.classForName(Native Method)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.Class.forName(Class.java:309)
03-28 12:12:11.037 E/Xposed ( 1274): at external.org.apache.commons.lang3.ClassUtils.getClass(ClassUtils.java:823)
03-28 12:12:11.037 E/Xposed ( 1274): at de.robv.android.xposed.XposedHelpers.findClass(XposedHelpers.java:53)
03-28 12:12:11.037 E/Xposed ( 1274): ... 15 more
03-28 12:12:11.037 E/Xposed ( 1274): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.server.policy.PhoneWindowManager" on path: DexPathList[[zip file "/system/framework/services.jar", zip file "/system/framework/ethernet-service.jar", zip file "/system/framework/wifi-service.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
03-28 12:12:11.037 E/Xposed ( 1274): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
03-28 12:12:11.037 E/Xposed ( 1274): ... 19 more
03-28 12:12:11.037 E/Xposed ( 1274): Suppressed: java.lang.ClassNotFoundException: Didn't find class "com.android.server.policy.PhoneWindowManager" on path: DexPathList[[zip file "/system/framework/XposedBridge.jar"],nativeLibraryDirectories=[/vendor/lib, /system/lib]]
03-28 12:12:11.037 E/Xposed ( 1274): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
03-28 12:12:11.037 E/Xposed ( 1274): ... 20 more
03-28 12:12:11.037 E/Xposed ( 1274): Suppressed: java.lang.ClassNotFoundException: com.android.server.policy.PhoneWindowManager
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.Class.classForName(Native Method)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
03-28 12:12:11.037 E/Xposed ( 1274): at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
03-28 12:12:11.037 E/Xposed ( 1274): ... 21 more
03-28 12:12:11.037 E/Xposed ( 1274): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack available

Enviado de meu D6503 usando Tapatalk