How to convert a Apktool 1.5.2 compatible smali file to Apktool 2.0.0 compatible smali file and vice versa
Gurpreet Singh Mediatek Android Art and Dev Reborn
June 28 at 11:41pm · Edited ·
#Guide
In this guide , I will tell "How to convert a Apktool 1.5.2 compatible smali file to Apktool 2.0.0 compatible smali file and vice versa "
.
============================
====================
|| -- REQUIREMENTS -- ||
====================
.
1. Apktool 2.0.0 & 1.5.2
.
2. Any apk that can be decompiled and recompiled by both Apktool versions ( I have given link of one below , use any rom framework to compile it )
.
Apk Link
https://drive.google.com/file/d/0B2dfFRqw6DVcQTZBME5xTlVKVms/view?usp=sharing
.
You can use any apk in the place of this apk but make sure that it can be decompiled and recompiled by both Apktool versions
.
============================
=================
|| -- PROCEDURE -- ||
=================
.
1. Suppose if you are having smali files that are not compatible with Apktool 2.0.0 ( which means they are compatible with Apktool 1.5.2 ).
2. Decompile the Apk ( That can be Decompiled and Recompiled by both Apktool versions ) using the Apktool 1.5.2
3. Now add your smali files in this Decompiled apk that you want to convert. Now after adding your files , Recompile and Sign your apk.
4. Now Decompile this new apk using the Apktool 2.0.0.
5. Congrats , your smali files are now get converted into Apktool 2.0.0 compatible files.
6. Collect your files from this Decompiled apk and use then where you want to use them.
.
NOTE - Just replaced the Apktool versions with each other in the guide's procedure for converting Apktool 2.0.0 compatible to Apktool 1.5.2 compatible. Rest all is same
.
============================
=======================
|| -- SPECIAL THANKS TO -- ||
=======================
.
XDA
.
============================
OGBatteryMod.apk
drive.google.com
Download
Comments
Post a Comment