DocumentsUI crash - Request Storage access - General Questions and Answers

Hi everyone! Please help ...
DocumentsUI (com.android.documentsui) crashes after a request to access storage from a third party apps.
Device: Xiaomi Redmi Note 10 Pro
Android: 12 SKQ1.210908.001
MIUI: 13.0.14.0 SKFMIXM
Spoiler: MIUI Report
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:415)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:381)
at java.util.concurrent.FutureTask.setException(FutureTask.java:250)
at java.util.concurrent.FutureTask.run(FutureTask.java:269)
at com.android.documentsui.ProviderExecutor.run(ProviderExecutor.java:104)
Caused by: java.lang.SecurityException: ContentService: Neither user 10059 nor current process has android.permission.CACHE_CONTENT.
at android.os.Parcel.createExceptionOrNull(Parcel.java:2426)
at android.os.Parcel.createException(Parcel.java:2410)
at android.os.Parcel.readException(Parcel.java:2393)
at android.os.Parcel.readException(Parcel.java:2335)
at android.content.IContentService$Stub$Proxy.getCache(IContentService.java:2487)
at android.content.ContentResolver.getCache(ContentResolver.java:3712)
at com.android.documentsui.roots.ProvidersCache.loadRootsForAuthority(ProvidersCache.java:349)
at com.android.documentsui.roots.ProvidersCache.getRootOneshot(ProvidersCache.java:408)
at com.android.documentsui.roots.ProvidersCache.getRootOneshot(ProvidersCache.java:398)
at com.android.documentsui.roots.LoadRootTask.run(LoadRootTask.java:61)
at com.android.documentsui.roots.LoadRootTask.run(LoadRootTask.java:33)
at com.android.documentsui.base.CheckedTask.doInBackground(CheckedTask.java:65)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:264)
... 1 more
Caused by: android.os.RemoteException: Remote stack trace:
at android.app.ContextImpl.enforce(ContextImpl.java:2189)
at android.app.ContextImpl.enforceCallingOrSelfPermission(ContextImpl.java:2217)
at com.android.server.content.ContentService.getCache(ContentService.java:1372)
at android.content.IContentService$Stub.onTransact(IContentService.java:1162)
at android.os.Binder.execTransactInternal(Binder.java:1179)

Related

[Q] Why the phone always restart?

Hello, everybody. I am a developer from Giayee ( Android Phone OEM/ODM ). We are now designed an android phone for a client. I come accross a difficult problem during developing. Our phone always restart from android logo after running for a few hours. And the log is:
E/dalvikvm-heap( 933): 28900-byte external allocation too large for this processE/ ( 933): VM won't let us allocate 28900 bytes
D/skia ( 933): --- decoder->decode returned false
...
E/AndroidRuntime( 933): android.view.InflateException: Binary XML file line #123: Error inflating class java.lang.reflect.Constructor
...
Please help me analyze this log. Thanks! Waiting for your answers, thanks!!!
First things first:
-hardware of the phone?
-which firmware version are you running?
Are you using modded rom?
Regards

[APP] ProtectMyPrivacy(PMP)-Android [Root]

ProtectMyPrivacy(PMP) helps you to manage and control usages of privacy data of applications installed on your Android device! (Download at: https://play.google.com/store/apps/details?id=com.synergylabs.androidpmp)
Features
√ Get notifications and flags whenever an application that you're currently using accesses data on your device (e.g. Location, Phone Identifiers, Call logs, Contacts, Calendar, Messages, Notifications etc.)
√ Choose how you want the app to access your privacy data. (Options: Allow, Deny, Fake, Ask)
√ Easily access privacy controls from within PMP on an attractive listview display
√ Scroll between your list of 'Protected', 'System' as well as 'Unprotected' Apps to see what data accesses the apps that you’ve installed are currently accessing
√ Attractive icons and views that quickly orientate you what types of data your application is accessing
√ Real-time interactive warning mechanism that notifies you whenever an app requires the use of privacy data
PMP runs only on rooted devices running Android 4.1 and above, and requires Cydia Substrate as well as SELinuxModeChanger to function properly.
Installation Instructions:
1. PMP requires a rooted Android device (Please refer to http://android.stackexchange.com/questions/1184/how-do-i-root-my-android-device). Check that you have root access on your device. Download a root checker: e.g. (https://play.google.com/store/apps/details?id=com.joeykrim.rootcheck&hl=en) to check.
2. Install the PMP application. The list of Protected Applications will not be visible, as steps (3) and (4) have not been performed yet.
3. Download SELinuxModeChanger (http://forum.xda-developers.com/showthread.php?t=2524485). Change the mode of your device to “Permissive”.
4. Download Cydia Substrate (https://play.google.com/store/apps/details?id=com.saurik.substrate&hl=en). Link the Substrate Files by clicking on the “Link Substrate Files” button, followed by the “Restart System (Soft)” button to restart your device.
5. Navigate into the PMP application, and you should see your installed apps in the list.
{
"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"
}
Developer
SynergyLabs @ CMU
Push
..
Bump
Has anyone used this app successfully? Some reviews on play store complain about bootloop
blue5055 said:
Has anyone used this app successfully? Some reviews on play store complain about bootloop
Click to expand...
Click to collapse
Hi, I think the complain was due to the phone rooting process rather than PMP installation. In any case, we have found that the installation works best by installing PMP only after installing the Cydia Substrate and SELinuxModeChanger dependencies. If not, uninstall and re-install PMP, followed by a phone reboot by clicking on 'Restart System(Soft)' in Cydia Substrate. The list of protected apps should show up in PMP properly after this.
Use ProtectMyPrivacy(PMP), control your application privacy now!
https://play.google.com/store/apps/details?id=com.synergylabs.pmpandroid
Updated PlayStore link for PMP
Updated link:
HTML:
https://play.google.com/store/apps/details?id=com.synergylabs.androidpmp
Updated PlayStore link for PMP
Updated link:
https://play.google.com/store/apps/details?id=com.synergylabs.androidpmp
nice app worth sharing this app..!!
force close android marshmallow and android lollipop.here is the log.hope my helped.
3C Toolbox Pro (logcat)
======================
I/16:16:39.427 Sending signal. PID: 11859 SIG: 9
E/16:16:39.091 at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
E/16:16:39.091 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
E/16:16:39.091 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
E/16:16:39.091 at java.lang.reflect.Method.invoke(Method.java:372)
E/16:16:39.091 at java.lang.reflect.Method.invoke(Native Method)
E/16:16:39.091 at android.app.ActivityThread.main(ActivityThread.java:5348)
E/16:16:39.091 at android.os.Looper.loop(Looper.java:139)
E/16:16:39.091 at android.os.Handler.dispatchMessage(Handler.java:95)
E/16:16:39.091 at android.os.Handler.handleCallback(Handler.java:739)
E/16:16:39.091 at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:753)
E/16:16:39.091 at android.view.Choreographer.doFrame(Choreographer.java:550)
E/16:16:39.091 at android.view.Choreographer.doCallbacks(Choreographer.java:580)
E/16:16:39.091 at android.view.Choreographer$CallbackRecord.run(Choreographer.java:767)
E/16:16:39.091 at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5935)
E/16:16:39.091 at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1075)
E/16:16:39.091 at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1860)
E/16:16:39.091 at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:2108)
E/16:16:39.091 at android.view.ViewGroup.layout(ViewGroup.java:5046)
E/16:16:39.091 at android.view.View.layout(View.java:15715)
E/16:16:39.091 at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/16:16:39.091 at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/16:16:39.091 at android.view.ViewGroup.layout(ViewGroup.java:5046)
E/16:16:39.091 at android.view.View.layout(View.java:15715)
E/16:16:39.091 at com.android.internal.widget.ActionBarOverlayLayout.onLayout(ActionBarOverlayLayout.java:494)
E/16:16:39.091 at android.view.ViewGroup.layout(ViewGroup.java:5046)
E/16:16:39.091 at android.view.View.layout(View.java:15715)
E/16:16:39.091 at android.widget.FrameLayout.onLayout(FrameLayout.java:514)
E/16:16:39.091 at android.widget.FrameLayout.layoutChildren(FrameLayout.java:579)
E/16:16:39.091 at android.view.ViewGroup.layout(ViewGroup.java:5046)
E/16:16:39.091 at android.view.View.layout(View.java:15715)
E/16:16:39.091 at android.widget.RelativeLayout.onLayout(RelativeLayout.java:1077)
E/16:16:39.091 at android.view.ViewGroup.layout(ViewGroup.java:5046)
E/16:16:39.091 at android.view.View.layout(View.java:15715)
E/16:16:39.091 at android.widget.AbsListView.onLayout(AbsListView.java:2151)
E/16:16:39.091 at android.widget.ListView.layoutChildren(ListView.java:1673)
E/16:16:39.091 at android.widget.ListView.fillFromTop(ListView.java:759)
E/16:16:39.091 at android.widget.ListView.fillDown(ListView.java:698)
E/16:16:39.091 at android.widget.ListView.makeAndAddView(ListView.java:1864)
E/16:16:39.091 at android.widget.AbsListView.obtainView(AbsListView.java:2347)
E/16:16:39.091 at com.synergylabs.androidpmp.ui.adapters.ApplicationAdapter.getView(ApplicationAdapter.java:77)
E/16:16:39.091 at com.synergylabs.androidpmp.ui.adapters.ApplicationAdapter.loadPossiblePermissions(ApplicationAdapter.java:89)
E/16:16:39.091 at com.synergylabs.androidpmp.Util.opToString(Util.java:193)
E/16:16:39.091 java.lang.ArrayIndexOutOfBoundsException: length=2; index=2
E/16:16:39.091 Process: com.synergylabs.androidpmp, PID: 11859
E/16:16:39.091 FATAL EXCEPTION: main
D/16:16:39.090 Shutting down VM
W/16:16:39.085 Asset path /system/framework/oneplus-framework-res.apk is neither a directory nor file (type=1).
I/16:16:39.084 Success to hydrongen resources /system/framework/hydrongen-framework-res.apk
E/16:16:39.053 [com.tencent.FileManager, com.keramidas.TitaniumBackup, com.synergylabs.androidpmp, info.kfsoft.android.TrafficIndicatorPro, com.flarejune.perfectcolorbar, com.UCMobile, ccc71.at, me.piebridge.forcestopgb, com.riteshsahu.SMSBackupRestorePro, com.coolapk.market, de.robv.android.xposed.installer, com.naxy.xykey, cn.wq.myandroidtoolspro, org.adawaycn, biz.bokhorst.xprivacy, com.maxmpz.audioplayer, com.mixplorer, com.dv.adm.pay, de.defim.apk.lightningwall]
D/16:16:38.701 Enabling debug mode 0
I/16:16:38.687 Initialized EGL, version 1.4
I/16:16:38.686 Reconstruct Branch: NOTHING
I/16:16:38.686 Local Patches: NONE
I/16:16:38.686 Remote Branch: quic/LA.BF.1.1.1.c4
I/16:16:38.686 Local Branch: mybranch15158111
I/16:16:38.686 Build Date: 10/12/15 Mon
I/16:16:38.686 OpenGL ES Shader Compiler Version: E031.25.03.06
I/16:16:38.686 <qeglDrvAPI_eglInitialize:410>: EGL 1.4 QUALCOMM build: Nondeterministic_AU_msm8974_LA.BF.1.1.1.C4__release_AU ()
D/16:16:38.670 App Event: start
W/16:16:38.667 More than 500 ms to handle , msg.target = Handler (android.app.ActivityThread$H) {3e7ab1b4} , msg.callback = null, msg.what = 100 , takenTime = 908 , startTime = 800376
D/16:16:38.662 mPerfLockEnabled false mPerfLockTraceEnabled false mPerfLockDuration 100 mPerfLockCpuMinFreq 1500
D/16:16:38.661 Validating map...
D/16:16:38.659 Use EGL_SWAP_BEHAVIOR_PRESERVED: true
D/16:16:38.657 mPerfLockEnabled true
E/16:16:37.775 server might already have been initialized
E/16:16:37.773 created from an instance of the manager
E/16:16:37.773 PMPServer created
W/16:16:24.728 responed with 3 for request PermissionModeRequestImpl [opNum=1, stackTrace=[dalvik.system.VMStack.getThreadStackTrace(Native Method), java.lang.Thread.getStackTrace(Thread.java:580), com.synergylabs.androidpmp.hooks.xposed.XHookImpl$1.beforeHookedMethod(XHookImpl.java:62), de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661), android.location.LocationManager.requestLocationUpdates(<Xposed>), android.location.LocationManager.requestLocationUpdates(LocationManager.java:534), com.a.b.a.g.d.i(Unknown Source), com.a.b.a.g.d.h(Unknown Source), com.a.b.a.g.d.<init>(Unknown Source), com.a.b.a.b.<init>(Unknown Source), com.a.b.a.a.a(Unknown Source), com.amap.android.location.internal.server.NetworkLocationService.a(Unknown Source), com.amap.android.location.internal.server.NetworkLocationService.onCreate(Unknown Source), android.app.ActivityThread.handleCreateService(ActivityThread.java:2838), android.app.ActivityThread.access$1900(ActivityThread.java:155), android.app.ActivityThread$H.handleMessage(ActivityThread.java:1437), android.os.Handler.dispatchMessage(Handler.java:102), android.os.Looper.loop(Looper.java:139), android.app.ActivityThread.main(ActivityThread.java:5348), java.lang.reflect.Method.invoke(Native Method), java.lang.reflect.Method.invoke(Method.java:372), com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950), com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745), de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)], uid=10000]
W/16:16:24.641 sent request AppopsRequest [type=SET, num=1, uid=10000, op=1, packageName=com.amap.android.location, mode=0]
W/16:16:24.641 sending request AppopsRequest [type=SET, num=1, uid=10000, op=1, packageName=com.amap.android.location, mode=0]
W/16:16:24.554 called storeMode with com.amap.android.location, Fine Grained Location, Fake
E/16:16:17.828 waiting on user response for com.amap.android.location op Fine Grained Location
D/16:16:17.794 mPerfLockEnabled true
W/16:16:17.786 Failure retrieving resources for com.amap.android.location: Resource ID #0x0
W/16:16:17.784 No package identifier when getting value for resource number 0x00000000
W/16:16:17.779 Asset path /system/framework/oneplus-framework-res.apk is neither a directory nor file (type=1).
I/16:16:17.779 Success to hydrongen resources /system/framework/hydrongen-framework-res.apk
E/16:16:17.751 request sent repackaged as an ad request: PermissionModeRequestImpl [opNum=1, stackTrace=[dalvik.system.VMStack.getThreadStackTrace(Native Method), java.lang.Thread.getStackTrace(Thread.java:580), com.synergylabs.androidpmp.hooks.xposed.XHookImpl$1.beforeHookedMethod(XHookImpl.java:62), de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661), android.location.LocationManager.requestLocationUpdates(<Xposed>), android.location.LocationManager.requestLocationUpdates(LocationManager.java:534), com.a.b.a.g.d.i(Unknown Source), com.a.b.a.g.d.h(Unknown Source), com.a.b.a.g.d.<init>(Unknown Source), com.a.b.a.b.<init>(Unknown Source), com.a.b.a.a.a(Unknown Source), com.amap.android.location.internal.server.NetworkLocationService.a(Unknown Source), com.amap.android.location.internal.server.NetworkLocationService.onCreate(Unknown Source), android.app.ActivityThread.handleCreateService(ActivityThread.java:2838), android.app.ActivityThread.access$1900(ActivityThread.java:155), android.app.ActivityThread$H.handleMessage(ActivityThread.java:1437), android.os.Handler.dispatchMessage(Handler.java:102), android.os.Looper.loop(Looper.java:139), android.app.ActivityThread.main(ActivityThread.java:5348), java.lang.reflect.Method.invoke(Native Method), java.lang.reflect.Method.invoke(Method.java:372), com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950), com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745), de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)], uid=10000]
E/16:15:55.877 Service's server started
W/16:15:55.875 More than 500 ms to handle , msg.target = Handler (android.app.ActivityThread$H) {3e7ab1b4} , msg.callback = null, msg.what = 114 , takenTime = 2199 , startTime = 756294
W/16:15:54.882 sent request AppopsRequest [type=GETALL, num=0, uid=-1, op=-1, packageName=, mode=-1]
W/16:15:54.882 sending request AppopsRequest [type=GETALL, num=0, uid=-1, op=-1, packageName=, mode=-1]
E/16:15:53.930 server might already have been initialized
E/16:15:53.928 created from an instance of the manager
E/16:15:53.928 PMPServer created
W/16:15:53.676 More than 500 ms to handle , msg.target = Handler (android.app.ActivityThread$H) {3e7ab1b4} , msg.callback = null, msg.what = 110 , takenTime = 900 , startTime = 755394
W/16:15:53.645 Asset path /system/framework/oneplus-framework-res.apk is neither a directory nor file (type=1).
I/16:15:53.645 Success to hydrongen resources /system/framework/hydrongen-framework-res.apk
W/16:15:53.508 Suspending all threads took: 5.787ms
E/16:15:53.041 at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:117)
E/16:15:53.041 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)
E/16:15:53.041 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
E/16:15:53.041 at java.lang.reflect.Method.invoke(Method.java:372)
E/16:15:53.041 at java.lang.reflect.Method.invoke(Native Method)
E/16:15:53.041 at android.app.ActivityThread.main(ActivityThread.java:5348)
E/16:15:53.041 at android.os.Looper.loop(Looper.java:139)
E/16:15:53.041 at android.os.Handler.dispatchMessage(Handler.java:102)
E/16:15:53.041 at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1415)
E/16:15:53.041 at android.app.ActivityThread.access$1600(ActivityThread.java:155)
E/16:15:53.041 at android.app.ActivityThread.handleBindApplication(<Xposed>)
E/16:15:53.041 at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:661)
E/16:15:53.041 at de.robv.android.xposed.XposedBridge$1.beforeHookedMethod(XposedBridge.java:176)
E/16:15:53.041 at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:71)
E/16:15:53.041 at de.robv.android.xposed.callbacks.XC_LoadPackage.call(XC_LoadPackage.java:35)
E/16:15:53.041 at de.robv.android.xposed.IXposedHookLoadPackage$Wrapper.handleLoadPackage(IXposedHookLoadPackage.java:20)
E/16:15:53.041 at com.phoneinfo.changer.hooks.MainHook.handleLoadPackage(Unknown Source)
E/16:15:53.041 at com.phoneinfo.changer.hooks.d.a(Unknown Source)
E/16:15:53.041 at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:136)
E/16:15:53.041 at de.robv.android.xposed.XposedHelpers.findAndHookMethod(XposedHelpers.java:129)
E/16:15:53.041 at de.robv.android.xposed.XposedHelpers.findMethodExact(XposedHelpers.java:174)
E/16:15:53.041 java.lang.NoSuchMethodError: android.os.Binder#execTransact(int,int,int,int)#exact
E/16:15:52.983 Hook Name: android.net.wifi.WifiInfo
E/16:15:52.983 Hook Name: android.content.ContentResolver
E/16:15:52.982 Hook Name: android.content.ContentResolver
E/16:15:52.981 Hook Name: android.telephony.TelephonyManager
E/16:15:52.944 Hook Name: android.location.LocationManager
E/16:15:52.944 Hook Name: android.content.ContentResolver
E/16:15:52.915 Hook Name: android.content.ContentResolver
I/16:15:52.699 Late-enabling -Xcheck:jni
Now you need xposed right?
This app is really very awesome. Thanks to the Dev.
But unfortunately the app force closes in CM13 rom in my Redmi 1S. Please fix it.
Installation failure?
Salut!
I cannot install .apk, not 2.1.3, neither 2.1.2. (19FF2875422ADA503517768A99342576 and 57B5919F7F9DAA269A95B9108C7BBD8B)
System message for both APK's "there was a problem parsing the package."
Xposed message for both APK's "Downloaded file is not a valid APK (or incompatible)"
Both files pass ZIP integrity check and could be unzipped with no problems.
HTC One X+ (enrc2b), Android (4.2.2) Revolution 8 HD, rooted, XPosed Installer 2.6.1.
How can I carry out step-2 of the installation instruction?
Thank you.
Cydia Substrate is years old. How are we supposed to rely on an app designed in 2013 for 2.x-4.x for your app released in 2015 for 4.3+?
I downloaded Substrate and immediately ran into a brick wall (that "can't perform initial check, please email the dev" message). For as "easy" as people say PMP is to use compared to XPrivacy, it's colossally more difficult to install, and sorely lacking in helpful resources. This thread is the only place that informed me I should even be installing Substrate in the first place.
Has anyone gotten this to work on 6 or 7? I just get bootloops all day.
qu4gmire said:
Has anyone gotten this to work on 6 or 7? I just get bootloops all day.
Click to expand...
Click to collapse
Yes. Use xposed installer to get it, menu>download>pmp>versions (or download from play) lastest version was 2.4.0 on Jan 28th 2017.
This thread on xda seems long abandoned. No separate cydia download or whatever needed.
+always have the xposed uninstaller zip handy on sdcard in case of bootloops.
Is this app open source so we can confirm that our private data is actually private?
BillTheCat said:
Is this app open source so we can confirm that our private data is actually private?
Click to expand...
Click to collapse
No it is not, we have been asking for that from the beginning, but it has been moved to xposed instead of cydia now

[Completed] Need help to debug bootloop logcat caused by enabling navbar

Hi guys
I wanna enable navigation bar on a stock based custom rom.
There are several stock based custom roms (KitKat) for lg optimus g, but they (stock based roms& stock rom) have no problem with navbar.
But on this particular stock based custom rom, you can enable navigation bar with Xposed modules (but I think Xposed itself is a problem.)
& If you enable it with build.prop (qemo.hw.mainkeys=0), strangely you will face bootloop!
I've checked the logcats I guess the difference between a successful boot & navbar enabled boot starts from here:
E/AndroidRuntime( 874): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 874): java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.USER_SWITCHED flg=0x50000010 (has extras) } in com.android.internal.policy.impl.PhoneWindowManage [email protected]
But I don't know what cause this fatal error.
Please check the logcats, & help me to find the related error.
Thanks
Hi,
This is not a Q&A forum. It is more to guide NEW users to the best place on the site for their problem .
Please read the OPENING THREAD and the Second one , too.
Thank you for your attention in this matter.
malybru
Senior Moderator

[Completed] The new Pixel Launcher crashing on 5.0.2

I've got a problem with the new pixel launcher, whenever i launch it it will immediately crash and delete default launcher preferences. I pluged the phone to my computer and try to launch it with android monitor in andoid studio. I get the following error:
Code:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.android.apps.nexuslauncher, PID: 6087
java.lang.NoSuchMethodError: No virtual method getColor(I)I in class Lcom/android/launcher3/Launcher; or its super classes (declaration of 'com.android.launcher3.Launcher' appears in /data/app/com.google.android.apps.nexuslauncher-1/base.apk)
at com.android.launcher3.allapps.AllAppsTransitionController.<init>()
at com.android.launcher3.Launcher.onCreate()
at android.app.Activity.performCreate(Activity.java:5976)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2251)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)
at android.app.ActivityThread.access$800(ActivityThread.java:144)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5219)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
Any idea how to fix this?
The Pixel Launcher will only work on Android 6.0+ devices
Trafalgar Square said:
The Pixel Launcher will only work on Android 6.0+ devices
Click to expand...
Click to collapse
I used to have CM 12.1 and it worked
I have checked again and every site says that Google Pixel Launcher needs Android 6.0.
So, I can't help you. You may ask here:
http://forum.xda-developers.com/android/help

