[Q] "android.process.media has stopped" Stock 5.1.1 - Nexus 5 Q&A, Help & Troubleshooting

Hi,
I've just updated my phone to stock 5.1.1 and I've deleted some system apps I don't need like I've done with 5.1.
Everythings works perfectly except that when I try to open the Download Manager it says "android.process.media has stopped" and I can't use it.
I've seen that I've deleted one more app thant with 5.1, DocumentsUI. Can it be this missing app that cause this error ?
Ive tried to put it back by extracting it from the system.img and moving it's folder in the right place with the same system right but the problem is still the same.
Kind regards

As it's a UI - User interface I'd say so. Start again and freeze apps you are not 100%sure of. You can unfreeze if it's needed.
SENT BY ENTANGLEMENT

I've done some investigations on my brother's phone and now I'm pretty sur that my problem is because I've deleted the Docs app that was in system\app\DocumentsUI.
Is there a way to put it back without flashing the whole ROM again ?

I've still got this problem. I have this logcat if someone is able to help me...
E/AndroidRuntime( 5031): FATAL EXCEPTION: main
E/AndroidRuntime( 5031): Process: android.process.media, PID: 5031
E/AndroidRuntime( 5031): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.providers.downloads.ui/com.android.providers.downloads.ui.DownloadList}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.action.MANAGE_ROOT dat=content://com.android.providers.downloads.documents/root/downloads }
E/AndroidRuntime( 5031): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
E/AndroidRuntime( 5031): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
E/AndroidRuntime( 5031): at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime( 5031): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
E/AndroidRuntime( 5031): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 5031): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5031): at android.app.ActivityThread.main(ActivityThread.java:5254)
E/AndroidRuntime( 5031): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5031): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5031): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
E/AndroidRuntime( 5031): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
E/AndroidRuntime( 5031): Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.provider.action.MANAGE_ROOT dat=content://com.android.providers.downloads.documents/root/downloads }
E/AndroidRuntime( 5031): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1781)
E/AndroidRuntime( 5031): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1501)
E/AndroidRuntime( 5031): at android.app.Activity.startActivityForResult(Activity.java:3745)
E/AndroidRuntime( 5031): at android.app.Activity.startActivityForResult(Activity.java:3706)
E/AndroidRuntime( 5031): at android.app.Activity.startActivity(Activity.java:4016)
E/AndroidRuntime( 5031): at android.app.Activity.startActivity(Activity.java:3984)
E/AndroidRuntime( 5031): at com.android.providers.downloads.ui.DownloadList.onCreate(DownloadList.java:35)
E/AndroidRuntime( 5031): at android.app.Activity.performCreate(Activity.java:5990)
E/AndroidRuntime( 5031): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
E/AndroidRuntime( 5031): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
E/AndroidRuntime( 5031): ... 10 more

Just dirty flash same rom. All the apps will be there

Related

[Q] Attempting to theme Google Plus (G+) App

So i'm trying to theme a google+ app for personal use, and I want to edit the XML files to get a full change out of it. The problem is that it force closes when I try to run the app on my phone (no problems decomp or compiling with apk manager or apktool)
The logcat (can't add links yet, in code tag below) points to a FATAL EXCEPTION in main, and goes on to state:
"Caused by: java.lang.RuntimeException: Binary XML file line #4: You must supply a layout_width attribute."
Of course I can't find anything labeled "main" and there I don't know which XML file to edit, and do not see anything wrong in the layout XML files (again, I haven't edited the files at all, it's simply decompiling an untouched app then compiling and installing to a phone and emulator - both resulting in a FC of the app)
Png editing is of course no issue, but it's not quite giving the effect I want (black on forest green is tough to read)
Any assistance or perhaps a nudge in the right direction so I can figure this out and start theming apps?
Code:
W/dalvikvm( 466): threadid=1: thread exiting with uncaught exception (group=0x4001d800)
E/AndroidRuntime( 466): FATAL EXCEPTION: main
E/AndroidRuntime( 466): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity}: java.lang.RuntimeException: Binary XML file line #4: You must supply a layout_width attribute.
E/AndroidRuntime( 466): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
E/AndroidRuntime( 466): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 466): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 466): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 466): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 466): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 466): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 466): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 466): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 466): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 466): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 466): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 466): Caused by: java.lang.RuntimeException: Binary XML file line #4: You must supply a layout_width attribute.
E/AndroidRuntime( 466): at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491)
E/AndroidRuntime( 466): at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3592)
E/AndroidRuntime( 466): at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:3672)
E/AndroidRuntime( 466): at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1395)
E/AndroidRuntime( 466): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1321)
E/AndroidRuntime( 466): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:45)
E/AndroidRuntime( 466): at android.view.LayoutInflater.rInflate(LayoutInflater.java:620)
E/AndroidRuntime( 466): at android.view.LayoutInflater.inflate(LayoutInflater.java:407)
E/AndroidRuntime( 466): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 466): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 466): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:198)
E/AndroidRuntime( 466): at android.app.Activity.setContentView(Activity.java:1647)
E/AndroidRuntime( 466): at com.google.android.apps.circles.accounts.SelectAccountActivity.onCreate(SelectAccountActivity.java:97)
E/AndroidRuntime( 466): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 466): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 466): ... 11 more
W/ActivityManager( 61): Force finishing activity com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity
W/ActivityManager( 61): Activity pause timeout for HistoryRecord{44ffd1d8 com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity}
W/ActivityManager( 61): Activity destroy timeout for HistoryRecord{44f51990 com.google.android.apps.plus/com.google.android.apps.plusone.app.HomeScreenActivity}
W/ActivityManager( 61): Activity destroy timeout for HistoryRecord{44ffd1d8 com.google.android.apps.plus/com.google.android.apps.circles.accounts.SelectAccountActivity}

Email policy mod with ParanoidAndroid

Hi All,
I've installed Paranoid Android 3.15, it works fine except when I install email+exchange packages with policy modded. After some minutes email start to crash and it never ends .
Below the log:
W/dalvikvm( 5178): threadid=1: thread exiting with uncaught exception (group=0x4
1d09a08)
E/AndroidRuntime( 5178): FATAL EXCEPTION: main
E/AndroidRuntime( 5178): java.lang.RuntimeException: Unable to bind to service [email protected] with Intent { act=com.android.email.POLICY_INTENT }: java.lang.SecurityException: No active admin ComponentInfo{com.android.email/com.android.email.SecurityPolicy$PolicyAdmin}
E/AndroidRuntime( 5178): at android.app.ActivityThread.handleBindService(ActivityThread.java:2700)
E/AndroidRuntime( 5178): at android.app.ActivityThread.access$1700(ActivityThread.java:156)
E/AndroidRuntime( 5178): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1337)
E/AndroidRuntime( 5178): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 5178): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 5178): at android.app.ActivityThread.main(ActivityThread.java:5234)
E/AndroidRuntime( 5178): at java.lang.reflect.Method.invokeNative(NativeMethod)
E/AndroidRuntime( 5178): at java.lang.reflect.Method.invoke(Method.java:525)
E/AndroidRuntime( 5178): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:799)
E/AndroidRuntime( 5178): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:566)
E/AndroidRuntime( 5178): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 5178): Caused by: java.lang.SecurityException: No active admin ComponentInfo{com.android.email/com.android.email.SecurityPolicy$PolicyAdmin}
E/AndroidRuntime( 5178): at android.os.Parcel.readException(Parcel.java:1425)
E/AndroidRuntime( 5178): at android.os.Parcel.readException(Parcel.java:1379)
E/AndroidRuntime( 5178): at android.app.admin.IDevicePolicyManager$Stub$Proxy.setPasswordQuality(IDevicePolicyManager.java:889)
E/AndroidRuntime( 5178): at android.app.admin.DevicePolicyManager.setPasswordQuality(DevicePolicyManager.java:295)
E/AndroidRuntime( 5178): at com.android.email.SecurityPolicy.setActivePolicies(SecurityPolicy.java:457)
E/AndroidRuntime( 5178): at com.android.email.SecurityPolicy.<init>(SecurityPolicy.java:87)
E/AndroidRuntime( 5178): at com.android.email.SecurityPolicy.getInstance(SecurityPolicy.java:74)
E/AndroidRuntime( 5178): at com.android.email.service.PolicyService.onBind(PolicyService.java:75)
E/AndroidRuntime( 5178): at android.app.ActivityThread.handleBindService(ActivityThread.java:2687)
E/AndroidRuntime( 5178): ... 10 more
Have you some idea ?

Weird error

One day I turned on my phone and now when I freez and de-freez the apk with link2sd Google Play Services crashes.
Here's the logcat of the error:
--------- beginning of /dev/log/system
--------- beginning of /dev/log/main
E/AndroidRuntime( 4857): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4857): java.lang.NullPointerException
E/AndroidRuntime( 4857): at com.google.android.gms.common.download.DownloadService.a(SourceFile:513)
E/AndroidRuntime( 4857): at eky.a(SourceFile:129)
E/AndroidRuntime( 4857): at ejm.a(SourceFile:2584)
E/AndroidRuntime( 4857): at eki.f(SourceFile:535)
E/AndroidRuntime( 4857): at eki.a(SourceFile:529)
E/AndroidRuntime( 4857): at enf.d(SourceFile:81)
E/AndroidRuntime( 4857): at enb.run(SourceFile:237)
E/AndroidRuntime( 4857): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4857): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4857): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4857): at end.run(SourceFile:40)
E/dalvikvm( 4897): Could not find class 'android.database.sqlite.SQLiteCantOpenDatabaseException', referenced from method com.google.android.gms.plus.provider.PlusProvider.a
E/dalvikvm( 4897): Could not find class 'android.app.AppOpsManager', referenced from method box.a
E/AndroidRuntime( 4897): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4897): java.lang.NullPointerException
E/AndroidRuntime( 4897): at com.google.android.gms.common.download.DownloadService.a(SourceFile:513)
E/AndroidRuntime( 4897): at eky.a(SourceFile:129)
E/AndroidRuntime( 4897): at ejm.a(SourceFile:2584)
E/AndroidRuntime( 4897): at eki.f(SourceFile:535)
E/AndroidRuntime( 4897): at eki.a(SourceFile:529)
E/AndroidRuntime( 4897): at enf.d(SourceFile:81)
E/AndroidRuntime( 4897): at enb.run(SourceFile:237)
E/AndroidRuntime( 4897): at android.os.Handler.handleCallback(Handler.java:587)
E/AndroidRuntime( 4897): at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 4897): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 4897): at end.run(SourceFile:40)
I hope you can help me Thank you so much!
Delete second partition ext.sd and restart your device
Can you please explain me what appened exactly? Why I need to wipe my ext partition?
Simple trick
Backup all data and reset your device....

CM12 - System UI has stopped loop

Hey guys,
just updated to the nightly of CM12 and ended up in the System UI has stopped loop .
Anyone having the same issue?
Regards,
Spoom
Trace:
D/AndroidRuntime( 5112): Shutting down VM
E/AndroidRuntime( 5112): FATAL EXCEPTION: main
E/AndroidRuntime( 5112): Process: com.android.systemui, PID: 5112
E/AndroidRuntime( 5112): java.lang.NullPointerException: Attempt to invoke interface method 'int android.security.IKeystoreService.zero()' on a null object reference
E/AndroidRuntime( 5112): at android.os.Parcel.readException(Parcel.java:1546)
E/AndroidRuntime( 5112): at android.os.Parcel.readException(Parcel.java:1493)
E/AndroidRuntime( 5112): at android.app.admin.IDevicePolicyManager$Stub$Proxy.requireSecureKeyguard(IDevicePolicyManager.java:4627)
E/AndroidRuntime( 5112): at android.app.admin.DevicePolicyManager.requireSecureKeyguard(DevicePolicyManager.java:3491)
E/AndroidRuntime( 5112): at com.android.internal.widget.LockPatternUtils.getActiveProfileLockMode(LockPatternUtils.java:1506)
E/AndroidRuntime( 5112): at com.android.keyguard.KeyguardSecurityModel.getSecurityMode(KeyguardSecurityModel.java:96)
E/AndroidRuntime( 5112): at com.android.keyguard.KeyguardSecurityContainer.showPrimarySecurityScreen(KeyguardSecurityContainer.java:293)
E/AndroidRuntime( 5112): at com.android.keyguard.KeyguardViewBase.onFinishInflate(KeyguardViewBase.java:108)
E/AndroidRuntime( 5112): at android.view.LayoutInflater.rInflate(LayoutInflater.java:814)
E/AndroidRuntime( 5112): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:916)
E/AndroidRuntime( 5112): at android.view.LayoutInflater.rInflate(LayoutInflater.java:802)
E/AndroidRuntime( 5112): at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
E/AndroidRuntime( 5112): at android.view.LayoutInflater.inflate(LayoutInflater.java:414)
E/AndroidRuntime( 5112): at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
E/AndroidRuntime( 5112): at com.android.systemui.statusbar.phone.KeyguardBouncer.inflateView(KeyguardBouncer.java:166)
E/AndroidRuntime( 5112): at com.android.systemui.statusbar.phone.KeyguardBouncer.ensureView(KeyguardBouncer.java:160)
E/AndroidRuntime( 5112): at com.android.systemui.statusbar.phone.KeyguardBouncer.prepare(KeyguardBouncer.java:155)
E/AndroidRuntime( 5112): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.showBouncerOrKeyguard(StatusBarKeyguardViewManager.java:115)
E/AndroidRuntime( 5112): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.reset(StatusBarKeyguardViewManager.java:147)
E/AndroidRuntime( 5112): at com.android.systemui.statusbar.phone.StatusBarKeyguardViewManager.show(StatusBarKeyguardViewManager.java:99)
E/AndroidRuntime( 5112): at com.android.systemui.keyguard.KeyguardViewMediator.handleShow(KeyguardViewMediator.java:1281)
E/AndroidRuntime( 5112): at com.android.systemui.keyguard.KeyguardViewMediator.access$1700(KeyguardViewMediator.java:116)
E/AndroidRuntime( 5112): at com.android.systemui.keyguard.KeyguardViewMediator$4.handleMessage(KeyguardViewMediator.java:1112)
E/AndroidRuntime( 5112): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 5112): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5112): at android.app.ActivityThread.main(ActivityThread.java:5223)
E/AndroidRuntime( 5112): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5112): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5112): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
E/AndroidRuntime( 5112): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
W/ActivityManager( 764): Process com.android.systemui has crashed too many times: killing!
Same here.
After struggle to install CM12, now it keep popping up System UI stopped.
Any response or tip would help greatly .
Mathsiel said:
Same here.
After struggle to install CM12, now it keep popping up System UI stopped.
Any response or tip would help greatly .
Click to expand...
Click to collapse
I had the same issue when updating from KitKat 4.4.4 to the latest build yesterday. I wasn't even aware of installing CM12! Now I installed the NIGHTLY from 15.01.2015 and it's at least working stable. The only thing I've found out so far is, that pictured won't get saved. But I barely use my phone to make pictures...
For the future: We need a better update policy here... Someone should at least post, what we're installing and if it's working. Some kind of a testing threat or something so that you can be sure, that your system most likely won't get screwed!
just install this patch http://forum.xda-developers.com/showpost.php?p=58350489&postcount=223

[Completed] settings app crash

I am having an odd issue with my current install. the phone was working fine but today (likely sooner, but I am uncertain as to exactly when), my settings started failing.
the problem is whenever I tap on any item in the settings menu, settings crashes. Wifi, bluetooth, about phone, anything.
logcat indicates a security exception:
D/AndroidRuntime( 5164): Shutting down VM
E/AndroidRuntime( 5164): FATAL EXCEPTION: main
E/AndroidRuntime( 5164): Process: com.android.settings, PID: 5164
E/AndroidRuntime( 5164): java.lang.SecurityException: Not allowed to start activity Intent { act=android.intent.action.MAIN cmp=com.android.settings/.SubSettings (has extras) }
E/AndroidRuntime( 5164): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1784)
E/AndroidRuntime( 5164): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1501)
E/AndroidRuntime( 5164): at android.app.Activity.startActivityForResult(Activity.java:3745)
E/AndroidRuntime( 5164): at android.app.Activity.startActivityForResult(Activity.java:3706)
E/AndroidRuntime( 5164): at android.app.Activity.startActivity(Activity.java:4016)
E/AndroidRuntime( 5164): at android.app.Activity.startActivity(Activity.java:3984)
E/AndroidRuntime( 5164): at com.android.settings.Utils.startWithFragment(Utils.java:851)
E/AndroidRuntime( 5164): at com.android.settings.Utils.startWithFragment(Utils.java:806)
E/AndroidRuntime( 5164): at com.android.settings.dashboard.DashboardTileView.onClick(DashboardTileView.java:133)
E/AndroidRuntime( 5164): at android.view.View.performClick(View.java:4789)
E/AndroidRuntime( 5164): at android.view.View$PerformClick.run(View.java:19881)
E/AndroidRuntime( 5164): at android.os.Handler.handleCallback(Handler.java:739)
E/AndroidRuntime( 5164): at android.os.Handler.dispatchMessage(Handler.java:95)
E/AndroidRuntime( 5164): at android.os.Looper.loop(Looper.java:135)
E/AndroidRuntime( 5164): at android.app.ActivityThread.main(ActivityThread.java:5294)
E/AndroidRuntime( 5164): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime( 5164): at java.lang.reflect.Method.invoke(Method.java:372)
E/AndroidRuntime( 5164): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
E/AndroidRuntime( 5164): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:699)
D/ForegroundUtils( 1219): UID: 1000 PID: 5164
I have tried wiping the cache, deleting the com.android.settings and com.android.providers.settings folders from /data/data and that didn't fix the problem. I have tried wiping the cache and dalvik cache with no success. My next step is to re-flash the ROM, and if that fails, wipe and reflash the ROM. I would prefer to fix the problem without a wipe if possible though.
Any thoughts?
Hi
Assist is where we guide new users(read the stickies)
As a senior member, you must already be aware that the best place to ask for help is in your device q&a. Do post there.
Thread closed

Categories

Resources