Android 编译,烧机的一些方法
编译AP:
$ source build/envsetup.sh
$ lunch xxx
$ make fullbuild -j8
or
$ make libril-qc-qmi-1 -j8 (编译qcril)
$ make qcrilhook -j8 (编译qcrilOemHook)
编译BP:
$ source build/envsetup.sh
$ lunch <product>-userdebug
- Please find the available products in config/products/, list of products will be shown as file with .mk extension.
$ make modem -j8
清空编译环境:
repo forall -c "git reset --hard ; git clean -fdx"
Flash framework内容:
adb root
adb remount
adb push framework/* /system/framework
adb reboot
adb remount
adb push framework/* /system/framework
adb reboot
Flash BP:
$ adb root
$ adb remount
$ adb shell mount -o rw,remount /firmware
$ adb push image /firmware/image
$ adb shell sync
$ adb reboot