[Project] Translating AEDesign rom - Legend Android Development

Translation is ongoing at http://aenglish.tk

tobbeson said:
**Not sure if its the right place to post**
I've been tinkering with the AeDesign rom to try to translate it i have successfully translated the strings from weather.apk though it needs to be compiled to an apk again theres where I'm stuck.
i will post the apk & string here to see if someone can work this out
Click to expand...
Click to collapse
Someone please help to get this recompiled as an app, lol. This is so cool.
---------- Post added at 12:25 PM ---------- Previous post was at 12:24 PM ----------
Will you be trying to translate the entire rom, or each of the apk's? I would love to get the full rom on my HTC Evo 4G!

The Batman said:
Someone please help to get this recompiled as an app, lol. This is so cool.
---------- Post added at 12:25 PM ---------- Previous post was at 12:24 PM ----------
Will you be trying to translate the entire rom, or each of the apk's? I would love to get the full rom on my HTC Evo 4G!
Click to expand...
Click to collapse
This rom is so awesome that i just must translate it xD but i can't find out how to compile it.
visit Aenglish.tk there we can take the discussion further about translating the whole rom

Download apktool and you have to do few steps:
1. Decompile the .apk with this command:
Code:
apktool d -s FILENAME.apk
2. Open folder Values and edit/copy Strings.xml
3. Compile back the file with:
Code:
apktool b FOLDERNAME
With the -S switch you will decompile only the resources.arsc (which contains the Values folders) and the classes.dex will remain untouched.

