Port 23 toogles Wanam/lidroid for N7105 - DMF2 - Galaxy Note II, Galaxy S III Developer Discussion

Hello
I'm doing some mods to DMF2 Odexed rom in this thread:
http://forum.xda-developers.com/showthread.php?t=2384963
I'm trying to make the port the mod 23 toogles of Wanam / lidroid.
is almost finished but I have a fc in System UI when i use toogle "flashlight"
This is the Catlog this error:
Code:
07-30 19:31:20.020 E/AndroidRuntime(27597): java.lang.RuntimeException: Fail to connect to camera service
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.hardware.Camera.native_setup(Native Method)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.hardware.Camera.<init>(Camera.java:353)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.hardware.Camera.open(Camera.java:330)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.util.LedController.openCamera(LedController.java)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.util.LedController.isFlashSupported(LedController.java)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.systemui.quickpanel.FlashlightButton.toggleState(FlashlightButton.java)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.systemui.quickpanel.PowerButton$2.onClick(PowerButton.java:181)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.view.View.performClick(View.java:4223)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.view.View$PerformClick.run(View.java:17275)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.os.Handler.handleCallback(Handler.java:615)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.os.Handler.dispatchMessage(Handler.java:92)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.os.Looper.loop(Looper.java:137)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.app.ActivityThread.main(ActivityThread.java:4898)
07-30 19:31:20.020 E/AndroidRuntime(27597): at java.lang.reflect.Method.invokeNative(Native Method)
07-30 19:31:20.020 E/AndroidRuntime(27597): at java.lang.reflect.Method.invoke(Method.java:511)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
07-30 19:31:20.020 E/AndroidRuntime(27597): at dalvik.system.NativeStart.main(Native Method)
07-30 19:31:20.025 E/android.os.Debug(3694): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
Thanks in advance for any help
these are the files used in the merge of classes.dex:

zamcum said:
Hello
I'm doing some mods to DMF2 Odexed rom in this thread:
http://forum.xda-developers.com/showthread.php?t=2384963
I'm trying to make the port the mod 23 toogles of Wanam / lidroid.
is almost finished but I have a fc in System UI when i use toogle "flashlight"
This is the Catlog this error:
Code:
07-30 19:31:20.020 E/AndroidRuntime(27597): java.lang.RuntimeException: Fail to connect to camera service
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.hardware.Camera.native_setup(Native Method)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.hardware.Camera.<init>(Camera.java:353)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.hardware.Camera.open(Camera.java:330)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.util.LedController.openCamera(LedController.java)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.util.LedController.isFlashSupported(LedController.java)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.systemui.quickpanel.FlashlightButton.toggleState(FlashlightButton.java)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.wanam.systemui.quickpanel.PowerButton$2.onClick(PowerButton.java:181)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.view.View.performClick(View.java:4223)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.view.View$PerformClick.run(View.java:17275)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.os.Handler.handleCallback(Handler.java:615)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.os.Handler.dispatchMessage(Handler.java:92)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.os.Looper.loop(Looper.java:137)
07-30 19:31:20.020 E/AndroidRuntime(27597): at android.app.ActivityThread.main(ActivityThread.java:4898)
07-30 19:31:20.020 E/AndroidRuntime(27597): at java.lang.reflect.Method.invokeNative(Native Method)
07-30 19:31:20.020 E/AndroidRuntime(27597): at java.lang.reflect.Method.invoke(Method.java:511)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
07-30 19:31:20.020 E/AndroidRuntime(27597): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
07-30 19:31:20.020 E/AndroidRuntime(27597): at dalvik.system.NativeStart.main(Native Method)
07-30 19:31:20.025 E/android.os.Debug(3694): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
Thanks in advance for any help
these are the files used in the merge of classes.dex:
Click to expand...
Click to collapse
You need to edit AndroidManifest.xml and add the required Camera permission, recompile and resign the file and disable signature check on service.jar.

wanam said:
You need to edit AndroidManifest.xml and add the required Camera permission, recompile and resign the file and disable signature check on service.jar.
Click to expand...
Click to collapse
Problem solved ...and mod in the thread
A big thanks for your quick and huge help
regards
Zamcum

Related

Imageview in XML - adding content

So I am having an issue I cannot work out on my own regarding xml layouts. I have, for the last couple of weeks, been working and learning deeper level xml edits, and have worked out quite a bit on my own, but this one has me stumped. I am trying to add images into systemui, in particular to tw_status_bar_expanded. I have managed to center certain pieces of text, but now I wish to add images to either side of the text, just to add a touch of flare. This is a mock up of what I want it to look like in photoshop; the lines on either side of ongoing and notifications would be the image files. I do need them to to be images, and not blocks declared in xml, for other plans I have for those images.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
So I got the text centered, drew up a fresh ninepatch file to handle the stretching called notification_accent.9.png, and wrote up some xml code that I had hoped would display the images. The image is stored in res/drawable-xhdpi. But, when I flash the new systemui to my phone, it just repeatedly force closes.
I am sure there are several issues you can see immediately with the following brick of code. I am sure that using fill_parent on the text will override the images, which I will need to work out. But I cannot understand why it is force closing. Here is the bit of code:
Code:
<LinearLayout android:orientation="vertical" android:id="@id/notificationCart" android:background="#ff000000" android:visibility="gone" android:layout_width="fill_parent" android:layout_height="@dimen/status_bar_expanded_notification_category_height">
<LinearLayout android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content">
<ImageView android:layout_gravity="left|center" android:layout_width="wrap_content" android:padding="2.0dip" android:layout_height="@dimen/status_bar_expanded_notification_category_height" android:src="@drawable/notification_accent" android:scaleType="fitXY" />
<TextView android:textSize="@dimen/status_bar_expanded_notification_category_text_size" android:textStyle="bold" android:textColor="@color/notification_category_color" android:gravity="center" android:id="@id/latestNotificationText" android:layout_width="fill_parent" android:layout_height="fill_parent" android:text="@string/status_bar_latest_events_title" android:layout_alignParentLeft="false" />
<ImageView android:layout_gravity="right|center" android:layout_width="wrap_content" android:padding="2.0dip" android:layout_height="@dimen/status_bar_expanded_notification_category_height" android:src="@drawable/notification_accent" android:scaleType="fitXY" />
</LinearLayout>
</LinearLayout>
If anyone can give me any kind of insight, it would be very much appreciated. Like I said, I have been trying to learn how to do this on my own, and have done decently so far - but this one just eludes me. If you can help me figure it out, you will get a huge thanks when i post this in themes and apps on the l900 forms as well as in the roms I build that use this.
The logcat would be very useful! And if you could post the code between code tags [ code ] without spaces that'd be better too!
Kryten2k35 said:
The logcat would be very useful! And if you could post the code between code tags [ code ] without spaces that'd be better too!
Click to expand...
Click to collapse
I fixed the code - sorry about that, I posted it up in a hurry last night and didn't have time to fight the formatting. As for a logcat: I ran and I (believe) I have isolated the bit regarding the crash. Not sure that I know what a class inflation error is.
Code:
W/dalvikvm( 3124): threadid=1: thread exiting with uncaught exception (group=0x410b92a0)
E/AndroidRuntime( 3124): FATAL EXCEPTION: main
E/AndroidRuntime( 3124): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 3124): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
E/AndroidRuntime( 3124): at android.app.ActivityThread.access$1600(ActivityThread.java:140)
E/AndroidRuntime( 3124): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
E/AndroidRuntime( 3124): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 3124): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 3124): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 3124): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 3124): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 3124): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
E/AndroidRuntime( 3124): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
E/AndroidRuntime( 3124): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 3124): Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 3124): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
E/AndroidRuntime( 3124): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 3124): at android.view.View.inflate(View.java:16434)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:539)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3098)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3067)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:456)
E/AndroidRuntime( 3124): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:488)
E/AndroidRuntime( 3124): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)
E/AndroidRuntime( 3124): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2404)
E/AndroidRuntime( 3124): ... 10 more
E/AndroidRuntime( 3124): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 3124): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 3124): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 3124): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 3124): ... 32 more
E/AndroidRuntime( 3124): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f020229 a=-1 r=0x7f020229}
E/AndroidRuntime( 3124): at android.content.res.Resources.loadDrawable(Resources.java:1925)
E/AndroidRuntime( 3124): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/AndroidRuntime( 3124): at android.widget.ImageView.<init>(ImageView.java:120)
E/AndroidRuntime( 3124): at android.widget.ImageView.<init>(ImageView.java:110)
E/AndroidRuntime( 3124): ... 35 more
E/android.os.Debug( 2557): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
I/ActivityThread( 3204): Pub com.samsung.helphub.provider: com.samsung.helphub.provider.HelpHubContentProvider
I/dumpstate( 3219): begin
Now I did not make any smali edits with this... I am assuming that is where I failed. I am super uncomfortable inside a smali file, but I will do my darndest to get this working.
Hmm, which part is line 32? You should be ok for smali, this is an XML error
Kryten2k35 said:
Hmm, which part is line 32? You should be ok for smali, this is an XML error
Click to expand...
Click to collapse
Its the first image view I had posted. Second line of the code I have up. I have gone into public and given it a declaration, added that declaration into the smali r$drawable, and added it into the ids xml... still no dice.
New logcat -
Code:
E/AndroidRuntime( 5835): FATAL EXCEPTION: main
E/AndroidRuntime( 5835): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
E/AndroidRuntime( 5835): at android.app.ActivityThread.access$1600(ActivityThread.java:140)
E/AndroidRuntime( 5835): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
E/AndroidRuntime( 5835): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5835): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5835): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
E/AndroidRuntime( 5835): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5835): Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
E/AndroidRuntime( 5835): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 5835): at android.view.View.inflate(View.java:16434)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:539)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3098)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3067)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:456)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:488)
E/AndroidRuntime( 5835): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2404)
E/AndroidRuntime( 5835): ... 10 more
E/AndroidRuntime( 5835): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 5835): ... 32 more
[COLOR="Red"]E/AndroidRuntime( 5835): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f020229 a=-1 r=0x7f020229}[/COLOR]
E/AndroidRuntime( 5835): at android.content.res.Resources.loadDrawable(Resources.java:1925)
E/AndroidRuntime( 5835): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:120)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:110)
E/AndroidRuntime( 5835): ... 35 more
E/android.os.Debug( 2422): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
W/ActivityManager( 2422): Process com.android.systemui has crashed too many times: killing!
The bit in red is new. Time to do some digging. And that is the resource ID I used to declare that drawable.
EDIT:
I found the issue. I needed to declare it as an id and not a drawable. Thank you very much for your assistance.
Its still all kinds of broken, like the image isn't displaying, but its no longer force closing on me.
EDIT AGAIN:
Yeah, no, you can't display an image that way. so now I am back where I started today, but furious now. I have mirrored exactly another image file that displays correctly. Tracked down every single declaration... but mine is not working.
lickarock said:
Its the first image view I had posted. Second line of the code I have up. I have gone into public and given it a declaration, added that declaration into the smali r$drawable, and added it into the ids xml... still no dice.
New logcat -
Code:
E/AndroidRuntime( 5835): FATAL EXCEPTION: main
E/AndroidRuntime( 5835): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2414)
E/AndroidRuntime( 5835): at android.app.ActivityThread.access$1600(ActivityThread.java:140)
E/AndroidRuntime( 5835): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
E/AndroidRuntime( 5835): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5835): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5835): at android.app.ActivityThread.main(ActivityThread.java:4898)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1008)
E/AndroidRuntime( 5835): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:775)
E/AndroidRuntime( 5835): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5835): Caused by: android.view.InflateException: Binary XML file line #32: Error inflating class <unknown>
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:613)
E/AndroidRuntime( 5835): at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.onCreateView(LayoutInflater.java:660)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:685)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:746)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:749)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:830)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.rInflate(LayoutInflater.java:736)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:489)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:396)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.inflate(LayoutInflater.java:352)
E/AndroidRuntime( 5835): at android.view.View.inflate(View.java:16434)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.makeStatusBarView(PhoneStatusBar.java:539)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.addStatusBarWindow(PhoneStatusBar.java:3098)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.createAndAddWindows(PhoneStatusBar.java:3067)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.BaseStatusBar.start(BaseStatusBar.java:456)
E/AndroidRuntime( 5835): at com.android.systemui.statusbar.phone.PhoneStatusBar.start(PhoneStatusBar.java:488)
E/AndroidRuntime( 5835): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:94)
E/AndroidRuntime( 5835): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2404)
E/AndroidRuntime( 5835): ... 10 more
E/AndroidRuntime( 5835): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 5835): at java.lang.reflect.Constructor.newInstance(Constructor.java:417)
E/AndroidRuntime( 5835): at android.view.LayoutInflater.createView(LayoutInflater.java:587)
E/AndroidRuntime( 5835): ... 32 more
[COLOR="Red"]E/AndroidRuntime( 5835): Caused by: android.content.res.Resources$NotFoundException: Resource is not a Drawable (color or path): TypedValue{t=0x1/d=0x7f020229 a=-1 r=0x7f020229}[/COLOR]
E/AndroidRuntime( 5835): at android.content.res.Resources.loadDrawable(Resources.java:1925)
E/AndroidRuntime( 5835): at android.content.res.TypedArray.getDrawable(TypedArray.java:601)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:120)
E/AndroidRuntime( 5835): at android.widget.ImageView.<init>(ImageView.java:110)
E/AndroidRuntime( 5835): ... 35 more
E/android.os.Debug( 2422): [email protected] > dumpstate -k -t -z -d -o /data/log/dumpstate_app_error
W/ActivityManager( 2422): Process com.android.systemui has crashed too many times: killing!
The bit in red is new. Time to do some digging. And that is the resource ID I used to declare that drawable.
EDIT:
I found the issue. I needed to declare it as an id and not a drawable. Thank you very much for your assistance.
Its still all kinds of broken, like the image isn't displaying, but its no longer force closing on me.
EDIT AGAIN:
Yeah, no, you can't display an image that way. so now I am back where I started today, but furious now. I have mirrored exactly another image file that displays correctly. Tracked down every single declaration... but mine is not working.
Click to expand...
Click to collapse
Post a screenshot with the working image if it works with it and a screenshot with the one that doesnt u aint far from success. .
Sent from my SAMSUNG-SGH-I317 using xda premium

