Hey Guys, I was porting MIUI 2.11.30 rom of ARC S to Live With Walkman with the help of SANDY7 tutorial
After doing all the thing, I was getting bootloop
Here is logcat, I know that there is some problem with HDMI display, I know our wt19i does not contain hdmi display, it is mdpi but I don't know what to change...
Need Help!!
This is full Logcat (http://pastebin.com/Ss3tX1w0)
And here is the error which is causing bootloop
Code:
W/dalvikvm( 345): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIDisplay;
W/dalvikvm( 345): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;
W/dalvikvm( 345): Class init failed in newInstance call (Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;)
W/dalvikvm( 345): threadid=12: thread exiting with uncaught exception (group=0x2b542210)
I/Email ( 1342): Onetime initialization: 1
I/Email ( 1342): Onetime initialization: 2
E/AndroidRuntime( 345): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 345): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 345): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 345): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2254)
E/AndroidRuntime( 345): at android.app.ActivityThread.access$1600(ActivityThread.java:127)
E/AndroidRuntime( 345): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
E/AndroidRuntime( 345): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 345): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 345): at com.android.server.ServerThread.run(SystemServer.java:748)
E/AndroidRuntime( 345): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIControlService.<clinit>(HDMIControlService.java:87)
E/AndroidRuntime( 345): ... 8 more
E/AndroidRuntime( 345): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load hdmidisplay: findLibrary returned null
E/AndroidRuntime( 345): at java.lang.Runtime.loadLibrary(Runtime.java:365)
E/AndroidRuntime( 345): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIDisplay.<clinit>(HDMIDisplay.java:56)
E/AndroidRuntime( 345): ... 9 more
I/ActivityManager( 345): Start proc com.sonyericsson.credentialmanagerservice for broadcast com.sonyericsson.credentialmanagerservice/.CredentialManagerBootCompleteReceiver: pid=1476 uid=1000 gids={1015, 3002, 3001, 3003, 3006, 3007, 1007}
I/Process ( 345): Sending signal. PID: 345 SIG: 9
I/Zygote ( 161): Exit zygote because system server (345) has terminated
I am new to ROM porting, so please be soft on me :laugh:
deamonoid said:
Hey Guys, I was porting MIUI 2.11.30 rom of ARC S to Live With Walkman with the help of SANDY7 tutorial
After doing all the thing, I was getting bootloop
Here is logcat, I know that there is some problem with HDMI display, I know our wt19i does not contain hdmi display, it is mdpi but I don't know what to change...
Need Help!!
This is full Logcat (http://pastebin.com/Ss3tX1w0)
And here is the error which is causing bootloop
Code:
W/dalvikvm( 345): Exception Ljava/lang/UnsatisfiedLinkError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIDisplay;
W/dalvikvm( 345): Exception Ljava/lang/ExceptionInInitializerError; thrown while initializing Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;
W/dalvikvm( 345): Class init failed in newInstance call (Lcom/sonyericsson/hdmi/controlservice/HDMIControlService;)
W/dalvikvm( 345): threadid=12: thread exiting with uncaught exception (group=0x2b542210)
I/Email ( 1342): Onetime initialization: 1
I/Email ( 1342): Onetime initialization: 2
E/AndroidRuntime( 345): *** FATAL EXCEPTION IN SYSTEM PROCESS: android.server.ServerThread
E/AndroidRuntime( 345): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at java.lang.Class.newInstanceImpl(Native Method)
E/AndroidRuntime( 345): at java.lang.Class.newInstance(Class.java:1319)
E/AndroidRuntime( 345): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2254)
E/AndroidRuntime( 345): at android.app.ActivityThread.access$1600(ActivityThread.java:127)
E/AndroidRuntime( 345): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1212)
E/AndroidRuntime( 345): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 345): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 345): at com.android.server.ServerThread.run(SystemServer.java:748)
E/AndroidRuntime( 345): Caused by: java.lang.ExceptionInInitializerError
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIControlService.<clinit>(HDMIControlService.java:87)
E/AndroidRuntime( 345): ... 8 more
E/AndroidRuntime( 345): Caused by: java.lang.UnsatisfiedLinkError: Couldn't load hdmidisplay: findLibrary returned null
E/AndroidRuntime( 345): at java.lang.Runtime.loadLibrary(Runtime.java:365)
E/AndroidRuntime( 345): at java.lang.System.loadLibrary(System.java:535)
E/AndroidRuntime( 345): at com.sonyericsson.hdmi.controlservice.HDMIDisplay.<clinit>(HDMIDisplay.java:56)
E/AndroidRuntime( 345): ... 9 more
I/ActivityManager( 345): Start proc com.sonyericsson.credentialmanagerservice for broadcast com.sonyericsson.credentialmanagerservice/.CredentialManagerBootCompleteReceiver: pid=1476 uid=1000 gids={1015, 3002, 3001, 3003, 3006, 3007, 1007}
I/Process ( 345): Sending signal. PID: 345 SIG: 9
I/Zygote ( 161): Exit zygote because system server (345) has terminated
I am new to ROM porting, so please be soft on me :laugh:
Click to expand...
Click to collapse
delete the HDMI apk from system/app
sandy7 said:
delete the HDMI apk from system/app
Click to expand...
Click to collapse
Thanks Man, you always ROCKKSS!!!
Now Miui is successfully booting, but there is MIUIhome FC and it is not even loading, no way to make launcher work, I will try to find out the problem.
Anyway Thanks man!!
Miuihome is source bug in latest version...
Sent from my SK17i using XDA Premium HD app
sandy7 said:
Miuihome is source bug in latest version...
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
ok... It means I have to use old MIUIHome.apk.
Thanks man!!
Old may also problem....I some how solved it..
Sent from my SK17i using XDA Premium HD app
I have read in different threads that the new miuihome is hooked to shelld, so if this daemon not running, miuihome cant' obtain those services.
and there is fix in one of the thread but this fix should be done in kernel
This is the link (http://forum.xda-developers.com/showpost.php?p=34287168&postcount=1962)
I don't know much but just trying to help from my side
sandy7 said:
Old may also problem....I some how solved it..
Click to expand...
Click to collapse
So can I use your MIUIHome.apk, if it works....
This is ROM is for my personal use only.
deamonoid said:
I have read in different threads that the new miuihome is hooked to shelld, so if this daemon not running, miuihome cant' obtain those services.
and there is fix in one of the thread but this fix should be done in kernel
This is the link (http://forum.xda-developers.com/showpost.php?p=34287168&postcount=1962)
I don't know much but just trying to help from my side
So can I use your MIUIHome.apk, if it works....
This is ROM is for my personal use only.
Click to expand...
Click to collapse
Yes just replace those 4 files in the /system and use the kernel from my thread...I have modified the kernel to start the demon at booting...
EDIT:
i mean replace these files
/system/xbin/shelld
/system/lib/libshell.so
/system/lib/libshell_jni.so
/system/lib/libshellservice.so
and use the kernel from my miui thread
Sent from my SK17i using XDA Premium HD app
sandy7 said:
Yes just replace those 4 files in the /system and use the kernel from my thread...I have modified the kernel to start the demon at booting...
EDIT:
i mean replace these files
/system/xbin/shelld
/system/lib/libshell.so
/system/lib/libshell_jni.so
/system/lib/libshellservice.so
and use the kernel from my miui thread
Sent from my SK17i using XDA Premium HD app
Click to expand...
Click to collapse
IT WORKED!!!
THANKS MAN!!
This is my first ROM and without you, it would not be possible!! :victory:
u are welcome
Related
I'm trying to make the sample camera application on Nexus One.
Until now, the programming is not commercial and only test program.
I referenced the source code of android 1.5 platform.
The test code that I made is working well on the other android 1.5 phone.
But the code is not working on Nexus One.
I checked the log of Nexus One.
If I press shutter button, surfaceChanged(...) is called on the android 1.5 phone.
However, surfaceDestroyed(...) is called on Nexus One.
I don't why suraceDestroyed(...) is called.
If anybody has information about this problem, please let me know that.
Thanks in advance.
Hi,
I believe that there's a great change between 1.5 and 2.1 APIs. Rarely apps made for 1.5 are compatible with 2.1. Though, I'm definitely not at expert at this. Why not code a check to use which method depending on the version of the phone?
Ok.....Maybe, there is a great difference between 1.5 and 2.0.
However, I think that there is only little difference for camera application.
Maybe, you agree that the example code of android sdk 2.0 would work well on Nexus One.
But the CameraPreview.java doesn't work on Nuxus.
CameraPreview.java Example(Anroid SDK 2.0) not working......
I'm trying to program my camera application on Nexus One,
But the example code of android sdk 2.0 isn't working.
The example source is the CamraPreview.java.
Maybe, the preview size is the problem but I don't know how to fix the problem.
I include the log of CameraView.java on Nexus One.
If anybody has the information about this problem, please let me know that.
Thanks in advance.
========> The log of CameraPreview.java on Nexus One
E/QualcommCameraHardware( 52): Invalid preview size requested: 533x295
I/QualcommCameraHardware( 52): Set zoom=0
D/AndroidRuntime( 2551): Shutting down VM
W/dalvikvm( 2551): threadid=3: thread exiting with uncaught exception (group=0x4001b180)
E/AndroidRuntime( 2551): Uncaught handler: thread main exiting due to uncaught exception
E/AndroidRuntime( 2551): java.lang.RuntimeException: setParameters failed
E/AndroidRuntime( 2551): at android.hardware.Camera.native_setParameters(Native Method)
E/AndroidRuntime( 2551): at android.hardware.Camera.setParameters(Camera.java:619)
E/AndroidRuntime( 2551): at com.example.android.apis.graphics.Preview.surfaceChanged(CameraPreview.java:90)
E/AndroidRuntime( 2551): at android.view.SurfaceView.updateWindow(SurfaceView.java:460)
E/AndroidRuntime( 2551): at android.view.SurfaceView.dispatchDraw(SurfaceView.java:287)
E/AndroidRuntime( 2551): at android.view.ViewGroup.drawChild(ViewGroup.java:1529)
E/AndroidRuntime( 2551): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
E/AndroidRuntime( 2551): at android.view.View.draw(View.java:6538)
E/AndroidRuntime( 2551): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime( 2551): at android.view.ViewGroup.drawChild(ViewGroup.java:1531)
E/AndroidRuntime( 2551): at android.view.ViewGroup.dispatchDraw(ViewGroup.java:1258)
E/AndroidRuntime( 2551): at android.view.View.draw(View.java:6538)
E/AndroidRuntime( 2551): at android.widget.FrameLayout.draw(FrameLayout.java:352)
E/AndroidRuntime( 2551): at com.android.internal.policy.impl.PhoneWindow$DecorView.draw(PhoneWindow.java:1830)
E/AndroidRuntime( 2551): at android.view.ViewRoot.draw(ViewRoot.java:1349)
E/AndroidRuntime( 2551): at android.view.ViewRoot.performTraversals(ViewRoot.java:1114)
E/AndroidRuntime( 2551): at android.view.ViewRoot.handleMessage(ViewRoot.java:1633)
E/AndroidRuntime( 2551): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2551): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 2551): at android.app.ActivityThread.main(ActivityThread.java:4363)
E/AndroidRuntime( 2551): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2551): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 2551): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime( 2551): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime( 2551): at dalvik.system.NativeStart.main(Native Method)
I/Process ( 74): Sending signal. PID: 2551 SIG: 3
I/dalvikvm( 2551): threadid=7: reacting to signal 3
I/dalvikvm( 2551): Wrote stack trace to '/data/anr/traces.txt'
I/Process ( 2551): Sending signal. PID: 2551 SIG: 9
E/JavaBinder( 74): !!! FAILED BINDER TRANSACTION !!!
Can you please post all your logs here and don't create new thread for each problem you have.
Thanks.
blue0sky said:
E/QualcommCameraHardware( 52): Invalid preview size requested: 533x295
...
E/AndroidRuntime( 2551): at com.example.android.apis.graphics.Preview.surfaceChanged(CameraPreview.java:90)
Click to expand...
Click to collapse
You're right, it's the preview size. http://developer.android.com/reference/android/hardware/Camera.Parameters.html states:
Different devices may have different camera capabilities, such as picture size or flash modes. The application should query the camera capabilities before setting parameters.
Click to expand...
Click to collapse
You want to use
Code:
public List<Camera.Size> getSupportedPreviewSizes ()
to get a list of supported sizes and use one of those, instead of hardcoding the values.
Hello all,
I'm trying to debug a crash I have when after I have ported a rom, here's the output:
Code:
E/AndroidRuntime( 1327): FATAL EXCEPTION: main
E/AndroidRuntime( 1327): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2386)
E/AndroidRuntime( 1327): at android.app.ActivityThread.access$1600(ActivityThread.java:132)
E/AndroidRuntime( 1327): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
E/AndroidRuntime( 1327): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1327): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1327): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 1327): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ProfileManager.getNotificationGroupForPackage(ProfileManager.java:223)
E/AndroidRuntime( 1327): at android.app.ProfileManager.getActiveProfileGroup(ProfileManager.java:242)
E/AndroidRuntime( 1327): at android.media.AudioManager.shouldVibrate(AudioManager.java:784)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:254)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.<init>(PhoneStatusBarPolicy.java:195)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:311)
E/AndroidRuntime( 1327): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:97)
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2376)
E/AndroidRuntime( 1327): ... 10 more
Is there anyway to get
Code:
[b]E/AndroidRuntime( 1327): ... 10 more[/b]
to actually show the other 10 lines so I can do a complete trace?
Thank you for any help you can offer,
Pax
paxChristos said:
Hello all,
I'm trying to debug a crash I have when after I have ported a rom, here's the output:
Code:
E/AndroidRuntime( 1327): FATAL EXCEPTION: main
E/AndroidRuntime( 1327): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2386)
E/AndroidRuntime( 1327): at android.app.ActivityThread.access$1600(ActivityThread.java:132)
E/AndroidRuntime( 1327): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1211)
E/AndroidRuntime( 1327): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1327): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1327): at android.app.ActivityThread.main(ActivityThread.java:4575)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1327): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
E/AndroidRuntime( 1327): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:556)
E/AndroidRuntime( 1327): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1327): at android.app.ProfileManager.getNotificationGroupForPackage(ProfileManager.java:223)
E/AndroidRuntime( 1327): at android.app.ProfileManager.getActiveProfileGroup(ProfileManager.java:242)
E/AndroidRuntime( 1327): at android.media.AudioManager.shouldVibrate(AudioManager.java:784)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.updateVolume(PhoneStatusBarPolicy.java:254)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBarPolicy.<init>(PhoneStatusBarPolicy.java:195)
E/AndroidRuntime( 1327): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:311)
E/AndroidRuntime( 1327): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:97)
E/AndroidRuntime( 1327): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2376)
E/AndroidRuntime( 1327): ... 10 more
Is there anyway to get
Code:
[b]E/AndroidRuntime( 1327): ... 10 more[/b]
to actually show the other 10 lines so I can do a complete trace?
Thank you for any help you can offer,
Pax
Click to expand...
Click to collapse
This might not help you with the query you asked, but you should be able to debug your crash in the immediate line after E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException. Looks like there is a NullPointerException in line 223 of ProfileManager.java in the method android.app.ProfileManager.getNotificationGroupForPackage.
Hope that helps.
superatmos said:
This might not help you with the query you asked, but you should be able to debug your crash in the immediate line after E/AndroidRuntime( 1327): Caused by: java.lang.NullPointerException. Looks like there is a NullPointerException in line 223 of ProfileManager.java in the method android.app.ProfileManager.getNotificationGroupForPackage.
Hope that helps.
Click to expand...
Click to collapse
Thanks, I'm trying to fix that by throwing an
Code:
if (object != null)[code] around party of that method.
Sent from my R800x using Tapatalk 2
So I have this problem.. whenever I try to copy something in an app, that app force closes. This happens in all apps. Any solution other than just doing a factory reset?
Sent from my GT-I9300 using xda app-developers app
this is mentioned in another thread somewhere, sorry I'm not sure where. Try a bit of searching because I think they mentioned a fix.
I have this problem days ago..the only solution i have is to reset it..
Sent from my GT-I9300 using xda app-developers app
Log output
Example log output when trying to copy a message in the Messaging (SMS) app.
Code:
D/Mms/MessageOptions( 6372): mLaunchApp = 0
V/Mms/MessageOptions( 6372): copyToClipboard(),len=24
D/AndroidRuntime( 6372): Shutting down VM
W/dalvikvm( 6372): threadid=1: thread exiting with uncaught exception (group=0x40c771f8)
E/AndroidRuntime( 6372): FATAL EXCEPTION: main
E/AndroidRuntime( 6372): java.lang.NullPointerException
E/AndroidRuntime( 6372): at android.content.ClipboardManager.setPrimaryClip(ClipboardManager.java:146)
E/AndroidRuntime( 6372): at android.content.ClipboardManager.setText(ClipboardManager.java:260)
E/AndroidRuntime( 6372): at com.android.mms.ui.MessageOptions.copyToClipboard(MessageOptions.java:961)
E/AndroidRuntime( 6372): at com.android.mms.ui.ComposeMenu$MsgListMenuClickListener.onMenuItemClick(ComposeMenu.java:257)
E/AndroidRuntime( 6372): at com.android.internal.view.menu.MenuItemImpl.invoke(MenuItemImpl.java:144)
E/AndroidRuntime( 6372): at com.android.internal.view.menu.MenuBuilder.performItemAction(MenuBuilder.java:874)
E/AndroidRuntime( 6372): at com.android.internal.view.menu.MenuDialogHelper.onClick(MenuDialogHelper.java:186)
E/AndroidRuntime( 6372): at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:936)
E/AndroidRuntime( 6372): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
E/AndroidRuntime( 6372): at android.widget.AbsListView.performItemClick(AbsListView.java:1366)
E/AndroidRuntime( 6372): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2995)
E/AndroidRuntime( 6372): at android.widget.AbsListView$1.run(AbsListView.java:3790)
E/AndroidRuntime( 6372): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 6372): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 6372): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 6372): at android.app.ActivityThread.main(ActivityThread.java:4514)
E/AndroidRuntime( 6372): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 6372): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 6372): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
E/AndroidRuntime( 6372): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
E/AndroidRuntime( 6372): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 2112): Force finishing activity com.android.mms/.ui.ConversationComposer
E/android.os.Debug( 2112): [email protected] > dumpstate -k -t -n -z -d -o /data/log/dumpstate_app_error
I/dumpstate( 6441): begin
---------- Post added at 09:32 AM ---------- Previous post was at 09:27 AM ----------
These are the other two threads I found mentioning the same problem (Mods: any chance to merge these threads with this one?). So far the only solution found seems to be a device reset.
http://forum.xda-developers.com/showthread.php?t=1729535
http://forum.xda-developers.com/showthread.php?t=1706707
The factory reset solved my problem.
If you click dialer you get error message that unfortunately contacts has stopped.
I have tried wipe cache, wipe dalvik fix permissions. This is on a fresh installed of cm10.1 2m from stock rooted ICS build. I did import my contacts from my back up pro. Only thing left I can think of thanks in advance for any help.
CM question answers discussion thread on the forum .
jje
Wipe contacts and dialler data
slap20 said:
Wipe contacts and dialler data
Click to expand...
Click to collapse
I had seen thar suggested. How do I wipe indivual data caches? Or do you mean deleting all contacta indivdual?
Settings/apps/all......find the apks, tap on them, hit wipe data
Thank you so much! That fixed it. So glad I didn't have to reflash
slaphead20 said:
Settings/apps/all......find the apks, tap on them, hit wipe data
Click to expand...
Click to collapse
Hi guys,
I'm sorry but I still have this problem. I wiped data from everything that may be related (contacts, dialer, google contacts, dialer/contacts storage) but still no joy.
I flashed the phone with CM 10.1 M3 a few days ago but frankly I don't remember I've ever seen the stock dialer open.
Logcat says:
W/dalvikvm( 8958): threadid=1: thread exiting with uncaught exception (group=0x40b54930)
E/AndroidRuntime( 8958): FATAL EXCEPTION: main
E/AndroidRuntime( 8958): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.DialtactsActivity}: java.lang.NullPointerException
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
E/AndroidRuntime( 8958): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2357)
E/AndroidRuntime( 8958): at android.app.ActivityThread.access$600(ActivityThread.java:153)
E/AndroidRuntime( 8958): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
E/AndroidRuntime( 8958): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8958): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 8958): at android.app.ActivityThread.main(ActivityThread.java:5226)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 8958): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8958): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.setupDialer(DialtactsActivity.java:747)
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.onCreate(DialtactsActivity.java:530)
E/AndroidRuntime( 8958): at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 8958): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)
E/AndroidRuntime( 8958): ... 11 more
Any ideas or should I buy an iPhone?
Aviopene said:
Hi guys,
I'm sorry but I still have this problem. I wiped data from everything that may be related (contacts, dialer, google contacts, dialer/contacts storage) but still no joy.
I flashed the phone with CM 10.1 M3 a few days ago but frankly I don't remember I've ever seen the stock dialer open.
Logcat says:
W/dalvikvm( 8958): threadid=1: thread exiting with uncaught exception (group=0x40b54930)
E/AndroidRuntime( 8958): FATAL EXCEPTION: main
E/AndroidRuntime( 8958): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.contacts/com.android.contacts.activities.DialtactsActivity}: java.lang.NullPointerException
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2307)
E/AndroidRuntime( 8958): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2357)
E/AndroidRuntime( 8958): at android.app.ActivityThread.access$600(ActivityThread.java:153)
E/AndroidRuntime( 8958): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1247)
E/AndroidRuntime( 8958): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8958): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 8958): at android.app.ActivityThread.main(ActivityThread.java:5226)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8958): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 8958): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 8958): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 8958): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.setupDialer(DialtactsActivity.java:747)
E/AndroidRuntime( 8958): at com.android.contacts.activities.DialtactsActivity.onCreate(DialtactsActivity.java:530)
E/AndroidRuntime( 8958): at android.app.Activity.performCreate(Activity.java:5104)
E/AndroidRuntime( 8958): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1080)
E/AndroidRuntime( 8958): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2261)
E/AndroidRuntime( 8958): ... 11 more
Any ideas or should I buy an iPhone?
Click to expand...
Click to collapse
Found the cause of the problem. It was the theme's fault! I was (stupidly, I admit it) using an old CM7 theme (goo.gl -slash- 5wyP4) that was also working on CM9 but not in CM10.1. Apparently the stack trace was saying that the dialer activity failed to draw the interface.
Cheers
Avio
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