¥1500 块的廉价 Mediatek 手机,刷机玩玩。
- 解锁 Bootloader
曾经是可以在 XiaoMe 社区申请的,要等 7x24 小时才能拿到解锁码(最新的 HyperOS 更惨,Android/Java 考试拿满分才能拿),还是 Pixel/Moto 好:
考虑到这台的 SoC 是个 Mediatek Dimensity 1100,存在漏洞,可以用大名鼎鼎的开源工具 MTKClient 解锁。图形化界面,点点就行。
-
进入 fastboot
本来以为是adb reboot fastboot
结果进的是fastboot
d
应该是adb reboot bootloader
-
下载 ROM
XDA 上收集了来自官方服务器的链接,下载 POCO X3 GT Global
- 刷入 ROM
tar xvf *.tgz
cd chopin*
./flash_all.sh
结果
product: chopin
crc: 1
Warning: skip copying crclist image avb footer (crclist partition size: 0, crclist image size: 441).
Sending 'crclist' (0 KB) OKAY [ 0.025s]
Writing 'crclist' OKAY [ 0.002s]
Finished. Total time: 0.031s
Warning: skip copying sparsecrclist image avb footer (sparsecrclist partition size: 0, sparsecrclist image size: 498).
Sending 'sparsecrclist' (0 KB) OKAY [ 0.025s]
Writing 'sparsecrclist' OKAY [ 0.003s]
Finished. Total time: 0.032s
Erasing 'boot_ab' (bootloader) Partition boot_a erase successfully
(bootloader) Partition boot_b erase successfully
OKAY [ 0.379s]
Finished. Total time: 0.380s
。。。。。。
Warning: skip copying audio_dsp_ab image avb footer (audio_dsp_ab partition size: 0, audio_dsp_ab image size: 3067040).
Sending 'audio_dsp_ab' (2995 KB) OKAY [ 0.102s]
Writing 'audio_dsp_ab' (bootloader) Partition audio_dsp_a flashed successfully
(bootloader) Partition audio_dsp_b flashed successfully
OKAY [ 0.034s]
Finished. Total time: 0.139s
terminate called after throwing an instance of 'std::out_of_range'
what(): basic_string::compare: __pos (which is 496) > this->size() (which is 0)
./flash_all.sh: line 44: 561354 Aborted fastboot $* flash super ${SCRIPT_PATH}/images/super.img
flash super error
刷一半停了,搜索发现是系统自带的 fastboot
软件包不行,需要下载官方发布的或者 Android Studio 里头的。
https://xdaforums.com/t/some-std-out_of_range-error-with-fastboot-on-linux.4626285/
export PATH=$HOME/Android/Sdk/platform-tools:$PATH
这下就完成了,10 个 G 的 ROM 刷了 7 分钟。