-
Notifications
You must be signed in to change notification settings - Fork 527
Make other apps Force close on MIUI 8 #2374
Comments
Typo: logcat for xprivacy |
Dear Developer i am a great fan of xprivacy a have a paid version. Recently I switched from motorola to Remi note 3.miui v8 and facing the same problem as xdarknet. I don't know how to get logcat for xprivacy. Kindly look into the problem & pls guide me how to get logcat for xprivacy. |
Please provide a logcat captured from your PC started before your device is being powered on. Use your favorite search engine to find out how to capture such a logcat. |
Thanks for the prompt reply. Sending you the logcat. Sincerely hope it will
|
I need to see a complete logcat with XPrivacy debugging enabled until the crash occurs. I have checked the code and have a question: does this crash happen without restricting overlay as well? |
Even im disable app from xprivacy by turn off the swith in restrict menu On Sep 15, 2016 22:09, "Marcel Bokhorst" [email protected] wrote:
|
Possible workaround: disable this restriction: overlay/addView or simply overlay See the FAQ, question 79 about how to. Please let me know if this helps. |
Tried everything but no luck. Sending new log hope I find it useful. Os |
Even the Gmail app just crashed as pressed send button. |
Did you try the provided workaround? |
Yes I did sir but did not work.... |
I am surprised that the workaround does not work, since it would effectively disable the restriction. So, please double check if you created the right file with the right content. Unfortunately I have no idea what exactly is causing this bug iand I also have no device with MIUI 8, so it will be difficult to fix. In addition my only development device recently died, see the XDA XPrivacy forum for more information. |
I made the changes in template by unchecking overlay. |
MIUI 8 by default restricts the alert windows permission (INTERNAL_SYSTEM_WINDOW). Xprivacy hasn't permission so it crashes. The Titanium Backup also crashes on my device as consequence of this problem:
I solved this issue, in another App that I'm developing, by adding this line in the Android manifest:
I guess this solution should fix the problem. One trick to avoid the MIUI restriction that produces the crashes is to install this Xposed module: |
@2FunDevices so, you (and nobody else) did try the provided workaround yet @dablado I am not sure what the crash is causing, but adding the system alert window permission to each and every application is not a good idea. This is the XPrivacy addView hook: |
@M66B I believe the reason is the MIUI permission policy. This permission wasn't mandatory in previous versions. However, if you show an alert window in the new MIUI 8 you MUST give the permission. In my case the problem was in a Toast alert. I request this permission and the problem was fixed. I haven't more crashes. It is not a "give permission to every application", just request this permission when an alert is shown in MIUI 8. It is just my suggestion. I believe this is the cause. Anyway I have installed the MiuiPermissionRemover and the problem is fixed. However it is not a "clean solution". I hope you find the solution. |
The crash report indicates that there is no alert dialog shown by XPrivacy. |
I just tried MiuiPermissionRemover it worked like a charm. Its an added step, I don't mind using this module if its safe. Can some one look into it as being a module it gets SuperSU permissions & Support/Discussion URL page leads to Chines version of miui.com. I am kind of confused to use this solution or not ??????? For the record Xprivacy never asked for any permission in MIUI8. Thanks |
I have downloaded the permissionremover apk given above.. however i am getting parse error while installation.. can you please help in resolution |
@Pral5 likely a bad download |
Tried from given link above... tried many times but getting same error.. can you provide alternative link to download working apk. |
I tried the suggested workaround (FAQ 79) with both "overlay/addView" and "overlay", but wasn't successful. I didn't try building the app with xprivacy.options=ignoreselinux though, because the workaround with the mentioned XPosed module worked just fine for me (and is much easier tbh). |
Can you explain more detail about your solution? |
Just install the other Xposed module mentioned earlier: http://repo.xposed.info/module/com.flarejune.miuipermissionremover Or try the workaround from M66B. |
Thanks |
Hi, `@SuppressLint("InlinedApi")
}` And place to /data/system/xprivacy/disabled Someone know why the Xposed module dont work? Or what I badly did in the workaround I use Xiaomi Redmi note 4 with MIUI 8.0.4.0 and xposed-v86-sdk23-arm64-MIUI-edition-by-SolarWarez-20160710 Thanks and sorry for English (I'm French) |
I've set up my MI 4W new with MIUI8 and ran into the same problem... It took me 2 days and many factory resets/ re-flashs a.s.o. until I figured out, that the FCs are caused by xPrivacy. I never had any problems like this with xPrivacy so it wasn't in my scope while searching for the cause. At some point I disabled all xposed modules and as I had no problems after the reboot I enabled them one by one to find the failing one. I've tried then (after reading here) miuipermissionremover and created also the "disabled" file in /data/system/xprivacy/ containing just "overlay" and an empty row below and rebooted. But both didn't help.
xposed: xposed-MIUI8-Android6-v85-sdk23-arm-miui.zip and XposedInstaller_3.0_alpha4_MIUI8-Android6.apk Just let me know if you need additional information kind regards |
Same problem.
|
Hello good evening sir, every apps on MIUI 8 that have floating windows is force close, I don't know why. But if me disable xprivacy that app work fine.
Here the location for xprivacy, and the app that force close (for example titanium backup)
Http://xsetiadi.tech/logcat
There are 3 files 2 from catalog apps one from error system on MIUI. Please help
The text was updated successfully, but these errors were encountered: