[Q] TTS force close in Navigation - Fascinate Q&A, Help & Troubleshooting

I am using sonofskywalker3 Rom 4.4 and ec10_voodoo kernel and kept having force close problem with TTS service (Process.android.tts) when trying to use Navigation. Does anyone have similar problems?

This is the dump from the logcat:
I/ActivityManager( 2681): Start proc android.tts for service android.tts/.TtsService: pid=18962 uid=10049 gids={3003, 1015}
V/TtsService(18962): TtsService.onCreate()
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setConfig (ILjava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setup (Ljava/lang/Object;Ljava/lang/Strin
g;Ljava/lang/StringI
W/dalvikvm(18962): ERROR: Unable to find decl for native Landroid/tts/SynthProxy;.native_setLowShelf (ZFFFF)I
E/JNIHelp (18962): RegisterNatives failed for 'android/tts/SynthProxy'
W/dalvikvm(18962): JNI_OnLoad returned bad version (-1) in /system/lib/libttssynthproxy.so 0x483c3420
W/dalvikvm(18962): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Landroid/tts/SynthProxy;.<clinit>
D/AndroidRuntime(18962): Shutting down VM
W/dalvikvm(18962): threadid=1: thread exiting with uncaught exception (group=0x4001d7f0)
E/AndroidRuntime(18962): FATAL EXCEPTION: main
E/AndroidRuntime(18962): java.lang.ExceptionInInitializerError
E/AndroidRuntime(18962): at android.tts.TtsService.onCreate(TtsService.java:158)
E/AndroidRuntime(18962): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2959)
E/AndroidRuntime(18962): at android.app.ActivityThread.access$3300(ActivityThread.java:125)
E/AndroidRuntime(18962): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2087)
E/AndroidRuntime(18962): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(18962): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(18962): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(18962): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(18962): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(18962): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(18962): Caused by: java.lang.UnsatisfiedLinkError: Library ttssynthproxy not found
E/AndroidRuntime(18962): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime(18962): at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime(18962): at android.tts.SynthProxy.<clinit>(SynthProxy.java:154)
E/AndroidRuntime(18962): ... 12 more
I/ ( 2681): dumpmesg > "/data/log/dumpstate_app_error.log"
I/dumpstate(18971): begin

Yes i got the same problem, cant get voice navigation, TTS force close.

Related

[Q] i/o error on database

hello im getting the following errors in the logcat, this couses my phone to crush on acore and others as well.
any ideas about it?
thanks.
I/Database( 1277): sqlite returned: error code = 266, msg = disk I/O error
E/Database( 1277): CREATE TABLE android_metadata failed
E/Database( 1277): Failed to setLocale() when constructing, closing the database
E/Database( 1277): android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:1987)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1855)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:854)
E/Database( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:847)
E/Database( 1277): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:551)
E/Database( 1277): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/Database( 1277): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
E/Database( 1277): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2890)
E/Database( 1277): at com.android.providers.contacts.CallLogProvider.onCreate(CallLogProvider.java:114)
E/Database( 1277): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/Database( 1277): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/Database( 1277): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/Database( 1277): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/Database( 1277): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/Database( 1277): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/Database( 1277): at android.os.Handler.dispatchMessage(Handler.java:99)
E/Database( 1277): at android.os.Looper.loop(Looper.java:130)
E/Database( 1277): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/Database( 1277): at java.lang.reflect.Method.invokeNative(Native Method)
E/Database( 1277): at java.lang.reflect.Method.invoke(Method.java:507)
E/Database( 1277): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:861)
E/Database( 1277): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:619)
E/Database( 1277): at dalvik.system.NativeStart.main(Native Method)
D/AndroidRuntime( 1277): Shutting down VM
W/dalvikvm( 1277): threadid=1: thread exiting with uncaught exception (group=0x4001d560)
E/AndroidRuntime( 1277): FATAL EXCEPTION: main
E/AndroidRuntime( 1277): java.lang.RuntimeException: Unable to get provider com.android.providers.contacts.CallLogProvider: android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/AndroidRuntime( 1277): at android.app.ActivityThread.installProvider(ActivityThread.java:3557)
E/AndroidRuntime( 1277): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/AndroidRuntime( 1277): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/AndroidRuntime( 1277): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 1277): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 1277): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1277): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1277): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 1277): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1277): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1277): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:861)
E/AndroidRuntime( 1277): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:619)
E/AndroidRuntime( 1277): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1277): Caused by: android.database.sqlite.SQLiteDiskIOException: disk I/O error
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:1987)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1855)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:854)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:847)
E/AndroidRuntime( 1277): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:551)
E/AndroidRuntime( 1277): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/AndroidRuntime( 1277): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
E/AndroidRuntime( 1277): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2890)
E/AndroidRuntime( 1277): at com.android.providers.contacts.CallLogProvider.onCreate(CallLogProvider.java:114)
E/AndroidRuntime( 1277): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/AndroidRuntime( 1277): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/AndroidRuntime( 1277): ... 12 more
I/SurfaceFlinger( 1072): Boot is finished (28155 ms)
I/ActivityThread( 1239): Pub com.google.android.gsf.gservices: com.google.android.gsf.gservices.GservicesProvider
I/GservicesProvider( 1239): Gservices pushing to system: true; secure: true
I/ActivityThread( 1239): Pub com.google.android.providers.talk: com.google.android.gsf.talk.TalkProvider
E/OMXPlayer( 980): reset: 0x10240
D/ ( 980): setting block activity: 1

