Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,408 Members 52,858 Now Online
XDA Developers Android and Mobile Development Forum

X1 ROM optimization with Kovsky kitchen

Tip us?
 
htainlin
Old
(Last edited by htainlin; 28th March 2009 at 12:17 PM.) Reason: Extra stuffs
#1  
htainlin's Avatar
Member - OP
Thanks Meter 2
Posts: 46
Join Date: Sep 2007
Location: Auckland
Default X1 ROM optimization with Kovsky kitchen

************************************************** ************************************************** ******************
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
_________________________
Imate SP5
Imate JAS
HTC P3600
Samsung Omnia
Sonyericsson Xperia X1,
Samsung Wave, SGS II, SGS III
Galaxy Note, Galaxy Tab 7.7, iPad3
 
Lokatho
Old
#2  
Lokatho's Avatar
Senior Member
Thanks Meter 4
Posts: 891
Join Date: Dec 2008
Nice work!! Downloading at the moment, and see what your guide brings me
"Bis repetita non placent"
Horatius
 
neock
Old
#3  
neock's Avatar
Senior Member
Thanks Meter 4
Posts: 268
Join Date: Jul 2007
Location: Canton
wow,that's what i'm looking for!

thanks for the work
 
damskie
Old
#4  
damskie's Avatar
Member
Thanks Meter 0
Posts: 48
Join Date: Dec 2008
Location: NCR
How to cook rom 101.. This is what i've been looking for.. Thanks TS.
 
i_am_jon
Old
(Last edited by i_am_jon; 19th March 2009 at 12:10 PM.)
#5  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: 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.
 
MykeChester
Old
#6  
MykeChester's Avatar
Retired Forum Moderator
Thanks Meter 17
Posts: 926
Join Date: Mar 2009
Location: Earth
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?"
 
quinstar
Old
#7  
Senior Member
Thanks Meter 0
Posts: 102
Join Date: Apr 2008
Quote:
Originally Posted by MykeChester View Post
One question...what do you mean "make config.txt writable?"
In file properties, untick "read-only"

Q
 
stellaryt
Old
#8  
stellaryt's Avatar
Senior Member
Thanks Meter 26
Posts: 261
Join Date: Dec 2008
Location: BeiJing
a good guide.Thanks!
Samsung Galaxy Nexus

ROM: AOKP
Baseband: XXLA2
Bootloader: Primekl03
Kernel:Franco's or Trinity NP
Launcher: NovaLauncher By kevin@TeslaCoil
Theme:Amoled BLUE By etoy



SonyEricsson XPERIA X1i
SPL: Hard-SPL v1.0 by OliNex
Radio Version: 1.14.25.55
 
341840633
Old
#9  
Member
Thanks Meter 0
Posts: 49
Join Date: Nov 2008
Location: GD-JM
thank you very much
 
htainlin
Old
#10  
htainlin's Avatar
Member - OP
Thanks Meter 2
Posts: 46
Join Date: Sep 2007
Location: Auckland
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 View Post
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.
_________________________
Imate SP5
Imate JAS
HTC P3600
Samsung Omnia
Sonyericsson Xperia X1,
Samsung Wave, SGS II, SGS III
Galaxy Note, Galaxy Tab 7.7, iPad3

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

Advanced Search
Display Modes


MediaTek Releases Full Kernel Source for First Android One Devices

Those who might have thought that MediaTek wouldnever release working … more

Submitting a Patch to Gerrit – Featuring XplodWild – XDA Developer TV

Not every developer specializes in every area of … more

Learn How to Make a Live Wallpaper all by Yourself

Stillimages can bebeautiful, but some of you prefer to see animations on your screens. … more

Google Play Services Updated to Version 6.1

In addition to Android operating system proper, Google is focusing hard on giving the developers … more