E/AndroidRuntime( 1265): FATAL EXCEPTION: main
E/AndroidRuntime( 1265): java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime( 1265): at com.noshufou.android.su.LogActivity$LogAdapter.configurePinnedHeader(LogActivity.java:271)
E/AndroidRuntime( 1265): at com.noshufou.android.su.PinnedHeaderListView.configureHeaderView(PinnedHeaderListView.java:143)
E/AndroidRuntime( 1265): at com.noshufou.android.su.LogActivity$LogAdapter.onScroll(LogActivity.java:230)
E/AndroidRuntime( 1265): at android.widget.AbsListView.invokeOnItemScrollListener(AbsListView.java:675)
E/AndroidRuntime( 1265): at android.widget.ListView.layoutChildren(ListView.java:1660)
E/AndroidRuntime( 1265): at android.widget.AbsListView.onLayout(AbsListView.java:1147)
E/AndroidRuntime( 1265): at com.noshufou.android.su.PinnedHeaderListView.onLayout(PinnedHeaderListView.java:123)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249)
E/AndroidRuntime( 1265): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125)
E/AndroidRuntime( 1265): at android.widget.LinearLayout.onLayout(LinearLayout.java:1042)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1249)
E/AndroidRuntime( 1265): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1125)
E/AndroidRuntime( 1265): at android.widget.LinearLayout.onLayout(LinearLayout.java:1042)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.widget.FrameLayout.onLayout(FrameLayout.java:333)
E/AndroidRuntime( 1265): at android.view.View.layout(View.java:7035)
E/AndroidRuntime( 1265): at android.view.ViewRoot.performTraversals(ViewRoot.java:1045)
E/AndroidRuntime( 1265): at android.view.ViewRoot.handleMessage(ViewRoot.java:1727)
E/AndroidRuntime( 1265): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1265): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 1265): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 1265): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1265): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 1265): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 1265): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 1265): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 512): Force finishing activity com.noshufou.android.su/.Su
W/ActivityManager( 512): Activity pause timeout for HistoryRecord{43efc2a0 com.noshufou.android.su/.Su}
08-11 01:35:00.673: DEBUG/Su.AppListActivity(2322): onResume()
08-11 01:35:00.683: WARN/dalvikvm(2322): threadid=3: thread exiting with uncaught exception (group=0x40026268)
08-11 01:35:00.683: ERROR/AndroidRuntime(2322): Uncaught handler: thread main exiting due to uncaught exception
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): java.lang.RuntimeException: Unable to resume activity {com.noshufou.android.su/com.noshufou.android.su.Su}: java.lang.RuntimeException: Unable to resume activity {com.noshufou.android.su/com.noshufou.android.su.AppListActivity}: java.lang.IllegalArgumentException: column '_id' does not exist
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2950)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2965)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2516)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.os.Handler.dispatchMessage(Handler.java:99)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.os.Looper.loop(Looper.java:123)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.main(ActivityThread.java:4363)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at java.lang.reflect.Method.invokeNative(Native Method)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at java.lang.reflect.Method.invoke(Method.java:521)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at dalvik.system.NativeStart.main(Native Method)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): Caused by: java.lang.RuntimeException: Unable to resume activity {com.noshufou.android.su/com.noshufou.android.su.AppListActivity}: java.lang.IllegalArgumentException: column '_id' does not exist
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2950)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.LocalActivityManager.moveToState(LocalActivityManager.java:170)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.LocalActivityManager.dispatchResume(LocalActivityManager.java:518)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityGroup.onResume(ActivityGroup.java:58)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.Activity.performResume(Activity.java:3763)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): ... 12 more
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): Caused by: java.lang.IllegalArgumentException: column '_id' does not exist
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.database.AbstractCursor.getColumnIndexOrThrow(AbstractCursor.java:314)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.widget.CursorAdapter.changeCursor(CursorAdapter.java:257)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at com.noshufou.android.su.AppListActivity.refreshList(AppListActivity.java:143)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at com.noshufou.android.su.AppListActivity.onResume(AppListActivity.java:87)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1149)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.Activity.performResume(Activity.java:3763)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2937)
08-11 01:35:00.703: ERROR/AndroidRuntime(2322): ... 18 more
08-11 01:35:00.883: INFO/DumpStateReceiver(1242): Added state dump to 1 crashes
Extract system/app/Superuser.apk and system/xbin/su from the proper update.zip for your firmware and install it with the following adb commands.
Code:adb remount adb push Superuser.apk /system/app adb push su /system/xbin adb shell chmod 06755 /system/xbin/su adb reboot
If you're not comfortable with this method, wait for the fix.
08-10 21:47:13.620: ERROR/AndroidRuntime(995): java.lang.RuntimeException: Unable to resume activity {com.noshufou.android.su/com.noshufou.android.su.Su}: java.lang.RuntimeException: Unable to resume activity {com.noshufou.android.su/com.noshufou.android.su.AppListActivity}: java.lang.IllegalArgumentException: column '_id' does not exist
Tried flashing using SPRecovery and it failed, anybody else having issues using SPRecovery? At work or would look into it further.
ChainsDD
Hey man, 2.3 Cupcake/Donut Forcecloses on start-up it won't even open any advice?
I've attached a log for reference.
Device: HTC Magic 32B
ROM: Dwang 1.17.1
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
adb remount
adb shell rm /system/app/Superuser.apk
adb shell pm uninstall com.noshufou.android.su
$ su
# (remount for your phone, Nexus One is 'mount -o remount,rw /dev/block/mtdblock3 /system', other phones will use the same pattern, but may vary on the '/dev...' bit)
# rm /system/app/Superuser.apk
# pm uninstall com.noshufou.android.su
# (same remount command as above, but with 'remount,ro' instead of 'remount,rw')
ChainsDD: Weird. Coming from Cm5.0.7 I didn't have to re-allow anything. However, your previous releases (from the older thread) indeed made me re-allow everything .
Did not work on a HTC dream with Cyanogen test 5 i flashed both eclair versions with the same end result
there is a superuser app in the tray but does not ask for permission Eg. SetCPU ask's if i have root and terminal says $ su: symbolic link loop
any ideas?
hi,
has su 2.1 the ability to set the su shell in order to forze the use of bash or other?
command line: su -s /system/bin/bash
i have reported this issue in the 2.0.3 thread.
Agree!
i have got a milestone too and replace it but dont see it. which one have you taken? i have 2.1 rooted.