[Galaxy Ace S5830i Android Development] abhi922:
## knowing about some general things ---

>>>> where to add kernel in ur rom ---- outside the system folder [where u will find some files like bmlunlock,installbusybox ,flash_image,etc....

kernel = boot.img

>>>>> goto -- META-INF/com/google/android/

and u will find a file named as "updater-script"

this is the main script for flashing rom....

our cwm approaches this file & perform tasks as directed in it.....

1. open it with notepad/notepad++...

2. now nothing is understandable by u.....

3. but remember one thing -- ui_print("");

this statement is used to print text on cwm log screen

[ like ui_print("simplicity rom"); ]

4. u can change it to ur rom name & even u can add some more statements like this to ur script to print something.....

>>>>> goto -- system/etc/

and u will see many folder & files......

1. init.d folder -- conatin all the scripts that will run during startup...

init.d folder may be not there but u can create to add scripts....

[for using these scripts, u need to add custom kernel instead of stock one]

2. host file -- it can allow or block ads on ur device [its same as windows host file]

>>>>> what is ---

T9DB folder --- conatin files for ur stock keyboard....

CSCFiles.txt, CSCVersion.txt, SW_Configuration.xml, csc folder contain ur csc version,etc...

so u can delete them too [ no harm to ur rom ]

## removing ads from free apps in ur rom-----

1. the easiest way is just install adsaway.apk from market to ur phone then run it....

2. allow superuser request

3. then remove ads using some options given thier...

4. after removing apps restart ur device.....

5. open root explorer..

6. goto system/etc folder

7. copy hosts file from it to ur sdcard

8. now connect ur device to pc

9. move this file to ur rom zip at same place [system/etc]

10.overwrite if prompted

11. now flash ur rom using cwm & open any free app which have ads

12. if no ads come then ur rom is ads-free.....

13. enjoy

## Adding different mods & tweaks to ur rom........

1. goto the following threads && integrate them in ur rom....

2. most of them r flashable so better way is to flash them via cwm over ur rom....

3. then copy system folder from ur phone && replace them with the system folder in ur rom.zip...

follow these threads ----------

1.	GEEKY ENGINE - http://xdaforums.com/showthread.php?t=1952708

2.	ANDERLINE ENGINE - http://xdaforums.com/showthread.php?t=1579710

3.	SUPERCHARGE SCRIPT - http://xdaforums.com/showthread.php?t=991276

4. LOOPY SMOOTHNESS - http://xdaforums.com/showthread.php?t=1205744

5. Supremacy Trilogy - http://xdaforums.com/showthread.php?t=1928200

6. Netforks Tweaks -- http://xdaforums.com/showthread.php?t=1961353

7. build.prop tweaks -- http://xdaforums.com/showthread.php?t=1697040

8. cronmod scripts dataext --- http://xdaforums.com/showthread.php?t=1955422

9. (MOD)Beats Audio --- http://xdaforums.com/showthread.php?t=1525226

10. SlaidyBoost-V2.3 ---- http://xdaforums.com/showthread.php?t=1585774

11. ThunderBolt! v2.9.0 ----- http://xdaforums.com/showthread.php?t=1556013

12. Velocity Tweaks ------ http://xdaforums.com/showthread.php?t=1814227

13. Collection of em all. ------- http://xdaforums.com/showthread.php?t=1227269

14. Smurfed Out V 6.6 -------- http://xdaforums.com/showthread.php?t=1517724

15. gps.conf files for all countries ------ http://xdaforums.com/showthread.php?t=1233359

## adding kernel to ur rom ---------

$$$$$ CUSTOM KERNEL $$$$$

most important thing for rom developer is that a custom kernel which support features...

rom functionality depends on kernel i.e boot.img & modules files present in system/lib/modules folder.....

whenever u add any custom kernel to ur rom then remember to downlaod & add modules from his thread to system/lib/modules folder......

this is the problem with most of the roms present here thats why some roms have problems like headphone not working........

gps not working.........

camera settings r small.....

etc.....

so try to remember this to add modules to ur rom along with kernel..........

u can add kernels from the following links----

Rafeal's latest kernel ----- http://xdaforums.com/show....php?t=1818830

Hells Fusion latest kernel ----- http://xdaforums.com/show....php?t=2022147

other kernel on general section --- http://xdaforums.com/show....php?t=2026654

$$$$$ Stock Kernel $$$$$

LINK [STOCK KERNEL] ----- http://www.mediafire.com/?8amfqkqq28v1h9f

stock kernel modules ---- http://www.mediafire.com/?7tckgiclaq80aoc

if u face any problem then dont pm me.......

but u can post ur problem here........... so that if any other person have same problem then we can help him also..

i think this is the easiest tutorial ever u ve seen on xda...​

hit thanx button if u like my work..........

& rate thread 5 stars & click on newsworthy thread.......​