Quantcast
Channel: xda-developers - Galaxy Y Duos S6102 Android Development
Viewing all articles
Browse latest Browse all 112

[Full][Procedure] How To Decompile Recompile apk and How to Setup Apktool

$
0
0
Here i tells you_ How to use apktool & Multitool

Step 1: Necessay files (Download From XDA-Developers.com)

Step 2: How to enter commands for .apk Files

Step 3: How to setup apktool

Step 4: Themeing & Modding




--> Step 1- /Java (Install java first)
/Apktool
OR
/Multi Tool (Download attachment with multitool name as visualbasic(VisualBasicPowerPacksSetup)_without this file it not work)
/.netFramework v4.5 or Higher (For Multitool)
/7zip (Extracting .apk and other archieve or extention)
/Notepad++(used to read .xml files in decompiled apk)



--> Step 2- 1/ For systemui.apk

/commands


cd..
cd..
cd android/apktool
/apktool if framework-res.apk
/apktool if systemui.apk
/apktool d systemui.apk (d- for Decompiling apk)

/Themeing (Dont messup Here and there without any reason or you get uncompiled apk)

/apktool b systemui systemui-new.apk (b- For Re-Compiling apk)


Sign your new apk in order to working.

after compiling apk your new apk looks like / systemui-new.apk

Now Decompile It with 7zip & also place original apk of the current rom in desktop into a folder(decompile it also)

/Take two files from original Decompiled apk / 1.META INF 2.Android Mainfest.xml

/Add these two files into extracted /systemui-new.apk/Recompile it with 7zip/Now you use your new apk

---------------------------> Done


2/ For Framework-res.apk
/commands

cd..
cd..
cd android/apktool
/apktool if framework-res.apk
/apktool if Twframework-res.apk
/apktool d framework-res.apk (d- for Decompiling apk)

/Themeing (Dont messup Here and there without any reason or you get uncompiled apk)

/apktool b framework-res framework-res-new.apk (b- For Re-Compiling apk)


Sign your new apk in order to working.

after compiling apk your new apk looks like / framework-res-new.apk

Now Decompile It with 7zip & also place original apk of the current rom in desktop into a folder(decompile it also)

/Take two files from original Decompiled apk / 1.META INF 2.Android Mainfest.xml

/Add these two files into extracted /framework-res-new.apk/Recompile it with 7zip/Now you use your new apk

---------------------------> Done

Note : if this command not work in order to recompile your framework/only this line /apktool b framework-res framework-res-new.apk

than use new command /apktool d framework-res.apk framework1 (d- for Decompiling apk)
/apktool b framework-res.apk framework1 (b- For Re-Compiling apk)


others / settings.apk (recompile,decompile like systemui.apk)

cd..
cd..
cd android/apktool
/apktool if framework-res.apk
/apktool if Twframework-res.apk
/apktool d settings.apk (d- for Decompiling apk)

/Themeing (Dont messup Here and there without any reason or you get uncompiled apk)

/apktool b settings (b- For Re-Compiling apk)


Sign your new apk in order to working.

For checking compiled settings.apk/ dist/settings.apk

after compiling apk your new apk looks like / build/apk/here

Now Decompile It with 7zip & also place original apk of the current rom in desktop into a folder(decompile it also)

/Take two files from original Decompiled apk / 1.META INF 2.Android Mainfest.xml

/Add these two files into extracted /settings.apk(check in build folder)/Recompile it with 7zip/Now you use your new apk

---------------------------> Done





--> Step 3- A)Setuping Apktool

/only apktool not multitool (both are different)

open your laptop/desktop/ Drive c: make folder named/ android/apktool (inside android folder make apktool folder)

locate where you save apktool/unpack it with winrar or 7zip and copy whole files/paste it into/

c:/android/apktool(paste here)

Now Add three files of your ROM/Systemyui.apk , Framework-res.apk , Twframework-res.apk

after this/ just open apktool folder of c: drive where you add files in small window

You see window button in taskbar /click on it/search/cmd/ when you see / hit enter

Type commands <--------------------------------------------------------------------------------------

cd..
cd..
cd android/apktool (this command locate your apktool folder in c:drive)
/apktool if framework-res.apk (add 1.apk >c:/user/hp/apktool/ 1.apk
/apktool if systemui.apk (add 127.apk >c:/user/hp/apktool/ 127.apk
/apktool d systemui.apk (Decompile your apk>see decompiled apk in / c:/android/apktool
/apktool b systemui.apk (Recompile your apk)

--> Done

--> Step - B)Setuping MultiTool(Also type of apktool - Easy to use

Unpack your multitool.zip
Looks like AndroidMultitool_3.0_win7/AndroidMultitool
cut AndroidMultitool / directly paste it to
c:/AndroidMultitool(inside folder and where to add files)
/Compiled_apk
/Compiled_jar
/Decompiled_apk
/Decompiled_jar
/Files
/Log
/Program_Files
/Signed_apk
/Android Multitool.exe

Add these files in /Files folder/Systemyui.apk , Framework-res.apk , Twframework-res.apk

Now Run Android MultiTool.exe

I think you know much very well after run Android Multitool.exe /how to decompile , recompile etc.

Save my time.......

--> Done



--> Step 4 - After Decompile theme your self or what ever.

--> Done





If you have any problem about themeing.




-----------------------------------> kartik verma@FireIon <-----------------------------

[ i Dont Know The Developers Name..! wHO Develop APKTOOL AND MULTITOOL ]

Credits:-

1.Developer Of Apktool
2.Developer Of Multitool

Viewing all articles
Browse latest Browse all 112

Trending Articles