compile phone - XPERIA X8 Q&A, Help & Troubleshooting

please help me!
i can not compile phone.apk.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

...........................
ahh37 said:
please help me!
i can not compile phone.apk.
Click to expand...
Click to collapse
please help me........

.........................
ahh37 said:
please help me!
i can not compile phone.apk.
Click to expand...
Click to collapse
ahh37 said:
please help me........
Click to expand...
Click to collapse
its eror
Code:
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: /home/raafaell/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: layout/dialog_ussd_response.xml
S: Could not decode file, replacing by FALSE value: layout/skype_title_bar.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_keypad.xml
S: Could not decode file, replacing by FALSE value: xml/call_feature_setting_htc.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_merge_calls.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdmacallguard.xml
S: Could not decode file, replacing by FALSE value: drawable/command_bar_btn.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_contacts_sp.xml
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_add_country.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_button_small_selected.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_setting.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editnumbers.xml
S: Could not decode file, replacing by FALSE value: layout/change_sim_pin_screen.xml
S: Could not decode file, replacing by FALSE value: xml/network_setting_htc.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_contacts.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_add_call.xml
S: Could not decode file, replacing by FALSE value: color-finger/dialer_button_text.xml
W: Cant find 9patch chunk in file: "drawable-land-car-hdpi/phone_accumulator_bg.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/gsm_umts_additional_options.xml
S: Could not decode file, replacing by FALSE value: layout/dtmf_display.xml
S: Could not decode file, replacing by FALSE value: layout/sip_settings_ui.xml
S: Could not decode file, replacing by FALSE value: layout-hdpi/ongoing_call_notification_2.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_dial_button.xml
S: Could not decode file, replacing by FALSE value: drawable/common_radio_on_disable.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_hold.xml
S: Could not decode file, replacing by FALSE value: layout/call_card_popup.xml
S: Could not decode file, replacing by FALSE value: layout/enable_fdn_screen.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_end_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/fake_phone_activity.xml
S: Could not decode file, replacing by FALSE value: xml/cdma_call_options.xml
S: Could not decode file, replacing by FALSE value: xml/call_feature_setting.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_panel_navbar_button_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/gsm_umts_call_options.xml
S: Could not decode file, replacing by FALSE value: drawable/common_radiobutton.xml
S: Could not decode file, replacing by FALSE value: layout/edit_fdn_contact_screen.xml
S: Could not decode file, replacing by FALSE value: layout/get_pin2_screen.xml
S: Could not decode file, replacing by FALSE value: xml/data_usage_settings.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_show_keypad.xml
S: Could not decode file, replacing by FALSE value: xml/sip_advanced_edit.xml
S: Could not decode file, replacing by FALSE value: layout/add_cellbroadcast_dialog.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_end_call_handler.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdma_data_roam_guard.xml
S: Could not decode file, replacing by FALSE value: layout/ongoing_call_notification.xml
S: Could not decode file, replacing by FALSE value: layout/otacall_card.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_hide_keypad.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_mute.xml
S: Could not decode file, replacing by FALSE value: drawable/btn_contorl_panel.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_retry_hbpcd_handler.xml
S: Could not decode file, replacing by FALSE value: layout-finger/emergency_dialer.xml
S: Could not decode file, replacing by FALSE value: layout/htc_call_control_panel.xml
S: Could not decode file, replacing by FALSE value: xml/phone_preference.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editphonenumber.xml
S: Could not decode file, replacing by FALSE value: layout/delete_fdn_contact_screen.xml
S: Could not decode file, replacing by FALSE value: drawable-finger/notification_btn_endcall.xml
S: Could not decode file, replacing by FALSE value: layout/htc_multiple_and_conference.xml
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_edit_idd.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_button_acc_call_press.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_add_call.xml
S: Could not decode file, replacing by FALSE value: xml/sip_edit.xml
S: Could not decode file, replacing by FALSE value: layout/htc_lockscreen_reminder.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editpin.xml
S: Could not decode file, replacing by FALSE value: drawable/phone_button_acc_call.xml
S: Could not decode file, replacing by FALSE value: layout/cs_ps_switch.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_end_pressed.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/htc_worldphone_call_options.xml
S: Could not decode file, replacing by FALSE value: layout-finger/emergency_keypad.xml
S: Could not decode file, replacing by FALSE value: layout/manual_nai_setup_dialog.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_panel_navbar_button_selected.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: drawable/icon_contactcard.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_accumulator_bg.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/manual_carrier_select.xml
S: Could not decode file, replacing by FALSE value: xml/fdn_setting.xml
S: Could not decode file, replacing by FALSE value: layout/eri_text_layout.xml
S: Could not decode file, replacing by FALSE value: layout-hdpi/ongoing_call_notification_top.xml
S: Could not decode file, replacing by FALSE value: layout/dialog_ussd_response_att.xml
S: Could not decode file, replacing by FALSE value: color-finger/ota_title_color.xml
S: Could not decode file, replacing by FALSE value: xml/sip_setting.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_button_small_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout-finger/htc_dialer_keypad.xml
S: Could not decode file, replacing by FALSE value: layout/htc_lockscreen_person_info.xml
S: Could not decode file, replacing by FALSE value: layout/title_bar.xml
S: Could not decode file, replacing by FALSE value: drawable/common_button_small.xml
S: Could not decode file, replacing by FALSE value: layout/caller_in_conference.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_service.xml
S: Could not decode file, replacing by FALSE value: layout/call_card_person_info.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_roaming_options.xml
S: Could not decode file, replacing by FALSE value: drawable/btn_phone_endcall.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_b_button_on.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: drawable/btn_phone_defer.xml
S: Could not decode file, replacing by FALSE value: layout/adn_list.xml
S: Could not decode file, replacing by FALSE value: layout-hdpi/status_bar_latest_event_content_cs_cf.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_end_held_call.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_all_people.xml
S: Could not decode file, replacing by FALSE value: layout/htc_list_item_dropdown_w_des.xml
S: Could not decode file, replacing by FALSE value: anim/touch_lock_fade_in.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editmessage.xml
S: Could not decode file, replacing by FALSE value: xml/htc_call_barring_options.xml
S: Could not decode file, replacing by FALSE value: layout/htc_vzw_conversion.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_button_acc_call_rest.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/dialer_task_bar.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_additional_options.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdma_incall_info.xml
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_add_idd.xml
S: Could not decode file, replacing by FALSE value: drawable/common_radio_off_disable.xml
S: Could not decode file, replacing by FALSE value: layout/htc_call_defer.xml
S: Could not decode file, replacing by FALSE value: xml/sip_settings_category.xml
S: Could not decode file, replacing by FALSE value: layout/htc_call_defer_custom_msg.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_callforward_options.xml
S: Could not decode file, replacing by FALSE value: layout/skype_fake_arc.xml
W: Cant find 9patch chunk in file: "drawable/dialog_bg_calling_via.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout-finger/htc_audio_src_selection.xml
S: Could not decode file, replacing by FALSE value: xml/network_setting.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_options.xml
S: Could not decode file, replacing by FALSE value: layout/htc_layout_list_idd.xml
S: Could not decode file, replacing by FALSE value: layout-finger/emergency_dialer_keypad.xml
S: Could not decode file, replacing by FALSE value: layout/pref_dialog_editphonenumber_with_time.xml
S: Could not decode file, replacing by FALSE value: xml/callforward_options.xml
S: Could not decode file, replacing by FALSE value: xml/htc_worldphone_options.xml
S: Could not decode file, replacing by FALSE value: xml/cdma_options.xml
S: Could not decode file, replacing by FALSE value: drawable/common_icon_merge_call.xml
S: Could not decode file, replacing by FALSE value: xml/htc_cdma_roaming_guard_list.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_bg_birthday.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/htc_nbpcd_edit_country.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_speaker.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_bt_headset.xml
S: Could not decode file, replacing by FALSE value: layout/call_card.xml
S: Could not decode file, replacing by FALSE value: xml/cell_broadcast_setting.xml
S: Could not decode file, replacing by FALSE value: xml/mip_error.xml
S: Could not decode file, replacing by FALSE value: xml/eri_text_appwidget.xml
S: Could not decode file, replacing by FALSE value: drawable/phone_button_control_more.xml
S: Could not decode file, replacing by FALSE value: color/button_text.xml
S: Could not decode file, replacing by FALSE value: layout/enable_sim_pin_screen.xml
S: Could not decode file, replacing by FALSE value: layout/incall_screen.xml
S: Could not decode file, replacing by FALSE value: drawable/btn_phone_call.xml
S: Could not decode file, replacing by FALSE value: xml/carrier_select.xml
S: Could not decode file, replacing by FALSE value: drawable/icon_addcontact.xml
S: Could not decode file, replacing by FALSE value: layout/sim_missing.xml
S: Could not decode file, replacing by FALSE value: layout-finger/htc_dtmf_twelve_key_dialer.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/phone_bg_facebook.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: layout/htc_call_defer_reminder.xml
S: Could not decode file, replacing by FALSE value: layout/sim_ndp.xml
S: Could not decode file, replacing by FALSE value: layout/sn_status_panel.xml
S: Could not decode file, replacing by FALSE value: layout/htc_multiple_conference_call_item.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_button_small_press.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/gsm_umts_options.xml
W: Cant find 9patch chunk in file: "drawable-hdpi/common_panel_navbar_button_press.9.png". Renaming it to *.png.
S: Could not decode file, replacing by FALSE value: xml/advanced_settings.xml
S: Could not decode file, replacing by FALSE value: layout/htc_assisted_dialing.xml
S: Could not decode file, replacing by FALSE value: layout/htc_cdma_dialog.xml
S: Could not decode file, replacing by FALSE value: drawable/toolbar_button.xml
S: Could not decode file, replacing by FALSE value: layout/sim_import_list_entry.xml
S: Could not decode file, replacing by FALSE value: drawable/htc_incall_panel_headset.xml
S: Could not decode file, replacing by FALSE value: xml/cell_broadcast_sms.xml
S: Could not decode file, replacing by FALSE value: layout/fdn_manipulate_menu.xml
I: Decoding values*/* XMLs...
I: Loading resource table from file: /home/raafaell/apktool/framework/2.apk
I: Loaded.
I: Done.
I: Copying assets and libs...

What are u change? If just replacing.png or xml,no need the compile/recompile thing..

zmuhammx said:
What are u change? If just replacing.png or xml,no need the compile/recompile thing..
Click to expand...
Click to collapse
values
Sent from my E15i using Tapatalk 2

check java, set its path on the env't path to work
Sent from a double-edged katana

Related

how can i compilation and decompilation the file ''blur-res.apk''?

how can i compilation and decompilation the file ''blur-res.apk''?? no matter how i compilation the file ''blur-res.apk'',it turned out the APK cannot work properly,why???
mapleshadow said:
how can i compilation and decompilation the file ''blur-res.apk''?? no matter how i compilation the file ''blur-res.apk'',it turned out the APK cannot work properly,why???
Click to expand...
Click to collapse
Moto added signatures to each apk in /system. After you re-compile the apk, you need to open both with an archive manager, and copy the META-INF folder from the old to the new.
hello friend,thank you for your reply.i understand for your answer,i also have tried this way.there are many ways of dealing with system-level APK file,i have tried most of it,every files are normal,including framework-res.apk.but the framework-res.apk didn't work well
more curious,using apktool to compile the blur-res.apk,but Decompilate it again will occur error.apktool says there is lacking some values.can you please tell me how to fix it??
G:\Android\MOTO A4G\tools\apktool132>java -jar apktool.jar d blur-res.apk
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\1.apk
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d5
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
I: Loading resource table from file: C:\Users\Mapleshadow-Office\apktool\framewo
rk\3.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x030201d3
UP~~~~~~~~

[Q] Edit Settings.apk

Hi,
I would like to know how I could change the settings.apk background to another color. Ex: From the stock black to white
Is it just change a .png image (like on the SGSII) or I must do something else?
I'm asking because I'm not finding (assuming it's a .png) the correct one to edit.
Thank you in advance for your time and answer.
Necr6phag1st said:
Hi,
I would like to know how I could change the settings.apk background to another color. Ex: From the stock black to white
Is it just change a .png image (like on the SGSII) or I must do something else?
I'm asking because I'm not finding (assuming it's a .png) the correct one to edit.
Thank you in advance for your time and answer.
Click to expand...
Click to collapse
Did you look in the htc-resources.apk. I may be wrong but im sure its there or maybe i'm thinking of the sony devices that keep the backgrounds in SemcGenericUpRes.apk
Hi, are you find any answer? I need thi one too..
Sent from my HTC Sensation XL with Beats Audio X315e using xda app-developers app
Its in framework-res in sense 4 on 3.6 dont remember but can be this same. When i back home i will write more.
EDIT:
This is for Samsung Epic 4G Touch but this give you a point to work.
Sent from my HTC One V using xda premium
stona175 said:
Its in framework-res in sense 4 on 3.6 dont remember but can be this same. When i back home i will write more.
EDIT:
This is for Samsung Epic 4G Touch but this give you a point to work.
Sent from my HTC One V using xda premium
Click to expand...
Click to collapse
Can you please post a link with the files you use to decompile or tell me wich apktool build you use...because I tried every possible tutorial in where, but I always have errors when decompiling the framework-res.
:good:
Necr6phag1st said:
Can you please post a link with the files you use to decompile or tell me wich apktool build you use...because I tried every possible tutorial in where, but I always have errors when decompiling the framework-res.
:good:
Click to expand...
Click to collapse
to decompile and edit i'm using Virtuous Ten Studio.
this is working apktool.
put framework-res and com.htc.resources
install it and than decompile something
Than you
stona175 said:
to decompile and edit i'm using Virtuous Ten Studio.
this is working apktool.
put framework-res and com.htc.resources
install it and than decompile something
Click to expand...
Click to collapse
Thanks for the link, i tried it but still getting the same error as i get with other version of apktools.. what are other software requirements? like jdk & stuff?
C:\Users\apk>apktool d Settings.apk
I: Baksmaling...
testI: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\Shami\apktool\framework\1.apk
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR0
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR1
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR2
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR3
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR4
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR5
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR6
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR7
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR8
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR9
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR10
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR11
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Shami\apktool\framework\2.apk
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-hdpi-ERR12
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-hdpi-ERR13
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-hdpi-ERR14
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-hdpi-ERR15
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR16
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR17
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR18
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rCN-hdpi-ERR19
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR20
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR21
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR22
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: dimen-zh-rTW-hdpi-ERR23
W: Config flags size > 36. Exceeding bytes: 0x1000000.
W: Invalid config flags detected: integer-hdpi-ERR24
W: Config flags size > 36. Exceeding bytes: 0x2000000.
W: Invalid config flags detected: integer-hdpi-ERR25
W: Config flags size > 36. Exceeding bytes: 0x4000000.
W: Invalid config flags detected: integer-hdpi-ERR26
W: Config flags size > 36. Exceeding bytes: 0x5000000.
W: Invalid config flags detected: integer-hdpi-ERR27
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\apk>apktool b Settings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'accessibility_power_button_ends_call' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'accessibility_power_button_ends_call_summary' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'bluetooth_disconnect_pan_profile' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in tl
aapt: warning: string 'bluetooth_pan_profile_summary_connected' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'bluetooth_tethering_connected_subtext' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'user_dict_settings_title' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'wifi_tether_settings_subtext' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
aapt: warning: string 'wifi_tether_settings_text' has no default translation in C:\Users\Shami\apk\Settings\res; found: ca in rm tl
I: Building apk file...
Yes, the framework-res from your rom doesn't decompile. Use the UOL kitchen to build it again. Then you can decompile and recompile it again without errors. At least that worked for me. By the way great rom you made.
Sent from my HTC Desire S using xda premium
Send me the file i will decompile and compile for you
Sent from my HTC One X using xda premium

S'periance and uot kitchen

Hello,
i'm trying to change battery logo but when i submit the work i got an error shtf!,
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: anim/accelerate_cubic.xml
S: Could not decode file, replacing by FALSE value: drawable-mdpi/unlockscreen_lock_18.png
S: Could not decode file, replacing by FALSE value: drawable-mdpi/unlockscreen_lock_16.png
S: Could not decode file, replacing by FALSE value: drawable-mdpi/unlockscreen_lock_11.png
S: Could not decode file, replacing by FALSE value: anim/accelerate_decelerate.xml
S: Could not decode file, replacing by FALSE value: drawable-mdpi/unlockscreen_lock_04.png
S: Could not decode file, replacing by FALSE value: drawable-mdpi/unlockscreen_lock_15.png
S: Could not decode file, replacing by FALSE value: drawable-mdpi/unlockscreen_lock_09.png
S: Could not decode file, replacing by FALSE value: anim/bounce.xml
S: Could not decode file, replacing by FALSE value: drawable-mdpi/unlockscreen_lock_12.png
S: Could not decode file, replacing by FALSE value: anim/linear.xml
S: Could not decode file, replacing by FALSE value: anim/anticipate.xml
W: Cant find 9patch chunk in file: "drawable-mdpi/highlight_pressed.9.png". Renaming it to *.png
...
S: Could not decode file, replacing by FALSE value: anim/overshoot.xml
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Decompiling SystemUI.apk UOT-10-01-22-55-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-10-01-22-55-1
W: Could not find sources
I: Building resources...
aapt: /lib/libz.so.1: no version information available (required by aapt)
Click to expand...
Click to collapse
Do you have any idea?
i uploaded the 3 files, select galaxy in update binary listbox, i check mdpi
thanks

[Q] Compile and Decompile troubleshoot corrupt PNGs

When descompilo a file, for example SystemUI to make changes as I appear more PNG files damaged.
I would like you to tell me exact steps and easy to understand information about:
- Start decompilation of apps (although I know)
- Once the modifications have been made preferred, how to proceed to repair the PNG files that descompilaron and were wrong.
- And Back to compile (also know).
Thanks at all!
Hi,
a bit more information is needed.
How did you decompile ?
Program used for decompile ?
Did you install Framework ?
Which File ?
Which ROM ?
Did you get errors on .9.png Files ?
regards
Michael
If you're only changing pngs you don't have to decompile!
As mkruseonline said, give us some additional info and we'll help you
responde
Thank you very much for the response!, Here the information:
Errors Files "PNG", when I start decompilation:
C:\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\CrashOverride93\apktool\framework\1.apk
C:\apktool>apktool if twframework-res.apk
I: Framework installed to: C:\Users\CrashOverride93\apktool\framework\2.apk
C:\apktool>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\CrashOverride93\apktool\framework\
1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_list_bg_p.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_quick_setting_button_bg_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/notification_header_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_list_bg_n.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_plnm_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_ab_bottom_transparent_dark_holo.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_notification_panel_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/notification_panel_bg.9.png".Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_dim.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_list_bg_f.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_off.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_donot_show_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_notification_panel_divider_1.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_on.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\apktool>
Applications used for decompiling/compiling apps:
- apktool-install-windows-r05-ibot.tar
-- apktool.bat
-- aapt.exe
- apktool1.5.2.tar
-- apktool.jar
Commands used for decompiling/compiling apps:
- apktool if framework-res.apk
- apktool if twframework-res.apk
- apktool d xxxxxx.apk
- apktool b xxxxxx.apk
ROM used:
- enox reVenge v4.0
¿What changes will make apps?
- Replace battery icons, etc., included in the SystemUI original custom ones.
- Modify files, ".xml".
- And other possible modifications requiring extra decompilation of these apps.
mkruseonline said:
Hi,
a bit more information is needed.
How did you decompile ?
Program used for decompile ?
Did you install Framework ?
Which File ?
Which ROM ?
Did you get errors on .9.png Files ?
regards
Michael
Click to expand...
Click to collapse
dariolob said:
If you're only changing pngs you don't have to decompile!
As mkruseonline said, give us some additional info and we'll help you
Click to expand...
Click to collapse
CrashOverride93 said:
Thank you very much for the response!, Here the information:
Errors Files "PNG", when I start decompilation:
C:\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\CrashOverride93\apktool\framework\1.apk
C:\apktool>apktool if twframework-res.apk
I: Framework installed to: C:\Users\CrashOverride93\apktool\framework\2.apk
C:\apktool>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\CrashOverride93\apktool\framework\
1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_list_bg_p.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_quick_setting_button_bg_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/notification_header_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_list_bg_n.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_plnm_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_ab_bottom_transparent_dark_holo.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_notification_panel_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/notification_panel_bg.9.png".Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_dim.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_list_bg_f.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_off.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_donot_show_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_notification_panel_divider_1.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quick_panel_on.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\apktool>
Applications used for decompiling/compiling apps:
- apktool-install-windows-r05-ibot.tar
-- apktool.bat
-- aapt.exe
- apktool1.5.2.tar
-- apktool.jar
Commands used for decompiling/compiling apps:
- apktool if framework-res.apk
- apktool if twframework-res.apk
- apktool d xxxxxx.apk
- apktool b xxxxxx.apk
ROM used:
- enox reVenge v4.0
¿What changes will make apps?
- Replace battery icons, etc., included in the SystemUI original custom ones.
- Modify files, ".xml".
- And other possible modifications requiring extra decompilation of these apps.
Click to expand...
Click to collapse
Try this:
- Decompile
- Make only the xml changes you wanna do
- Recompile your apk
- Now open with WinRAR/7zip the two SystemUI.apks (the old one and the new) - only open them,do not extract
- Paste you new resources.arsc in the old SystemUI.apk, then you can close the new one and focus on the old one with modified resources.arsc
- Navigate to drawable-hdpi and simply paste all your pngs and .9.pngs
- Close the apk, push it to your phone/ROM and you should be done
Hi CrashOverride93,
ENOX apk's can not be decompiled so easy, trust me.
I used APK Multitool Point 9 for decompiling (without dependencies)
But dariolob Way may work also.
regards
Michael
responde
And since I know the areas marked on each side of the figures with "draw9patch"?

[Q] decompiling error

hey,
im trying to decompile apks using apkmanage 5.0.2. but every time im geting this error.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) Client VM (build 23.21-b01, mixed mode, sharing)
Could Not Find C:\Users\agri\Desktop\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/signedFlashBarService.apk
Could Not Find C:\Users\agri\Desktop\Apk_Manager_5.0.2\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedFlashBarService.apk
I: Baksmaling...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -7FFE0000.
W: Invalid config flags detected. Dropping resources: dimen-xhdpi-v13-ERR0
I: Loaded.
I: Loading resource table from file: C:\Users\agri\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR1
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionCode, value=0x00000001
I: Loading resource table from file: C:\Users\agri\apktool\framework\1.apk
W: Config flags size > 32. Exceeding bytes: 0000D002.
W: Invalid config flags detected: dimen-v13-ERR2
W: Could not decode attr value, using undecoded value instead: ns=android, name=versionName, value=0x0000000f
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:46)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:100)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:114)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:93)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
im really new to editing apk files. any help would be appreciated. thanks in advance.
what u need is a tuitorial u must be missing something b4 doing decompile n compile
read it http://forum.xda-developers.com/showthread.php?t=1756953
u can try out majdinj OP to get baksmali/smali manager to work it out
http://forum.xda-developers.com/showthread.php?p=42250570#post42250570

Categories

Resources