Wednesday, 20 November 2013

on Leave a Comment

How To Make a ROM for an Android Phone using Kitchen

***NOTE:NOT OUR RESPONSIBILITY FOR ANY KIND OF DAMAGE OR BRICKED DEVICES.***

Tried to make it as easy as I could make! :)

What you need:
2../system directory of your custom/stock ROM.
3.Root access on phone.
6.Common sense and Half an hour! :P

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

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).

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.

Open the links and install the ICON PACKS using CWM.


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


ICS Settings MOD-

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

NOW, ADDING LAUNCHERS

There are 2 ways to 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.

ADDING LIDROID 14 BAR TOGGLE


LOCKER


BOOTANIMATION


TROUBLESHOOTING

1. If you get problems in installing a ROM then change your META-INF folder with this one:
http://www.mediafire.com/?0g1m8cobnby046u
(i). Use the script above if you have integrated kernel in your ROM.
(ii). If you have a ROM without kernel then remove these lines:
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.

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 because it booted properly in my 9/10 tests.

So,here yeah. The procedure is done! Do share your ROM with us and problems too.
CHEEEEEEERRRRSSSSSSSS! :D


0 comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

Contributors

Powered by Blogger.