Smali to Dalvik OpCode

Helper script to translate parts of the smali code of an application to the corresponding Dalvik opcodes, leaving wildcards for the variable parts of the code (variables, parameters, etc.). The output is formatted to be easily transformed in a LuckyPatcher patch.

질문, 리뷰하거나, 이 스크립트를 신고하세요.
개발자
StephenP
일일 설치수
0
총 설치수
0
평점
0 0 0
버전
1.2.1
생성
2025-04-09
갱신
2025-04-17
크기
7.95KB
라이선스
없음
동작 사이트

Smali to Dalvik bytecode converter, to be used on Gábor Paller's Dalvik opcodes documentation.
The script adds an input field above the table, where you can put the original smali code that you want to patch. If you haven't tried it yet, I suggest you to use Apktool M to decompile Android apps.
When you click on the "CONVERT" button, you will get the Dalvik bytecode ready to be pasted in a txt file to be used with LuckyPatcher (check LuckyPatcher's in-app documentation for the details on the creation of a patch);
If you think this was useful, and you manage to make a working patch, please remember to submit it to LuckyPatcher developer's website so that it can be useful to all the users of LuckyPatcher.

F.A.Q:
-Why so many "??" wildcards in the output? This script does a very rough translation that only considers the instructions and their length, ignoring the variables used in these instructions. If the code that has to be patched is in a method that is often updated with every new version of the app, variables numbering may easily vary in each version, and it's frequently better to use only the sequence of instructions to make a reliable patch. Moreover, the bytes sequence of some instructions are quite obscure (see note 5 on Gábor Paller's page) and I'm too lazy to deal with that mess.

-Is there an application that does the same thing? I made an Android app with the same function. You can find it on Mobimart Italia (you need to be registered on the forum to see it)