[Wildfire General] hacktrix2006:
I am new to Dev'ing on andriod i have been up all night just trying to compile the MIUI rom from scratch and getting no where.

Once i have had some sleep i will start going through each and every .apk file that needs resizing and taking it from there.

Just hit a problem already. Compling from CM7.2 sources and miui 2.3.7 gingerbread sources and one apk doesn't want to build.

cp -r Phone .build
/home/wildfire/patchrom/tools/apktool b .build/Phone .build/Phone.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
/home/wildfire/patchrom/buzz/.build/Phone/res/values-da/strings.xml:200: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-da/strings.xml:201: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-es/strings.xml:204: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-es/strings.xml:205: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-fi/strings.xml:200: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-fi/strings.xml:201: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-it/strings.xml:203: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-it/strings.xml:204: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-lv/strings.xml:205: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-lv/strings.xml:206: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-nb/strings.xml:200: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-nb/strings.xml:201: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-ru/strings.xml:208: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-ru/strings.xml:209: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-sv/strings.xml:203: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-sv/strings.xml:204: error: Unexpected end tag string
/home/wildfire/patchrom/buzz/.build/Phone/res/values-zh-rTW/strings.xml:205: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/wildfire/patchrom/buzz/.build/Phone/res/values-zh-rTW/strings.xml:205: error: Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL5915799211293155894.tmp, -I, /home/wildfire/apktool/framework/1.apk, -S, /home/wildfire/patchrom/buzz/.build/Phone/res, -M, /home/wildfire/patchrom/buzz/.build/Phone/AndroidManifest.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, /tmp/APKTOOL5915799211293155894.tmp, -I, /home/wildfire/apktool/framework/1.apk, -S, /home/wildfire/patchrom/buzz/.build/Phone/res, -M, /home/wildfire/patchrom/buzz/.build/Phone/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
make: *** [.build/Phone.apk] Error 1

Was going all well till then back to the drawing board.

Scrapping the idea of building from MIUI 2.3.7 sources for now, going for apk resizing for now.!!!