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?
Okay so I changed the color of text in framework-res.apk and I can't compile it, I get an error and it tells me to read the log. I was wondering if I could compile it with another apk, or the same one ignoring the errors and just drag and drop the xml that's changed into the original .apk .
Sent from my SPH-D700
Well... First you should try and see if the apk compiles before you even edit it and see if the problem is with the apk in general.
Sent from my SPH-D700 using XDA App
deano0714 said:
Well... First you should try and see if the apk compiles before you even edit it and see if the problem is with the apk in general.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Changed or not it gives me an error
Sent from my SPH-D700
ac16313 said:
Changed or not it gives me an error
Sent from my SPH-D700
Click to expand...
Click to collapse
Ok... Open it with 7zip before decompiling and grab some stock images from a different famework and throw them in there and overwrite all the ones that are already in there..
Sent from my SPH-D700 using XDA App
deano0714 said:
Ok... Open it with 7zip before decompiling and grab some stock images from a different famework and throw them in there and overwrite all the ones that are already in there..
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
overwrite all of them? and stock as in hasnt been changed by me or stock as in no changes at all? sorry i want to get this right
ac16313 said:
overwrite all of them? and stock as in hasnt been changed by me or stock as in no changes at all? sorry i want to get this right
Click to expand...
Click to collapse
Well... All of the stock images but leave any battery images in there if you have the % mod becaise that will make it fail if you dont have all the 100 battery images but you have the battery mod built in the framework already.
Sent from my SPH-D700 using XDA App
deano0714 said:
Well... All of the stock images but leave any battery images in there if you have the % mod becaise that will make it fail if you dont have all the 100 battery images but you have the battery mod built in the framework already.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Okay ill try right now thanks for the feedback btw
Sent from my SPH-D700
Or just read the log. It will tell you exactly what the error is.
shane6374 said:
Or just read the log. It will tell you exactly what the error is.
Click to expand...
Click to collapse
well if you want to tell me what the error is since i have no idea.
here
Could Not Find C:\Users\alex\Desktop\apk manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedframework-res.apk
Could Not Find C:\Users\alex\Desktop\apk manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedframework-res.apk
I: Loading resource table...
I: Decoding resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg_dual.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zoom_plate.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/statusbar_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_app_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_clockbg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_dualclock_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/frame_gallery_thumb.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg.9.png". Renaming it to *.png.
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\res\drawable-hdpi\frame_gallery_thumb.9.png
\drawable-hdpi\zzz_unlock_dualclock_bg.9.png
C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:3216: error: Public symbol drawable/activity_title_bar declared here is not defined.
C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2966: error: Public symbol drawable/app_icon_background declared here is not defined.
symbol drawable/zzzzzz_ic_lock_data_enable declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Alex\AppData\Local\Temp\APKTOOL3860616794730489257.tmp, -x, -S, C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\res, -M, C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Alex\AppData\Local\Temp\APKTOOL3860616794730489257.tmp, -x, -S, C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\res, -M, C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
(goto was unexpected at this time.
Click to expand...
Click to collapse
i didnt paste the whole thing just parts but the rest is just repeating what i pasted but for different files.
Oh wow you got issues.
A bunch of malformed .9.pngs here:
Code:
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg_dual.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zoom_plate.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/statusbar_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_app_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_clockbg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_dualclock_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/frame_gallery_thumb.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg.9.png". Renaming it to *.png.
It also looks like you might have removed indentifiers in a couple xml files here:
Code:
C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:3216: error: Public symbol drawable/activity_title_bar declared here is not defined.
C:\Users\alex\Desktop\apk manager\other\..\projects\framework-res.apk\res\values\public.xml:2966: error: Public symbol drawable/app_icon_background declared here is not defined.
Also looks like you cut some needed information to read a couple of the errors.
shane6374 said:
Oh wow you got issues.
A bunch of malformed .9.pngs here:
It also looks like you might have removed indentifiers in a couple xml files here:
Also looks like you cut some needed information to read a couple of the errors.
Click to expand...
Click to collapse
Lol seriously? so much things wrong ?
for the record im trying to edit the Orange Eternity Theme, based off of maddogins 6 lockscreen mod, so far we've just themed the pngs and we havent touched anything else, and im the only one who has touched the .9.png's . what are "malformed pngs"?
heres the entire log
http://dl.dropbox.com/u/34973891/log.txt
ac16313 said:
Lol seriously? so much things wrong ?
for the record im trying to edit the Orange Eternity Theme, based off of maddogins 6 lockscreen mod, so far we've just themed the pngs and we havent touched anything else, and im the only one who has touched the .9.png's . what are "malformed pngs"?
heres the entire log
http://dl.dropbox.com/u/34973891/log.txt
Click to expand...
Click to collapse
Ok, here's the issue when editing a themed apk. Certain .9.png images can be added and made to work that don't have the 1 pixel black marks on the edge of the image when you decompile. When you try to recompile the apk, this will cause errors. Normally you can see these when you decompile the theme because you will have a 2 files with the same name, but one will have the extention .9.png and be blank, the other will be .png and show the image.
Edit: Fix these images:
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg_dual.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zoom_plate.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/statusbar_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_app_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_clockbg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_dualclock_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/frame_gallery_thumb.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg.9.png". Renaming it to *.png.
If you don't know what to do to fix these, read Dreamsforgotten's guide where he explains working with .9.png's.
shane6374 said:
Ok, here's the issue when editing a themed apk. Certain .9.png images can be added and made to work that don't have the 1 pixel black marks on the edge of the image when you decompile. When you try to recompile the apk, this will cause errors. Normally you can see these when you decompile the theme because you will have a 2 files with the same name, but one will have the extention .9.png and be blank, the other will be .png and show the image.
Edit: Fix these images:
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg_dual.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zoom_plate.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/statusbar_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_yellow.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_app_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_clockbg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_right_end_confirm_red.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/jog_tab_bar_left_end_confirm_green.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_dualclock_bg.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/status_bar_item_background_normal.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/frame_gallery_thumb.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/zzz_unlock_blackbg.9.png". Renaming it to *.png.
If you don't know what to do to fix these, read Dreamsforgotten's guide where he explains working with .9.png's.
Click to expand...
Click to collapse
So to get rid of the errors I have to fix those .pngs ? Using the 9patch tool right?
Sent from my SPH-D700
ac16313 said:
So to get rid of the errors I have to fix those .pngs ? Using the 9patch tool right?
Sent from my SPH-D700
Click to expand...
Click to collapse
That's one of the better ways.
shane6374 said:
That's one of the better ways.
Click to expand...
Click to collapse
the way ive been editing those images has just been through gimp and the exporting them in eclipse as is, without using 9patch tool. is that bad?
ac16313 said:
the way ive been editing those images has just been through gimp and the exporting them in eclipse as is, without using 9patch tool. is that bad?
Click to expand...
Click to collapse
I edit them in photoshop without the 9patch tool all the time. But if you are compiling the image with eclipse, then puting them in to apkmangaer to compile the whole apk, there's your issue.
Sent from the Epic Dark Horse via Tapatalk
ac16313 said:
Okay so I changed the color of text in framework-res.apk and I can't compile it, I get an error and it tells me to read the log. I was wondering if I could compile it with another apk, or the same one ignoring the errors and just drag and drop the xml that's changed into the original .apk .
Sent from my SPH-D700
Click to expand...
Click to collapse
I had this same problem going from froyo to gingerbread. You need to update the framework. Chris41G gave me these instructions. After updating the framework no more errors.
"you should have a folder.. probably in your user folder in windows... c:\Users\XXXX\apktool\
that has 1.apk 2.apk and various others...
delete those.
then copy systemui.apk, framework-res.apk, and twframework-res.apk to some other directory on your drive
from that folder run, apktool if systemui.apk
apktool if twframework-res.apk
apktool if framework-res.apk"
Sent from my SPH-D700 using XDA Premium App
shane6374 said:
I edit them in photoshop without the 9patch tool all the time. But if you are compiling the image with eclipse, then puting them in to apkmangaer to compile the whole apk, there's your issue.
Sent from the Epic Dark Horse via Tapatalk
Click to expand...
Click to collapse
I wouldn't compile the apk after editing and compiling the .9.pngs with eclipse I would just drag and drop from the eclipse apk to the theme.
Sent from my SPH-D700
crawrj said:
I had this same problem going from froyo to gingerbread. You need to update the framework. Chris41G gave me these instructions. After updating the framework no more errors.
"you should have a folder.. probably in your user folder in windows... c:\Users\XXXX\apktool\
that has 1.apk 2.apk and various others...
delete those.
then copy systemui.apk, framework-res.apk, and twframework-res.apk to some other directory on your drive
from that folder run, apktool if systemui.apk
apktool if twframework-res.apk
apktool if framework-res.apk"
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Its actually a froyo theme, so would this still apply?
Sent from my SPH-D700
ac16313 said:
Its actually a froyo theme, so would this still apply?
Sent from my SPH-D700
Click to expand...
Click to collapse
Oh ok I apologize. I made an assumtion that because you couldn't compile an apk that you didn't change you were having the same issue as me. If you are theming a Froyo framework-res.apk than you wouldn't need to change frameworks unless you have already changed them to work on Gingerbread. If that is the case you would have to change it back to Froyo.
Hello ,
I want to install this mod -- > http://forum.xda-developers.com/showthread.php?t=1695202
I decompiled SystemUI.apk and changed bools.xml by Notepad. And I returned script.bat and I selected Compile apk. But error. I tried lots of apk manager but error.
On Notepad , need changed Coding / Character Group ??
If I open apk manager and I saw ADB not found. But apk manager is working , I selected decompile apk , Apk manager decompiled systemUI.apk but I can't compile apk. Thank you..
Arnadel said:
Hello ,
I want to install this mod -- > http://forum.xda-developers.com/showthread.php?t=1695202
I decompiled SystemUI.apk and changed bools.xml by Notepad. And I returned script.bat and I selected Compile apk. But error. I tried lots of apk manager but error.
On Notepad , need changed Coding / Character Group ??
If I open apk manager and I saw ADB not found. But apk manager is working , I selected decompile apk , Apk manager decompiled systemUI.apk but I can't compile apk. Thank you..
Click to expand...
Click to collapse
Try Notepad++, post here the log of compiling error
Sent from my GT-I9100 using XDA
xator91 said:
Try Notepad++, post here the log of compiling error
Sent from my GT-I9100 using XDA
Click to expand...
Click to collapse
I'm using Notepad++ but I can't compile apk. Where is Error Compiling ?
This problem in adb ?
If I open apk manager , adb not found..
In your apk manager folder there will be a log.txt
Attach that here and someone will be able to help you
Sent from my GT-I9100 using xda premium
Have you installed your framework?? im guessing no.
Have you checked the log to see if you have decompile errors? if you have errors decompiling you will have errors compiling.
Simply posting "elp, my apk won compil" without a log isnt good enough. There could be all kinds of reasons why it wont compile.
Post your log.txt like mikey suggested and then people can see the problem.
Apkmanager isnt a a tool that you can just pick up and play, you require a bit of knowledge how it works, a simple search will tell you all you need to know how to use it, here's one:
http://forum.xda-developers.com/showpost.php?p=23479136&postcount=179
dully79 said:
Have you installed your framework?? im guessing no.
Have you checked the log to see if you have decompile errors? if you have errors decompiling you will have errors compiling.
Simply posting "elp, my apk won compil" without a log isnt good enough. There could be all kinds of reasons why it wont compile.
Post your log.txt like mikey suggested and then people can see the problem.
Apkmanager isnt a a tool that you can just pick up and play, you require a bit of knowledge how it works, a simple search will tell you all you need to know how to use it, here's one:
http://forum.xda-developers.com/showpost.php?p=23479136&postcount=179
Click to expand...
Click to collapse
Log ;
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Users\HP\Desktop\Galaxy S II\APK Dzenleme\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSecBrowser.apk not found
C:\Users\HP\Desktop\Galaxy S II\APK Dzenleme\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSecBrowser.apk not found
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Have you tried using this apk manager?
If you haven't, give that a try...if that doesn't work search for 'bad magic value' there's lots of info on here to help you deal with that error
Arnadel said:
Log ;
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Users\HP\Desktop\Galaxy S II\APK Dzenleme\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/signedSecBrowser.apk not found
C:\Users\HP\Desktop\Galaxy S II\APK Dzenleme\APK Manager\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSecBrowser.apk not found
I: Baksmaling...
Exception in thread "main" java.lang.RuntimeException: bad magic value: 64 65 78 0a 30 33 36 00
at org.jf.dexlib.DexFile.<init>(DexFile.java:377)
at org.jf.dexlib.DexFile.<init>(DexFile.java:274)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:48)
at brut.androlib.src.SmaliDecoder.decode(SmaliDecoder.java:33)
at brut.androlib.Androlib.decodeSourcesSmali(Androlib.java:68)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:85)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Click to expand...
Click to collapse
A google search turns this up:
http://rootzwiki.com/topic/24894-patch-one-apktool-to-rule-them-all/
What apktool version is in apkmanager?
Open up the script and type "23"
If you use the wrong apktool you will recieve errors
1.4.2
HTML:
Could Not Find D:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedContacts.apk
Could Not Find D:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedContacts.apk
I: Baksmaling...
I: Loading resource table...
W: Config flags size > 32. Exceeding bytes: -29FF0000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR0
W: Config flags size > 32. Exceeding bytes: -17FD0000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR1
W: Config flags size > 32. Exceeding bytes: -17FD0000.
W: Invalid config flags detected. Dropping resources: layout-v13-ERR2
W: Config flags size > 32. Exceeding bytes: -29FF0000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR3
W: Config flags size > 32. Exceeding bytes: -17FD0000.
W: Invalid config flags detected. Dropping resources: dimen-v13-ERR4
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f080004 dimen/editor_round_button_padding_left, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
1.4.3
HTML:
Could Not Find D:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedContacts.apk
Could Not Find D:\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedContacts.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\Administrator\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
You can get a program called xdaautotool which lets you select which apktool to decompile/compile with.
Or
If you like apkmanager here is my modified version that allows you to use v1.4.2 and v1.4.3
{
"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"
}
I'm using 5.0.2 Apk Manager..
Wanam's apk manager log , error ;
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Users\HP\Desktop\Yeni klas”r (3)\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk Bulunamad
C:\Users\HP\Desktop\Yeni klas”r (3)\Apk_Manager_ICS\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk Bulunamad
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\HP\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/jkay_statusbar_background.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_plmn_bg.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.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_quickpanel_title_background.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030305
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)
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.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:128)
at brut.apktool.Main.main(Main.java:65)
dully79 's apk manager ICS Log , error (1.4.2)
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Users\HP\Desktop\Yeni klas”r (2)\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk Bulunamad
C:\Users\HP\Desktop\Yeni klas”r (2)\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk not found
I: Baksmaling...
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x7f0a000e dimen/status_bar_icon_drawing_size, config=-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
(1.4.3)
java version "1.7.0_05"
Java(TM) SE Runtime Environment (build 1.7.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.1-b03, mixed mode)
C:\Users\HP\Desktop\Yeni klas”r (2)\place-apk-here-for-modding\../place-apk-here-for-modding/signedSystemUI.apk Bulunamad -- (not found)
C:\Users\HP\Desktop\Yeni klas”r (2)\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedSystemUI.apk Bulunamad -- (not found)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\HP\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x01030305
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/jkay_statusbar_background.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.
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_quickpanel_title_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/tw_plmn_bg.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01030305
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:55)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:51)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:59)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:43)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:315)
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.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:128)
at brut.apktool.Main.main(Main.java:65)
Have you installed TW framework??
Have you installed Jkays framework??
If no then install it.
Also, always try and decompile a UN MODIFIED apk.
That means straight out of the Rom zip into the modifying folder with no themes flashed over. This will help eliminate errors.
---------- Post added at 03:12 PM ---------- Previous post was at 03:06 PM ----------
Here's XdaAutoTool
http://forum.xda-developers.com/showthread.php?t=1053227
---------- Post added at 03:21 PM ---------- Previous post was at 03:12 PM ----------
Have you renamed your SystemUI.apk to
SystemUI.apk Bulunamad
???
dully79 said:
Have you installed TW framework??
Have you installed Jkays framework??
If no then install it.
Also, always try and decompile a UN MODIFIED apk.
That means straight out of the Rom zip into the modifying folder with no themes flashed over. This will help eliminate errors.
---------- Post added at 03:12 PM ---------- Previous post was at 03:06 PM ----------
Here's XdaAutoTool
http://forum.xda-developers.com/showthread.php?t=1053227
---------- Post added at 03:21 PM ---------- Previous post was at 03:12 PM ----------
Have you renamed your SystemUI.apk to
SystemUI.apk Bulunamad
???
Click to expand...
Click to collapse
I want to edit modified apk ? :/ How can I ?
How can I install tw framework , jkays framework , framework-res ?
Bulunamad = not found.
Arnadel said:
I want to edit modified apk ? :/ How can I ?
How can I install tw framework , jkays framework , framework-res ?
Bulunamad = not found.
Click to expand...
Click to collapse
Put your systemui.apk and framework-res.apk in this thread. Maybe I (other people) can do it for you.
im trying to decompile my mms.apk and i keep getting an error
heres the log
I hope this is the right section didnt know where to post in here or Q & A
--------------------------------------------------------------------------
|Fri 11/23/2012 -- 22:01:21.49|
--------------------------------------------------------------------------
'mode' is not recognized as an internal or external command,
operable program or batch file.
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
Could Not Find C:\Users\the\Desktop\New folder\place-apk-here-for-modding\../place-apk-here-for-modding/signedMms.apk
Could Not Find C:\Users\the\Desktop\New folder\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedMms.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\the\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=uiOptions, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=parentActivityName, value=0x00000041
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)
I tried to Change things in SystemUI.apk from LineageOS 14.1. I only made two changes in Colors.xml but when i tried to Recompile it, this Error comes up:
Code:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2139: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2140: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2145: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2155: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2258: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.DeviceDefault.Settings.Dark'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2365: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.DeviceDefault.Settings.Dark'.
I tried to Recompile it without changing anything but i got the same Errors. I need help
S5AndroidUser said:
I tried to Change things in SystemUI.apk from LineageOS 14.1. I only made two changes in Colors.xml but when i tried to Recompile it, this Error comes up:
Code:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2139: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2140: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2145: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2155: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/TextAppearance.StatusBar'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2258: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.DeviceDefault.Settings.Dark'.
W:
W: C:\Users\nicom\Desktop\Sonstiges\LineageOS\New\SystemUI\res\values\styles.xml:2365: error: Error retrieving parent for item: No resource found that matches the given name '@android:style/Theme.DeviceDefault.Settings.Dark'.
I tried to Recompile it without changing anything but i got the same Errors. I need help
Click to expand...
Click to collapse
This question belongs on the Apktool thread here:
http://forum.xda-developers.com/showthread.php?t=1755243
Please post it there...
Peace and Love!
Peace and Love!
~Ringo Starr~
Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...
********************************************
**IF I WAS HELPFUL IN ANY WAY THEN**
**PLZ THANK ME WITH A THUMBS UP!**
********************************************