cannot set lock screen pin, pattern or password on my samsung galaxy tab

hello guys
so i started flashing custom roms on my samsung galaxy tab s6 lite with lineage 17, 18, gsi and after that I noticed that the I cannot set a PATTERN, PIN, PASSWORD screenlock except for swipe. so what I did was a clean flash of the STOCK ROM through odin with relocked bootloader but the problem still persists where I cannot set any screenlock type except swipe and none. last thing to do was log it. so here are some logs. do you guys know a way to fix this?
Code:
2021-12-12 08:36:24.725 4657 20641 system E AndroidRuntime : FATAL EXCEPTION: AsyncTask #2
Process: com.android.settings, PID: 4657
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$4.done(AsyncTask.java:415)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:305)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.lang.IllegalStateException: Fail to enroll user password when creating SP for user 0
at android.os.Parcel.createExceptionOrNull(Parcel.java:2381)
at android.os.Parcel.createException(Parcel.java:2357)
at android.os.Parcel.readException(Parcel.java:2340)
at android.os.Parcel.readException(Parcel.java:2282)
at com.android.internal.widget.ILockSettings$Stub$Proxy.setLockCredential(ILockSettings.java:1208)
at com.android.internal.widget.LockPatternUtils.setLockCredential(LockPatternUtils.java:660)
at com.android.settings.password.ChooseLockPattern$SaveAndFinishWorker.saveAndVerifyInBackground(ChooseLockPattern.java:922)
at com.android.settings.password.SaveChosenLockWorkerBase$Task.doInBackground(SaveChosenLockWorkerBase.java:138)
at com.android.settings.password.SaveChosenLockWorkerBase$Task.doInBackground(SaveChosenLockWorkerBase.java:134)
at android.os.AsyncTask$3.call(AsyncTask.java:394)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 4 more
Caused by: android.os.RemoteException: Remote stack trace:
at com.android.server.locksettings.SyntheticPasswordManager.createPasswordBasedSyntheticPassword(SyntheticPasswordManager.java:779)
at com.android.server.locksettings.LockSettingsService.initializeSyntheticPasswordLocked(LockSettingsService.java:2688)
at com.android.server.locksettings.LockSettingsService.setLockCredentialInternal(LockSettingsService.java:1741)
at com.android.server.locksettings.LockSettingsService.setLockCredential(LockSettingsService.java:1663)
at com.android.internal.widget.ILockSettings$Stub.onTransact(ILockSettings.java:537)
2021-12-12 08:36:58.370 4317 4997 system E BufferQueueProducer : [com.android.settings/com.android.settings.password.ChooseLockPatternSize#0](id:10dd000000a7,api:0,p:-1,c:4317) disconnect: not connected (req=1)
Did you ever find a solution to this?
I have the stock and the LineageOS ROM (19.1) ROMS working fine, but a custom build of the eOS (https://e.foundation) for the S20+ (y2s) has this issue.

Categories

Resources