[Galaxy S 4 i9505 Original Android Development] wpyh:
I am using the 5/24 build and LG Keyboard doesn't work. I've tried 6 different LG Keyboard packages, but none of them works. Sorry if this is not the right place, but reading the logcat it seems that the kernel may be the problem.

Actually, the different LG Keyboard packages have almost the same error, this is the relevant logcat output:

I/auditd (15252): Starting up
E/auditd (15252): Failed on audit_set_pid with error: Protocol not supported
I/auditd (15252): Exiting
W/InputMethodManagerService( 592): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@b590d70 attribute=null, token = android.os.BinderProxy@3ca5ef3e
I/ActivityManager( 592): Start proc 15256:com.lge.ime/u0a143 for service com.lge.ime/.LgeImeImpl
V/InputMethodManagerService( 592): Adding window token: android.os.Binder@2288e80f
W/Zygote (15256): createProcessGroup failed, kernel missing CONFIG_CGROUP_CPUACCT?
E/libprocessgroup(15256): failed to make and chown /acct/uid_10143: Read-only file system
I/ActivityManager( 592): Killing 7317:com.android.deskclock/u0a66 (adj 15): empty #17
W/libprocessgroup( 592): failed to open /acct/uid_10066/pid_7317/cgroup.procs: No such file or directory
I/ResourceManagerService(15256): NoSuchMethodException
I/ResourceManagerService(15256): java.lang.NoSuchMethodException: Initialize [class android.content.res.Resources]
I/ResourceManagerService(15256):	at java.lang.Class.getMethod(Class.java:664)
I/ResourceManagerService(15256):	at java.lang.Class.getDeclaredMethod(Class.java:626)
I/ResourceManagerService(15256):	at com.visionobjects.resourcemanager.DataStorageProvider.onCreate(Unknown Source)
I/ResourceManagerService(15256):	at android.content.ContentProvider.attachInfo(ContentProvider.java:1730)
I/ResourceManagerService(15256):	at android.content.ContentProvider.attachInfo(ContentProvider.java:1705)
I/ResourceManagerService(15256):	at android.app.ActivityThread.installProvider(ActivityThread.java:5034)
I/ResourceManagerService(15256):	at android.app.ActivityThread.installContentProviders(ActivityThread.java:4629)
I/ResourceManagerService(15256):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4569)
I/ResourceManagerService(15256):	at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
I/ResourceManagerService(15256):	at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:684)
I/ResourceManagerService(15256):	at android.app.ActivityThread.handleBindApplication(Unknown Source)
I/ResourceManagerService(15256):	at android.app.ActivityThread.access$1600(ActivityThread.java:154)
I/ResourceManagerService(15256):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1382)
I/ResourceManagerService(15256):	at android.os.Handler.dispatchMessage(Handler.java:102)
I/ResourceManagerService(15256):	at android.os.Looper.loop(Looper.java:135)
I/ResourceManagerService(15256):	at android.app.ActivityThread.main(ActivityThread.java:5289)
I/ResourceManagerService(15256):	at java.lang.reflect.Method.invoke(Native Method)
I/ResourceManagerService(15256):	at java.lang.reflect.Method.invoke(Method.java:372)
I/ResourceManagerService(15256):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
I/ResourceManagerService(15256):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
I/ResourceManagerService(15256):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
D/AndroidRuntime(15256): Shutting down VM
E/AndroidRuntime(15256): FATAL EXCEPTION: main
E/AndroidRuntime(15256): Process: com.lge.ime, PID: 15256
E/AndroidRuntime(15256): java.lang.NullPointerException: Attempt to invoke virtual method 'void android.inputmethodservice.SoftInputWindow.setToken(android.os.IBinder)' on a null object reference
E/AndroidRuntime(15256):	at android.inputmethodservice.InputMethodService$InputMethodImpl.attachToken(InputMethodService.java:364)
E/AndroidRuntime(15256):	at android.inputmethodservice.IInputMethodWrapper.executeMessage(IInputMethodWrapper.java:155)
E/AndroidRuntime(15256):	at com.android.internal.os.HandlerCaller$MyHandler.handleMessage(HandlerCaller.java:37)
E/AndroidRuntime(15256):	at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime(15256):	at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime(15256):	at android.app.ActivityThread.main(ActivityThread.java:5289)
E/AndroidRuntime(15256):	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(15256):	at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime(15256):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime(15256):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
E/AndroidRuntime(15256):	at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)

If I understand it correctly, the kernel is missing a config option (CPU accounting?). I am willing to test a kernel with such feature if it would help.

Also, why is there an error "NoSuchMethodException" for Initialize() ?

Thanks.