sdm660代码编译和刷机

1 全编译 1.source build/envsetup.sh 2.lunch S88661AA1-userdebug 3.make update-api 4.make -j16    编译问题: Communication error with Jack server (58), try 'jack-diagnose' 修改如下: (1) \.jack-server\config.properties jack.server.service.port=8086 jack.server.admin.port=8087 .jack-settings: SERVER_PORT_SERVICE=8086 SERVER_PORT_ADMIN=8087 (2) jack-admin JACK_SERVER_COMMAND="java -XX:MaxJavaStackTraceDepth=-1 -Djava.io.tmpdir=$TMPDIR $JACK_SERVER_VM_ARGUMENTS -Xmx4096m -cp $LAUNCHER_JAR $LAUNCHER_NAME" -Xmx4096m -Xmx8000m   2 部分编译 1.source build/envsetup.sh; 2.lunch S88661AA1-userdebug 3.cd S88661AA1_code/android/hardware/qcom/camera mm 或者mmm hardware/qcom/camera out/target/product/S88661AA1/vendor/lib/hw路径下,查看生成的camera.sdm660.so   3 sdm660 fastboot刷机 1. 把相关.elf .img文件拷贝从S86611AA1下拷贝到当前目录下 2. adb reboot bootloader    3. 执行flash脚本        flash.bat:
echo Start flashing......
fastboot flash abl abl.elf
fastboot flash system system.img
fastboot flash boot boot.img
fastboot flash vendor vendor.img
fastboot flash userdata userdata.img
fastboot flash persist persist.img
echo Press "enter" to exit
pause

 

4. 手机选择start开机 5. 烧机的rom并不包含改动的LOG,重新push camera.sdm660.so测试 6. reboot 7. 有打印信息,测试ok
上一篇:你一定不清楚;什么是Android 架构?


下一篇:【JS】使用变量作为object的key-方法汇总