Default Tutorial for creating a custom rom?

Hello.
Where can i find a tutorial and tools for creating a custom rom?