[Q] Mobilenoter SE HD for Tablets, FC's on HC - HTC Flyer, EVO View 4G

It might be the leaked version of Honeycomb but I can get the older non-tablet version of Mobilenoter to work but not the new version for HC tablets. I continue to get FCs on start. I've installed, uninstalled, re-installed, rebooted, and deleted directories to no avail. The original version works fine, but the Newer version for HC Tablets has some nice features that I would like to load up. The tool, while not a replacement for OneNote, does allow me to view and edit my OneNote files (no pen input) using skydrive. Anyone with similar issues or suggestions?

Checking logcat would probably be your best bet to see if any error messages were written out during the FC. Are you familiar with logcat? If not, see:
http://developer.android.com/guide/developing/tools/adb.html#logcat
for details.
The logcat file tends to be pretty big, so I tend to write it to an output file and possibly cut off the write procedure early.

Thanks for the directions on logcat. The best I can tell is that there is some resource / file missing. Beyond that, I have not done enough programming with android systems to figure it out.
Code:
I/ActivityManager( 1591): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 pkg=com.themsteam.mobilenoter.direct.tablet cmp=com.themsteam.mobilenoter.direct.tablet/com.themsteam.mobilenoter.ui.tablet.screens.home.TabletScreenHomeActivity } from pid 1694
I/PackageManager( 1591): Linking native library dir for /mnt/asec/com.popcap.pvz-1/pkg.apk
E/AndroidRuntime( 2780): FATAL EXCEPTION: main
E/AndroidRuntime( 2780): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.themsteam.mobilenoter.direct.tablet/com.themsteam.mobilenoter.ui.tablet.screens.home.TabletScreenHomeActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x7f020003
E/AndroidRuntime( 2780): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1997)
E/AndroidRuntime( 2780): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2018)
E/AndroidRuntime( 2780): at android.app.ActivityThread.access$500(ActivityThread.java:139)
E/AndroidRuntime( 2780): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1124)
E/AndroidRuntime( 2780): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2780): at android.os.Looper.loop(Looper.java:152)
E/AndroidRuntime( 2780): at android.app.ActivityThread.main(ActivityThread.java:4636)
E/AndroidRuntime( 2780): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2780): at java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime( 2780): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 2780): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 2780): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2780): Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f020003
E/AndroidRuntime( 2780): at android.content.res.Resources.getValue(Resources.java:1100)
E/AndroidRuntime( 2780): at android.content.res.Resources.getDrawable(Resources.java:670)
E/AndroidRuntime( 2780): at com.android.internal.policy.impl.PhoneWindow.generateLayout(PhoneWindow.java:2613)
E/AndroidRuntime( 2780): at com.android.internal.policy.impl.PhoneWindow.installDecor(PhoneWindow.java:2653)
E/AndroidRuntime( 2780): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:233)
E/AndroidRuntime( 2780): at android.app.Activity.setContentView(Activity.java:1871)
E/AndroidRuntime( 2780): at com.themsteam.mobilenoter.ui.tablet.screens.home.TabletScreenHomeActivity.onCreate(Unknown Source)
E/AndroidRuntime( 2780): at android.app.Activity.performCreate(Activity.java:4521)
E/AndroidRuntime( 2780): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1072)
E/AndroidRuntime( 2780): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1961)
E/AndroidRuntime( 2780): ... 11 more
W/ActivityManager( 1591): Force finishing activity com.themsteam.mobilenoter.direct.tablet/com.themsteam.mobilenoter.ui.tablet.screens.home.TabletScreenHomeActivity
................
/ActivityManager( 1591): Activity pause timeout for ActivityRecord{40f1aa68 com.themsteam.mobilenoter.direct.tablet/com.themsteam.mobilenoter.ui.tablet.screens.home.TabletScreenHomeActivity}
D/ActivityManager( 1591): destroyActivityLocked, r=ActivityRecord{40f1aa68 com.themsteam.mobilenoter.direct.tablet/com.themsteam.mobilenoter.ui.tablet.screens.home.TabletScreenHomeActivity}
V/ActivityManager( 1591): destroyActivityLocked, dalvik.system.VMStack.getThreadStackTrace(Native Method)
V/ActivityManager( 1591): destroyActivityLocked, java.lang.Thread.getStackTrace(Thread.java:746)
V/ActivityManager( 1591): destroyActivityLocked, com.android.server.am.ActivityStack.destroyActivityLocked(ActivityStack.java:3535)
V/ActivityManager( 1591): destroyActivityLocked, com.android.server.am.ActivityStack.activityIdleInternal(ActivityStack.java:3217)
V/ActivityManager( 1591): destroyActivityLocked, com.android.server.am.ActivityManagerService.activityIdle(ActivityManagerService.java:4185)
V/ActivityManager( 1591): destroyActivityLocked, android.app.ActivityManagerNative.onTransact(ActivityManagerNative.java:353)
V/ActivityManager( 1591): destroyActivityLocked, com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:1672)
V/ActivityManager( 1591): destroyActivityLocked, android.os.Binder.execTransact(Binder.java:339)
V/ActivityManager( 1591): destroyActivityLocked, dalvik.system.NativeStart.run(Native Method)
I/PackageManager( 1591): Linking native library dir for /mnt/asec/com.aol.mobile.engadget-1/pkg.apk
..................
V/HtcAppUsageStats( 1591): noteAppDied pid=2780
I/ActivityManager( 1591): Process com.themsteam.mobilenoter.direct.tablet (pid 2780) has died.
..................
W/ActivityManager( 1591): Activity destroy timeout for ActivityRecord{40f1aa68 com.themsteam.mobilenoter.direct.tablet/com.themsteam.mobilenoter.ui.tablet.screens.home.TabletScreenHomeActivity}

