分类目录归档:Android

Android刷机手记

前阵子打算把手里的垃圾平板刷个RemixOS来玩玩,稍微研究了一下fastboot刷机的方法,在这里做一下记录。
首先想办法进入fastboot模式,详情咨询各Android设备的提供商,装好驱动,连接Android设备与电脑。

fastboot oem write_osip_header
fastboot flash /tmp/partition.tbl partition.tbl
fastboot oem partition /installer/partition.tbl
fastboot erase factory
fastboot erase cache
fastboot erase system
fastboot erase config
fastboot erase logs
fastboot erase misc
fastboot erase data
fastboot oem stop_partitioning
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash fastboot droidboot.img
fastboot oem start_partitioning
fastboot flash system system.img
fastboot continue

只有第一句不知道是干啥的,其他的命令都很明显了,其实这部分是我从一个脚本和其他的刷机log里面总结出来的,仔细研究了一下,把命令补全和修正了。