Giter Site home page Giter Site logo

Comments (13)

bonanza123 avatar bonanza123 commented on July 23, 2024

I guess it's a different issue. Is it possible that you are now trying to install a GmsCore apk which is signed with a different key than your current version?

Btw, check out the xposed module xinstaller, that should help here.

from fakegapps.

bonanza123 avatar bonanza123 commented on July 23, 2024

The xinstaller option you are looking for is "confirming signature check".

from fakegapps.

geg2048 avatar geg2048 commented on July 23, 2024

After some research I think I found the problem.
I do actually need the fake signature from FakeGApps because the "sig" tag on the https://microg.org/fdroid/repo/index.xml does use the fake signatue.

from fakegapps.

bonanza123 avatar bonanza123 commented on July 23, 2024

I'm still convinced that your problem is caused by different signatures of your installed gmscore apk and the one you would like to update with. please provide a logcat of the error

from fakegapps.

thermatk avatar thermatk commented on July 23, 2024

@bonanza123 thank you for taking down the PR, could be a real problem at this point :)
@geg2048 are you using the special repository described on https://microg.org/fdroid/ ?

from fakegapps.

geg2048 avatar geg2048 commented on July 23, 2024

Ok im going to explain it:

i checked my signature and the sha256 value of my installed app and the app of the fdroid repo they are both the same:
$ keytool -list -printcert -jarfile com.google.android.gms-8489277.apk

Owner: O=NOGAPPS Project, C=DE
Issuer: O=NOGAPPS Project,C=DE

Serial number: 26ffa009

Valid from: Sat Oct 06 14:05:32 CEST 2012 until: Wed Sep 30 14:05:32 CEST 2037
Certificate fingerprints:
MD5: 6C:B7:75:5E:B8:16:51:83:A0:7D:A7:AA:BE:E4:DC:55
SHA1: 10:32:1B:D8:93:F6:9A:F9:7F:75:73:AA:FE:9D:E1:DC:09:01:F3:A1
SHA256:9B:D0:67:27:E6:27:96:C0:13:0E:B6:DA:B3:9B:73:15:74:51:58:2C:BD:13:8E:86:C4:68:AC:C3:95:D1:41:65

Signature algorithm name: SHA256withRSA
Version: 3

If you are going to download this file https://microg.org/fdroid/repo/index.xml you will see this:

8.4.89 (microG v0.2.0) 8489277 com.google.android.gms-8489277.apk 119dbdfa66120a852492d0c017a46c848c1f4a34f3ae29be620aa2de161b3abc d91564be0d13dcff260fe019eeea8cd8

sig = d91564be0d13dcff260fe019eeea8cd8
this value is generated by this tool: https://github.com/f-droid/fdroidserver/tree/master/tests/getsig and used to check the apk signature which are:

microG GsmCore apk
$ java getsig com.google.android.gms-8489277.apk
Result:ca625df9dd76b6002de9c94d216cf09b

Original Google apk
$ java getsig GoogleServicesFramework.apk
Result:d91564be0d13dcff260fe019eeea8cd8

You see that the provided signature d91564be0d13dcff260fe019eeea8cd8 is which is not the signature of the microG GsmCore apk (ca625df9dd76b6002de9c94d216cf09b).
which is total logical because only FakeGApps whitelistes fdroid but the omnirom fakesignature patch does not.

I hope you understand me now.
I am sorry that I didnt give a proper explanation before.

from fakegapps.

geg2048 avatar geg2048 commented on July 23, 2024

@thermatk yes the offical microg fdroid repo
https://github.com/microg/android_packages_apps_GmsCore/wiki/Downloads

from fakegapps.

geg2048 avatar geg2048 commented on July 23, 2024

I also installed a version without the fdroid filtering and it works

from fakegapps.

geg2048 avatar geg2048 commented on July 23, 2024

OK I looked around and found this microg/GmsCore#92 which is basically my problem

from fakegapps.

thermatk avatar thermatk commented on July 23, 2024

MaR-V-iN says in the XDA thread he might provide a solution in the coming weeks, let's wait. Meanwhile, you can update manually, no?

from fakegapps.

geg2048 avatar geg2048 commented on July 23, 2024

@thermatk sure no problem there and thanks for the help

from fakegapps.

mar-v-in avatar mar-v-in commented on July 23, 2024

@thermatk As ROM patches are not very dynamic and we won't see a proper adaption in all patches soon, I'd propose to go the other way round and spoof signature to F-Droid as well. This should allow FakeGapps users to use the F-Droid repo until we find a better solution...

from fakegapps.

thermatk avatar thermatk commented on July 23, 2024

@mar-v-in the only other option at the time would be xposed-hacking the F-Droid logic :)
@geg2048 will upload to XposedRepo soon

from fakegapps.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.