-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What do I need to do to make the GMSCore apk compiled by Android Studio pass the signature deception? #2683
Comments
You need to update crDroid once they add a new spoofing patch, see #2680 (comment) |
I am using the latest crdroid version, and the same crdroid version is used https://github.com/microg/GmsCore/releases/tag/v0.3.5.240913 The apk released in this can be used, but my own compiled one cannot. Why is that? |
Please share a link to your repo. |
@stkv3i |
I use following repo link build the apk(https://github.com/microg/GmsCore.git), so is there anything wrong with this link? |
thanks very much, If I want to use my own compiled apk to run normally, what do I need to do? |
https://github.com/microg/GmsCore.git |
You didn't undestand my reply:
In all cases you must wait the update of the ROM with the new signature spoofing patch and update it. You can see the details here: #2680 |
thanks very much, so if I want to using my compiled microG apk can pass the test(just like the official mocroG release), what should I do? |
Anyone can explain it better? I'm trying to figure out if there's a comprehension problem. One last time: The test in the v0.3.5 only pass because it is broken (actually incomplete), once all apps are updated with the new Google libs they will all fail with microG even if the test of v0.3.5 is passing. |
I'm very sorry for the confusion caused by my description. I understand that using the latest Google library may not work properly, but I don't need to use the latest version of Google Maps on my end. The version I am using is 24.47.05.699977727, and I only need to use this version, The official apk of microG can be used normally, as shown in the attached image, but the APK compiled from the downloaded code( https://github.com/microg/GmsCore.git) cannot pass the test detection, so I would like to ask how to achieve the effect of the official microG APK |
We seem to have two users here: @debusun and @stkv3i have compiled microg from source and their apk is not detecting signature spoofing. Please note that Google has recently changed their signature detection method and all Google apps will fail unless the ROM builders update their code and release a new version which you must flash onto your device. This is completely outside the realm of microg and you need to contact crdoid or lineageos or whoever else makes your rom. As to why self-built microg apk files failed, unless you provide details of how you built them, then we cannot help. Full instructions are provided in the wiki: https://github.com/microg/GmsCore/wiki/Building - can you confirm that you are following those steps and are building on a Linux system and provide build logs? |
The "partial" signature spoofing will still works on old apps even if the test in microG self check do NOT pass, there is no need force it to pass as it doesn't make any difference in practice (for old apps). |
@JonnyTech @ale5000-git : Thank you very much, both of you。 now I following https://github.com/microg/GmsCore/wiki/Building to build apk and open microG settings like following picture show if I install the apk from official microG release (https://github.com/microg/GmsCore/releases/tag/v0.3.5.240913) and then open the microG settings like following: I that Google has recently changed their signature detection method and all Google apps will fail. |
Your log shows that you are building from Windows. That is why. Use Linux. https://github.com/microg/GmsCore/wiki/Building
|
If you want to have the same result of the release then just clone the tag: |
Soon enough all apps will fail, not just Google ones. |
@JonnyTech The running effect after I compile the linux system is the same as that of the windows system. The following is the log after I run the "./gradlew build "command on the linux system. Code is clone "git clone - branch v0.3.5.240913 https://github.com/microg/android_packages_apps_GmsCore.git" as @ale5000-git provided, could help me please? |
If it still doesn't work even when using the tag v0.3.5.240913 then your problem is probably different, maybe the ROM on your device only grant signature spoofing to microG if it has the official signature. PS: There is also the case that it doesn't check the official microG signature but only grant it to system apps; in this case you just need to put microG in the /system partition. |
Describe the bug:
I used a OnePlus phone to flash the crdroid system, and then installed the source code compiled apk, but the self-check showed that the signature deception did not pass. However, I installed the downloaded release version and it showed that the signature deception passed.
What do I need to do to make the GMSCore apk compiled by Android Studio pass the signature deception?
My own compiled apk
Download release apk
Mobile phone system
System
Android Version: 14
Custom ROM: crDroid 10.10
microG
microG Core version: 0.3.5.244735-3
microG Self-Check results: Partially checked
The text was updated successfully, but these errors were encountered: