Tutorial Cara Decompile Recompile dengan Apktool

ASSALAMUALAIKUM WR WB
- PROJECT HOME / Rumahnya Apktool di sini Download page di sini
- Download Apktool v4.1 (Recommended) di sini
.
.
- Download apktool di atas (Recommended v4.1)
- Extract Apktool.zip
- Masuk ke dalam hasil extract tsb
- Pindahkan folder apktool ke sdcard (/sdcard/di sini)
- Buat satu folder di sdcard internal* dengan nama terserah sebagai folder khusus operasi, contoh -proj
- Buka apktool
- Masuk folder /sdcard/
- tap dan tahan folder apktool
- Pilih "set as apktool data folder"
*sdcard internal memiliki kecepatan read & write lebih cepat daripada sdcard external sehingga tiap proses yang dilakukan akan lebih cepat
.
.
PROSES INSTALASI FRAMEWORK
- Buka apktool
- Masuk folder /system/framework
- Tap framework-res.apk
- Pilih import as framework
- Lakukan hal yang sama (jika ada) pada mediatek-res.apk / oppo-res.apk / htc-res.apk dsb
.
.
PROSES DECOMPILE (Contoh SystemUI.apk)
- Masukan SystemUI.apk ke dalam folder -proj (sesuai contoh folder project diatas)
- Buka Apktool
- Masuk ke folder -proj
- Tap SystemUI.apk
- pilih decompile all
- Tunggu proses selesai
- Hasil proses Decompile akan muncul folder baru SytemUI_src
- Perhatikan di dalam folder tsb jika terdapat file apktool.yml berarti proses Decompile Berhasil!, Silahkan lakukan proses editing yang dikehendaki.
- Jika tidak ada file tersebut (apktool.yml) berarti proses Decompile Gagal! Harap di ulang proses Decompilenya
- Jika muncul output/log error dan warning dari apktool pilih copy to clipboard lalu paste di comment bawah kita diskusikan bersama
.
.
PROSES RECOMPILE
Setelah melewati proses Decompile lalu melakukan editing/oprek langkah selanjutkan adalah proses Recompile
- Pastikan telah melakukan editing dengan benar serta men-Save file-file yang di edit
- Buka apktool
- Tap folder SystemUI_src
- Pilih recompile
- Tunggu hingga proses selesai
- Perhatikan pada output/log jika akhirannya terdapat tulisan building apk file APAPUN warning diatasnya disertai muncul file baru SystemUI_src.apk maka proses Recompile Berhasil!
- Jika pada output/log apktool di akhirannya tidak terdapat tulisan building apk file dan tidak muncul file baru SystemUI_src.apk maka proses Recompile tsb Gagal!
- Jika Gagal pada jendela output/lognya muncul warning/error pilih copy to clipboard lalu paste di comment bawah kita diskusikan bersama
.
.
PROSES SIGN
Perlu diperhatikan terdapat 2 perbedaan metode Sign.
- Pilih sign apk langsung dari menu apktool (Khusus untuk base Rom Full Signed)
- Sign manual via rootex "extract&copas" serta "via META~INF apktool"
Disini kita membahas cara sign Manual "via META~INF apktool" karena kebanyakan user belum melakukan full signed Rom dengan signature key pihak ke-tiga (dsixda/apkmultitool/apktool/dsb)
.
Cara Sign Manual "via META~INF apktool"
- Tap file SystemUI.apk
- Pilih extract META~INF
- Tunggu proses dan outputnya selesai disertai munculnya folder baru META~INF
- Tap file hasil Recompile yaitu SystemUI_src.apk
- Pilih add META~INF to apk
- Tunggu prosesnya selesai dan terdapat tulisan di akhiran lognya Everithing is Ok
.
.
Selamat seluruh proses telah berhasil dilalui, silahkan rename kembali SystemUI_src.apk menjadi SystemUI.apk dan siap di push kembali ke system.
.
.
Sign Manual via Rootex (Jika Sign diatas GAGAL)
- Buka Rootex
- Extract SystemUI.apk
- Extract SystemUI_src.apk
- copy META~INF dan AndroidManifest.xml dari hasil extract SystemUI
- paste ke dalam folder hasil extract SystemUI_src
- tap dan
tahan folder SystemUI_src lalu pilih zip this folder
- go to zip
- rename SystemUI_src.zip menjadi SystemUI.apk
- Selesai!

Berikut cara decomppile recompile dengan apktool


Source : Andromax C Indonesia
Thanks
  • Allah SWT
  • Mediatek Android Art And Dev
  • Andromax C Indonesia


WASSALAMUALAIKUM WR WB

0 Response to "Tutorial Cara Decompile Recompile dengan Apktool"

Posting Komentar