Some important code list
1.adb shell mkdir /data/gise-ii
Adb push gise-ii/ /data/gise-ii
And the debug of HAL module ;
2.chsh -s /bin/bash
Chsh -s /bin/zsh
Change your shell
3.Grep
grep -r 'test_control_device_t' external/zpan
Grep -r ‘’ paths /files
Grep -rinc ‘’ . //ignor the upper
4.how to read ,.so
Readelf -a ***.so
-l
-h
Man readelf
5.log
ALOGW()
6.tar解压
Unzip filename.zip
7.how to install software
Sudo apt-get update //this means update the source
Sudo apt-get install *** //install soft
8.how to instead a string with another string/word
Change all string1 to string2
:1,$ s /str1/str2/g
9.compare the difference between two files by ‘diff’
Diff -b /usr/xu mine
0
Diff -by ...
10.Download source code from github by git
Git clone git://github...
The http change into git
11.ssh problems ,can not access in local host
12.Make files
https://linoxide.com/how-tos/linux-make-command-examples/
Make -c/d/f
C =change directory
D =print detail information of debugging
F=treat any file as makefiles
B=override all file,make all