[Android Software Development] sandy7:
This Guide can be use to port roms from armv6 to armv7 devices

this a simple and easy way to port any cm9 , cm10 , stock roms

Requirements

Winrar

notpad++

MDPI base rom

HDPI port rom

Basic knowledge of system supporting files

so lets start...

step 1

delete these folders from MDPI base rom

app
fonts
framework
media

and add these folders from HDPI port rom

app
fonts
framework
media

Step 2

Editing BUILD PROP.

change all the red marked values as per ur device.

change the ringtone defaults in blue marked field.

this is just an example.

##### Merging of the /util/data/semc_kernel_time_stamp.prop file #####
ro.build.date=Wed Jul 4 12:32:24 2012
ro.build.date.utc=1341397944
ro.build.user=BuildUser
ro.build.host=BuildHost

##### Final patch of properties #####
ro.build.product=[COLOR="red"]MT15i[/COLOR]
ro.build.description=[COLOR="red"]MT15i[/COLOR]-userdebug 4.0.4 UL5_3w test-keys

ro.product.brand=SEMC
ro.product.name=[COLOR="red"]MT15i[/COLOR]_1255-1755
ro.product.device=[COLOR="red"]MT15i[/COLOR]
ro.build.tags=release-keys
ro.build.fingerprint=SEMC/[COLOR="red"]MT15i[/COLOR]_1255-1755/[COLOR="Red"]MT15i[/COLOR]:4.0.4/4.1.B.0.587/UL5_3w:user/release-keys

######################## Customized property values #########################

ro.semc.version.cust=1255-1755
ro.semc.version.cust_revision=R1I

#########################################################################

[COLOR="Blue"]
ro.config.ringtone=Missing.ogg
ro.config.notification_sound=notification.ogg
ro.config.alarm_alert=rise_up.ogg
ro.semc.content.number=PA3[/COLOR]

################# Updating of the SW Version #################
ro.semc.version.fs_revision=[COLOR="red"]write any thing u want[/COLOR]
ro.build.id=[COLOR="red"]write any thing u want[/COLOR]
ro.build.display.id=[COLOR="red"]write any thing u want[/COLOR]

##### Values from product package metadata #####
ro.semc.product.model=[COLOR="red"]MT15i[/COLOR]
ro.semc.ms_type_id=AAD-3880100-AV
ro.semc.version.fs=WORLD-i
ro.semc.product.name=[COLOR="red"]Xperia Neo[/COLOR]
ro.semc.product.device=[COLOR="red"]MT15[/COLOR]
ro.product.model=[COLOR="red"]MT15i[/COLOR]

# begin build properties
# autogenerated by buildinfo.sh
ro.build.version.incremental=UL5_3w
ro.build.version.sdk=15
ro.build.version.codename=REL
ro.build.version.release=4.0.4
ro.build.type=user
ro.product.board=
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Sony Ericsson
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=msm7x30
# ro.build.product is obsolete; use ro.product.device
# Do not try to parse ro.build.description or .fingerprint
ro.build.characteristics=default
# end build properties
#
# system.prop for [COLOR="Red"]hallon[/COLOR] (change it to ur device name)
#

# Notify the system that the RIL only signals once
ro.telephony.call_ring.multiple=false

rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d /dev/smd0
persist.rild.nitz_plmn=
persist.rild.nitz_long_ons_0=
persist.rild.nitz_long_ons_1=
persist.rild.nitz_long_ons_2=
persist.rild.nitz_long_ons_3=
persist.rild.nitz_short_ons_0=
persist.rild.nitz_short_ons_1=
persist.rild.nitz_short_ons_2=
persist.rild.nitz_short_ons_3=
DEVICE_PROVISIONED=1

wifi.interface = wlan0
ro.semc.wifi.hostapd=1

ro.semc.sols.product-code=90
ro.semc.timescape_keys=Sony_Ericsson_Xperia

ro.semc.sols.company-code=5
persist.ro.ril.sms_sync_sending=1
ro.use_data_netmgrd=true

# Disable strict mode checking
persist.android.strictmode=0

# Constant values for Battery test in Service menu
ro.semc.batt.capacity=1500
ro.semc.batt.test.z_threshold=50
ro.semc.batt.test.min_level=70

ro.service.swiqi.supported=true
persist.service.swiqi.enable=1

#Default values/Locales for the hiding languages feature
ro.product.locale.excluded=ar_EG ar_IL fa_IR iw_IL

#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.product-res-path=framework/SemcGenericUxpRes.apk
ro.com.google.gmsversion=4.0_r1
ro.com.google.clientidbase=android-sonyericsson
drm.service.enabled=true
keyguard.no_require_sim=true
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.semc.xloud.supported=true
dalvik.vm.heapstartsize=5m
dalvik.vm.heapgrowthlimit=48m
dalvik.vm.heapsize=128m
ro.sf.lcd_density=[COLOR="Red"]240[/COLOR] (change it to 160)(or to ur device dpi level)
ro.usb.pid_suffix=156
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.drm.active.num=4
ro.drm.active.0=semc,1
ro.drm.active.1=cmla,0
ro.drm.active.2=viaccess,0
ro.drm.active.3=marlin,1

Step:-3

use the the whole meta-inf folder from port rom

Step:4

if u experience and bootloop copy these files from port rom

libandroid_runtime.so
libandroid_servers.so
libmedia_jni.so

Step:-5

the Icons are of different size in HDPI....

what u have to do is resize it to 48x48 size by using MIR. or GMIP or windows image resize or Photoshop

Step-6

if u want and performance scripts...add some scripts in etc/init.d folder..

Step:7

at the end u should have these folders

so now zip it using winrar and name it

and flash the ur new ported rom