Langsung saja download bahan nya terlebih dahulu:- APKTOOL V4.4 (RECOMMENDED) disini http://www.4shared.com/zip/TbYq6URKce/apktool.html
- 920 Text Editor (Play Store / Goggle)
- Root Explorer (Play Store / Google)
PERSIAPAN APKTOOL
- Download apktool di atas (Recommended v4.4)
- Extract Apktool.zip
- Pindahkan folder apktool ke sdcard (/sdcard/di sini)
- Install Apktool4.4.1.apk yang ada di dalam folder apktool hasil Extract-kan tadi
- Setelah itu buka aplikasi Apktool nya
- Masuk settings dengan cara klik tombol di sebelah kiri, tepat di sebelah tombol home
- Pilih apktool version lalu pilih 1.5.2
- Pilih aapt version lalu pilih sesuai OS yang di pakai
- Setelah itu masuk folder sdcard lalu tap and hold folder apktool dan pilih set as apktool data folder
PROSES INSTALASI FRAMEWORK
- Salin framework-res.apk dan mediatek-res.apk serta oppo-res.apk / htc-res.apk (Jika Ada) yang ada di /system/framework KE /sdcard/apktool/disini
- 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 folder apktool
- Buka apktool
- Masuk ke /sdcard/apktool
- 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 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
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
- Masuk ke sdcard/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
- 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
- Buka Root Explorer
- Masuk ke sdcard/apktool
- Tekan lama file SystemUI_src.apk lalu pilih Extract All
- Tunggu hingga selesai
- Lalu klik SystemUI.apk > View
- Ceklis AndroidManifest.xml dan META-INF
- Lalu extract
- Setelah selesai masuk ke folder speedsoftware/extracted
- Pindahkan AndroidManifest.xml dan META-INF ke dalam folder SystemUI_src
- Selanjutnya tekan lama folder SystemUI_src, pilih zip this folder
- Tunggu sampai kelar
- Jika sudah selesai keluar dari folder extracted dan masuk folder archives
- Disitu ada file SystemUI_src.zip
- Rename menjadi SystemUI.apk
- Lalu push ke system/app
- Jangan lupa utuk ubah permissions nya jadi rw-r--r--
- Selesai
CONTOH BEBERAPA LOG + SOLUSI
1. Error Parameter
../../../storage/sdcard1/twitUI/SystemtwitUIkonsep_src/smali/com/nemesis/ownerinfo/Carrier$1.smali[24,4] Error for input '.parameter': Invalid directive ../../../storage/sdcard1/twitUI/SystemtwitUIkonsep_src/smali/com/nemesis/ownerinfo/Carrier$1.smali[40,4] Error for input '.parameter': Invalid directive ../../../storage/sdcard1/twitUI/SystemtwitUIkonsep_src/smali/com/nemesis/ownerinfo/Carrier$1.smali[41,4] Error for input '.parameter': Invalid directive
Solusi
- Ganti versi apktool ke v.1.5.2 lalu lakukan Decompile ULANG
2. Error Could Not Decode attr (karena belum install framework yang dibutuhkan)
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080676
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080676
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x01080676
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010808da
....... dst
Solusi- lakukan import as framework semua (.apk) di folder framework (misal; framework-res.apk - mediatek-res.apk - miui-res.apk - lidroid-res.apk , twframework-res.apk - dll)
3. Error values yang berderet sampe lag ga bisa di scroll (akibat kesalahan format image)
I: Building resources... libpng error: Not a PNG file ERROR: Failure processing PNG image /storage/sdcard1/-asu/SystemUI_src/res/drawable-mdpi/battery_low_battery.png /storage/sdcard1/-asu/SystemUI_src/res/values/public.xml:40: error: Public entry identifier 0x7f020079 entry index is larger than available symbols (index 121, total symbols 83). /storage/sdcard1/-asu/SystemUI_src/res/values/public.xml:40: error: Public symbol drawable/APKTOOL_DUMMY_0079 declared here is not defined. /storage/sdcard1/-asu/SystemUI_src/res/values/public.xml:44: error: Public entry identifier 0x7f0200c3 entry index is larger than available symbols (index 195, total symbols 83). /storage/sdcard1/-asu/SystemUI_src/res/values/public.xml:44: error: Public symbol drawable/APKTOOL_DUMMY_00c3 declared here is not defined. /storage/sdcard1/-asu/SystemUI_src/res/values/public.xml:45: error: Public entry identifier 0x7f0200c7 entry index is larger than available symbols (index 199, total symbols 83). /storage/sdcard1/-asu/SystemUI_src/res/values/public.xml:45: error: Public symbol drawable/APKTOOL_DUMMY_00c7 declared here is not defined.
Solusi- cek ulang format gambar penyebabnya
- jangan asal menambahkan 9.png di belakang gambar yang bukan image 9.png
- jangan asal merubah nama gambar (misal aslinya blaemblaem.jpg direname jadi blaemblaem.png)
4. Error data apktool No such file or directory
/data/data/per.pqy.apktool/mydata/apktool.sh: line 4: /data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armel/jre/bin/java: No such file or directory
Solusi
- baca lagi PROSES PERSIAPAN APKTOOL di atas
Thank's To:
39 komentar
komentarsh: /data/data/per.pqy.apktool/mydata/apktool.sh: No such file or directory
ReplyItu om suka begitu mulu :'( mengapah itu? Folder baru juga gak muncul waktu decompile all nubie nih um . Solusi dong ..
W: Could not find sources
ReplyI: Building resources...
invalid resource directory name: /storage/extSdCard/apktool/framework-res_src/res/drawable-ldrtl-hdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL5267081876671873902.tmp, -x, -0, arsc, -S, /storage/extSdCard/apktool/framework-res_src/res, -M, /storage/extSdCard/apktool/framework-res_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL5267081876671873902.tmp, -x, -0, arsc, -S, /storage/extSdCard/apktool/framework-res_src/res, -M, /storage/extSdCard/apktool/framework-res_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL5267081876671873902.tmp, -x, -0, arsc, -S, /storage/extSdCard/apktool/framework-res_src/res, -M, /storage/extSdCard/apktool/framework-res_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
ini gimana solusinya?
Numpang jawab. Itu yg di copy ke sdcard nya BUKAN folder Apktool nya langsung. Jika path nya seperti ini SDCARD/Apktool 4.3_armel/Apktool/..... maka ini salah.
ReplyHarusnya. SDCARD/APKTOOL/.....
Simpan framework-res.apk dan Mediatek-res.apk (jika ada) ke folder tersebut. Sdcard/Apktool/"disini"
Saya juga mengalami error tsb krna salah dalam menyimpan folder.
Semoga membantu
Pas beres recompile. Berhasil. Tapi ada notif seperti ini.
ReplyI: Smaling...
I: Building resources...
aapt: warning: string 'data_connection_datach_timeout_error_msg' has no default translation in /sdcard/apktool/SystemUI_src/res; found: in
I: Building apk file...
Itu berhasil
ReplyPunya saya pas recompile malah gk muncul sistem ui src apk
Replynya om, ada solusi gk
mau dcrc framework-rc.apk
Replyrcnya sih mulus, tp gagal rc
apktool versi 1.5.2
aapt 4.2
tolong solusinya gan
pesannya gini
.
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL7612415484799728547.tmp, -x, -S, /sdcard/apktool/framework-res_src/res, -M, /sdcard/apktool/framework-res_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL7612415484799728547.tmp, -x, -S, /sdcard/apktool/framework-res_src/res, -M, /sdcard/apktool/framework-res_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL7612415484799728547.tmp, -x, -S, /sdcard/apktool/framework-res_src/res, -M, /sdcard/apktool/framework-res_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Caused by: java.io.IOException: Cannot run program "/data/data/per.pqy.apktool/lix/aapt4.2": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
... 10 more
Klo begini bagaimana gan
ReplyException in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:199)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:83)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:197)
... 3 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:214)
at java.util.zip.ZipFile.(ZipFile.java:144)
at java.util.zip.ZipFile.(ZipFile.java:158)
at brut.directory.ZipRODirectory.(ZipRODirectory.java:53)
... 6 more
Klo sperti ini gmna gan
ReplyException in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:199)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:83)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.directory.ZipRODirectory.(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.ApkDecoder.hasSources(ApkDecoder.java:197)
... 3 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:214)
at java.util.zip.ZipFile.(ZipFile.java:144)
at java.util.zip.ZipFile.(ZipFile.java:158)
at brut.directory.ZipRODirectory.(ZipRODirectory.java:53)
... 6 more
Kalo seperti iini gmana mas .maaf masih newbi .
ReplyI: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: drawable-hdpi/btn_check_on_disable_holo_dark.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/emo_im_surprised.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_menu_call.png
S: Could not decode file, replacing by FALSE value: anim/dock_top_exit.xml
S: Could not decode file, replacing by FALSE value: drawable-hdpi/btn_media_player.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/ic_media_route_disabled_holo_light.png
S: Could not decode file, replacing by FALSE value: drawable/btn_keyboard_key_ics.xml
S: Could not decode file, replacing by FALSE value: layout/power_dialog.xml
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_signal_3_cdma.png
S: Could not decode file, replacing by FALSE value: layout/keyguard_account_view.xml
S: Could not decode file, replacing by FALSE value: drawable-hdpi/perm_group_status_bar.png
S: Could not decode file, replacing by FALSE value: layout/webview_select_singlechoice.xml
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_menu_play_clip.png
S: Could not decode file, replacing by FALSE value: layout/media_route_list_item_collapse_group.xml
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/scrollbar_handle_holo_light.9.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_menu_preferences.png
S: Could not decode file, replacing by FALSE value: drawable/list_selector_background_transition_light.xml
S: Could not decode file, replacing by FALSE value: drawable-hdpi/ab_stacked_solid_dark_holo.9.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/list_selector_background_focused.9.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/spinner_ab_focused_holo_dark.9.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/btn_plus_default.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_menu_stop.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_popup_sync_6.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_signal_evdo_4.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_audio_bt.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/spinner_white_76.png
S: Could not decode file, replacing by FALSE value: drawable-land-hdpi/jog_tab_right_confirm_green.png
S: Could not decode file, replacing by FALSE value: raw-ja/nodomain.html
S: Could not decode file, replacing by FALSE value: drawable/ic_btn_round_more.xml
S: Could not decode file, replacing by FALSE value: drawable-hdpi/emo_im_foot_in_mouth.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/tab_unselected.9.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/stat_notify_voicemail.png
S: Could not decode file, replacing by FALSE value: layout/number_picker.xml
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/dropdown_ic_arrow_normal_holo_light.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/presence_busy.png
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/ic_lockscreen_soundon_focused.png
S: Could not decode file, replacing by FALSE value: drawable/numberpicker_input.xml
S: Could not decode file, replacing by FALSE value: drawable-xhdpi/fastscroll_thumb_pressed_holo.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_data_bluetooth.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/textfield_multiline_disabled_holo_light.9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/sym_keyboard_feedback_return.png
S: Could not decode file, replacing by FALSE value:
Maksudnya???
ReplyPake busybox nggak?
ReplyThank you very much , I can recompile the system ui now
ReplyCANNOT LINK EXECUTABLE: could not load library "libpthread.so.0" needed by "/data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armel/jre/bin/java"; caused by could not load library "libc.so.6" needed by "libpthread.so.0"; caused by unknown reloc type 19 @ 0xb6dae7bc (1196)
ReplyIni kenapa gan
Reply/sdcard/apktool/SystemUI_src/res/values/public.xml:291: error: Error declaring public resource drawable/notification_template_icon_bg for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:384: error: Error declaring public resource drawable/oppo_stat_notify_sdcard for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:386: error: Error declaring public resource drawable/oppo_stat_notify_sdcard_usb for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:472: error: Error declaring public resource drawable/oppo_stat_sys_warning for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:681: error: Error declaring public resource id/icon for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:687: error: Error declaring public resource id/status_bar_latest_event_content for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:688: error: Error declaring public resource id/notification_sim_indicator for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:689: error: Error declaring public resource id/notification_sim_indicator_bg for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:690: error: Error declaring public resource id/notification_sim_info for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:691: error: Error declaring public resource id/notification_sim_indicator_text for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:692: error: Error declaring public resource id/title for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:693: error: Error declaring public resource id/time for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:694: error: Error declaring public resource id/chronometer for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:695: error: Error declaring public resource id/text2 for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:696: error: Error declaring public resource id/line3 for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:697: error: Error declaring public resource id/text for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:698: error: Error declaring public resource id/info for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:699: error: Error declaring public resource id/right_icon for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:701: error: Error declaring public resource id/banner for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:702: error: Error declaring public resource id/message for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:786: error: Error declaring public resource id/checkbox for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:845: error: Error declaring public resource id/seekbar for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:890: error: Error declaring public resource id/label for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:918: error: Error declaring public resource id/hard_keyboard_section for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:920: error: Error declaring public resource id/hard_keyboard_switch for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:1227: error: Error declaring public resource string/unknown for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:1230: error: Error declaring public resource string/statusbar_key_swmgr for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:1231: error: Error declaring public resource string/statusbar_key_wlan for included package oppo /sdcard/apktool/SystemUI_src/res/values/public.xml:12
I: Smaling...
ReplyI: Building resources...
/storage/emulated/legacy/apktool/Mms_src/res/layout/conversation_list_screen.xml:4: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/background').
/storage/emulated/legacy/apktool/Mms_src/res/layout/conversation_list_screen.xml:14: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/halaman2').
/storage/emulated/legacy/apktool/Mms_src/res/layout/conversation_list_screen.xml:17: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/halaman3').
/storage/emulated/legacy/apktool/Mms_src/res/layout/conversation_list_screen.xml:20: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/halaman4').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL3667462739833776143.tmp, -I, ?/apktool/framework/1.apk, -S, /storage/emulated/legacy/apktool/Mms_src/res, -M, /storage/emulated/legacy/apktool/Mms_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL3667462739833776143.tmp, -I, ?/apktool/framework/1.apk, -S, /storage/emulated/legacy/apktool/Mms_src/res, -M, /storage/emulated/legacy/apktool/Mms_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.2, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL3667462739833776143.tmp, -I, ?/apktool/framework/1.apk, -S, /storage/emulated/legacy/apktool/Mms_src/res, -M, /storage/emulated/legacy/apktool/Mms_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Yg ini gmna solusinya gaи...?
I: Baksmaling...
ReplyI: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Kalau yg ini kenapa ya?
W: Could not find sources
ReplyI: Building resources...
invalid resource directory name: /sdcard/apktool/framework-res_src/res/drawable-ldrtl-mdpi
invalid resource directory name: /sdcard/apktool/framework-res_src/res/drawable-ldrtl-hdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL2911696307508022658.tmp, -x, -0, arsc, -S, /sdcard/apktool/framework-res_src/res, -M, /sdcard/apktool/framework-res_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL2911696307508022658.tmp, -x, -0, arsc, -S, /sdcard/apktool/framework-res_src/res, -M, /sdcard/apktool/framework-res_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL2911696307508022658.tmp, -x, -0, arsc, -S, /sdcard/apktool/framework-res_src/res, -M, /sdcard/apktool/framework-res_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Bales ya gan
I: Smaling...
ReplyI: Building resources...
invalid resource directory name: /storage/sdcard0/APKTOOL/SystemUI_src/res/drawable-ldrtl-hdpi
invalid resource directory name: /storage/sdcard0/APKTOOL/SystemUI_src/res/drawable-ldrtl-sw600dp-hdpi
invalid resource directory name: /storage/sdcard0/APKTOOL/SystemUI_src/res/layout-ldrtl
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, /data/data/per.pqy.apktool/APKTOOL2676910643958207483.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -I, ?/apktool/framework/2.apk, -S, /storage/sdcard0/APKTOOL/SystemUI_src/res, -M, /storage/sdcard0/APKTOOL/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, /data/data/per.pqy.apktool/APKTOOL2676910643958207483.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -I, ?/apktool/framework/2.apk, -S, /storage/sdcard0/APKTOOL/SystemUI_src/res, -M, /storage/sdcard0/APKTOOL/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, /data/data/per.pqy.apktool/APKTOOL2676910643958207483.tmp, -0, arsc, -I, ?/apktool/framework/1.apk, -I, ?/apktool/framework/2.apk, -S, /storage/sdcard0/APKTOOL/SystemUI_src/res, -M, /storage/sdcard0/APKTOOL/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
bagai mana ya
CANNOT LINK EXECUTABLE: could not load library "libpthread.so.0" needed by "/data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armel/jre/bin/java"; caused by could not load library "libc.so.6" needed by "libpthread.so.0"; caused by unknown reloc type 19 @ 0xb6e037bc (1196)
Replypiye solusinya bos????
CANNOT LINK EXECUTABLE: could not load library "libpthread.so.0" needed by "/data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armel/jre/bin/java"; caused by could not load library "libc.so.6" needed by "libpthread.so.0"; caused by unknown reloc type 19 @ 0xb6e917bc (1196)
Replyitu knapa ya gan?
W: Could not find sources
ReplyException in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt4.4, p, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.4-G530HDCU1AOF1, -F, /data/data/per.pqy.apktool/APKTOOL1707833935226423406.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/extSdCard/Apk/Frw/SystemUI_ESS_src/res, -M, /storage/extSdCard/Apk/Frw/SystemUI_ESS_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
at brut.androlib.Androlib.buildResources(Androlib.java:396)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt4.4, p, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.4-G530HDCU1AOF1, -F, /data/data/per.pqy.apktool/APKTOOL1707833935226423406.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/extSdCard/Apk/Frw/SystemUI_ESS_src/res, -M, /storage/extSdCard/Apk/Frw/SystemUI_ESS_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:444)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt4.4, p, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.4-G530HDCU1AOF1, -F, /data/data/per.pqy.apktool/APKTOOL1707833935226423406.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -S, /storage/extSdCard/Apk/Frw/SystemUI_ESS_src/res, -M, /storage/extSdCard/Apk/Frw/SystemUI_ESS_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
... 6 more
Caused by: java.io.IOException: Cannot run program "/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt4.4": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
at java.lang.Runtime.exec(Runtime.java:617)
at java.lang.Runtime.exec(Runtime.java:485)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:186)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
... 10 more
I: Using Apktool 2.0.0-07ea41-SNAPSHOT
I: Building resources...
Knapa y gan....?
ReplyW: Could not find sources
I: Building resources...
invalid resource directory name: /sdcard/edit/framework-res_src/res/drawable-ldrtl-hdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL922106207189540295.tmp, -x, -0, arsc, -S, /sdcard/edit/framework-res_src/res, -M, /sdcard/edit/framework-res_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL922106207189540295.tmp, -x, -0, arsc, -S, /sdcard/edit/framework-res_src/res, -M, /sdcard/edit/framework-res_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL922106207189540295.tmp, -x, -0, arsc, -S, /sdcard/edit/framework-res_src/res, -M, /sdcard/edit/framework-res_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
knp gan.....
/data/data/per.pqy.apktool/mydata/apktool.sh: line 6: /data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armhf/jre/bin/java: Permission denied
ReplyKenapa ya gan gitu terus??
W: Could not find sources
ReplyI: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL907005335877723142.tmp, -x, -0, arsc, -S, /storage/extSdCard/Dcrc/framework-res_src/res, -M, /storage/extSdCard/Dcrc/framework-res_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL907005335877723142.tmp, -x, -0, arsc, -S, /storage/extSdCard/Dcrc/framework-res_src/res, -M, /storage/extSdCard/Dcrc/framework-res_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, /data/data/per.pqy.apktool/APKTOOL907005335877723142.tmp, -x, -0, arsc, -S, /storage/extSdCard/Dcrc/framework-res_src/res, -M, /storage/extSdCard/Dcrc/framework-res_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Caused by: java.io.IOException: Cannot run program "/data/data/per.pqy.apktool/lix/aapt": error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
at java.lang.Runtime.exec(Runtime.java:615)
at java.lang.Runtime.exec(Runtime.java:483)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.(UNIXProcess.java:135)
at java.lang.ProcessImpl.start(ProcessImpl.java:130)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
... 10 more
ko pnya q kya gni pas import as framework
Reply/data/data/per.pqy.apktool/mydata/apktool.sh: line 6: /data/data/per.pqy.apktool/lix/jvm/java-7-openjdk-armel/jre/bin/java: Permission denied
I: Loading resource table...
ReplyException in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Ane error pas recompilenya nih gan?
ReplyW: invalid resource directory name: /sdcard/apktool/MiuiSystemUI_src/res values-godzillaui-v8
W: invalid resource directory name: /sdcard/apktool/MiuiSystemUI_src/res values-mcc9998-mnc9999
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL7860956538314620681.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -I, /data/data/per.pqy.apktool/16.apk, -I, /data/data/per.pqy.apktool/17.apk, -S, /sdcard/apktool/MiuiSystemUI_src/res, -M, /sdcard/apktool/MiuiSystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:473)
at brut.androlib.Androlib.buildResources(Androlib.java:407)
at brut.androlib.Androlib.build(Androlib.java:306)
at brut.androlib.Androlib.build(Androlib.java:263)
at brut.apktool.Main.cmdBuild(Main.java:224)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL7860956538314620681.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -I, /data/data/per.pqy.apktool/16.apk, -I, /data/data/per.pqy.apktool/17.apk, -S, /sdcard/apktool/MiuiSystemUI_src/res, -M, /sdcard/apktool/MiuiSystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:439)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:459)
... 5 more
Caused by: brut.common.BrutException: could not exec (exit code = 1): [/data/data/per.pqy.apktool/apktool/openjdk/bin/aaptnew, p, --min-sdk-version, 23, --target-sdk-version, 23, --version-code, 23, --version-name, 6.0.1, -F, /data/data/per.pqy.apktool/APKTOOL7860956538314620681.tmp, -0, arsc, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -I, /data/data/per.pqy.apktool/16.apk, -I, /data/data/per.pqy.apktool/17.apk, -S, /sdcard/apktool/MiuiSystemUI_src/res, -M, /sdcard/apktool/MiuiSystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:95)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:433)
... 6 more
I: Using Apktool 2.2.0
I: Smaling smali folder into classes.dex...
I: Building resources...
Kira" ada yg bisa bantu?
Udah nemu belom itu kenapa, ane sama kaya gitu
ReplyI: Baksmaling...
ReplyI: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:491)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:74)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:66)
at brut.androlib.Androlib.getResTable(Androlib.java:50)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:189)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 8 more
Kalau itu gimana bang
Ane mau decompile
Tapi yang muncul folder cuma smali doang
Yang lain ga ada
Minta solusinya bang
Mantap gan... Masalah ane di error occured. Tp blom coba. Tdur dlu ngntuk
ReplyW: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
ReplyW: Could not decode attr value, using undecoded value instead: ns=somc, name=drawable, value=0x01080306
W: Could not decode attr value, using undecoded value instead: ns=somc, name=color, value=0x02060002
W: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=somc, name=extendedLookAndFeel, value=0xffffffff
Can't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
I: Using Apktool 2.2.2-Black on 1.apk
I: Loading resource table...
I: Decoding Shared Library (com.sonyericsson.uxp), pkgId: 2
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Tolong bantu ane gan
ReplyW: Could not find sources
CANNOT LINK EXECUTABLE: cannot locate symbol "_ZNK7android8ResTable17getConfigurationsEPNS_6VectorINS_15ResTable_configEEE" referenced by "/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.0"...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.0, p, --min-sdk-version, 21, --target-sdk-version, 21, --rename-manifest-package, com.android.systemui, --version-name, 2.1_222c2de_151030, -F, /data/data/per.pqy.apktool/APKTOOL9018875674176922828.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -I, /data/data/per.pqy.apktool/12.apk, -S, /storage/sdcard0/apktool/SystemUI_src/res, -M, /storage/sdcard0/apktool/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:458)
at brut.androlib.Androlib.buildResources(Androlib.java:396)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:256)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.0, p, --min-sdk-version, 21, --target-sdk-version, 21, --rename-manifest-package, com.android.systemui, --version-name, 2.1_222c2de_151030, -F, /data/data/per.pqy.apktool/APKTOOL9018875674176922828.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -I, /data/data/per.pqy.apktool/12.apk, -S, /storage/sdcard0/apktool/SystemUI_src/res, -M, /storage/sdcard0/apktool/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:419)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:444)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/apktool/openjdk/bin/aapt5.0, p, --min-sdk-version, 21, --target-sdk-version, 21, --rename-manifest-package, com.android.systemui, --version-name, 2.1_222c2de_151030, -F, /data/data/per.pqy.apktool/APKTOOL9018875674176922828.tmp, -0, arsc, -I, /data/data/per.pqy.apktool/1.apk, -I, /data/data/per.pqy.apktool/12.apk, -S, /storage/sdcard0/apktool/SystemUI_src/res, -M, /storage/sdcard0/apktool/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:413)
... 6 more
I: Using Apktool 2.0.0-07ea41-SNAPSHOT
I: Building resources...
I: Using Apktool 2.1.1
ReplyI: Smaling smali folder into classes.dex...
I: Building resources...
W: warning: string 'fb_login_protocol_scheme' has no default translation.
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout\ab_qa_webview.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/ll_ab_qa_back').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout\ab_qa_webview.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/tv_ab_qa_title').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout\ab_qa_webview.xml:9: error: Error: No resource found that matches the given name (at 'layout_toRightOf' with value '@id/ll_ab_qa_back').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout\ab_qa_webview.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/ll_ab_qa_close').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout\ab_qa_webview.xml:16: error: Error: No resource found that matches the given name (at 'id' with value '@id/ab__webview_progress').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout-v19\ab_qa_webview.xml:6: error: Error: No resource found that matches the given name (at 'id' with value '@id/ll_ab_qa_back').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout-v19\ab_qa_webview.xml:9: error: Error: No resource found that matches the given name (at 'id' with value '@id/tv_ab_qa_title').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout-v19\ab_qa_webview.xml:9: error: Error: No resource found that matches the given name (at 'layout_toRightOf' with value '@id/ll_ab_qa_back').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout-v19\ab_qa_webview.xml:10: error: Error: No resource found that matches the given name (at 'id' with value '@id/ll_ab_qa_close').
W:
W: C:\Users\Rahmatullah\Downloads\New folder\Mobile Legends Bang Bang_v1.2.97.3042_apkpure.com_2_src\res\layout-v19\ab_qa_webview.xml:16: error: Error: No resource found that matches the given name (at 'id' with value '@id/ab__webview_progress').
Exception in thread "main" brut.androlib.AndrolibException: Could not decode arsc file
Replyat brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:102)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
Setelah proses decompile all di folder src tidak ada file apktool.yml, sudah beberapa kali diulang decompile pun hasilnya tetap sama. Apa yang salah?
ReplySemoga harimu menyenangkan :)
Kalau ingin bertanya, tanya kan di fb https://www.facebook.com/robby.akbar.75