[Vibrant Android Development] Moped_Ryder:
As requested here is a general GB I9000 porting guide​

First this is NOT an all encompassing step by step porting guide. Its a general howto description with the tools Ive used so you can give it a go. It will take time..hours and hours...to get it right and learn. You WILL boot-loop many times. You WILL end up having to Odin to stock several times due to errors. I have spent a few hours trying to port a ROM only to give up because I couldn't get it to boot right. It happens.

If you grab any I9000 ROM and flash it will it brick your phone? Chances are no. The 2 main parts that if different (Kernel and Modem) is what will make it probably unusable. Your keys (Home, Back, Search, Volumes) will prob not work right. You probably wont have hypathic feedback on you home keys and such.

You could in theory Flash an I9000 Rom, then Vibrant GB kernel, then Vibrant Modem, and finally keylayout fixes and it could very well work fine with some minor issues.

So here we go. First and foremost this is where I got all my info, and honestly still VERY useful so please click the thanks on their threads:

XDA Threads:

Tutorial "(Tutorial) HOW TO PORT I9000 GINGERBREAD ROMS"

By hayn_pryde46

http://xdaforums.com/showthread.php?t=1328306&highlight=jvt

[REF] How to add Reboot to power menu (updated 10/21/2010)

-You can always "borrow" the files needed that are already edited so long as they are the same version.

By: untermensch

http://xdaforums.com/showthread.php?t=811532

[TWEAKS][SCRIPTS] Collection of 'em all - build.prop; init.d; etc.

By: knzo

http://xdaforums.com/showthread.php?t=1227269

How To Port SGS4G Roms To Vibrant For Gingerbread 10.24.11

By: hayn_pryde46

http://xdaforums.com/showthread.php?t=1317251

Porting Vibrant Roms To SGS4G

-This is a guide to port to the SGS4G (not our phone) but good info anyway.

By: robbbbit

http://xdaforums.com/showthread.php?t=1099454

Use APKTool to Decompile, Edit, Translate and Recompile an APK

http://www.miui-au.com/add-ons/apktool/

Off-topic but good - Howto Theme

By: Master

http://xdaforums.com/showthread.php?t=940692&highlight=

Applications (Windows versions) I use all the time:

Beyond Compare - compare folder listings to line by line code withing a file.

http://www.scootersoftware.com/

Notepad++ - The editing tool for me

http://notepad-plus-plus.org/

Droid Explorer - Great overall application

http://de.codeplex.com/

7zip - Be the 7zip Hero you know you can be!!!

http://www.7-zip.org/

So you downloaded and extracted an I9000 ROM. Here is the general steps I take to port it:

First: Download and extract a GB ported ROM for our Vibrant dev section as a guide or to compare your port to.. HERE IS MY JETPACK PORT as an example.

1. Update /system/etc/wifi.conf

Check the file - you will see the Vibrant version has:

IFACE_DIR=/data/misc/wifi

This will allow the wifi to work on most kernels and not just the Vibranted kernel

2. Check vold.conf /system/etc/vold.conf

Never had to change anything but its good to check.

3. Update + Edit build.prop

Change it as needed. Adjust type to T959 where needed. Add tweaks as wanted.

4. Update

/system/user/keylayouts/Melfas_Touchkey.kl

also

/system/user/keylayouts/aries-keypad.kl

This is based on what kernel you plan to use. I haven't tested these in a while but here is my files zipped up for you:

http://www.mediafire.com/?rhg24ksk07fdy74

5. Add GPS files (Ginger fix)

http://www.mediafire.com/?ex58f0ct9nhgvtu

Extract / Replace the files in the correct directories.

6. Replace kernel and modem

Very important. When in doubt use the KB5 modem. Its more or less the standard modem for all ports.

7. Check and update the ROMs:

/META-INF/com/google/android/updater-script

-Get a good look at it. Check 10 other ROMs scripts. Note the differences between edify and ammend scripting. Take note what partitions are what for your phone.

8. Delete CERT.SF, CERT.RSA, MANIFEST.MF in /META-INF (They are replaced when you sign zip file)

9. Fix Hypathic Feed back

-Find the same ROM version and "borrow" to make it easy :)

or See

Jelette's post on HowTo

10. Change the sounds / init.d files / gps.conf and any other files you want to tweak.

--Zip it all up and sign it with the apk/zip sign tool. Give it a try.

Downloads

Add Beats.Audio Here:

http://www.mediafire.com/?uvmok177fzmggkk

Tools:

APK Compile / Decompile tool . This also has my zipalign script I use. Just place all .apk files into the folder and start it up.

http://www.mediafire.com/?hu06ya8b1ybpyso

Smali Tool

http://www.mediafire.com/?x4xrilohmuc4md1

APK + ZIP Sign tool - To resign the .zip or .apk files

http://www.mediafire.com/?5c79jaa2u8mdux8

No personal keys used - all generic keys

Like I said its not an all encompassing Howto or guide. Its more of a place to find all the files / tools / guides needed to waste you day or week . :D

Hit the thanks button if it helps you at all please - but don't forget to thanks the original Howto creators from above. And remember:

EDIT / BUILD / PORT ROMS at your own risk!!

Also - don't post a port here until you have flashed it and used it for a day or two. Test everything. Post quality - Its a learning experience trust me.