apktool won't build unchanged SystemUI - Android Q&A, Help & Troubleshooting

Can anyone help a noob figure out why?
Code:
[email protected]:~$ apktool b '/home/linux/SystemUI'
I: Checkingwhether sources has changed...
I: Checkingwhether resources has changed...
I: Building resources...
invalid resource directory name: /home/linux/SystemUI/res/values-sw720dp
invalid resource directory name: /home/linux/SystemUI/res/layout-sw600dp
invalid resource directory name: /home/linux/SystemUI/res/values-sw720dp-port invalid resource directory name: /home/linux/SystemUI/res/drawable-sw600dp-mdpi
invalid resource directory name: /home/linux/SystemUI/res/values-sw600dp
invalid resource directory name: /home/linux/SystemUI/res/values-sw600dp-port Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL8165751601391013391.tmp, -I, /home/linux/apktool/framework/1.apk, -S'
/home/linux/SystemUI/res, -M, /home/linux/SystemUI/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/APKTOOL8165751601391013391.tmp, -I, /home/linux/apktool/framework/1.apk, -S, /home/linux/SystemUI/res, -M, /home/linux/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I decompiled SystemUI.apk with no problem but when I went to rebuild, I got this error. I want to make sure I know how to rebuild an unchanged directory before I start making any kind of changes and go crazy trying to figure out what the problem is.
Sent from my Amazon Kindle Fire using xda premium

What android version?

Sorry...
4.0.3
CM9
Ubuntu 10.4
Sent from my Amazon Kindle Fire using xda premium

OK, same problem, new error...
Changed <app_path>
Code:
[email protected]:~$ apktool b SystemUI
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
at brut.androlib.Androlib.readMetaFile(Androlib.java:138)
... 4 more
Caused by: java.util.zip.ZipException: error in opening zip file
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:127)
at java.util.zip.ZipFile.<init>(ZipFile.java:144)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
... 7 more
I'm at a loss
Sent from my Amazon Kindle Fire using xda premium

soupmagnet said:
Can anyone help a noob figure out why?
Code:
[email protected]:~$ apktool b '/home/linux/SystemUI'
I: Checkingwhether sources has changed...
I: Checkingwhether resources has changed...
I: Building resources...
invalid resource directory name: /home/linux/SystemUI/res/values-sw720dp
invalid resource directory name: /home/linux/SystemUI/res/layout-sw600dp
invalid resource directory name: /home/linux/SystemUI/res/values-sw720dp-port invalid resource directory name: /home/linux/SystemUI/res/drawable-sw600dp-mdpi
invalid resource directory name: /home/linux/SystemUI/res/values-sw600dp
invalid resource directory name: /home/linux/SystemUI/res/values-sw600dp-port Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL8165751601391013391.tmp, -I, /home/linux/apktool/framework/1.apk, -S'
/home/linux/SystemUI/res, -M, /home/linux/SystemUI/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/APKTOOL8165751601391013391.tmp, -I, /home/linux/apktool/framework/1.apk, -S, /home/linux/SystemUI/res, -M, /home/linux/SystemUI/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
I decompiled SystemUI.apk with no problem but when I went to rebuild, I got this error. I want to make sure I know how to rebuild an unchanged directory before I start making any kind of changes and go crazy trying to figure out what the problem is.
Sent from my Amazon Kindle Fire using xda premium
Click to expand...
Click to collapse
Try this, hope I can help you
apktool d -s SystemUI.apk
-s, --no-src
Do not decode sources.
apktool b SystemUI

hey guys, just found this thread on a google search for this error ..
i have the same problem with CM9 Beta8 for Galaxy Ace ... pulled the framework-res.apk and SystemUI.apk via adb and installed framework-res.apk via apktool if framework-res.apk ...
i modded a lot of things in Adrenaline ROM before and everything was ok ... now, on android 4.0.4 (CM9) i get this error when ever i try to compile the apk ... tried it with a fresh project and without modding anything and it gives the same error ...
anyone have an idea ??? maybe apktool can't handle ICS-apks ???

DJ_Synergy said:
hey guys, just found this thread on a google search for this error ..
i have the same problem with CM9 Beta8 for Galaxy Ace ... pulled the framework-res.apk and SystemUI.apk via adb and installed framework-res.apk via apktool if framework-res.apk ...
i modded a lot of things in Adrenaline ROM before and everything was ok ... now, on android 4.0.4 (CM9) i get this error when ever i try to compile the apk ... tried it with a fresh project and without modding anything and it gives the same error ...
anyone have an idea ??? maybe apktool can't handle ICS-apks ???
Click to expand...
Click to collapse
This should help you
http://forum.xda-developers.com/showpost.php?p=24893563&postcount=1

pwelyn said:
Try this, hope I can help you
apktool d -s SystemUI.apk
-s, --no-src
Do not decode sources.
apktool b SystemUI
Click to expand...
Click to collapse
hello
guys i dont know but i am trying to recompile apks from 10 day tried ever fix every fix thread. i usaly get the first op problem can anyone confirm it that this method work

For ICS you need to use 2 different apktool jar files. One to decompile and another to recompile. Also you need to install system UI framework files like you do normale framework files. With apktool if systemui.apk command. And some files still can't be edited unless you edit the source file from scratch

zelendel said:
For ICS you need to use 2 different apktool jar files. One to decompile and another to recompile. Also you need to install system UI framework files like you do normale framework files. With apktool if systemui.apk command. And some files still can't be edited unless you edit the source file from scratch
Click to expand...
Click to collapse
Man I think I was looking for this in past 2 weeks I looked into all the apktool related threads and this is the simplest answer I have seen and straight forward
I will try it today thanks man
Sent from my HTC Glacier using xda premium

I'm getting the same errors. Tried everything. Got to be doing something wrong.
Sent from my HTC Sensation 4G using Tapatalk 2

Rainbowbright081 said:
I'm getting the same errors. Tried everything. Got to be doing something wrong.
Sent from my HTC Sensation 4G using Tapatalk 2
Click to expand...
Click to collapse
Yeah you didn't read my post 2 posts above this. You have to use a different apktool version to compile an ICS systemui apk
Sent from my Inspire 4G using Tapatalk 2

Sir, I did. Tried decompile with 1.4.2 compile with 1.4.3. Tried a lot of things, will try ferns way this evening. And yours again.
Edit: I hadnt installed systemui into framework, will try that and -s tag as well. Why does theming have to change in the way we deal with each rom. Lol.
Sent from my HTC Sensation 4G using Tapatalk 2

Rainbowbright081 said:
Sir, I did. Tried decompile with 1.4.2 compile with 1.4.3. Tried a lot of things, will try ferns way this evening. And yours again.
Edit: I hadnt installed systemui into framework, will try that and -s tag as well. Why does theming have to change in the way we deal with each rom. Lol.
Sent from my HTC Sensation 4G using Tapatalk 2
Click to expand...
Click to collapse
Because each rom has different framework changes. Lol and each OS update you need to reinstall the framework files as well
Sent from my Inspire 4G using Tapatalk 2

wrong version of apktool and/or aapt.
Sent from my Nokia 2100 using xda premium

thetrisatria said:
wrong version of apktool and/or aapt.
Sent from my Nokia 2100 using xda premium
Click to expand...
Click to collapse
So which is the right version then? as I have tried with apktool 1.4.1 - 1.4.3 and am on the latest aapt version and still cannot get it to work

As in am having the same problem .I tried using almost all apktools and every version of apktool but problem exist
Can this be the windows problem?
But Even on Linux I get same errors.
I also tried decompiling by one apktool and recompiling by other . Nothing worked
Even used the method ( decompiling with -s ) suggested in one of the reply in this post
I am using windows 7 64 bit and Linux 11.04 64 bit
Sent from my HTC Glacier using xda premium

1.4.3 with latest ics aapt.
tested to de/compile miui v4.
oh, btw I'm using windows7 32bit.
try to get the apktool from here:
http://forum.xda-developers.com/showthread.php?p=25063042
Sent from my Nokia 2100 using xda premium

thetrisatria said:
1.4.3 with latest ics aapt.
tested to de/compile miui v4.
oh, I'm using windows7.
Sent from my Nokia 2100 using xda premium
Click to expand...
Click to collapse
I have tried new aapt its not working for me idk why
Sent from my HTC Glacier using xda premium

gsminhas said:
I have tried new aapt its not working for me idk why
Sent from my HTC Glacier using xda premium
Click to expand...
Click to collapse
lol, its works for me. the key is to find the proper apktool. try my link above.
Sent from my Nokia 2100 using xda premium

Related

Rotary Lockscreen and CRT Power off

I am running the leaked 2.3.3 rom at the moment. I am working on getting the rotary lockscreen and crt effect. I follow the directions at this link and i get a boot loop.
As for the CRT effect I cannot find the instructions to do it manually. Just find roms that have it built in.
I am familiar with the tools required and creating roms, building from AOSP and such. So I would rather find instructions to do these myself rather than just the apks or update.zip. Any help would be appreciated.
Even the instructions on another device would be helpful
Check the d2 and dx leak threads on the crt off, ill see if I can find them.
Sent from my DROID2 using XDA Premium App
http://forum.xda-developers.com/showthread.php?t=1014514
Sent from my DROID2 using XDA Premium App
Thanks for that link. At least its the right direction but for some reason I just can't recompile after making those changes. I will get exact errors later and post them
Sent from my HTC myTouch 4G using Tapatalk
So here is the info. The log file is below. The link for the instructions i am using is HERE.
I pull com.htc.resources.apk and framework-res.apk from my phone. I decompile framework-res.apk with dependencies using com.htc.resources.apk. I make the changes in the link above and then compile. I get this error message when it starts building the apk. Any help with this would be appreciated. Also, if i just decompile and recompile without changing anything it builds just fine.
Code:
|Tue 05/10/2011 -- 13:31:57.14|
--------------------------------------------------------------------------
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
I: Framework installed to: C:\Users\Taylor\apktool\framework\2.apk
I: Loading resource table...
I: Decoding resources...
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
The system cannot find the file specified.
I: Framework installed to: C:\Users\Taylor\apktool\framework\2.apk
I: Loading resource table...
I: Decoding resources...
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Taylor\AppData\Local\Temp\APKTOOL81858235249238882.tmp, -x, -S, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\res, -M, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(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.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Taylor\AppData\Local\Temp\APKTOOL81858235249238882.tmp, -x, -S, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\res, -M, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
The system cannot find the file specified.
how about the CRT on animation also? make sure you make it compatible with evil D's virtuous rom so he can possibly use your mod and post it on his OP! that be great
_ice_ said:
how about the CRT on animation also? make sure you make it compatible with evil D's virtuous rom so he can possibly use your mod and post it on his OP! that be great
Click to expand...
Click to collapse
Well the CRT on effect is cyanogenmod proprietary code. As far as I understand they coded that themselves so unless released by them I'm not going to worry about that. CRT off is built into gingerbread and just can't find how to enable it.
Sent from my HTC Glacier using Tapatalk
taylorhome11 said:
Well the CRT on effect is cyanogenmod proprietary code. As far as I understand they coded that themselves so unless released by them I'm not going to worry about that. CRT off is built into gingerbread and just can't find how to enable it.
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
go to virus rom in the evo thread (RC mix by gazian for mytouch 4g), they have a successful screen on and off port! I tried the rc mix rom and under display settings it says "screen on" "screen off" animations checkboxes. They worked for me.
so yeah there will be no legal concerns with cyanogen since they already did it, and cyanogen approved it (I believe)
_ice_ said:
go to virus rom in the evo thread (RC mix by gazian for mytouch 4g), they have a successful screen on and off port! I tried the rc mix rom and under display settings it says "screen on" "screen off" animations checkboxes. They worked for me.
so yeah there will be no legal concerns with cyanogen since they already did it, and cyanogen approved it (I believe)
Click to expand...
Click to collapse
Oh ok. Just got the device and haven't checked all the stuff out. But I will look into it. Just focusing on the whole screen off right now and the rotary lockscreen for now
Sent from my HTC Glacier using Tapatalk
taylorhome11 said:
Oh ok. Just got the device and haven't checked all the stuff out. But I will look into it. Just focusing on the whole screen off right now and the rotary lockscreen for now
Sent from my HTC Glacier using Tapatalk
Click to expand...
Click to collapse
it might be way easier to just take the files in the RC mix and attempt to edit the codes, that way you do not have to worry about AOSP/ sense code conflicts since rc mix is already a sense rom. but you would have to port it from sense 2.1 to mysense 2.1 or if you're planning on doing a port to 3.0 than you would have to look into the compatibility
_ice_ said:
it might be way easier to just take the files in the RC mix and attempt to edit the codes, that way you do not have to worry about AOSP/ sense code conflicts since rc mix is already a sense rom. but you would have to port it from sense 2.1 to mysense 2.1 or if you're planning on doing a port to 3.0 than you would have to look into the compatibility
Click to expand...
Click to collapse
Well update on this. I finally got the apk decompile correctly and the bools.xml file is there and the config setting it says to change is already set to false. So it has to be something else. Don't have any idea what it could be though
taylorhome11 said:
Well update on this. I finally got the apk decompile correctly and the bools.xml file is there and the config setting it says to change is already set to false. So it has to be something else. Don't have any idea what it could be though
Click to expand...
Click to collapse
hang on buddy one of my boys that ported this to his evo knows more about the codes he will be on here in a sec
_ice_ said:
hang on buddy one of my boys that ported this to his evo knows more about the codes he will be on here in a sec
Click to expand...
Click to collapse
ok thanks for that
do you still need help with this?
pack said:
do you still need help with this?
Click to expand...
Click to collapse
yeah. for the rotary lockscreen i change the stuff as specified in a previous post and i get an error when i recompile. listed below.
Code:
|Tue 05/10/2011 -- 13:31:57.14|
--------------------------------------------------------------------------
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)
'adb' is not recognized as an internal or external command,
operable program or batch file.
I: Framework installed to: C:\Users\Taylor\apktool\framework\2.apk
I: Loading resource table...
I: Decoding resources...
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
I: Building apk file...
The system cannot find the file specified.
I: Framework installed to: C:\Users\Taylor\apktool\framework\2.apk
I: Loading resource table...
I: Decoding resources...
I: Copying assets and libs...
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Taylor\AppData\Local\Temp\APKTOOL81858235249238882.tmp, -x, -S, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\res, -M, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(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.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Taylor\AppData\Local\Temp\APKTOOL81858235249238882.tmp, -x, -S, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\res, -M, C:\Users\Taylor\Desktop\New folder (2)\other\..\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 more
The system cannot find the file specified.
As for the CRT off effect, the string in bools.xml is already set to false so don't really know what to do from there.
can you zip up what you have and shoot it over to me
pack said:
can you zip up what you have and shoot it over to me
Click to expand...
Click to collapse
sorry for the megaupload link. this is the rotary part. but you can also see the bools.xml file in here also. this apk was pulled directly from my device.
http://www.megaupload.com/?d=CFL74PHC
taylorhome11 said:
sorry for the megaupload link. this is the rotary part. but you can also see the bools.xml file in here also. this apk was pulled directly from my device.
http://www.megaupload.com/?d=CFL74PHC
Click to expand...
Click to collapse
Crt on off animations on evil D: rom already thanks for trying though
Sent from my HTC Vision using XDA App
_ice_ said:
Crt on off animations on evil D: rom already thanks for trying though
Sent from my HTC Vision using XDA App
Click to expand...
Click to collapse
Well I am building my own rom based of the GB leak and don't like using someone else's rom for my base. I prefer to use my own. Thanks why I am wondering how to get it working.

[Q] Need help to recompile apk with apktool

Hi all when i tried to recompile apk with the apktool with this line: apktool b <file>, it comes out with this error.
L:\Users\YJ\Downloads\apktool\MiuiMusic\res\values \strings.xml:199: error: Apost
rophe not preceded by \ (in There's a new version available, please update)
L:\Users\YJ\Downloads\apktool\MiuiMusic\res\values \public.xml:587: error: Public
symbol string/upgrade_detail declared here is not defined.
L:\Users\YJ\Downloads\apktool\MiuiMusic\res\values \public.xml:688: error: Public
entry identifier 0x7f090129 entry index is larger than available symbols (index
297, total symbols 297).
L:\Users\YJ\Downloads\apktool\MiuiMusic\res\values \public.xml:688: error: Public
symbol string/url_debug_update declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, L:\Users\YJ\AppData\Local\Temp\APKT
OOL1164060080391540263.tmp, -I, L:\Users\YJ\apktool\framework\1.apk, -S, L:\User
s\YJ\Downloads\apktool\MiuiMusic\res, -M, L:\Users\YJ\Downloads\apktool\MiuiMusi
c\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:301)
at brut.androlib.Androlib.buildResources(Androlib.jav a:248)
at brut.androlib.Androlib.build(Androlib.java:171)
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.common.BrutException: could not exec command: [aapt, p, -F, L:\U
sers\YJ\AppData\Local\Temp\APKTOOL1164060080391540 263.tmp, -I, L:\Users\YJ\apkto
ol\framework\1.apk, -S, L:\Users\YJ\Downloads\apktool\MiuiMusic\res, -M, L:\User
s\YJ\Downloads\apktool\MiuiMusic\AndroidManifest.x ml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:191)
... 6 more
Anybody can give me help?
Using windows 7 to compile.
I am just assuming you didn't decompile using apktool, and using it only to recompile. And use latest apktool.
Sent from my LG-P500 using XDA Premium App
4silvertooth said:
I am just assuming you didn't decompile using apktool, and using it only to recompile. And use latest apktool.
Sent from my LG-P500 using XDA Premium App
Click to expand...
Click to collapse
omg thanks for replying. But the thing is that i'm using v1.4.1 of apktool. I did decompile. After decompiling, i edited the strings.xml file, and then recompiled
kongyujian said:
omg thanks for replying. But the thing is that i'm using v1.4.1 of apktool. I did decompile. After decompiling, i edited the strings.xml file, and then recompiled
Click to expand...
Click to collapse
You have not installed the apk tool correctly. Read the wiki on apktool site.
aapt path has to be set.
Sent from my LG-P500 using XDA Premium App
Oh i resolved it! =) Thanks for helping though!
The problem is that in the .xml file, i'm supposed to put a backslash before an apostrophe. E.g. Proxy's must be written as Proxy\'s
Thanks for helping! =) Hope to have helped others. =)
Ok nice.
Sent from my LG-P500 using XDA Premium App
kongyujian said:
Oh i resolved it! =) Thanks for helping though!
The problem is that in the .xml file, i'm supposed to put a backslash before an apostrophe. E.g. Proxy's must be written as Proxy\'s
Thanks for helping! =) Hope to have helped others. =)
Click to expand...
Click to collapse
So is the miui music app gonna be done soon?
Sent using LGE Xda Secret phone
Trying to learn how to sign the apk. =( no luck so far. Haha. probably tonight or tmr night. :\ i got an output apk file already. The only thing is it cannot install.
kongyujian said:
Trying to learn how to sign the apk. =( no luck so far. Haha. probably tonight or tmr night. :\ i got an output apk file already. The only thing is it cannot install.
Click to expand...
Click to collapse
Wad? I tht miui music u have to push system/app... It will not work by jus installing... Btw can u attach so i can test it...
Sent using LGE Xda Secret phone

[Q] recompile framework-res.apk from cm9-20120404

Is it possible to recompile the framework-res.apk from cm9-20120404??
tried apktool 1.4.1 & 1.4.2 with newest aapt.exe
and AutoAPKtool 2.0.3 still lots of error........
anyone can help?
Use the apk tool designed for ics . It didn't gave me errors on decompiling, not tried the version you mentioned though
#*posted on the move *#
bala_gamer said:
Use the apk tool designed for ics . It didn't gave me errors on decompiling, not tried the version you mentioned though
#*posted on the move *#
Click to expand...
Click to collapse
I tried this ICS apktool, but still got errors with 'plurals.xml'
http://forum.xda-developers.com/showthread.php?t=1558171
ron194 said:
I tried this ICS apktool, but still got errors with 'plurals.xml'
http://forum.xda-developers.com/showthread.php?t=1558171
Click to expand...
Click to collapse
use "AutoAPKTool2.0.0" and just tried decompiling the same and didnt got any errors. dont forget to install the framework b4 decompiling.
bala_gamer said:
use "AutoAPKTool2.0.0" and just tried decompiling the same and didnt got any errors. dont forget to install the framework b4 decompiling.
Click to expand...
Click to collapse
still not work......
Code:
[*] C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res
recompiling C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/animator
invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/interpolator
invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-hdpi
invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-ldpi
invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-mdpi
invalid resource directory name: C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res/mipmap-xhdpi
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Ron\AppData\Local\Temp\APKTOOL8300429255981799689.tmp, -x, -S, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Ron\AppData\Local\Temp\APKTOOL8300429255981799689.tmp, -x, -S, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
ron194 said:
still not work......
Click to expand...
Click to collapse
you are right, giving errors on recompiling. what mod are you doing anyway?
bala_gamer said:
you are right, giving errors on recompiling. what mod are you doing anyway?
Click to expand...
Click to collapse
thx for ur help! I hv just replaced the ICS "aapt.exe" to the AutoAPKTool 2.0.0, and it works now!
I just want to mod the navigation bar, but cant recompile the framework-res even without any mod before.......

recompile sony ICS apk's with APKTOOL

i tried recompiling the Home.apk, in the same condition i decompiled it, but it gives an error,
i installed
SemcGenericUxpRes.apk and framework-res.apk and it succesfully decompiled.
also: i tried an older version of apktool , 1.4.1 which was succesfull with some samsung phones in other threads but no success with that either
i also tried copying the latest aapt from the sdk to the apktool installation, nothing.
so if anyone has had success recompiling sony ICS apks, then help..
gandhar said:
i tried recompiling the Home.apk, in the same condition i decompiled it, but it gives an error,
i installed
SemcGenericUxpRes.apk and framework-res.apk and it succesfully decompiled.
also: i tried an older version of apktool , 1.4.1 which was succesfull with some samsung phones in other threads but no success with that either
i also tried copying the latest aapt from the sdk to the apktool installation, nothing.
so if anyone has had success recompiling sony ICS apks, then help..
Click to expand...
Click to collapse
You should ask question in general section anyway...
Sent from my WT19i using XDA
What error you get?
Also, wrong section.
Someguyfromhell said:
What error you get?
Also, wrong section.
Click to expand...
Click to collapse
oh sorry for the wrong section, but i do not think someone in the general section would have answered this one..
this is exactly the error
C:\Users\gandhar\apktool>apktool d Home.apk Home
Destination directory (C:\Users\gandhar\apktool\Home) already exists. Use -f swi
tch if you want to overwrite it.
C:\Users\gandhar\apktool>apktool d Home.apk Home
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\gandhar\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\gandhar\apktool\framework\2.apk
I: Loaded.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\gandhar\apktool>apktool b Home Home1.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\gandhar\apktool\Home\res\values\styles.xml:4: error: Error retrieving p
arent for item: No resource found that matches the given name 'Layout'.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\gandhar\AppData\Local\Temp
\APKTOOL762609809719293048.tmp, -I, C:\Users\gandhar\apktool\framework\1.apk, -I
, C:\Users\gandhar\apktool\framework\2.apk, -S, C:\Users\gandhar\apktool\Home\re
s, -M, C:\Users\gandhar\apktool\Home\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:\U
sers\gandhar\AppData\Local\Temp\APKTOOL762609809719293048.tmp, -I, C:\Users\gand
har\apktool\framework\1.apk, -I, C:\Users\gandhar\apktool\framework\2.apk, -S, C
:\Users\gandhar\apktool\Home\res, -M, C:\Users\gandhar\apktool\Home\AndroidManif
est.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
C:\Users\gandhar\apktool>
i have the latest version of java
danist727 said:
You should ask question in general section anyway...
Sent from my WT19i using XDA
Click to expand...
Click to collapse
i thought ROM modders would have come across this error before, so, here..
edit:
@sumguyfromhell,
i have latest aapt from sdk, java jdk, jre
Seems like you have made a mistake while editing a .xml file, as it is unable to compile the file(xml files are compiled to a bit different language).
Someguyfromhell said:
Seems like you have made a mistake while editing a .xml file, as it is unable to compile the file(xml files are compiled to a bit different language).
Click to expand...
Click to collapse
i just did that, no editing done, i directly recompiled after the decompiling..
edit:
say i just want to change the values.xml, so is there a workaround maybe?
edit: i mean integers.xml
Hurray!!! i found something,
Just decompile apk, replace the string <style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar"> at \res\values\styles.xml and compile...
it's from this thread,
http://forum.xda-developers.com/showthread.php?t=1276332
just recompiled, thank you guys
can someone close this thread?
gandhar said:
Hurray!!! i found something,
Just decompile apk, replace the string <style name="Layout.ButtonContainer" for <style name="Layout.ButtonContainer" parent="@android:style/Theme.Wallpaper.NoTitleBar"> at \res\values\styles.xml and compile...
it's from this thread,
http://forum.xda-developers.com/showthread.php?t=1276332
just recompiled, thank you guys
can someone close this thread?
Click to expand...
Click to collapse
i get dis error while recompiling.....
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\LaLa\AppData\Local\Temp\APKTOOL61323.tmp, -I, C:\Users\LaLa\apktool\framework\1.apk, -S, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\res, -M, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\LaLa\AppData\Local\Temp\APKTOOL61323.tmp, -I, C:\Users\LaLa\apktool\framework\1.apk, -S, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\res, -M, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
but i cant find layout in styles.xml!!!! Help..
whalesplaho said:
i get dis error while recompiling.....
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\LaLa\AppData\Local\Temp\APKTOOL61323.tmp, -I, C:\Users\LaLa\apktool\framework\1.apk, -S, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\res, -M, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\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:174)
at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\LaLa\AppData\Local\Temp\APKTOOL61323.tmp, -I, C:\Users\LaLa\apktool\framework\1.apk, -S, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\res, -M, C:\Users\LaLa\plaho\Android\flash.driverz\Apk_Manager_5.0.2\other\..\projects\TTPod_Android_release.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
but i cant find layout in styles.xml!!!! Help..
Click to expand...
Click to collapse
update your sdk to latest version, then copy aapt.exe from platform-tools to apktool directory, that was the fix i had found on the apktool bugtracker.
edit:you have to install frameworks again after replacing aapt
how about decompiling and recompiling framework-res.apk, settings.apk, systemui.apk, and other semc ics apks bro gandhar ??
iiandskater said:
how about decompiling and recompiling framework-res.apk, settings.apk, systemui.apk, and other semc ics apks bro gandhar ??
Click to expand...
Click to collapse
a lot of people including me are waiting for the next version of apktool just because of the errors that are met when recompiling ICS apks..
it does not accept some parts of a lot of xml files, so many need to be changed just to recompile the file, many files excluding the actual modifications we need to do..
well i am no expert at this, so i may be wrong, but my experience in trying to recompile leads me to conclude that i should wait for the next version
gandhar said:
a lot of people including me are waiting for the next version of apktool just because of the errors that are met when recompiling ICS apks..
it does not accept some parts of a lot of xml files, so many need to be changed just to recompile the file, many files excluding the actual modifications we need to do..
well i am no expert at this, so i may be wrong, but my experience in trying to recompile leads me to conclude that i should wait for the next version
Click to expand...
Click to collapse
i'm agree with you,
i've try many ways but its always end with no luck..
that's doesn't matter my bro,
i also hope for new version / way that will works perfectly,
thanks for ur answer..

[help] APKTool recompile issues

I am looking for help with APKTool. I have tried using the current stable version, as well as the 2.x beta. Both with same result. I am even using the dependancies on the official google code site. My android sdk is fully updated, and both JRE and JDK are installed (both installations done about 2 weeks ago, with no prompt to update since)
Code:
C:\Development\android>apktool.bat b framework-res framework-res-new.apk
I: Using Apktool 2.0.0-Beta7 on framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Development\android\framework-res\res/values
-mcc454-mnc-1
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Shanno
n\AppData\Local\Temp\brut_util_Jar_147258541274646456.tmp, p, --min-sdk-version,
17, --target-sdk-version, 17, -F, C:\Users\Shannon\AppData\Local\Temp\APKTOOL12
39664133003724430.tmp, -x, -0, arsc, -S, C:\Development\android\framework-res\re
s, -M, C:\Development\android\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
at brut.androlib.Androlib.buildResources(Androlib.java:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Shannon\AppData\Local\Temp\brut_util_Jar_14725854127464
6456.tmp, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\Shann
on\AppData\Local\Temp\APKTOOL1239664133003724430.tmp, -x, -0, arsc, -S, C:\Devel
opment\android\framework-res\res, -M, C:\Development\android\framework-res\Andro
idManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Shannon\
AppData\Local\Temp\brut_util_Jar_147258541274646456.tmp, p, --min-sdk-version, 1
7, --target-sdk-version, 17, -F, C:\Users\Shannon\AppData\Local\Temp\APKTOOL1239
664133003724430.tmp, -x, -0, arsc, -S, C:\Development\android\framework-res\res,
-M, C:\Development\android\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:475)
... 6 more
Skaeren said:
I am looking for help with APKTool. I have tried using the current stable version, as well as the 2.x beta. Both with same result. I am even using the dependancies on the official google code site. My android sdk is fully updated, and both JRE and JDK are installed (both installations done about 2 weeks ago, with no prompt to update since)
Click to expand...
Click to collapse
Error log says could not find resources. It means you have not installed framework-res.apk (in case of Samsung Touchwiz phones install twframework also).
Solution :-
Pull framwork-red.apk and for Samsung TW phones pull twframawork-res.apk and put it where you keep files in apktool.
If you are using APK Multitool with GUI, then first button is for installing framework.
If you are using command line apktool, type
Code:
apktool if framework-res.apk
to install framework.
Then decompile and recompile.
Press Thanks if helped
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
hnkotnis said:
Error log says could not find resources. It means you have not installed framework-res.apk (in case of Samsung Touchwiz phones install twframework also).
Solution :-
Pull framwork-red.apk and for Samsung TW phones pull twframawork-res.apk and put it where you keep files in apktool.
If you are using APK Multitool with GUI, then first button is for installing framework.
If you are using command line apktool, type
Code:
apktool if framework-res.apk
to install framework.
Then decompile and recompile.
Press Thanks if helped
Sent from my GT-S5360 Gadget of Mass Destruction using xda-app
Using CWM........Busybox Commands........No I use my hands
Click to expand...
Click to collapse
This did not help
Code:
C:\Development\android>apktool.bat if framework-res.apk
I: Framework installed to: C:\Users\Shannon\apktool\framework\1.apk
Code:
C:\Development\android>apktool.bat d framework-res.apk
I: Using Apktool 2.0.0-Beta7 on framework-res.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table...
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
Code:
C:\Development\android>apktool.bat b framework-res framework-res-new.apk
I: Using Apktool 2.0.0-Beta7 on framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
invalid resource directory name: C:\Development\android\framework-res\res/values
-mcc454-mnc-1
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Shanno
n\AppData\Local\Temp\brut_util_Jar_3655706423395563843.tmp, p, --forced-package-
id, 1, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --ve
rsion-name, 4.2.1-WW_epad-10.6.2.10-20130918, -F, C:\Users\Shannon\AppData\Local
\Temp\APKTOOL5651618845894214526.tmp, -x, -0, arsc, -S, C:\Development\android\f
ramework-res\res, -M, C:\Development\android\framework-res\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
at brut.androlib.Androlib.buildResources(Androlib.java:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Shannon\AppData\Local\Temp\brut_util_Jar_36557064233955
63843.tmp, p, --forced-package-id, 1, --min-sdk-version, 17, --target-sdk-versio
n, 17, --version-code, 17, --version-name, 4.2.1-WW_epad-10.6.2.10-20130918, -F,
C:\Users\Shannon\AppData\Local\Temp\APKTOOL5651618845894214526.tmp, -x, -0, ars
c, -S, C:\Development\android\framework-res\res, -M, C:\Development\android\fram
ework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Shannon\
AppData\Local\Temp\brut_util_Jar_3655706423395563843.tmp, p, --forced-package-id
, 1, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --vers
ion-name, 4.2.1-WW_epad-10.6.2.10-20130918, -F, C:\Users\Shannon\AppData\Local\T
emp\APKTOOL5651618845894214526.tmp, -x, -0, arsc, -S, C:\Development\android\fra
mework-res\res, -M, C:\Development\android\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:475)
... 6 more
C:\Development\android>
Skaeren said:
This did not help
Code:
C:\Development\android>apktool.bat if framework-res.apk
I: Framework installed to: C:\Users\Shannon\apktool\framework\1.apk
................................................................
Try with Android Multitool.
If it does not work give me that apk and framework. I will try to decompile it.
Wait........ Is it a 3rd party app? (I mean not a system app?)
Then it might be possible that developer is using some other resources, different than in your framework.
Click to expand...
Click to collapse
hnkotnis said:
Skaeren said:
This did not help
Code:
C:\Development\android>apktool.bat if framework-res.apk
I: Framework installed to: C:\Users\Shannon\apktool\framework\1.apk
................................................................
Try with Android Multitool.
If it does not work give me that apk and framework. I will try to decompile it.
Wait........ Is it a 3rd party app? (I mean not a system app?)
Then it might be possible that developer is using some other resources, different than in your framework.
Click to expand...
Click to collapse
Thanks, but it didn't help. I will keep the tool, ask my girlfriend to look over the log when there is time, but so far, still an error. I have not been able to recompile.
It is a system app. I modified one file to enable calls on my TF300TG. I have included 7zip files of the apk, and of the values folder. The values folder goes inside the res folder of the decompiled apk, before recompiling. If you could recompile for me, I will give you all the cookies!
Click to expand...
Click to collapse
Skaeren said:
hnkotnis said:
Thanks, but it didn't help. I will keep the tool, ask my girlfriend to look over the log when there is time, but so far, still an error. I have not been able to recompile.
It is a system app. I modified one file to enable calls on my TF300TG. I have included 7zip files of the apk, and of the values folder. The values folder goes inside the res folder of the decompiled apk, before recompiling. If you could recompile for me, I will give you all the cookies!
Click to expand...
Click to collapse
You did not tell me you had JellyBean. I found it when I took a look at framework-res.apk manifest.
There is some problem with decompiling and recompiling JB Framework. (No problem for other apks)
So I did a bit searching and I found this
monstaX said:
Grab an ICS framework-res apk. Replace manifest resources.arsc and res from the ICS apk with the one from jb apk. Then dexompile with apktool142.jar and then edit. Then recompile with apktoll144.jar. then open the apk that recompiled and take out manifest resources.arsc and res and place back in jb framework sorry if its to confusing. But just a quick write up
Sent from my SPH-L710 using XDA App
Click to expand...
Click to collapse
Added at 28/01/2014 04:00 PM IST
I also found this thread
This contains JB Decompiling tool and there are some guides of framework-res modifications.
Click to expand...
Click to collapse
hnkotnis said:
Skaeren said:
I will try to do it.
Click to expand...
Click to collapse
thanks
Click to expand...
Click to collapse
@Skaeren
Please read my updated post above.
hnkotnis said:
@Skaeren
Please read my updated post above.
Click to expand...
Click to collapse
I thank you for your assistance. I will take a look at the link when I get home. I know it might be asking a lot, but would it be possible for you to make the required resources.arsc for me? Basically, I only need two variabls in bools.xml changed. I have attached my bools.xml file.
If you are able to, I greatly appreciate the help. Hell, I greatly appreciate the help anyway. This stuff is a little beyond my current knowledge pool though.
is this proble solved? you want recompiled system file like systemui.apk?
try to delete folder "values-mcc9989-mnc999" in your decopile folder /res/here
press thanks button if i helped you
Problem while decompiling SystemUI.apk
I can decompile framework-res.apk but i cant able to decompile SystemUI.apk 4.2.2.
Any Solution???
thanks in advance

Categories

Resources