[MOD][15 Toggles] How to mod Lidroid framework for JellyBean Roms - Galaxy S III Android Development

This is an update of this guide to get it working on Jelly Bean Roms, all we need is a 3 empty frameworks to rebuild Lidroid one (Thanks to LegendK95 for the idea), i built 3 fake frameworks: wanam3.apk, wanam4.apk, wanam5.apk.
Get them from attachments and push them with Apktool ( i recommend this Apktool update, thank to iBotPeaches):
Code:
apktool.bat if path_to/framework-res.apk
apktool.bat if path_to/twframework-res.apk
apktool.bat if path_to/wanam3.apk
apktool.bat if path_to/wanam4.apk
apktool.bat if path_to/wanam5.apk
Now you can decompile "lidroid-res.apk" (Available here), open "apktool.yml", you will find this :
Code:
isFrameworkApk: true
usesFramework:
ids:
- 1
sdkInfo:
minSdkVersion: '16'
targetSdkVersion: '16'
Add the 3 frameworks (2,3 and 4):
Code:
isFrameworkApk: true
usesFramework:
ids:
- 1
- 2
- 3
- 4
sdkInfo:
minSdkVersion: '16'
targetSdkVersion: '16'
Done, make your changes and re-compile.

Woohoo! many thanks mate, now I can make AndroidGX-MOD S3 fully compatible with Jelly Bean roms
We have chance to get you into this board! :good:
... I return working on it!

Ok, just tried your tutorial, but seems like there is a problem : I can't decompile properly without errors.
I'm still using Wanam APK ICS Manager but replaced with latest files from apktool thread that you provided (same for aapt.exe).
I decompiled lidroid-res.apk as dependencies with wanam3-5.apk ==> OK, but recompiling is not, here is my log.txt :
Code:
--------------------------------------------------------------------------
|25/09/2012 -- 13:16:02,68|
--------------------------------------------------------------------------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFoundException: X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam3.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam4.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam5.apk (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:481)
at brut.androlib.Androlib.installFramework(Androlib.java:447)
at brut.apktool.Main.cmdInstallFramework(Main.java:199)
at brut.apktool.Main.main(Main.java:72)
Caused by: java.io.FileNotFoundException: X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam3.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam4.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam5.apk (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:449)
... 3 more
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\sub\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
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.err.CantFindFrameworkResException
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:441)
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:482)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
I tried to recompile without doing the modification of apktool.yml, and recompiling is OK this time, but I guess it's not the right way.
Any idea please ?

AndroidGX said:
Ok, just tried your tutorial, but seems like there is a problem : I can't decompile properly without errors.
I'm still using Wanam APK ICS Manager but replaced with latest files from apktool thread that you provided (same for aapt.exe).
I decompiled lidroid-res.apk as dependencies with wanam3-5.apk ==> OK, but recompiling is not, here is my log.txt :
Code:
--------------------------------------------------------------------------
|25/09/2012 -- 13:16:02,68|
--------------------------------------------------------------------------
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
Java HotSpot(TM) Client VM (build 23.3-b01, mixed mode, sharing)
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFoundException: X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam3.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam4.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam5.apk (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:481)
at brut.androlib.Androlib.installFramework(Androlib.java:447)
at brut.apktool.Main.cmdInstallFramework(Main.java:199)
at brut.apktool.Main.main(Main.java:72)
Caused by: java.io.FileNotFoundException: X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam3.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam4.apk"X:\Android common\APK Manager JB (by Wanam)\place-apk-here-for-modding\wanam5.apk (La syntaxe du nom de fichier, de répertoire ou de volume est incorrecte)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:449)
... 3 more
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\sub\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
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.err.CantFindFrameworkResException
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:441)
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:482)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
I tried to recompile without doing the modification of apktool.yml, and recompiling is OK this time, but I guess it's not the right way.
Any idea please ?
Click to expand...
Click to collapse
Did you push the 3 frameworks? if so, you don't need to decompile with dependencies.

wanam said:
Did you push the 3 frameworks? if so, you don't need to decompile with dependencies.
Click to expand...
Click to collapse
Thanks! it worked like a charm :good:
I never knew that just pushing while no selectionning the concerned lidroid-res will be working, but it is
Very interesting.
Thanks again mate.

AndroidGX said:
Thanks! it worked like a charm :good:
I never knew that just pushing while no selectionning the concerned lidroid-res will be working, but it is
Very interesting.
Thanks again mate.
Click to expand...
Click to collapse
My pleasure

@Wanam or
Someone can explain me the first part, the apktool.bat stuffs. How can i push the wanam files?
I try those commands but i have several errors
I'm able to de-compile lidroid-res.apk without the push parts.
In re-compiling (apktool b lidroid-res lidroid-res-new.apk) the first line after hit enter is: "Could not find sources" but the rest of process goes ok.
In the end i have a new apk with a few less mbs than the original.
Any help will be very appreciated.

Thanks... Working great...

Thanks my friend wanam!
works like a charm!
thanks for all help!
regards
adesirello

Thanks for this mod .
can you explain how i can put 8toogle or 6 or 5 if i want in portrait mode ?
i have note 2 and i have 5 toggle , but i prefere 8 toggle it is mod in lidroid-res.apk or in systemui.apk
can you tell what xml i wan modified please

