S'periance and uot kitchen - Galaxy Ace S5830 Q&A, Help & Troubleshooting

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

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] 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

compile phone

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

Can't use UOT kitchen to add mod (using StockRom Evolution)

So, I tried to use UOT kitchen to add battery percentage to my phone. I have StockRom evolution because it's the fastest ROM and it my battery last longer with it but I'd like to be able to modify it with UOT kitchen. I tried to upload framework-res.apk, SystemUI.apk and twframework-res.apk from the phone to the Kitchen but then, when I try to pick up the completed file, it tells me that it failed because of an SHTF error...
Here's the error log:
Decompiling framework-res.apk UOT-10-17-20-12-1
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: Coordinate out of bounds!
at sun.awt.image.ByteInterleavedRaster.setDataElements(ByteInterleavedRaster.java:546)
at java.awt.image.BufferedImage.setRGB(BufferedImage.java:988)
at brut.androlib.res.decoder.Res9patchStreamDecoder.drawHLine(Res9patchStreamDecoder.java:93)
at brut.androlib.res.decoder.Res9patchStreamDecoder.decode(Res9patchStreamDecoder.java:53)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:34)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:73)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238)
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)
Decompiling SystemUI.apk UOT-10-17-20-12-1
I: Framework installed to: /root/apktool/framework/1.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_on.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_off.9.png". Renaming it to *.png.
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Compiling framework-res.apk UOT-10-17-20-12-1
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:183)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
Click to expand...
Click to collapse
Nico3d3 said:
So, I tried to use UOT kitchen to add battery percentage to my phone. I have StockRom evolution because it's the fastest ROM and it my battery last longer with it but I'd like to be able to modify it with UOT kitchen. I tried to upload framework-res.apk, SystemUI.apk and twframework-res.apk from the phone to the Kitchen but then, when I try to pick up the completed file, it tells me that it failed because of an SHTF error...
Here's the error log:
Click to expand...
Click to collapse
Looks lie that you have two errors, the first is that in:
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_on.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-mdpi/status_bar_close_off.9.png". Renaming it to *.png.
You have to change the extension to png image and second, you have added java to the Path environment variable.
Toyerd24 said:
You have to change the extension to png image and second, you have added java to the Path environment variable.
Click to expand...
Click to collapse
I solved the 9patch chunk error using xUltimate-9patch, now I just have to solve the Java error. I'm still trying to find out how to add the path environment variable...
How do I restore the original statusbar from a modified ROM?

Categories

Resources