[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B]
[EASIEST METHODS]
[EASIEST METHODS]
NOTE: THIS GUIDE WILL WORK ANY ANDROID DEVICE BUT HAS FEW EXTRA PRE- SUGGESTED LINKS FOR GALAXY ACE PLUS USERS.
Tools Required : (Update them manually and report me dead links please)
- Java JDK FROM HERE OR JAVA.SUN.COM - FOR INSTALLING CYWIGNQuote:
(WARNING: Do not install Cygwin before the JDK!! - Cywign Direct Download- Linux Terminal For Windows
- Android Kitchen (ROM Development Tool)- For Cooking custom ROM and many more things, Please update this Kitchen to latest version when available.Quote:
Official Link to dxda's Kitchen - Official Thread and Github source. Please refer FAQ on official thread for Kitchen related problems. - Demo META-INF Folder Download- For Making Flashable zip files and comparing updater script.
- Custom Booting.zip - for custom boot animation
- notepad++ - for editing files like build.prop, updaterscript
- MOST IMPORTANT TOOL YOUR BRAIN... AND ALSO LOTS OF TIME... [DOWNLOAD LINK NOT AVAILABLE...lol]
Step one: Installing the JAVA JDK, Cygwin and Setting up the Kitchen.
*Before you do anything install the java jdk*
Quote:
INSTRUCTIONS
| |||||||
Step Two: Setting up a working folder
THERE ARE TOW METHODS FOR THIS.
1. WHEN YOU HAVE BASE ROM AVAILABLE.
2. WHEN YOU DON'T HAVE BASE ROM.
FIRST METHOD -
SECOND METHOD - this method is by neroyoung
FIRST MAKE A WORKING FOLDER IN CYGWIN FOLDER
NOTE: FOR THIS MEETHOD WE NEED 3 FILES AND FOLDERS TO BE PLACED IN WORKING FOLDER.
1. META-INF FOLDER - GET THIS FROM DOWNLOAD FILES LIST IN FIRST POST
2. SYSTEM FOLDER - TUTORIAL BELOW
3. BOOT.IMG - TUTORIAL BELOW
2. getting system folder
(NOTE - YOU MUST BE ROOTED FOR THIS MEDHOD)
3. getting boot.img
Here we have 2 options
1. stock boot.img from stock rom - simple kernel which we get in brand new mobile.
2. custom boot.img from custom kernel - kernel which are modified for overclock or other features
THERE ARE TOW METHODS FOR THIS.
1. WHEN YOU HAVE BASE ROM AVAILABLE.
2. WHEN YOU DON'T HAVE BASE ROM.
FIRST METHOD -
- First our folder structure should look like this:Code:
cygwin folder/home/your user name/kitchen
- Inside the kitchen it should look like this:
- Now we need a rom to work on, for GALAXY ACE PLUS[s7500] users i will recommend this rom by blackburner but you can use any rom.
Just Place the original rom zip in the original_update folder inside the kitchen. - run the cygwin.exe again type:Code:
cd kitchen(enter) ./menu(enter)
- now enter option 1, enter again. You should see your rom listed, choose and enter
you will be asked about changing the working folders name, at this point it makes no difference so just continue. - congratulations you have a working folder!!!
SECOND METHOD - this method is by neroyoung
FIRST MAKE A WORKING FOLDER IN CYGWIN FOLDER
Quote:
IT SHOULD LOOK LIKE THIS cygwin folder/home/your user name/kitchen/WORKING_(your rom name) |
NOTE: FOR THIS MEETHOD WE NEED 3 FILES AND FOLDERS TO BE PLACED IN WORKING FOLDER.
1. META-INF FOLDER - GET THIS FROM DOWNLOAD FILES LIST IN FIRST POST
2. SYSTEM FOLDER - TUTORIAL BELOW
3. BOOT.IMG - TUTORIAL BELOW
2. getting system folder
(NOTE - YOU MUST BE ROOTED FOR THIS MEDHOD)
- This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
we need freshly flashed device here. OTHERWISE YOU WILL HAVE LOT OF JUNK FILES. - Open it and type:Quote:
su
tar -c system/* >> sdcard/system.tar
This will take some time to finish so be patient. - After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)Quote:- /etc
- /fonts
- /framework
- /lib
- /lost-found
- /media
- /sd
- /semc
- /usr
- /xbin
- build.prop
- And some other files and folders like ""autorooted,kernel files" etc
Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them. - And the final files that we will have in our system folders will beQuote:
- /app
- /bin
- /etc
- /fonts
- /framework
- /lib
- /media
- /semc
- /usr
- /xbin
- build.prop
If it dont have semc folder no need to worry.
NOTE: YOU CAN ALSO GET THIS SYSTEM FOLDER BY USING ANY ROOT BROWSER. JUST FIND THIS FOLDER AND COPY/EXTRACT TO SDCARD - NOW COPY THIS system FOLDER TO WORKING FOLDER
3. getting boot.img
Here we have 2 options
1. stock boot.img from stock rom - simple kernel which we get in brand new mobile.
2. custom boot.img from custom kernel - kernel which are modified for overclock or other features
Quote:
1. getting stock boot.img from stock rom. extract your stock rom with winrar or 7zip. you will see boot.img there. copy it to working folder 2. getting custom boot.img from custom kernel.
Step Three :change/modify/update rom YOU CAN MODIFY YOUR ROM IN TWO STEPS:
1. MODIFYING USING ANDROID KITCHEN
Quote:
2. MODIFYING MANUALLY. FOR ALL ANDROID PHONES (ESPECIALLY FOR GINGERBREAD ROMS) USE THIS GUIDE FOR COOL MODS. like center clock,CRT animation, ics and jelly bean style mods etc... ANOTHER GUIDE BY ME
MORE ADVANCE MODIFICATION (not advised for beginners)
FOR ADVANCE ROM DEVELOPMENT GUIDES (like porting rom) SEE THIS COLLECTION BY F3niX
Step Four: repackage the rom
NOTE: Most of the problems occur because of updater-script problems so before trying any of the troubleshooting try the first tip. IF YOU HAVE ANY QUESTIONS OR PROBLEMS FEEL FREE TO POST HERE OR PERSONAL MESSAGE ME. |