Post Reply

[GUIDE] how to port stock ics roms to play

23rd January 2014, 07:53 AM   |  #1  
pedyvirus's Avatar
OP Senior Member
Flag shiraz
Thanks Meter: 363
 
1,154 posts
Join Date:Joined: Nov 2012
More
hi all
as you all know im ported many roms to play for my daily use and now i wanna share you guys how i did that
(as i promised im going to release all my guides because im leaving xperia play section because of my bricked play and its ancient hardware but please give me thanks if you like this guide and if you used it for porting roms please give me credits)
porting with this guide is very simple because i did the hard parts myself

What you'll need:
1-brain
2-notepad ++
3-my porting files
4-a diff checker (you can use this one)
5-xperia arc build.prob
6-your rom
7-winrar

important:if the rom has new version of armora installer this guide wont work as touchscreen wont work on that armora on play (you have to remove armora installer first then you can port the rom)

ok now we can start
1-copy rom and my files in a folder (for example port project)
2-open both zip files
now you have 2 ways
1- if the rom has armora installer
2-if the rom doesnt have that

if the rom has armora installer
you will need to find the folder device files in the rom.zip
in most of the roms its named armora/device but in some of them like uhd armora/device name (for example arc)
ok now open the arc device folder in rom.zip(because some other devices have different touchscreen files that i haven't included them in my zip so touchscreen wont work if you use those devices)
now simply drag all my the files(but not the build.prob) inside stockicsporting.zip to arc folder in rom zip


if the rom deosnt have armora installer
you work is easier
go to system folder then drag all my files(but not the build.prob) inside stockicsporting.zip to /system of rom.zip


ok now we need to make the build.prob file of our rom
check second post for that
Last edited by pedyvirus; 23rd January 2014 at 08:29 AM.
The Following User Says Thank You to pedyvirus For This Useful Post: [ View ]
23rd January 2014, 07:54 AM   |  #2  
pedyvirus's Avatar
OP Senior Member
Flag shiraz
Thanks Meter: 363
 
1,154 posts
Join Date:Joined: Nov 2012
More
build.prob editing is a little harder than other parts buts is easy
i saw that if you only change device name and these things your wifi wont work
so we need to rebuild build.prob inside stockicsporting.zip and add it to our rom.zip

go to http://www.diffchecker.com/ or use any other diffchecker that you have
copy the build.prob that i opsted in post#3 to original text
now copy build.prob of arc rom.zip to changed text
now compare them
you will some changes
dont even look at these ones because it we dont need them
Quote:

ro.build.date=Wed Jul 4 12:32:24 2012
ro.build.date.utc=1341397944
ro.build.user=BuildUser
ro.build.host=BuildHost
ro.build.product=LT15i
ro.build.description=LT15i-user 4.0.4 4.1.B.0.587 tL1_3w test-keys
ro.product.brand=SEMC
ro.product.name=LT15i_1254-9461
ro.product.device=LT15i
ro.build.tags=release-keys
ro.build.fingerprint=SEMC/LT15i_1254-9461/LT15i:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys

some of the lines are not even used in xperia play device so we dont need to add them in your build.prob like these ones
Quote:

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

ro.semc.version.cust=1254-9461
ro.semc.version.cust_revision=R2I
ro.semc.enable.fast_dormancy=false
ro.semc.ecclist.num=8
ro.semc.ecclist.number.0=000
ro.semc.ecclist.number.1=08
ro.semc.ecclist.number.2=110
ro.semc.ecclist.number.3=112
ro.semc.ecclist.number.4=118
ro.semc.ecclist.number.5=119
ro.semc.ecclist.number.6=911
ro.semc.ecclist.number.7=999
ro.operator.displayUnicodeName=false

but some changes are for rom name and build.prob tweaks inside build.prob
we need to inculde them in build.prob
for example:
ro.build.id=4.1.B.0.587

and these tweaks:
Quote:

debug.enabletr=true
dalvik.vm.jniopts=forcecopy
dalvik.vm.checkjni=0
ro.kernel.android.checkjni=0
ro.kernel.checkjni=0
logcat.live=disable
ro.config.nocheckin=1
profiler.force_disable_err_rpt=1
profiler.force_disable_ulog=1
pm.sleep_mode=1
ro.ril.disable.power.collapse=0
persist.cust.tel.eons=1
ro.mot.eri.losalert.delay=30000
wifi.supplicant_scan_interval=400
ro.ril.enable.a52=0
ro.ril.enable.a53=1
ro.ril.enable.dtm=1
ro.ril.enable.sdr=1
ro.ril.enable.gea3=1
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
ro.ril.enable.amr.wideband=1
ro.config.vc_call_steps=20
persist.sys.usb.config=mass_storage,adb
persist.adb.notify=0
ro.media.enc.jpeg.quality=100
ro.media.panorama.defres=3264x1840
ro.media.panorama.frameres=1280x720
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
media.stagefright.enable-rtsp=true
media.stagefright.enable-record=true
debug.qctwa.statusbar=1
debug.qc.hardware=true
com.qc.hardware=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
ro.service.swiqi.supported=true
persist.service.swiqi.enable=1
ro.semc.sound_effects_enabled=true

these things should be added/changed in the rebuilded build.prob of stockicsporting.zip
after you rebuilded the build.prob push it to the armora/device or /system (based on first post)
then you can flash you rom
Last edited by pedyvirus; 23rd January 2014 at 08:08 AM.
23rd January 2014, 07:54 AM   |  #3  
pedyvirus's Avatar
OP Senior Member
Flag shiraz
Thanks Meter: 363
 
1,154 posts
Join Date:Joined: Nov 2012
More
xperia arc s build.prob
 
Quote:

##### 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=LT18a
ro.build.description=LT18a-user 4.0.4 4.1.B.0.587 tL1_3w test-keys

ro.product.brand=SEMC
ro.product.name=LT18a_1254-9461
ro.product.device=LT18a
ro.build.tags=release-keys
ro.build.fingerprint=SEMC/LT18a_1254-9461/LT18a:4.0.4/4.1.B.0.587/tL1_3w:user/release-keys


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

ro.semc.version.cust=1254-9461
ro.semc.version.cust_revision=R2I
ro.semc.enable.fast_dormancy=false
ro.semc.ecclist.num=8
ro.semc.ecclist.number.0=000
ro.semc.ecclist.number.1=08
ro.semc.ecclist.number.2=110
ro.semc.ecclist.number.3=112
ro.semc.ecclist.number.4=118
ro.semc.ecclist.number.5=119
ro.semc.ecclist.number.6=911
ro.semc.ecclist.number.7=999
ro.operator.displayUnicodeName=false

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


ro.config.ringtone=sony_ericsson.ogg
ro.config.notification_sound=notification.ogg
ro.config.alarm_alert=alarm.ogg
ro.semc.content.number=PA3

################# Updating of the SW Version #################
ro.semc.version.fs_revision=4.1.B.0.587
ro.build.id=4.1.B.0.587
ro.build.display.id=4.1.B.0.587

##### Values from product package metadata #####
ro.semc.product.model=LT18a
ro.semc.ms_type_id=AAD-3880098-AV
ro.semc.version.fs=WORLD-a
ro.semc.product.name=Xperia arc S
ro.semc.product.device=LT18
ro.product.model=LT18a

# begin build properties
# autogenerated by buildinfo.sh
ro.build.version.incremental=tL1_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=GB
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 ayame
#

# 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.timescape_keys=Sony_Ericsson_Xperia

ro.semc.sols.product-code=95
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.setupwizard.mode=DISABLED
ro.com.google.gmsversion=4.0_r2
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=240
ro.usb.pid_suffix=14F
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

Last edited by pedyvirus; 23rd January 2014 at 08:10 AM.
23rd January 2014, 08:10 AM   |  #4  
pedyvirus's Avatar
OP Senior Member
Flag shiraz
Thanks Meter: 363
 
1,154 posts
Join Date:Joined: Nov 2012
More
bugs:
1-video recording not working


if you had any problem please quick replay one of these posts dont pm me
if you need help with build.pron do this too

if you found any problem in the guide or if i had any english problem pleas tell me to fix it

credits:
smokerman for touchpad fix
Last edited by pedyvirus; 23rd January 2014 at 08:13 AM.
14th February 2014, 12:08 PM   |  #5  
pedyvirus's Avatar
OP Senior Member
Flag shiraz
Thanks Meter: 363
 
1,154 posts
Join Date:Joined: Nov 2012
More
smkerman said something that really put me in thinking
so after some researches im trying to find a new way for porting roms
my first file is getting flashed now (well i unlocked my bootloader again and im coming back to development until my friend comes and get his xperia play or i finish this job)
i will post the result soon
edit:well this method didnt work
so im going to find another method
Last edited by pedyvirus; 14th February 2014 at 01:02 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes