FORUMS
Remove All Ads from XDA

[HowTo] Create your own custom rom using kitchen

5,991 posts
Thanks Meter: 5,244
 
Post Reply Email Thread
Not my responsibility if you soft brick your phone.

What you need:

1.Kitchen by Dsixda http://forum.xda-developers.com/showthread.php?t=633246

2./system directory of your custom/stock rom.

3.Root access on phone

Root browser https://play.google.com/store/apps/d...93c2VyZnJlZSJd

Root explorer https://play.google.com/store/apps/d...=search_result

5.Common sense and half an hour (MOST IMPORTANT)

Instructions:

(I presume that you have already installed Cygwin.)

GETTING SYSTEM FILES

1.Install your preferable Root file browser in your phone.
2.Open and look down for system folder in it.
3.Copy the whole folder on your sd card
OR
1.Open your favourite custom rom and copy the system files in there.I personally used creeds v2.5
(Use this method if you want to test it or you are a lazy kid like me!)


SETTING UP ROM

1.Open Cygwin and type "cd kitchen" and press enter
2.Type "./menu" in it. You will see a menu after that.
3.Go to Cygwin>>home>>user>>kitchen>>original_update
4.Make a folder there named as "WORKING_XXXXX" and put the /system files you obtained in it.
5.Go back to Cygwin and press 1.
6.Press enter once again and select the name of your working folder by pressing the number against it.
7.After this it will ask for naming another folder.Do as you want.
8.Now you have a working folder which is going to become your future rom. Select any options from the menu which you would like to have in your rom.(I have not tested all of them so there is a chance that some of them wont work).


BUILDING THE ROM

1.Press 99 to build the working folder.
2.Go for the interactive mode so press 1.
3.Zipalign them by pressing y. A wall of text would come but dont worry
4.Add updater-script. Again a hell lot of text
5.Press y again
6.Sign your rom by pressing y
7.Change the name of your rom by pressing y
8.Press Enter to finish!
9.Go to OUTPUT_ZIP and open the your rom and go in META-INF fodler.Over here you need to put the updater scripts which you want for your rom. I have tested the scripts from Creeds v2.5 and it installs perfectly. (This is not a necessary step because you can also install your rom with the original META-INF script.)
10.Copy the rom to your sdcard
11.Boot in cwm and wipedata+cache and then install your rom.(Have a backup in hand)
12.It should install perfectly cuz it booted properly in my 9/10 tests.


If you want to customise your rom then look below. It should be done before the building the rom.

UNDER CONSTRUCTION

MORE TO COME: TWEAKS,ICONS,ICS SETTINGS,USEFUL APPS and many other customizations.
The Following 65 Users Say Thank You to hell_lock For This Useful Post: [ View ]
 
 
24th April 2012, 12:07 PM |#2  
OP Recognized Developer
Flag New Delhi
Thanks Meter: 5,244
 
Donate to Me
More
DONT KNOW IF THEY WORK OR NOT. I AM STILL TESTING THEM.

Ok here is it for tweaking and making your rom beautiful.

Tweaking-
Use these links for init.d scripts. To install them open the zip files on your pc and drag the scripts in system>>etc>>init.d into the WORKING_XXXX folder.

http://forum.xda-developers.com/show...php?t=1491714- St@matis

http://forum.xda-developers.com/show....php?t=1227269

http://forum.xda-developers.com/show....php?t=1353903

http://forum.xda-developers.com/showthread.php?t=991276

Icon Packs-
Open the links and install these packs through cwm.

http://forum.xda-developers.com/show....php?t=1553292 - Specifically for Galaxy Y

http://forum.xda-developers.com/show....php?t=824656- Supports all phones and has over 700+ packs!!

http://forum.xda-developers.com/show...php?t=1552767- 3D icons

ICS Settings Mod-
Follow the thread

http://forum.xda-developers.com/show....php?t=1576565

Now adding launchers: There are two ways 2 do this.

1.Remove touchwiz30.apk from your system>>app and replace it with the apk of your launcher.

2.Put your launcher.apk system>>app directory and flash it.
http://www.mediafire.com/?kr1oc425451nzvy (Please thank here once of you use htis http://forum.xda-developers.com/show....php?t=1602200 its the source of script)

Adding lidroid 14 bar toggle

http://forum.xda-developers.com/show....php?t=1511307

Locker

http://forum.xda-developers.com/show....php?t=1403761

UOT kitchen for many customizations

http://galaxyygaming.blogspot.in/201...ng-ur-own.html

Bootanimation

http://forum.xda-developers.com/show....php?t=1602200


Useful Apps:

UNDER CONSTRUCTION

Will add new things as I discover them. I am forgetting alot of things right now.

Sent from my GT-S5360 using XDA
The Following 33 Users Say Thank You to hell_lock For This Useful Post: [ View ]
24th April 2012, 12:07 PM |#3  
OP Recognized Developer
Flag New Delhi
Thanks Meter: 5,244
 
Donate to Me
More
TROUBLESHOOTING

1. If you get problems in installing a rom then change your META-INF folder with this one :http://www.mediafire.com/?0g1m8cobnby046u
1A .Use the script above if you have integrated kernel in your rom.
1B. If you have a rom without kernel then remove these lines:

Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
       write_raw_image("/tmp/boot.img", "boot"),
       delete("/tmp/boot.img"));
2. If there is a package error then extract the files of the rom and repack them using any compression software.

3. If rom installed correctly but stuck onto logo screen?? Then remove try removing kernel and flashing rom again.

4. If rom installed correctly but got onto bootloop then there could be many possibilities which could lead to this. If you want accurate cause of it then do a logcat.

5. If there are some apk's which are not working then check if you correctly modded them.

Most of the problems occur because of updater-script problems so before trying any of the troubleshooting try the first tip.If you face different problem then post below.
Sent from my GT-S5360 using XDA
The Following 12 Users Say Thank You to hell_lock For This Useful Post: [ View ]
24th April 2012, 12:08 PM |#4  
OP Recognized Developer
Flag New Delhi
Thanks Meter: 5,244
 
Donate to Me
More
Last one maybe.

Sent from my GT-S5360 using XDA
The Following 8 Users Say Thank You to hell_lock For This Useful Post: [ View ]
24th April 2012, 02:27 PM |#5  
kurotsugi's Avatar
Senior Member
Flag yogyakarta
Thanks Meter: 1,811
 
More
in case if dsixda's script didn't work (show error 7) we can follow these guide:
1. extract the rom.
2. open updater-script with notepad++
3.1 if we want install only the rom, without kernel. delete 'write_raw_image PACKAGE:boot.img BOOT:'
3.2 if we want install the kernel and the rom, replace 'write_raw_image PACKAGE:boot.img BOOT:' with

package_extract_file("bmlunlock", "bmlunlock");
package_extract_file("boot.img", "boot.img");
set_perm(0, 0, 0755, "bmlunlock");
mount("vfat", "/dev/block/mmcblk0p1", "/sdcard", "rw");
run_program("bmlunlock");
run_program("/system/bin/dd", "if=boot.img", "of=/dev/block/bml7");

4. save the file
5. rezip the rom
The Following 11 Users Say Thank You to kurotsugi For This Useful Post: [ View ] Gift kurotsugi Ad-Free
24th April 2012, 05:12 PM |#6  
OP Recognized Developer
Flag New Delhi
Thanks Meter: 5,244
 
Donate to Me
More
Quote:
Originally Posted by kurotsugi

in case if dsixda's script didn't work (show error 7) we can follow these guide:
1. extract the rom.
2. open updater-script with notepad++
3.1 if we want install only the rom, without kernel. delete 'write_raw_image PACKAGE:boot.img BOOT:'
3.2 if we want install the kernel and the rom, replace 'write_raw_image PACKAGE:boot.img BOOT:' with

package_extract_file("bmlunlock", "bmlunlock");
package_extract_file("boot.img", "boot.img");
set_perm(0, 0, 0755, "bmlunlock");
mount("vfat", "/dev/block/mmcblk0p1", "/sdcard", "rw");
run_program("bmlunlock");
run_program("/system/bin/dd", "if=boot.img", "of=/dev/block/bml7");

4. save the file
5. rezip the rom

No chance of that error because I am not using any kernel (boot.img) in my rom.
The Following 8 Users Say Thank You to hell_lock For This Useful Post: [ View ]
24th April 2012, 05:17 PM |#7  
kurotsugi's Avatar
Senior Member
Flag yogyakarta
Thanks Meter: 1,811
 
More
well...you didn't need that but someone may want to install another kernel in their rom.
The Following 3 Users Say Thank You to kurotsugi For This Useful Post: [ View ] Gift kurotsugi Ad-Free
24th April 2012, 05:20 PM |#8  
OP Recognized Developer
Flag New Delhi
Thanks Meter: 5,244
 
Donate to Me
More
Quote:
Originally Posted by kurotsugi

well...you didn't need that but someone may want to install another kernel in their rom.

hmm.. ur right
The Following 3 Users Say Thank You to hell_lock For This Useful Post: [ View ]
24th April 2012, 06:09 PM |#9  
kurotsugi's Avatar
Senior Member
Flag yogyakarta
Thanks Meter: 1,811
 
More
btw, you can add another method to get system folder. in case if we dont have rootex we can get it from a nandroid backup. we can copy system.rfs.tar from the backup folder to original_update then use kitchen to extract it.
The Following User Says Thank You to kurotsugi For This Useful Post: [ View ] Gift kurotsugi Ad-Free
24th April 2012, 06:21 PM |#10  
OP Recognized Developer
Flag New Delhi
Thanks Meter: 5,244
 
Donate to Me
More
Quote:
Originally Posted by kurotsugi

btw, you can add another method to get system folder. in case if we dont have rootex we can get it from a nandroid backup. we can copy system.rfs.tar from the backup folder to original_update then use kitchen to extract it.

I hav not tried it so cant assure it yet
The Following 4 Users Say Thank You to hell_lock For This Useful Post: [ View ]
24th April 2012, 06:28 PM |#11  
kurotsugi's Avatar
Senior Member
Flag yogyakarta
Thanks Meter: 1,811
 
More
it is an exact copy of system partition. i made my rom in this way. you may test it if you want
Post Reply Subscribe to Thread

Tags
create roms, custom, custom rom, rom

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes