Saturday, May 28, 2016

Port D855 STOCK M to D857/858/858hk

Hello guys!
As we dual-sim g3 users known,our software version is not up to date everytime:(,and the system doesn't smooth like others,so in order to be able to experience the smooth stock rom I want to sharing something about how to port single sim variants like d855 to dual-sim (d857/858...).

Here we go,I will use d855_30f as a base rom port to d858hk.
1.Download the KDZ(both d855 and d858hk),extrat it(WindowsLGFirmwareExtract by @bullghost) to get the boot and system,deodex it ,I am using SVADeodexerForArtx32_v4.1(by @savdev)
2.Now we have to know about the differences on hardware(wifi,bluetooth,FM) between them,the dual sim variants are using broadcom chips instead like korean variants(F400,not include FM,because they have TMDB).So we should take these drives from d858hk30a.
something we need:
app/BluetoothMidiService/*
app/LGBluetooth4/*
app/FmService/*

bin/BCM4339_003.001.009.0105.0458_LGE_G3L_SPRINT_FM_OR C.hcd
bin/bdaddr_loader
bin/brcm-uim-sysfs
bin/brctl
bin/btnvtool

etc/acdbdata/*
etc/bluetooth/*
etc/firmware/fw*
etc/venus.*
etc/permissions/com.broadcom.bt.xml
etc/permissions/com.broadcom.fm.xml
etc/sensors/sensor_def_variable.conf
etc/wifi/*
etc/audio_policy.conf
etc/featureset.xml
etc/gps.conf
etc/mixer_paths.xml
etc/rssi.xml

framework/com.broadcom.bt.jar
framework/com.broadcom.fm.jar
framework/com.lge.fmradio.framework.jar

lib/hw/audio.a2dp.default.so
lib/hw/audio.primary.default.so
lib/hw/bplus.default.so
lib/modules/*
lib/libaptXHD-1.0.0-int-Android21-ARMv7A.so
lib/libbcmwl.so
lib/bluetooth_bdt.so
lib/bluetooth_jni2.so
lib/bluetoothsettings_jni.so
lib/libbt-aptX-ARM-4.2.2.so
lib/libbt-codec_*.so
lib/libhardware_legacy.so
lib/liberft*.so
lib/libwifilgeext_jni.so

vendor/firmware/BCM4339_003.001.009.0105.0458_LGE_G3L_SPRINT_FM_OR C.hcd

delete in 30f:
priv-app/macfeesecurty
etc/init.qcom.ftm_module.sh
etc/init.qcom.ftm_module_out.sh
lib/hw/bluetooth.default.so

build.prop modify:
add:
Code:

persist.radio.multisim.config=dsda
delete:
Code:

persist.sys.cust.lte_config=true
ro.lge.capp_cupss.rootdir=/cust
ro.build.sbp=1(not sure)
ro.lge.singleca.enable=1(not sure)
ro.lge.custLanguageSet=true
persist.data.sbp.update=0(not sure)
sbp.oppartition.rw=0(not sure)

change:
Code:

ro.product.model=LG-D855 to yours
wlan.chip.vendor=qcom to brcm
wlan.chip.version=wcn to bcm4339



3.the boot partion you can use stock bumped d858hk30a boot.
use AndroidImageKitchen(by @osm0sis) to extrat boot.img and add comments in ramdisk/init.lge.rc
Code:

#USE_SECUREBOOT
#verity_update_state
#determine_run_wallpaper

repack it and bumped.

4.that's all,hope this will be useful to you,maybe there are some other files need or change,feel free to post your options,let's do this together to make it stable.


from xda-developers http://ift.tt/1U39q6R
via IFTTT

No comments:

Post a Comment