Google nexus 6p android8.1降级至android6.0两步曲

一、解锁的安装使用(两个锁:oem和bootloader,需要人为地unlock)

  1、电脑端的操作部分

使用最新的SDK运行环境配合,否则无法执行相关解锁命令,下面是platform_tool环境的官方下载地址

镜像:https://developers.google.com/android/images(大约15M)

接下来是一个开发工具,解锁完了,可以删除,挺大的。

链接如下:https://dl.google.com/androied/repository/platform-tools_r28.0.0-windows.zip (压缩包近1G)

  安装完成以后,可以使用adb和fastboot命令了,和检测java环境的方式一样,打开一个CMD。命令行里输入CD C:/****,根据所安装目录自行修改。

  2、手机端的部分

  在手机中找到设置-关于手机-对版本号点击7次开启“开发者模式”,进入开发者模式,然后打开USB 调试,打开“启用OEM解锁”,通过USB数据线链接到电脑,并且确认电脑已经和手机连接完美,驱动正常。

 

  3、解锁过程

  解锁过程比较简单,相对于前面一大堆的准备环境,解锁只需要几行代码

  ①adb reboot bootloader 启动到bootloader界面

  ②fastboot devices 返回设备信息,如果这一步什么也没有或者报错,就说明手机没有连接好,请检查电脑上驱动是不是安装好了。

  ③fastboot flashing unlock 解锁命令

  ④fastboot reboot 解锁完成,重启

  4、解锁完成重启,Google当年的亲儿子nexus 6p然后在屏幕下方正中央出现一个打开的锁,正常等启动开机就可以了。解锁过程到此正式结束。

以上日志没有提示FAILED (remote: device is locked. Cannot flash images),说明:刷写镜像成功。

结论:不解锁bootloader,即使已打开OEM解锁,是无法刷写镜像。反过来说,即:解锁bootloader,打开OEM解锁,就可以刷写镜像。

二.手机重启进入

参考网址:http://www.romzj.com/course/3603.htm 。在此,非常感谢刷机精灵提供的参考,按照这个做下去没有问题。

一下是大致的安装过程,大约十分钟结束:
target reported max download size of 494927872 bytes
sending 'bootloader' (3526 KB)...
OKAY [  0.141s]
writing 'bootloader'...
OKAY [  0.208s]
finished. total time: 0.353s
rebooting into bootloader...
OKAY [  0.121s]
finished. total time: 0.124s
target reported max download size of 494927872 bytes
sending 'radio' (48472 KB)...
OKAY [  1.861s]
writing 'radio'...
OKAY [  2.164s]
finished. total time: 4.031s
rebooting into bootloader...
OKAY [  0.014s]
finished. total time: 0.017s
target reported max download size of 494927872 bytes
archive does not contain 'boot.sig'
archive does not contain 'recovery.sig'
archive does not contain 'system.sig'
archive does not contain 'vendor.sig'
Creating filesystem with parameters:
  
Created filesystem with 11/6400 inodes and 1438/25600 blocks
--------------------------------------------
Bootloader Version...:
Baseband Version.....: 
Serial Number........: ******************
--------------------------------------------
checking product...
OKAY [  0.020s]
checking version-bootloader...
OKAY [  0.017s]
checking version-baseband...
OKAY [  0.018s]
sending 'boot' (12045 KB)...
OKAY [  0.510s]
writing 'boot'...
OKAY [  0.181s]
sending 'recovery' (12981 KB)...
OKAY [  0.545s]
writing 'recovery'...
OKAY [  0.193s]
erasing 'system'...
OKAY [  0.373s]
sending sparse 'system' (463062 KB)...
OKAY [ 25.671s]
writing 'system'...
OKAY [  6.460s]
sending sparse 'system' (466961 KB)...
OKAY [ 26.421s]
writing 'system'...
OKAY [  6.784s]
sending sparse 'system' (479225 KB)...
OKAY [ 27.106s]
writing 'system'...
OKAY [  7.462s]
sending sparse 'system' (481631 KB)...
OKAY [ 26.200s]
…………………………………………

…………………………………………
rebooting...

finished. total time: 160.297s
Press any key to exit...