[GUIDE] PORTING 64BIT MTK ROMs (MT6735, MT6753)[CrossPort Also]

Search This thread

bhavesh chaudhari

New member
Apr 24, 2018
1
0
I have htc desire 828 dual sim phon with firmware (A51BML_DWGL_L51_DESIRE_SENSE70_hTC_Asia_India_1.12.720.1_Radio_NA_release_488446_signed_2_4)
i want to customise my rom with MIUI...plz guid me...
 

rauliordache

Senior Member
Sep 13, 2017
89
25
Hi.

I have two OFFICIAL builds for my device:
- the first one, 3.10.65+ kernel, with Lollipop 5.1 and
- the second one, 3.18.35+ kernel, with Nougat 7.0

1. The first build, has the bootloader locked, and in FastBoot, the volume-UP button doesn't work (for confirming the fastboot oem unlock)
2. The second build can be unlocked (the bootloader) - and thus custom ROMs can be booted.

I want to port some ROMs with 3.10.65+ (because all ROMs with 3.18.35+ have some problems on my device).
I have changed the partition layout, and TWRP works great in flashing the new build (3.10.65+), but I got a bootloop.

Porting ROMs with the same kernel (3.18.35+) works "great", but have several bugs (related to vendor libs, GPS libs, and maybe even kernel). As the original ROM (it also has those problems)
Porting ROMs with the 3.10.65+, even after changing the fstab, kernel (from boot.img) + partition layouts, cannot be booted.

The question is: Is it possible to have the second build flashed (which has another preloader + lk.bin) from 3.18.35+ - whos bootloader can be unlocked - , and then, using the files from the first build to port a ROM with kernel 3.10.65+ ? Or I am trying the "impossible" ?

In fact, I am not mixing "kernels" regarding boot.img. I am "mixing" a preloader+lk.bin (from a build, which runs Nougat, on 3.18.35+ kernel and with different partition names) with boot.img+system (based on 3.10.65+)

Thank you!
 

DeThor

New member
Jun 7, 2017
2
0
Porting Android 8 Rom for MT6753?

Is this guide also work on porting Android 8 for MT6753?
 

BusinessKid

Senior Member
Apr 28, 2016
68
34
So what about recovery-from-boot.p?

So should we replace recovery-from-boot.p from stock to port ROM?
 

Zaib Tricks

New member
Dec 23, 2018
1
0
Help

Bro
my phone cpu model is MT6753 but hardware is mt6735 now which custom rom i should port for it Mt6753 or mt6735 I'm so confused please help me.
 
Last edited:

tarongee

New member
Jun 8, 2013
4
0
[GUIDE] PORTING 64BIT MTK ROMs (MT6735, MT6753)[CrossPort Also] by Mehedi H. Sajal

great guide. good work
 

Pnidhin

Member
Apr 8, 2020
15
0
I want to port my gionee f205 stock rom to gionee f205 pro stock rom. Both are MT6739 chipsets. But F205 pro stock rom is oreo and the older F205 is Nougat. Now I can't find /system/vendor folder in the new PRO ( I think it is because treble enabled as it came out oreo out of box). It also doesn't have a firmware folder in /system/etc and many files in /etc and /lib are also not found.
1. How should I replace the missing files in new one
2. Should I copy the vendor folder to the vendor.img of the new PRO's stock rom.
3. After I finish porting should I only flash the system.img or the whole stock rom?
 

Pnidhin

Member
Apr 8, 2020
15
0
Can I port a device from a different kernal.
My gionee f205 nougat is mt6739 chipset with kernel 4.2.22+ ; and the stock rom of gionee f205 pro oreo is also mt6739 chipset but kernel 4.2.95. Also can I port from a non-treble nougat device to treble oreo rom
 

Top Liked Posts

  • There are no posts matching your filters.
  • 8
    Hi All,

    This Guide is For 64Bit Processor devices can use it

    I used this for MIUI and Others Rom it worked for me.
    If anyone finds additional items or wants to complete this guide please feel free to add it in here.

    NOTE: ALWAYS REMOVE RECOVERY-FROM-BOOT.P before you do anything else.

    SO THE FILES NEEDED TO REPLACE FROM STOCK TO PORT:

    etc folder
    take the whole firmware folder from system/etc/
    take the whole mddb folder from system/etc/
    agps_profiles_conf2.xml
    apns-conf.xml
    custom.conf

    NOW LIBS Folder:
    libdpfirmwork.so
    libvcodecdrv.so


    And this subfolder with these libs:

    hw\audio.primary.mt6735.so
    hw\audio_policy.default.so
    hw\camera.mt6735.so
    hw\gralloc.mt6735.so
    hw\hwcomposer.mt6735.so
    hw\lights.default.so
    hw\memtrack.mt6735
    hw\sensors.mt6735.so

    NOW LIB64 Folder:
    libdpfirmwork.so
    libvcodecdrv.so


    And this subfolder with these libs:

    hw\audio.primary.mt6735.so
    hw\audio_policy.default.so
    hw\camera.mt6735.so
    hw\gralloc.mt6735.so
    hw\hwcomposer.mt6735.so
    hw\lights.default.so
    hw\memtrack.mt6735
    hw\sensors.mt6735.so


    FOR DIFFERENT CHIPSET (i.e. 6753 to 6735)

    Proceed as above THEN

    open build.prop
    EDIT THESE LINES

    ro.mediatek.platform=MT6753 to MT6735

    And Now Boot.img
    Unpack both stock and port boots fromCarlivImageKitchenTool Replace
    Now
    In port boot.img
    replace the boot.img-kernel
    THIS FILE TO REPLACE

    IF U Face Any Problem then Contact With Me and My Team
    Our FB Group :Open Porting Team
    Our FB Page :Open Porting Team
    My Personal FB ID : Mehedi H. Sajal
    3
    firmware folder from system/etc/
    take the whole mddb folder from system/etc/
    agps_profiles_conf2.xml
    apns-conf.xml
    custom.conf

    NOW LIBS Folder:
    libdpfirmwork.so


    And this subfolder with these libs:

    hw\audio.primary.mt6735.so
    hw\audio_policy.default.so
    hw\camera.mt6735.so
    hw\gralloc.mt6735.so
    hw\hwcomposer.mt6735.so
    hw\lights.default.so
    hw\memtrack.mt6735
    hw\sensors.mt6735.so

    NOW LIB64 Folder:
    libdpfirmwork.so


    And this subfolder with these libs:

    hw\audio.primary.mt6735.so
    hw\audio_policy.default.so
    hw\camera.mt6735.so
    hw\gralloc.mt6735.so
    hw\hwcomposer.mt6735.so
    hw\lights.default.so
    hw\memtrack.mt6735
    hw\sensors.mt6735.so



    Also need to add libvcodecdrv.so from both lib and lib64 to fix video rending.
    1
    Also need to add libvcodecdrv.so from both lib and lib64 to fix video rending.
    Sire....how do I port lineage ROM on my gionee m5..?or rather is it applicable to my gionee its an mt6735 chipset
    1
    Android 6.0 Miui 8.3 on zopo speed7+: Please help mi fix toggle bluetooh and Wifi.


    Wifi fixed in nvram, but bluetooh still have no MAC adressess. How to fix this?