刷機包sparse img -> ext4 img線刷包里面找到system.img/vendor.img
$ file system.imgsystem.img: Android sparse image, version: 1.0, Total of 849920 4096-byte output blocks in 2454 input chunks.
使用Android源碼編譯得到out/host/linux-x86/bin/simg2img即可將Android的sparse image轉(zhuǎn)為ext4的image
dat -> ext4 imgsystem.new.dat.br轉(zhuǎn)system.new.dat
brotli –decompress system.new.dat.br –output=system.new.dat
system.new.dat system.patch.dat system.transfer.list轉(zhuǎn)ext4 img
https://github.com/xpirt/sdat2img
payload dumphttps://gist.github.com/ius/42bd02a5df2226633a342ab7a9c60f15odex/oat/vdexAndroid <=4.4 odex to dex
https://github.com/JesusFreke/smali/wiki/DeodexInstructions
https://bitbucket.org/JesusFreke/smali/downloads/
Android <=7 oat to dex
https://github.com/testwhat/SmaliEx/releases
https://github.com/testwhat/SmaliEx
https://github.com/JesusFreke/smali/wiki/DeodexInstructions
https://bitbucket.org/JesusFreke/smali/downloads/
Android 8 vdex to dex
https://github.com/anestisb/vdexExtractor
Android 9 vdex->cdex->dex
https://github.com/anestisb/vdexExtractor
https://github.com/anestisb/vdexExtractor/issues/23
tools/deodex/run.sh -h
dexdex轉(zhuǎn)smaliapktool工具 針對 apk包括dex和資源
https://github.com/iBotPeaches/Apktool
https://ibotpeaches.github.io/Apktool/
baksmali、smali 針對dex
https://github.com/JesusFreke/smali
https://bitbucket.org/JesusFreke/smali/downloads/
dex轉(zhuǎn)jar/java
googe enjarify工具dex轉(zhuǎn)jar
https://github.com/google/enjarify
dex2jar
https://github.com/pxb1988/dex2jar
https://github.com/pxb1988/dex2jar/releases
結(jié)合jd-gui
https://github.com/java-decompiler/jd-gui
二合一工具