[Android Q&A, Help & Troubleshooting] tankiet1907:
Firstly, I'm sorry for my bad English.

I've just successfully ported and flashed a nougat rom using TWRP 3.2.1

My device's name is Mobiistar Lai Zumbo S (2016) (a phone made by Vietnam), the resolutions of rear and front camera are 13MP and 5MP. CPU MTK6735 (arm64) with 3Gb of Ram. No fingerprint support.

Here is the Stock Rom (android 6.0, kernel 3.18.19):

https://drive.google.com/ucid=0ByvKFb4ceCfWbldEblFqR2pWcTQ&export=download

Extracted Stock system.img:

https://mega.nz/#!ikEjVJqJ!ux4OV43ZLwfkh3tyukK2HC1nu6xTC0G1JKaIQ6uSZvc

2 Roms that I ported from (LOS 14.1 and RR 5.8.5 ported for MTK6735 and the same kernel version as stock, they all work and have the same problems)

https://www.androidgsmbd.com/mt6735-x64-7-1-2-resurrection-remix-v5-8-5-n-custom-rom-for-mt6735-kernel-3-18-19-mm/

https://sudroidtech.com/mt6735-7-1-2-lineage-os-14-1-n-custom-rom-mtk-mt6735-kernel-3-18-19/

*I followed the instruction here

https://xdaforums.com/android/software-hacking/guide-port-64-mtk-roms-t3555933/page1

And what I replaced from stock to port were (system folder)

• lib and lib64

Libcameracustom.so (it fixed the cannot connect camera error)

‎hw folder, I copied files that have the names contain my CPU code, mt6735

‎deleted fingerprint.default.so in lib64

*etc

Firmware folder (deleted Port and copied from Stock)

apnconfig

spnconfig

agps_profile_conf2

media_codecs.xml

2 roms are working but I have to deal with those 3 annoying bugs

#1 Bug (main problem): As the title said, any video cannot be played.Videos recorded by camera cannot be played in gallery. Others like YouTube videos only played with audio and a black screen, YouTube Go, Facebook, Instagram displayed a text that notified that was like "error has occurred" or "this video cannot be played", kinda like that. Advertisement videos cannot be played too, they poped up and disappeared after a second or black screen like in YouTube.

#2 Rear Camera with lower resolution, only 8MP, although I set picture quality to High but it just increased the image file size not the true resolution and details in pictures taken.

#3 SD card corrupted with multi notifications at bootup (a small bug, I can stand this)

Lucky for me SD card still work. I ignored system suggest me to format the Micro SD. File Browser showed a lot of broken partition but the last one is working and it's the real SD card.

Here's what I tried replacing from Stock to Port for the purpose of fixing those bugs but it didn't work or caused bootloop.

*replaced all libs have names containing " codec" at once

*‎libdpframework.so and libvcodec.so at once

*libcameraservice.so

*system/bin vold, pq, sdcard at once

*System/bin/ media, mediaserver, netd, service, servicemanager, surfaceflinger at once

I currently use RR 5.8.5. What files should I replace more? :confused:

Or should I follow the instruction: https://xdaforums.com/k3-note/development/guide-porting-64bit-mtk-roms-cross-t3310605

Please help me! Especially, I need videos to work fine, other bugs are optional to be fixed.

Thank you guys.

Many kind regards from Vietnam.

P/s: If you guys suggest copying some files, do I need to re-ported and flash again or just use a root explorer to replace files and reboot my phone?