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~~~~~~~~
Related
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
Ok Sony doesn't have the 1% step in battery icons and charging icons.
I want to personally mod the SystemUI.apk to have that 1% percent icon steps.
So, I already put more than 200 icons in res/drawable-xhdpi named stat_sys_battery_xx and stat_sys_battery_charge_anim_xx both from 0 to 100.
Edited the stat_sys_battery and stat_sys_battery_charge xml files.
I also edited the public.xml to declare the drawable icons there but I still have compiling error that the drawable path is not specified.
Any inputs guys?
Tapatalked from my TX
What exactly have you done?
Here's what i do using apkmanager:
Decompile systemui.apk
Add pngs
Edit stat_sys_battery.xml and stat_sys_battery_charge.xml
Delete public.xml, it will regenerate like Dr Who
Compile choosing system apk and answer yes and yes
Check log for errors
Install
:good:
Edit: BTW i bet if you delete public.xml and try again it works.
@dully79,
1.decompile
2.placed the icons in /drawable-xhdpi, edit stat_sys_battery and stat_sys_battery_charge xml's
3.delete public.xml in /res/values folder
4.compile,
5.answer, yes, and on the "keep" folder i deleted resources.arsc, the stat_sys_battery and stat_sys_battery_charge xml's (just curious why no values folder there
6.enter
--------------------------------
--------------------------------------------------------------------------
|Sat 04/13/2013 -- 11:22:45.26|
--------------------------------------------------------------------------
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
--------------------------------------------------------------------------
|Sat 04/13/2013 -- 11:25:20.95|
--------------------------------------------------------------------------
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
^C--------------------------------------------------------------------------
|Sat 04/13/2013 -- 11:26:43.90|
--------------------------------------------------------------------------
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Ry\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
The system cannot find the file specified.
The directory is not empty.
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
'EVHO' is not recognized as an internal or external command,
operable program or batch file.
Press any key to continue . . .
Seems no error but when I tried to decompile it to make sure it is really ok, a lot of errors came out:
...........................................
...........................................
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x7f020135
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x7f020135
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x7f0200fc
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:50)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:61)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:47)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:45)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:351)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
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$1.event(XmlPullStreamDecoder.java:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:285)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:146)
at brut.apktool.Main.main(Main.java:77)
Press any key to continue . . .
Values gets compiled into resources.arsc. And vice versa.
Did the new SystemUI work?
Have you installed SystemUI?
You could use tickle my Android, the main man Timin8r told me about that.
dully79 said:
Values gets compiled into resources.arsc. And vice versa.
Did the new SystemUI work?
Have you installed SystemUI?
You could use tickle my Android, the main man Timin8r told me about that.
Click to expand...
Click to collapse
I haven't.
I'll try when I get home.
Tapatalked from my TX
use these XMLs which i edited today for reference
it works on my odex TX
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"?
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
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?