[Q] [Help] Adding Su to build

I'm in the process of learning to build android from source. I've got my AOKP rom booting and am working on adding superuser to it, and am running into troubles. After much googling here is what I've done
Cloned Superuser source code
Code:
git clone git://github.com/ChainsDD/Superuser.git packages/apps/Superuser
Copied the su binary from my current rom (/system/xbin/su) to my device tree
Edited device.mk
Code:
# Build superuser
PRODUCT_PACKAGES := \
Superuser
# copy su binary
PRODUCT_COPY_FILES += \
device/lge/E973/su:system/xbin/su
Everything built fine and Superuser is in my app drawer when rom boots. If i try to open Superuser it force closes. Root checker shows that i am rooted, and typing 'su' in terminal emulator gets root access. Neither will give me a dialog asking to deny or grant.
If i install SuperSuperuser from the market, it will present all the normal dialogs and everything seems as it should.
I'm wondering what it is I'm doing wrong, and how I can correct it.
Here is a logcat of the failed attempt to open superuser
Code:
D/dalvikvm( 2157): Late-enabling CheckJNI
I/ActivityManager( 530): Start proc com.noshufou.android.su for activity com.noshufou.android.su/.Su: pid=2157 uid=10040 gids={50040, 3003, 1015, 1028}
I/dalvikvm( 2157): Turning on JNI app bug workarounds for target SDK version 11...
D/overlay ( 161): FROM_STATE = OV_BYPASS_3_LAYER TO_STATE = OV_CLOSED
I/ActivityThread( 2157): Pub com.noshufou.android.su.provider: com.noshufou.android.su.provider.PermissionsProvider
D/Su.HomeActivity( 2157): onCreate()
D/AndroidRuntime( 2157): Shutting down VM
W/dalvikvm( 2157): threadid=1: thread exiting with uncaught exception (group=0x40dd7930)
E/AndroidRuntime( 2157): FATAL EXCEPTION: main
E/AndroidRuntime( 2157): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.noshufou.android.su/com.noshufou.android.su.HomeActivity}: java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2306)
E/AndroidRuntime( 2157): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2356)
E/AndroidRuntime( 2157): at android.app.ActivityThread.access$600(ActivityThread.java:150)
E/AndroidRuntime( 2157): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1244)
E/AndroidRuntime( 2157): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2157): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2157): at android.app.ActivityThread.main(ActivityThread.java:5193)
E/AndroidRuntime( 2157): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2157): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2157): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 2157): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 2157): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2157): Caused by: java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at com.actionbarsherlock.ActionBarSherlock.wrap(ActionBarSherlock.java:232)
E/AndroidRuntime( 2157): at com.actionbarsherlock.app.SherlockFragmentActivity.getSherlock(SherlockFragmentActivity.java:32)
E/AndroidRuntime( 2157): at com.actionbarsherlock.app.SherlockFragmentActivity.requestWindowFeature(SherlockFragmentActivity.java:265)
E/AndroidRuntime( 2157): at com.noshufou.android.su.HomeActivity.onCreate(HomeActivity.java:59)
E/AndroidRuntime( 2157): at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 2157): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 2157): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2260)
E/AndroidRuntime( 2157): ... 11 more
E/AndroidRuntime( 2157): Caused by: java.lang.NoSuchMethodException: <init> [class android.app.Activity, int]
E/AndroidRuntime( 2157): at java.lang.Class.getConstructorOrMethod(Class.java:460)
E/AndroidRuntime( 2157): at java.lang.Class.getConstructor(Class.java:431)
E/AndroidRuntime( 2157): at com.actionbarsherlock.ActionBarSherlock.wrap(ActionBarSherlock.java:229)
E/AndroidRuntime( 2157): ... 17 more
W/ActivityManager( 530): Force finishing activity com.noshufou.android.su/.Su
D/dalvikvm( 2157): GC_CONCURRENT freed 219K, 15% free 2489K/2912K, paused 2ms+1ms, total 21ms
I/dalvikvm( 530): Jit: resizing JitTable from 8192 to 16384
W/ActivityManager( 530): Activity pause timeout for ActivityRecord{41681370 u0 com.noshufou.android.su/.Su}
I/Process ( 2157): Sending signal. PID: 2157 SIG: 9
I/ActivityManager( 530): Process com.noshufou.android.su (pid 2157) has died.
W/InputMethodManagerService( 530): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
D/dalvikvm( 530): GC_CONCURRENT freed 7964K, 44% free 13574K/23868K, paused 2ms+6ms, total 57ms
D/overlay ( 161): FROM_STATE = OV_CLOSED TO_STATE = OV_BYPASS_3_LAYER
just a lilttle bump, if anyone can just point me in the dirrection of where i'm going wrong here I would be very appreciative.