i have this pb but i have put 5 ressources
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.
C:\APK_JB_MANAGER-By-BroLee\other>apktool.bat if path_to/framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: java.io.FileNotFound
Exception: path_to\framework-res.apk (Le chemin dÆaccÞs spÚcifiÚ est introuvable
)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:477)
at brut.androlib.Androlib.installFramework(Androlib.java:448)
at brut.apktool.Main.cmdInstallFramework(Main.java:193)
at brut.apktool.Main.main(Main.java:69)
Caused by: java.io.FileNotFoundException: path_to\framework-res.apk (Le chemin d
ÆaccÞs spÚcifiÚ est introuvable)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:445)
... 3 more
C:\APK_JB_MANAGER-By-BroLee\other>apktool.bat if C:\APK_JB_MANAGER-By-BroLee\oth
er\framework-res.apk
I: Framework installed to: C:\Users\Lopes Carla\apktool\framework\1.apk
C:\APK_JB_MANAGER-By-BroLee\other>apktool.bat if C:\APK_JB_MANAGER-By-BroLee\oth
er\twframework-res.apk
I: Framework installed to: C:\Users\Lopes Carla\apktool\framework\2.apk
C:\APK_JB_MANAGER-By-BroLee\other>apktool.bat if C:\APK_JB_MANAGER-By-BroLee\oth
er\wanam3.apk
I: Framework installed to: C:\Users\Lopes Carla\apktool\framework\3.apk
C:\APK_JB_MANAGER-By-BroLee\other>apktool.bat if C:\APK_JB_MANAGER-By-BroLee\oth
er\wanam4.apk
I: Framework installed to: C:\Users\Lopes Carla\apktool\framework\4.apk
C:\APK_JB_MANAGER-By-BroLee\other>apktool.bat if C:\APK_JB_MANAGER-By-BroLee\oth
er\wanam5.apk
I: Framework installed to: C:\Users\Lopes Carla\apktool\framework\5.apk
C:\APK_JB_MANAGER-By-BroLee\other>apktool d lidroid-res.apk C:\APK_JB_MANAGER-By
-BroLee\other\lidroid
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: C:\Users\Lopes Carla\apktool\framework\1.ap
k
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...
C:\APK_JB_MANAGER-By-BroLee\other>apktool b C:\APK_JB_MANAGER-By-BroLee\other\li
droid
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.an
droid.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas
.android.com/apk/res/android); using existing value in manifest.
I: Building apk file...
C:\APK_JB_MANAGER-By-BroLee\other>
Click to expand...
Click to collapse

Help please

hi
i want to change some stuff into lidroid-res.apk
Step:
installed dependencies no error occured
decompiled lidroid-res.apk no error
edited apktool.yml no error
done my changes
recompile lidroid-res no error
signed lidroid-res.apk
push in system/framework
fix permissions to rw-r-r
reboot
SystemUI CRASH!!!!!!!!
What's my bad?
Thanks in advance
i'm on LS2 for gt-n7000
i attached my modded
lidroid-res.apk

Anyone can help me?
Please

Ofeliax said:
hi
i want to change some stuff into lidroid-res.apk
Step:
installed dependencies no error occured
decompiled lidroid-res.apk no error
edited apktool.yml no error
done my changes
recompile lidroid-res no error
signed lidroid-res.apk
push in system/framework
fix permissions to rw-r-r
reboot
SystemUI CRASH!!!!!!!!
What's my bad?
Thanks in advance
i'm on LS2 for gt-n7000
i attached my modded
lidroid-res.apk
Click to expand...
Click to collapse
Why do you sign it?

Hi wanam
You mean that i just push in system/framework the lidroid-res.apk from /dist folder , right?
But at apktool.yml i must add until to -4 or -5?
Thanks for support!!!!!!

Ofeliax said:
Hi wanam
You mean that i just push in system/framework the lidroid-res.apk from /dist folder , right?
But at apktool.yml i must add until to -4 or -5?
Thanks for support!!!!!!
Click to expand...
Click to collapse
No need to sign it, just add 2-3-4 resources and compile.

wanam said:
No need to sign it, just add 2-3-4 resources and compile.
Click to expand...
Click to collapse
Ok
I'll try so and I'll give you feedback
Thanks

It work perfectly

man i using apktool the lastest one. and im am using a note 2 and trying to color the toggle mod and its not sticking nothing is showing up as far as my color changes. any idea? thing compile just find and enter the steps installed the 3 .apks and still nothing

Related

Build framework-res.apk?

I have already dexcode the framework-res.apk, the tool which I used is named "apktool".
And I have done it like this,
apktool if framework-res.apk;
apktool if twframework-res.apk;
apktool d framework-res.apk;
There is no any warnings or errors alarm, and out for framework-res directory and resources.
After I modify some part of *.xml, I type
apktool b reamework-res
it got some errors.
Please help me, why that happend?
----------------------------------------
log:
G:\Android\Tools\apk>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'RestrictedOnSms' has no default translation in G:\Android
\Tools\apk\framework-res\res; found: zh_CN zh_TW
aapt: warning: string 'RestrictedOnVoiceData' has no default translation in G:\A
ndroid\Tools\apk\framework-res\res; found: zh_CN zh_TW
.......................
aapt: warning: string 'zzz_screen_captured_succeed' has no default translation i
n G:\Android\Tools\apk\framework-res\res; found: zh_CN
I: Building apk file...
---------------------
After I repack the framework-res.apk and update the update.zip, the device was stuck at the booting time. How to make the framework-res.apk to get the right way to boot the device?
mapleshadow said:
I have already dexcode the framework-res.apk, the tool which I used is named "apktool".
And I have done it like this,
apktool if framework-res.apk;
apktool if twframework-res.apk;
apktool d framework-res.apk;
There is no any warnings or errors alarm, and out for framework-res directory and resources.
After I modify some part of *.xml, I type
apktool b reamework-res
it got some errors.
Please help me, why that happend?
----------------------------------------
log:
G:\Android\Tools\apk>apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'RestrictedOnSms' has no default translation in G:\Android
\Tools\apk\framework-res\res; found: zh_CN zh_TW
aapt: warning: string 'RestrictedOnVoiceData' has no default translation in G:\A
ndroid\Tools\apk\framework-res\res; found: zh_CN zh_TW
.......................
aapt: warning: string 'zzz_screen_captured_succeed' has no default translation i
n G:\Android\Tools\apk\framework-res\res; found: zh_CN
I: Building apk file...
---------------------
After I repack the framework-res.apk and update the update.zip, the device was stuck at the booting time. How to make the framework-res.apk to get the right way to boot the device?
Click to expand...
Click to collapse
do a search and check out daneshm90's apk manager, not in this forum but i think it should be in another forum. the latest apk manager 4.9 beta final allows you to modify both pngs, and xmls. just follow his instructions there.
very easy to use. hope this helps.
At the beginning, thank you for your help. I have used the application, that's amazing. But the same thing happend, when I used this application to make the one framework-res.apk(of course I modified the *.xml) and update it to the device. That's so strange.
My step is as below:
Option 10, certainly I unpack the twframework-res.apk without any errors. And then........
Option 11, I coded and repack the framework-res.apk, then type yes with enter twice.
If I do it in the wrong way? Or what's your schedule?
mapleshadow said:
At the beginning, thank you for your help. I have used the application, that's amazing. But the same thing happend, when I used this application to make the one framework-res.apk(of course I modified the *.xml) and update it to the device. That's so strange.
My step is as below:
Option 10, certainly I unpack the twframework-res.apk without any errors. And then........
Option 11, I coded and repack the framework-res.apk, then type yes with enter twice.
If I do it in the wrong way? Or what's your schedule?
Click to expand...
Click to collapse
OP, you have problem with twframwork-res.apk OR with framework-res.apk? Both are different...
Did you delete all those files that you have modified in the keep folder? Maybe you can try increasing the heap size to 512 instead of default 64mb.
STK,So I'll try

Compiling Decompiling apk problem

Hi everyone
I have a problem compiling and decompiling apks.
Firstly im using zeus v2.1 rom and i take framework-res.apk and systemui.apk.
Then I put this apks to apk manager 5.0 file and decompile with apk manager.And I dont touch and dont modify any files and I open again apk manager and choose compile option.Than apk manager gives error.Why it giving error i dont touching or modifying any files.Also Im opening apk files with winrar and want to put any files to inside winrar gives error broken archive.But these same apk's when i put them in the phone it works normally.Where is the wrong?
George Jetson said:
Hi everyone
I have a problem compiling and decompiling apks.
Firstly im using zeus v2.1 rom and i take framework-res.apk and systemui.apk.
Then I put this apks to apk manager 5.0 file and decompile with apk manager.And I dont touch and dont modify any files and I open again apk manager and choose compile option.Than apk manager gives error.Why it giving error i dont touching or modifying any files.Also Im opening apk files with winrar and want to put any files to inside winrar gives error broken archive.But these same apk's when i put them in the phone it works normally.Where is the wrong?
Click to expand...
Click to collapse
it is a little easyer if you post the LOG...
here is the latest log
Code:
|29.01.2012 -- 21:57:25,15|
--------------------------------------------------------------------------
--2012-01-29 21:57:25-- http://dl.dropbox.com/u/14513610/apkver.txt
Resolving dl.dropbox.com... 107.20.134.231, 107.20.132.92, 107.20.234.233, ...
Connecting to dl.dropbox.com|107.20.134.231|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31 [text/plain]
Saving to: `apkver.txt'
0K 100% 692K=0s
2012-01-29 21:57:25 (692 KB/s) - `apkver.txt' saved [31/31]
projects alt dizini ya da dosyas halen var.
place-apk-here-for-modding alt dizini ya da dosyas halen var.
place-ogg-here alt dizini ya da dosyas halen var.
place-apk-here-to-batch-optimize alt dizini ya da dosyas halen var.
place-apk-here-for-signing alt dizini ya da dosyas halen var.
projects alt dizini ya da dosyas halen var.
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
'adb' i‡ ya da dŸ komut, ‡alŸtrlabilir
program ya da toplu iŸ dosyas olarak tannmyor.
I: Checking whether sources has changed...
I: Smaling...
C:\Users\cd555obx\Desktop\Apk Manager\other\..\projects\SystemUI.apk\smali\com\android\systemui\statusbar\AnimatedImageView.smali[0,0] No enum constant org.jf.dexlib.AnnotationVisibility.RUNTİME
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: [email protected]
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.buildFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.Androlib.buildSourcesSmali(Unknown Source)
at brut.androlib.Androlib.buildSources(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)
George Jetson said:
here is the latest log
Code:
|29.01.2012 -- 21:57:25,15|
--------------------------------------------------------------------------
--2012-01-29 21:57:25-- http://dl.dropbox.com/u/14513610/apkver.txt
Resolving dl.dropbox.com... 107.20.134.231, 107.20.132.92, 107.20.234.233, ...
Connecting to dl.dropbox.com|107.20.134.231|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31 [text/plain]
Saving to: `apkver.txt'
0K 100% 692K=0s
2012-01-29 21:57:25 (692 KB/s) - `apkver.txt' saved [31/31]
projects alt dizini ya da dosyas halen var.
place-apk-here-for-modding alt dizini ya da dosyas halen var.
place-ogg-here alt dizini ya da dosyas halen var.
place-apk-here-to-batch-optimize alt dizini ya da dosyas halen var.
place-apk-here-for-signing alt dizini ya da dosyas halen var.
projects alt dizini ya da dosyas halen var.
java version "1.7.0_02"
Java(TM) SE Runtime Environment (build 1.7.0_02-b13)
Java HotSpot(TM) Client VM (build 22.0-b10, mixed mode, sharing)
'adb' i‡ ya da dŸ komut, ‡alŸtrlabilir
program ya da toplu iŸ dosyas olarak tannmyor.
I: Checking whether sources has changed...
I: Smaling...
C:\Users\cd555obx\Desktop\Apk Manager\other\..\projects\SystemUI.apk\smali\com\android\systemui\statusbar\AnimatedImageView.smali[0,0] No enum constant org.jf.dexlib.AnnotationVisibility.RUNTİME
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: [email protected]
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.DexFileBuilder.addSmaliFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.buildFile(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.src.SmaliBuilder.build(Unknown Source)
at brut.androlib.Androlib.buildSourcesSmali(Unknown Source)
at brut.androlib.Androlib.buildSources(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)
Click to expand...
Click to collapse
"projects\SystemUI.apk\smali\com\android\systemui\statusbar\AnimatedImageView.smali"
and
"C:\Users\cd555obx\Desktop\Apk Manager\other"
Why in OTHER folder? I think I'ved used apk manager once and it wasn't far from what i use now. normaly, we put the apk in "place-apk-here-for-modding" folder.
Also this lines, why does it has dropbox in it?
Code:
|29.01.2012 -- 21:57:25,15|
--------------------------------------------------------------------------
--2012-01-29 21:57:25-- http://dl.dropbox.com/u/14513610/apkver.txt
Resolving dl.dropbox.com... 107.20.134.231, 107.20.132.92, 107.20.234.233, ...
Connecting to dl.dropbox.com|107.20.134.231|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31 [text/plain]
Saving to: `apkver.txt'
Try the one/link I posted earlier, easy to use.
EDIT:
Saw your post in my thread. You touched the SMALI and wanted to remove time?
I deleted all apk manager files on my computer and install new apk manager than I clean my temp and users file.Now I try decompile framework apk its ok decompiled success.But I compile framework(do not touch or modify anything) that gives error here is new log.
Code:
--------------------------------------------------------------------------
|01.02.2012 -- 16:31:47,27|
--------------------------------------------------------------------------
--2012-02-01 16:31:47-- http://update.apkmultitool.com/apkver.txt
Resolving update.apkmultitool.com (update.apkmultitool.com)... 199.59.62.20
Connecting to update.apkmultitool.com (update.apkmultitool.com)|199.59.62.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 152 [text/plain]
Saving to: `apkver.txt'
0K 100% 1,81M=0s
2012-02-01 16:31:47 (1,81 MB/s) - `apkver.txt' saved [152/152]
projects alt dizini ya da dosyas halen var.
place-apk-here-for-modding alt dizini ya da dosyas halen var.
place-ogg-here alt dizini ya da dosyas halen var.
place-apk-here-to-batch-optimize alt dizini ya da dosyas halen var.
place-apk-here-for-signing alt dizini ya da dosyas halen var.
java version "1.6.0_30"
Java(TM) SE Runtime Environment (build 1.6.0_30-b12)
Java HotSpot(TM) Client VM (build 20.5-b03, mixed mode, sharing)
Sistem belirtilen yolu bulamyor.
Sistem belirtilen yolu bulamyor.
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
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\cd555obx\AppData\Local\Temp\APKTOOL3621473068753514816.tmp, -x, -S, C:\apkman\projects\framework-res.apk\res, -M, C:\apkman\projects\framework-res.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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\cd555obx\AppData\Local\Temp\APKTOOL3621473068753514816.tmp, -x, -S, C:\apkman\projects\framework-res.apk\res, -M, C:\apkman\projects\framework-res.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:87)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, Sistem belirtilen dosyay? bulam?yor
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:78)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, Sistem belirtilen dosyay? bulam?yor
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
I never had errors like that. Only if I made a mistake editing xml's, and it logs clearly where i've gone wrong. it must be the tool you use to decompile. What version is it? And is the APk you are trying to decompile deodexed?
I have Android SDK and Java installed. I will upload the one i use to decompile, try it.
I will attach as well a compiled but untouched framework-res from Zeus v2.1. See if you can compile/decompile it as I do. If not, you're missing something. The tool itself, java, or ASDK.
it works now dude thank you.
Good... happy tweaking bro.
gabwerkz said:
I never had errors like that. Only if I made a mistake editing xml's, and it logs clearly where i've gone wrong. it must be the tool you use to decompile. What version is it? And is the APk you are trying to decompile deodexed?
I have Android SDK and Java installed. I will upload the one i use to decompile, try it.
I will attach as well a compiled but untouched framework-res from Zeus v2.1. See if you can compile/decompile it as I do. If not, you're missing something. The tool itself, java, or ASDK.
Click to expand...
Click to collapse
how do i install that android sdk? i think thats the problem why its not compiling
I had those errors even when I had everything installed.However I noticed it doesn't happen with untouched APKs...so if you try to decompile and compile the framework-res.apk from Redy's v20N package it will work but if you try to do that with the Zeus framework it will give those errors even if you don't modify it,just my 2 cents on what I experienced
EDIT: Also tried the manual version using CMD with apktool..same errors
Nope, the one attached is untouched from Zeus v2.1. Just now I decompiled/compiled it and had no errors and uploaded (See date modified on properties). it must be the tool you both use.
See his logs? says "cannot load aapt" aapt.exe is the problem inside the tool. will post the link of the issue.
Thanks for the tool Gabwerkz it works now
timvdhoorn said:
how do i install that android sdk? i think thats the problem why its not compiling
Click to expand...
Click to collapse
spykedsystem said:
Thanks for the tool Gabwerkz it works now
Click to expand...
Click to collapse
See. I think I posted the download link of it somewhere in Zeus thread when he posted. George must have missed it. I trold him to try it, APK Multi Tool.
I think timvdhoorn doesn't have problems compiling. As he compiled a theme before. Only mistakes in modifying xml's, smali's or images he'll have errors or will not decompile.
Happy theming..
Yeah pretty much the smallest mistake in editing XML's can cause errors in compiling the apk..just trial and error
i have searched on forum. and it brings me here. my old phone section
i am trying to decompile and compile stock deodexed systemui.apk
i can decompile but cant compile (without any changes)
it gives error. i tried it on many tool, win7 and linux.
-if i dont change anything in decompiled systemui, it gives same error. it is not about changing xmls or smalis-
error like this
{
"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"
}
i am using latest tools
any idea?
agritux said:
i have searched on forum. and it brings me here. my old phone section
i am trying to decompile and compile stock deodexed systemui.apk
i can decompile but cant compile (without any changes)
it gives error. i tried it on many tool, win7 and linux.
-if i dont change anything in decompiled systemui, it gives same error. it is not about changing xmls or smalis-
error like this
i am using latest tools
any idea?
Click to expand...
Click to collapse
i have the same error even i dont touch the decompiled file and try to recompile it, but getting that error. did you get any succes to handle with that?
sorry i dont remember

[TUTORIAL] How to Decompile and Recompile ICS .Apk Files][Easy ONE]

This is an Easy Tutorial, How to Decompile .apk and Recompile .apk Files​If u like this Tutorial, Hit THANKS Button​CREDITS
Memnoc - For Gud Ideas.
Xavierjohn22 - the amazing author of AutoApktool go Here, Hit thanks to Him Too.
Sandy7-For Motivation.
Requirements
Java (last version)
JDK (last version)
JDR (last version, usually included in JDK or Java)
Auto_Apktool 2.0.0 (DOWNLOAD THIS ONE NOT OTHERS)
HOW TO DO
NOTE: before start, select Apktool version with option 21, YOU MUST CHOOSE 1.4.1 version
1) Download and simply unpack Auto_ApkTool
2)Click on "autoapktoolmain.bat", prompt will open
{
"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"
}
3)put the apk you want to EDIT, in "_INPUT_APK"
4) Nw u Should Choose "option 6" for 'decompiling .apk
5) when option 6 is being selected, drag the apk from _INPUT_APK folder into the windows prompt and click enter
6) A Note window will appear, and will show IF the decompiling process has been done properly. Once you close that window, you will see the decompiled folder in _INPUT_APK folder
7) do your edits (xml, smali, or png, WHATEVER)
8) recompile with option 7 (NOTE: this time you MUST drag all the FOLDER, NOT the apk)
9) Once recompiling finished, u will Get a Dcompiled NOTE window that Shows your apk is sucessfully Compiled, Close that Window, Once open the decompiled folder, go to "dist" folder, and here you got your edited apk
10) NOW this is the Last step, since u cannot Sign System app, u will have to Copy the META-INF foldrer frm the Orginal apk to the edited apk, for more Info See the "Screen"
11) Rename the apk if Needed, and push it.
Reserved, Tutorial for how to de/re-compile, .jar files.
Reserved2, for video tutorial!
FAQ's​Why can't we use Apktool???
Well, you can, but it's more difficult, that's it.
Why do you say "must use 1.4.1 apktool version"??
The reason why is that since 1.4.2 version, apktool generate java code while recompiling process is going on, and this lead to errors that 9/10 makes decompile process fail
I got errror
Hello,
I follow this instruction but when I recomoile (option 7 drag with folder), I got error
Log is below:
Code:
[*] "D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD"
recompiling "D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD"...
I: Smaling...
I: Building resources...
(skipping (null) file 'D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\drawable-hdpi\_next.png')
(skipping (null) file 'D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\drawable-hdpi\_pause.png')
(skipping (null) file 'D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\drawable-hdpi\_play.png')
(skipping (null) file 'D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\drawable-hdpi\_previous.png')
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:19: error: Public symbol drawable/_next declared here is not defined.
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:20: error: Public symbol drawable/_pause declared here is not defined.
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:21: error: Public symbol drawable/_play declared here is not defined.
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:22: error: Public symbol drawable/_previous declared here is not defined.
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:98: error: Public entry identifier 0x7f020050 entry index is larger than available symbols (index 80, total symbols 80).
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:98: error: Public symbol drawable/zplayer_2x2 declared here is not defined.
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:99: error: Public entry identifier 0x7f020051 entry index is larger than available symbols (index 81, total symbols 80).
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:99: error: Public symbol drawable/zplayer_c declared here is not defined.
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:100: error: Public entry identifier 0x7f020052 entry index is larger than available symbols (index 82, total symbols 80).
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:100: error: Public symbol drawable/zpp declared here is not defined.
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:101: error: Public entry identifier 0x7f020053 entry index is larger than available symbols (index 83, total symbols 80).
D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res\values\public.xml:101: error: Public symbol drawable/zzzz_ declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\MENGLIM\AppData\Local\Temp\APKTOOL3676539834868097954.tmp, -I, C:\Users\MENGLIM\apktool\framework\1.apk, -S, D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res, -M, D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\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, C:\Users\MENGLIM\AppData\Local\Temp\APKTOOL3676539834868097954.tmp, -I, C:\Users\MENGLIM\apktool\framework\1.apk, -S, D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\res, -M, D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\ZPlayer v3.6-AnDrOiD\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
The system cannot find the drive specified.
Of course, I install framework which copy from my device framework-res.apk and twframework-res.apk
and installed.
why?
I am using window 7 64bits, International S3, Rom null18.1, LLC
Bro u have decompiled it, the errors here r becoz, u have editied u apk in wrong way if u edit it simply jst replacing the strings want it wont recompile poperly !
stanlin salu said:
Bro u have decompiled it, the errors here r becoz, u have editied u apk in wrong way if u edit it simply jst replacing the strings want it wont recompile poperly !
Click to expand...
Click to collapse
I already decompiled with the option 6 and edit some string after that recompile(option 7). I follow this instruction.
do you mean if I just edit string, it will not compile properly?
menglim said:
I already decompiled with the option 6 and edit some string after that recompile(option 7). I follow this instruction.
Click to expand...
Click to collapse
Its not the problem with the instruction, its the problem with ur editing, u jst check properly in the error log, it explain where u have made mistake, a single misplace of strings, wont allow to recompile, see the log and correct accordingly !
Sent from my WT19i using xda premium
stanlin salu said:
Its not the problem with the instruction, its the problem with ur editing, u jst check properly in the error log, it explain where u have made mistake, a single misplace of strings, wont allow to recompile, see the log and correct accordingly !
Sent from my WT19i using xda premium
Click to expand...
Click to collapse
Sorry, could u tell me which line ?
---------- Post added at 04:28 PM ---------- Previous post was at 04:25 PM ----------
even I did not change any source. I just decompile and recompile, still get the error...
It can also be becoz of corrupt apk, Bro try to decomplie pure stock unmodified apks and check wether u get the error on them !
but the apk, which I want to compile, install on the phone properly and work properly.
Now, i am compiling and decompiling framework-res.apk.... (for test)
I will report later
---------- Post added at 04:50 PM ---------- Previous post was at 04:42 PM ----------
Here is the error when I recompile framwork-res.apk
Code:
[*] D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\framework-res
recompiling D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\framework-res...
W: Could not find sources
I: Building resources...
aapt: warning: string 'reboot_download' has no default translation in D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: ru
aapt: warning: string 'reboot_recovery' has no default translation in D:\Android\DRCompileAPK\AutoAPKTool2.0.4\_INPUT_APK\framework-res\res; found: ru
I: Building apk file...
The system cannot find the drive specified.
look like miss some string in traslation
Thanks!!! I think this tutorial is perfect!!
Enviado desde mi GT-I9300 usando Tapatalk 2

[TOOL]CM Theme to XThemeEngine Converter / Porter

You can stop F5-ing.
What's that all about? Didn't that exist already?
This tool converts an CM10 / AOKP / ... theme to an XThemeEngine (showthread.php?t=2240180 , I'm still "too new to add links" I guess).
The second post of that thread is just an instruction post. It tells you how to port the theme manually. I've made the script on base of that tutorial and then ported it to Java code so it's cross-platform.
The MAIN PROS:
- Easier with graphical user interface!
- Generates the missing redirections.xml for you!
- Doesn't need the SampleTheme.apk and doesn't need any IDE like Eclipse!
One-Time Set-Up:
1. Download apktool with signapk and testkeys in the same folder.
2. Download the .jar
I've removed the instructions for the shell script - the .sh itself is still inside the upload.zip.
Everytime you run it:
Select all the needed files. The GUI will help you.
Also, if aapt isn't inside of your $PATH, use the optional file chooser for that.
The folder containing aapt is usually platform-tools in the SDK folder.
WARNING: Any damage to your device is NOT MY FAULT. Any damage to any of the apks is NOT MY FAULT. Any damage to the Linux, NT or GNU Kernel is NOT MY FAULT. Any usage of Chuck Norris in this post is NOT MY FAU~~~~UU~~ IT'S MY FAULT!
WARNING: The output is A RAW PORT (except the generated redirections if missing) that may not work on some devices. Please port the .apk manually if needed.
When you encounter any problems, please reply with device, Android version and input theme (link to thread and APK if possible). Thanks!
Known problems (legend: p- problem c-- cause w--- workaround f--- fix) :
p- Applying theme failed.
c-- It's not my fault if the themers use separate xml files and / or forgett redirections.xml .
w--- Create one on your own and modify the code inside the .sh file (you can't overlook it...). It's easier than it sounds. Just replace ./tmpst/res/xml/redirections.xml with the path to your own one.
f--- Update to 2.0+
c-- The theme needs a device-specifiic redirections.xml due to Samsungs / Sonys / ... package and resource stuff.
w--- Port the theme on your own. That's really sad - that's why I've added it to my TODO list.
Changelog:
1.0: Initial release
1.1: Added missing zipalign
1.2: Added code snippet that copy-pastes the sampletheme apk's redirections.xml if there is no one. Unfournately it only has an entry for SystemUI so the code should be modified by the user easily to load a custom redirections.xml instead.
2.0: Ported to Java (.jar) for cross-platform support; removed zipalign for some time; added auto-generation of redirections.xml
ToDo: (* = focused, + = added)
+ Autogenerate redirections.xml if missing (aka Fix failed applying theme).
+ Fix failed applying theme. Some debug options in XThemeEngine would be helpfull... :/ (Edit: See the problem "Applying theme failed.")
+ Make more efficient
+ Add missing zipalign (if requested by too many users) (Edit: Just. Do. It.)
+ Make thread "first post" more user-friendly
+ Port it to a commandline .jar or GUI .jar (Edit: I prefer GUI .jar)
* Find device-specifiic redirections.xml and implement an option to choose from them. Yes, I mean you, Samsung and Sony!
- Add images to the first post
- Re-addd the zipaligning
AngelDE98 said:
I am verry sorry if this post is in the wrong place. I tought it would fit the "Themes" subforum because it's a theme converter and I've seen some ideas for it here, too. I'm just another dumb user, I know so just correct me. :/
What's that all about? Didn't that exist already?
This tool converts an CM10 / AOKP / ... theme to an XThemeEngine (showthread.php?t=2240180 , I'm still "too new to add links" I guess).
The second post of that thread is just an instruction post. It tells you how to port the theme manually. I've made the script on base of that.
One-Time Set-Up (notice that file / folder names are caps-sensitive on Linux!):
1. Download the convert.sh and make it runnable (I won't tell you how to do it because it's basic )
2. Make a new folder named "apktool" next to the .sh
3. Download apktool + signapk .jars (I won't tell you because I've seen some removed links from mods here and there ). Put apktool + signapk .jars into the apktool folder.
4. Download the sampletheme.apk and NAME IT "sampletheme.apk".. wow. Place it next to the .sh and apktool folder.
Now:
1. (Re)Place your input.apk (must be named so, if I've got time or help for making it load from arguments I'll implemt that) next to the .sh
2. Run the .sh script in Terminal
3. ....?
4. Profit. A new file named output.apk appeared. You may want to install it as normal app.
WARNING: Any damage to your device is NOT MY FAULT. Any damage to any of the apks is NOT MY FAULT. Any damage to the Linux Kernel is NOT MY FAULT. Any usage of Chuck Norris in this post is NOT MY FAU~~~~UU~~ IT'S MY FAULT!
WARNING: The output.apk is A RAW PORT that may not work on some devices. Please port the .apk manually if needed.
When you encounter any problems, please reply with device, Android version and input theme (link to thread and APK if possible). Thanks!
Known problems (legend: p- problem c-- cause w--- workaround f--- fix) :
p- Applying theme failed.
c-- It's not my fault if the themers use separate xml files and / or forgett redirections.xml .
w--- Create one on your own and modify the code inside the .sh file (you can't overlook it...). It's easier than it sounds. Just replace ./tmpst/res/xml/redirections.xml with the path to your own one.
Changelog:
1.0: Initial release
1.1: Added missing zipalign
1.2: Added code snippet that copy-pastes the sampletheme apk's redirections.xml if there is no one. Unfournately it only has an entry for SystemUI so the code should be modified by the user easily to load a custom redirections.xml instead.
ToDo: (* = focused, + = added)
- Autogenerate redirections.xml if missing (aka Fix failed applying theme).
+ Fix failed applying theme. Some debug options in XThemeEngine would be helpfull... :/ (Edit: See the problem "Applying theme failed.")
- Make more efficient
+ Add missing zipalign (if requested by too many users) (Edit: Just. Do. It.)
- Make thread "first post" more user-friendly
- If possible and apktool and signapk do exist for Android (otherwise decompile and port to Android), create "mobile version" of this tool (possibly without rooting needed)
* Port it to a commandline .jar or GUI .jar (Edit: I prefer GUI .jar)
Click to expand...
Click to collapse
Thnks but maybe u need add some images
to see how to use this (much people cant understood all on this post) and if u add some screens are more friendly
cheers
TeamMex said:
Thnks but maybe u need add some images
to see how to use this (much people cant understood all on this post) and if u add some screens are more friendly
cheers
Click to expand...
Click to collapse
I will add images after I've released the .jar file which is cross-platform. Yesterday some testing went wrong (aapt not found, mysterious .xml after package name in code-made redirections.xml). I hope I'll be able to upload the .jar today.
AngelDE98 said:
I will add images after I've released the .jar file which is cross-platform. Yesterday some testing went wrong (aapt not found, mysterious .xml after package name in code-made redirections.xml). I hope I'll be able to upload the .jar today.
Click to expand...
Click to collapse
F5...F5...F5... :fingers-crossed:
BoilerDroid said:
F5...F5...F5... :fingers-crossed:
Click to expand...
Click to collapse
Stop F5-ing.
AngelDE98 said:
Stop F5-ing.
Click to expand...
Click to collapse
Radiance_Gold by @IND190
Converted, installed, but won't apply theme...
I'm trying to convert: http://forum.xda-developers.com/showthread.php?t=2057131
d2vzw running Jelly Bean's 15
-------------------------
-------------------------
Version 2.0 by AngelDE98
-------------------------
[FILE:INAPK] C:\Users\_\Desktop\SGS3\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\com.ind190.theme.radiance_gold.apk
[FILEUTAPK] C:\Users\_\Desktop\SGS3\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\GoldTheme-2.apk
[FILE:APKTOOL] C:\Users\_\Desktop\SGS3\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse
[FILE:TMPDIR] C:\Users\_~1\AppData\Local\Temp\CMTXTE
[OS:ID] WINDOWS
[OS:SHELL] cmd
-------------------------
Beginning conversion...
Clearing tmpdir
Decompiling inapk into tmpdir
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\_\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Removing the public.xml
redirections.xml exists: NO
Creating new redirections.xml
Adding permission into AndroidManifest.xml
Recompiling / bulding new apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
I: Building apk file...
Signing new apk
Done!
BoilerDroid said:
Radiance_Gold by @IND190
Converted, installed, but won't apply theme...
I'm trying to convert: http://forum.xda-developers.com/showthread.php?t=2057131
d2vzw running Jelly Bean's 15
Click to expand...
Click to collapse
Can you please give me your logcat log and device? Maybe you have got one of the Sony or Samsung devices that need special device-dependent redirections :/
I was able to apply the theme. On ICS.
There are no errors in the conversion log.
-------------------------
-------------------------
Version 2.0 by AngelDE98
-------------------------
[FILE:INAPK] C:\Users\klozz\Desktop\Themes speciales para stock roms\ChromeOS.V.2.1.apk
[FILEUTAPK] C:\Users\klozz\Desktop\Themes speciales para stock roms\themes\Chromeosported
[FILE:APKTOOL] C:\Users\klozz\Desktop\Themes speciales para stock roms\apktool\Apk_Manager_UOT\other
[FILE:TMPDIR] C:\Users\klozz\AppData\Local\Temp\CMTXTE
[OS:ID] WINDOWS
[OS:SHELL] cmd
-------------------------
Beginning conversion...
Clearing tmpdir
Decompiling inapk into tmpdir
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Multiple resources: spec=0x02020000 drawable/com_android_browser_geolocation_permissions_prompt_background, config=-xhdpi-v13
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:65)
at brut.androlib.res.data.ResConfig.addResource(ResConfig.java:58)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:196)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:105)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibResources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.java:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.java:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Removing the public.xml
redirections.xml exists: NO
Creating new redirections.xml
Something went wrong - look at STDOUT
D:
U can give me how to add manualy dependent directions on Sony device?
Aww... the ToDo list already contains that. I'll work on that today I guess...
Thanks for the log. Two resources and 1 id? How that?
Sent from my FWS710EU using xda app-developers app
BoilerDroid said:
Radiance_Gold by @IND190
Converted, installed, but won't apply theme...
I'm trying to convert: http://forum.xda-developers.com/showthread.php?t=2057131
d2vzw running Jelly Bean's 15
-------------------------
-------------------------
Version 2.0 by AngelDE98
-------------------------
[FILE:INAPK] C:\Users\_\Desktop\SGS3\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\com.ind190.theme.radiance_gold.apk
[FILEUTAPK] C:\Users\_\Desktop\SGS3\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\GoldTheme-2.apk
[FILE:APKTOOL] C:\Users\_\Desktop\SGS3\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse
[FILE:TMPDIR] C:\Users\_~1\AppData\Local\Temp\CMTXTE
[OS:ID] WINDOWS
[OS:SHELL] cmd
-------------------------
Beginning conversion...
Clearing tmpdir
Decompiling inapk into tmpdir
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\_\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Removing the public.xml
redirections.xml exists: NO
Creating new redirections.xml
Adding permission into AndroidManifest.xml
Recompiling / bulding new apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Warning: AndroidManifest.xml already defines minSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
Warning: AndroidManifest.xml already defines targetSdkVersion (in http://schemas.android.com/apk/res/android); using existing value in manifest.
I: Building apk file...
Signing new apk
Done!
Click to expand...
Click to collapse
I'm getting this error too! when it gets towards the end you can see the apk in the folder and by the time its done it simply disappears. any ideas why that is? Im sure this tool just needs some more work and in time everything will work out but as it sits right now its a total dud. But Ill keep watch on this. Oh yeah by the way Im running an sgs4 with stock 4.2.2
thatsupnow said:
I'm getting this error too! when it gets towards the end you can see the apk in the folder and by the time its done it simply disappears. any ideas why that is? Im sure this tool just needs some more work and in time everything will work out but as it sits right now its a total dud. But Ill keep watch on this. Oh yeah by the way Im running an sgs4 with stock 4.2.2
Click to expand...
Click to collapse
Maybe it's a problem with the signing... The temporary apk you see gets signed and replaced. Have you got the signer and test keys in the apktool folder? Maybe I'll include the signer and test keys.
Sent from my Nexus 7 using xda app-developers app
AngelDE98 said:
Maybe it's a problem with the signing... The temporary apk you see gets signed and replaced. Have you got the signer and test keys in the apktool folder? Maybe I'll include the signer and test keys.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
Yeah I made sure to grab everything that was needed
Sent from my SGH-I337M using xda premium
Here's my log:
-------------------------
-------------------------
Version 2.0 by AngelDE98
-------------------------
[FILE:INAPK] D:\hololight.apk
[FILEUTAPK] d:\holoconverted.apk
[FILE:APKTOOL] D:\apktool
[FILE:TMPDIR] C:\Users\Admin\AppData\Local\Temp\CMTXTE
[OS:ID] WINDOWS
[OS:SHELL] cmd
-------------------------
Beginning conversion...
Clearing tmpdir
Decompiling inapk into tmpdir
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Admin\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0a03007c
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:44)
at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:48)
at brut.androlib.res.data.value.ResBagValue.serializeToResValuesXml(ResBagValue.java:40)
at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:418)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:241)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:99)
at brut.apktool.Main.cmdDecode(Main.java:141)
at brut.apktool.Main.main(Main.java:72)
Removing the public.xml
redirections.xml exists: YES
Adding permission into AndroidManifest.xml
Recompiling / bulding new apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Androlib.java:164)
at brut.androlib.Androlib.build(Androlib.java:181)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(AbstractDirectory.java:103)
at brut.androlib.Androlib.readMetaFile(Androlib.java:160)
... 4 more
Signing new apk
java.io.FileNotFoundException: d:\holoconverted.apk (O sistema n ̄o pode encontrar o arquivo especificado)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:437)
Done!
this tools is awesome
i hope the dev can get many help to get this tools works perfect
i got some problem here, when im start converting and the log said:
Code:
Version 2.0 by AngelDE98
-------------------------
[FILE:INAPK] D:\Kev\Application\Android\maxc\Sense5.apk
[FILE:eek:UTAPK] D:\Kev\Application\Android\maxc\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\kam.apk
[FILE:APKTOOL] D:\Kev\Application\Android\maxc\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse
[FILE:TMPDIR] C:\Users\RYFK\AppData\Local\Temp\CMTXTE
[OS:ID] WINDOWS
[OS:SHELL] cmd
-------------------------
Beginning conversion...
Clearing tmpdir
Decompiling inapk into tmpdir
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\RYFK\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
Removing the public.xml
redirections.xml exists: NO
Creating new redirections.xml
Adding permission into AndroidManifest.xml
Recompiling / bulding new apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 15, -F, C:\Users\RYFK\AppData\Local\Temp\APKTOOL8117237803851350007.tmp, -x, -I, C:\Users\RYFK\apktool\framework\1.apk, -S, C:\Users\RYFK\AppData\Local\Temp\CMTXTE\res, -M, C:\Users\RYFK\AppData\Local\Temp\CMTXTE\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:355)
at brut.androlib.Androlib.buildResources(Androlib.java:280)
at brut.androlib.Androlib.build(Androlib.java:203)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:214)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 15, -F, C:\Users\RYFK\AppData\Local\Temp\APKTOOL8117237803851350007.tmp, -x, -I, C:\Users\RYFK\apktool\framework\1.apk, -S, C:\Users\RYFK\AppData\Local\Temp\CMTXTE\res, -M, C:\Users\RYFK\AppData\Local\Temp\CMTXTE\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:335)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:333)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 9, --target-sdk-version, 15, -F, C:\Users\RYFK\AppData\Local\Temp\APKTOOL8117237803851350007.tmp, -x, -I, C:\Users\RYFK\apktool\framework\1.apk, -S, C:\Users\RYFK\AppData\Local\Temp\CMTXTE\res, -M, C:\Users\RYFK\AppData\Local\Temp\CMTXTE\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:93)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:333)
... 6 more
Caused by: java.io.IOException: Cannot run program "aapt": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at java.lang.Runtime.exec(Unknown Source)
at brut.util.OS.exec(OS.java:84)
... 7 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
... 11 more
Signing new apk
java.io.FileNotFoundException: D:\Kev\Application\Android\maxc\Apktool JB 4.2.2_Signed_By Rizal Lovins Sundanesse\kam.apk (The system cannot find the file specified)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.zip.ZipFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at java.util.jar.JarFile.<init>(Unknown Source)
at com.android.signapk.SignApk.main(SignApk.java:437)
Done!
What the hell i must do ?
ApkTool has got problems running. Guessing it doesn't even work when running in cmd / terminal:
ApkTool needs the Android SDK tools installed to function properly (actually only aapt but it's still wiser to install the whole toolset).
And with installed I mean installed and inside the $PATH.
There should be tutorials about installing the Android SDK tools (or just aapt).
Another thing I would try (guessing it WORKS in cmd / terminal): Just place the aapt binary next to the ApkTool.jar / converting tool .jar as Java's exec default path should check for files in the working directory (where you run the .jars from), too.
When these don't work, just tell me.
Sent from my Nexus 7 using xda app-developers app
so it's necessary to install Android SDK ??
Unfortunately, yes. You should've been noticed about that when downloading ApkTool as it's not my fault but ApkTool's fault.
Sent from my Nexus 7 using xda app-developers app
Is this still active?
Are you able to create a stand alone jar where you can just drop package xmls into a folder, run the jar and it creates a redirections.xml from the package xmls in the folder ?
Yeah, I could do it when I find some more free time. I've been busy with another project.
Also, I'll try to make the project open-source by putting it on GitHub. Maybe other people would want to help me.
Sent from my Nexus 7 using xda app-developers app

[SOLUTION] Error decompile/recompile framework-res.apk and SystemUI.apk Android 5.1

Many guys getting error while trying to decompile/recompile apks( e.g framework-res.apk and SystemUI.apk)
So here is the solution download the apktool.jar( its a Snapshot build provided by iBotPeaches) from
here
Download apktool app but how to load it in Windows java is installed but apktool is not opening there
Again I have used all methods to decompile and recompile lollipop apks like advanced apktool
Apktool cmd version's
Android maltitool
All are working fine decompiled apk easily but no one able to recompile any apks showings errors in log
Even I have tried to recompile non modified apks but that again got failed
Plz help me if it got possible I will able to theme our lollipop ROM as we want 50% work is done just recompilation is pending
walpanmad said:
Download apktool app but how to load it in Windows java is installed but apktool is not opening there
Again I have used all methods to decompile and recompile lollipop apks like advanced apktool
Apktool cmd version's
Android maltitool
All are working fine decompiled apk easily but no one able to recompile any apks showings errors in log
Even I have tried to recompile non modified apks but that again got failed
Plz help me if it got possible I will able to theme our lollipop ROM as we want 50% work is done just recompilation is pending
Click to expand...
Click to collapse
Can you please provide me what error log you are getting?
I have this problem
********************************************************************************
*
*
*
* framework-res.apk Found Installing
*
*
*
********************************************************************************
*
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
press any key to continue....
help please
yes work for me ... thanks :good:
antonino530 said:
I have this problem
********************************************************************************
*
*
*
* framework-res.apk Found Installing
*
*
*
********************************************************************************
*
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
press any key to continue....
help please
Click to expand...
Click to collapse
not getting it
better you run apktool on cmd directly rather then using batch applications
antonino530 said:
I have this problem
********************************************************************************
*
*
*
* framework-res.apk Found Installing
*
*
*
********************************************************************************
*
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:56)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResource
s.java:562)
at brut.androlib.Androlib.installFramework(Androlib.java:473)
at brut.apktool.Main.cmdInstallFramework(Main.java:250)
at brut.apktool.Main.main(Main.java:81)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:44)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
2)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:83)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
... 5 more
press any key to continue....
help please
Click to expand...
Click to collapse
Did you ever get this solved? I am having the same issue
It had solved bro
Just use latest release of apktool and
Follow correct instruction for decompiling system apks
Sent from my Spice Mi-498 using XDA Free mobile app
decompile errors
I am getting these errors in attached screenshot, any help please?
SLCMotor said:
I am getting these errors in attached screenshot, any help please?
Click to expand...
Click to collapse
maybe it will be hort but if you copy resorces.arsc from to framwork-res.apk to out folder before build you can solve problem

Categories

Resources