1. 程式人生 > >車機應用程式安裝

車機應用程式安裝


1.USB安裝

mount –o remount rw /system
cd /system/app
rm –rf my1Apk.apk
cp  /udisk/single/my2Apk.pak /system/app
chmod 777 my2Apk.apk
sync
reboot

2.ADB安裝


2.1.Wifi安裝

  工具 : 路由器


  • 第一步 
Android,tera:
setprop service.adb.tcp.port 5555
stop adbd
start adbd

 

  • 第二步
cmd:
E:
cd E:\android-sdk\platform-tools                                        
adb connect 192.168.1.112:5555
adb push E:\my_location\myApk.apk  /sdcard/app/

 

  • 第三步
Android,tera:
mount -o remount rw /system
cd /system/app
rm -rf myApk.apk
  • 第四步
Android,tera:
setprop service.adb.tcp.port 5555
stop adbd
start adbd
mount -o remount rw /system
cd /system/app
rm -rf myApk.apk
cp /sdcard/app/myApk.apk /system/app/
chmod 777 XXXX.apk
sync
reboot

2.2 直接安裝

注:部分車機沒有創口,Apk不支援Adb直接安裝


adb shell
exit
adb remount
rm -rf /system/app/myApk.apk
exit
adb push myApk.apk /system/app/
adb reboot