Sunday, March 25, 2018

Google now blocks GApps on uncertified devices, but lets custom ROM users be whitelisted

Because Android is open source, it gives device makers to the freedom to customize the software as they please. However, in order to ensure a level of consistency between Android devices, Google has cleverly leveraged their suite of popular Google apps and services to mandate that device makers follow a specific set of rules called the Compatibility Definition Document (CDD). A device maker must follow the CDD to pass the Compatibility Test Suite (CTS) so they can be allowed to ship their devices with pre-loaded Google apps and services. Previously, it was possible for uncertified devices to still make use of Google apps (shortened as 'Gapps' by the community), but now it appears that Google is cracking down—while still allowing custom ROM users to use Gapps!

Earlier this week, we received an anonymous tip from a person claiming to be within the industry. This person, who said they worked for an OEM/ODM, notified us that Google has started locking out newly built firmware from accessing Gapps. This change apparently went into effect March 16th and affects any software builds dated after this date (Google Play Services checks ro.build.fingerprint for the build date apparently).

GApps Play Store Uncertified

Message in Settings page of the Google Play Store if device is uncertified.

I reached out to my own contact in the industry who said this change was a year in the making as Google had provided prior warning to device makers, but my contact was unable to reproduce the issue on their own test device. However, yesterday a member on our forum, XDA Senior Member liam_davenport, came across this exact problem on their own device.

Google Play Uncertified

As you can see in the image above, the user is disallowed from signing in to their Google account because their device is uncertified. You have a few options here, depending on if you are a user or an engineer from a device maker. Users can point out this warning message to the company they purchased a device from in hopes of getting a certified device, or if they are a custom ROM user (such as with LineageOS 15.1) then they will need to enter their Android ID at this page in order to be white-listed. An easy way to get your Android ID is to enter "settings get secure android_id" in ADB shell.

Google Play Custom ROM

For device makers, you will have to go to this webpage in order to contact Google to have the device registered. From what my contact says, this move by Google is to ensure that device makers can't simply bypass Google's CTS and ship devices with the promise that users can simply side-load Google Play apps and services. Doing so will now bring up these warnings which will shame device makers and force them to go through the proper certification channel.

When we first heard of this change from our tipster, we were initially worried of its impact on the custom ROM scene. Thankfully, it appears that Google acknowledges our existence and will allow us to continue using Google apps and services unofficially. Kudos to Google!



from xda-developers https://ift.tt/2G7ThOk
via IFTTT

No comments:

Post a Comment