1.cd 到工作目录
2.source build/envsetup.sh
3.lunch,选择4(?)
4.make -j8 otatools
5.build/tools/device/mkvendor.sh sharp sh7218t ./recovery.img
6.lunch full_sh7218t-eng
7.build/tools/device/makerecoveries.sh full_sh7218t-eng
2.source build/envsetup.sh
3.lunch,选择4(?)
4.make -j8 otatools
5.build/tools/device/mkvendor.sh sharp sh7218t ./recovery.img
6.lunch full_sh7218t-eng
7.build/tools/device/makerecoveries.sh full_sh7218t-eng
错误处理:
查看手机上的/proc/mtd,并根据该文件上的size修改<work folder>/device/sharp/sh7218t/BoardConfig.mk中的各个PARTITION_SIZE
unpackbootimg not found. Is your android build environment set up and have the host tools been built?
使用命令(需要是绝对路径)
export PATH=$PATH:<work folder>/out/host/linux-x86/bin/