[HTC Desire C] russell664:
Configuring DSiXDA's kitchen

Just to note the HTC Desire C is not compatible with kitchen, there is a work around that works perfectly so follow the steps further down the thread, these are the officially supported devices for a reference:

Remember this is a reference, and is extracted from DSiXDAs thread itself.​

Acer Liquid

Dell Streak 7

HTC Amaze 4G

HTC Aria / Liberty

HTC Desire

HTC Desire HD / Inspire 4G

HTC Desire S

HTC Desire Z / Vision / T-Mobile G2

HTC Dream / G1

HTC Droid DNA

HTC Droid Eris

HTC Evo 3D

HTC Evo 4G

HTC Evo 4G LTE

HTC Evo View 4G (untested)

HTC Evo Shift 4G

HTC Flyer (untested)

HTC HD2
- Use NAND ROM method (Please follow this thread for details)

HTC Hero / G2 Touch

HTC Incredible

HTC Incredible 2

HTC Incredible S

HTC Legend

HTC Magic / myTouch 3G

HTC myTouch 3G Slide

HTC myTouch 4G / Glacier

HTC Nexus One

HTC One S

HTC One X

HTC One X+ (AT&T and International versions)

HTC One XL

HTC One V (including CDMA version)

HTC Rezound

HTC Sensation

HTC Tattoo / Click

HTC Thunderbolt

HTC Wildfire / Buzz

HTC Wildfire S

Huawei Ideos X6
- Please follow this thread for details

Huawei U8100/U8110/U8120/U8150/U8160/U8180/U8650

Huawei U8220 / T-Mobile Pulse

LG Ally

LG GT540 Optimus

LG Nexus 4 (mako)

LG Optimus 2X (P990)

LG Optimus Black
- Please follow this thread for details

LG Optimus G2X (P999)

LG P500
- Please follow this thread for details

LG Shine Plus

LG Vortex

Micromax A60

Motorola Atrix (unconfirmed)

Motorola CLIQ / CLIQ XT

Motorola Droid

Motorola Droid Bionic
- Please follow this thread for details

Motorola Milestone (unconfirmed)
- You may need to remove the boot.img before building

Samsung Galaxy Ace 2 - GT-I8160(L/P)

Samsung Galaxy Mini

Samsung Galaxy Nexus (untested, 'maguro' and 'toro' versions only)

Samsung Galaxy Note
- GT-N7000 - please follow this thread for details
- SGH-I717 - Please follow this thread for details

Samsung Galaxy Note 2
- Supported for:
-- Sprint variants - SPH-L900 - Please follow this guide
-- T-Mobile variants - SGH-T889(V) - Please follow this guide
-- Verizon variants - SCH-I605
(unconfirmed - see this equivalent guide)
-- International variants - GT-N7100/N7105(T)/N7108
(unconfirmed - see this equivalent guide)
-- AT&T/Rogers/Bell/Telus variants - SGH-I317(M)
(unconfirmed - see this equivalent guide)
-- US Cellular variants - SCH-R950
(unconfirmed - see this equivalent guide)

Samsung Galaxy R GT-I9103

Samsung Galaxy S (GT-I9000 and most variants)
- Please follow this thread for details

Samsung Galaxy S Plus (GT-I9001)
- Please follow this thread for details

Samsung Galaxy S2
- Supported for:
-- GT-I9100 and Exynos CPU variants - Please follow this thread for details
-- Qualcomm/LTE variants
(AT&T Skyrocket, Rogers, Telus, T-Mobile, Bell HD LTE SGH-I757M,
Telstra GT-I9210T)
- Please follow this thread for details

Samsung Galaxy S3
- Supported for:
-- T-Mobile/Mobilicity/Wind variants: SGH-T999(V) - Click here for a guide
-- AT&T/Rogers/Bell/Telus variants: SGH-I747(M) - Click here for a guide
-- Verizon variants: SCH-I535, SCH-R530U - Click here for a guide
-- Sprint variants: SPH-L710, SCH-L710 - Click here for a guide
-- International variants: GT-I9300(T) - Click here for a guide
-- International LTE variants: GT-I9305(T) - Click here for a guide
-- Korean variants: SHV-E210K/L/S and SHW-M440S (unconfirmed)

Samsung Galaxy W (GT-I8150)
- Please follow this thread for details

Samsung Nexus S / Nexus S 4G

Sony Ericsson Xperia 2010 devices (X10 / X10 Mini / X10 Mini Pro)
- Can only build ROM without boot.img (please follow this thread for details)

Sony Xperia 2011-12 devices, specifically:
- TX, P, U, Sola
- Active, Arc, Arc S, Mini, Mini Pro, Neo, Neo V, Neo L,
Play, Ray (follow steps below):
- Can only build ROM without boot.img
- If using stock FTF for kitchen:
1) Unzip FTF file, extract the system.sin
2) Dump system image from system.sin w/ Flashtool
(Advanced-> SIN Editor)
3) Rename dumped file to system.img
- OR If using Nandroid backups: Rename system.yaffs2.img to system.img
- Use this system.img in kitchen's original_update folder
- WARNING - If using a ROM made from system.sin (not Nandroid), it
is recommended to flash from the temporary (fastboot) Clockwork
Recovery, rather than the regular Clockwork Recovery, otherwise
device may not boot (possibly because custom recovery files in
system folder are not added to ROM? e.g. recovery.tar).

ZTE Blade / Orange San Francisco

Now for the compatibility fix details

There are one of two ways you can do this, these being:

Do the file editing manually, I will explain it step by step for you.

Or be lazy and use my provided file at the bottom if this post.

If you choose to learn a little bit more from this tutorial, you may want to go the manual route. That is all well and good, however, follow these instructions precisely, or you could cause a lot of problems with your phone.

If you don't feel safe doing it manually, use my file below to make sure that does not happen.

Here we go...

Option 1:

By this step your kitchen should be downloaded, and confirmed that it does in fact start up, if it does your set to go and follow these remaining steps.

In your kitchen directory, you will find a tools folder you want to Click that and then the Edify_defs folder after that, the file structure should look like this:

C:\cygwin\home\yourusername\Kitchen\tools\edify_defs

This is on a Windows based system.

\home\yourusername\Kitchen\tools\edify_defs

This would be on a linux based system, it will be very similar.​

Once you are in this folder save a file called "Golfu". (You can do this by saving the file as a blank text document, but save it as *file insted of .txt)

Get a recovery.img (Yes the one used for flashing your recovery, or a stock one) And save it in the "Original_update" folder, the file structure should look like so:

C:\cygwin\home\yourusername\Kitchen\Original_update

This is on a Windows based system.

\home\yourusername\Kitchen\Orginal_update

This would be on a linux based system, it will be very similar.​

Once you have done that follow these menus through the kitchen:

Advanced --> Tools for boot image --> Extract from boot.img/recovery.img in any folder.

Once this is done, once again go to the Orginal_update folder and you will find the extracted recovery.img, open it's ramdisk folder and Follow this file structure:

/system/etc/recovery.fstab or /etc/recovery.fstab

After you have found this file open it with a text editor. (Due to this being code, you will want it in a neat fashion, this is why I recommend NOTEPAD++ for windows user, linux user you are fine with the standard one included)

When looking at the code you are looking for these lines:

sys_mnt=\/dev\/block\/[B]mmcblk0p25[/B]
cache_mnt=???
data_mnt=???
sdcard_mnt=???

However you are only really looking for the system block number, you can add data etc later on manually though updater scripts it is much easier. Remember you are looking for this line highlighted in bold, you can just copy that number down, it is the same for every HTC Desire C.

The last step is too add these lines you have found, to the "golfu" file you created, basically you want it to look exactly ike the code below, copy and paste it if you wish:

change_mnt=yes

param1=ext4
param2=EMMC

param1_sdcard=vfat
param2_sdcard=MTD

sys_mnt=\/dev\/block\/mmcblk0p25
cache_mnt=???
data_mnt=???
sdcard_mnt=???

Now the configuration is now done of the kitchen, now you can move onto how to build your Rom from a RUU, or from an exsting rom such as Revolution, or nameless.

Option 2:

As said in option 1 you need to make sure you Rom kitchen starts up and shows the menu, this means it is working. If it does not do that you have done something wrong.

Basically you need to download this attached file, unzip it and place it in the following directories. (Make sure you read to notes at the end of the directory code, so you know what operating system it is aimed at)

Move the file here:

C:\cygwin\home\yourusername\Kitchen\tools\edify_defs\thefileyoudownloaded

This is on a Windows based system.

\home\yourusername\Kitchen\tools\edify_defs\thefileyoudownloaded

This would be on a linux based system, it will be very similar.​

That is basically it, now you need to read below, on how to actually build your roms.