i was thing about using the updater script to do that will have a bash of making a decent on as well.
Thanks for the info
Edit: just looking at the framework files and it seems there might be a conflicts with the color scheme hence the issue with black texts going to have a mess and see what happens.
Edit: now recompiling the framework with the mods by copying the MIUI items over to the main framework file.
I can't even recompile the files back now to .apk
Code:
[*] framework-res.apk
-----------------------------------------------------
Recompiling framework-res.apk folder...
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\SOLIDU~1\AppData\Local\Temp\APKTOOL3862190848518712147.tmp, -x, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\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\SOLIDU~1\AppData\Local\Temp\APKTOOL3862190848518712147.tmp, -x, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 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)
... 8 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
Done!
-----------------------------------------------------[*] framework-miui-res.apk
-----------------------------------------------------
Recompiling framework-miui-res.apk folder...
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\SOLIDU~1\AppData\Local\Temp\APKTOOL5169812878154491605.tmp, -x, -I, C:\Users\Solidus1983\apktool\framework\1.apk, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-miui-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-miui-res\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\SOLIDU~1\AppData\Local\Temp\APKTOOL5169812878154491605.tmp, -x, -I, C:\Users\Solidus1983\apktool\framework\1.apk, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-miui-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-miui-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 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)
... 8 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
Done!
-----------------------------------------------------[*] framework-res.apk
-----------------------------------------------------
Recompiling framework-res.apk folder...
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\SOLIDU~1\AppData\Local\Temp\APKTOOL810359748392900474.tmp, -x, -0, arsc, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\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\SOLIDU~1\AppData\Local\Temp\APKTOOL810359748392900474.tmp, -x, -0, arsc, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\AndroidManifest.xml]
at brut.util.OS.exec(Unknown Source)
... 7 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)
... 8 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
Done!
-----------------------------------------------------[*] framework-res.apk
-----------------------------------------------------
Recompiling framework-res.apk folder...
W: Could not find sources
I: Building resources...
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\SOLIDU~1\AppData\Local\Temp\APKTOOL5736139574113193539.tmp, -x, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_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:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\SOLIDU~1\AppData\Local\Temp\APKTOOL5736139574113193539.tmp, -x, -S, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\res, -M, C:\Users\Solidus1983\Desktop\Builder\xdaAutoTool\_INPUT_APK\framework-res\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, 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:78)
... 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
Done!
Right the Black On Black issue is defo Theme based, only thing is the theme in question needs framework mods to ensure everything is in the correct place and size.
So people please test theme 5390323.mtz its the first theme on the rom icons will go big i know of that but test your apps that have Black on Black issues and report back!
Retired Mobile: HTC Wildfire (Buzz) Hboot: 1.02.000 (Superversion)
SecureFlag: On (Was Off'd with XTC Clip)
Rom: None Blanked for Testing Roms!!!!!!!!!
CWM: 5.0.2.8
Boot Manager: Full Version Paid and Worth It!
New Mobile: HTC Desire HD
SecureFlag: Off Via XTC Clip (I love my clip its so nice!)
Rom: Pacman Rom
Recovery: 4EXT
Yeh looks like either your not setup properly or the framework isn't loaded.
I use apkmanager (for the ui and simpler commands) for de/recompiling most things but if i run into problems with it i switch to apktool and do it all manually, its quite simple once you get the hang of it.
I don't know the tool you're using but does it have an option something like -if framework-res anywhere.
Samsung Galaxy S2
Siyah Kernel
Samsung Galaxy Note
Rooted but otherwise totally stock
HTC Wildfire
My first Android now retired but still being flashed for fun!
I mostly use apktool because its really simple and works most of the times. You can visit this link http://code.google.com/p/android-apktool/ and download the apktool-install-windows-r04-brut1.tar.bz2 and apktool1.4.3.tar.bz2 files or directly download the files needed for the apktool to work from the attached rar that i uploaded. Now unrar the archives if you downloaded from the link or if you downloaded my apktool.rar, unrar it and create a folder in your C:\ drive called apktool or in any other place in your drive but i suggest in C:\ you'll see why. Now in this folder place the three files that you extracted but also, place the framework-res.apk and framework-miui-res.apk. Open up the command prompt and navigate to the folder that you placed all these files if you did like i said in C:\ just type in the command prompt cd C:\apktool where apktool is the folder with your files in. Now type apktool if framework-res.apk and hit enter and do the same for the framework-miui-res.apk. You will get something like framework-res.apk installed on location blablabla. If you dont get this message you did something wrong, post here to help you. Now to DECOMPILE an apk just type apktool d framework-res.apk and hit enter. d stands for decompile. Now a folder named framework-res will be created with all the smali and xml files you want to edit To build back your apk just type apktool b framework-res . BUT REMEMBER you have navigate to the folder where you placed the files of the apktool, for the apktool to work.
Ok, so i've made a few more small changes to the launcher and icons to try and make the folders look a bit better. This is what i've done so far. To install the launcher copy this file http://db.tt/bcG73kXg to /system/app with a file manager i.e root explorer, then delete the old launcher and rename this file to Launcher.apk set permissions to rw-r--r-- and owner to root/root.
After this copy this icon pack http://db.tt/V4k4zh18 to /system/media/theme/default delete the old icons and rename this to icons, make sure theres no extension names it should be just icons and not icons.zip .mtz or anything else. Set permissions the same as the launcher above then reboot.
The folders and widgets should fit a little better but don't expect miracles from me........
Sent from my Wildfire using xda premium
Samsung Galaxy S2
Siyah Kernel
Samsung Galaxy Note
Rooted but otherwise totally stock
HTC Wildfire
My first Android now retired but still being flashed for fun!
Just gave some instructions caps is something that many people fall to just a warning :P
Ok np,
Scratch nice work. Will add it to B3 if this works.
I now have no errors other then mem errors and fc erros show. whoot whoot.
So as far as the base is concerned its almost ready just need a decent kernel from sym when he has time and then some .apk resizing and bug fixing and we are there.
Edit1: Scratch the folder is still slightly offline the gap between text it greater the the icons otherwise it would fit perfectly. Other then that, there is now a load of icons and they do look good with the shadow effect. The skull works well as well!
Retired Mobile: HTC Wildfire (Buzz) Hboot: 1.02.000 (Superversion)
SecureFlag: On (Was Off'd with XTC Clip)
Rom: None Blanked for Testing Roms!!!!!!!!!
CWM: 5.0.2.8
Boot Manager: Full Version Paid and Worth It!
New Mobile: HTC Desire HD
SecureFlag: Off Via XTC Clip (I love my clip its so nice!)
Rom: Pacman Rom
Recovery: 4EXT
This is entry number one in a series of articles about tools for app developers, … more
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?