当前位置:   article > 正文

framework反编译_安卓7反编译framwork

安卓7反编译framwork

不是odex

java -jar baksmali-1.2.6.jar -o classout\ classes.dex
java -jar smali.jar classout\ -o classes.dex

是odex

java -jar baksmali-1.4.2.jar -a 17 -x framework\services.odex -d framework (默认out输入目录)

java -jar smali-1.4.2.jar out\ -o classes.dex

zip.exe services_hacked.jar ./classes.dex

echo $BOOTCLASSPATH,除去services.jar

========================

/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/apache-xml.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-op.jar:/system/framework/secondary-framework.jar:/system/framework/CustomProperties.jar:/system/framework/hwframework.jar
======================
./dexopt-wrapper ./services_hacked.jar ./services.odex  /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/apache-xml.jar:/system/framework/mediatek-common.jar:/system/framework/mediatek-framework.jar:/system/framework/mediatek-op.jar:/system/framework/secondary-framework.jar:/system/framework/CustomProperties.jar:/system/framework/hwframework.jar

busybox dd if=/system/framework/services.odex of=/data/local/tmp/services.odex bs=1 count=20 skip=52 seek=52 conv=notrunc

dd if=/data/local/tmp/services.odex of=/system/framework/services.odex

本文内容由网友自发贡献,转载请注明出处:【wpsshop博客】
推荐阅读
  

闽ICP备14008679号