that is my method i use on my miui4 ports.
take a any cm9 or aosp based ics rom as base. with this guide, you can port miui4 from any device to your one. for best compatibility use own brand base to port. if you have desire s then port from htc devices. if galaxy nexus then try port from nexus s
first of all replace complete folders with miui4 one. system/app system/framework copy libandroid_runtime.so lib from miui 4 (rom you port). without this file rom will not boot.
copy telocation.db and yellowpage.db to /system/etc folder. copy content-types.properties file to /system/lib copy invoke-as from miui4 rom to /system/xbin and give it permissions on updater-script set_perm(0, 0, 06755, "/system/xbin/invoke-as"); (for backup & themes app work) copy liblbesec.so from miui 4 to /system/lib and give permission on updater-script set_perm(0, 0, 0755, "/system/lib/liblbesec.so"); (for superuser app from miui work)
ro.build.id=MIUI ro.build.display.id=MIUI ro.build.version.incremental=2.x.x (version number)
ro.config.ringtone=MI.ogg ro.config.notification_sound=FadeIn.ogg ro.config.alarm_alert=GoodMorning.ogg ro.config.sms_received_sound=FadeIn.ogg ro.config.sms_delivered_sound=MessageComplete.ogg
then add your stuff (updated apps, wallpaper or installer whatever you want )
make your zip and there is it. if you open your thread, dont forget give a link to based ics and port rom's.
that is method actually i use. for more info please use search on xda or ask on this thread. no private messages will answered from now