Google Updates Play Games, Wallet, Docs, Sheets, Slides, Drive, Google+, and Camera

While we haven’t really had much in the way of … more

Google Execs Talk to Ars About Android 5.0 Lollipop

Android 5.0 Lollipop is right around the corner, and it’s expected to hit AOSP … more

UX Design in Apps and ROMs w/ Kevin Bruckert – BABBQ2014

This year’s Big Android BBQ has come and gone. While the whole event was … more

Bring Material Design Goodness to Your App with Support Library

At Google I/O 2014, the next iteration of Android was announced and … more
Post Reply

X1 ROM optimization with Kovsky kitchen

OP htainlin

19th March 2009, 05:34 AM   |  #1  
htainlin's Avatar
OP Member
Flag Auckland
Thanks Meter: 2
 
46 posts
Join Date:Joined: Sep 2007
More
************************************************** ************************************************** ******************
IMPORTANT: Use my guide as your own risk. I am not responsible for anything if you device is bricked. Please flash only if you have hardspl installed.
************************************************** ************************************************** ******************
XPERIA ROCKS
************************************************** ************************************************** ******************

I have been using Xperia's cooked roms from Jack and ITJE and they are good. However, there are some problems with working that and not working this. and also I found that either the roms are too light or too heavy.

My goal is making Xperia rom as light as possible and only using xperia original stuffs so that I don't have problems with bluetooth and other things.

And I found a way to taking out junks from Xperia X1 and increased X1's storage space to around 360 MB by using Kovsky Kitchen and working everything normal.

I found that X1i_GENERIC_UK_CDF1215-1832_R2AA010 is the best for me and I stripped out SE's junks from the rom using Kovsky Kitchen. You can do to any original rom for your need.

Preperation:

1. Download Kovsky Kitchen here http://forum.xda-developers.com/showthread.php?t=477801 .
2. Download X1i_GENERIC_UK_CDF1215-1832_R2AA010 .

Start Cooking your own rom:

Step 1: Preperation

1. Extract Kovsky Kitchen to any where you want. (Preferrably C:\Kovsky Kitchen)
2. Rename APP_SW_X1i_GENERIC_UK_CDF1215-1832_KOV_R2AA010.image to RUU_Signed.nbh and copy to Kovsky kitchen's BaseRom folder.

Step 2: Extracting

1. Run KovskyKitchen.CMD
2. Type "e" to extract the original X1 R2AA010 rom
3. Type "a" to start extracting. (It will take around 2 or 3 minutes)
4. Wait until you see "Press Any Key to continue...."
5. Leave the CMD windows open...

Now Kovsky Kitchen is ready to cook...

Step 3: Cooking

1. Go to a newly created folder called " OEM" in the kitchen that where you do stripping out SE's Junks.
2. Go to "ConfigAP" folder. You will see config_AP.txt. Make file writable by changing read only attribute. And delete all links to CAB files that you want to delete. I delete them all as I don't want any of them.

CAB: \WINDOWS\bejeweled2SX1.PPC_2577.WM5_signed.CAB
CAB: \WINDOWS\FM-Radio_Panel_MR1_R19_32318_signed.CAB
CAB: \WINDOWS\GoogleMaps-ms-sonyericsson_emb.cab
CAB: \WINDOWS\GooglePanel_UK_MR1_R19_32195_signed.CAB
CAB: \WINDOWS\GoogleSearch_SEMC_1.1.40_RC3_signed.CAB
CAB: \WINDOWS\MxP_R19_MR1_RC2_32367_signed.CAB
CAB: \WINDOWS\WM6.1_PPC_dawn_Opera_2532_signed.cab
CAB: \WINDOWS\sudokuSX1.PPC_2577.WM5.CAB

Leave only "CFG: \WINDOWS\config_end.txt" line . I don't want any junk in the rom. I will install them later by UC config or manually install them.

And put the file back "Read Only"

3. Delete folders that you don't want in the OEM folder whatever start with "PACKAGE_". For example:

PACKAGE_Kovsky_Bejeweled2
PACKAGE_Kovsky_Bejeweled2_0409
PACKAGE_Kovsky_FMRadioPanel
PACKAGE_Kovsky_FMRadioPanel_0409
PACKAGE_Kovsky_GoogleMap
PACKAGE_Kovsky_GoogleMap_0409
PACKAGE_Kovsky_Googlepanel
PACKAGE_Kovsky_Googlepanel_0409
PACKAGE_Kovsky_GoogleSearch
PACKAGE_Kovsky_GoogleSearch_0409
PACKAGE_Kovsky_HandangoInHand
PACKAGE_Kovsky_HandangoInHand_0409
PACKAGE_Kovsky_MxP
PACKAGE_Kovsky_MxP_0409
PACKAGE_Kovsky_Opera_Browser
PACKAGE_Kovsky_Opera_Browser_0409
PACKAGE_Kovsky_Sudoku
PACKAGE_Kovsky_Sudoku_0409

4. Deleting files from ExtendedPkg (Musics and Movies)

Make config.txt writable and delete
"XML: \WINDOWS\fileoperations.xml" line and Make the file read only again.
Delete all files that are larger than 22 KB except "Xperia Black.tsk", because i like Xperia black theme.

You can delete other files if you want to but for me I leave them alone as they are small enough.

5. Deleting files from SYS folder (These are original WM stuffs)

Delete "AUTOUPDATE" folder
Delete "NetCF" folder (You can install NetCF 3.0 later)
Delete "SampleMusic" folder
Delete "WelcomeCenter" folder
Delete "WelcomeCenter_Lang_0409" folder

You can delete OneNote, Office, or WindowsLive if you would like to. But I leave them alone.


Now.. our rom has no more unwanted stuffs..

Step 4: Building OS

