this guide tested on optimus me,one and gt540
Requirements for rom porting
2 ROM-one from your device and 2nd from from that device that you want to port.
now you need download android kitchen first. download android kitchen from this link then setup your android kitchen. after set up first copy rom that you want to port. now open android kitchen folder. go to the original_update folder and paste porting rom in this folder. now open android kitchen. setup working folder. rename to port folder.
after do this. extarct rom from your device. rename extarcted folder to base.
ok now our folder process complete. now you need to go base folder and need to copy files from base to port.
so now we start porting.
when you open base folder you will see boot.img(it's kernel) first copy this boot.img from base folder to port folder. boot.img is main. after boot.img copy. you need to go bin folder. bin folder is under system folder open bin folder in base and copy following files to port bin folder
copy this all files from base bin folder to port bin folder. all files need beacuse for bluetooth,gsm sensor and other working
after bin folder open etc folder in base and port. now copy following files and folderto port bin folder
before copy folder delete following folder from port then copy following folder from base to port.
copy this folder from base to port affter deleting folder from port
now we need to copy files from base to port. copy following files
copy this files from base etc to port etc
after etc go to the lib folder. open lib folder in base and port
now you need to copy following folder from base to port. but before copy delete following folder from port then copy.
copy this folder from base to port. after deleting folder in port.
now time for files. copy following files from base to port
some time you need to copy all audio file from base to port. but some time libbluedroid
copy this all files from base lib to port lib
after lib. now time to go usr folder. open usr folder in base and port.
delete following folder in port then copy and following folder from base to port
copy this folder from base to port after delete folder in port
now go to the xbin folder.open xbin folder in base and port. then copy following file from base to port
now we need to do final step. open build.prop file in base and port. and change following lines from base build.prop to port build.prop
change this lines from base to port. now all done. now in android kitchen type 99 to build rom then follow kitchen. after all done you can find your ported rom in output zip folder in kitchen folder then copy ported rom to your phone sdcard reboot into recovery and flash your ported rom.
tip: optimus me users you can port roms from p500 or gt540. p500 roms can be work better then gt540 ported roms. and don't port nbb(new baseband) roms because nbb roms need .35 kernel to work and p350 don't have good working .35 kernel. also i'm tyring to work nbb roms in p350 but not 100% done. when i will done to port nbb roms i will post.
this guide only tested on p350,p500 and gt540. and best work with p350
if you have any problem to port roms post on this thread don't send me pm.
if this guide helped to port roms then don't forgot to press thnks.
my next project for optimus me p350.
AOSP/OMFBG ROM FROM SOURCE
MIUI ROM PORT