Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,730,761 Members 42,200 Now Online
XDA Developers Android and Mobile Development Forum
View Poll Results: Do You Want Beats Audio or Sony Bravia Engine or Both
Beats Audio 20 12.12%
Sony Bravia Engine 14 8.48%
Both 131 79.39%
Voters: 165. You may not vote on this poll

[ROM][PORTED] MIUI Buzz Beta 6 [DOWNLOADS FOR BETA 7 Live, Discontinued 4 Now] [WIP]

Tip us?
 
hacktrix2006
Old
(Last edited by hacktrix2006; 16th April 2012 at 03:38 PM.)
#141  
Senior Member - OP
Thanks Meter 389
Posts: 1,160
Join Date: Jan 2011

 
DONATE TO ME
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


New Device:

Advent Nvidia Note 7 Tegra 4
Rom: 4.4.2
Recovery: CWM 6.0.4.6
Bootloader: Unlocked
 
Sympnotic
Old
#142  
Sympnotic's Avatar
Senior Member
Thanks Meter 281
Posts: 565
Join Date: Aug 2010
Are you using the correct framework for (bak)smali ?
 
Scratch0805
Old
#143  
Scratch0805's Avatar
Senior Member
Thanks Meter 1193
Posts: 2,046
Join Date: Jun 2011
Location: Sheffield
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.

My Devices
Samsung Galaxy S2
Asus Nexus 7
Samsung Galaxy Tab 7
Samsung Galaxy Note N7000
2 x Samsung Galaxy Ace 5380i's
HTC Wildfire

mycolourscreen

My Dropbox
 
hacktrix2006
Old
#144  
Senior Member - OP
Thanks Meter 389
Posts: 1,160
Join Date: Jan 2011

 
DONATE TO ME
Thanks scratch will have a go later, sym i think it will be smali not sure i am new to all this android stuff and really doing bad atm
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


New Device:

Advent Nvidia Note 7 Tegra 4
Rom: 4.4.2
Recovery: CWM 6.0.4.6
Bootloader: Unlocked
 
rayven18
Old
(Last edited by rayven18; 17th April 2012 at 01:30 PM.)
#145  
rayven18's Avatar
Senior Member
Thanks Meter 24
Posts: 128
Join Date: Jan 2012
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.
Attached Files
File Type: rar apktool.rar - [Click for QR Code] (3.99 MB, 80 views)
JAVA Doctor!
 
hacktrix2006
Old
#146  
Senior Member - OP
Thanks Meter 389
Posts: 1,160
Join Date: Jan 2011

 
DONATE TO ME
can you change that abit, i am not little naughty child. come one normal size and remove the Caps..
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


New Device:

Advent Nvidia Note 7 Tegra 4
Rom: 4.4.2
Recovery: CWM 6.0.4.6
Bootloader: Unlocked
 
Scratch0805
Old
(Last edited by Scratch0805; 17th April 2012 at 01:30 PM.)
#147  
Scratch0805's Avatar
Senior Member
Thanks Meter 1193
Posts: 2,046
Join Date: Jun 2011
Location: Sheffield
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

My Devices
Samsung Galaxy S2
Asus Nexus 7
Samsung Galaxy Tab 7
Samsung Galaxy Note N7000
2 x Samsung Galaxy Ace 5380i's
HTC Wildfire

mycolourscreen

My Dropbox
 
rayven18
Old
#148  
rayven18's Avatar
Senior Member
Thanks Meter 24
Posts: 128
Join Date: Jan 2012
Quote:
Originally Posted by hacktrix2006 View Post
can you change that abit, i am not little naughty child. come one normal size and remove the Caps..
Just gave some instructions caps is something that many people fall to just a warning :P
JAVA Doctor!
 
hacktrix2006
Old
(Last edited by hacktrix2006; 17th April 2012 at 01:46 PM.)
#149  
Senior Member - OP
Thanks Meter 389
Posts: 1,160
Join Date: Jan 2011

 
DONATE TO ME
Quote:
Originally Posted by rayven18 View Post
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


New Device:

Advent Nvidia Note 7 Tegra 4
Rom: 4.4.2
Recovery: CWM 6.0.4.6
Bootloader: Unlocked
 
!_Ale13star_!
Old
#150  
Senior Member
Thanks Meter 71
Posts: 394
Join Date: Nov 2010
Is there an italian language pack for this rom..??

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes