-
Notifications
You must be signed in to change notification settings - Fork 527
XPrivacy caused the phone stop working when uninstalling on Note 3 SM-N900 #722
Comments
I guess this is caused by too strict restrictions. |
No. That has no effect at all. I've tried that for 3 times.
|
I will try to help you when I am back home, but I need a more complete logcat. Enable XPrivacy logging and capture a log from your PC until the phone reboots (see the FAQ for how to). Nobody else of 1000's of users has reported this problem, so this has not a very high priority for me (but more than feature requests). |
Exactly the same problem here with my GNote2 running under Android 4.3 Wanam Lite. Anayway, very nice piece of work ! |
I confirm the very same issue on the Note 3 (n9005)... I have logcat from just about when I hit "uninstall" until reboot, but I can't upload it here... You can grab it from here : http://batcave.rasquin.co.uk/Temp/uninstalling_app_from_play_store.zip I guess this is a problem that might be related to the fact that this device has SELinux in enforcing mode. JP. |
I have the same issue. If you need last_kmsg here it is |
Love your module! Thanks for your ongoing support! :) |
Someone else also posted the issue with log elsewhere on xda. [QUOTE=M66B;46615697]Several people have reported this problem, but nobody has provided a complete logcat so far as requested in the GitHub issue. I cannot do much without a complete logcat, so please put a logcat on pastebin or similar and add a link to it from the GitHub issue.[/QUOTE] I also have this problem with uninstalls getting rebooted. Here is s longer log someone submitted. [QUOTE=nothotmail;46633562]I think I saw something similar to this problem I am having somewhere but I have been searching and unable to find again what (if anything) can be done to fix it. Thanks for any help. It appeared in the last two days, and since I don't do a lot of uninstalls I am not 100% sure what change caused it. The issue is that any time I go to uninstall an application from the playstore, the app DOES uninstall, but as soon as it completes the phone freezes. I can still turn the screen off and on with the power button but nothing else appears to have any response. I have to hold the power button to reboot to get it back. The phone has been rooted with root de la vega, xposed framework installed, and xprivacy and wanam. I ran a logcat while causing a freeze and the error seems to be related to some sort of permission problem from the line below, and under that is a larger snippet of the logcat. Any suggestions as to how to fix this? I would rather not factory reset and start setup all over again. Here is the specific error line I thing is the root of the problem: And the larger logcat: D/InputReader( 852): Input event: value=0 when=11856945064000 I/InputReader( 852): Touch event's action is 0x1 (deviceType=0) [pCnt=1, s=] when=11856945065000 I/InputDispatcher( 852): Delivering touch to: action: 0x1 E/DatabaseUtils( 852): Writing exception to parcel E/DatabaseUtils( 852): java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL E/DatabaseUtils( 852): at com.android.server.am.ActivityManagerService.handleIncomingUser(ActivityManagerService.java:13076) E/DatabaseUtils( 852): at android.app.ActivityManager.handleIncomingUser(ActivityManager.java:2021) E/DatabaseUtils( 852): at com.android.providers.settings.SettingsProvider.callFromPackage(SettingsProvider.java:577) E/DatabaseUtils( 852): at android.content.ContentProvider$Transport.call(ContentProvider.java:279) E/DatabaseUtils( 852): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:273) E/DatabaseUtils( 852): at android.os.Binder.execTransact(Binder.java:388) E/DatabaseUtils( 852): at dalvik.system.NativeStart.run(Native Method) W/ActivityManager( 852): Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL W/LicenseLogService( 852): log() is called by non admin D/ApplicationPolicy( 852): getApplicationUninstallationEnabled D/ApplicationPolicy( 852): getApplicationUninstallationEnabled : enabled true I/SpenGestureManager( 852): setFocusWindow21010 D/PointerIcon( 852): setHoveringSpenIconStyle1 pointerType: 10001iconType:1 flag:0 D/PointerIcon( 852): setHoveringSpenCustomIcon IconType is same.1 E/ViewRootImpl(16843): sendUserActionEvent() mView == null E/EnterpriseContainerManager( 852): ContainerPolicy Service is not yet ready!!! D/EnterpriseDeviceManager( 852): ContainerId: 0 W/LicenseLogService( 852): log() is called by non admin W/PackageManager( 852): Couldn't delete native library directory /data/app-lib/com.mhill.irblasterdemo W/InputMethodManagerService( 852): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@46a948e8 attribute=null, token = android.os.BinderProxy@4361f080 E/MP-Decision( 2097): Action to bring core 1 online E/MP-Decision( 2097): Action to bring core 2 online D/PackageManager( 852): Sending to user 0: act=android.intent.action.PACKAGE_REMOVED dat=package:com.mhill.irblasterdemo flg=0x8000000 Bundle[{android.intent.extra.REMOVED_FOR_ALL_USERS=true, android.intent.extra.DATA_REMOVED=true, android.intent.extra.user_handle=0, android.intent.extra.UID=10384}] D/PackageManager( 852): java.lang.RuntimeException: It's not exception, just print call stack D/PackageManager( 852): at com.android.server.pm.PackageManagerService.sendPackageBroadcast(PackageManagerService.java:7652) D/PackageManager( 852): at com.android.server.pm.PackageManagerService$PackageRemovedInfo.sendBroadcast(PackageManagerService.java:11157) D/PackageManager( 852): at com.android.server.pm.PackageManagerService.deletePackageX(PackageManagerService.java:11108) D/PackageManager( 852): at com.android.server.pm.PackageManagerService.access$4000(PackageManagerService.java:218) D/PackageManager( 852): at com.android.server.pm.PackageManagerService$8.run(PackageManagerService.java:11013) D/PackageManager( 852): at android.os.Handler.handleCallback(Handler.java:730) D/PackageManager( 852): at android.os.Handler.dispatchMessage(Handler.java:92) D/PackageManager( 852): at android.os.Looper.loop(Looper.java:137) D/PackageManager( 852): at android.os.HandlerThread.run(HandlerThread.java:61) D/dalvikvm(17949): JIT code cache reset in 0 ms (4096 bytes 2/0) D/dalvikvm(17949): GC_EXPLICIT freed 296K, 40% free 15538K/25484K, paused 2ms+5ms, total 41ms E/MP-Decision( 2097): Action to bring core 3 online I/SurfaceFlinger( 306): id=56 Removed BssetBrowse (4/6) I/SurfaceFlinger( 306): id=56 Removed BssetBrowse (-2/6)[/QUOTE] |
Removed lowprio label |
Does the Note 3 has SELinux enabled? |
Yes, in "Enforcing" mode, not permissive. |
Could someone please capture a complete logcat from device startup until the problem occurs. This needs to be done from a PC using adb. Run the command 'adb logcat' before starting up the device. I am asking this, because I want to make sure there are no other hidden problems. |
Please enable XPrivacy logging too. |
Unless someone else can do this any sooner, I will, but only when at home tonight (in about 6-7 hours from now). JP. |
OK, here you go. I've made 2 runs, because during the boot process at some point the adb logcat stops, and I may have taken me a few seconds to see that. 2nd run id complete, and I let it go ahead until after the device came back up after the hot reboot. Hope this helps you. If you need anything further, just let me know. JP. |
Thanks, JP. I cannot download the zip file, so could you please link it from the issue? Kind regards, Marcel yank555-lu notifications@github.com schreef:
|
Unfortunately, I can't, that's the reason my first logcat a few days back was also just pointed to through the URL, I get this error message when trying to attach it here : "Unfortunately we don't support that file type yet. Please use PNG, GIF, or JPG." None of which are really suitable. I could change the file extension to fool this, though ;) JP. |
What if you change the extension?
|
Could you find something usefull in the logcat ? |
I am travelling in Peru and have only a very small phone with me, so I am currently not able to look into it. I will when I have returned home the second week of November. |
Have a great vacation!
|
Could someone please post the output of ls -Ral /data/data/biz.bbokhorst.xprivacy |
su:/mnt/extSdCard>cd /data/data/biz.bokhorst.xprivacy ./cache: ./shared_prefs: |
Could someone please try if this version still crashes the device: http://d-h.st/gXT |
I have looked to the provided logcats extensively, but I cannot relate the problem to XPrivacy. For example this seems to have nothing to do with XPrivacy.
This could be caused by using an outdated root method. Also the reports are not consistent, some say the phone stops working and some say the phone reboots. Please provide an accurate as possible problem description. |
Download link is not working for me... |
Please try again: http://d-h.st/Ts8 |
In response to clarify the unexpected behavior that happens, The phone freezes for a while ~ 1 minute before automatically resetting. (some people may manually reset before the phone automatically resets thus never realize that it would have happened automatically anyways) |
Seems to still be freezing upon uninstall. |
E/DatabaseUtils( 14084): java.lang.SecurityException: Permission Denial: get/set setting for user asks to run as user -2 but is calling from user 0; this requires android.permission.INTERACT_ACROSS_USERS_FULL If this is caused by an outdated root method, there's no higher version of supersu. |
@klau1 please provide a logcat from the moment you uninstall an application with the latest test version (but do not include the loglines of the restart). |
Which log level should be used? What log entry is written upon app uninstall and also system restart? (So I know where to cut the log) |
Just start the log just before you are going to remove an application and stop the log when your device restarts. |
Any specific log level verbose debug... |
Since I have no idea what is causing this issue, include as much as possible detail in the logcat, |
Please capture the log again, but enable XPrivacy logging in the settings first. |
I have no idea why it's not freezing now that xPrivacy Debugging is ON. I've successfully uninstalled two apps without any freezing. Why is this? |
Interesting, but it is not likely that enabling logging solves this problem. |
Finally, got it to freeze. Log coming up. I wonder if it only freezes once some app permissions have been used. |
@klau1 thanks for the logcat with XPrivacy logging enabled. |
No problem, thanks for your efforts and support! 1.10.1(168) <--- Is this the latest beta? |
I am not sure, because I do not always increase version numbers for test releases. |
Yep, I'm sure it is the one from "Please try again: http://d-h.st/Ts8" |
@klau1 could you please install this version: http://d-h.st/578 |
These are the changes so far: https://github.com/M66B/XPrivacy/blob/master/CHANGELOG.md |
This is a new test version: http://d-h.st/QGy |
I can confirm based my reinstalling and uninstalling Apps that previously crashed during uninstallation, that the new version 1.10.30(170) seems to no longer exhibit the same behavior. Problem solved. Thanks again! Early Holiday Gift! |
Let me know if you still need the logcat. |
@klau1 If it works, then I don't need a logcat anymore. Thanks for all the tests and logcats! |
Several people confirmed this issue has been solved in the test release. |
I also freezes and restarts on my Galaxy Note 2 with android 4.3. Sorry I could not get the logcat by my tower PC ADB drivers, I'll try from the laptop. |
@MAL0W are you running the latest XPrivacy version (beta 1.10.4) ? |
Ouch! My version it's 1.10. I just tested the version 1.10.4 and now is ok. Sorry to bother you. |
When I try to uninstall any apps, it finished uninstallation but the phone stopped working and then for a while it restarted.
When XPrivacy is disabled in the Xposed framwork, there is no problem uninstalling.
But with XPrivacy enabled, even its data cleared, there is still the same problem.
My phone is SM-N900 with stock TouchWiz rom, and rooted.
Hope you could fix it. Thank you.
The following is my logcat, and there seems no problem...
--------- beginning of /dev/log/main
I/dalvikvm(14357): Turning on JNI app bug workarounds for target SDK version 11...
I/XPrivacy(14357): Load fallback settings uid=10241 3 ms
I/XPrivacy(14357): get setting Log=false # 9 ms
E/Term (14357): onCreate
D/Term (14357): TermService started
I/TermService(14357): Activity called onBind()
I/Term (14357): Bound to TermService
I/TermService(14357): Activity binding to service
D/dalvikvm(14357): Trying to load lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x437243f8
D/dalvikvm(14357): Added shared lib /data/app-lib/jackpal.androidterm-1/libjackpal-androidterm4.so 0x437243f8
I/libjackpal-androidterm(14357): JNI_OnLoad
I/Term (14357): waiting for: 14378
W/IInputConnectionWrapper(14357): showStatusIcon on inactive InputConnection
D/dalvikvm(14357): GC_CONCURRENT freed 1290K, 15% free 24991K/29300K, paused 7ms+2ms, total 30ms
W/IInputConnectionWrapper(14357): showStatusIcon on inactive InputConnection
The text was updated successfully, but these errors were encountered: