amtoaer

晓风残月

叹息似的渺茫,你仍要保存着那真!
github
x
telegram
steam
nintendo switch
email

Skip Pixel boot verification fundamentally

When using a ROM with pre-installed GMS (such as Pixel Experience/Evolution X), we need to complete the boot guide to perform some initial configurations. However, sometimes this guide cannot be completed offline and requires a connection to Google servers for further operations. This has caused great inconvenience for users in mainland China - they need to install certain tools after the boot guide in order to connect to Google, but they cannot connect to Google without the boot guide. This article documents the cause of this situation and several solutions.

Added on September 13, 2022:

Note: This method may be affected by network environment. The author successfully operated in a non-proxy environment using home broadband when writing this article, but subsequently received feedback from readers that it was ineffective. This is a special statement.

If this method is not effective, you can also try removing the SIM card and retrying (a method to skip MIUI EU boot guide from @梦里水乡).

Reasons for Unable to Skip Boot Guide Offline#

To put it simply, the reason for unable to skip the boot guide offline is that the device has triggered Google's FRP lock, which is often caused by not signing out of your Google account during the last system wipe.

In the introduction to Google FRP, we can see the following description:

If your device has been lost or stolen, and has been Factory Data Reset in an untrusted environment, this will trigger the FRP lock.

If you want to reset your device to factory default settings in an untrusted environment, ensure that you know your Google account login credentials as you will need it to log in once you have reset your device.

In short, if your device is restored to factory settings in an untrusted environment, it will trigger the FRP lock. In this case, you need to log in to your Google account for verification during the boot process.

Skipping Methods#

Most of the methods mentioned in articles can be summarized into three types:

  1. Use a network that can connect to Google for login verification.
  2. Modify /system/build.prop and add a line ro.setupwizard.mode=DISABLED to the file.
  3. Forcefully remove the FRP on the device.

But personally, I don't think any of these three methods are ideal.

The first method requires configuring a LAN proxy for the computer/router, manually entering the proxy port when connecting to the hotspot on the phone, and connecting to Google through the proxy configuration of the computer/router. This is the most authentic method, but the downside is that the operation is too complicated and the cost is too high.

The second method is to write the configuration to disable the boot guide in build.prop. Without a text editor in the Android terminal, you need to first copy the file to the /sdcard directory in recovery, transfer it to the computer via USB, add the line, transfer it back, overwrite the original build.prop, and finally give it 755 permissions.

In terms of operability, this method is simpler than the first method. I have used this method on Android 10 and below systems. However, recently I found that this method has issues on Android 11 - although the boot guide verification is successfully skipped, the installer frequently crashes during program installation, and the log shows can't install packages while in secure frp. This indicates that although we have successfully bypassed the verification of the boot guide, the FRP lock still exists and affects normal use.

The third method is more aggressive, forcefully removing the FRP verification mechanism on the device. I personally have not used this method, but I think although this mechanism is somewhat complicated to deal with, it is fundamentally for device security, and it is not good to delete it recklessly.


Next is the method that this article focuses on, also mentioned in the title, skipping verification from the ground up.

Since the reason for this verification is that the Google account was not signed out on the device before restoring it to factory settings, as long as the Google account is signed out, the FRP lock will naturally disappear. So our method is: sign out of the Google account on the device through the cloud.

  1. Visit the Google Account homepage.
  2. Find Security -> Your devices and click.
    20210130170316
  3. Click on the device that you forgot to sign out of the Google account and click the "Sign out" button.
    20210130170450
  4. After successfully signing out, you will find that the phone will no longer force you to log in to the Google account for verification, and you can complete the boot guide offline.

Reference Articles#

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.