jadx-gui、jadx-0.6.1(行号与smali对齐)、用于打开apk查看源码;
jd-gui:用于打开jar包查看源码;
dex2jar: apk/dex->class
d2j-dex2jar crackme02.apk
dj-java-decompiler:用于将class->java
baksmali: 将dex->smali
baksmali.jar -o out crackme02.apk
smali: 将smali->dex
smali.jar out -o classes.dex
apktool :反编译资源文件
apktool d crackme02.apk
apktool :回编apk文件
apktool.bat b crackme02 -o new_crackme02.apk
查看activity对象属性 :
adb shell dumpsys activity >E:/log/activity.log
查看当前actitiy时搜索 rusumed=true
查看window对象属性 :
adb shell dumpsys window >E:/log/window.log
查看camera对象属性:
adb shell dumpsys media.camera >E:/log/camera.log
查看package对象属性:
adb shell dumpsys package >E:/log/package.log
查看SurfaceFlinger 对象属性:
adb shell dumpsys SurfaceFlinger >E:/log/sf.log
查看指定包名应用的数据库存储信息,还可以看到近期执行过的SQL语句信息:
adb shell dumpsys dbinfo >E:/log/dbinfo.log
dump所有信息
adb shell dumpsys >E:/log/dumpsys.log
查看属性sdk、branch、release、device、model、name等:
adb shell getprop >E:/log/prop.log
抓strace,某个时间段某个线程创建文件夹的log
adb root
adb ps -A | grep baidu 查看线程ID
adb shell “strace -f -t -p 线程ID 2>&1” > strace.txt
修改设备信息
1、Flash all images but Replace preloader_XX.bin with preloader_XX_SBOOT_DIS.bin
2、Settings -> System -> Advanced -> Developer options -> OEM unlocking
3、remount
4、replace prop
修改屏幕分辨率
adb shell wm size 1080x1920
adb shell wm density 420
NE log查看
adb pull data/aee_exp/db.06.NE
用D:\gat\tools\findowner_v4.bat打开
若怀疑跟Timing有关,可以尝试只开一核CPU测试
adb shell “echo 0 1 > /proc/ppm/policy/ut_fix_core_num”
build:
source build/envsetup.sh && lunch full_k6853tv1_64-userdebug && make -j32
cas-take alps-mp-q0.mp2-V1.1
cd alps-mp-q0_mp2-V1_1
souce build/envsetup.sh
lunch full_k6853v1_64-userdebug
mosesq make -j2
adb实时查看log信息
adb shell “logcat | grep -i SurfaceView”
查看当前log
adb logcat -v threadtime -b all > temp.log