JesusFreke/smali

baksmali cant find dex files

Opened this issue · 1 comments

trying to deodex a waydroid android 11 rom to enable sinature spoofing and microg

comand run "java -jar baksmali.jar x framework/oat/x86_64/services.odex -d framework/x86_64 -d framework"

error "Exception in thread "main" java.lang.RuntimeException: "framework/oat/x86_64/services.odex" has no dex files"

jdk version "openjdk version "1.8.0_352"
OpenJDK Runtime Environment (build 1.8.0_352-b08)
OpenJDK 64-Bit Server VM (build 25.352-b08, mixed mode)"

.odex files are not .apk or .jar or .zip, they are ELF files.
(Ok, at least on ARM devices. They are some kind of executable on x86.)
As such they have no dex files inside them.
You probably want to simply use /system/framework/services.jar