[Sony Cross-Device General] amr.fayz:
me framework and framework-res http://www.4shared.com/file/vx_v_VNNce/orignal_fremwark.html

can you port it for me

My experience

when i decompile & recompile it without any modfied it done ok

when i modfied AndroidManifest.xml i have this error

C:\ApkTools>apktool b framework-res framework-res4.apk
I: Using Apktool 2.0.0-a766db-SNAPSHOT
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...

C:\ApkTools\framework-res\AndroidManifest.xml:596: error: Error: No resource found that matches the given name (at 'description' with value '@string/permdesc_taskSwitcherPluginView').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\AMR~1.FAY\AppData\Local\Temp\brut_util_Jar_5206867388793866612.tmp, p, --forced-package-id, 1, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-14b489c0ec, -F, C:\Users\AMR~1.FAY\AppData\Local\Temp\APKTOOL3756931933599328368.tmp, -x, -0, arsc, -S, C:\ApkTools\framework-res\res, -M, C:\ApkTools\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:443)
at brut.androlib.Androlib.buildResources(Androlib.java:380)
at brut.androlib.Androlib.build(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\AMR~1.FAY\AppData\Local\Temp\brut_util_Jar_5206867388793866612.tmp, p, --forced-package-id, 1, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-14b489c0ec, -F, C:\Users\AMR~1.FAY\AppData\Local\Temp\APKTOOL3756931933599328368.tmp, -x, -0, arsc, -S, C:\ApkTools\framework-res\res, -M, C:\ApkTools\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:511)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:429)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\AMR~1.FAY\AppData\Local\Temp\brut_util_Jar_5206867388793866612.tmp, p, --forced-package-id, 1, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1.1-14b489c0ec, -F, C:\Users\AMR~1.FAY\AppData\Local\Temp\APKTOOL3756931933599328368.tmp, -x, -0, arsc, -S, C:\ApkTools\framework-res\res, -M, C:\ApkTools\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:505)
... 6 more

i put META-INF & resources.arsc from original apk then try again it successful but the device does not work and stands at logo

when i decompile the modfied framework-res i have this error what is wrong ??

C:\ApkTools>apktool d framework-res.apk
I: Using Apktool 2.0.0-a766db-SNAPSHOT on framework-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode XML
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:147)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:134)
at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:294)
at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:138)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)
at brut.apktool.Main.cmdDecode(Main.java:165)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x00080003, got: 0x6d783f3c
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.AXmlResourceParser.doNext(AXmlResourceParser.java:839)
at brut.androlib.res.decoder.AXmlResourceParser.next(AXmlResourceParser.java:96)
at brut.androlib.res.decoder.AXmlResourceParser.nextToken(AXmlResourceParser.java:106)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.nextToken(XmlPullParserDelegate.java:105)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:140)
... 7 more

I think it's because of modfied AndroidManifest.xml What's the solution