Android 10刷GSI
前提条件
1.查看手机处理器:adb shell “getprop ro.product.cpu.abi“
(1)如果返回值为armeabi-v7a , 则手机32位处理器,需下载32位GSI文件
(2)如果返回值为arm64-v8a , 则手机64位处理器,需下载64位GSI文件(带64的)
2.查看patch日期
根据设备上的安全补丁时间选择对应的system.img
一、CTS-ON-GSI
Enable USB debugging on your device: Settings > Developer options > USB debugging
Enable OEM unlocking on your device: Settings > Developer options > OEM unlocking
1.adb reboot bootloader
2.fastboot flashing unlock(Press the volume up key and select yes to unlock)
3.fastboot reboot fastboot
4.fastboot flash system
5.fastboot -w
6.fastboot flashing lock(Press the volume up key and select yes to lock)
7.fastboot reboot
二、VTS
Enable USB debugging on your device: Settings > Developer options > USB debugging
Enable OEM unlocking on your device: Settings > Developer options > OEM unlocking
1.adb reboot bootloader
2.fastboot flashing unlock(Press the volume up key and select yes to unlock)
3.fastboot flash boot boot-debug.img
4.fastboot reboot fastboot
5.fastboot flash system
6.fastboot -w
7.fastboot reboot