Porting Rom, crashes after "unfortunately the process com.android.phone has stopped"

Porting Rom, crashes after "unfortunately the process com.android.phone has stopped"
I'm trying to port a 4.0.4 rom from the samsung galaxy note to the xperia play. I've crushed a good amount of bugs so far, but I still can't get it past the boot-splash except for a couple seconds after wiping the dalvik cache or not wiping data on first boot.
So when I flash my attempted port rom over itself with wiping everything but data it boots and I get to the android is updating screen and after it's finished optimizing all the apps a dialog box with "unfortunately the process com.android.phone has stopped" and I can see the android setup screen in the background. But immediately after the dialog box appears my phone soft reboots (it goes immediately to the boot-splash) and is stuck at the boot-splash.
If I flash the attempted port rom after wiping everything including data I'm just stuck at the boot-splash screen.
Here is the logcat when the phone crashes after the error dialog onscreen:
Code:
[ 01-06 06:21:43.507 2024:0x7e8 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create application com.android.phone.PhoneApp: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
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)
Caused by: java.lang.RuntimeException: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at com.android.internal.telephony.PhoneFactory.makeDefaultPhone(PhoneFactory.java)
at com.android.internal.telephony.PhoneFactory.makeDefaultPhones(PhoneFactory.java)
at com.android.phone.PhoneApp.onCreate(PhoneApp.java:443)
at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java)
... 11 more
Caused by: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at java.lang.Class.classForName(Native Method)
at java.lang.Class.forName(Class.java:217)
at java.lang.Class.forName(Class.java:172)
... 15 more
Caused by: java.lang.NoClassDefFoundError: com/android/internal/telephony/SemcRIL
... 18 more
Caused by: java.lang.ClassNotFoundException: com.android.internal.telephony.SemcRIL
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
... 18 more
Right here also seems to be where the setup wizard fails to start or something similar, does anyone know what this log means?
Code:
[ 01-06 07:09:05.237 1923:0x783 E/ViewRootImpl ]
IllegalArgumentException locking surface
java.lang.IllegalArgumentException
at android.view.Surface.lockCanvasNative(Native Method)
at android.view.Surface.lockCanvas(Surface.java)
at android.view.ViewRootImpl.draw(ViewRootImpl.java)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java)
at android.view.ViewRootImpl.handleMessage(ViewRootImpl.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)
[ 01-06 07:09:05.237 1923:0x783 D/PhoneStatusBar ]
disable: < EXPAND ICONS ALERTS ticker SYSTEM_INFO back HOME RECENT clock >
[ 01-06 07:09:05.237 1923:0x7cc I/StorageNotification ]
UMS connection changed to true (media state removed)
[ 01-06 07:09:05.237 2069:0x815 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to get provider com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider: java.lang.NullPointerException
at android.app.ActivityThread.installProvider(ActivityThread.java)
at android.app.ActivityThread.installContentProviders(ActivityThread.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)
Caused by: java.lang.NullPointerException
at android.accounts.AccountManager.getAccounts(AccountManager.java)
at android.accounts.AccountManager.addOnAccountsUpdatedListener(AccountManager.java)
at com.google.android.gsf.subscribedfeeds.AbstractSyncableContentProvider.onCreate(AbstractSyncableContentProvider.java:169)
at com.google.android.gsf.subscribedfeeds.SubscribedFeedsProvider.onCreate(SubscribedFeedsProvider.java:78)
at android.content.ContentProvider.attachInfo(ContentProvider.java)
... 13 more
[ 01-06 07:09:05.247 2069:0x815 I/Process ]
Sending signal. PID: 2069 SIG: 9
[ 01-06 07:09:05.247 2069:0x815 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 07:09:05.257 2020:0x7e4 E/InputQueue-JNI ]
channel '2bcfa598 com.google.android.setupwizard/com.google.android.setupwizard.WelcomeActivity (client)' ~ Publisher closed input channel or an error occurred. events=0x8
[ 01-06 07:09:05.267 1824:0x720 I/Zygote ]
Exit zygote because system server (1830) has terminated
[ 01-06 07:09:05.427 2118:0x846 D/AndroidRuntime ]
I hope someone can help me
Thank's to everyone in advance :fingers-crossed:
So I can't interact with my phone, but after digging a little deeper I was able to get it to not reboot, but now it flashes from a blank screen to a screen that says "unfortunately the process com.android.phone has stopped" with the statusbar indicating no network and the app to set up your phone in the background and adb produced some new errors that I can't begin to understand.
Code:
01-06 11:33:56.058 8063:0x1f9e E/AndroidRuntime ]
*** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.hardware.usb.action.USB_STATE flg=0x20000010 (has extras) } in [email protected]
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java)
at android.os.Handler.handleCallback(Handler.java)
at android.os.Handler.dispatchMessage(Handler.java)
at android.os.Looper.loop(Looper.java)
at com.android.server.ServerThread.run(SystemServer.java:826)
Caused by: java.lang.IllegalArgumentException
at com.android.server.MountService.getVolumeState(MountService.java:1404)
at com.android.server.MountService.notifyShareAvailabilityChange(MountService.java:1026)
at com.android.server.MountService.access$1300(MountService.java:92)
at com.android.server.MountService$1.onReceive(MountService.java:546)
... 5 more
[ 01-06 11:33:56.248 8224:0x2020 E/AbstractCompatWrapper ]
Invalid input to AbstructCompatWrapper
[ 01-06 11:33:56.248 8224:0x2020 E/CompatUtils ]
Exception in invoke: NullPointerException
[ 01-06 11:33:56.248 8224:0x2020 E/CompatUtils ]
Exception in invoke: InvocationTargetException
[ 01-06 11:33:56.268 8241:0x2031 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.AssertionError: android.os.DeadObjectException
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java)
at android.app.LoadedApk.getClassLoader(LoadedApk.java)
at android.app.LoadedApk.makeApplication(LoadedApk.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)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java)
... 14 more
[ 01-06 11:33:56.268 8241:0x2031 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.278 8224:0x2020 E/AbstractCompatWrapper ]
Invalid input to AbstructCompatWrapper
[ 01-06 11:33:56.278 8224:0x2020 E/CompatUtils ]
Exception in invoke: NullPointerException
[ 01-06 11:33:56.288 8254:0x203e E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.AssertionError: android.os.DeadObjectException
at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java)
at android.app.LoadedApk.getClassLoader(LoadedApk.java)
at android.app.LoadedApk.makeApplication(LoadedApk.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)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java)
... 14 more
[ 01-06 11:33:56.288 8254:0x203e E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.328 8224:0x2020 E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to create service com.android.inputmethod.latin.LatinIME: java.lang.NullPointerException
at android.app.ActivityThread.handleCreateService(ActivityThread.java)
at android.app.ActivityThread.access$1600(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)
Caused by: java.lang.NullPointerException
at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java)
at android.view.accessibility.AccessibilityManager.getInstance(AccessibilityManager.java)
at android.app.ContextImpl$2.getService(ContextImpl.java)
at android.app.ContextImpl.getSystemService(ContextImpl.java)
at android.content.ContextWrapper.getSystemService(ContextWrapper.java)
at com.android.inputmethod.accessibility.AccessibilityUtils.initInternal(AccessibilityUtils.java:79)
at com.android.inputmethod.accessibility.AccessibilityUtils.init(AccessibilityUtils.java:63)
at com.android.inputmethod.latin.LatinIME.onCreate(LatinIME.java:495)
... 11 more
[ 01-06 11:33:56.328 8224:0x2020 E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)
[ 01-06 11:33:56.328 1608:0x648 E/installd ]
eof
[ 01-06 11:33:56.328 1608:0x648 E/installd ]
failed to read size
[ 01-06 11:33:56.418 8158:0x1fde E/InputQueue-JNI ]
channel '2b8e8580 RecentsPanel (client)' ~ Publisher closed input channel or an error occurred. events=0x8
[ 01-06 11:33:56.418 8158:0x1fde E/AudioManager ]
Dead object in getRingerMode
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.media.IAudioService$Stub$Proxy.getRingerMode(IAudioService.java)
at android.media.AudioManager.getRingerMode(AudioManager.java)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:245)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.access$300(PhoneStatusBarPolicy.java:53)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy$1.onReceive(PhoneStatusBarPolicy.java:133)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java)
at android.os.Handler.handleCallback(Handler.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)
[ 01-06 11:33:56.428 8158:0x1fde E/AudioManager ]
Dead object in shouldVibrate
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.media.IAudioService$Stub$Proxy.shouldVibrate(IAudioService.java)
at android.media.AudioManager.shouldVibrate(AudioManager.java)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:251)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.access$300(PhoneStatusBarPolicy.java:53)
at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy$1.onReceive(PhoneStatusBarPolicy.java:133)
at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java)
at android.os.Handler.handleCallback(Handler.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)
[ 01-06 11:33:56.438 8158:0x1fde E/AndroidRuntime ]
FATAL EXCEPTION: main
java.lang.RuntimeException: Package manager has died
at android.app.ApplicationPackageManager.getApplicationInfo(ApplicationPackageManager.java)
at android.app.ApplicationPackageManager.getResourcesForApplication(ApplicationPackageManager.java)
at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:185)
at com.android.systemui.statusbar.StatusBarIconView.getIcon(StatusBarIconView.java:169)
at com.android.systemui.statusbar.StatusBarIconView.set(StatusBarIconView.java:138)
at com.android.systemui.statusbar.StatusBarIconView.set(StatusBarIconView.java:122)
at com.android.systemui.statusbar.phone.PhoneStatusBar.addIcon(PhoneStatusBar.java:734)
at com.android.systemui.statusbar.CommandQueue$H.handleMessage(CommandQueue.java:212)
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)
Caused by: android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.content.pm.IPackageManager$Stub$Proxy.getApplicationInfo(IPackageManager.java)
... 16 more
[ 01-06 11:33:56.438 8158:0x1fde E/AndroidRuntime ]
Error reporting crash
android.os.DeadObjectException
at android.os.BinderProxy.transact(Native Method)
at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java)
at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
at dalvik.system.NativeStart.main(Native Method)

