Disclaimer
Code:
Xperia H2M is made as much noob friendly as I can. Still if something wrong happens due to this or any of my works, I will be in no way responsible for it.
Xperia H2M Porter
About the tool:
This is an automatic tool based on sandy7's great guide to port Xperia HDPI ROMs to Xperia MDPI. This supports porting from 2011 HDPI models to 2011 MDPI models.
Download:
Download the tool from here.
How to use:
Though all the instructions are already included in the tool but still i'll mention here:
1. Extract the rar file to your desired folder.
2. Now place the HDPI ROM in HDPI_ROM folder and MDPI base ROM in MDPI_ROM folder. Make sure the ROM is based on 4.1.B.0.587(May also work for 4.1.B.0.431).
3. Now run the batch file named as X-H2M
4. Now follow the instructions and let the tool do the rest.
5. When build.prop opens up edit it as given in the tool and the instructions file. Or follow this instruction as given by sandy7:
sandy7 said:
change all the red marked values as per ur device.
change the ring defaults in blue marked field.
Code:
##### 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 'mango')
#
# 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)
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
Click to expand...
Click to collapse
6. Now add any other tweaks if you wan't to add to the build.prop
7. If you have included a data or similar folder for scripts, tweaks, etc, add a line when the updater-script shows up :
only add the red colored line if u are adding a data folder for supercharger. scripts.
sandy7 said:
Code:
show_progress(0.1, 0);
ui_print(" write any thing inside this");
ui_print(" Installation Started !");
format("MTD", "system");
format("MTD", "cache");
mount("MTD", "system", "/system");
mount("MTD", "userdata", "/data");
show_progress(1.2, 83);
package_extract_dir("system", "/system");
show_progress(0.14, 3);
[COLOR="Red"]package_extract_dir("data", "/data");[/COLOR]
ui_print("");
set_progress(0.700000);
unmount("/system");
unmount("/data");
show_progress(1, 0);
ui_print("");
ui_print("reboot");
Click to expand...
Click to collapse
8. Now the tool will zip the ROM. You can find it in the PORTED_ROM folder with the name portrom.zip. Rename it as desired.
Done! Now enjoy your newly ported ROM.:good: Don't forget to press THANKS.
Credits:
Sandy7 for his great tutorial.
XDA:DevDB Information
H2M Porter, a Tool/Utility for the Sony Ericsson Xperia Mini, Mini Pro, Active
Contributors
Abhinav2, sandy7
Version Information
Status: Stable
Created 2013-09-28
Last Updated 2013-12-11
TROUBLESHOOTING
1-if from is not booting replace this file libandroid_runtime.so hdpi lib folder to mdpi
2-if icons are too big or there is no icons.....resize them into 48x48
3-if ur rom has small apps make sure u copy the additional files req for it from etc/permissions
more info will be updated soon
Re: [TOOL] Xperia H2M Porter for ICS
Will you also make this guide universal?
Sent from my LT28h using xda premium
UchihaDareNial said:
Will you also make this guide universal?
Sent from my LT28h using xda premium
Click to expand...
Click to collapse
Sandy has written a universal guide of porting hdpi roms to mdpi....i'll try to make a tool for it soon..
Best Regards,
AJ
Re: [TOOL] Xperia H2M Porter for ICS
Well ill re-edit my guide which will work universal and ill pm alok..
Then u can make a new tool
Sent from my SK17i using XDA Premium HD app
Re: [TOOL] Xperia H2M Porter for ICS
Great work guys!
Keep it up :thumbup:
Sent from my MT11i using xda premium
hey please upload it again it has been deleted!!!!
upload it again!!!
hey please upload it again it has been deleted!!!!
m021 said:
hey please upload it again it has been deleted!!!!
Click to expand...
Click to collapse
It got removed from my local storage too....i'll re-code it whenever I get time. Till then you can do it manually
Cheers,
AJ
Work with locked bootloaders?
Sent from my WT19a with Next Gen V8 Rom using Xda App :good:
Membrillo007 said:
Work with locked bootloaders?
Sent from my WT19a with Next Gen V8 Rom using Xda App :good:
Click to expand...
Click to collapse
YES
Cheers,
AJ
Abhinav2 said:
YES
Cheers,
AJ
Click to expand...
Click to collapse
hi can you upload it another one???thank you.
m021 said:
hi can you upload it another one???thank you.
Click to expand...
Click to collapse
Is this- http://forum.xda-developers.com/showpost.php?p=49360054&postcount=9 post invisible or u just didnt cared to read it?
Cheers,
AJ
Abhinav2 said:
Is this- http://forum.xda-developers.com/showpost.php?p=49360054&postcount=9 post invisible or u just didnt cared to read it?
Cheers,
AJ
Click to expand...
Click to collapse
thanks!!im not seen that
is it working for the alarm app??
Please
The file to download station does not match the appropriate program! Please reupe the file. thank you
Related
mastafunk said:
Well lets start from the beginning. Does this phone even have a charge_only_mode? If pluged in when off does it fire off a battery meter?
If so is there a file called /system/bin/charge_only_mode. If so is this file a softlink to a file called /system/bin/hijack?
Is /system/bin/hijack actually there?
Those are pretty much the prerequisites for setup....
Then what triggers the whole deal is a file in /data called .recovery_mode
check for that file. Look inside.. is it a "1", if so everything is in place and it should do it.
Click to expand...
Click to collapse
Thanks to mastafunk for the info.
I noticed after uninstalling system recovery that it still worked(edit pull is for emergency only will reset date. Just plug in and power off) w/ a battery pull. I remember now where the /preinstall files came from:
Rom Manager
Set charge mode.
Uninstall sys recov, and rom mgr(if there).
Then DL mkt RM free/donate. Install.
DL latest 5025 (1st choice).
Reboot into recov and it just boots.
Install Tenfar's and get into cwr.
Go adv and reboot recovery (goes to stk recov, should this not be CWR? So here is where the preinstall gets filled?) and reboot from there.
/preinstall is filled!
You do not need to do this just showing how they got there.
I am saying that with these 2 folders: /preinstall and /system/bin as well as the .recovery_mode file , cwr works for the Dx2. While trying to confirm the source of the PI files I crashed. So SBF'ing I confirmed it works: use Root Explorer, you may have to set charge mode and uninstall SR.
1)paste to /preinstall: the 3 files and set perms to rwxrwxrwx ( adbd is not needed btw. ), and update-recovery.zip: rwxr-xr-x . Note hijack goes to /preinstall as well as /system/bin.
2)Change charge_only_mode ( your original in system/bin) to .bak. Then paste the 2 /system/bin files (less the .not file) set perms to rwxrwxrwx.
3)Then .recovery_mode goes in /data perms to rw-rw-rw-.
Edit: have the charger plugged in and Power off. I thought a: (Pull battery and put it back in. Plug in) was needed but it is not. CWR!
Edit: the /pi needs just 3 files: ud-recovery.zip, ud-binary(same as in the zip) and hijack (same as system/bin/) 6 files if you count hijack twice.
This may work on the Milestone X2. I don't know of anyone who tried this yet.
About the files needed (attached at the end)note file: charge_only_mode.bin.not in /system/bin was included for reference NOT TO MESS WITH IT.
The linkage notation, in Root Explorer, from chargeonlymode to hijack gets lost once the files are off the phone but it still works.
This could it be packaged in a zip and flashed from CWR so after a data wipe or a ROM flash CWR could be restored before leaving CWR.
I wrote a test script to write .recovery_mode to /data. I wiped data from cwr then mounted /data manually. Then ran the script and recovery was restored with a battery pull.
I cannot get the full "ReRecovery" to work. For the update-binary I am told P3Droid's prerooted 234 is good to pull from. But have yet to try his binary. Here is where I am at: updater-script:
run_program("/bin/mount", "/dev/block/ mmcblk0p12 ", "/system");
run_program("/bin/mount", "/dev/block/ mmcblk0p16 ", "/data");
run_program("/bin/mount", "/dev/block/ mmcblk0p17 ", "/preinstall");
#this one zeroed /preinstall.
Or
#mount("ext3", "/dev/block/mmcblk0p12", "/system");
#mount("ext3", "/dev/block/mmcblk0p17", "/preinstall");
#mount("ext3", "/dev/block/mmcblk0p16", "/data");
# this gave a status 7
package_extract_dir("data", "/data");
#set_perm(0, 0, 0666, "/data/.recovery_mode");
set_perm(0, 0, 0666, "/data/test");
unmount("/data");
package_extract_dir("system", "/system");
#set_perm(0, 0, 0777, "/system/bin/charge_only_mode");
set_perm(0, 0, 0777, "/system/bin/test");
#set_perm(0, 0, 0777, "/system/bin/hijack");
unmount("/system");
package_extract_dir("preinstall", "/preinstall");
#set_perm(0, 0, 0666, "/preinstall/adbd");
set_perm(0, 0, 0666, "/preinstall/test");
#set_perm(0, 0, 0777, "/preinstall/hijack");
#set_perm(0, 0, 0777, "/preinstall/hijack.killall");
#set_perm(0, 0, 0777, "/preinstall/update-binary");
#set_perm(0, 0, 0755, "/preinstall/update-recovery.zip");
unmount("/preinstall");
End code
#'ed out real files for test files. This trashed /preinstall and no test files got written. Test files are 0 bytes.
Any help would be greatly appreciated.
I got bored and decided to try this out. Did you paste to /preinstall with root explorer because I can't get it to mount r/w. The button to switch modes isn't there in the preinstall file. It is on the root and every other file on the root.
Sent from my DROID X2 using XDA App
I think you are in a kind of unrooted funk. Happened to me b4. RE has a fit. Reroot. Or reinstall RE.
I am certain it was Rom Mgr and a version used at the same time as http://www.droidforums.net/forum/dr...ve-successful-system-upgrade.html#post1791296
Found it!!!!!!!!!!
Set charge mode.
Uninstall sys recov, and rom mgr(if there).
Then DL mkt free RM. Install. Choose "all CWM ..." last menu.
DL 5024.
Reboot into recov and it just boots.
Install Tenfar's and get into cwr.
Go adv and reboot recovery (stk recov) and reboot from there.
/preinstall is filled!
rename these files and cwr will not boot!
Put names back.
From rom mgr "backup current rom"
Pulled(a4 green led) battery and put back(b4 logo) while chg. plug still in.
Got cwr -could not mount sd......
Got this after boot: log
Starting recovery on Sun Dec 25 14:25:38 2011
Starting Open fb0 devices
DroidX2 Recovery GFAN.COM V2.5.1.8
Command: "/sbin/recovery"
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.service.adb.enable=1
EXTERNAL_STORAGE_MOUNT=/mnt/sdcard
ro.factorytest=0
ro.usb_mode=normal
ro.serialno=TA05404FJV
ro.bootmode=unknown
ro.baseband=unknown
ro.carrier=unknown
ro.bootloader=unknown
ro.hardware=daytona
ro.revision=33696
ro.build.id=4.5.1A-DTN-150-30
ro.build.display.id=4.5.1A-DTN-150-30
ro.build.version.incremental=0
ro.build.version.sdk=10
ro.build.version.codename=REL
ro.build.version.release=2.3.4
ro.build.date=Tue Aug 23 21:45:08 CDT 2011
ro.build.date.utc=1314153908
ro.build.type=user
ro.build.user=hudsoncm
ro.build.host=il93lnxdroid52
ro.build.tags=release-keys
ro.product.model=DROID X2
ro.product.brand=verizon
ro.product.name=daytona
ro.product.device=daytona
ro.product.board=daytona
ro.product.cpu.abi=armeabi-v7a
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=motorola
ro.product.locale.language=en
ro.product.locale.region=US
ro.wifi.channels=
ro.board.platform=tegra
ro.build.product=daytona
ro.build.description=daytona-user 2.3.4 4.5.1A-DTN-150-30 0 release-keys
ro.build.fingerprint=verizon/daytona/daytona:2.3.4/4.5.1A-DTN-150-30/0:user/release-keys
persist.ril.uart.flowctrl=1
persist.ril.mux.ttydevice=/dev/ttyHS3
persist.ril.mux.noofchannels=8
persist.ril.modem.ttydevice=/dev/ttySPI0
persist.ril.modem.mode=1
persist.ril.features=0x0C
mot.mdm_panicd.nopanic=yes
ro.hdmi.mirror.enable=false
ro.hdmi.default.app=
hw.overlay.path.config=
ro.mot.ril.danlist=611,*611,#611
persist.ril.ecclist=911,*911,#911
windowsmgr.max_events_per_sec=70
ro.sf.lcd_density=240
dalvik.vm.heapsize=32m
ro.mot.hw.calibratedImager=1
ro.default_usb_mode=2
ro.tether.denied=false
ro.cdma.homesystem=64,65,76,77,78,79,80,81,82,83
ro.telephony.default_network=4
ro.com.google.clientid=android-motorola
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.config.vc_call_vol_steps=7
keyguard.no_require_sim=true
ro.cdma.home.operator.numeric=310004
ro.cdma.home.operator.alpha=Verizon
ro.cdma.otaspnumschema=SELC,1,80,99
persist.radio.cdma.min=8186321808
ro.HorizontalVVM=true
ro.opengles.version=131072
ro.url.safetylegal=http://www.motorola.com/staticfiles/Support/legal
ro.mot.hw.HAC=1
ro.mot.eri=1
persist.mot.proximity.touch=1
ro.cdma.nbpcd=1
mot.proximity.delay=450
mot.proximity.distance=60
wifi.supplicant_scan_interval=45
persist.radio.vzw.cdma.mdn=8186321808
ro.mot.mynet=true
cdma.nbpcd.supported=false
ro.mot.bindervm.config=165
ro.ngp_available=1
ro.modem_available=0
persist.mot.usb.mediasync=1
ro.cdma.sms.latin_encode=true
ro.mot.deep.sleep.supported=true
ro.mot.hw.uaprof=http://uaprof.vtext.com/mot/mb870/mb870.xml
ro.blan.interface=usb0
mot.mms.conn.timeout=30000
mot.mms.socket.timeout=120000
mot.mms.tr.vc.timeout=55000
mot.mms.trm.timeout=240000
mot.mms.abort.prog.lim=90
mot.mms.retry.pic.size=512000
mot.mms.retry.default=false
mot.mms.retry.timeout.1=30000
mot.mms.retry.timeout.2=180000
mot.mms.retry.timeout.3=300000
mot.mms.retry.timeout.4=480000
ro.com.google.clientidbase=android-motorola
ro.com.google.clientidbase.ms=android-verizon
ro.com.google.clientidbase.am=android-verizon
ro.com.google.clientidbase.gmm=android-motorola
ro.com.google.clientidbase.yt=android-verizon
rild.libpath=/system/lib/libmoto_ril.so
persist.ril.mux.retries=500
persist.ril.mux.sleep=2
ro.kernel.android.ril=yes
ro.config.ringtone=DroidX2.ogg
ro.config.notification_sound=Droid.ogg
ro.config.alarm_alert=Alarm_Classic.ogg
ro.media.enc.aud.fileformat=qcp
ro.media.enc.aud.codec=qcelp
ro.media.enc.aud.bps=13300
ro.media.enc.aud.ch=1
ro.media.enc.aud.hz=8000
ro.com.google.gmsversion=2.3_r5
ro.config.sync=no
ro.browser.useragent=0
ro.media.camcorder.720p=mp4,h264,30,12000000,aac,128000,44100,2
ro.media.camcorder.d1NTSC=mp4,h264,30,6000000,aac,128000,44100,2
ro.media.camcorder.vga=mp4,h264,30,4000000,aac,128000,44100,2
ro.media.camcorder.cif=mp4,h264,30,1500000,aac,128000,44100,2
ro.media.camcorder.qvga=mp4,h264,15,500000,aac,32000,16000,2
ro.media.camcorder.mms=3gp,h264,15,128000,amrnb,12200,8000,1
ro.media.camcorder.mmsres=qvga
ro.camcorder.zoom=true
ro.media.capture.shuttertone=1
ro.camcorder.videoModes=false
ro.telephony.call_ring.multiple=false
ro.telephony.call_ring.delay=3000
ro.cdma.data_retry_config=default_randomization=2000,0,0,120000,180000,540000,960000
ro.mot.setuptype=2
ro.media.camera.focal=3378.6,3378.6
ro.media.camera.principal=1632.0,1224.0
ro.media.camera.skew=0.0
ro.media.camera.distortion=0.0,0.0,0.0,0.0,0.0
ro.media.camera.calresolution=3264,2448
ro.mot.internalsdcard=1
dalvik.vm.dexopt-flags=m=y
net.bt.name=Android
net.change=net.tcp.buffersize.gprs
dalvik.vm.stack-trace-file=/data/anr/traces.txt
ro.mot.dpmext=true
ro.build.version.full=Blur_Version.1.3.380.MB870.Verizon.en.US
ro.mot.hidden_keyboards=evfwd
ro.sys.atvc_allow_netmon_usb=0
ro.sys.atvc_allow_netmon_ih=0
ro.sys.atvc_allow_res_core=0
ro.sys.atvc_allow_res_panic=0
ro.sys.atvc_allow_all_adb=0
ro.sys.atvc_allow_all_core=0
ro.sys.atvc_allow_efem=0
ro.sys.atvc_allow_bp_log=0
ro.sys.atvc_allow_ap_mot_log=0
ro.sys.atvc_allow_gki_log=0
persist.sys.timezone=America/Los_Angeles
persist.sys.mot.encrypt.mmc=0
persist.sys.localevar=
persist.sys.language=en
persist.service.adb.NV_DISABLE=1
persist.sys.country=US
ro.FOREGROUND_APP_MEM=2464
ro.VISIBLE_APP_MEM=3712
ro.PERCEPTIBLE_APP_MEM=5632
ro.HEAVY_WEIGHT_APP_MEM=5632
ro.SECONDARY_SERVER_MEM=7392
ro.BACKUP_APP_MEM=7392
ro.HOME_APP_MEM=7392
ro.HIDDEN_APP_MEM=14336
ro.EMPTY_APP_MEM=16896
ro.FOREGROUND_APP_ADJ=0
ro.VISIBLE_APP_ADJ=1
ro.PERCEPTIBLE_APP_ADJ=2
ro.HEAVY_WEIGHT_APP_ADJ=3
ro.SECONDARY_SERVER_ADJ=4
ro.BACKUP_APP_ADJ=5
ro.HOME_APP_ADJ=6
ro.HIDDEN_APP_MIN_ADJ=7
ro.EMPTY_APP_ADJ=15
net.tcp.buffersize.default=65536,131072,262144,65536,131072,262144
net.tcp.buffersize.wifi=4095,87380,110208,4096,16384,110208
net.tcp.buffersize.umts=4094,87380,110208,4096,16384,110208
net.tcp.buffersize.edge=4093,26280,35040,4096,16384,35040
net.tcp.buffersize.gprs=4092,8760,11680,4096,8760,11680
wifi.interface=eth0
softap.interface=wl0.1
sys.mot.encrypt.keysig=a32d22b8d3175b4a
sys.chargeonly.mode=1
init.svc.servicemanager=running
init.svc.vold=running
init.svc.netd=running
init.svc.debuggerd=running
init.svc.ril-daemon=running
init.svc.12m_files_copy=stopped
init.svc.nvrm_daemon=running
init.svc.battd=running
init.svc.usbd=running
init.svc.touch=stopped
init.svc.atvc=stopped
init.svc.adbd=running
init.svc.zygote=stopped
ril.restart.counter=1
ro.ril.barcode=
ro.ril.ecclist=911,#911,*911,112
I:Checking for extendedcommand...
I:Running extendedcommand...
Waiting for SD Card to mount (20s)
SD Card mounted...
I:Running script:
I:
ui_print("ROM Manager Version 4.8.0.7");
ui_print("December 25, 2011");
assert(backup_rom("/emmc/clockworkmod/backup/2011-12-25-14.24.18"));
line 1: unexpected character at 'u'
Syntax error in update script
I got this from one of my sources.
This is the latest ICS build for Xperia Pro from EMMA - SE external testing software.
It's of use only for developers, as it's boot, system, etc packaged into one file (there is
info around on how to unpack it) and by default it can't be flashed on non-brown (not
developer) phones.
http://www.mediafire.com/?ni6smknsi68z4zy
http://www.mediafire.com/?zpd3q6dd660pfoa
http://www.mediafire.com/?4bg435kq40d22pf - Kernel & Ramdisk
Click to expand...
Click to collapse
PS: I do not want to disclose any details about the source.
Decrypted ftf file with complements from NorwayFun: http://monitor.lunet.ge/mk16i_xz_xz.ftf
update.zip with complements from eryen: http://www.multiupload.nl/NMN4WPMVO9
updat.zip & kernel with complements from Riyal:
http://108.166.90.15/.files/ICS3.img - Kernel
http://www.sendspace.com/file/rt9kau - ROM
* Refer Riyal's post on instructions to flash.
[HIGHLIGHT]PS 2: Be warned that this might not work, if not brick your phone.[/HIGHLIGHT]
ameer1234567890 said:
I got this from one of my sources.
PS: I do not want to disclose any details about the source.
Click to expand...
Click to collapse
Thanks for making it as a thread....I tried to search in google on how to unpack frimware files downloaded via emma....but was not able to find.....Can you please give the steps or share the link on how to unpack firmware files downloaded via emma
naveen88 said:
Thanks for making it as a thread....I tried to search in google on how to unpack frimware files downloaded via emma....but was not able to find.....Can you please give the steps or share the link on how to unpack firmware files downloaded via emma
Click to expand...
Click to collapse
I am working on it ATM. I shall post here one done!
PS: Be warned that this might not work, if not brick your phone.
This should work with EMMA.
Ill tell u a way to Decrypt the file Using Flash Tool.
1. Extract the file from zip archive to a new folder
2. Copy the Newly created folder to FLASHTOOL folder
3. Open Flashtool.exe, ==> Advance ==> Decrypt Files.
4. Select the Folder that contains the ICS file..
5. Then Move the File to " FILES TO CONVERT " pane.
6. Then Click Ok, It will take some time to Decrypt.
Then You can see extracted sin files there in same folder u copied before.
But you can not extract those sin files at the moment. You can try...
Anyways if i find anything, ill share with u..
Note : I'm not responsible for any damage to your device. use at your own risk.
Thanks for this! I'll see later if I could get all the libraries I needed from this. If yes then expect an ICS version of ultima in probably a week or two. I just need some specific libs for pro and drivers also
ftf file added!
The following files are missing in the ftf file I guess which are needed for flashing successfully:-
a)kernel.sin
b)adsp.sin
c)amss.sin
d)fota0.sin
e)fota1.sin
f)cache.sin
g)apps_log.sin
I had even tried to add these missing files and flashed from official ics ftf for Xperia Neo V as both are identical, but it doesn't work. Had got some critical security error via flash tool.
Is there any other way to extract sin files apart from SIN2IMG as it doesn't work?
---------- Post added at 04:58 PM ---------- Previous post was at 04:56 PM ----------
Riyal said:
Thanks for this! I'll see later if I could get all the libraries I needed from this. If yes then expect an ICS version of ultima in probably a week or two. I just need some specific libs for pro and drivers also
Click to expand...
Click to collapse
Good, I guess by that time official ICS firmware would be out for Xperia Pro. Then it would be double fun
---------- Post added at 05:20 PM ---------- Previous post was at 04:58 PM ----------
Guys I guess I struck gold
Hopefully will be posting some good news in few hours for all fellow xperia pro users
anyone tried this?
bye
28spawn said:
anyone tried this?
bye
Click to expand...
Click to collapse
it will not work. sin file headers are corrupt or encrypted.
##### Merging of the /util/data/semc_kernel_time_stamp.prop file #####
ro.build.date=Tue Apr 24 11:57:09 2012
ro.build.date.utc=1335261429
ro.build.user=BuildUser
ro.build.host=BuildHost
##### Final patch of properties #####
ro.build.product=MK16i
ro.build.description=MK16i-userdebug 4.0.4 4.1.B.0.431 UL5_3w test-keys
ro.product.brand=SEMC
ro.product.name=MK16i_1250-3710
ro.product.device=MK16i
ro.build.tags=release-keys
ro.build.fingerprint=SEMC/MK16i_1250-3710/MK16i:4.0.4/4.1.B.0.431/UL5_3w:userdebug/release-keys
######################## Customized property values #########################
ro.semc.version.cust=1250-3710
ro.semc.version.cust_revision=R2I
ro.semc.enable.fast_dormancy=true
ro.com.google.clientidbase.am=android-h3g-{country}
ro.com.google.clientidbase.ms=android-h3g-{country}
ro.com.google.clientidbase.vs=android-h3g-{country}
ro.net.data_tmpfailures=26,29,30,31,34
ro.gsm.data_retry_config=20000:5000,20000:5000,20000:5000,40000:5000,80000:5000,160000:5000
ro.semc.ecclist.num=1
ro.semc.ecclist.type.0=police
ro.semc.ecclist.number.0=999
ro.ril.mtu_size=1500
ro.network.auto_selection_only=true
ril.uus.support=true
ro.settings.apn.lock=3
ro.telephony.no_emg_calls_only=true
#########################################################################
ro.config.ringtone=sony_ericsson.ogg
ro.config.notification_sound=notification.ogg
ro.config.alarm_alert=alarm.ogg
ro.semc.content.number=PA6
################# Updating of the SW Version #################
ro.semc.version.fs_revision=4.1.B.0.431
ro.build.id=4.1.B.0.431
ro.build.display.id=4.1.B.0.431
##### Values from product package metadata #####
ro.semc.product.model=MK16i
ro.semc.ms_type_id=AAD-3880110-BV
ro.semc.version.fs=HUTCH-i
ro.semc.product.name=Xperia pro
ro.semc.product.device=MK16
ro.product.model=MK16i
# 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=userdebug
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 iyokan
#
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
persist.ro.ril.sms_sync_sending=1
ro.use_data_netmgrd=true
# Notify the system that the RIL only signals once
ro.telephony.call_ring.multiple=false
ro.semc.timescape_keys=Sony_Ericsson_Xperia
# Disable strict mode checking
persist.android.strictmode=0
ro.semc.sols.product-code=88
ro.semc.sols.company-code=5
# 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_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=240
ro.usb.pid_suffix=15A
dalvik.vm.lockprof.threshold=500
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
Click to expand...
Click to collapse
update.zip uploading.
eryen said:
update.zip uploading.
Click to expand...
Click to collapse
If its ics for xperia pro, then you are awesome man
can't wait to try it now........
Hope boot.img is also there in update.zip
naveen88 said:
If its ics for xperia pro, then you are awesome man
can't wait to try it now........
Hope boot.img is also there in update.zip
Click to expand...
Click to collapse
There is no kernel in original file. Sorry.
Flashtool extracted these files only,
1. amss_fs_iyokan_S1-SW-TEST-3F3C-0001-S1-PARTITION.sin
2. simlock.ta
3. system_S1-SW-TEST-3F3C-0001-S1-PARTITION-WITH-SPARE.sin
4. userdata_S1-SW-TEST-3F3C-0001-S1-PARTITION-WITH-SPARE.sin
All these origins for filesystem.
I will test system partition with my Arc.
---------- Post added 15th May 2012 at 12:18 AM ---------- Previous post was 14th May 2012 at 11:59 PM ----------
No kernel for release.
MK16i-userdebug-4.1.B.0.431.zip
http://www.multiupload.nl/NMN4WPMVO9
eryen said:
There is no kernel in original file. Sorry.
Flashtool extracted these files only,
1. amss_fs_iyokan_S1-SW-TEST-3F3C-0001-S1-PARTITION.sin
2. simlock.ta
3. system_S1-SW-TEST-3F3C-0001-S1-PARTITION-WITH-SPARE.sin
4. userdata_S1-SW-TEST-3F3C-0001-S1-PARTITION-WITH-SPARE.sin
All these origins for filesystem.
I will test system partition with my Arc.
---------- Post added 15th May 2012 at 12:18 AM ---------- Previous post was 14th May 2012 at 11:59 PM ----------
No kernel for release.
MK16i-userdebug-4.1.B.0.431.zip
http://www.multiupload.nl/NMN4WPMVO9
Click to expand...
Click to collapse
Are only the sin files included in the zip file?
From where you got that build properties?
naveen88 said:
Are only the sin files included in the zip file?
From where you got that build properties?
Click to expand...
Click to collapse
System.sin partition extracted to flash-able zip file.
Info belongs to build.prop file.
Ok, Won't arc's kernel or neo v's kernel work for xperia pro as the platform is same?
Btw...if any developers want direct download link for the zip file posted by eryen, then p.m me for the link
Interesting to note that this is the Android 4.04 release!
Isn't it great having all those Neo V, Ray and Arc S users acting as beta-testers for us with the power of the SEX-Pro!
A direct link of the zip would be good for me I already ported Xperia ICS kernel to pro. If I'll be releasing a stock one then I could release it in no time. If I encorporate my mods then this would take more than a week
Now my only problem is a freaking ramdisk for pro ICS
If I get hold of the extracted system files of pro ICS probably I could port the ramdisk from arc S to Pro
paul5425 said:
Isn't it great having all those Neo V, Ray and Arc S users acting as beta-testers for us with the power of the SEX-Pro!
Click to expand...
Click to collapse
That's a great thought.
@Riyal and Ameer
Direct download link sent via pm. Please check and confirm.
@Riyal
Please release a stock one first so that we can test it and report bugs if any. And then you can work on including the mods.
Just a thought, If you can work on FXP120, may be porting camera(fixing the video recording and front camera issue) and music app to FXP 120 then it would be just awesome.
so here iam making a guide for ppl who wold like to port miui to xperia MDPI...noob friendly
soon ill make a guide for how to port HDPI rom to MDPI..
ill be tell u ppl how to make a miui rom with aroma installer...
and this how i port.
So lets start
STEP:-1
Things u need to before porting.
1.META-INF folder (iam giving my roms meta-inf folder.) http://www.mediafire.com/download.php?g2f3d233tkvteua
2.APKTOOL http://www.mediafire.com/download.php?ba8bqcf9lpfiu6mhttp://www.wuala.com/neroyoung/XDA%20ROM%20Dev%20Tools/APKTool.rar/
3.APK MANAGER ICS http://www.mediafire.com/download.php?ba8bqcf9lpfiu6m
4.DEV FILES (giving my roms dev files) http://www.mediafire.com/download.php?z3onaugfr4nr65r
5.NOTE PAD++
6.WINRAR
7.BASE ROM OF ARC S FROM MIUIANDROID.com
8.BASE .587 ROM OF xperia MDPI (any one of mini pro,mini,lww,active)
9.PROPER KNOWLEDGE OF COMPILING AND DECOMPILING .
10.CALM MIND
STEP:-2
In system folder
From xperia mdpi .587 base rom
delete:
app
framework
fonts
media
open arc s miui rom archive with winrar and replace with those files above folders.DONT CLOSE ARCHIVE
now Open lib folder and copy some files from the arc s archive.
content-types.properties
liblbesec.so
liblocSDK_2.5OEM.so
Open etc Folder and copy some files from arc s archive
yellowpage.db
telocation.td
go to permissions folder in etc folder and add some files from arc s archive
miui-framework.xml
com.google.android.media.effects.xml
com.google.widevine.software.drm.xml
com.google.android.maps.xml
STEP:-3
Modifying build prop
change the underlined texts with notepad++ according to ur versions
Code:
################# 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=[U]4.1.B.0.587[/U]
##### Values from product package metadata #####
ro.semc.product.model=SK17i
ro.semc.ms_type_id=AAD-3880097-AV
ro.semc.version.fs=WORLD-i
ro.semc.product.name=Xperia mini pro
ro.semc.product.device=SK17
ro.product.model=SK17i
# begin build properties
# autogenerated by buildinfo.sh
ro.build.version.incremental=[U]2.9.29[/U]
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=cn
persist.sys.timezone=Asia/Shanghai
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 mango
# ADDED BY BUILD SCRIPT
ro.rommanager.developerid=miuiandroid
ro.modversion=MIUIAndroid-[U]2.9.29-EN-SK17i
STEP:-4
BUILD PROP TWEAKS
add thses to ur build prop ..
Code:
# System props for audio
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=false
persist.audio.hp=true
# System prop to select audio resampler quality
af.resampler.quality=255
# Miscellaneous Tweaks!
persist.sys.purgeable_assets=1
windowsmgr.max_events_per_sec=150
# Render UI with GPU
debug.sf.hw=1
# Battery Saving Tweak
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
ro.mot.eri.losalert.delay=1000
# Fastest! 2G/3G/WiFi Settings
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=0
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
# Other Tweaks
ro.kernel.android.checkjni=0
ro.max.fling_velocity=8000
video.accelerate.hw=1
Debug.performance.tuning=1
debug.composition.type=gpu
debug.composition.type=cpu
STEP:-5
Disabling auto brightness to make the leds to work.
1-decompile framework-res.apk
2-after decompiling goto res>values>bools.xml
3-u will see this line
Code:
<bool name="config_automatic_brightness_available">[COLOR="Red"]true[/COLOR]</bool>
4-change that 'true' to 'false'
5. recompile and put the file in system/framework folder.
BLACK BAR removing.
1-decompile MiuiSystemUI.apk
2-goto res>values> drawables.xml
3-delete this line
Code:
<item type="drawable" name="notification_header_bg">#ff000000</item>
4-recompile it and paste it in system/app folder.
STEP:-6
Changing some things in meta-inf folder.
change the highlighted things according to ur rom
1-aroma config file
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2-goto meta-inf>com>google>android>aroma>license
and write what every u want.
STEP:-7
Setting up folders.
so after doing all these
u should have these folder
META-INF
DEV
SYSTEM
make a zip of these folders...and ur done with the new miui rom
sorry for my bad presentation
CREDITS
Lens_flare (for giving idea how to do it)
jj doctor
GUIDE:-2
HOW TO COMPILE AND DECOMPILE
so 1st using apktool install these files by using this command..
framework-res.apk - apktool if framework-res.apk
framework-miui-res.apk - apktool if framework-miui-res.apk
SemcGenericUxpRes.apk - apktool if SemcGenericUxpRes.apk
once u done installing these 3 things.. close apktool.......
FRAMEWORK-RES
now download and install apk manager to ur c/ drive...
after installing u should have folders like this.
after that put apks in the folder named ' put apk's here for moding'
so u put framework-res.apk and miuisystemui.apk in that folder
like this
then open the script.
like this
after opening the script it will be like this
choose a project by pressing 22 and choose framework-res.apk
then decompile it by pressing 9
after in the project folder.
go to framework-res.apk >res>values>and open bools.xml in that change the auto brightness to false insted of true.
then recompile it by pressing 11 and it will ask for 'is it a system app' say yes there..
.
and it will also ask for 'copy original files that u have not modified.' say no there.
and do not sign the framework or systemui apk
so in the same folder ' put apks for modding u will find a file like this 'unsignedframework-res.apk' so rename it to framework-res and replace in the system/framework
so now framework is over..
SYSTEM UI
same way u decompile miuisystemui.apk
in that go to res>values> open drawables.xml and delete this line shown in down
after that recompile it by pressing 11
it will ask the same thing again 'is it a system app' say yes.
and 'do u want to copy original files that u have not modified' say yes.
and again a msg will popup like this
so for that a temp folder called 'keep' will be created in the inside apk manager ics folder in that delete this file shown in pic
and press enter
so recompiling is done with out any error...
now in the that 'put ur apks for moding' folder rename it to MiuiSystemUI and place it in the system/app
Hdpi to mdpi
GUIDE:-3
HOW TO PORT A ROM FROM HDPI TO MDPI
ONLY ICS ROMS
so lets start it.
things u need
1.META-INF folder http://www.mediafire.com/download.php?uv2vf7k7wlqh9vj
2.winrar
3.mdpi .587 base rom (ex: xperia mini pro)
4.Any HPDI rom u want to port (ex: xperia arc s)
5.Basic knowledge of system supporting files.
6.Notepad++
7.patients
So lets start.
Step 1
take a ARC S rom as a base and extract to a folder so that u will consists of all these folders.in the system folder.
and delete the red colored remarked folders.
Code:
app
[COLOR="red"]bin[/COLOR] (replace with mdpi bin folder)
etc
[COLOR="Red"]fonts[/COLOR] (replace with mini pro rom fonts folder)
framework
lib
media
semc
tts
[COLOR="red"]usr[/COLOR] (replace with mini pro rom usr. folder)
vendor
xbin
STEP 2.
coming to apps folder.
delete
SemcHdmiControlService.apk
and all the blot wares.
and add what every apks u want in ur rom..like themes etc
STEP:3
Coming to etc folder
open the mini pro rom acrhive
and replace with the following files
Code:
/firmware (whole folder)
hw_config
media_profiles
pre_hw_config
sensors.conf
so done with etc folder.
Donot close the archive.
Now open lib folder
copy and replace the following files from mini pro archive
Code:
camera files:-
libcameraextensionclient.so
libcameraextensionjni.so
libcameraextensionservice.so
libcameralight.so
libcameraservice.so
libcamera_clientsemc.so
libcald_pal.so
libcald_hal.so
libcald_server.so
liboemcamera.so
libbluedroid.so
libsurfaceflinger.so
libsurfaceflinger_client.so
libbluedroid.so
/hw (whole folder)
/modules (whole folder)
Delete -[B]libhdmidisplay.so[/B]
NOTE:
framework of an HDPI rom will work on MDPI rom no need to change it
Click to expand...
Click to collapse
STEP 4:
TWEAKS
for better performace i have added my roms tweaks....
http://www.mediafire.com/download.php?ve276m6x3xsr3p0
u can place these files in etc/init.d folder.
u can search xda for more tweaks..
STEP 5:-
Editing BUILD PROP.
change all the red marked values as per ur device.
change the ring defaults in blue marked field.
Code:
##### 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 'mango')
#
# 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)
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
BUILD PROP TWEAKS.
add these lines at the end of build prop.
u can find more tweaks on xda
Code:
# System props for audio
persist.audio.fluence.mode=endfire
persist.audio.vr.enable=false
persist.audio.hp=true
# System prop to select audio resampler quality
af.resampler.quality=255
# Miscellaneous Tweaks!
persist.sys.purgeable_assets=1
windowsmgr.max_events_per_sec=150
# Render UI with GPU
debug.sf.hw=1
# Battery Saving Tweak
ro.ril.disable.power.collapse=1
pm.sleep_mode=1
ro.mot.eri.losalert.delay=1000
# Fastest! 2G/3G/WiFi Settings
ro.ril.hsxpa=1
ro.ril.gprsclass=10
ro.ril.hep=1
ro.ril.enable.dtm=0
ro.ril.hsdpa.category=8
ro.ril.enable.a53=1
ro.ril.enable.3g.prefix=1
ro.ril.htcmaskw1.bitmask=4294967295
ro.ril.htcmaskw1=14449
ro.ril.hsupa.category=6
# Other Tweaks
ro.kernel.android.checkjni=0
ro.max.fling_velocity=8000
video.accelerate.hw=1
Debug.performance.tuning=1
debug.composition.type=gpu
debug.composition.type=cpu
STEP:6
EDITING Updater script.
only add the red colored line if u are adding a data folder for supercharger. scripts.
Code:
show_progress(0.1, 0);
ui_print(" write any thing inside this");
ui_print(" Installation Started !");
format("MTD", "system");
format("MTD", "cache");
mount("MTD", "system", "/system");
mount("MTD", "userdata", "/data");
show_progress(1.2, 83);
package_extract_dir("system", "/system");
show_progress(0.14, 3);
[COLOR="Red"]package_extract_dir("data", "/data");[/COLOR]
ui_print("");
set_progress(0.700000);
unmount("/system");
unmount("/data");
show_progress(1, 0);
ui_print("");
ui_print("reboot");
STEP 7
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
so here is the list of particular png's u have to resize and replace it.
1st open a apk with winrar from the following folders bellow extract those png's do no close the archive resize it to 48x48 and replace it mdpi folder.
Code:
browser -- mipmap-mdpi / ic_launcher_browser.png
calculator -- drawabe-hdpi / icon.png
google quick search box -- mipmap-mdpi / search_app_icon.png
phonebook -- drawable-mdpi / ic_launcher_contacts.png & ic_launcher_phone.png
semc calender -- drawable-mdpi / app_icon.png
semc clock -- drawable-mdpi / alarmclock.png
semc phone -- drawable-mdpi / clh_launcher_phone.png
settings -- mipmap-mdpi / ic_launcher_settings.png
torch -- drawable-mdpi/ you will find it.
talk -- drawable-mdpi / ic_launcher_google_talk.png
STEP 8
after doing all these
u should have these folders
data http://www.mediafire.com/download.php?l1ejemfyftax1ej
META-INF
system
Click to expand...
Click to collapse
make it a zip file name it.
so u have made a new rom ported from HPDI to MDPI
sorry for bad presentation ....ill edit this post in more understandable way soon
Very nice guide, but would be cool if you could show more screenshots, this would make the whole presentation better. Apart from this, it's very good
But maybe you could write something about porting kernels, because we need to port kernel, too. Otherwise the phone wouldn't boot, right?
mihahn said:
Very nice guide, but would be cool if you could show more screenshots, this would make the whole presentation better. Apart from this, it's very good
But maybe you could write something about porting kernels, because we need to port kernel, too. Otherwise the phone wouldn't boot, right?
Click to expand...
Click to collapse
thanks ill update the screen shots soon..
i never tried porting kernels....ill start it in this month....once iam done ill bring a guide for that also
edit: for making this miui rom u can use any ics kernels in development forums works fine.
sandy7 said:
thanks ill update the screen shots soon..
i never tried porting kernels....ill start it in this month....once iam done ill bring a guide for that also
edit: for making this miui rom u can use any ics kernels in development forums works fine.
Click to expand...
Click to collapse
Okay great, because every rom I've tried to port needed it's own kernel
How about the updater-script? Could you maybe explain something about this; what we can change there, etc?
mihahn said:
Okay great, because every rom I've tried to port needed it's own kernel
How about the updater-script? Could you maybe explain something about this; what we can change there, etc?
Click to expand...
Click to collapse
just use my updater script attached in meta-inf folder...
bcz it would be easy for noobs..
edit: ok ill make update what all u need to change in updater script
sandy7 said:
just use my updater script attached in meta-inf folder...
bcz it would be easy for noobs..
edit: ok ill make update what all u need to change in updater script
Click to expand...
Click to collapse
This would be great if you could tell us (maybe not in this tutorial, but maybe in another?) what we have to change to port updater-script, maybe even if we port from different manufactures?
mihahn said:
This would be great if you could tell us (maybe not in this tutorial, but maybe in another?) what we have to change to port updater-script, maybe even if we port from different manufactures?
Click to expand...
Click to collapse
ok iam thinking of pining this thread ...it will be help full for devs
guide 2
updated the guide for decompiling recompiling files.
Really nice of yhu buddy..... Thumbsup!!!!
would love to know how to make Aroma Installer....
whalesplaho said:
Really nice of yhu buddy..... Thumbsup!!!!
would love to know how to make Aroma Installer....
Click to expand...
Click to collapse
ok will make a guide for it asap
sandy7 said:
ok will make a guide for it asap
Click to expand...
Click to collapse
"Sorry, you are limited to 8 thanks per day"........ thanks so much brov!!!!
can use aroma installer for any installation right not only ROM?
whalesplaho said:
"Sorry, you are limited to 8 thanks per day"........ thanks so much brov!!!!
can use aroma installer for any installation right not only ROM?
Click to expand...
Click to collapse
Yes you should be able to use it for mods, etc, too
Sent from my SK17i running Jelly Bean via CM10
mihahn said:
Yes you should be able to use it for mods, etc, too
Sent from my SK17i running Jelly Bean via CM10
Click to expand...
Click to collapse
Okay... thanks!
whalesplaho said:
"Sorry, you are limited to 8 thanks per day"........ thanks so much brov!!!!
can use aroma installer for any installation right not only ROM?
Click to expand...
Click to collapse
ya u can use for any mods also
sandy7 said:
ya u can use for any mods also
Click to expand...
Click to collapse
thanks brov..... waiting for tutorial!
Great tut sandy...
Hope ill make a MIUI rom one day following these guides
ssanjay19 said:
Great tut sandy...
Hope ill make a MIUI rom one day following these guides
Click to expand...
Click to collapse
ya sure make it...any doubt post it here ill solve it....
ill add a one more tut today...how to port HDPI rom to MDPI
sandy7 said:
ya sure make it...any doubt post it here ill solve it....
ill add a one more tut today...how to port HDPI rom to MDPI
Click to expand...
Click to collapse
Great brov but dnt forget Aroma Installer when yhu idle.....
Hi everyone
After seeing all the beautiful creations by wonderful ROMs like MiniCM10, JBMP, GingerSony and much more for X10 Mini and Pro, you might wanted to know how to make your own unique ROM.
So, I am going to tell how to make your own customized ROMs
(It is not about building a ROM from source but modifing a prebuilt ROM)
So, what are we waiting for Let's start!
CONTENTS
1. Setting Up
2. Unpack and Modifying /System (App, Lib, Media)
3. Editing Build.prop
4. Modifing /Meta-Inf
5. Additional Tweaks
6. Repack, Rename and Release
Step 1 Setting Up
1. Files you need:
- Base ROM (Choose a stable one)(MiniCM6, 7, 9, 10, SlimROMs+ are the best choices for modification!)
- 7Zip or Winzip or anything that has function to unzip
- Notepad++
- Your thinking about what the ROM should be like
- Patience
OK. Let's move up to Step 2 and let's start the real work!
Step 2 Unpacking the Base ROM and Modifying /System Folder
1. Unzip your Base ROM using 7zip, Winzip or whatever.
2. After unzipping, you will see two folders inside the folder. One is META-INF, and another is System.
2-1. Go inside the /System folder.
3. You will see many folders/files which usually are
addon.d
apps
bin
etc
fonts
frameworks
lib
media
usr
vendor
xbin
build.prop
and we are going to focus on apps, lib and media folder on this step.
4. Browse to /app folder. /app folder contains .apk files of apps in your ROM. Delete apps you do not need and add .apk files of apps what you want to add.
5. Browse to /lib folder. /lib folder contains necessary files for Android to run. Which means, without lib files, you will not be able to run your ROM as well as apps. Add libs for your added apps if necessary (Not all apps need it) and DO NOT DELETE ANY OF PRE-INSTALLED FILES IN THE /LIB FOLDER!
6. Browse to /media folder. /media folder contains ringtones, bootanimations and more.
6-1. Browse to /media/audio, and you will find 4 folders, alarms, notifications, ringtones, and ui. Go ahead and delete songs you do not like and add your favorite songs for alarms, notifications, ringtones folder.
6-2. Back to /media folder, you will find Bootanimation.zip If you want to change your bootanimation as well, see [TUTORIAL] How to make and install android bootanimations.
We are pretty done for that three folders. So, let's continue onto editing build.prop!
Step 3 Editing Build.prop
There is build.prop in your system, and we will modify that file.
You have to have Notepad++ to open it.
1. Open build.prop with Notepad++.
This is build.prop from my SlimROMs+ R3:
# begin build properties
# autogenerated by buildinfo.sh
ro.build.id=Slim ROMs+ CM10 Revised3 for Robyn
ro.build.display.id=Slim ROMs+ CM10 Revised3 for Robyn
ro.build.version.incremental=eng.pongnamu.20130317.121841
ro.build.version.sdk=16
ro.build.version.codename=REL
ro.build.version.release=4.1.2
ro.build.date=March 23, 2013
ro.build.date.utc=1363289271
ro.build.type=user
ro.build.user=pongnamu
ro.build.host=pongnamu
ro.build.tags=test-keys
ro.product.model=E10i
ro.product.brand=SEMC
ro.product.name=LT30p_1269-0608
ro.product.device=robyn
ro.product.board=robyn
ro.product.cpu.abi=armeabi-v6l
ro.product.cpu.abi2=armeabi
ro.product.manufacturer=Sony Ericsson
ro.wifi.channels=
ro.board.platform=msm7x27
# ro.build.product is obsolete; use ro.product.device
ro.build.product=robyn
# Do not try to parse ro.build.description or .fingerprint
ro.build.description=LT30p-user 4.0.4 7.0.A.3.195 PPP_xw test-keys
ro.build.fingerprint=Sony/LT30p_1269-0608/LT30p:4.0.4/7.0.A.3.195/PPP_xw:user/release-keys
ro.build.characteristics=default
ro.cm.device=robyn
# end build properties
#
# ADDITIONAL_BUILD_PROPERTIES
#
ro.sf.lcd_density=120
keyguard.no_require_sim=true
ro.url.legal=http://www.google.com/intl/%s/mobile/android/basic/phone-legal.html
ro.url.legal.android_privacy=http://www.google.com/intl/%s/mobile/android/basic/privacy.html
ro.com.google.clientidbase=android-google
ro.com.android.wifi-watchlist=GoogleGuest
ro.setupwizard.enterprise_mode=1
ro.com.android.dateformat=MM-dd-yyyy
ro.com.android.dataroaming=false
ro.cm.version=Slim ROMs+ CM10 Revised3 for Robyn
ro.modversion=Slim ROMs+ CM10 Revised3 for Robyn
ro.min.kernel.version=2.6.32.60-nAa
ro.min.kernel.revision=05
persist.sys.themeId=CrystalMiniCM10
persist.sys.themePackageName=com.darkdog.theme.crystalminicm10
ro.media.dec.jpeg.memcap=10000000
rild.libpath=/system/lib/libril-qc-1.so
rild.libargs=-d/dev/smd0
ro.ril.hep=1
ro.ril.hsdpa.category=10
ro.ril.enable.dtm=1
ro.ril.enable.3g.prefix=1
ro.ril.hsxpa=2
ro.ril.gprsclass=10
ro.ril.hsupa.category=6
ro.ril.disable.power.collapse=1
ro.telephony.ril_class=SemcRIL
wifi.interface=wlan0
wifi.softap.interface=wlan0
wifi.softapconcurrent.interface=wlan0
wifi.supplicant_scan_interval=45
ro.ril.def.agps.mode=2
ro.ril.def.agps.feature=1
persist.sys.use_16bpp_alpha=1
persist.sys.use_dithering=2
persist.sys.force_hw_ui=true
ro.telephony.default_network=0
ro.telephony.call_ring.delay=1000
ro.telephony.call_ring.multiple=false
ro.com.google.locationfeatures=1
ro.com.google.networklocation=1
ro.ril.enable.a52=1
ro.ril.enable.a53=1
ro.telephony.ril.v3=icccardstatus,skipbrokendatacall,signalstrength,datacall
ro.telephony.ril_skip_locked=true
ro.media.enc.file.format=3gp,mp4
ro.media.enc.vid.codec=m4v,h263
ro.media.enc.vid.h263.width=176,640
ro.media.enc.vid.h263.height=144,480
ro.media.enc.vid.h263.bps=64000,1600000
ro.media.enc.vid.h263.fps=1,30
ro.media.enc.vid.m4v.width=176,640
ro.media.enc.vid.m4v.height=144,480
ro.media.enc.vid.m4v.bps=64000,1600000
ro.media.enc.vid.m4v.fps=1,30
ro.media.dec.aud.wma.enabled=1
ro.media.dec.vid.wmv.enabled=1
settings.display.autobacklight=1
media.stagefright.enable-player=true
media.stagefright.enable-meta=true
media.stagefright.enable-scan=true
media.stagefright.enable-http=true
windowsmgr.max_events_per_sec=150
debug.camcorder.disablemeta=1
dalvik.vm.dexopt-flags=m=y
dalvik.vm.checkjni=0
dalvik.vm.dexopt-data-only=1
dalvik.vm.lockprof.threshold=500
dalvik.vm.execution-mode=int:jit
dalvik.vm.verify_bytecode=false
dalvik.vm.heapsize=32m
debug.sf.hw=1
debug.composition.type=mdp
debug.gr.numframebuffers=3
ro.max.fling_velocity=4000
debug.qctwa.statusbar=1
debug.qctwa.preservebuf=1
hwui.render_dirty_regions=false
hwui.disable_vsync=true
debug.mdpcomp.logs=0
debug.sf.no_hw_vsync=1
hwui.print_config=choice
debug.enabletr=false
debug.hwui.render_dirty_regions=false
debug.hwui.disable_vsync=true
com.qc.hardware=true
persist.service.zram=1
ro.zram.default=18
persist.sys.usb.config=mtp,adb
persist.service.adb.enable=1
ro.opengles.version=131072
ro.product.locale.language=en
ro.product.locale.region=US
persist.ro.ril.sms_sync_sending=1
persist.android.strictmode=0
debug.performance.tuning=1
video.accelerate.hw=1
pm.sleep_mode=1
persist.pmem.camera=4000000
ro.config.ringtone=InsertCoin.ogg
ro.config.notification_sound=Helium.ogg
ro.config.alarm_alert=Cesium.ogg
net.bt.name=Android
dalvik.vm.stack-trace-file=/data/anr/traces.txt
2. We are going to change lines with orange color.
Above lines explained:
ro.build.id= Write your ROM name here
ro.build.display.id= Write your ROM name here (It will be displayed in Settings>About Phone)
ro.build.version.incremental= Keep this basic principle: eng.YOURNAME.YYYYMMDD .HHMMSS (Year, Month, Date, Hour, Minute, Second)
ro.build.date= Write when you build the version
ro.build.user= Write your name
ro.build.host= Write your name
ro.cm.version= Write your ROM name here (Example: SlimROMs+, MiniCM10 etc)
ro.modversion= Write your ROM name here
persist.sys.themeId= Write your theme chooser theme you included in the /app folder
persist.sys.themePackageName= Write the package name of the theme you included in your ROM
ro.config.ringtone= Write your ROM's default ringtone
ro.config.notification_sound= Write your ROM's default notification sound
ro.config.alarm_alert= Write your ROM's basic Write your ROM's default alarm
3. Add tweaks to it. Search for tweaks in XDA, follow their guide on how to add it and do it.
We are done editing build.prop! It was not hard, was it? Lets continue onto modifying /Meta-Inf on the next post!
Step 4
step5
step6
+1
Re: [GUIDE][WIP] How To Make (or Cook) Your Own Custom ROM | Easy as 1.2.3
Hey where is the steps??? Please give the steps...
Sent from my E10i using xda app-developers app
LOL Renz. give him time to write
This thread is a great idear. i hope a lot of newbies will play with the guide and end up becomming the coolest devs around. and make their own ROM too
Emperor.dk said:
LOL Renz. give him time to write
This thread is a great idear. i hope a lot of newbies will play with the guide and end up becomming the coolest devs around. and make their own ROM too
Click to expand...
Click to collapse
sorry...
Re: [GUIDE][WIP] How To Make (or Cook) Your Own Custom ROM | Easy as 1.2.3
Renz29 said:
sorry...
Click to expand...
Click to collapse
No need to be sorry I will complete the guide soon.
Sent From X10Mini Running SlimROMs+ R3 Final
Thanks pongnamu I cant w8 please complete your Guide
tnx
erfandl said:
Thanks pongnamu I cant w8 please complete your Guide
tnx
Click to expand...
Click to collapse
thank you pongy
:laugh:
Re: [GUIDE][WIP] How To Make (or Cook) Your Own Custom ROM | Easy as 1.2.3
=D
☜ Enviado desde mi u20a ☞
pongnamu thank you, this is perfect! very well explained!
Emperor.dk said:
LOL Renz. give him time to write
This thread is a great idear. i hope a lot of newbies will play with the guide and end up becomming the coolest devs around. and make their own ROM too
Click to expand...
Click to collapse
You are absolutely right bro, this'll give many the chance to become devs.
Keep op the work, @pongnamu !!!
Sent from my U20i using xda app-developers app
Thanks pongnamu... ends soon please
Cool
Cool, working on it now
I hope we will soon have a sequel, because the subject is really perfect!
Hi Guys,
It is important to know that the porting process for lollipop pretty much remains the same to a large degree.. There are some hits and misses. But I am adding below a list of files that have been used as a replacement on the vibe 2.5 ROMs .
The Vibe 2.5 ROMS seem a little complicated and seem to need a large replacement set. If we find a shorter way or if you find a shorter way, please comment that and it can be a part of this guide.
This is specific to the Lenovo A7000 series . The source ROM is from a K3 note.
When you port an AOSP ROM , you may need lesser replacements in libs and bins, but you may need to replace the sdcard binary sometimes. so be careful and happy porting.
here is a list
-------------------------------------
bin
etc
lib
lib64
******************************************************
-------------------------------------
/system/bin
-------------------------------------
audiocmdservice_atci
bcc
bootanimation
ccci_mdinit
downloader
factory
gzip_static
hostapd
installd
ip6tables
ipod
iptables
make_ext4fs
mdnsd
mtkbt
ndc
netd
pq
recovery
vold
wpa_cli
wpa_supplicant
-------------------------------------
******************************************************
-------------------------------------
/system/etc
-------------------------------------
/system/etc/.tp overwrite
/system/etc/firmware replace all
/system/etc/mddb replace all
apns-conf.xml
spn-conf.xml
-------------------------------------
******************************************************
-------------------------------------
/system/lib
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libadpcm.so
libAGifEncoder.so
libaudioflinger.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libextsimap.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libmediaplayerservice.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libshowlogo.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libstagefright_wfd.so
libsurfaceflinger.so
mtk-ril.so
mtk-rilmd2.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/egl
-------------------------------------
libGLES_mali.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/hw
-------------------------------------
audio.primary.mt6752.so
audio_policy.default.so
gps.default.so
mmsdk.default.so
sensors.mt6752.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbinder.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpac.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libsoundtrigger.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libsurfaceflinger.so
-------------------------------------
Have these files ready in a folder separated into their respective folders.
NOTE:
DO NOT REBOOT THE PHONE AFTER YOU FLASH THE ZIP.
once you are done flashing the zip, mount the system and delete the recovery-from-boot.p (this is very important else you will end up with a messed up recovery )
once that is done, keep the system mounted and use the following commands
open the folder you have the files arranged correctly in.
it should have the folders as bin, etc , lib , lib64 .
press shift and right click , select open command window here.
when you open the command window use the command below to push the files to the phone.
adb push . /system
******************************************************
pull the build.prop with
adb pull /system/build.prop
--------------------------------
edit build.prop with the values below
ro.lenovo.region=row
ro.sf.lcd_density=320
ro.product.locale.language=en
ro.product.locale.region=US
#add below lines for adb debugging.
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
----------------------------------------------------------------------------------------------
save this file and push it back with the command
adb push build.prop /system
----------------------------------------------------------------------------------------------
Boot.img editing.
This is the same as the others but ensure your default prop is as below to enable debugging.
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.adb.secure=0
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
persist.service.acm.enable=0
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote64_32
ro.mount.fs=EXT4
camera.disable_zsl_mode=1
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
ro.dalvik.vm.native.bridge=0
--------------------------------------------------------
Remember some ROMS need the partition to be 2.6 GB. i have scatter that can make the system partition 3 GB. I will upload that and share a link here.
--------------------------------------------------------
flashing the rom
the updater-script needs a bit of edit to flash the Rom as it is on the phone. Delete the lines in red.
replace the boot.img with the edited boot.img (I hope you all know how to do that edit)
--------------------------------------------------------------------------------------------------------------------
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data", "");
get_lenovo_custom1("1431948134") == "OK" || abort("Can't install this package (Mon May 18 19:22:14 CST 2015) over newer build (" + getprop("ro.build.data") + "). Or lenovo can't allow to rollback.");
unmount("/data");
getprop("ro.product.device") == "aio_otfp" || abort("This package is for "aio_otfp" devices; this is a "" + getprop("ro.product.device") + "".");
show_progress(0.750000, 0);
format("ext4", "EMMC", "/dev/block/mmcblk0p6", "0", "/system");
block_image_update("system", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
show_progress(0.050000, 5);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "bootimg"),
delete("/tmp/boot.img"));
assert(run_program("/system/bin/dd", "if=/dev/zero", "of=/proc/driver/mtd_writeable", "bs=3", "count=1"));
assert(package_extract_file("logo.img", "/tmp/logo.img"),
write_raw_image("/tmp/logo.img", "logo"),
delete("/tmp/logo.img"));
assert(package_extract_file("uboot.img", "/tmp/uboot.img"),
write_raw_image("/tmp/uboot.img", "uboot"),
delete("/tmp/uboot.img"));
assert(package_extract_file("mobicore.bin", "/tmp/tee1.img"),
write_raw_image("/tmp/tee1.img", "tee1"),
delete("/tmp/tee1.img"));
show_progress(0.200000, 10);
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data", "");
delete_recursive("/data/data/com.chinamworld.main/.cache");
unmount("/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p3", "/data", "");
!(get_lenovo_custom2("1431948134") == "OK") || format("ext4", "EMMC", "/dev/block/mmcblk0p3", "0", "/data");
unmount("/data");
---------------------------------------------------------------------------------------------------------------
Resized Scatter
https://drive.google.com/folderview...04YnE0V2UxXzVtOTBseWd5T2FqWmh5TDg&usp=sharing
Remember you will need to format the phone. If you format the phone you will lose IMEI and you will see the wifi 0x0 error showing up in the access point settings (safe to ignore that). you can use the maui meta tool in that share to fix the imei and you can search for the sn write tool to fix the wifi error (i didnt bother , it just shows up and doesn't bother me) .
Click to expand...
Click to collapse
To flash with the new scatter you will select the upgrade or format + download option. ensure the DL all with checksum is selected. You will need to select the right files and all the files need to be selected. Ensure you check tutorials on xda before you undertake this.
Remember to start from scratch, you will need to flash the custom recovery. you can find the custom recovery on xda. start there.
Disclaimer:
I am not responsible for any mess you get into with these steps. Remember, if in doubt ask questions, watch videos and learn before you mess things up.
Press THANKS if this helps you and rate this thread the way it helped you. Thanks again. Took some time to write this for you all. :fingers-crossed:
BEST
maxritz said:
Hi Guys,
It is important to know that the porting process for lollipop pretty much remains the same to a large degree.. There are some hits and misses. But I am adding below a list of files that have been used as a replacement on the vibe 2.5 ROMs .
The Vibe 2.5 ROMS seem a little complicated and seem to need a large replacement set. If we find a shorter way or if you find a shorter way, please comment that and it can be a part of this guide.
This is specific to the Lenovo A7000 series . The source ROM is from a K3 note.
When you port an AOSP ROM , you may need lesser replacements in libs and bins, but you may need to replace the sdcard binary sometimes. so be careful and happy porting.
here is a list
-------------------------------------
bin
etc
lib
lib64
******************************************************
-------------------------------------
/system/bin
-------------------------------------
audiocmdservice_atci
bcc
bootanimation
ccci_mdinit
downloader
factory
gzip_static
hostapd
installd
ip6tables
ipod
iptables
make_ext4fs
mdnsd
mtkbt
ndc
netd
pq
recovery
vold
wpa_cli
wpa_supplicant
-------------------------------------
******************************************************
-------------------------------------
/system/etc
-------------------------------------
/system/etc/.tp overwrite
/system/etc/firmware replace all
/system/etc/mddb replace all
apns-conf.xml
spn-conf.xml
-------------------------------------
******************************************************
-------------------------------------
/system/lib
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libadpcm.so
libAGifEncoder.so
libaudioflinger.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libextsimap.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libmediaplayerservice.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libshowlogo.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libstagefright_wfd.so
libsurfaceflinger.so
mtk-ril.so
mtk-rilmd2.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/egl
-------------------------------------
libGLES_mali.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64/hw
-------------------------------------
audio.primary.mt6752.so
audio_policy.default.so
gps.default.so
mmsdk.default.so
sensors.mt6752.so
-------------------------------------
******************************************************
-------------------------------------
/system/lib64
-------------------------------------
lib3a.so
lib3a_sample.so
libacdk.so
libaudiopolicymanager.so
libaudiopolicymanagerdefault.so
libaudiopolicyservice.so
libbcc.so
libbcinfo.so
libbinder.so
libbtcusttable.so
libc.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.sdkclient.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcameraservice.so
libcamera_client_mtk.so
libdpframework.so
libexif.so
libfeatureio.so
libhwui.so
libimageio.so
libimageio_plat_drv.so
libinputflinger.so
libjpeg.so
libLLVM.so
libm4u.so
libmdnssd.so
libmedia.so
libMiraVision_jni.so
libn3d3a.so
libnetd_client.so
libpac.so
libpng.so
libpq_cust.so
libquickshot.so
libRS.so
libRScpp.so
libRSCpuRef.so
libRSDriver.so
libsoundtrigger.so
libsqlite.so
libssl.so
libstagefright.so
libstagefright_omx.so
libstagefright_soft_aacdec.so
libstagefright_soft_aacenc.so
libstagefright_soft_flacenc.so
libstagefright_soft_hevcdec.so
libsurfaceflinger.so
-------------------------------------
******************************************************
edit build.prop
ro.lenovo.region=row
ro.sf.lcd_density=320
ro.product.locale.language=en
ro.product.locale.region=US
------------------------------
Add below for Adb debug in build as well as default.prop
------------------------------
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
----------------------------------------------------------------------------------------------
Boot.img editing.
This is the same as the others but ensure your default prop is as below to enable debugging.
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.adb.secure=0
persist.service.adb.enable=1
persist.service.debuggable=1
persist.sys.usb.config=mtp,adb
persist.service.acm.enable=0
ro.secure=0
ro.allow.mock.location=0
ro.debuggable=1
ro.zygote=zygote64_32
ro.mount.fs=EXT4
camera.disable_zsl_mode=1
dalvik.vm.dex2oat-Xms=64m
dalvik.vm.dex2oat-Xmx=512m
dalvik.vm.image-dex2oat-Xms=64m
dalvik.vm.image-dex2oat-Xmx=64m
ro.dalvik.vm.native.bridge=0
Click to expand...
Click to collapse
Best detailed tutorial.... Thanks mate
but the question is brother how do they flash this to their phones... :-/
Bro I am unable to fix IMEI pls help me i that respect
How To Fix Invalid IMEI
Hi, you have an idea to correct the LED notification? (Lenovo)
maxritz said:
Press THANKS if this helps you and rate this thread the way it helped you. Thanks again. Took some time to write this for you all. :fingers-crossed:
Click to expand...
Click to collapse
Thanks bro,
A very useful guide indeed :good:
Sir you can port the Elephone P7000 to Ulephone be touch . Can port my phone not turning on