I'm having a huge headache with sense and theming.
The two things I'm primary trying to do are theme my dialer (phone.apk) and invert the settings.apk
I'm using win 7 and apktool 1.5.2 (which is the only version of apktool that won't error installing htc.resources.apk)
The main problem i have is with recompiling phone.apk. I keep getting this error:
I've found a little info on the error, but nothing that seems straight forward (to me)
HTC One SV
Android 4.2.2
Sense 5
________________________________
My other problem. i haven't been able to find a single relevant guide to theme htc settings.
it looks like this:
I'm going for this:
(minus the inverted icons)
I have basic theming skills. I'm ok with Photoshop. I can edit nine patch. I'm ok with xml, etc.
I've tried editing several images inside settings.apk and htc.resources.apk but none of the changes have any effect on the app.
The two things I'm primary trying to do are theme my dialer (phone.apk) and invert the settings.apk
I'm using win 7 and apktool 1.5.2 (which is the only version of apktool that won't error installing htc.resources.apk)
The main problem i have is with recompiling phone.apk. I keep getting this error:
Java:
I: Smaling...
I: Building resources...
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-da\strings.xml:757: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-da\strings.xml:758: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-es\strings.xml:762: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-es\strings.xml:763: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-es-rUS\strings.xml:768: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-es-rUS\strings.xml:769: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-it\strings.xml:761: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-it\strings.xml:762: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-nb\strings.xml:757: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-nb\strings.xml:758: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-ru\strings.xml:762: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-ru\strings.xml:763: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-sv\strings.xml:757: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-sv\strings.xml:758: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-zh-rHK\strings.xml:758: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-zh-rHK\strings.xml:758: error: Unexpected end tag string
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-zh-rTW\strings.xml:808: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
C:\Apktool\_WorkArea1\_working\Phone.apk\res\values-zh-rTW\strings.xml:808: error: Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, -F, C:\Users\Admin\AppData\Local\Temp\APKTOOL2324115614863780270.tmp, -0, arsc, -I, C:\Users\Admin\apktool\framework\1.apk, -I, C:\Users\Admin\apktool\framework\2.apk, -S, C:\Apktool\_WorkArea1\_working\Phone.apk\res, -M, C:\Apktool\_WorkArea1\_working\Phone.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
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.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, -F, C:\Users\Admin\AppData\Local\Temp\APKTOOL2324115614863780270.tmp, -0, arsc, -I, C:\Users\Admin\apktool\framework\1.apk, -I, C:\Users\Admin\apktool\framework\2.apk, -S, C:\Apktool\_WorkArea1\_working\Phone.apk\res, -M, C:\Apktool\_WorkArea1\_working\Phone.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, -F, C:\Users\Admin\AppData\Local\Temp\APKTOOL2324115614863780270.tmp, -0, arsc, -I, C:\Users\Admin\apktool\framework\1.apk, -I, C:\Users\Admin\apktool\framework\2.apk, -S, C:\Apktool\_WorkArea1\_working\Phone.apk\res, -M, C:\Apktool\_WorkArea1\_working\Phone.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
I've found a little info on the error, but nothing that seems straight forward (to me)
HTC One SV
Android 4.2.2
Sense 5
________________________________
My other problem. i haven't been able to find a single relevant guide to theme htc settings.
it looks like this:
I'm going for this:
(minus the inverted icons)
I have basic theming skills. I'm ok with Photoshop. I can edit nine patch. I'm ok with xml, etc.
I've tried editing several images inside settings.apk and htc.resources.apk but none of the changes have any effect on the app.
Last edited: