motorola z2 force 刷lineageos 17 教程

2020-06-07

motorola z2 force (代号nash) 刷lineageos 17 教程

首先建议破解双卡 以便支持VoLTE

准备文件
twrp recovery
https://f.holoto.workers.dev/firmware/twrp/nash/twrp-3.3.1-0-R1-nash.img
双卡sda1文件
https://gd1.holoto.workers.dev/dasd/retcn-sda1.img?rootId=0AB_p_hmYDDmFUk9PVA
z2 force 国行版本(z 2018)固件
https://f.holoto.workers.dev/firmware/moto/nash_retcn/official/RETCN/XT1789-05_NASH_RETCN_8.0.0_OCX27.138-29_subsidy-DEFAULT_regulatory-DEFAULT_CFC.xml.zip
手机连接电脑
手机启动到twrp recovery

可以 bootloader 临时启动 (或者你有其他方案启动twrp也行)

fastboot boot twrp-3.3.1-0-R1-nash.img

sda1双卡文件发送到 手机目录

adb push retcn-sda1.img /sdcard

电脑使用shell 或者cmd adb 连接手机

adb shell
dd if=/sdcard/retcn-sda1.img of=/dev/block/sda1

adb 重启到bootloader

adb reboot bootloader

刷国行系统文件和基带 还有oem 以破解信号和 volte



解压国行系统包
fastboot oem fb_mode_set



fastboot flash bluetooth_a BTFM.bin
fastboot flash bluetooth_b BTFM.bin


fastboot flash dsp_a adspso.bin
fastboot flash dsp_b adspso.bin

fastboot flash modem_a NON-HLOS.bin
fastboot flash modem_b NON-HLOS.bin


fastboot flash fsg_b fsg.mbn
fastboot flash fsg_a fsg.mbn



fastboot flash boot_a boot.img
fastboot flash boot_b boot.img

fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_b system_b.img_sparsechunk.0
fastboot flash system_b system_b.img_sparsechunk.1

fastboot flash oem_a oem.img_sparsechunk.0
fastboot flash oem_a oem.img_sparsechunk.1
fastboot flash oem_a oem.img_sparsechunk.2
fastboot flash oem_b oem.img_sparsechunk.0
fastboot flash oem_b oem.img_sparsechunk.1
fastboot flash oem_b oem.img_sparsechunk.2




fastboot oem fb_mode_clear

同时必须清除基带缓存数据 和用户数据

fastboot erase cache
fastboot erase userdata
fastboot erase modemst1
fastboot erase modemst2

fastboot erase carrier
fastboot erase ddr

fastboot -w

重启进入系统 勾选volte  激活volte 语音 
然后重启回 bootloader

混刷其他oem版本9.0 和安卓10内部测试版本

直接官方固件8.0刷入 安卓10(los17)  不如 混刷9.0 10.0 bug更少 系统更稳定
准备文件
AMXLA oem版本 9.0 - XT1789-05_NASH_AMXLA_9.0_PPX29.159-24_subsidy-CLALASL_regulatory-DEFAULT_CFC.xml.zip
https://f.holoto.workers.dev/firmware/moto/nash/official/AMXLA/XT1789-05_NASH_AMXLA_9.0_PPX29.159-24_subsidy-CLALASL_regulatory-DEFAULT_CFC.xml.zip

安卓10 2月份的内部测试版本
转载自 https://forum.xda-developers.com/z2-force/development/rom-pixel-experience-moto-z2-force-t4059523
安卓10系统文件-PixelExperience_nash-10.0-20200228-0849-UNOFFICIAL.zip
 https://drive.google.com/file/d/1-E6FZlxbeVrOKWCs0weiYvhGNNQiMSxl/view?usp=sharing
补丁- Magisk-v20.4.zip 
https://gd1.holoto.workers.dev/dasd/Magisk-v20.4.zip?rootId=0AB_p_hmYDDmFUk9PVA
https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip
补丁- priv-app-permissiver.zip
https://gd1.holoto.workers.dev/dasd/priv-app-permissiver.zip?rootId=0AB_p_hmYDDmFUk9PVA
 https://drive.google.com/file/d/1-FAqNS-g5fn9jNsa8TICGwxS1YKHoj-S/view?usp=drivesdk
重启到 bootloader

解压  XT1789-05_NASH_AMXLA_9.0_PPX29.159-24_subsidy-CLALASL_regulatory-DEFAULT_CFC.xml.zip

不能刷入NON-HLOS.bin  bootloader.img oem.img 否则会死机 网络基带被锁死
刷入系统文件

fastboot oem fb_mode_set






fastboot flash system_a system.img_sparsechunk.0
fastboot flash system_a system.img_sparsechunk.1
fastboot flash system_a system.img_sparsechunk.2
fastboot flash system_a system.img_sparsechunk.3
fastboot flash system_a system.img_sparsechunk.4
fastboot flash system_a system.img_sparsechunk.5
fastboot flash system_a system.img_sparsechunk.6

fastboot flash system_b system_other.img


fastboot erase cache
fastboot erase userdata




fastboot -w


fastboot oem fb_mode_clear

重启到twrp

fastboot boot twrp-3.3.1-0-R1-nash.img

AMXLA的boot.img 无法通过 nash的 bootloader签名验证 必须通过twrp强刷

adb push boot.img /sdcard
dd if=/sdcard/boot.img of=/dev/block/sde17
dd if=/sdcard/boot.img of=/dev/block/sdf17

然后重启即可
进入9.0信号后 观察手机卡信号是否正常 
然后准备刷入安卓10 内部测试版本
重启 进入 bootloader
bootloader 启动 twrp

fastboot boot twrp-3.3.1-0-R1-nash.img

进入twrp  开始卡刷 PixelExperience_nash-10.0-20200228-0849-UNOFFICIAL.zip 然后双清
重启 系统一直会卡着不进入桌面
重启启动twrp
刷入Magisk-v20.4.zip   priv-app-permissiver.zip 然后重启就能进入桌面了
混刷完成后 就万事大吉了

下载los17 twrp刷入即可

z2force los17下载连接
https://download.lineageos.org/nash
https://mirrors.tuna.tsinghua.edu.cn/lineage-rom/full/nash/
https://mirrors.dotsrc.org/lineageos/full/nash/

进入twrp 卡刷 重启就好