1. Go back to CMD window and
2. Type "C" cook a rom.
3. Type "A" if you want to use the old BuildOS.exe (I can't figure out the second one)
4. BuildOS windows will appear.
5. Just click on green "Play" icon and It will start building our rom. Wait until it finishs and closes the "Build OS" window.
6. Go back to CMD windows again and wait until you see "press any key to contine".. press any key..
7. It will do some stuffs and you will see os-new.nb in the kitchen folder.
8. htc rom tool windows will appear.
Go to Rom Builder TAB. Choose Kovsky * in device. It will fill all the infomation in other fields. Just change the version to anything you like.
9. Choose "os-new.nb" in the OS field. and click on "Build" button.
10. Save it as "RUU_Signed.nbh" in the kitchen folder. A new window appear and it will quit itself.
11. Now. you will see "RUU_Signed.nbh" in the kitchen folder.
12. An Hexa Editor windows will appear. Just close it.
13. You can close CMD window now.

Step 5: Flashing

Now you are ready to flash your own cooked rom. You can flash your rom with RUU Update Utility or just change "RUU_Signed.nbh" to "KOVSIMG.nbh" and put is in SD card and flash it.

For information on how to flash using SD card here .

You can get my sample rom here.


************************************************** ************************************************** *****************
FOR THOSE WHO WANT TO PUT CAB FILES IN THE ROM.
************************************************** ************************************************** *****************

Step1:

Put the line in Config_AP.txt the line "CAB: \WINDOWS\FM-Radio_Panel_MR1_R19_32318_signed.CAB" . It has to be exactly as the cab file name that you are going to put in the OEM folder.

Step2:

Make 2 folders "PACKAGE_Kovsky_FMRadioPanel" and "PACKAGE_Kovsky_FMRadioPanel_0409" in the OEM folder. Put your cab file in the first folder.

And now you are good to go.

Step3:

Open KovskyKitchen.CMD and start the procedures "Step 4: Building OS "from my guide.

************************************************** ********
Step 4: Building OS

1. Go back to CMD window and
2. Type "C" cook a rom.
3. Type "A" if you want to use the old BuildOS.exe (I can't figure out the second one)
4. BuildOS windows will appear.
5. Just click on green "Play" icon and It will start building our rom. Wait until it finishs and closes the "Build OS" window.
6. Go back to CMD windows again and wait until you see "press any key to contine".. press any key..
7. It will do some stuffs and you will see os-new.nb in the kitchen folder.
8. htc rom tool windows will appear.
Go to Rom Builder TAB. Choose Kovsky * in device. It will fill all the infomation in other fields. Just change the version to anything you like.
9. Choose "os-new.nb" in the OS field. and click on "Build" button.
10. Save it as "RUU_Signed.nbh" in the kitchen folder. A new window appear and it will quit itself.
11. Now. you will see "RUU_Signed.nbh" in the kitchen folder.
12. An Hexa Editor windows will appear. Just close it.
13. You can close CMD window now.

************************************************** ************************************************** *****************
FOR THOSE WHO WANT TO PUT OTHER HTC DEVICE'S STUFFS IN THE ROM. (For example "Blackstone" HTC Touch HD)
************************************************** ************************************************** *****************

Step 1: Exact other device's ROM the same procedure as X1 rom.
Step 2: Simply copy folders from Blackstone kitchen's OEM folder to X1 kitchen's OEM folder. For example:

PACKAGE_Blackstone_AudioBooster
PACKAGE_Blackstone_AudioBooster_0409

Step 3: Follow the step 4: Building OS from the guide.

Working Stuffs:

Album
AudioBooster
AudioManagerEngine
Enlarge Startmenu
MP3 Trimmer
FMRadio
Manila
JetCet Print
LargeTitalbar
Volume Control
AdvancedNetwork

Not Working Stuffs: (May need shared files from other folders or tweakings)

Camera (I simply use X1 camera application . Copy \Program Files\CameraRunner.exe to \Windows and rename it to "Camera.exe".)
Youtube (You can simply install Youtube program that has been modified)
CyberonVoice Commander
Last edited by htainlin; 28th March 2009 at 12:17 PM. Reason: Extra stuffs
19th March 2009, 10:46 AM   |  #2  
Lokatho's Avatar
Senior Member
Thanks Meter: 4
 
891 posts
Join Date:Joined: Dec 2008
More
Nice work!! Downloading at the moment, and see what your guide brings me
19th March 2009, 11:36 AM   |  #3  
neock's Avatar
Senior Member
Flag Canton
Thanks Meter: 4
 
269 posts
Join Date:Joined: Jul 2007
More
wow,that's what i'm looking for!

thanks for the work
19th March 2009, 12:00 PM   |  #4  
damskie's Avatar
Member
Flag NCR
Thanks Meter: 0
 
48 posts
Join Date:Joined: Dec 2008
More
How to cook rom 101.. This is what i've been looking for.. Thanks TS.
19th March 2009, 12:06 PM   |  #5  
Junior Member
Thanks Meter: 0
 
12 posts
Join Date:Joined: Nov 2008
Brilliant, someone should sticky this.

Been wanting to try cooking my own rom for a while but didn't know where to start. Your example is pretty much exactly what i've been looking for in a cooked rom, strip out all the media junk but not mess with anything else.

What do I have to do to get UC working, is it just a case of having SDConfig.txt on my storage card or do I need to add something to the rom?

Any chance of a part 2 for how to add cab's to the rom? I would like to add a few light weight essentials such as blackstone dialer, fm radio & volume control to mine.
Last edited by i_am_jon; 19th March 2009 at 12:10 PM.
19th March 2009, 12:25 PM   |  #6  
MykeChester's Avatar
Retired Forum Moderator
Flag Earth
Thanks Meter: 17
 
926 posts
Join Date:Joined: Mar 2009
More
Nice Thread...I will try it later after work...

"Make config.txt writable and delete
"XML: \WINDOWS\fileoperations.xml" line and Make the file read only again.
Delete all files that are larger than 22 KB except "Xperia Black.tsk", because i like Xperia black theme.
"

One question...what do you mean "make config.txt writable?"
19th March 2009, 12:42 PM   |  #7  
Senior Member
Thanks Meter: 0
 
102 posts
Join Date:Joined: Apr 2008
Quote:
Originally Posted by MykeChester

One question...what do you mean "make config.txt writable?"

In file properties, untick "read-only"

Q
19th March 2009, 01:06 PM   |  #8  
stellaryt's Avatar
Senior Member
Flag BeiJing
Thanks Meter: 26
 
261 posts
Join Date:Joined: Dec 2008
More
a good guide.Thanks!
19th March 2009, 01:24 PM   |  #9  
Member
GD-JM
Thanks Meter: 0
 
49 posts
Join Date:Joined: Nov 2008
More
Thumbs up
thank you very much
19th March 2009, 07:22 PM   |  #10  
htainlin's Avatar
OP Member
Flag Auckland
Thanks Meter: 2
 
46 posts
Join Date:Joined: Sep 2007
More
Actually, I have never tried to use UC yet. I just install whatever I want manually. Using UC should be quicker to install things. Great chefs like ITJE and Jack should know better. Please search their threads for UC stuffs.

For putting the cab files should be relatively easy. We can do reverse exactly how we stripped them out.


For example , you can do the following if you want to put FM Radio panel back or any other cabs you wanted to include in the rom.

But for me, I want the rom as light as possible and to get the largest storage space, I don't bother to put them in the rom. If I want them, I just install them manually.

Step1:

Put the line in Config_AP.txt the line "CAB: \WINDOWS\FM-Radio_Panel_MR1_R19_32318_signed.CAB" . It has to be exactly as the cab file name that you are going to put in the OEM folder.

Step2:

Make 2 folders "PACKAGE_Kovsky_FMRadioPanel" and "PACKAGE_Kovsky_FMRadioPanel_0409" in the OEM folder. Put your cab file in the first folder.

And now you are good to go.

Step3:

Open KovskyKitchen.CMD and start the procedures "Step 4: Building OS "from my guide.

************************************************** ********
Step 4: Building OS

1. Go back to CMD window and
2. Type "C" cook a rom.
3. Type "A" if you want to use the old BuildOS.exe (I can't figure out the second one)
4. BuildOS windows will appear.
5. Just click on green "Play" icon and It will start building our rom. Wait until it finishs and closes the "Build OS" window.
6. Go back to CMD windows again and wait until you see "press any key to contine".. press any key..
7. It will do some stuffs and you will see os-new.nb in the kitchen folder.
8. htc rom tool windows will appear.
Go to Rom Builder TAB. Choose Kovsky * in device. It will fill all the infomation in other fields. Just change the version to anything you like.
9. Choose "os-new.nb" in the OS field. and click on "Build" button.
10. Save it as "RUU_Signed.nbh" in the kitchen folder. A new window appear and it will quit itself.
11. Now. you will see "RUU_Signed.nbh" in the kitchen folder.
12. An Hexa Editor windows will appear. Just close it.
13. You can close CMD window now.

************************************************** ********

Hope this help.

Quote:
Originally Posted by i_am_jon

Brilliant, someone should sticky this.

Been wanting to try cooking my own rom for a while but didn't know where to start. Your example is pretty much exactly what i've been looking for in a cooked rom, strip out all the media junk but not mess with anything else.

What do I have to do to get UC working, is it just a case of having SDConfig.txt on my storage card or do I need to add something to the rom?

Any chance of a part 2 for how to add cab's to the rom? I would like to add a few light weight essentials such as blackstone dialer, fm radio & volume control to mine.


Post Reply Subscribe to Thread

Tags
kovsky kitchen, tips and tricks, xperia rom
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes