How To Port Custom Rom for MediaTek Devices
How To Port Custom Rom for MediaTek Devices
Porting MediaTek ROM is just piece of cake, In this tutorials we are going to explain how to port port MediaTek ROM such as__(Jellybean- JB 4.2.2 to JB 4.2.2) – MTK5672/MT5672, MTK6577/MT6577, MTK6582/MT6582, MTK6589/MT6589
Page Contents
How To Port Custom Rom for MediaTek Devices
Disclaimer
Modification of your android device such as Rooting or flashing Custom Recovery/ROM/tweaker’s results to void of the warranty of the device. (We) RaphsonBD and its authors will not responsible for bricked devices / dead SD-card or any damage in your device which is incurred in the process of installing tweaker/ recovery / rom / firmware / rooting / unlocking or any development process the device. We highly advice you to take a backup of your device prior to performing the process. Please do some research if you have any concerns about features included in this ROM, before flashing it! You are choosing to make these modifications. Nevertheless if you need any help, just comments here. We will always pleased to help you.
Downloads And Requirements
- PC/Desktop/Laptop
- Stock ROM ( Original ROM Of your MTK Chipset based device)
- Port ROM ( Which ROM you want to Port)
- Winrar
- Notepad++ – Download Link
Porting Process
All the Things you have to do at your won Risk. I will not be responsible for any kind of Brick/Damage of your phone.
Step – 1
First of Download both “Stock ROM” and which “Portable ROM”. Usually you find Stock ROM on your handset manufacturer official forum. Stock ROM and Portable ROM both ROM can be found in .ZIP format. First Unzip them both, than Create a New Folder anywhere in you computer and rename it
- System
Inside the system folder create 2 “New Folders” and rename them as
- etc
- lib
Step – 2
Now You have to copy some files from your Stock ROM to newly created System folder. Open your Stock ROM folder and System folder.
- Folder
- firmware
- permission
- security
- wide-dhcpv6
- firmware
- Files
- vold.fstab
- vold.fstab.nand
Copy From Stock ROM “lib” folder to “System\lib” folder
- Folder
- hw
- drm
- modules
- soundfx
- Files
- libaudio.primary.default.so
- libcamalgo.so
- libmhaldrv.so
- libcamera_client.so
- libcameracustom.so
- libcameraprofile.so
- libcameraservice.so
Now copy full “usr” and “vendor” folder from Stock Rom to System folder.
Step – 3
Go to the Port ROM folder.You need to delete some 3 folders from Port Rom system folder are below.
- system\etc\firmware
- system\lib\hw
- system\lib\modules
Now paste “System” folder (Created with Stock ROM files) and replace files and folders to the Port ROM System Folder (Not inside the Port ROM System Folder)
File copied completed.. Now you have to edit Mount Point . Go to Port Rom META-INF\com\google\ android open updater-script with Notepad++ change the mount point. Find the line /dev/block/mmcblk0p and you will get the line like below.
format(“ext4”, “EMMC”, “/dev/block/mmcblk0p5“, “0”, “/system”);
mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p5“, “/system”);
mount(“ext4”, “EMMC”, “/dev/block/mmcblk0p7“, “/data”);
Mount point I marked in red color 5 & 7 now change it as per your device mount point. (Do not need to change the whole line.) If your device mount point for system is 3 then make it 3 instead of 5. If your device mount point for data is 5 then make it 5 instead of 7. To know your device mount point run MTK Droid Root and Tools and connect your device. Then click Block Map.
- Archive format: ZIP
- Compression Level : Normal
- Compression Method: Deflate
- Dictoioany Size: 32k
- Word Size: 32
Related Post
- How To Port Custom Recovery Without PC (MediaTEK Device)
- All Mediatek Device Android Scatter File Download Link
- Spreadtrum Official Stock Firmware File Flashing Method
- How To Back Up And Restore Stock Rom Using Custom Recovery TWRP
- How To Install Android CDC And VCOM USB Driver Manually
Thanks❤
this method for 64 bit?
32-bit
this tutorial not working on this rom : https://raphsonbd.com/mt6582-nougat-custom-rom-aosip/
can u please update it
issue 1 : cant find these files
vold.fstab
vold.fstab.nand
issue 2 : META-INF\com\google\ android open updater-script
unable to find these lines
Hello i successful run the rom in my device but the SIM card is not detected how can i fix it