Nothing is jumping out at me from the logcat output, but I agree with you that it seems to be a missing resource file. There's not much information in the error log, so I believe the exception is just untreated by the developer. I guess the next step would be to send the logcat output to the developer.
Sorry I couldn't be of much more help....

bluebear13 said:
Nothing is jumping out at me from the logcat output, but I agree with you that it seems to be a missing resource file. There's not much information in the error log, so I believe the exception is just untreated by the developer. I guess the next step would be to send the logcat output to the developer.
Sorry I couldn't be of much more help....
Click to expand...
Click to collapse
Thanks anyway. I did send it in to the developer. It could be related to the Flyer HC leak since the program works fine on son's Lenovo Thinkpad Tablet.

Related

[Q] home screen crashing

any hint on how to restore it?
I can enter safe mode, (pressing MENU key at boot) but I can't figure out what to fix.
Here is the logcat of homescreen crashing
Code:
W/ActivityManager( 1159): Activity pause timeout for HistoryRecord{2ff36928 com.sonyericsson.homescreen/.HomeScreen}
I/WindowManager( 1159): onOrientationChanged, rotation changed to 0
W/KeyCharacterMap( 1159): Can't open keycharmap file
W/KeyCharacterMap( 1159): Error loading keycharmap file '/system/usr/keychars/robyn_keypad.kcm.bin'. hw.keyboards.0.devname='robyn_keypad'
W/KeyCharacterMap( 1159): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
D/KeyguardViewMediator( 1159): pokeWakelock(5000)
I/ActivityManager( 1159): Process com.sonyericsson.homescreen (pid 1768) has died.
I/ActivityManager( 1159): Start proc com.sonyericsson.homescreen for activity com.sonyericsson.homescreen/.HomeScreen: pid=1780 uid=10009 gids={1015, 3003}
W/UsageStats( 1159): Something wrong here, didn't expect com.sonyericsson.homescreen to be resumed
I/ActivityThread( 1780): Publishing provider com.sonyericsson.homescreen.widgetprovider: com.sonyericsson.homescreen.widgetprovider.WidgetProvider
I/ActivityThread( 1780): Publishing provider com.sonyericsson.homescreen.settingsprovider: com.sonyericsson.homescreen.settingsprovider.SettingsProvider
I/ActivityManager( 1159): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.sonyericsson.homescreen/.HomeScreen }
I/ActivityManager( 1159): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.sonyericsson.homescreen/.HomeScreen }
W/dalvikvm( 1780): threadid=3: thread exiting with uncaught exception (group=0x2aac9a28)
E/AndroidRuntime( 1780): Uncaught handler: thread main exiting due to uncaught exception
I/global ( 1780): Default buffer size used in BufferedWriter constructor. It would be better to be explicit if an 8k-char buffer is required.
E/AndroidRuntime( 1780): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.sonyericsson.homescreen/com.sonyericsson.homescreen.HomeScreen}: java.lang.ClassCastException: android.graphics.drawable.NinePatchDrawable
E/AndroidRuntime( 1780): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2401)
E/AndroidRuntime( 1780): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2417)
E/AndroidRuntime( 1780): at android.app.ActivityThread.access$2100(ActivityThread.java:116)
E/AndroidRuntime( 1780): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1794)
E/AndroidRuntime( 1780): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1780): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1780): at android.app.ActivityThread.main(ActivityThread.java:4203)
E/AndroidRuntime( 1780): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1780): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1780): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1780): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:557)
E/AndroidRuntime( 1780): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1780): Caused by: java.lang.ClassCastException: android.graphics.drawable.NinePatchDrawable
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.applicationloader.ItemFactory.internalCreateApplication(ItemFactory.java:90)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.applicationloader.ItemFactory.createApplication(ItemFactory.java:49)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.applicationloader.ApplicationLoader.loadApplicationInfoList(ApplicationLoader.java:84)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.launcher.model.LauncherModel.loadApplications(LauncherModel.java:846)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.launcher.model.LauncherModel.<init>(LauncherModel.java:223)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.launcher.model.LauncherModel.getInstance(LauncherModel.java:327)
E/AndroidRuntime( 1780): at com.sonyericsson.homescreen.HomeScreen.onCreate(HomeScreen.java:243)
E/AndroidRuntime( 1780): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
E/AndroidRuntime( 1780): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2364)
E/AndroidRuntime( 1780): ... 11 more
I/CrashSMS( 1412): FileObserver found new crash data. Send DO_CRASH_MSG_ACTION
I/CrashSMS( 1412): Received DO_CRASH_MSG_ACTION
I/global ( 1412): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
I/CrashSMS( 1412): Picking oldest crash data file 1281433209.txt
I/CrashSMS( 1412): Compiling the crash report
I/global ( 1412): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required.
W/TimeStamp( 1412): TimeStamp is different! Directory: /system/app
I/CrashSMS( 1412): Storing report: type=2 unit=1
I/CrashSMS( 1412): MiscTA index = 2:1 1:1 10:1 9:1 8:1 7:1 6:1 5:1 4:1 3:1
I/MTBFParamSet( 1412): Converting to MTBF Message
I/CrashSMS( 1412): update counters and delete crash data
I/DumpStateReceiver( 1159): Added state dump to 1 crashes
I found the problem, it was the latest update of AnySoftKeyboard.
I already told the developer about the issue.
Do anyone experience the same problem?
It's easy to restore the phone, just reboot it in safe mode (keep MENU pressed at boot) and uninstall AnySoftKeyboard.
Ditto
The same thing happened to my wife's X10 mini after updating AnySoftKeyboard, just like you.
Thanks for providing the solution.
Uninstalled.
Nasty bug.
Same happend to me, thanks for sollution.
But I really like the soft-keyboard, hope he/she will fix the bug
good news, latest version in the market fixes the issue!

MIUI porting need help from devs!!

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

[Q] Android [Settings] error on Huawei 10FHD

sorry for bad english
Found a strange problem! Pairing tablet via bluetooth with any phone, then choosing pair settings on tablet and in this mometn Settings menu is closing and we see working table with error "error in Settings program". Same thing with choosing mobile network settings. I've got a log of this problem (listed below), anybody can help with this bug?
Code:
D/BluetoothAdapterStateMachine( 1841): BluetoothOn process message: 1
W/BluetoothAdapterStateMachine( 1841): BluetoothOn received: 1
D/BluetoothEnabler( 4541): HW DETECTABILITY DEFAULT is 0
D/LocalBluetoothManager( 4541): setting foreground activity to non-null context
D/BluetoothInputDevice( 4541): getConnectedDevices()
D/BluetoothInputDevice( 4541): getPriority(D8:2A:7E:D1:D1:A2)
D/AndroidRuntime( 4541): Shutting down VM
W/dalvikvm( 4541): threadid=1: thread exiting with uncaught exception (group=0x40a7e1f8)
E/AndroidRuntime( 4541): FATAL EXCEPTION: main
E/AndroidRuntime( 4541): java.lang.NullPointerException
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.HeadsetProfile.isPreferred(HeadsetProfile.java:144)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.CachedBluetoothDevice.connectWithoutResettingTimer(CachedBluetoothDevice.java:238)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.CachedBluetoothDevice.connect(CachedBluetoothDevice.java:209)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.BluetoothDevicePreference.onClicked(BluetoothDevicePreference.java:201)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.DeviceListPreferenceFragment.onDevicePreferenceClick(DeviceListPreferenceFragment.java:192)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.BluetoothSettings.onDevicePreferenceClick(BluetoothSettings.java:369)
E/AndroidRuntime( 4541): at com.android.settings.bluetooth.DeviceListPreferenceFragment.onPreferenceTreeClick(DeviceListPreferenceFragment.java:184)
E/AndroidRuntime( 4541): at android.preference.Preference.performClick(Preference.java:949)
E/AndroidRuntime( 4541): at android.preference.PreferenceScreen.onItemClick(PreferenceScreen.java:202)
E/AndroidRuntime( 4541): at android.widget.AdapterView.performItemClick(AdapterView.java:292)
E/AndroidRuntime( 4541): at android.widget.AbsListView.performItemClick(AbsListView.java:1068)
E/AndroidRuntime( 4541): at android.widget.AbsListView$PerformClick.run(AbsListView.java:2524)
E/AndroidRuntime( 4541): at android.widget.AbsListView$1.run(AbsListView.java:3193)
E/AndroidRuntime( 4541): at android.os.Handler.handleCallback(Handler.java:605)
E/AndroidRuntime( 4541): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4541): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 4541): at android.app.ActivityThread.main(ActivityThread.java:4521)
E/AndroidRuntime( 4541): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4541): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 4541): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:762)
E/AndroidRuntime( 4541): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:529)
E/AndroidRuntime( 4541): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 1841): Force finishing activity com.android.settings/.Settings
D/OppNotification( 2613): Stopping notification thread: NotificationUpdateThread-1356435222415
W/ActivityManager( 1841): Activity pause timeout for ActivityRecord{41595320 com.android.settings/.Settings}
E/dalvikvm( 4801): GC_CONCURRENT freed 1373K, 13% free 11484K/13191K, paused 2ms+15ms
I/Process ( 4541): Sending signal. PID: 4541 SIG: 9
D/Settings( 2052): getAllInstallLangId().length43
D/Settings( 2052): getAllInstallLangId().length43
I/WindowManager( 1841): WIN DEATH: Window{417b2068 com.android.settings/com.android.settings.Settings paused=false}
I/ActivityManager( 1841): Process com.android.settings (pid 4541) has died.
W/ActivityManager( 1841): Activity destroy timeout for ActivityRecord{41595320 com.android.settings/.Settings}

[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.

[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