Gmscore: Add setting to manually set Device ID please

Created on 13 Apr 2018  路  6Comments  路  Source: microg/GmsCore

Add setting to manually set Device ID please.

The one that, with GApps, you can get using:
adb shell 'sqlite3 /data/data/com.google.android.gsf/databases/gservices.db "select * from main where name = \"android_id\";"

Ref: https://www.xda-developers.com/how-to-fix-device-not-certified-by-google-error/

Most helpful comment

@ale5000-git Yes, I was just wondering what would happen IF that's the case, so it should be considered an "experimental" feature.

@lazerl0rd the SafetyNet issue is regarding an update to DroidGuard Google has pushed last week. microG's DroidGuard Helper needs to be updated accordingly.

There's currently no way to pass CTS or even BasicIntegrity with microG even if you register the (spoofed) Device ID, thus Google Apps will see the device as uncertified and stop working (GMail and stuff), including all other apps that check the SN attestation (Nintendo games and stuff).

Though all that's already discussed over at issue #510

possible workarounds:

  • use a second device without private data with GApps for your gaming fix
  • wait until our savior @mar-v-in descends and blesses us with some shiny new code that shall allow us to safely enter the gates of mordor

All 6 comments

microG's DroidGuardHelper is outdated since the latest update from DroidGuard Google has pushed, so registering the ID will not fix the certification issue with microG.

You can test this by using the 'Device ID' app which will show the spoofed GSF-ID by microG and register that one.

Though, of course being able to choose the spoofed ID would make it possible to only register one to Google, but what happens, when two users spoof the same ID? Or when two devices with the same ID are simultaneously active?

I know, I'm just asking a thing that will be useful later.
It would be mainly to reuse existing GApps Device ID but an experienced person can use it also in other ways.

@Nanolx is there any other way to pass safteynet with microG at the moment?

@lazerl0rd: This is not directly related to SafetyNet, SafetyNet may not work also if the device pass certification.
The SafetyNet problem is separate.

@ale5000-git Yes, I was just wondering what would happen IF that's the case, so it should be considered an "experimental" feature.

@lazerl0rd the SafetyNet issue is regarding an update to DroidGuard Google has pushed last week. microG's DroidGuard Helper needs to be updated accordingly.

There's currently no way to pass CTS or even BasicIntegrity with microG even if you register the (spoofed) Device ID, thus Google Apps will see the device as uncertified and stop working (GMail and stuff), including all other apps that check the SN attestation (Nintendo games and stuff).

Though all that's already discussed over at issue #510

possible workarounds:

  • use a second device without private data with GApps for your gaming fix
  • wait until our savior @mar-v-in descends and blesses us with some shiny new code that shall allow us to safely enter the gates of mordor

Well @ale5000-git for the Device ID use the app mentioned on xda to get it (worked for me and now I can download form Play Store at least while using microG (I've even got a few Google Apps to work))

@Nanolx thanks mate

Was this page helpful?
0 / 5 - 0 ratings

Related issues

0pLuS0 picture 0pLuS0  路  4Comments

Riamse picture Riamse  路  5Comments

corneliusroemer picture corneliusroemer  路  5Comments

Trumeet picture Trumeet  路  3Comments

patrickdrd picture patrickdrd  路  5Comments