小米3手机刷CM13的rom,fastboot刷入recovery后,使用adb sideload命令刷入rom,但是每次手机上都是报错
E: failed to mount /cache (No such device)
尝试重刷recovery也不行,从报错上看应该是系统的/cache分区出了问题,用recovery双清也不行,在一篇帖子中发现了fastboot -w的命令:
-w erase userdata and cache (and format if supported by partition type)
也会做双清的操作,同时会重建分区
wiping userdata...
Creating filesystem with parameter
Size: 13610496000
Block size: 4096
Blocks per group: 32768
Inodes per group: 8160
Inode size: 256
Journal blocks: 32768
Label:
Blocks: 3322875
Block groups: 102
Reserved block group size: 815
执行完后再做adb sideload,就不再报failed to mount /cache的错误了。