[Q] Changing Settings to Holo.Light causing fc?

So, I am trying to theme my OmniRom Settings.apk in Holo Light style, using styles.xml.
All works perfectly, exept for one thing:
When tapping "Quick Launch Shortcuts", I get a force close.
Got a log here:
Code:
D/SubSettings( 2133): Launching fragment org.omnirom.omnigears.interfacesettings.NavRing
D/AndroidRuntime( 2133): Shutting down VM
W/dalvikvm( 2133): threadid=1: thread exiting with uncaught exception (group=0x4178fba8)
E/AndroidRuntime( 2133): FATAL EXCEPTION: main
E/AndroidRuntime( 2133): Process: com.android.settings, PID: 2133
E/AndroidRuntime( 2133): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: android.view.InflateException: Binary XML file line #7: Error inflating class com.android.internal.widget.multiwaveview.GlowPadView
E/AndroidRuntime( 2133): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2184)
E/AndroidRuntime( 2133): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2233)
E/AndroidRuntime( 2133): at android.app.ActivityThread.access$800(ActivityThread.java:135)
E/AndroidRuntime( 2133): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1196)
E/AndroidRuntime( 2133): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 2133): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 2133): at android.app.ActivityThread.main(ActivityThread.java:5001)
E/AndroidRuntime( 2133): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2133): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2133): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
E/AndroidRuntime( 2133): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
E/AndroidRuntime( 2133): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2133): Caused by: android.view.InflateException: Binary XML file line #7: Error inflating class com.android.internal.widget.multiwaveview.GlowPadView
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createView(LayoutInflater.java:620)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:696)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.rInflate(LayoutInflater.java:755)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.inflate(LayoutInflater.java:492)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.inflate(LayoutInflater.java:397)
E/AndroidRuntime( 2133): at org.omnirom.omnigears.interfacesettings.NavRing.onCreateView(NavRing.java:108)
E/AndroidRuntime( 2133): at android.app.Fragment.performCreateView(Fragment.java:1700)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:890)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1062)
E/AndroidRuntime( 2133): at android.app.BackStackRecord.run(BackStackRecord.java:684)
E/AndroidRuntime( 2133): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1447)
E/AndroidRuntime( 2133): at android.app.Activity.performStart(Activity.java:5240)
E/AndroidRuntime( 2133): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2157)
E/AndroidRuntime( 2133): ... 11 more
E/AndroidRuntime( 2133): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2133): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2133): at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 2133): at android.view.LayoutInflater.createView(LayoutInflater.java:594)
E/AndroidRuntime( 2133): ... 23 more
E/AndroidRuntime( 2133): Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x10
E/AndroidRuntime( 2133): at android.content.res.TypedArray.getDimension(TypedArray.java:399)
E/AndroidRuntime( 2133): at com.android.internal.widget.multiwaveview.GlowPadView.<init>(GlowPadView.java:242)
E/AndroidRuntime( 2133): ... 26 more
W/ActivityManager( 799): Force finishing activity com.android.settings/.SubSettings
W/ActivityManager( 799): Force finishing activity com.android.settings/.SubSettings
The issue only appears with light themed settings, so it must be caused by one of my changes in styles.xml.
Any help would be greatly appreciated.
Thanks in advance.
Solved by copying the related xmls from unmodified apk over to modified one.

