当前位置: 代码迷 >> 综合 >> 常见操作汇总
  详细解决方案

常见操作汇总

热度:49   发布时间:2024-02-21 17:09:39.0

搜索命令:

busybox find . -name *gralloc*

替换Launcher:
 su root
adb remount或adb shell mount -o remount rw /system或(mount -o remount rw /system/)
rm /system/app/file.txt
adb push D:\SystemUI.apk /system/priv-app/SystemUI
adb shell 
sync同步文件
exit退回根目录     


查看正在运行的程序包名:
adb -s 172.22.217.111:5555 shell "dumpsys window | grep mCurrentFocus"

 

 

编译命令:
单个编译
arm-none-linux-gnueabi-gcc -o helloworld helloworld.c -static

整体:
source build/envsetup.sh 
lunch 13 (v600为10)
cd 到对应目录
mm -B
查找对应的目录拷贝出来,push到data目录下

 


一、串口升级
将装有固件的U盘插入USB,然后如下操作
1、上电按enter进入mboot
2、然后按custar


二、特殊命令
重新挂在分区:mount -o rw,remount /system
adb root adb remount

串口下操作
1、切换账户:su root
2、mount -o rw,

  相关解决方案