Hello,
I have a strange problem. After one system apk Update my Desire (4.2.2 VJ CM10.1) is strange. After the first reboot from system updating, every app was force closed. I didn't get past the security pattern.
I found out, that the dalvik cache could not be written. So in the first step I did
Code:
chmod 777 /data/dalvik-cache
Now I can start the phone without any FCs. But only system apps work. All other seems to be not installed, beside that the APKs are under /data/app/ and /data/data/ is also there.
Under App Management, there are only the system apps too. Installing new apps (From market or from apk directly) are not working
Code:
errorcode -110
Here is an extraction from logcat which came when I try to start an app from the launcher (there are the symbols from before). I don't know what is missing, but it seems that any write permission is missing
Code:
I/ActivityManager( 398): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.cellular.tagesschau/.Splash bnds=[0,407][120,529]} from pid 612
E/Nova.Launcher( 612): Unable to launch. tag=ShortcutInfo(title=tagesschau intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.cellular.tagesschau/.Splash bnds=[0,407][120,529] }id=228 type=0 container=-100 screen=2 cellX=0.0 cellY=3.0 spanX=1.0 spanY=1.0 dropPos=null modelGeneration=1) intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.cellular.tagesschau/.Splash bnds=[0,407][120,529] }
E/Nova.Launcher( 612): android.content.ActivityNotFoundException: Unable to find explicit activity class {de.cellular.tagesschau/de.cellular.tagesschau.Splash}; have you declared this activity in your AndroidManifest.xml?
E/Nova.Launcher( 612): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1618)
E/Nova.Launcher( 612): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
E/Nova.Launcher( 612): at android.app.Activity.startActivityForResult(Activity.java:3370)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/Nova.Launcher( 612): at android.app.Activity.startActivityForResult(Native Method)
E/Nova.Launcher( 612): at android.app.Activity.startActivity(Activity.java:3562)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/Nova.Launcher( 612): at android.app.Activity.startActivity(Native Method)
E/Nova.Launcher( 612): at com.android.launcher2.Launcher.D(:3921)
E/Nova.Launcher( 612): at com.android.launcher2.Launcher.ȕ(:4082)
E/Nova.Launcher( 612): at com.android.launcher2.Launcher.onClick(:3684)
E/Nova.Launcher( 612): at android.view.View.performClick(View.java:4211)
E/Nova.Launcher( 612): at android.view.View$PerformClick.run(View.java:17362)
E/Nova.Launcher( 612): at android.os.Handler.handleCallback(Handler.java:725)
E/Nova.Launcher( 612): at android.os.Handler.dispatchMessage(Handler.java:92)
E/Nova.Launcher( 612): at android.os.Looper.loop(Looper.java:137)
E/Nova.Launcher( 612): at android.app.ActivityThread.main(ActivityThread.java:5226)
E/Nova.Launcher( 612): at java.lang.reflect.Method.invokeNative(Native Method)
E/Nova.Launcher( 612): at java.lang.reflect.Method.invoke(Method.java:511)
E/Nova.Launcher( 612): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/Nova.Launcher( 612): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/Nova.Launcher( 612): at dalvik.system.NativeStart.main(Native Method)
What can I do? I don't want a fytory reset or similar. Do you need other files/logs?
Floon
Floon said:
Hello,
I have a strange problem. After one system apk Update my Desire (4.2.2 VJ CM10.1) is strange. After the first reboot from system updating, every app was force closed. I didn't get past the security pattern.
I found out, that the dalvik cache could not be written. So in the first step I did
Code:
chmod 777 /data/dalvik-cache
Now I can start the phone without any FCs. But only system apps work. All other seems to be not installed, beside that the APKs are under /data/app/ and /data/data/ is also there.
Under App Management, there are only the system apps too. Installing new apps (From market or from apk directly) are not working
Code:
errorcode -110
Here is an extraction from logcat which came when I try to start an app from the launcher (there are the symbols from before). I don't know what is missing, but it seems that any write permission is missing
Code:
I/ActivityManager( 398): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.cellular.tagesschau/.Splash bnds=[0,407][120,529]} from pid 612
E/Nova.Launcher( 612): Unable to launch. tag=ShortcutInfo(title=tagesschau intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.cellular.tagesschau/.Splash bnds=[0,407][120,529] }id=228 type=0 container=-100 screen=2 cellX=0.0 cellY=3.0 spanX=1.0 spanY=1.0 dropPos=null modelGeneration=1) intent=Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=de.cellular.tagesschau/.Splash bnds=[0,407][120,529] }
E/Nova.Launcher( 612): android.content.ActivityNotFoundException: Unable to find explicit activity class {de.cellular.tagesschau/de.cellular.tagesschau.Splash}; have you declared this activity in your AndroidManifest.xml?
E/Nova.Launcher( 612): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1618)
E/Nova.Launcher( 612): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1417)
E/Nova.Launcher( 612): at android.app.Activity.startActivityForResult(Activity.java:3370)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/Nova.Launcher( 612): at android.app.Activity.startActivityForResult(Native Method)
E/Nova.Launcher( 612): at android.app.Activity.startActivity(Activity.java:3562)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.invokeOriginalMethodNative(Native Method)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:631)
E/Nova.Launcher( 612): at android.app.Activity.startActivity(Native Method)
E/Nova.Launcher( 612): at com.android.launcher2.Launcher.D(:3921)
E/Nova.Launcher( 612): at com.android.launcher2.Launcher.ȕ(:4082)
E/Nova.Launcher( 612): at com.android.launcher2.Launcher.onClick(:3684)
E/Nova.Launcher( 612): at android.view.View.performClick(View.java:4211)
E/Nova.Launcher( 612): at android.view.View$PerformClick.run(View.java:17362)
E/Nova.Launcher( 612): at android.os.Handler.handleCallback(Handler.java:725)
E/Nova.Launcher( 612): at android.os.Handler.dispatchMessage(Handler.java:92)
E/Nova.Launcher( 612): at android.os.Looper.loop(Looper.java:137)
E/Nova.Launcher( 612): at android.app.ActivityThread.main(ActivityThread.java:5226)
E/Nova.Launcher( 612): at java.lang.reflect.Method.invokeNative(Native Method)
E/Nova.Launcher( 612): at java.lang.reflect.Method.invoke(Method.java:511)
E/Nova.Launcher( 612): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/Nova.Launcher( 612): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/Nova.Launcher( 612): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
E/Nova.Launcher( 612): at dalvik.system.NativeStart.main(Native Method)
What can I do? I don't want a fytory reset or similar. Do you need other files/logs?
Floon
Click to expand...
Click to collapse
Go to the recovery by pressing Vol down and Pwr button, there you find "Fix Permissions" under Tools menu or some thing like that, That made my day once when i stuck there installing apps, May that helps, Best of luck
Related
Hi, i have the motorola milestone browser (the regular one that includes the multitouch) and they are attached to this thread. I am trying to get them to work on AOSP 2.0. Whenever i open it on the phone, it opens to a white screen then force closes. I have logcat open and this is what comes up when i open the browser.
I/ActivityManager( 75): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.browser/.BrowserActivity }
I/ActivityManager( 75): Start proc com.android.browser for activity com.android.browser/.BrowserActivity: pid=474 uid=10017 gids={3003, 1015}
I/ActivityThread( 474): Publishing provider browser: com.android.browser.BrowserProvider
E/dalvikvm( 474): Could not find class 'com.motorola.webkit.MultiTouchWebView', referenced from method com.android.browser.TabControl.createNewWebView
W/dalvikvm( 474): VFY: unable to resolve new-instance 437 (Lcom/motorola/webkit/MultiTouchWebView in Lcom/android/browser/TabControl;
D/dalvikvm( 474): VFY: replacing opcode 0x22 at 0x0001
D/dalvikvm( 474): Making a copy of Lcom/android/browser/TabControl;.createNewWebView code (104 bytes)
D/AndroidRuntime( 474): Shutting down VM
W/dalvikvm( 474): threadid=3: thread exiting with uncaught exception (group=0x4001e2e0)
E/AndroidRuntime( 474): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 474): java.lang.NoClassDefFoundError: com.motorola.webkit.MultiTouchWebView
E/AndroidRuntime( 474): at com.android.browser.TabControl.createNewWebView(TabControl.java:1027)
E/AndroidRuntime( 474): at com.android.browser.TabControl.createNewTab(TabControl.java:594)
E/AndroidRuntime( 474): at com.android.browser.BrowserActivity.onCreate(BrowserActivity.java:444)
E/AndroidRuntime( 474): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 474): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2431)
E/AndroidRuntime( 474): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2484)
E/AndroidRuntime( 474): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
E/AndroidRuntime( 474): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1835)
E/AndroidRuntime( 474): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 474): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 474): at android.app.ActivityThread.main(ActivityThread.java:4325)
E/AndroidRuntime( 474): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 474): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 474): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 474): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 474): at dalvik.system.NativeStart.main(Native Method)
Click to expand...
Click to collapse
Any ideas? I tried looking for some of the files in the motorola milestone dump but no luck.
Edit: The browser file and the multitouch permission did not attach.
you need the motorola frameworks and a multitouch kernel. as the errors say, it cant find the motorola multitouch class.
there was a frame work com.android.hardware.touchscreen.multitouch.xml and thats in as well. shouldn't it work then? or is it really the kernel?
Hi,
I just did a wipe and installed CM 6.1 RC again, hoping to get rid of FCs when trying to access the sound options. After flashing, it worked fine, then i restored my files with Titanium and rebooted, and now I'm getting the FC again. Here's the log, maybe anyone can figure out what's causing that problem?
I/power ( 166): *** set_screen_state 1
D/SurfaceFlinger( 166): Screen about to return, flinger = 0x124ea8
D/WifiService( 166): ACTION_SCREEN_ON
D/AK8973 ( 127): Compass Start
D/dalvikvm( 1407): GC_FOR_MALLOC freed 7909 objects / 514632 bytes in 30ms
I/ActivityManager( 166): Starting activity: Intent { act=android.settings.SETTI
NGS flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 166): Start proc com.android.settings for activity com.andro
id.settings/.Settings: pid=1647 uid=1000 gids={3003, 3002, 3001, 1015}
W/InputManagerService( 166): Window already focused, ignoring focus gain of: co
[email protected]
I/ActivityManager( 166): Displayed activity com.android.settings/.Settings: 346
ms (total 71251 ms)
I/ActivityManager( 166): Starting activity: Intent { act=android.intent.action.
MAIN cmp=com.android.settings/.SoundSettings }
D/AndroidRuntime( 1647): Shutting down VM
W/dalvikvm( 1647): threadid=1: thread exiting with uncaught exception (group=0x4
001d7e8)
E/AndroidRuntime( 1647): FATAL EXCEPTION: main
E/AndroidRuntime( 1647): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.android.settings/com.android.settings.SoundSettings}: java.lang.
ClassCastException: java.lang.Boolean
E/AndroidRuntime( 1647): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2663)
E/AndroidRuntime( 1647): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2679)
E/AndroidRuntime( 1647): at android.app.ActivityThread.access$2300(Activi
tyThread.java:125)
E/AndroidRuntime( 1647): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:2033)
E/AndroidRuntime( 1647): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 1647): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1647): at android.app.ActivityThread.main(ActivityThrea
d.java:4627)
E/AndroidRuntime( 1647): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 1647): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 1647): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 1647): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:626)
E/AndroidRuntime( 1647): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1647): Caused by: java.lang.ClassCastException: java.lang.Bool
ean
E/AndroidRuntime( 1647): at android.app.ContextImpl$SharedPreferencesImpl
.getString(ContextImpl.java:2700)
E/AndroidRuntime( 1647): at android.preference.Preference.getPersistedStr
ing(Preference.java:1249)
E/AndroidRuntime( 1647): at android.preference.ListPreference.onSetInitia
lValue(ListPreference.java:278)
E/AndroidRuntime( 1647): at android.preference.Preference.dispatchSetInit
ialValue(Preference.java:1172)
E/AndroidRuntime( 1647): at android.preference.Preference.onAttachedToHie
rarchy(Preference.java:984)
E/AndroidRuntime( 1647): at android.preference.PreferenceGroup.addPrefere
nce(PreferenceGroup.java:156)
E/AndroidRuntime( 1647): at android.preference.PreferenceGroup.addItemFro
mInflater(PreferenceGroup.java:97)
E/AndroidRuntime( 1647): at android.preference.PreferenceGroup.addItemFro
mInflater(PreferenceGroup.java:38)
E/AndroidRuntime( 1647): at android.preference.GenericInflater.rInflate(G
enericInflater.java:488)
E/AndroidRuntime( 1647): at android.preference.GenericInflater.inflate(Ge
nericInflater.java:326)
E/AndroidRuntime( 1647): at android.preference.GenericInflater.inflate(Ge
nericInflater.java:263)
E/AndroidRuntime( 1647): at android.preference.PreferenceManager.inflateF
romResource(PreferenceManager.java:251)
E/AndroidRuntime( 1647): at android.preference.PreferenceActivity.addPref
erencesFromResource(PreferenceActivity.java:262)
E/AndroidRuntime( 1647): at com.android.settings.SoundSettings.onCreate(S
oundSettings.java:110)
E/AndroidRuntime( 1647): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/AndroidRuntime( 1647): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2627)
E/AndroidRuntime( 1647): ... 11 more
W/ActivityManager( 166): Force finishing activity com.android.settings/.Sound
Settings
W/ActivityManager( 166): Force finishing activity com.android.settings/.Setti
ngs
W/ActivityManager( 166): Activity pause timeout for HistoryRecord{44528308 com.
android.settings/.SoundSettings}
I/Process ( 1647): Sending signal. PID: 1647 SIG: 9
I/ActivityManager( 166): Process com.android.settings (pid 1647) has died.
I/WindowManager( 166): WIN DEATH: Window{44567e18 com.android.settings/com.andr
oid.settings.Settings paused=true}
All of a sudden my Browser force closes as soon as it's updated. Running CM 6.1 and I haven't made any changes to the system for a while. No apps have been installed recently. All of a sudden it decided to just give up. Here's a logcat, thanks for your help!
Code:
I/ActivityManager( 1509): Starting activity: Intent { act=android.intent.action.
MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.brows
er/.BrowserActivity bnds=[288,723][384,800] }
I/ActivityManager( 1509): Start proc com.android.browser for activity com.androi
d.browser/.BrowserActivity: pid=2657 uid=10000 gids={3003, 1015}
I/ActivityThread( 2657): Publishing provider browser: com.android.browser.Browse
rProvider
I/Database( 2657): sqlite returned: error code = 14, msg = cannot open file at s
ource line 25467
E/Database( 2657): sqlite3_open_v2("/data/data/com.android.browser/databases/web
view.db", &handle, 6, NULL) failed
I/Database( 2657): sqlite returned: error code = 14, msg = cannot open file at s
ource line 25467
E/Database( 2657): sqlite3_open_v2("/data/data/com.android.browser/databases/web
viewCache.db", &handle, 6, NULL) failed
I/BrowserSettings( 2657): Selected search engine: ActivitySearchEngine{android.a
[email protected]}
I/Database( 2657): sqlite returned: error code = 14, msg = cannot open file at s
ource line 25467
E/Database( 2657): sqlite3_open_v2("/data/data/com.android.browser/databases/bro
wser.db", &handle, 6, NULL) failed
E/SQLiteOpenHelper( 2657): Couldn't open browser.db for writing (will try read-o
nly):
E/SQLiteOpenHelper( 2657): android.database.sqlite.SQLiteException: unable to op
en database file
E/SQLiteOpenHelper( 2657): at android.database.sqlite.SQLiteDatabase.dbopen
(Native Method)
E/SQLiteOpenHelper( 2657): at android.database.sqlite.SQLiteDatabase.<init>
(SQLiteDatabase.java:1812)
E/SQLiteOpenHelper( 2657): at android.database.sqlite.SQLiteDatabase.openDa
tabase(SQLiteDatabase.java:817)
E/SQLiteOpenHelper( 2657): at android.database.sqlite.SQLiteDatabase.openOr
CreateDatabase(SQLiteDatabase.java:851)
E/SQLiteOpenHelper( 2657): at android.database.sqlite.SQLiteDatabase.openOr
CreateDatabase(SQLiteDatabase.java:844)
E/SQLiteOpenHelper( 2657): at android.app.ContextImpl.openOrCreateDatabase(
ContextImpl.java:540)
E/SQLiteOpenHelper( 2657): at android.content.ContextWrapper.openOrCreateDa
tabase(ContextWrapper.java:203)
E/SQLiteOpenHelper( 2657): at android.database.sqlite.SQLiteOpenHelper.getW
ritableDatabase(SQLiteOpenHelper.java:112)
E/SQLiteOpenHelper( 2657): at android.database.sqlite.SQLiteOpenHelper.getR
eadableDatabase(SQLiteOpenHelper.java:177)
E/SQLiteOpenHelper( 2657): at com.android.browser.BrowserProvider.query(Bro
wserProvider.java:809)
E/SQLiteOpenHelper( 2657): at android.content.ContentProvider$Transport.que
ry(ContentProvider.java:186)
E/SQLiteOpenHelper( 2657): at android.content.ContentResolver.query(Content
Resolver.java:250)
E/SQLiteOpenHelper( 2657): at android.provider.Browser.getAllBookmarks(Brow
ser.java:191)
E/SQLiteOpenHelper( 2657): at com.android.browser.BrowserActivity.retainIco
nsOnStartup(BrowserActivity.java:1117)
E/SQLiteOpenHelper( 2657): at com.android.browser.BrowserActivity.onCreate(
BrowserActivity.java:234)
E/SQLiteOpenHelper( 2657): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/SQLiteOpenHelper( 2657): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2627)
E/SQLiteOpenHelper( 2657): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2679)
E/SQLiteOpenHelper( 2657): at android.app.ActivityThread.access$2300(Activi
tyThread.java:125)
E/SQLiteOpenHelper( 2657): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:2033)
E/SQLiteOpenHelper( 2657): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/SQLiteOpenHelper( 2657): at android.os.Looper.loop(Looper.java:123)
E/SQLiteOpenHelper( 2657): at android.app.ActivityThread.main(ActivityThrea
d.java:4627)
E/SQLiteOpenHelper( 2657): at java.lang.reflect.Method.invokeNative(Native
Method)
E/SQLiteOpenHelper( 2657): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/SQLiteOpenHelper( 2657): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:868)
E/SQLiteOpenHelper( 2657): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:626)
E/SQLiteOpenHelper( 2657): at dalvik.system.NativeStart.main(Native Method)
I/Database( 2657): sqlite returned: error code = 14, msg = cannot open file at s
ource line 25467
E/Database( 2657): sqlite3_open_v2("/data/data/com.android.browser/databases/bro
wser.db", &handle, 1, NULL) failed
D/AndroidRuntime( 2657): Shutting down VM
W/dalvikvm( 2657): threadid=1: thread exiting with uncaught exception (group=0x4
001d7e8)
E/AndroidRuntime( 2657): FATAL EXCEPTION: main
E/AndroidRuntime( 2657): java.lang.RuntimeException: Unable to start activity Co
mponentInfo{com.android.browser/com.android.browser.BrowserActivity}: android.da
tabase.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime( 2657): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2663)
E/AndroidRuntime( 2657): at android.app.ActivityThread.handleLaunchActivi
ty(ActivityThread.java:2679)
E/AndroidRuntime( 2657): at android.app.ActivityThread.access$2300(Activi
tyThread.java:125)
E/AndroidRuntime( 2657): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:2033)
E/AndroidRuntime( 2657): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime( 2657): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2657): at android.app.ActivityThread.main(ActivityThrea
d.java:4627)
E/AndroidRuntime( 2657): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 2657): at java.lang.reflect.Method.invoke(Method.java:5
21)
E/AndroidRuntime( 2657): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 2657): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:626)
E/AndroidRuntime( 2657): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2657): Caused by: android.database.sqlite.SQLiteException: una
ble to open database file
E/AndroidRuntime( 2657): at android.database.sqlite.SQLiteDatabase.dbopen
(Native Method)
E/AndroidRuntime( 2657): at android.database.sqlite.SQLiteDatabase.<init>
(SQLiteDatabase.java:1812)
E/AndroidRuntime( 2657): at android.database.sqlite.SQLiteDatabase.openDa
tabase(SQLiteDatabase.java:817)
E/AndroidRuntime( 2657): at android.database.sqlite.SQLiteOpenHelper.getR
eadableDatabase(SQLiteOpenHelper.java:187)
E/AndroidRuntime( 2657): at com.android.browser.BrowserProvider.query(Bro
wserProvider.java:809)
E/AndroidRuntime( 2657): at android.content.ContentProvider$Transport.que
ry(ContentProvider.java:186)
E/AndroidRuntime( 2657): at android.content.ContentResolver.query(Content
Resolver.java:250)
E/AndroidRuntime( 2657): at android.provider.Browser.getAllBookmarks(Brow
ser.java:191)
E/AndroidRuntime( 2657): at com.android.browser.BrowserActivity.retainIco
nsOnStartup(BrowserActivity.java:1117)
E/AndroidRuntime( 2657): at com.android.browser.BrowserActivity.onCreate(
BrowserActivity.java:234)
E/AndroidRuntime( 2657): at android.app.Instrumentation.callActivityOnCre
ate(Instrumentation.java:1047)
E/AndroidRuntime( 2657): at android.app.ActivityThread.performLaunchActiv
ity(ActivityThread.java:2627)
E/AndroidRuntime( 2657): ... 11 more
W/ActivityManager( 1509): Force finishing activity com.android.browser/.Browse
rActivity
W/ActivityManager( 1509): Activity pause timeout for HistoryRecord{464720c8 com.
android.browser/.BrowserActivity}
I/ActivityManager( 1509): No longer want com.android.wallpaper.livepicker (pid 2
344): hidden #16
I/Process ( 2657): Sending signal. PID: 2657 SIG: 9
W/InputManagerService( 1509): Window already focused, ignoring focus gain of: co
[email protected]
I/ActivityManager( 1509): Process com.android.browser (pid 2657) has died.
D/dalvikvm( 2529): GC_EXPLICIT freed 995 objects / 80768 bytes in 82ms
D/NativeCrypto( 2529): Freeing OpenSSL session
W/ActivityManager( 1509): Activity destroy timeout for HistoryRecord{464720c8 co
m.android.browser/.BrowserActivity}
D/dalvikvm( 2052): GC_EXPLICIT freed 422 objects / 28832 bytes in 76ms
I/power ( 1509): *** set_screen_state 0
I/GPSButton( 1509): Update State
D/NetworkCollector( 1969): state now IDLE
D/WifiService( 1509): ACTION_SCREEN_OFF
Anyone have any suggestions?
Thanks
Hi all, i start a little project, trying to port xperia arc's Music Player to our SGS, i'm not a dev, just a "bidouilleur".
Apk's installation is fine, but app FC.
So, here is log of FC :
Code:
I/ActivityManager( 3260): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.sonyericsson.music/.PlayerActivity }
W/WindowManager( 3260): HistoryRecord{48d2b2d8 com.sonyericsson.music/.PlayerActivity} failed creating starting window
W/WindowManager( 3260): android.view.InflateException: Binary XML file line #2: Error inflating class <unknown>
W/WindowManager( 3260): at android.view.LayoutInflater.createView(LayoutInflater.java:513)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
W/WindowManager( 3260): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:563)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:385)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
W/WindowManager( 3260): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2217)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2272)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindow.getDecorView(PhoneWindow.java:1459)
W/WindowManager( 3260): at com.android.internal.policy.impl.PhoneWindowManager.addStartingWindow(PhoneWindowManager.java:1042)
W/WindowManager( 3260): at com.android.server.WindowManagerService$H.handleMessage(WindowManagerService.java:9144)
W/WindowManager( 3260): at android.os.Handler.dispatchMessage(Handler.java:99)
W/WindowManager( 3260): at android.os.Looper.loop(Looper.java:123)
W/WindowManager( 3260): at com.android.server.WindowManagerService$WMThread.run(WindowManagerService.java:583)
W/WindowManager( 3260): Caused by: java.lang.reflect.InvocationTargetException
W/WindowManager( 3260): at android.widget.FrameLayout.<init>(FrameLayout.java:79)
W/WindowManager( 3260): at java.lang.reflect.Constructor.constructNative(Native Method)
W/WindowManager( 3260): at java.lang.reflect.Constructor.newInstance(Constructor.java:446)
W/WindowManager( 3260): at android.view.LayoutInflater.createView(LayoutInflater.java:500)
W/WindowManager( 3260): ... 13 more
W/WindowManager( 3260): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x2/d=0x1010059 a=-1}
W/WindowManager( 3260): at android.content.res.Resources.loadDrawable(Resources.java:1681)
W/WindowManager( 3260): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
W/WindowManager( 3260): at android.widget.FrameLayout.<init>(FrameLayout.java:91)
W/WindowManager( 3260): ... 17 more
I/ActivityManager( 3260): Start proc com.sonyericsson.music for activity com.sonyericsson.music/.PlayerActivity: pid=10147 uid=10090 gids={3003, 1015, 3002}
I/Zygote (10147): Zygote: pid 10147 has INTERNET permission, then set capability for CAP_NET_RAW
I/ActivityThread(10147): Publishing provider com.sonyericsson.provider.youtube: com.sonyericsson.music.artistbook.youtube.YouTubePluginProvider
W/ResourceType(10147): Entry identifier 0x120 is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 254 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300fe (t=2 e=254) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xfe is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 244 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300f4 (t=2 e=244) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xf4 is larger than entry count 0xa3
W/ResourceType(10147): getEntry failing because entryIndex 253 is beyond type entryCount 163
W/ResourceType(10147): Failure getting entry for 0x010300fd (t=2 e=253) in package 0: 0x80000001
W/ResourceType(10147): Entry identifier 0xfd is larger than entry count 0xa3
E/dalvikvm(10147): Could not find class 'android.drm.DrmManagerClient', referenced from method com.sonyericsson.music.common.DrmUtils.<init>
W/dalvikvm(10147): VFY: unable to resolve new-instance 52 (Landroid/drm/DrmManagerClient;) in Lcom/sonyericsson/music/common/DrmUtils;
D/dalvikvm(10147): VFY: replacing opcode 0x22 at 0x0005
D/dalvikvm(10147): VFY: dead code 0x0007-0013 in Lcom/sonyericsson/music/common/DrmUtils;.<init> (Landroid/content/Context;)V
I/dalvikvm(10147): Could not find method android.drm.DrmManagerClient.unloadPlugIns, referenced from method com.sonyericsson.music.common.DrmUtils.close
W/dalvikvm(10147): VFY: unable to resolve virtual method 215: Landroid/drm/DrmManagerClient;.unloadPlugIns ()V
D/dalvikvm(10147): VFY: replacing opcode 0x6e at 0x0002
D/dalvikvm(10147): VFY: dead code 0x0005-0005 in Lcom/sonyericsson/music/common/DrmUtils;.close ()V
I[B]/dalvikvm(10147): Could not find method android.drm.DrmManagerClient.canHandle, referenced from method com.sonyericsson.music.common.DrmUtils.hasValidRights
W/dalvikvm(10147): VFY: unable to resolve virtual method 212: Landroid/drm/DrmManagerClient;.canHandle (Ljava/lang/String;Ljava/lang/String;)Z
D/dalvikvm(10147): VFY: replacing opcode 0x6e at 0x0006
D/dalvikvm(10147): VFY: dead code 0x0009-0014 in Lcom/sonyericsson/music/common/DrmUtils;.hasValidRights (Ljava/lang/String;)Z
D/AndroidRuntime(10147): Shutting down VM
W/dalvikvm(10147): threadid=1: thread exiting with uncaught exception (group=0x4001d7d0)
E/AndroidRuntime(10147): FATAL EXCEPTION: main
E/AndroidRuntime(10147): java.lang.NoClassDefFoundError: android.drm.DrmManagerClient
E/AndroidRuntime(10147): at com.sonyericsson.music.common.DrmUtils.<init>(DrmUtils.java:49)[/B]
E/AndroidRuntime(10147): at com.sonyericsson.music.PlayerActivity.onCreate(PlayerActivity.java:349)
E/AndroidRuntime(10147): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
E/AndroidRuntime(10147): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime(10147): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime(10147): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime(10147): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime(10147): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(10147): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(10147): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime(10147): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(10147): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(10147): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:858)
E/AndroidRuntime(10147): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
E/AndroidRuntime(10147): at dalvik.system.NativeStart.main(Native Method)
Seems to miss a "method" about DRMs... Any IDEAS ?
Sorry i guess i read this thread too late yet i will reply...
check values folder within that styles.xml
your app must be referencing to a theme from SEMCUxpres.apk so the error...
quite intresting....
so...any new news about this thread?
copy the drm class from sony framework into the app.
Then you still have to fix the ressource error.
Hi all, I've just installed CM11 (LegacyXperia) on my Xperia Play for using it as MP4, but I have a little problem: looks like every app which checks for external storage crashes. I've reached that conclusion after taking a logcat and seeing what causes the crash: accessing to na empty array returned during a call to getExternalCacheDir() function.
My device does not have a SD Card inserted because the slot is broken and I can't find anyone selling the replacement.
Is there something that I can do to fix this? Or should change to another ROM?
See the logcat below:
Code:
I/ActivityManager( 546): START u0 {act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.gallery3d/.app.GalleryActivity} from pid 1476
V/StateManager( 3437): startState class com.android.gallery3d.app.AlbumSetPage
V/NFC ( 3437): this device does not have NFC support
D/AndroidRuntime( 3437): Shutting down VM
W/dalvikvm( 3437): threadid=1: thread exiting with uncaught exception (group=0x416b0ce0)
E/AndroidRuntime( 3437): FATAL EXCEPTION: main
E/AndroidRuntime( 3437): Process: com.android.gallery3d, PID: 3437
E/AndroidRuntime( 3437): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.gallery3d/com.android.gallery3d.app.GalleryActivity}: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 3437): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2212)
E/AndroidRuntime( 3437): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2271)
E/AndroidRuntime( 3437): at android.app.ActivityThread.access$800(ActivityThread.java:144)
E/AndroidRuntime( 3437): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1205)
E/AndroidRuntime( 3437): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3437): at android.os.Looper.loop(Looper.java:136)
E/AndroidRuntime( 3437): at android.app.ActivityThread.main(ActivityThread.java:5146)
E/AndroidRuntime( 3437): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3437): at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 3437): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 3437): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 3437): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3437): Caused by: java.lang.ArrayIndexOutOfBoundsException: length=0; index=0
E/AndroidRuntime( 3437): at android.app.ContextImpl.getExternalCacheDir(ContextImpl.java:969)
E/AndroidRuntime( 3437): at android.content.ContextWrapper.getExternalCacheDir(ContextWrapper.java:235)
E/AndroidRuntime( 3437): at com.android.gallery3d.app.AbstractGalleryActivity.onStart(AbstractGalleryActivity.java:170)
E/AndroidRuntime( 3437): at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1171)
E/AndroidRuntime( 3437): at android.app.Activity.performStart(Activity.java:5241)
E/AndroidRuntime( 3437): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2178)
E/AndroidRuntime( 3437): ... 11 more
W/ActivityManager( 546): Force finishing activity com.android.gallery3d/.app.GalleryActivity
I/WindowManager( 546): Screenshot max retries 4 of Token{420b55a8 ActivityRecord{41efdcd0 u0 com.android.gallery3d/.app.GalleryActivity t19 f}} appWin=Window{41fdd190 u0 Starting com.android.gallery3d} drawState=4
W/WindowManager( 546): Screenshot failure taking screenshot for (854x480) to layer 21020
W/ActivityManager( 546): Activity pause timeout for ActivityRecord{41efdcd0 u0 com.android.gallery3d/.app.GalleryActivity t19 f}
I/Timeline( 1476): Timeline: Activity_idle id: [email protected] time:1453928
I/Timeline( 546): Timeline: Activity_windows_visible id: ActivityRecord{41d48ec8 u0 com.cyanogenmod.trebuchet/org.cyanogenmod.trebuchet.CustomHomeLauncher t3} time:1454349
D/AudioFlinger( 235): start(4098), calling pid 546 session 945
D/AudioFlinger( 235): ? => ACTIVE (4098) on thread 0x7d6820
I/Process ( 3437): Sending signal. PID: 3437 SIG: 9
I/ActivityManager( 546): Process com.android.gallery3d (pid 3437) has died.