Code Monkey home page Code Monkey logo

Comments (5)

nabijaczleweli avatar nabijaczleweli commented on May 25, 2024

The onBind -> query traceback points to

try {
cursor = getContentResolver().query(
CHECKIN_SETTINGS_PROVIDER, new String[] { "androidId" }, null, null, null
);
if (cursor != null) {
cursor.moveToNext();
androidId = Long.toHexString(cursor.getLong(0));
}
} finally {
if (cursor != null) {
cursor.close();
}
}
which blames to 0d41051.

Can't test the previous release because my phone refuses it the apk as "invalid".

from gmscore.

ale5000-git avatar ale5000-git commented on May 25, 2024

I'm not sure if it is this problem but the latest microG Companion use "things" and new permissions from microG Services, so it need the following things:

  1. Both microG Services and microG Companion need to be updated
  2. Both microG Services and microG Companion need to have the same signature
  3. You need to update microG Services BEFORE microG Companion, if you have done the opposite then the new permissions will be probably not granted.

from gmscore.

nabijaczleweli avatar nabijaczleweli commented on May 25, 2024

I followed https://github.com/microg/GmsCore/wiki/Installation which still calls com.android.vending "FakeStore" (this was fun to figure out, especially since it links to https://github.com/microg/GmsCore/wiki/Downloads which links to https://github.com/microg/FakeStore/releases which is archived; everything on the wiki being called by some internal code-name instead of the package name that it's distributed as is also needlessly confusing) and doesn't mention version-matching it to anything else.

Unclear to me what you mean by "signature" here, the only signature they have that I see are the two .ascs which are naturally different for different files.

I hadn't updated anything before, this is a fresh install.
I now updated to com.google.android.gms-240913002.apk (same release as com.android.vending), and it doesn't look like it crashed yet, so that seems to work.

from gmscore.

ale5000-git avatar ale5000-git commented on May 25, 2024

I have updated the names in these two pages.

If you use both official microG Services and microG companion they have the same signature and it is ok.
Instead if only one of them is compiled by you and the other is the official one then the signature doesn't match.

from gmscore.

nabijaczleweli avatar nabijaczleweli commented on May 25, 2024

Thanks; updating com.google.android.gms to match com.android.vending worked, it hasn't crashed since yesterday.

from gmscore.

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.