how to mod android_packages_apps_Settings

forked from PAC-man/android_packages_apps_Settings and want change pac_version to chemfrog_version
I have ro.chemfrog.version in build.prop if now i got a fc..
Code:
06-22 12:23:02.809: E/AndroidRuntime(4897): FATAL EXCEPTION: main
06-22 12:23:02.809: E/AndroidRuntime(4897): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.settings/com.android.settings.SubSettings}: java.lang.NullPointerException
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2313)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2363)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.ActivityThread.access$600(ActivityThread.java:156)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1250)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.os.Handler.dispatchMessage(Handler.java:99)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.os.Looper.loop(Looper.java:137)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.ActivityThread.main(ActivityThread.java:5233)
06-22 12:23:02.809: E/AndroidRuntime(4897): at java.lang.reflect.Method.invokeNative(Native Method)
06-22 12:23:02.809: E/AndroidRuntime(4897): at java.lang.reflect.Method.invoke(Method.java:511)
06-22 12:23:02.809: E/AndroidRuntime(4897): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
06-22 12:23:02.809: E/AndroidRuntime(4897): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
06-22 12:23:02.809: E/AndroidRuntime(4897): at dalvik.system.NativeStart.main(Native Method)
06-22 12:23:02.809: E/AndroidRuntime(4897): Caused by: java.lang.NullPointerException
06-22 12:23:02.809: E/AndroidRuntime(4897): at com.android.settings.DeviceInfoSettings.onCreate(DeviceInfoSettings.java:111)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.Fragment.performCreate(Fragment.java:1673)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:854)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1057)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.BackStackRecord.run(BackStackRecord.java:682)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1435)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.Activity.performStart(Activity.java:5180)
06-22 12:23:02.809: E/AndroidRuntime(4897): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2276)
06-22 12:23:02.809: E/AndroidRuntime(4897): ... 11 more
It's not so easy to exchange only the settings, because it needs to be signed with the same key as the other system components of the ROM.
Sent from my Nexus 7 using xda app-developers app
AndDiSa said:
It's not so easy to exchange only the settings, because it needs to be signed with the same key as the other system components of the ROM.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Im compile the whole rom self
In that case your modifications are buggy. I can see a NullpointerException, I.e. something is not initialized correctly, but without having the sources / your modifications nobody will be able to help you.
Sent from my Nexus 7 using xda app-developers app

[Q] BOOT FAILURE starting Input Manager Service

I built cm11 for aries. The building output showed no error at all. I flashed the zip via sideload , and got the following error (similar)
Code:
E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE starting
Input Manager Service
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:417)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.InputMethodManagerService.
<init>(InputMethodManagerService.java:633)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:414)
E/AndroidRuntime( 4477): ... 6 more
Don't know what's going on even googling... and i found that when i pushed framework-res.apk and services.jar into /system/framework/, bootloops occur too! So strange!
I beg your help!! Thanks must be given!!
Full log when booting:
Code:
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:417)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE starting
Input Manager Service
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:417)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.InputMethodManagerService.
<init>(InputMethodManagerService.java:633)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:414)
E/AndroidRuntime( 4477): ... 6 more
F/SystemServer( 4477): BOOT FAILURE making display ready
F/SystemServer( 4477): java.lang.NullPointerException
F/SystemServer( 4477): at com.android.server.ServerThread.initAndLoop(SystemSer
ver.java:431)
F/SystemServer( 4477): at com.android.server.SystemServer.main(SystemServer.jav
a:1386)
F/SystemServer( 4477): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 4477): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:732)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:566)
F/SystemServer( 4477): at dalvik.system.NativeStart.main(Native Method)
F/SystemServer( 4477): BOOT FAILURE performing boot dexopt
F/SystemServer( 4477): java.lang.NullPointerException
F/SystemServer( 4477): at com.android.server.ServerThread.initAndLoop(SystemSer
ver.java:437)
F/SystemServer( 4477): at com.android.server.SystemServer.main(SystemServer.jav
a:1386)
F/SystemServer( 4477): at java.lang.reflect.Method.invokeNative(Native Method)
F/SystemServer( 4477): at java.lang.reflect.Method.invoke(Method.java:515)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit$MethodAndArgsCalle
r.run(ZygoteInit.java:732)
F/SystemServer( 4477): at com.android.internal.os.ZygoteInit.main(ZygoteInit.ja
va:566)
F/SystemServer( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Error reporting WTF
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:425)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE starting
Accessibility Manager
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:425)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at android.app.ContextImpl.registerReceiverInter
nal(ContextImpl.java:1506)
E/AndroidRuntime( 4477): at android.app.ContextImpl.registerReceiverAsUse
r(ContextImpl.java:1481)
E/AndroidRuntime( 4477): at com.android.internal.content.PackageMonitor.r
egister(PackageMonitor.java:84)
E/AndroidRuntime( 4477): at com.android.server.accessibility.Accessibilit
yManagerService.registerBroadcastReceivers(AccessibilityManagerService.java:326)
E/AndroidRuntime( 4477): at com.android.server.accessibility.Accessibilit
yManagerService.<init>(AccessibilityManagerService.java:229)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:422)
E/AndroidRuntime( 4477): ... 6 more
E/AndroidRuntime( 4477): Error reporting WTF
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:433)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE making d
isplay ready
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:433)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:431)
E/AndroidRuntime( 4477): ... 6 more
E/AndroidRuntime( 4477): Error reporting WTF
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit.wtf(Runti
meInit.java:337)
E/AndroidRuntime( 4477): at android.util.Log$1.onTerribleFailure(Log.java
:104)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:293)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:439)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Original WTF:
E/AndroidRuntime( 4477): android.util.Log$TerribleFailure: BOOT FAILURE performi
ng boot dexopt
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:290)
E/AndroidRuntime( 4477): at android.util.Log.wtf(Log.java:286)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.reportWtf(Sys
temServer.java:106)
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:439)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:437)
E/AndroidRuntime( 4477): ... 6 more
E/AndroidRuntime( 4477): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.server.ServerThread.initAndLoop(S
ystemServer.java:443)
E/AndroidRuntime( 4477): at com.android.server.SystemServer.main(SystemSe
rver.java:1386)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime( 4477): at java.lang.reflect.Method.invoke(Method.java:5
15)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:732)
E/AndroidRuntime( 4477): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:566)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4477): Error reporting crash
E/AndroidRuntime( 4477): java.lang.NullPointerException
E/AndroidRuntime( 4477): at com.android.internal.os.RuntimeInit$UncaughtH
andler.uncaughtException(RuntimeInit.java:84)
E/AndroidRuntime( 4477): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:693)
E/AndroidRuntime( 4477): at java.lang.ThreadGroup.uncaughtException(Threa
dGroup.java:690)
E/AndroidRuntime( 4477): at dalvik.system.NativeStart.main(Native Method)
E/installd( 197): eof
E/installd( 197): failed to read transaction id
E/MonoPipe( 4208): Failed to fetch local time frequency when constructing a Mono
Pipe (res = -32). getNextWriteTimestamp calls will be non-functional
E/MediaPlayerFactory( 4528): calling dlopen on FACTORY_LIB
E/MediaPlayerFactory( 4528): Failed to open FACTORY_LIB Error : dlopen failed: l
ibrary "libdashplayer.so" not found
E/QualcommCamera( 4528): Qint android::get_number_of_cameras(): E
E/ ( 4528): [ACDB RTC]->rtc init done!->result [0]
E/ ( 4528): [ACDB ACPH]->actp diag init done!
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/alsa_ucm( 4528): EC_REF_RX mixer ctl: SLIM_RX
E/ ( 4528): csd_client_service_init: Invalid rx device 0, setting to hand
set
E/ ( 4528): csd_client_service_init: Invalid tx device 0, setting to hand
set
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/QMI_FW ( 4528): QMUXD: Service_id=20 not found over conn_id=0
E/AudioHardwareALSA( 4528): doAudienceCodec_Init+
E/SELinux ( 4805): SELinux: Loaded file_contexts from /file_contexts
^C
C:\cygwin\home\henry\kitchen\OUTPUT_ZIP>adb reboot
C:\cygwin\home\henry\kitchen\OUTPUT_ZIP>BOOT FAILURE
Ask Balli :v
Askballi.com

confused what am.idoing for BUG.??

java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
at android.app.ActivityThread.installProvider(ActivityThread.java:5051)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4622)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4562)
at android.app.ActivityThread.access$1500(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1408)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5334)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:835)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:651)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:6160)
at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:754)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1656)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1627)
at android.app.ActivityThread.installProvider(ActivityThread.java:5048)
... 12 more

Bugs fired

java.lang.RuntimeException: Unable to get provider com.android.providers.media.MediaProvider: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
at android.app.ActivityThread.installProvider(ActivityThread.java:5051)
at android.app.ActivityThread.installContentProviders(ActivityThread.java:4622)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4562)
at android.app.ActivityThread.access$1500(ActivityThread.java:154)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1408)
at android.os.Handler.dispatchMessage(Handler.java:110)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5334)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:835)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:651)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: Can't obtain external volume ID for external volume.
at com.android.providers.media.MediaProvider.attachVolume(MediaProvider.java:6160)
at com.android.providers.media.MediaProvider.onCreate(MediaProvider.java:754)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1656)
at android.content.ContentProvider.attachInfo(ContentProvider.java:1627)
at android.app.ActivityThread.installProvider(ActivityThread.java:5048)
... 12 more
Closing as duplicate.
Original: https://forum.xda-developers.com/android/software-hacking/confused-idoing-bug-t3614063/post72475242

Categories

Resources