youpk 代码地址 https://github.com/youlor/unpacker
adb reboot bootloader
执行 sh flash-all.sh
adb shell dumpsys window | grep mCurrentFocus
获取包名 com.ninemax.ncsearchnew
adb shell "echo com.ninemax.ncsearchnew >> /data/local/tmp/unpacker.config"
adb pull /data/data/com.ninemax.ncsearchnew/unpacker
将脱下来的文件拉取到本地,dex位未修复的dex文件, method目录下的bin文件为函数体数据
java -jar dexfixer.jar ./unpacker ./out
, 在out目录下会生产修复后的dex文件,参考:
https://blog.csdn.net/cui_yonghua/article/details/126694457