[Q] Modify apk - Set minSdkVersion

Hey guys,
after hours I spent with this Im finally at the point where Ive to admit, that I've no clue how to get that job done.
Im trying to modify following Spotify APK: Spotify Music – for Android TV 1.0.0 found on apkdot.com/apk/spotify-ltd/spotify-music-for-android-tv/spotify-music-for-android-tv-1-0-0 (sorry, cant use url bb codes because thats my first post...)
What I want to achive is, to set the minimum sdk version to 19. (Android 4.4).
I tried several ways, which in general should all do the same (APK Studio / apktool / ...).
Because at the end the results were the same Im just writing the apktool steps I made.
Decompile the app: apktool.bat d com.spotify.tv.android_1.0.0.apk
Modify the AndroidManifest.xml (inserted this line): <uses-sdk android:minSdkVersion="19"/>
Recompile it: apktool.bat b com.spotify.tv.android_1.0.0
After that i signed it and installed it on the device. At least I can say, it installed without any parsing errors. When I want to start it though, it just crashes without any message. Opened up logcat and saw this a NoClassDefFound-Exception:
Code:
E/AndroidRuntime( 5660): FATAL EXCEPTION: main
E/AndroidRuntime( 5660): Process: com.spotify.tv.android, PID: 5660
E/AndroidRuntime( 5660): java.lang.NoClassDefFoundError: d
E/AndroidRuntime( 5660): at com.spotify.tv.android.recommendations.RecommendationsManager.a(Unknown Source)
E/AndroidRuntime( 5660): at com.spotify.tv.android.recommendations.RecommendationsManager.a(Unknown Source)
E/AndroidRuntime( 5660): at com.spotify.tv.android.service.SpotifyTVService.a(Unknown Source)
E/AndroidRuntime( 5660): at com.spotify.tv.android.service.SpotifyTVService.b(Unknown Source)
E/AndroidRuntime( 5660): at com.spotify.tv.android.service.SpotifyTVService.onStartCommand(Unknown Source)
E/AndroidRuntime( 5660): at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:2702)
E/AndroidRuntime( 5660): at android.app.ActivityThread.access$2100(ActivityThread.java:135)
E/AndroidRuntime( 5660): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1293)
E/AndroidRuntime( 5660): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 5660): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 5660): at android.app.ActivityThread.main(ActivityThread.java:5017)
E/AndroidRuntime( 5660): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5660): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 5660): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:787)
E/AndroidRuntime( 5660): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/AndroidRuntime( 5660): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 484): Force finishing activity com.spotify.tv.android/.SpotifyTVActivity
D/dalvikvm( 5660): GC_CONCURRENT freed 555K, 43% free 2659K/4648K, paused 0ms+1ms, total 10ms
I/WindowManager( 484): Screenshot max retries 4 of Token{41cfd018 ActivityRecord{41b700b0 u0 com.spotify.tv.android/.SpotifyTVActivity t28 f}} appWin=Window{41d3dc28 u0 Starting com.spotify.tv.android} drawState=4
W/WindowManager( 484): Screenshot failure taking screenshot for (1920x1080) to layer 21025
I/Process ( 5660): Sending signal. PID: 5660 SIG: 9
V/AudioFlinger( 113): remove track (4097) and delete from mixer
D/ActivityManager( 484): send app_CRASH broadcast, packageName:com.spotify.tv.android
I/ActivityManager( 484): Process com.spotify.tv.android (pid 5660) has died.
I/WindowState( 484): WIN DEATH: Window{4215d8e8 u0 com.spotify.tv.android/com.spotify.tv.android.SpotifyTVActivity}
W/ContextImpl( 484): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1162 com.android.server.am.ActivityManagerService.onVideoPlayerCrashed:3689 com.android.server.am.ActivityManagerService.handleAppDiedLocked:3719 com.android.server.am.ActivityManagerService.appDiedLocked:3857 com.android.server.am.ActivityManagerService$AppDeathRecipient.binderDied:1043
Ive no clue how to fix it. Even if there is a way to fix it. Hope you guys can help me .
Termi
PS: Ive Spotify Premium

Categories

Resources