Thanks ogo though i get these messages
Code:
Last login: Sat Oct 1 10:08:00 on ttys000
Tobiass-MacBook:~ Tobias$ cd desktop
Tobiass-MacBook:desktop Tobias$ cd 1
Tobiass-MacBook:1 Tobias$ apktool d -s Weather.apk
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: /Users/Tobias/apktool/framework/1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=contactWidth, value=0x00009601
W: Could not decode attr value, using undecoded value instead: ns=android, name=contactEdtTextSize, value=0x00001002
W: Could not decode attr value, using undecoded value instead: ns=android, name=contactEdtHint, value=0x7f070012
W: Could not decode attr value, using undecoded value instead: ns=android, name=contactEdtTextpaddingLeft, value=0x00002301
I: Decoding values*/* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010102d5
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.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)
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.decoder.ResFileDecoder.decode(ResFileDecoder.java:86)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:132)
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)
Tobiass-MacBook:1 Tobias$ apktool b Weather
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(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
Tobiass-MacBook:1 Tobias$

That's because you have to import a framework with this command:
For Sense apps:
Code:
apktool if PATH:\com.htc.resources.apk
For some other apps:
Code:
apktool if PATH:\framework-res.apk
or
Both of them for some apps.

That rom looks nice! Looking forward to see it on my legend

Related

[Q] Decompiling apk using apktool, weird error

Hey guys..
I am trying to modify DialerTabActivity.apk and Contacts.apk..
When I decompile it using apktool.. it gives me weird error -
Code:
E:\GalaxyS\AppDev\apktool>apktool d -f DialerTabActivity.apk DialerTabActivity
I: Baksmaling...
I: Loading resource table...
I: Decoding resources...
I: Loading resource table from file: C:\Users\Rahulrulez\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=
color, value=0x02050097
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
textColor, value=0x0205009a
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
I've installed the proper framework-res.apk but still ti is giving me the same error..
Don't know what's wrong with apktool..
Please help me..
Because it has a twframework-res dependancy
Look for the syntax for depedancies or use apk manager and decompile with option 11
Then drag twframework-res (deodexed) into the window
Fyi : Wrong section

apktool decompile/compile errors

Ok, i'm having some issues with apktool.
I've installed sdk (Ubuntu)
now when i decompile for example Settings.apk:
java -Xmx512m -jar apktool.jar d Settings.apk somefolder i get this:
Code:
java -Xmx512m -jar /usr/local/bin/apktool.jar d Settings.apk out
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Decoding resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_settings_ind_on_r.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_focus_c.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102023c
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_settings_ind_on_c.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102023c
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_focus_r.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_settings_ind_on_l.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_press_c.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_focus_l.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_press_r.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_press_l.9.png". Renaming it to *.png.
[B]Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300a3[/B]
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
So just try to edit a file anyway...
Now when building the apk i get:
Code:
java -Xmx512m -jar /usr/local/bin/apktool.jar b
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(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.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Unknown Source)
... 5 more
I'm really new to this sort of things, so i really don't know why this is happening...
Maybe someone can give me a hint or 2
compiling & decompiling with apkmanager on win7x64 works for me ...
i installed sdk & JDK (Java development kit) and set the path variables in windows ...
haven´t tried apktool yet ...
Ok, so maybe i have to use windows for this , luckily i have a dualboot
I suppose that you decompile with dependencies...?
settings.apk is depended from framework-res.apk.
I dont know how apk manager works on linux but in windows after you choose "10"(decompile with dependencies) it ask you for the depended apk and all you have to do is to drag and drop framework-res.apk on the cmd window..
Hope i helped
ageloskalp said:
I suppose that you decompile with dependencies...?
settings.apk is depended from framework-res.apk.
I dont know how apk manager works on linux but in windows after you choose "10"(decompile with dependencies) it ask you for the depended apk and all you have to do is to drag and drop framework-res.apk on the cmd window..
Hope i helped
Click to expand...
Click to collapse
I tried that, but it show me the error that it's not the dependee file:
Code:
"Sorry thats not the dependee apk, try again"
Drag the dependee apk in this window or type its path
Example to decompile Rosie.apk, drag com.htc.resources.apk in this window
Type input:
I use the Settings.apk and the framework-res.apk from the same rom, so i don't know why this doesn't work...
mine has no problem with the framework-res.apk.
I am sorry that it didnt work...!
Settings and framework-res.apk are from your rom and if yes from which one?So i can try and see if i have the same problem
ageloskalp said:
mine has no problem with the framework-res.apk.
I am sorry that it didnt work...!
Settings and framework-res.apk are from your rom and if yes from which one?So i can try and see if i have the same problem
Click to expand...
Click to collapse
Currently i'm trying it with my latest release: Slick2X-G V2.4 download
OK.
That rom is CM based so the settings arent depended only from framework-res.apk but from systemui.apk also.
Put both apks(framework-res.apk and systemui.apk) in the apk managers /other folder.
Then open a command window and go to /other folder(we want that because there is the apktool.jar).
Write those lines:
java -jar apktool.jar if framework-res.apk
java -jar apktool.jar if SystemUI.apk
Then close cmd,open script choose project and just decompile(choose 9 no 10).
Let me know if that worked for you
ageloskalp said:
OK.
That rom is CM based so the settings arent depended only from framework-res.apk but from systemui.apk also.
Put both apks(framework-res.apk and systemui.apk) in the apk managers /other folder.
Then open a command window and go to /other folder(we want that because there is the apktool.jar).
Write those lines:
java -jar apktool.jar if framework-res.apk
java -jar apktool.jar if SystemUI.apk
Then close cmd,open script choose project and just decompile(choose 9 no 10).
Let me know if that worked for you
Click to expand...
Click to collapse
Thanks, but it's not working....
This is the error log: log
Very weird I tried with your files and everything worked just fine.the most of your log is about .9 pngs errors witch is very common while decompiling framework -res.Apk but no with settings.apk.one last advice.delete settings.apk from projects, remove all apks from modification folder except settings.apk do what I told you on previous post.
Sent from my Optimus 2X using Tapatalk
ageloskalp said:
Very weird I tried with your files and everything worked just fine.the most of your log is about .9 pngs errors witch is very common while decompiling framework -res.Apk but no with settings.apk.one last advice.delete settings.apk from projects, remove all apks from modification folder except settings.apk do what I told you on previous post.
Sent from my Optimus 2X using Tapatalk
Click to expand...
Click to collapse
Well this is weird, still no luck. Really don't know what i'm doing wrong...
this is the solution for ubuntu users
http://forum.xda-developers.com/showthread.php?t=2119543
I have The same problem!
Inviato dal mio GT-N7100 usando Tapatalk 4

[Q] Change statusbar clock color (CyanogenMod 9 - V02)

Hi,
I'm trying to change the statusbar clock color of Paul-xxx's rom CyanogenMod 9 - V02. Well I got sucess to edit the PNG files of SystemUI.apk, but when I try to decompile the SystemUI to edit the res\values\styles.xml (according to my search I think this is where I find the value to edit the clock color), i get the following error:
Code:
C:\ics framework>apktool d -f SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Documents and Settings\SV\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=label, value=0x01040405
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302ee
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010302fc
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=interpolator, value=0x010c0008
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010804b2
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010804b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x0108051f
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x0101030e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x010301ea
W: Could not decode attr value, using undecoded value instead: ns=android, name=exitFadeDuration, value=0x010e0001
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010102f0
W: Could not decode attr value, using undecoded value instead: ns=android, name=alpha, value=0x3ecccccd
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x010803f6
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x010803f7
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=animateLayoutChanges, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=opacity, value=0xfffffffd
W: Could not decode attr value, using undecoded value instead: ns=android, name=state_activated, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=baseline, value=0x00001201
W: Could not decode attr value, using undecoded value instead: ns=android, name=baseline, value=0x00001201
W: Could not decode attr value, using undecoded value instead: ns=android, name=baseline, value=0x00001501
W: Could not decode attr value, using undecoded value instead: ns=android, name=baseline, value=0x00001501
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010804b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010804b6
W: Could not decode attr value, using undecoded value instead: ns=android, name=drawable, value=0x010804b6
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010301e9
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.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:264)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:137)
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)
I just installed the Apktool, so I dont know if this is the apk error or Apktool installation problem, but I followed all the steps of the installation manual (wich is very simple, I really dont think that I miss something).
Someone know how to solve that?
Thanks!
Offtopic:
I just want to share my homescreen :
{
"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"
}
------
EDIT:
Well, I think I found the problem, there was a file in the Documents and Settings folder, wich was problably created by some patcher (ZDune's or AChep's). I deleted it and I was able to decompile.
But now I need your help to figure what is wrong when I try to compile the file:
Code:
C:\ics framework>apktool b -f "C:\ics framework\SystemUI" SystemUI.apk
I: Smaling...
I: Building resources...
invalid resource directory name: C:\ics framework\SystemUI\res/drawable-sw600dp-mdpi
invalid resource directory name: C:\ics framework\SystemUI\res/layout-sw600dp
invalid resource directory name: C:\ics framework\SystemUI\res/values-sw600dp
invalid resource directory name: C:\ics framework\SystemUI\res/values-sw600dp-port
invalid resource directory name: C:\ics framework\SystemUI\res/values-sw720dp
invalid resource directory name: C:\ics framework\SystemUI\res/values-sw720dp-port
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\SV\CONFIG~1\Temp\A
PKTOOL630712022148537687.tmp, -I, C:\Documents and Settings\SV\apktool\framework\1.apk, -S, C:\ics framework\SystemUI\res, -M, C:\ics framework\SystemUI\An
droidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\DOCUME~1\SV\CONFIG~1\Temp\APKTOOL630712022148537687.tmp, -I, C:\Documents an
d Settings\SV\apktool\framework\1.apk, -S, C:\ics framework\SystemUI\res, -M, C:\ics framework\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Thanks!!!
Well, I get able to edit the apk. If someone get the same problem, this is what I did.
I installed the apktool v1.4.1, and adb, aapt from latest platform-tools from Android sdk. Then I get able to decompile and recompile the apk, but I cannot sign, so I copied the META-INF folder and AndroidManifest.xml from the original apk and pasted in the new one using winrar. Then pushed it back to the phone with adb.
Thanks and sorry for the bad english.
Offtopic:
My new homescreen, i'm very happy whit it:
Simple question :
It' s minimal widget on your home screen ? (the date)
No, it's ExtDateWidgetXL. Link
If it's any help, when compiling with apktool don't use
Code:
apktool b SystemUI.apk
use
Code:
apktool b SystemUI

[Port] Miui V4 blue for CM10

Hello, i'm porting the zdunex25's theme in blue for my personnal use (I'll ask zdunex25 for a public release)
I ever edited .png and 9.png
Now, i must edit color.xml file but when i decompil the apk, i've got an error... I can't recompil after...with apkmanager!
I need some help
Here is the theme apk : http://zdunex25.deviantart.com/art/MIUIv4-for-CM10-320827899
try asking koila33 or rellagher in pm
Thanx for the answere!
But someone can try to decompil this apk, and tell me if he got an error with apkamanager? please
For me, apk multi tool is giving such an error. I dont know why it cant decompile it..
Code:
java version "1.6.0_29"
Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)
Nie moľna odnale«† c:\APK-Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/signed_MIUIv4_CM10_by_ZduneX25.apk.
Nie moľna odnale«† c:\APK-Multi-Tool\place-apk-here-for-modding\../place-apk-here-for-modding/unsigned_MIUIv4_CM10_by_ZduneX25.apk.
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Piotrek\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036c
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080623
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x01080623
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036f
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x01080624
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036d
W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_below, value=0x0102036d
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036c
W: Could not decode attr value, using undecoded value instead: ns=android, name=src, value=0x01080623
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036e
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x01080623
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036f
W: Could not decode attr value, using undecoded value instead: ns=android, name=background, value=0x01080624
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102036d
W: Could not decode attr value, using undecoded value instead: ns=android, name=layout_below, value=0x0102036d
I: Decoding values*/* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01050052
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:57)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:53)
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.encodeAsResXmlValueExt(ResScalarValue.java:86)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlValue(ResScalarValue.java:55)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:56)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:335)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:175)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:131)
at brut.apktool.Main.main(Main.java:68)
Yes, i have the same error message... I asked Zdunex25 (who created the theme) and he told me that i do it wrong...
But I don't understand how can i get a good decompil... (I asked to the creator of apkmanager)
I need to edit colors.xml to get this result
{
"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"
}
In blue is just beautiful
Set the apk dependecy (choose decompile w/ dependencies) in the apkmanager. You can successfully decompile that way.
tantrums said:
Set the apk dependecy (choose decompile w/ dependencies) in the apkmanager. You can successfully decompile that way.
Click to expand...
Click to collapse
I tested this metheod too, but i have an error again...
APK Manager and APK Mutli Tool uses an older version of apktool. Use the new one and do it manually.
thanks xonar_ your method works!
Theme released!
emixam29 said:
thanks xonar_ your method works!
Theme released!
Click to expand...
Click to collapse
Where?
I can't do a public release now... i must ask zdunex25 before
In the week maybe
Here is a preview version, tell me if something is wrong
emixam29 said:
Here is a preview version, tell me if something is wrong
Click to expand...
Click to collapse
Install OK! but received error when tried to apply theme. This is all performed on CM10 nightly.
ERROR:
"This theme was improperly compiled and cannot be applied. Please report this incident to the theme author"
Apply the stock theme and reboot. Then apply the miui theme it should work.
New version fixed some orange color.
I now work about bubble sms color to get a better version
Looks nice.
Can you check the Music notification cause some letter is White and cant read it
very very good theme
just tried it
Nice theme, but replaces the original orange theme when installing. I'd like to have both available in the theme chooser.
[email protected] said:
Nice theme, but replaces the original orange theme when installing. I'd like to have both available in the theme chooser.
Click to expand...
Click to collapse
i want it also:good::good::good:
btw, blue is better than orange in my opinion
Nice! Needs abit of polishing etc the settings menu dialer.... but overall very nice!
Possibility of a black and blue variant with the notification toggles at the bottom like zdunes " the next level" theme?
jellybeaning......

apktool on iCS dosent work

Have anyone try to decompile some apk from ICS version??
I try and framework-res.apk decompile but SystemUI.apk dosent work,only errors
cojo11 said:
Have anyone try to decompile some apk from ICS version??
I try and framework-res.apk decompile but SystemUI.apk dosent work,only errors
Click to expand...
Click to collapse
You have to install the framework first.
apktool if /system/framework/framework-res.apk
And you should use apktool 1.5.0 (google it).
Sent from my Optimus 2X using xda app-developers app
I know that
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumente und Einstellungen\xxxx>cd c:\apktool
C:\apktool>apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
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:\Dokumente und Einstellungen\xxxx\apktool\
framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01c4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01d6
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
C:\apktool>
Move it to general android section. There's more people to help you..
i wanted to look at the ICS camera.apk to see if i could change the compressionrate for photos and bitrate for video.
yesterday i was trying all the tools available but i did not succeed to decompile the CameraApp.apk.
i deleted the *.* (file name i could not remember) from the apk that give problems while decompile the apk and after build it with 7zip still no succes with decompile.
i tryed all the tools and surfing the WWW for a solution but gave up after a couple of hours.
and yes i have installed the framework-res.apk and copy all necessary files in the right folders etc. etc. and started the programs with admin rights
this is driving me mad.
cojo11 said:
I know that
Code:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\Dokumente und Einstellungen\xxxx>cd c:\apktool
C:\apktool>apktool d framework-res.apk
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
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:\Dokumente und Einstellungen\xxxx\apktool\
framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01cb
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01c4
W: Could not decode attr value, using undecoded value instead: ns=android, name=
theme, value=0x020a01d6
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
Can't find framework resources for package of id: 2. You must install proper fra
mework files, see project website for more info.
C:\apktool>
Click to expand...
Click to collapse
tonyp said:
You have to install the framework first.
apktool if /system/framework/framework-res.apk
And you should use apktool 1.5.0 (google it).
Sent from my Optimus 2X using xda app-developers app
Click to expand...
Click to collapse
and lge-res.apk
apktool if /system/framework/framework-res.apk
apktool if /system/framework/lge-res.apk
work with a dedexed rom (not Django)

Categories

Resources