rovo89 / Xposed

The native part of the Xposed framework (mainly the modified app_process binary).
Other
7.43k stars 1.47k forks source link

Google "Authentication is required" possibly due to January 2017 patch? #207

Open thewan056 opened 7 years ago

thewan056 commented 7 years ago

I'm using latest MIUI 8, 6.12.29 as of this post, android 6.0.1. It shipped with Security patch level 2017-01-01.

Google and all its related apps affected by "Authentication is required". I tried disabling all modules, but the issue persists. If I uninstall xposed, Google works fine, no issue there. So I believe it is the latest security patch causing issues with using xposed? I tried the original xposed v87, solarwarez miui and magisk v87 as well, all did not work.

I had no problems with the previous update in mid-December which shipped with December security patches.

rovo89 commented 7 years ago

Do you know if others have the same issue with more official ROMs? I have made bad experiences with MIUI and their modifications. In any case, a log of the issue would be helpful.

wanam commented 7 years ago

I'm running the same xposed version by solarwarez v87 with 6.12.29 build on a Mi 5s with no issues. Maybe this issue is related with your Roms config. Unfortunately solarwarez's build is not open source, i asked him many time to share his bridge changes, i think he made a lot of invasive hooks that may not required or can be avoided, i also don't like the way he is hijacking the credit's screen on xposed installer app.

thewan056 commented 7 years ago

Regarding others having issues, I have seen one post in the MIUI forums indicating he had some issue with xposed + MIUI 6.12.22, which was the version that Jan 2017 patch started shipping with. Unfortunately, the MIUI forums is not really the best place to get any decent number of proper feedbacks due to too many language barriers, among other issues. I believe more official ROMS will probably not ship with Jan 2017 patches until later this month, I can't really see anyone complaining about the said issue with my limited searching.

As Jan 2017 patch was the only significant change in the latest MIUI updates, I assumed it was causing the issue with Google and Xposed. But since @wanam mentioned above that he has no issues, it might be an isolated case with my phone/Rom. I am using a Mi Note, which has a SD801, so maybe it has something to do with the specific arm build which doesnt affect arm64? Anyway, as I have more time now, I'll try to see if I can recreate the issue on a clean Rom flash.

Thank you for both of your replies, and have a Happy New Year.

thewan056 commented 7 years ago

I have found the out the cause of the issue. Google Play services on my phone, although updated to the latest version, was not updated to the latest revision. Either Xiaomi, or the security update, must have caused some incompatibility issue when using xposed together with an older revision of Google Play services on the latest MIUI dev update. I manually updated Google Play services on my phone, which fixed the authentication issue.

If anyone does encounter this issue in the future, maybe you can suggest them to check their Google Play services version/revision on whether it is outdated.

If there isn't anything else, feel free to close this issue, and I apologize if I sounded like I was blaming xposed on this issue.

rovo89 commented 7 years ago

Thanks, I appreciate that you analyzed the issue and posted the cause and solution here! This reminds me of an issue that @wanam reported a while ago, where the under certain circumstance some Google Play related stuff was recompiled from the already compiled oat/odex file (essentially a no-op) instead of from the updated APK. That should be fixed though.