[Q] SystemUI.apk crashes - Android Q&A, Help & Troubleshooting

Hi,
I'm bulding android for my single board computer with connected 7 inch lcd touch screen. It's working like a charm, but one issue. SystemUI.apk is crashing all the time with following error log:
Code:
I/ActivityManager( 368): Start proc com.android.systemui for restart com.android.systemui: pid=1883 uid=10001 gids={50001, 1028, 1015, 3002, 3001}
D/SystemUIService( 1883): loading: class com.android.systemui.statusbar.tablet.TabletStatusBar
D/SystemUIService( 1883): running: [email protected]
I/StatusBarManagerService( 368): registerStatusBar [email protected]0
W/ResourceType( 1883): Failure getting entry for 0x7f0200db (t=1 e=219) in package 0 (error -75)
D/AndroidRuntime( 1883): Shutting down VM
W/dalvikvm( 1883): threadid=1: thread exiting with uncaught exception (group=0x40d30930)
E/AndroidRuntime( 1883): FATAL EXCEPTION: main
E/AndroidRuntime( 1883): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #48: Error inflating class com.android.systemui.statusbar.policy.CompatModeButton
Does anyone know how to fix this or what's the reason for the crash?
Thank you very much in advance.

Update
rotowsky said:
Hi,
I'm bulding android for my single board computer with connected 7 inch lcd touch screen. It's working like a charm, but one issue. SystemUI.apk is crashing all the time with following error log:
Code:
I/ActivityManager( 368): Start proc com.android.systemui for restart com.android.systemui: pid=1883 uid=10001 gids={50001, 1028, 1015, 3002, 3001}
D/SystemUIService( 1883): loading: class com.android.systemui.statusbar.tablet.TabletStatusBar
D/SystemUIService( 1883): running: [email protected]
I/StatusBarManagerService( 368): registerStatusBar [email protected]0
W/ResourceType( 1883): Failure getting entry for 0x7f0200db (t=1 e=219) in package 0 (error -75)
D/AndroidRuntime( 1883): Shutting down VM
W/dalvikvm( 1883): threadid=1: thread exiting with uncaught exception (group=0x40d30930)
E/AndroidRuntime( 1883): FATAL EXCEPTION: main
E/AndroidRuntime( 1883): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #48: Error inflating class com.android.systemui.statusbar.policy.CompatModeButton
Does anyone know how to fix this or what's the reason for the crash?
Thank you very much in advance.
Click to expand...
Click to collapse
Hope for an Update , and that it works , ( I think so )

Mmh?

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!

[Q] SystemUI.apk from AOSP 4.2 FQ

Hello, EDIT: FQ = Force Close
I have a VM with Ubuntu 10.04, sun java6 jdk, everything configured like I read here: http://source.android.com/source/initializing.html
I try to mod the SystemUI-QuickSettings on my Nexus4 - Android 4.2
For that I downloaded the hole repo https://android.googlesource.com/platform/manifest
and i tryed the repo https://android.googlesource.com/platform/manifest -b android-4.2_r1
too.
A make -j8 finish's without any error.
------------
Problem:
Iam not able to compile the SystemUI from Source and get it working...
Question 1:
The emulator, which is built during the compilation process dont start (opengles problem). How can I export the "built emulator" into my android sdk avd? because when I create an emulator with android avd it works!
Question 2:
I try to modifiy the SystemUI (the onclick behavior in the QuickSettings for the Wifi toggle - but till now I just comment the override out) and compile it (.build/env... with mako built). When I push the SystemUI.apk from(.../out/target/product/mako/system/app/) to the system folder on my Nexus 4 and change the rights (chmod 644) and reboot, I still get a force close. To get it on my phone I added in the manifest.xml
<uses-sdk android:minSdkVersion="17"
android:targetSdkVersion="17">
</uses-sdk>
Logcat:
I/Process ( 2181): Sending signal. PID: 2181 SIG: 9
I/ActivityManager( 595): Process com.android.systemui (pid 2181) has died.
W/ActivityManager( 595): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
I/ActivityManager( 595): Start proc com.android.systemui for restart com.android.systemui: pid=3403 uid=10057 gids={50057, 1028, 1015, 3002, 3001}
W/InputMethodManagerService( 595): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
D/AndroidRuntime( 3403): Shutting down VM
W/dalvikvm( 3403): threadid=1: thread exiting with uncaught exception (group=0x40c01930)
E/AndroidRuntime( 3403): FATAL EXCEPTION: main
E/AndroidRuntime( 3403): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 3403): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2539)
E/AndroidRuntime( 3403): at android.app.ActivityThread.access$1600(ActivityThread.java:141)
E/AndroidRuntime( 3403): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
E/AndroidRuntime( 3403): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3403): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3403): at android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime( 3403): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3403): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3403): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 3403): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 3403): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3403): Caused by: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 3403): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 3403): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 3403): at android.view.accessibility.IAccessibilityManager$Stub$Proxy.addClient(IAccessibilityManager.java:203)
E/AndroidRuntime( 3403): at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java:200)
E/AndroidRuntime( 3403): at android.view.accessibility.AccessibilityManager.createSingletonInstance(AccessibilityManager.java:182)
E/AndroidRuntime( 3403): at android.view.accessibility.AccessibilityManager.createAsSharedAcrossUsers(AccessibilityManager.java:153)
E/AndroidRuntime( 3403): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:73)
E/AndroidRuntime( 3403): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2529)
E/AndroidRuntime( 3403): ... 10 more
W/ActivityManager( 595): Process com.android.systemui has crashed too many times: killing!
D/overlay ( 163): FROM_STATE = OV_CLOSED TO_STATE = OV_BYPASS_3_LAYER
D/overlay ( 163): FROM_STATE = OV_BYPASS_3_LAYER TO_STATE = OV_CLOSED
D/dalvikvm( 1303): GC_CONCURRENT freed 909K, 7% free 14176K/15228K, paused 3ms+4ms, total 29ms
D/dalvikvm( 1303): GC_CONCURRENT freed 935K, 7% free 15013K/15976K, paused 5ms+6ms, total 78ms
D/dalvikvm( 1303): WAIT_FOR_CONCURRENT_GC blocked 62ms
D/dalvikvm( 1303): GC_CONCURRENT freed 1485K, 9% free 15557K/17080K, paused 3ms+4ms, total 37ms
W/Finsky ( 1303): [1] 1.onResponse: No document details for app: pkg=com.imdb.mobile
W/Finsky ( 1303): [1] 1.onResponse: No document details for app: pkg=de.tzwebdesign.TUCMensa
W/Finsky ( 1303): [1] 1.onResponse: No document details for app: pkg=eu.chainfire.supersu
W/ActivityManager( 595): Timeout executing service: ServiceRecord{41ae4608 u0 com.android.systemui/.SystemUIService}
I/ActivityManager( 595): Crashing app skipping ANR: ProcessRecord{41808a68 3403:com.android.systemui/u0a10057} Executing service com.android.systemui/.SystemUIService
D/Finsky ( 1303): [1] 5.onFinished: Installation state replication succeeded.
W/ThrottleService( 595): unable to find stats for iface rmnet_usb0
I/dalvikvm( 2521): Total arena pages for JIT: 18
D/dalvikvm( 2521): GC_CONCURRENT freed 409K, 5% free 9933K/10372K, paused 3ms+3ms, total 25ms
D/dalvikvm( 2521): GC_CONCURRENT freed 332K, 4% free 10033K/10396K, paused 3ms+3ms, total 26ms
I/Process ( 3403): Sending signal. PID: 3403 SIG: 9
I/ActivityManager( 595): Process com.android.systemui (pid 3403) has died.
W/ActivityManager( 595): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
I/ActivityManager( 595): Start proc com.android.systemui for restart com.android.systemui: pid=3462 uid=10057 gids={50057, 1028, 1015, 3002, 3001}
W/InputMethodManagerService( 595): Window already focused, ignoring focus gain of: [email protected] attribute=null, token = [email protected]
D/dalvikvm( 164): GC_EXPLICIT freed 39K, 1% free 8871K/8940K, paused 2ms+3ms, total 30ms
D/dalvikvm( 164): GC_EXPLICIT freed <1K, 1% free 8871K/8940K, paused 2ms+2ms, total 23ms
D/dalvikvm( 164): GC_EXPLICIT freed <1K, 1% free 8871K/8940K, paused 1ms+2ms, total 18ms
Click to expand...
Click to collapse
E/AndroidRuntime( 3403): FATAL EXCEPTION: main
E/AndroidRuntime( 3403): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
So I looked into the source code and found in the SystemUI manifest.xml
<!-- ActivityManager -->
<uses-permission android:name="android.permission.GET_TASKS" />
<uses-permission android:name="android.permission.GET_DETAILED_TASKS" />
<uses-permission android:name="android.permission.REORDER_TASKS" />
<uses-permission android:name="android.permission.REMOVE_TASKS" />
<uses-permission android:name="android.permission.STOP_APP_SWITCHES" />
<uses-permission android:name="android.permission.SET_SCREEN_COMPATIBILITY" />
<uses-permission android:name="android.permission.START_ANY_ACTIVITY" />
<uses-permission android:name="android.permission.INTERACT_ACROSS_USERS_FULL" />
So the app still have the permission! Can anyone help me to figure out what is wrong with my built?
I am getting a similar error, and cannot figure it out either. If you figured it our please let me know.
I think the problem is making a call as user -2 since it starts at 0 and goes up. This leads me to believe -2 does not exist but I can't figure out why it is calling it as -2.
W/dalvikvm( 2668): threadid=1: thread exiting with uncaught exception (group=0x40bee930)
E/AndroidRuntime( 2668): FATAL EXCEPTION: main
E/AndroidRuntime( 2668): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 2668): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2539)
E/AndroidRuntime( 2668): at android.app.ActivityThread.access$1600(ActivityThread.java:141)
E/AndroidRuntime( 2668): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1316)
E/AndroidRuntime( 2668): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2668): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2668): at android.app.ActivityThread.main(ActivityThread.java:5039)
E/AndroidRuntime( 2668): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 2668): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2668): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime( 2668): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime( 2668): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2668): Caused by: java.lang.SecurityException: Call from user 0 as user -2 without permission INTERACT_ACROSS_USERS or INTERACT_ACROSS_USERS_FULL not allowed.
E/AndroidRuntime( 2668): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 2668): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 2668): at android.view.accessibility.IAccessibilityManager$Stub$Proxy.addClient(IAccessibilityManager.java:203)
E/AndroidRuntime( 2668): at android.view.accessibility.AccessibilityManager.<init>(AccessibilityManager.java:200)
E/AndroidRuntime( 2668): at android.view.accessibility.AccessibilityManager.createSingletonInstance(AccessibilityManager.java:182)
E/AndroidRuntime( 2668): at android.view.accessibility.AccessibilityManager.createAsSharedAcrossUsers(AccessibilityManager.java:153)
E/AndroidRuntime( 2668): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:73)
E/AndroidRuntime( 2668): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2529)
E/AndroidRuntime( 2668): ... 10 more
W/ActivityManager( 509): Process com.android.systemui has crashed too many times: killing!
Click to expand...
Click to collapse
Questions should be posted in Q&A forums, not Development forums.
http://forum.xda-developers.com/announcement.php?a=81
See rule #15
Thread moved.

[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] Porting PAC rom - some problems

Hello everyone,
I have some problems with porting PAC to HTC Sensation:
1. getVolumeState(/mnt/usbdisk): Unknown volume - beacuse of that I have f/c on settings/storage and can't mount SD card. Workaround - pull and push sd card than can it read it. Here is full logcat:
Code:
W/MountService( 436): getVolumeState(/mnt/usbdisk): Unknown volume
D/AndroidRuntime(13478): Shutting down VM
W/dalvikvm(13478): threadid=1: thread exiting with uncaught exception (group=0x40af5930)
E/AndroidRuntime(13478): FATAL EXCEPTION: main
E/AndroidRuntime(13478): java.lang.IllegalArgumentException
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime(13478): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime(13478): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime(13478): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime(13478): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime(13478): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(13478): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(13478): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(13478): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime(13478): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime(13478): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 436): Force finishing activity com.android.settings/.Settings
W/ActivityManager( 436): Activity pause timeout for ActivityRecord{40f15f58 u0 com.android.settings/.Settings}
W/ThrottleService( 436): unable to find stats for iface rmnet0
2. Menu settings doesn't work. After touching softkey or the key on the screen it doesn't show program settings. I don't know how to fix it...
Thanks for any help!
You can PM or answer this thread.
Regards,
Hellmanor.
bump.
bump again.
More logcat:
Code:
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
W/StorageMeasurement( 1919): Problem in container service
W/StorageMeasurement( 1919): java.lang.IllegalStateException: libcore.io.ErrnoException: statfs failed: ENOENT (No such file or directory)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1433)
W/StorageMeasurement( 1919): at android.os.Parcel.readException(Parcel.java:1379)
W/StorageMeasurement( 1919): at com.android.internal.app.IMediaContainerService$Stub$Proxy.getFileSystemStats(IMediaContainerService.java:464)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.measureApproximateStorage(StorageMeasurement.java:384)
W/StorageMeasurement( 1919): at com.android.settings.deviceinfo.StorageMeasurement$MeasurementHandler.handleMessage(StorageMeasurement.java:350)
W/StorageMeasurement( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
W/StorageMeasurement( 1919): at android.os.Looper.loop(Looper.java:137)
W/StorageMeasurement( 1919): at android.os.HandlerThread.run(HandlerThread.java:60)
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Android) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Podcasts) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/DCIM) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Ringtones) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Movies) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Alarms) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Music) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Notifications) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Pictures) returned 0
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0/Download) returned 0
I/DefContainer-JNI( 1584): error opening: /storage/sdcard0: Permission denied
D/StorageMeasurement( 1919): getDirectorySize(/storage/sdcard0) returned 0
D/AndroidRuntime( 1919): Shutting down VM
W/dalvikvm( 1919): threadid=1: thread exiting with uncaught exception (group=0x40b09930)
W/MountService( 434): getVolumeState(/mnt/usbdisk): Unknown volume
E/AndroidRuntime( 1919): FATAL EXCEPTION: main
E/AndroidRuntime( 1919): java.lang.IllegalArgumentException
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1429)
E/AndroidRuntime( 1919): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 1919): at android.os.storage.IMountService$Stub$Proxy.getVolumeState(IMountService.java:241)
E/AndroidRuntime( 1919): at android.os.storage.StorageManager.getVolumeState(StorageManager.java:555)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updatePreferencesFromState(StorageVolumePreferenceCategory.java:241)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory.updateApproximate(StorageVolumePreferenceCategory.java:335)
E/AndroidRuntime( 1919): at com.android.settings.deviceinfo.StorageVolumePreferenceCategory$1.handleMessage(StorageVolumePreferenceCategory.java:91)
E/AndroidRuntime( 1919): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1919): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1919): at android.app.ActivityThread.main(ActivityThread.java:5237)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1919): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 1919): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 1919): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 434): Force finishing activity com.android.settings/.Settings

Build help - mtp/storage and media process crash on 10.1base

Hi guys I hope someone can help
I finished succesfully compiling a cm10.1 based rom
After boot android.process.media crashes and internal storage canno't be mounted
This is the error's logcat
Code:
I/ActivityManager( 437): Start proc android.process.media for broadcast com.android.providers.media/.MediaScannerReceiver: pid=1262 uid=10013 gids={50013, 1015, 1023, 1024, 1028, 2001, 3003, 3007}
I/DownloadManager( 1262): in removeSpuriousFiles
D/MtpService( 1262): updating state; isCurrentUser=true, mMtpLocked=false
D/MtpService( 1262): addStorageLocked 65537 /storage/emulated/0
D/AndroidRuntime( 1262): Shutting down VM
W/dalvikvm( 1262): threadid=1: thread exiting with uncaught exception (group=0x41827930)
W/MountService( 437): getVolumeState(/storage/sdcard1): Unknown volume
E/AndroidRuntime( 1262): FATAL EXCEPTION: main
E/AndroidRuntime( 1262): java.lang.RuntimeException: Unable to create service com.android.providers.media.MtpService: java.lang.IllegalArgumentException
I googled and found only pastebins so i hope someone had this problem and managed to solve it
Thanks
Waiting for an answer i took apart the zip and realized the source of the problem is that i'm missing vold.fstab from system>etc...
It should build from the device.mk...maybe the repo has some 4.3 commits....
In case it doesn't include it what's the syntax for another call to include vold.fstab in one of the makefiles?

Categories

Resources