[WIP] Multiple TaskSwitchers PORT [XU]help needed ? - Sony Xperia P, U, Sola, Go

well i am trying to port the recents view from Ligux to Xperia U Stock ICS 6.1.1.B.1.10
Systemui works
and Stock Taskmanager as well but * WebOS and Sense4 ones doesnt *
in all smali i have changed the IDS to correct ones however
when i change to other taskmanager
* using Liguxsettings because i have ported it from ligux so code are also same as from ligux *
it Stops :/
and i get
Code:
[ 01-25 16:15:28.130 1916:0x77c E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.NullPointerException
at com.android.systemui.recent.RecentsVerticalScrollView.update(RecentsVerticalScrollView.java:117)
at com.android.systemui.recent.RecentsVerticalScrollView.access$300(RecentsVerticalScrollView.java:36)
at com.android.systemui.recent.RecentsVerticalScrollView$8.onInvalidated(RecentsVerticalScrollView.java:330)
at android.database.DataSetObservable.notifyInvalidated(DataSetObservable.java:47)
at android.widget.BaseAdapter.notifyDataSetInvalidated(BaseAdapter.java:59)
at com.android.systemui.recent.RecentsPanelView.refreshRecentTasksList(RecentsPanelView.java:607)
at com.android.systemui.recent.RecentsPanelView.show(RecentsPanelView.java:216)
at com.android.systemui.recent.RecentsPanelView.show(RecentsPanelView.java:208)
at com.android.systemui.statusbar.phone.PhoneStatusBar$H.handleMessage(PhoneStatusBar.java:1152)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4448)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:823)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:590)
at dalvik.system.NativeStart.main(Native Method)
:/
however i now dunno what to edit anymore because when i compare it seems all right :/
if someone can please help me
my systemui + settings are attached

Related

[Q] Whatsapp Keep Crashing in MIUIv5 For Huawei Ascend P6.

Dear Sir,
I Am Using Huawei P6. Someone Recently Port MIUIV5 For Our Device ROM Is Working Properly Only This Missing Is Whatsapp Is Not Working. When We Open Whatsapp it Keep Crashing. I Installed Whatsapp+ Also Same Thing. i Clear Cache And Tried Everything i Can.
Older Version Of Whatsapp Is Working. But Older Version Will Work For More 10 Days Then It Will Ask For Update. Please Help Me If YOu Can.
Here Is Log :
java.lang.VerifyError: com/b
at com.whatsapp.App.onCreate(App.java:507)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java)
at android.app.ActivityThread.access$1300(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at android.app.ActivityThread.main(ActivityThread.java)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java)
at dalvik.system.NativeStart.main(Native Method)

[Q] No implementation found for native ResampleInputStream;.fir21:([BI[BII)V

I built my AOSP JB for a tablet, including all necessary customizations (project details discussed over here: https://groups.google.com/forum/#!forum/renesas-emev-osp).
I'm now in the clean-up stage, with a list of "minor" issues being debugged and hopefully removed. One of these is the use of Google Voice Search, which fails with this message:
Unfortunately, Voice Search has stopped
I've attached the complete logcat at http://pastebin.com/K1ces0Ai. Latest lines are those from the failure above.
I think these are the critical ones:
W/dalvikvm( 1130): No implementation found for native Lcom/google/android/voicesearch/endpointer/ResampleInputStream;.fir21[BI[BII)V
W/dalvikvm( 1130): threadid=16: thread exiting with uncaught exception (group=0x40a46300)
E/AndroidRuntime( 1130): FATAL EXCEPTION: Thread-122
E/AndroidRuntime( 1130): java.lang.UnsatisfiedLinkError: Native method not found: com.google.android.voicesearch.endpointer.ResampleInputStream.fir21[BI[BII)V
E/AndroidRuntime( 1130): at com.google.android.voicesearch.endpointer.ResampleInputStream.fir21(Native Method)
I found this in JB source code:
./frameworks/base/media/jni/android_media_ResampleInputStream.cpp
where fir21 is implemented, but it looks like it hasn't been compiled, or not correctly compiled. Could it be?
I looked at http://developer.android.com/training/articles/perf-jni.html#faq_ULE too, but it's been of little help.
Enabling debug logs I can see the library being loaded and methods registered:
I/MediaPlayerJNI( 72): JNI_OnLoad registering functions...
I/ResampleInputStream( 72): android/media/ResampleInputStream JNI registering
So I don't understand why, when java requires "fir21" from ResampleInputStream JNI, it can't find it. Naming should be correct, I guess... (this is all OOB AOSP code).
Any suggestions a bout how to debug this?
Thanks in advance!

[Q] troubles with apktool

hello there, i'm trying to add translations to MiuiExpress APK (http://xitong.xiaomi.com/index) decompile and recompile went well, but when i launch the APK on my phone it crash with the following fc log :
HTML:
{"platform":"4.4.2","exception_class":"java.lang.RuntimeException","error_type":"fc","build_version":"9a658b46e5","imei":"","package_name":"com.miui.miuilite","device":"Nexus 4","stack_track":"java.lang.RuntimeException: Unable to create service com.xiaomi.mms.transaction.SmsService: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.app.Application.getPackageName()' on a null object reference
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2602)
at android.app.ActivityThread.access$1800(ActivityThread.java:145)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1288)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5081)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:607)\nCaused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.app.Application.getPackageName()' on a null object reference
at com.xiaomi.mms.transaction.SmsService.onCreate(SmsService.java:36)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2592)
... 8 more\n","app_version":"1.0.1","network":"Orange F","exception_source_method":"android.app.ActivityThread.handleCreateService"}, processName is com.miui.miuilite
any idea what is the problem ? thanks you much
PS: even if i don't touch the APK after recompiling it i got the same error on my phone i use apktool 2.0.0 BETA 9

[Xposed][MODULE][4.0+] XInternalSD [v4.8] Exception on Redmi Note S1

Here is log. OS: MIUI 8.
Any fix or work around I can try? Appreciate in advance.
---
Loading Xposed v54 (for Zygote)...
Running ROM 'KTU84P' with fingerprint 'Xiaomi/gucci/gucci:4.4.4/KTU84P/6.12.22:user/release-keys'
Loading modules from /data/app/com.pyler.xinternalsd-1.apk
Loading class com.pyler.xinternalsd.XInternalSD
java.lang.IllegalStateException: Unable to get package info for com.miui.securitycenter.dynamic; is package not installed?
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:368)
at android.app.LoadedApk.getClassLoader(LoadedApk.java:321)
at de.robv.android.xposed.XposedBridge$3.afterHookedMethod(XposedBridge.java:249)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at android.app.LoadedApk.<init>(Native Method)
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at android.app.ContextCompat.createLoadedApk(ContextCompat.java:58)
at android.app.ContextCompat.createApplicationContext(ContextCompat.java:27)
at com.miui.securitycenter.dynamic.ApkLoader.getDynamicContext(ApkLoader.java:164)
at com.miui.securitycenter.dynamic.DynamicServiceManager.createOrUpdateManagerWT(DynamicServiceManager.java:145)
at com.miui.securitycenter.dynamic.DynamicServiceManager.connectWT(DynamicServiceManager.java:127)
at com.miui.securitycenter.dynamic.DynamicServiceManager.access$400(DynamicServiceManager.java:20)
at com.miui.securitycenter.dynamic.DynamicServiceManager$DynamicWorkHandler.handleMessage(DynamicServiceManager.java:193)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.os.HandlerThread.run(HandlerThread.java:61)
It has nothing with this module.

Problem with apps like instgram

Hello
I'm facing a problem while openning alot of apps or installing them for example instgram
Here's the report bug
java.lang.RuntimeException: Unable to instantiate application com.instagram.app.InstagramAppShell: java.lang.RuntimeException: java.io.IOException: cannot mkdir: /data/user/0/com.instagram.android/lib-main
at android.app.LoadedApk.makeApplication(LoadedApk.java:1073)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5916)
at android.app.ActivityThread.access$1200(ActivityThread.java:200)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1673)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.RuntimeException: java.io.IOException: cannot mkdir: /data/user/0/com.instagram.android/lib-main
at X.0DB.B9842)
at com.instagram.app.InstagramAppShell.attachBaseContext9514)
at android.app.Application.attach(Application.java:237)
at android.app.Instrumentation.newApplication(Instrumentation.java:1122)
at android.app.LoadedApk.makeApplication(LoadedApk.java:1065)
... 9 more
Caused by: java.io.IOException: cannot mkdir: /data/user/0/com.instagram.android/lib-main
at X.0E1.C16718)
at X.0DN.E13847)
at X.0DN.B13783)
at X.0DB.B9823)
... 13 more
Click to expand...
Click to collapse
Ahmed1mohsen said:
Hello
I'm facing a problem while openning alot of apps or installing them for example instgram
Here's the report bug
Click to expand...
Click to collapse
Nobody can help !

Categories

Resources