Sir Syed Ahmed Ali Shah Shb is back to roll the dice once again on Android devices, here’s what Sir shared for Developers.
Follow the instructions carefully…
1. Use your Stock boot.img (in most cases)
The most important part of Nougat porting is your META-INF / updater.script. It must contain all important symlinks of your port rom.
2. To have a proper META-INF / updater.script, port rom through Superr-kitchen. It makes perfect updater.script for you.
3. In system / etc, change
apns-conf.xml
audio_effects.conf
trustzone.bin
4. In system / lib / egl, change libGLES_android.so
in lib / hw, change
audio.a2dpdefault.so
audio.primary.default.so
audio.r_submix.default.so
audio.usb.default.so
audio_policy.default.so
audio_policy.stub.so
camera.default.so
keystore.default.so
power.default.so
5. In system / lib64 / egl, change libGLES_android.so
in lib64 / hw, change
audio.a2dpdefault.so
audio.primary.default. so
audio.r_submix.default.so
audio.usb.default.so
audio_policy.default.so
audio_policy.stub.so
camera.default.so
fingerprint.default.so
gxfingerprint.default.so
keystore.default.so
power.default.so
6. In system / vendor / etc, change
ipsec / ssl / wod_optr.conf
replace mddb (whole folder)
7. In system / vendor replace firmware (whole folder)
8. In system / vendor / lib / egl change libGLES_mali.so
system in / vendor / lib / hw, change
audio.primary.mt67xx.so
audio.r_submix.mt67xx.so
audio.usb.mt67xx.so
camera.mt67xx.so
consumerir.mt67xx.so
gralloc.mt67xx.so
hwcomposer.mt67xx. so
memtrack.mt67xx.so
sensors.mt67xx.so
9. in system / vendor / lib64 / drm / change
libdrmctaplugin.so
libdrmmtkplugin.so
in system / vendor / lib64 / egl, libGLES_mali.so change
in system / vendor / lib64 / hw , change
audio.primary.mt67xx.so
audio.r_submix.mt67xx.so
audio.usb.mt67xx.so
camera.mt67xx.so
consumerir.mt67xx.so
gralloc.mt67xx.so
hwcomposer.mt67xx.so
lights.mt67xx.so
memtrack.mt67xx.so
sensors.mt67xx.so
That’s all. This worked for me in Blackview P2 rom porting. Others may vary.
Camera fix For
in system / lib, change
liba3m.so
libcamera_metadata.so
libexif.so
libfilterpack_imageproc.so
libft2.so
libimg_utils.so
libja3m.so
liblog.so
libm.so
libsensorservice.so
libstdc ++. So
libsysutils.so
libtinyalsa.so
libtinycompress. so
libtinyxml.so
libvorbisidec.so
in system / lib64, change
liba3m.so
libalgoandroid.so
libcamera_metadata.so
libfilterpack_facedetect.so
libfilterpack_imageproc.so
libft2.so
libimg_utils.so
libja3m.so
libjnigraphics.so
liblog.so
libm.so
libsensorservice.so
libstdc ++. so
libtinyalsa.so
libtinycompress.so
libtinyxml.so
libvixl.so
libvorbisidec.so
in system / vendor / lib, change
lib3a.so
lib3a_sample.so
libacdk.so
libaed.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.device1.so
libcam.device3.so
libcam.exif.so
libcam.exif .v3.so
libcam.hal3a.v3.dng.so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadata.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.utils.cpuctrl.so
libcam.utils. sensorlistener.so
libcam.utils.so
libcam_hwutils.so
libcam_mmp.so
libcam_platform.so
libcam_utils.so
libcam1_utils.so
libcam3_app.so
libcam3_hwnode.so
libcam3_hwpipeline.so
libcam3_pipeline.so
libcam3_utils.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcustom_nvram.so
libdngop.so
libdpframework.so
libdrmmtkwhitelist.so
libgralloc_extra.so
libh264enc_sa.ca7.so
libh264enc_sb.ca7.so
libHEVCdec_sa.ca7.android.so
libimageio.so
libimageio_plat_drv.so
libjni_lomoeffect.so
libjni_pq.so
libJpgDecPipe.so
libJpgEncPipe.so
liblic_divx.so
liblic_s263.so
libm4u.so
libmp4enc_sa.ca7.so
libmp4enc_xa.ca7.so
libMtkOmxCore.so
libMtkOmxFlacDec.so
libMtkOmxG711Dec.so
libMtkOmxRawDec.so
libMtkOmxVdecEx.so
libMtkOmxVenc.so
libMtkOmxVorbisEnc.so
libmtkshifter.so
libn3d3a.so
libnvram.so
libnvram_daemon_callback.so
libnvram_platform.so
libnvram_sec.so
libnvramagentclient.so
libperfservice.so
libpq_cust.so
libpq_prot.so
libPQDCjni.so
libPQjni.so
libSonyIMX230PdafLibrary.so
libspeech_enh_lib.so
libSwJpgCodec.so
libvc1dec_sa.ca7.so
libvcodec_cap.so
libvcodec_oal.so
libvcodec_utility.so
libvcodecdrv.so
libvp8dec_sa.ca7.so
libvp8enc_sa.ca7.so
libvp9dec_sa.ca7.so
libvt_avsync.so
In system / vendor / lib64, change
lib3a.so
lib3a_sample.so
libacdk.so
libaed.so
libcam.camadapter.so
libcam.camnode.so
libcam.camshot.so
libcam.client.so
libcam.device1.so
libcam.device3.so
libcam.exif.so
libcam.exif.v3.so
libcam.hal3a.v3.dng. so
libcam.hal3a.v3.so
libcam.halsensor.so
libcam.iopipe.so
libcam.jni.lomohaljni.so
libcam.metadata.so
libcam.metadataprovider.so
libcam.paramsmgr.so
libcam.utils.cpuctrl.so
libcam.utils .sensorlistener.so
libcam.utils.so
libcam_hwutils.so
libcam_mmp.so
libcam_platform.so
libcam_utils.so
libcam1_utils.so
libcam3_app.so
libcam3_hwnode.so
libcam3_hwpipeline.so
libcam3_pipeline.so
libcam3_utils.so
libcamalgo.so
libcamdrv.so
libcameracustom.so
libcustom_nvram.so
libcustom_prop.so
libdngop.so
libdpframework.so
libdrmmtkwhitelist.so
libfposervice.so
libimageio.so
libimageio_plat_drv.so
libJpgDecPipe.so
libJpgEncPipe. SO
libm4u.so
libMtkOmxCore.so
libmtkshifter.so
libn3d3a.so
libnvram.so
libnvram_daemon_callback.so
libnvram_platform.so
libnvram_sec.so
libnvramagentclient.so
libperfservice.so
libpq_cust.so
libpq_prot.so
libPQDCjni.so
libPQjni.so
libSonyIMX230PdafLibrary.so
libspeech_enh_lib.so
libvcodec_cap.so
libvcodec_oal.so
libvcodec_utility.so
libvcodecdrv.so
libvt_avsync.so
Need Assistance Join MTK Rom Porting Group on Facebook [Only for developers] for normal activity Join INCPak Tech Group
Post by : Syed Ahmed Ali Shah Shb