[Q] Theming ..failing .. errors..Help please..(SOLVED!!)
ok ... so I used to theme a little on the mytouch 4G. I used APK Manager along with eclipse... no issues at all.
But I am wondering now that I have a samsung phone .. how the heck are people doing it??? It seems like the apk manager (4.9 and 5.0.2) is just giving me errors... mainly stuck on the one where I decompile and then compile .. it tells me You must install proper framework files error 2.
*EDIT* THIS IS WHERE IT WENT WRONG!
Quote:
I have placed the framework-res.apk it in the "other" folder and opened the command there and typed in "apktool if framework-res.apk" and it says that it has installed it to the C:\.. blah blah .. I check and it is there. BUT I STILL get that error message.
*Edit* it was the wrong damn apk file!!
|
So if anyone has any freaking Idea how to solve this .. I would appreciate it.
also .. if i place the apk file in the folder with the apktool files and I run the command from there I can decompile and compile the apk using the commands "apktool d Googlequicksearchbox.apk" and the "apktool b googlequicksearchbox.apk" then I can take the apk out of the dist folder and into the apk manager to sign .. this process suuucks and is a pain to do over and over .. so the story is that the apktool seems to work .. but for whatever reason the errors happen when I use the apk manager .. which uses the apktool .. odd.
I am on windows 7 ultimate X64
I do have the Java SE JDK 7 (64 bit)
I do have the latest SDK (all of it was downloaded yesterday .. and then reinstalled today)
I have added the "adb" Path to user enviroments.
I have added the Java path to the JDK to the "path" in system enviroments.
I have the Drivers installed
I can run the adb commands from the standard terminal thru sdktools
SOLUTION:
Quote:
DO NOT pull the framework-res.apk ..
instead pull the /system/framework/twframework-res.apk
then place the twframework-res.apk into the "other" folder in apk manager and open a command prompt on that "other" folder by using the shift+right click.
then in the terminal type in "apktool if twframework-res.apk"
it should say that it has installed to C:\something here
that should do it there!
|
This is going to get long (decompile and Compile Logs) .. the LOG when I try and Decompile something:
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Owner\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02090015
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02090015
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02090015
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02090015
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02090015
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060004
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060004
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060090
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0206001b
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0206001b
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0206001b
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060001
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemText, value=0x7f090098
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemText, value=0x7f09006a
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060090
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=shadowColor, value=0x02060001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x0206001c
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemText, value=0x7f090098
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemType, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemText, value=0x7f09006a
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060090
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060001
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0202009c
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0202009c
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060001
W: Could not decode attr value, using undecoded value instead: ns=android, name=color, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemStyle, value=0x02010022
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemText, value=0x7f090101
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemStyle, value=0x02010022
W: Could not decode attr value, using undecoded value instead: ns=touchwiz, name=twSoftkeyItemText, value=0x7f09006a
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060000
W: Could not decode attr value, using undecoded value instead: ns=android, name=shadowColor, value=0x02060001
W: Could not decode attr value, using undecoded value instead: ns=android, name=textColor, value=0x02060090
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
I: Decoding values*/* XMLs...
=======================================
and when I try to compile it:
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java: 142)
at brut.androlib.Androlib.build(Androlib.java:159)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Abst ractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java: 138)
... 4 more
thing that confuses me here is the "Pathnoexist: apktool.yml" .. well it all confuses me actually