1. remount
2. push file to device
3. run command
P.S can run file on init
mount -oremount,rw /dev/block/mtdblock3 /system
1. remount
2. push file to device
3. run command
P.S can run file on init
mount -oremount,rw /dev/block/mtdblock3 /system
The recent I usually add wim file,but command is long
So create a bat file , this bat file can increase wim file create time
P.S need PE3(for win7)
@Echo off
mode con:cols=80 lines=30
The recent a customer asked me a question
A: if I format you system or install linux , can you recovery to original ?
B : YES
Because the relationship between these words, I creat a shell script , it ok(for win7)
P.S need winPE
The Story is fun
今天B遇到了個問題
A將Dialog隱藏在背景Runing(A沒跟B說這件事)
於是B想要將Dialog顯示出來
所以就找到了以下指令(好險B有猜出來)
1. check kernel have ACM support
# USB Device Class drivers
CONFIG_USB_ACM=y
vim mediatek/config/mt6577/autoconfig/kconfig/platform
add CONFIG_USB_ACM=y
How to show message on jni code
1. on Android.mk add
./frameworks/base/services/jni/Android.mk(順序重要)
include $(CLEAR_VARS)
LOCAL_LDLIBS:=-llog
adb pull /proc/config.gz .
//Wifi
adb shell
cd /data/data/com.android.providers.settings/databases
sqlite3 settings.db
select * from secure where name="wifi_on";
簡單的做法是
adb remount
但是這做法權限還是有限,因此可以透過下面指令來達到remount
mount -oremount,rw /dev/block/mtdblock3 /
添加dialog並且於20秒內關閉
主要透過windows OnTimer機制來關閉
/////////////////////////////////////////////////////////////////////////////
//Po add 0809 dialog add
class Po_Dialog : public CDialogSK