logo

Wednesday 12 February 2014

[TUTOR] COMPILE DECOMPILE VIA ANDROID

ASSALAMUALAIKUM

TOOL :
1. APKTOOL
2. 920 TEXT EDITOR ( ADA DI DALEM FILE APKTOOL_BY ME.ZIP )
3. ZARCHIVER ( DOWNLOAD DI PLAYSTORE )

link apktool : http://www.4shared.com/zip/RozL115J/apktool40_by_me.html

1. Download APKTOOL FOR ANDROID dan Zarchiver
2. Extract isi dari apktool ke sdcard
3. Install Apktool seperti install aplikasi biasa letak apktool.apk ada di folder sdcard/apktool
4. Install 920 text editor ada di dalem paket apktool
5. Copy framework-res.apk dan SystemUI.apk dari rom yg sedang di pakai ke folder apktool tadi
6. Sorot framework-res.apk lalu pilih "import as framework"
7. Sorot SystemUI.apk lalu pilih "import as framework"
8. Lalu pilih yang mau decompile...

Contoh decompile SystemUI.apk

1. Klik SystemUI.apk yg tadi ada di folder apktool
2. Pilih "Decompile All"
3. Setelah selesai decompile Nanti akan muncul folder baru "SystemUI_src"
4. Edit bagian System UI itu.. kalau mau edit xml, pake aplikasi 920 text editor tadi yg sudah di install
5. Setelah selesai edit daleman Apk itu..
6. Klik folder "SystemUI_src" yg sudah di decompile
7. Pilih Recompile
8. Tunggu prosesnya sampai selesai
9. Buka hasil file yg sudah brhasil di recompile namanya jadi "SystemUI_src.apk"
10. Masukkan folder META.INF sama AndroidManifest.xml dari SystemUI.apk bawaan rom ke SystemUI_src.apk yg sudah berhasil di recompile pakai aplikasi zarchiver
10. Rename jadi SystemUI.apk
11. Sebelum di push ke system, ingat... Set Permission dulu rw-r--r--
12. Selesai

F.Q.A Trouble shoot

Q : Gan, kalo tool zarchiver diganti pake tool yg lain bisa ngga?
A : Bisa, Asal support buat buka file .zip tapi recommend sih zarchiver

Q : Gan, Kok pas proses decompile eror yah? Tapi anehnya Udah ada folder baru dengan nama yg saya decompile?
A : Udah import as framework blum gan framework-res.apk_nya? emang gtu gan, tpi ga semua berhasil di extract sama apktool, ntar nyoba di recompile, pasti eror, jadi jangan sia siain wktu gan.. lebih baik di ulang.. gratis kok...

Q : Gan, kok pas proses recompile ada eror yah? padahal udah capek edit.. huaaa #banting tembok
A : Lihat erornya di laporan apktool tersebut, selidiki file apa yg eror di laporan tersebut, trs edit lagi.. recompile lagi

Q : Gan, itu fungsi Mindah folder Meta.inf sama file androidmanifest.xml buat apa? kan di pilihan ada masukin add meta.inf trus di dalem file yg sudah berhasil di recompil kan ada file androidmanifest.xml?
A : fungsinya buat sign apk, memang ada dipilihan, tapi pas saya coba push ke system, eror force close pas setelah reboot... entah knapa,, mngkin ff berpengaruh..

Q : Gan kok aku pake apktool for hp agak lemot prosesnya ya?
A : Emang gtu gan, klo lagi pas proses recompile dan decompile, kalo lemot tunggu aja,, paling ga nyampe 3x puasa 3x lebaran kok...

Q : Gan saya kok Botlop trs yah hasil edit dari framework? padahal ga da notif eror?
A : FF gan, edit ulang

Q : Yes gan berhasil, makasih makasih #koprol
A : Aseekk.. donatnya dtunggu gan... wkwkwk

CMIIW nubie baru belajar..
maaf kalau ada salah kata..
Wassalamualaikum

No comments:

Post a Comment