海信a7cc 解锁root安装google play
警告!此操作会抹掉所有数据,务必提前备份。
参考redit
必备工具
adb工具 platform-toolshttps://developer.android.com/tools/releases/platform-tools
spd_dump 解锁工具https://github.com/TomKing062/CVE-2022-38694_unlock_bootloader/releases
展锐驱动https://androiddatahost.com/dsa6h
Magiskhttps://github.com/topjohnwu/Magisk/releases
LiteGappshttps://sourceforge.net/projects/litegapps/files/litegapps/arm64/29/core/
这是谷歌全家桶的安装模块,通过magisk安装,所以请选择masksu前置开头的版本,并且经过测试basic版本会卡重启,core版本可以。
可选工具
avbtoolhttps://github.com/zhuzhizhan/avbtool
pythonhttps://www.python.org/downloads/
流程
手机操作
1.打开开发者模式
2.打开解锁oem引导
3.打开usb调试
电脑操作
通过adb让手机进入烧录模式
将platform-tools解压后在右键在该文件夹打开终端,运行adb reboot autodloader
。手机变砖,成功进入烧录模式.
安装驱动
将下载下来的展锐驱动,解压安装对应版本。
解锁手机
拔掉手机
将spd解锁工具,解压后在右键在该文件夹打开终端,运行unlock.bat
插上手机一般就会自动开始,如果没有反应,请拔掉手机长按开机键+电源up+电源down 10秒左右,重新尝试。
刷入补丁签名好的boot.img
adb reboot fastboot
fastboot flash boot image-new.img
fastboot reboot
安装magisk模块
可选步骤
导出boot.img
在解锁工具包中使用spd_dump导出boot.img
./spd_dump fdl fdl1-dl.bin 0x5500 fdl uboot-mod.bin 0x9efffe00 exec read_part boot 0 35M boot.img reset
重新引导
./spd_dump fdl fdl1-dl.bin 0x5500 fdl uboot-mod.bin 0x9efffe00 exec write_part splloader u-boot-spl-16k-sign.bin reset
处理boot.img
手机安装magisk对boot.img进行补丁
使用avctool进行签名
具体请参考
python2 avbtool add_hash_footer --image image-new.img --partition_name boot --partition_size 36700160 --key rsa4096_boot.pem --algorithm SHA256_RSA4096 --salt 5F55215FD2302D021F850B55912ED48D176784678692DC012E054B1ECD0BE025