So I'm having issues while compiling the Phone.apk. This is what I did:
apktool d '/home/raafaell/Documents/Phone.apk' '/home/raafaell/Documents/Phone'
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...
I: Loading resource table from file: /home/raafaell/apktool/framework/2.apk
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
It decompiles without problems, now in order to build I have to drag&drop the resources.arsc file to '/home/raafaell/Documents/Phone'.
After doing that I am able to modify files like .9.png images and then recompile, however something goes wrong because the res won't hide the values* folders, so it increases the size to almost twice as the original.
Now that is compiled, I go and decompile the Phone_new.apk to do some more changes by doing: apktool d '/home/raafaell/Documents/Phone/dist/Phone_new.apk' '/home/raafaell/Documents/Phone/dist/Phone_new' , and this is the output:
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...
any idea?
Thanks in advance.
If its the aosp phone.apk then you really need to decompile contacts.apk
Phone.apk is really inside of it.
When you install contacts.apk to a sense rom it installs the phone.apk also.
Sent from my PC36100 using xda premium
jessesse said:
If its the aosp phone.apk then you really need to decompile contacts.apk
Phone.apk is really inside of it.
When you install contacts.apk to a sense rom it installs the phone.apk also.
Sent from my PC36100 using xda premium
Click to expand...
Click to collapse
It's actually a SENSE Rom with gingerbread 2.3.5... I saw the same answer in other forums, but none of them matches my problem.
bump
This is a great thread for themeing questions..http://forum.xda-developers.com/showthread.php?t=1320891
[Guide][Reference] An Intro to Themeing
It might be a bad xml edit.. depends what you are trying to due. I'm not the best person to ask.. but trying to help.
Sent from my PC36100 using xda premium
apktool if phone.apk
den typ
apktool d phone.apk
Related
when I try to decompile SystemUI or Settings.apk i have an error.
Code:
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Luca\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=textSize, value=0x02050029
W: Could not decode attr value, using undecoded value instead: ns=android, name=textSize, value=0x0205002e
why???
Please help me!!!
In other rom i don't have this problem.
File is of rom InsertCoin CM7
May I suggest that you post this in the 'Desire Android Development' section of the forums?
So, I been looking to change my 4 signal bars to 6 and haven't had any luck so far. I currently have a battery % mod, 3G Icon instead of EvDo ( Flashed this:
andybones said:
anyone who wants transparent inverted notifcation pulldown with all the extra settings working here is a tested and working file. Also no GPS cross-hair.
looks like this
{
"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"
}
http://www.multiupload.com/Q4PCMQIX2B
Click to expand...
Click to collapse
I want to keep what i already have, just want to swap out the 4 signal bars for 6 if possible. Any help would be much appreciated.
Where did you get the battery percentage mod? Every one i try breaks my soft key lights
Sent from my ADR6350 using Tapatalk
APeaceofStrange said:
Where did you get the battery percentage mod? Every one i try breaks my soft key lights
Sent from my ADR6350 using Tapatalk
Click to expand...
Click to collapse
I got it from UOT Kitchen. Are your soft keys constantly out?
I used uot this morning and when I rebooted the keys wouldn't light up at all. So yours are working? I will try again if so. I'm loving these sense 3.0 roms, but really want an accurate battery.
Sent from my ADR6350 using Tapatalk
APeaceofStrange said:
I used uot this morning and when I rebooted the keys wouldn't light up at all. So yours are working? I will try again if so. I'm loving these sense 3.0 roms, but really want an accurate battery.
Sent from my ADR6350 using Tapatalk
Click to expand...
Click to collapse
I actually noticed when you said that, they come off and some points but on most of the time so i just recovered and took it off
4 to 6 signal bar mod is smali changes in systemui.apk...if you arent familiar with smali then it wont be an easy thing to do
nitsuj17 said:
4 to 6 signal bar mod is smali changes in systemui.apk...if you arent familiar with smali then it wont be an easy thing to do
Click to expand...
Click to collapse
I'm familiar with smali I just don't know what edits in their to do. Any help would be great.
I usually just change the .pngs from the 4 to 6 using the 4 images. works but I would really love to know how to do it correctly.
bluedegeon said:
So, I been looking to change my 4 signal bars to 6 and haven't had any luck so far. I currently have a battery % mod, 3G Icon instead of EvDo ( Flashed this:
I want to keep what i already have, just want to swap out the 4 signal bars for 6 if possible. Any help would be much appreciated.
Click to expand...
Click to collapse
I want an accurate battery too. Could you give me a copy?
I try to use UOT, but it failed to mod, tip: SHTF. I don't know why.
This is error log
Decompiling framework-res.apk UOT-08-08-15-42-3
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_6.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_58.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_49.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_54.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_55.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_91.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_33.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_87.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_11.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_66.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_57.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_47.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_50.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_75.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_74.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_53.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_52.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_36.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_32.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_44.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_99.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_92.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_48.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_24.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_69.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_71.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_93.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_90.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_98.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_15.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_67.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_30.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_97.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_42.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_64.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_56.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_43.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_4.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_83.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_37.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_81.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_63.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_88.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_9.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_65.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_22.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_18.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_14.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_96.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_21.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_31.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_17.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_76.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_13.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_23.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_62.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_85.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_8.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_73.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_51.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_39.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_5.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_79.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_72.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_34.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_70.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_38.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_89.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_3.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_45.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_84.png
...
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_16.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_26.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_7.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_27.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_77.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_82.png
S: Could not decode file, replacing by FALSE value: drawable-hdpi/stat_sys_battery_41.png
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-08-08-15-42-3
W: Could not find sources
I: Building resources...
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:3: error: Resource entry stat_sys_battery_11 is already defined.
res/drawable-hdpi/stat_sys_battery_11.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:4: error: Resource entry stat_sys_battery_12 is already defined.
res/drawable-hdpi/stat_sys_battery_12.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:5: error: Resource entry stat_sys_battery_13 is already defined.
res/drawable-hdpi/stat_sys_battery_13.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:6: error: Resource entry stat_sys_battery_14 is already defined.
res/drawable-hdpi/stat_sys_battery_14.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:7: error: Resource entry stat_sys_battery_15 is already defined.
res/drawable-hdpi/stat_sys_battery_15.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:8: error: Resource entry stat_sys_battery_16 is already defined.
res/drawable-hdpi/stat_sys_battery_16.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:9: error: Resource entry stat_sys_battery_17 is already defined.
res/drawable-hdpi/stat_sys_battery_17.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:10: error: Resource entry stat_sys_battery_18 is already defined.
res/drawable-hdpi/stat_sys_battery_18.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:11: error: Resource entry stat_sys_battery_19 is already defined.
res/drawable-hdpi/stat_sys_battery_19.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:12: error: Resource entry stat_sys_battery_2 is already defined.
res/drawable-hdpi/stat_sys_battery_2.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:13: error: Resource entry stat_sys_battery_21 is already defined.
res/drawable-hdpi/stat_sys_battery_21.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:14: error: Resource entry stat_sys_battery_22 is already defined.
res/drawable-hdpi/stat_sys_battery_22.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:15: error: Resource entry stat_sys_battery_23 is already defined.
res/drawable-hdpi/stat_sys_battery_23.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:16: error: Resource entry stat_sys_battery_24 is already defined.
res/drawable-hdpi/stat_sys_battery_24.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:17: error: Resource entry stat_sys_battery_25 is already defined.
res/drawable-hdpi/stat_sys_battery_25.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:18: error: Resource entry stat_sys_battery_26 is already defined.
res/drawable-hdpi/stat_sys_battery_26.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:19: error: Resource entry stat_sys_battery_27 is already defined.
res/drawable-hdpi/stat_sys_battery_27.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:20: error: Resource entry stat_sys_battery_28 is already defined.
res/drawable-hdpi/stat_sys_battery_28.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:21: error: Resource entry stat_sys_battery_29 is already defined.
res/drawable-hdpi/stat_sys_battery_29.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:22: error: Resource entry stat_sys_battery_3 is already defined.
res/drawable-hdpi/stat_sys_battery_3.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:23: error: Resource entry stat_sys_battery_30 is already defined.
res/drawable-hdpi/stat_sys_battery_30.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:24: error: Resource entry stat_sys_battery_31 is already defined.
res/drawable-hdpi/stat_sys_battery_31.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:25: error: Resource entry stat_sys_battery_32 is already defined.
res/drawable-hdpi/stat_sys_battery_32.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:26: error: Resource entry stat_sys_battery_33 is already defined.
res/drawable-hdpi/stat_sys_battery_33.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:27: error: Resource entry stat_sys_battery_34 is already defined.
res/drawable-hdpi/stat_sys_battery_34.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:28: error: Resource entry stat_sys_battery_35 is already defined.
res/drawable-hdpi/stat_sys_battery_35.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:29: error: Resource entry stat_sys_battery_36 is already defined.
res/drawable-hdpi/stat_sys_battery_36.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:30: error: Resource entry stat_sys_battery_37 is already defined.
res/drawable-hdpi/stat_sys_battery_37.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:31: error: Resource entry stat_sys_battery_38 is already defined.
res/drawable-hdpi/stat_sys_battery_38.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:32: error: Resource entry stat_sys_battery_39 is already defined.
res/drawable-hdpi/stat_sys_battery_39.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:33: error: Resource entry stat_sys_battery_4 is already defined.
res/drawable-hdpi/stat_sys_battery_4.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:34: error: Resource entry stat_sys_battery_41 is already defined.
res/drawable-hdpi/stat_sys_battery_41.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:35: error: Resource entry stat_sys_battery_42 is already defined.
res/drawable-hdpi/stat_sys_battery_42.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:36: error: Resource entry stat_sys_battery_43 is already defined.
res/drawable-hdpi/stat_sys_battery_43.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:37: error: Resource entry stat_sys_battery_44 is already defined.
res/drawable-hdpi/stat_sys_battery_44.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:38: error: Resource entry stat_sys_battery_45 is already defined.
res/drawable-hdpi/stat_sys_battery_45.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:39: error: Resource entry stat_sys_battery_46 is already defined.
res/drawable-hdpi/stat_sys_battery_46.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:40: error: Resource entry stat_sys_battery_47 is already defined.
res/drawable-hdpi/stat_sys_battery_47.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:41: error: Resource entry stat_sys_battery_48 is already defined.
res/drawable-hdpi/stat_sys_battery_48.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:42: error: Resource entry stat_sys_battery_49 is already defined.
res/drawable-hdpi/stat_sys_battery_49.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:43: error: Resource entry stat_sys_battery_5 is already defined.
res/drawable-hdpi/stat_sys_battery_5.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:44: error: Resource entry stat_sys_battery_50 is already defined.
res/drawable-hdpi/stat_sys_battery_50.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:45: error: Resource entry stat_sys_battery_51 is already defined.
res/drawable-hdpi/stat_sys_battery_51.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:46: error: Resource entry stat_sys_battery_52 is already defined.
res/drawable-hdpi/stat_sys_battery_52.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:47: error: Resource entry stat_sys_battery_53 is already defined.
res/drawable-hdpi/stat_sys_battery_53.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:48: error: Resource entry stat_sys_battery_54 is already defined.
res/drawable-hdpi/stat_sys_battery_54.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:49: error: Resource entry stat_sys_battery_55 is already defined.
res/drawable-hdpi/stat_sys_battery_55.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:50: error: Resource entry stat_sys_battery_56 is already defined.
res/drawable-hdpi/stat_sys_battery_56.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:51: error: Resource entry stat_sys_battery_57 is already defined.
res/drawable-hdpi/stat_sys_battery_57.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:52: error: Resource entry stat_sys_battery_58 is already defined.
res/drawable-hdpi/stat_sys_battery_58.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:53: error: Resource entry stat_sys_battery_59 is already defined.
res/drawable-hdpi/stat_sys_battery_59.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:54: error: Resource entry stat_sys_battery_6 is already defined.
res/drawable-hdpi/stat_sys_battery_6.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:55: error: Resource entry stat_sys_battery_61 is already defined.
res/drawable-hdpi/stat_sys_battery_61.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:56: error: Resource entry stat_sys_battery_62 is already defined.
res/drawable-hdpi/stat_sys_battery_62.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:57: error: Resource entry stat_sys_battery_63 is already defined.
res/drawable-hdpi/stat_sys_battery_63.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:58: error: Resource entry stat_sys_battery_64 is already defined.
res/drawable-hdpi/stat_sys_battery_64.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:59: error: Resource entry stat_sys_battery_65 is already defined.
res/drawable-hdpi/stat_sys_battery_65.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:60: error: Resource entry stat_sys_battery_66 is already defined.
res/drawable-hdpi/stat_sys_battery_66.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:61: error: Resource entry stat_sys_battery_67 is already defined.
res/drawable-hdpi/stat_sys_battery_67.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:62: error: Resource entry stat_sys_battery_68 is already defined.
res/drawable-hdpi/stat_sys_battery_68.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:63: error: Resource entry stat_sys_battery_69 is already defined.
res/drawable-hdpi/stat_sys_battery_69.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:64: error: Resource entry stat_sys_battery_7 is already defined.
res/drawable-hdpi/stat_sys_battery_7.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:65: error: Resource entry stat_sys_battery_70 is already defined.
res/drawable-hdpi/stat_sys_battery_70.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:66: error: Resource entry stat_sys_battery_71 is already defined.
res/drawable-hdpi/stat_sys_battery_71.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:67: error: Resource entry stat_sys_battery_72 is already defined.
res/drawable-hdpi/stat_sys_battery_72.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:68: error: Resource entry stat_sys_battery_73 is already defined.
res/drawable-hdpi/stat_sys_battery_73.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:69: error: Resource entry stat_sys_battery_74 is already defined.
res/drawable-hdpi/stat_sys_battery_74.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:70: error: Resource entry stat_sys_battery_75 is already defined.
res/drawable-hdpi/stat_sys_battery_75.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:71: error: Resource entry stat_sys_battery_76 is already defined.
res/drawable-hdpi/stat_sys_battery_76.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:72: error: Resource entry stat_sys_battery_77 is already defined.
res/drawable-hdpi/stat_sys_battery_77.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:73: error: Resource entry stat_sys_battery_78 is already defined.
res/drawable-hdpi/stat_sys_battery_78.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:74: error: Resource entry stat_sys_battery_79 is already defined.
res/drawable-hdpi/stat_sys_battery_79.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:75: error: Resource entry stat_sys_battery_8 is already defined.
res/drawable-hdpi/stat_sys_battery_8.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:76: error: Resource entry stat_sys_battery_81 is already defined.
res/drawable-hdpi/stat_sys_battery_81.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:77: error: Resource entry stat_sys_battery_82 is already defined.
res/drawable-hdpi/stat_sys_battery_82.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:78: error: Resource entry stat_sys_battery_83 is already defined.
res/drawable-hdpi/stat_sys_battery_83.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:79: error: Resource entry stat_sys_battery_84 is already defined.
res/drawable-hdpi/stat_sys_battery_84.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:80: error: Resource entry stat_sys_battery_85 is already defined.
res/drawable-hdpi/stat_sys_battery_85.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:81: error: Resource entry stat_sys_battery_86 is already defined.
res/drawable-hdpi/stat_sys_battery_86.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:82: error: Resource entry stat_sys_battery_87 is already defined.
res/drawable-hdpi/stat_sys_battery_87.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:83: error: Resource entry stat_sys_battery_88 is already defined.
res/drawable-hdpi/stat_sys_battery_88.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:84: error: Resource entry stat_sys_battery_89 is already defined.
res/drawable-hdpi/stat_sys_battery_89.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:85: error: Resource entry stat_sys_battery_9 is already defined.
res/drawable-hdpi/stat_sys_battery_9.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:86: error: Resource entry stat_sys_battery_90 is already defined.
res/drawable-hdpi/stat_sys_battery_90.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:87: error: Resource entry stat_sys_battery_91 is already defined.
res/drawable-hdpi/stat_sys_battery_91.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:88: error: Resource entry stat_sys_battery_92 is already defined.
res/drawable-hdpi/stat_sys_battery_92.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:89: error: Resource entry stat_sys_battery_93 is already defined.
res/drawable-hdpi/stat_sys_battery_93.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:90: error: Resource entry stat_sys_battery_94 is already defined.
res/drawable-hdpi/stat_sys_battery_94.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:91: error: Resource entry stat_sys_battery_95 is already defined.
res/drawable-hdpi/stat_sys_battery_95.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:92: error: Resource entry stat_sys_battery_96 is already defined.
res/drawable-hdpi/stat_sys_battery_96.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:93: error: Resource entry stat_sys_battery_97 is already defined.
res/drawable-hdpi/stat_sys_battery_97.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:94: error: Resource entry stat_sys_battery_98 is already defined.
res/drawable-hdpi/stat_sys_battery_98.png:0: Originally defined here.
/home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res/values-hdpi/drawables.xml:95: error: Resource entry stat_sys_battery_99 is already defined.
res/drawable-hdpi/stat_sys_battery_99.png:0: Originally defined here.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5894344848486460081.tmp, -x, -S, /home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res, -M, /home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5894344848486460081.tmp, -x, -S, /home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/res, -M, /home/mendoza/port5/data/working_dir/UOT-08-08-15-42-3/fw_dec/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Click to expand...
Click to collapse
andybones said:
I'm familiar with smali I just don't know what edits in their to do. Any help would be great.
I usually just change the .pngs from the 4 to 6 using the 4 images. works but I would really love to know how to do it correctly.
Click to expand...
Click to collapse
i havent gotten around to looking at it yet beyond a quick diff last week on an evo mod of it
when i get to it/if i figure it out for our sense 2.1 rom ill post the edits
i'm also looking for a battery mod, every time i use uot soft keys don't light up all the time ... I currently have no crosshair, 3g instead of evdo, and font changed ... can't get the battery to work w/o losing softkey lights any help would be appreciated.
xaZnxbOyx said:
i'm also looking for a battery mod, every time i use uot soft keys don't light up all the time ... I currently have no crosshair, 3g instead of evdo, and font changed ... can't get the battery to work w/o losing softkey lights any help would be appreciated.
Click to expand...
Click to collapse
Here you go... Look at the bottom of the first post, there are two zips for Unity, I've been using this along with Andy's 3G/Crosshair mod... No issues at all
http://forum.xda-developers.com/showthread.php?t=1206358
PacerguyDon said:
Here you go... Look at the bottom of the first post, there are two zips for Unity, I've been using this along with Andy's 3G/Crosshair mod... No issues at all
http://forum.xda-developers.com/showthread.php?t=1206358
Click to expand...
Click to collapse
thanks battery worked great
So it seems that when i try to decompile apk files i get a error (scroll down for log) , and no matter what version of apktool i use or what app i use or even website, i still can NOT decompile the Xperia S settings APK successfully
and before you say update your apk tool , ive tried all version of almost everything
so id love you if you could give me a fully decompiled Settings APK or you could tell me how to Decompile without faliour
i love you longtime
here is the error:
[email protected]:~$ cd adt
[email protected]:~/adt$ cd decompile
[email protected]:~/adt/decompile$ apktool if Settings.apk
I: Framework installed to: /home/ubuntu/apktool/framework/127.apk
[email protected]:~/adt/decompile$ apktool d Settings.apk Settings
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ubuntu/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010303a6
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:44)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
[email protected]:~/adt/decompile$
Envious_Data said:
So it seems that when i try to decompile apk files i get a error (scroll down for log) , and no matter what version of apktool i use or what app i use or even website, i still can NOT decompile the Xperia S settings APK successfully
and before you say update your apk tool , ive tried all version of almost everything
so id love you if you could give me a fully decompiled Settings APK or you could tell me how to Decompile without faliour
i love you longtime
here is the error:
[email protected]:~$ cd adt
[email protected]:~/adt$ cd decompile
[email protected]:~/adt/decompile$ apktool if Settings.apk
I: Framework installed to: /home/ubuntu/apktool/framework/127.apk
[email protected]:~/adt/decompile$ apktool d Settings.apk Settings
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ubuntu/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
W: Could not decode attr value, using undecoded value instead: ns=android, name=textCursorDrawable, value=0x01080923
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010303a6
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:44)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:440)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:243)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
[email protected]:~/adt/decompile$
Click to expand...
Click to collapse
Maybe in here :
apktool if Settings.apk
Search :
framework-res.apk
SemcGenericUxpRes.apk
from you rom..
And try again with :
apktool if framework-res.apk
apktool if SemcGenericUxpRes.apk
Then decompile again..
Sent from my LT26i using xda premium
thanks
thanks this helps alot
(lol trying to do things without help ,untill i need it... not a good tactic)
Envious_Data said:
thanks this helps alot
(lol trying to do things without help ,untill i need it... not a good tactic)
Click to expand...
Click to collapse
u r welcome.
Sent from my LT26i using xda premium
APKTool failed to decompile LGAlarmClock.apk:
C:\Users\Yoav\Downloads\android>apktool d LGAlarmClock.apk
I: Using Apktool 2.0.0-RC3 on LGAlarmClock.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Yoav\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f070264
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f020078
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f070264
W: Could not decode attr value, using undecoded value instead: ns=android, name=
resource, value=0x7f020079
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x7f0d0046
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f07029a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x7f0d0046
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f07029a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f07029b
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f070276
W: Could not decode attr value, using undecoded value instead: ns=android, name=
resource, value=0x7f040003
W: Could not decode attr value, using undecoded value instead: ns=android, name=
resource, value=0x7f040004
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x7f0d0035
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f070329
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f070264
W: Could not decode attr value, using undecoded value instead: ns=android, name=
resource, value=0x7f040005
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f070264
W: Could not decode attr value, using undecoded value instead: ns=android, name=
resource, value=0x7f040007
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x7f0d0044
W: Could not decode attr value, using undecoded value instead: ns=android, name=
label, value=0x7f07029b
W: Could not decode attr value, using undecoded value instead: ns=android, name=
icon, value=0x7f050014
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x7f070264
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:60)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
1)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:369)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPull
StreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode
r.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
Click to expand...
Click to collapse
I've attached the right framework-res.apk.
Has anyone successed in decompile system apps from android 5?
yoavst said:
APKTool failed to decompile LGAlarmClock.apk:
I've attached the right framework-res.apk.
Has anyone successed in decompile system apps from android 5?
Click to expand...
Click to collapse
I havent tested with lollipop yet, but you need to add both framework resources on Kitkat. framework-res.apk and lge-res.apk
type in terminal
apktool if framework-res.apk
apktool if lge-res.apk
then you can try to decompile apps... but i warn you that you can't decompile lollipop apps yet because apktool is still buggy on lollipop
manups4e said:
type in terminal
apktool if framework-res.apk
apktool if lge-res.apk
then you can try to decompile apps... but i warn you that you can't decompile lollipop apps yet because apktool is still buggy on lollipop
Click to expand...
Click to collapse
doesn't work...
apktool has an error. if you look at c/user/apktool/framework apktool has an error, you will see that there 0.apk and 1.apk.
should have 1.apk and 2.apk.
This error is accepted from dev.
More info
https://code.google.com/p/android-apktool/issues/list
that's only for lollipop, kitkat apks are working well
ffalete said:
apktool has an error. if you look at c/user/apktool/framework apktool has an error, you will see that there 0.apk and 1.apk.
should have 1.apk and 2.apk.
This error is accepted from dev.
More info
https://code.google.com/p/android-apktool/issues/list
Click to expand...
Click to collapse
tried to play all the combinations: lge res 1, framework res 2; lge res 2 ,framework res 1.
However, it didn't solve the problem, now i got another error:
C:\Users\Yoav\Downloads\android>apktool d LGAlarmClock.apk
I: Using Apktool 2.0.0-RC3 on LGAlarmClock.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Yoav\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x029f65bc
I: Loading resource table from file: C:\Users\Yoav\apktool\framework\1.apk
Cleaning up unclosed ZipFile for archive C:\Users\Yoav\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionName, value=0x00000028
I: Loading resource table from file: C:\Users\Yoav\apktool\framework\1.apk
Cleaning up unclosed ZipFile for archive C:\Users\Yoav\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionCode, value=0x029f65bc
I: Loading resource table from file: C:\Users\Yoav\apktool\framework\1.apk
Cleaning up unclosed ZipFile for archive C:\Users\Yoav\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
versionName, value=0x00000028
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:83)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPull
StreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecode
r.java:134)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:296
)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:131)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:101)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
C:\Users\Yoav\Downloads\android>
Click to expand...
Click to collapse
As others stated, apktool is buggy on Lollipop apps. The only way I've found to decompile Lollipop apps is to do "apktool d -r appfile.apk". That decompiles the classes.dex itself, not the resources, but as I'm not sure what you're trying to do, I thought I'd leave my two cents.
r3pwn said:
As others stated, apktool is buggy on Lollipop apps. The only way I've found to decompile Lollipop apps is to do "apktool d -r appfile.apk". That decompiles the classes.dex itself, not the resources, but as I'm not sure what you're trying to do, I thought I'd leave my two cents.
Click to expand...
Click to collapse
Exception in thread "main" org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile
: Invalid magic value: 01 18 24 61 70 70 6c 69
at org.jf.dexlib2.dexbacked.DexBackedDexFile.verifyMagicAndByteOrder(Dex
BackedDexFile.java:151)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.jav
a:70)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.jav
a:96)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:84)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:59)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:94)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:46)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:91)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:126)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
you can't use apktool for LOLLIPOP since it's not working yet.. you can do it only on KITKAT
yoavst said:
Exception in thread "main" org.jf.dexlib2.dexbacked.DexBackedDexFile$NotADexFile
: Invalid magic value: 01 18 24 61 70 70 6c 69
at org.jf.dexlib2.dexbacked.DexBackedDexFile.verifyMagicAndByteOrder(Dex
BackedDexFile.java:151)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.jav
a:70)
at org.jf.dexlib2.dexbacked.DexBackedDexFile.<init>(DexBackedDexFile.jav
a:96)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:84)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:59)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:94)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:46)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:91)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:126)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
Click to expand...
Click to collapse
That's odd. Must be the way that LG compiled their apps. It works fine with stock (AOSP) Lollipop apps.
LGCover.apk start with 0x1 + 0x18 + $application/octet-streamre8Z/[email protected]—pEncryption-Method: AES128CBC;padding=RFC2630;plaintextlen=0000378580
all the apks should start with dex\n035\0 (LGSystemUI, LGAlarmClock... all start with dex\n035\0)
that's why you need lge-res.apk to decompile them but right now apktool is not compatible with lollipop lge-res.apk
manups4e said:
that's why you need lge-res.apk to decompile them but right now apktool is not compatible with lollipop lge-res.apk
Click to expand...
Click to collapse
https://code.google.com/p/android-apktool/issues/detail?id=713
https://code.google.com/p/android-apktool/issues/detail?id=738
So you say that the problem is with lge-res? what is this file for?
lge-res.apk is the resource apk for lg framework and is requested to make lg apps to work and to decompile too
manups4e said:
lge-res.apk is the resource apk for lg framework and is requested to make lg apps to work and to decompile too
Click to expand...
Click to collapse
so why there is also framework-res?
because framework-res is the framework for all other android apps
Apktool RC3 should work with Lollipop apps but - as I already reported the issue - it does not work with the LG system apps. See the conversation with iBotPeaches here.
Kickoff said:
Apktool RC3 should work with Lollipop apps but - as I already reported the issue - it does not work with the LG system apps. See the conversation with iBotPeaches here.
Click to expand...
Click to collapse
it workswith the patched code. However see https://code.google.com/p/android-a...tus Priority Milestone Owner Summary Modified
yoavst said:
it workswith the patched code. However see https://code.google.com/p/android-a...tus Priority Milestone Owner Summary Modified
Click to expand...
Click to collapse
What do you mean under patched code?
I've tried to decomplie the LGSystemUI.apk with apktool, it shows the errors:
I: Using Apktool 2.0.0 on LGSystemUI.apk
I: Loading resource table...
I: Decoding Shared Library (com.lge), pkgId: 2
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\yip\apktool\framework\1.apk
I: Loading resource table from file: C:\Users\yip\apktool\framework\2.apk
I: Regular manifest package...
I: Decoding file-resources...
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_96.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_34.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_36.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_66.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_29.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_91.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_44.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_21.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_97.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_94.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_48.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_14.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_11.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_38.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_81.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_39.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_03.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_32.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_19.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_88.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_24.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_74.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_82.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_59.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_31.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_signal_1_fully.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_signal_0_fully.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_93.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_37.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_54.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_73.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_64.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_98.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_99.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_22.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_56.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_69.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_47.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_23.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_signal_0.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_52.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_78.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_signal_4_fully.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_92.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_02.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_49.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_signal_2_fully.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_06.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_signal_3_fully.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_18.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_07.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_33.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_62.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_51.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_67.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_72.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_61.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_76.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_68.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_87.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_01.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_04.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_13.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_17.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_signal_5_fully.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_83.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_42.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_53.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_12.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_79.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_58.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_46.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_08.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_09.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_27.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_16.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_77.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_84.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_89.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_63.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_41.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_26.png
S: Could not decode file, replacing by FALSE value: drawable-xxxhdpi/stat_sys_battery_86.png
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
And also, when I tried to recompile it without any changes, it shows the following errors:
I: Using Apktool 2.0.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
warning: string 'accessibility_automatic_brightness' has no default translation.
warning: string 'accessibility_automatic_brightness_off' has no default translation.
warning: string 'accessibility_automatic_brightness_on' has no default translation.
warning: string 'accessibility_clean_view' has no default translation.
warning: string 'accessibility_dual_window' has no default translation.
warning: string 'accessibility_notification' has no default translation.
warning: string 'accessibility_qmemo' has no default translation.
warning: string 'accessibility_qslide' has no default translation.
warning: string 'accessibility_quick_settings_airplane' has no default translation.
warning: string 'accessibility_quick_settings_bluetooth' has no default translation.
warning: string 'accessibility_sim_switch' has no default translation.
warning: string 'accessibility_volume_at' has no default translation.
warning: string 'accessibility_volume_setting_button' has no default translation.
warning: string 'battery_low_percent_format_toast_NORMAL' has no default translation.
warning: string 'battery_low_percent_toast_NORMAL' has no default translation.
warning: string 'battery_low_subtitle' has no default translation.
warning: string 'battery_low_subtitle2' has no default translation.
warning: string 'battery_low_subtitle2_no_haptic' has no default translation.
warning: string 'battery_low_subtitle2_vzw' has no default translation.
warning: string 'description_target_qmemo' has no default translation.
warning: string 'description_target_qvoice' has no default translation.
warning: string 'done_button' has no default translation.
warning: string 'jelly_bean_dream_name' has no default translation.
warning: string 'keyguard_accessibility_status' has no default translation.
warning: string 'keyguard_password_enter_puk_code' has no default translation.
warning: string 'lockscreen_uim_locked_on_perm' has no default translation.
warning: string 'maximum_windows_att' has no default translation.
warning: string 'maximum_windows_dcm' has no default translation.
warning: string 'miniview_start_exception_msg' has no default translation.
warning: string 'miniview_start_exception_msg_miracast' has no default translation.
warning: string 'multisim_sim_status_perso_locked_NORMAL' has no default translation.
warning: string 'quick_settings_wifi_display_label' has no default translation.
warning: string 'quick_settings_wifi_display_no_connection_label' has no default translation.
warning: string 'sp_Auto_NORMAL' has no default translation.
warning: string 'sp_batteryTitle_chargingstopped_NORMAL' has no default translation.
warning: string 'sp_batteryTitle_hightemp_NORMAL' has no default translation.
warning: string 'sp_battery_removed_Title_NORMAL' has no default translation.
warning: string 'sp_brightness_night_brightness_12' has no default translation.
warning: string 'sp_brightness_night_brightness_24' has no default translation.
warning: string 'sp_charging_stop_text_NORMAL' has no default translation.
warning: string 'sp_charging_stop_title_NORMAL' has no default translation.
warning: string 'sp_charging_text_NORMAL' has no default translation.
warning: string 'sp_charging_title_NORMAL' has no default translation.
warning: string 'sp_cpu_temperature_poweroff_NORMAL' has no default translation.
warning: string 'sp_deactivate_airplane_mode_uim' has no default translation.
warning: string 'sp_defaultNameSIM1_NORMAL' has no default translation.
warning: string 'sp_defaultNameSIM2_NORMAL' has no default translation.
warning: string 'sp_defaultNameSIM3_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot1_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot2_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot3_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM1_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM2_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM3_NORMAL' has no default translation.
warning: string 'sp_fullcharging_body_NORMAL' has no default translation.
warning: string 'sp_fullcharging_title_NORMAL' has no default translation.
warning: string 'sp_incompatiblecharging_alert_body_vzw' has no default translation.
warning: string 'sp_incompatiblecharging_body_vzw_NORMAL' has no default translation.
warning: string 'sp_incompatiblecharging_title_NORMAL' has no default translation.
warning: string 'sp_incompatiblecharging_usb_body_vzw_NORMAL' has no default translation.
warning: string 'sp_invalid_batteryTitle_notice_NORMAL' has no default translation.
warning: string 'sp_missing_uim_message_NORMAL' has no default translation.
warning: string 'sp_no_sim_is_inserted' has no default translation.
warning: string 'sp_no_uim_is_inserted' has no default translation.
warning: string 'sp_open_quickcover_message' has no default translation.
warning: string 'sp_phone_willbe_turned_off_NORMAL' has no default translation.
warning: string 'sp_power_off_low_battery_NORMAL' has no default translation.
warning: string 'sp_power_off_low_battery_text' has no default translation.
warning: string 'sp_sim_status_no_sim_card_NORMAL' has no default translation.
warning: string 'sp_sim_status_pin_locked_NORMAL' has no default translation.
warning: string 'sp_sim_status_puk_locked_NORMAL' has no default translation.
warning: string 'sp_slowcharging_body_vzw_NORMAL' has no default translation.
warning: string 'sp_slowcharging_title_NORMAL' has no default translation.
warning: string 'sp_slowcharging_toast_body_vzw' has no default translation.
warning: string 'sp_temperature_highcharge_NORMAL' has no default translation.
warning: string 'sp_temperature_lowcharge_NORMAL' has no default translation.
warning: string 'sp_temperature_poweroff_NORMAL' has no default translation.
warning: string 'sp_temperature_warning_hightemp_NORMAL' has no default translation.
warning: string 'sp_uim_deactived' has no default translation.
warning: string 'sp_uim_status_no_uim_card_NORMAL' has no default translation.
warning: string 'sp_usb_charging_body_NORMAL' has no default translation.
warning: string 'sp_usb_charging_title_NORMAL' has no default translation.
warning: string 'ssl_ca_cert_dialog_title' has no default translation.
warning: string 'ssl_ca_cert_info_message' has no default translation.
warning: string 'ssl_ca_cert_settings_button' has no default translation.
warning: string 'ssl_ca_cert_warning_message' has no default translation.
warning: string 'temperature_overheating_dlialog_message' has no default translation.
warning: string 'temperature_overheating_noti_message' has no default translation.
warning: string 'temperature_overheating_noti_title' has no default translation.
warning: string 'temperature_overheating_reason_dialog_message' has no default translation.
warning: string 'temperature_overheating_reason_dialog_title' has no default translation.
warning: string 'temperature_overheating_turn_off_dialog_button' has no default translation.
warning: string 'temperature_overheating_turn_off_dialog_message' has no default translation.
warning: string 'temperature_overheating_turn_off_dialog_title' has no default translation.
warning: string 'two_step_wireless_charging' has no default translation.
warning: string 'two_step_wireless_charging_complete' has no default translation.
warning: string 'two_step_wireless_warning' has no default translation.
warning: string 'two_step_wireless_warning_contents_2' has no default translation.
I: Building apk file...
Can anyone successful to decompilie and recompilie the LGSystemUI.apk? Or anyone knows how to deal with this problem?