-->

How to Decompile, Recompile & Sign apk

How to Decompile, Recompile & Sign apk - Hallo sobat Jogja Android Blog, Pada Artikel yang sobat baca kali ini dengan judul How to Decompile, Recompile & Sign apk, kami telah mempersiapkan artikel ini dengan baik untuk sobat baca dan ambil informasi didalamnya. Mudah-mudahan isi postingan How to Decompile, Recompile & Sign apk yang kami tulis ini dapat sobat Jogja Android Blog pahami. Baiklah, selamat membaca sambil menikmati kopi.

How to Decompile, Recompile & Sign apk

AndroidThis Guide/Tutorial for Windows user

Requirement :

1. Android SDK, you can download from here (this including Java)
2. Download Latest Apktool 4.2.2 (Including Sign & baksmali) from here (this Support All apk from GB/ICS/JB 4.1.2/4.2.2)
3. Notepad++ for your tool editing xml/smali you can download from here

If you already download/Installed Android sdk/java & Notepad++ you just download Latest Apktool 4.2.2


Download Latest Apktool, extract to :

Windows XP : C:\Document and setting\folder your computer name

Windows 7 : C:\user\folder your computer name

copy your apk & framework-res.apk/SemcGenericUxpRes.apk/framework 2 to same folder with apktool

Now you can start Editing apk

Example Editing Walkman

Open Command Prompt (CMD)

to decompile :

apktool if framework-res.apk apktool d semcmusic.apk ( can be whatever name you give to your apk )

Some Original system apps need installed framework 2 like on stock ROM (SemcGenericUxpRes.apk)

Example

apktool if framework-res.apk apktool if semcgenericuxpres.apk apktool d semcmusic.apk ( can be whatever name you give to your apk )

You can start editing as you want


to recompile :

apktool b -f -d semcmusic.apk ( can be whatever name you give to your apk )

If done, you can exit CMD

open original SemcMusic.apk using Winrar or 7zip go to folder semcmusic>dist, open semcmusic.apk using Winrar or 7zip

Drag & drop folder META-INF & Lib in original apk to Modified apk, set compression to store and click ok

to sign :

Move apk modified from folder semcmusic>dist to same folder with apktool

Open Command Prompt (CMD)

Example

java -jar SignApk.jar testkey.x509.pem testkey.pk8 semcmusic.apk semcmusic_signed.apk ( can be whatever name you give to your apk )

NOTE : Sign apk only for apps 3rd Party but you can use for system>app but not all apps

to zipalign :

Open Command Prompt (CMD)

Example

zipalign -fv 4 semcmusic_signed.apk semcmusic_signed_zipaligned.apk

How to Decompile/Recompile Jar/Editing classes.dex

Copy Jar file to same folder Apktool

Example

framework.jar

to decompile :

Open framework.jar using Winrar or 7zip and extract classes.dex

Drag & drop classes.dex to Quick-Baksmali (CMD)

if done, you can find folder classes-out

now you can start editing smali file using Notepad++

to recompile :

Drag & drop folder classes-out to Quick-Smali (CMD)

if done, you can find New file "new-classes.dex"

rename file to classes.dex

Open framework.jar using Winrar or 7zip

Drag & drop file classes.dex modified to framework.jar using Winrar or 7zip set compression to normal
Credits :

Thanks to Brut.all for apktool
Thanks to Yorzua for Sign apk tool/file
Thanks to Team Reject for Quick baksmali/smali file


NOTE : If you get error when compiling, don't blame me lolz it's your mistake when editing apk
 

Demikian Artikel dengan judul How to Decompile, Recompile & Sign apk

Mudah-mudahan bisa memberi manfaat untuk sobat Jogja Android Blog semua. Baiklah, sampai jumpa di postingan artikel lainnya.
Sobat Jogja Android Blog sekarang membaca artikel How to Decompile, Recompile & Sign apk dengan alamat link https://jogjandroidz.blogspot.com/2014/12/how-to-decompile-recompile-sign-apk.html

0 Response to "How to Decompile, Recompile & Sign apk"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Artikel Terkait