How to port roms to your mtk with android device

Status
Not open for further replies.
Search This thread

manhar2108

Senior Member
Jul 13, 2013
435
655
Mumbai
HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE
Most of us have always wanted to use custom roms but there just no custom roms for our devices so we just use different app launchers and uninstall some bloatware to make our stock rom feel good.

Rom porting makes it possible to use a custom rom on your mtk device provided in this tutorial they have the same chipset (example: mtk 6582 ported to mtk6582).

THINGS NEEDED :

1. B1 archiver / ES FILE EXPLORER
2. Root Browser.
4. A rooted device is also needed but not much important if you have CWM INSTALLED WITHOUT ROOT.

PROCEDURE :

1. Make a backup of your current rom, preferably CWM backup. You can either use MTK DROID TOOLS or ROM MANAGER...

The location of the backup will be at clockwork/backup/"date and time of the backup ". This is very important since we will need stuff from the back up and we will also use the backup to recover the phone should the ported rom give any problems.
2. At this point I presume you have already downloaded the apps needed and the custom rom you want to use which is in a zip format( this was not important but I had to bring it up cause I know zombies could be reading this.
3. Now extract the custom Rom with Root Browser. if you extracted with Root Browser then the location will be "speedsoftware/extracted/"folder with the name of the custom rom "".
4. Now open Root Browser and open the folders side by side "custom rom which will be ported at one side and other side will be used for searching for the location of the things needed for the custom rom.
5. Delete the following from the Custom rom:
Boot.img
logo.bin (You do this only when you like the Your current logo.bin)
system/vendor
system/usr
system/lib/hw
system/lib/modules
system/lib/libncurses.so
system/etc/firmware
system/etc/vold.fstab
system/etc/vold.fstab.nand
system/etc/bluetooth
6. Now that you have deleted them from the custom rom replace them. You will find the boot.img at clockworkmod/back/"folder with date and time"/boot.img. The rest of the files and folders will br located in the Root /system. Just copy and paste
7. Now at the custom Rom panel go back to where you find the "META-INF" folder,open /google/android will now long press on "updater script" and tap on open with then select text editor.
8. Check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT.
9. Check multi select in B1 archiver Select ( do not archive the folder the files are in but the individual files in the folder containing the extracts)
10. Compress to ZIP file wait till the process finished. Now boot to recovery and flash your ROM
Good luck in porting Your Rom... I have used this method to port 5 roms including AROMA ROMS. and I have never ported a Rom with a pc before
MAYBE U NEED TO EXTRACT THE BOOT IMG TOO IF THIS DIDNT WORKED
DO IT AS FOLLOWS
Requirements:
-- BusyBox (cpio, gunzip and gzip is mandatory)
-- /System Write Permissions (Does not need to be a modified kernel)
-- Terminal Emulator
-- ES File Explorer (or similar)
-- Hex Editor (or use of DD)

-- Open up your android terminal emulator.

-- Now go ahead and pull your boot.img from your device (or use another one if you wish)

-- Open up your boot.img with the Hex Editor and look for: ANDROID!. Remove everything before it so that the ANDROID! header is the first to be read then save it over top of the boot.img. NOTE: This is only required if you are using a stock boot.img.
OR USE THIS IF U DIDNT UNDERSTOOD THIS

Hello Everyone, I’ll show you how to Unpack and Repack your Phone’s Boot.img & Tweak Karnel. Lets start.
Make a new folder named “boot edit” in cache/
image
Pull your boot.img in this folder
image
Now open ApkTool. Long press on “cache“, click on Get Access Permission.
image
Open cache folder and do same with boot edit. Give ApkTool access permission
image
Open boot edit, click on boot.img select Expack(MT65xx), press ok
image
It will unpack your boot.img.
image
Now open file manager & go to cache/boot edit/. You wil find your unpacked boot.
image
Now edit/modify the files or tweak karnel.
Again open ApkTool. Goto cache/boot edit click on ramdisk select repack-mt65xx.
image
It will repack your boot.
image
You will find an img file named new.img
image
This file is your Tweaked/edited/custom boot.img!!
Flash it via Recovery or Flashify & Enjoy..

FOR DETAILED AND STEP WISE GUIDE WITH SCREEN SHOTS SEE HERE
Mod Edit: link removed

XDA:DevDB Information
HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE, ROM for all devices (see above for details)

Contributors
manhar2108, manhar2108, 2108kick
Source Code: Mod Edit: link removed
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: all

Version Information
Status: Stable

Created 2015-08-16
Last Updated 2015-08-16

HIT THANKS IF I HELPED U
 
Last edited by a moderator:
  • Like
Reactions: tinko00

jrd1990

Member
Apr 1, 2015
13
2
Sir i tried your guide in porting rom. Mt6582 tp mt6582 chipset roms.. But after replacing those files you mentioned and when i flashed it to my phone, it was tuck in boot screen and keep on restarting. How am I going to fix this?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE
    Most of us have always wanted to use custom roms but there just no custom roms for our devices so we just use different app launchers and uninstall some bloatware to make our stock rom feel good.

    Rom porting makes it possible to use a custom rom on your mtk device provided in this tutorial they have the same chipset (example: mtk 6582 ported to mtk6582).

    THINGS NEEDED :

    1. B1 archiver / ES FILE EXPLORER
    2. Root Browser.
    4. A rooted device is also needed but not much important if you have CWM INSTALLED WITHOUT ROOT.

    PROCEDURE :

    1. Make a backup of your current rom, preferably CWM backup. You can either use MTK DROID TOOLS or ROM MANAGER...

    The location of the backup will be at clockwork/backup/"date and time of the backup ". This is very important since we will need stuff from the back up and we will also use the backup to recover the phone should the ported rom give any problems.
    2. At this point I presume you have already downloaded the apps needed and the custom rom you want to use which is in a zip format( this was not important but I had to bring it up cause I know zombies could be reading this.
    3. Now extract the custom Rom with Root Browser. if you extracted with Root Browser then the location will be "speedsoftware/extracted/"folder with the name of the custom rom "".
    4. Now open Root Browser and open the folders side by side "custom rom which will be ported at one side and other side will be used for searching for the location of the things needed for the custom rom.
    5. Delete the following from the Custom rom:
    Boot.img
    logo.bin (You do this only when you like the Your current logo.bin)
    system/vendor
    system/usr
    system/lib/hw
    system/lib/modules
    system/lib/libncurses.so
    system/etc/firmware
    system/etc/vold.fstab
    system/etc/vold.fstab.nand
    system/etc/bluetooth
    6. Now that you have deleted them from the custom rom replace them. You will find the boot.img at clockworkmod/back/"folder with date and time"/boot.img. The rest of the files and folders will br located in the Root /system. Just copy and paste
    7. Now at the custom Rom panel go back to where you find the "META-INF" folder,open /google/android will now long press on "updater script" and tap on open with then select text editor.
    8. Check The mount & format point check something like this mmcblk0p. A number is always written after the "P" replace the number of your BASE to PORT.
    9. Check multi select in B1 archiver Select ( do not archive the folder the files are in but the individual files in the folder containing the extracts)
    10. Compress to ZIP file wait till the process finished. Now boot to recovery and flash your ROM
    Good luck in porting Your Rom... I have used this method to port 5 roms including AROMA ROMS. and I have never ported a Rom with a pc before
    MAYBE U NEED TO EXTRACT THE BOOT IMG TOO IF THIS DIDNT WORKED
    DO IT AS FOLLOWS
    Requirements:
    -- BusyBox (cpio, gunzip and gzip is mandatory)
    -- /System Write Permissions (Does not need to be a modified kernel)
    -- Terminal Emulator
    -- ES File Explorer (or similar)
    -- Hex Editor (or use of DD)

    -- Open up your android terminal emulator.

    -- Now go ahead and pull your boot.img from your device (or use another one if you wish)

    -- Open up your boot.img with the Hex Editor and look for: ANDROID!. Remove everything before it so that the ANDROID! header is the first to be read then save it over top of the boot.img. NOTE: This is only required if you are using a stock boot.img.
    OR USE THIS IF U DIDNT UNDERSTOOD THIS

    Hello Everyone, I’ll show you how to Unpack and Repack your Phone’s Boot.img & Tweak Karnel. Lets start.
    Make a new folder named “boot edit” in cache/
    image
    Pull your boot.img in this folder
    image
    Now open ApkTool. Long press on “cache“, click on Get Access Permission.
    image
    Open cache folder and do same with boot edit. Give ApkTool access permission
    image
    Open boot edit, click on boot.img select Expack(MT65xx), press ok
    image
    It will unpack your boot.img.
    image
    Now open file manager & go to cache/boot edit/. You wil find your unpacked boot.
    image
    Now edit/modify the files or tweak karnel.
    Again open ApkTool. Goto cache/boot edit click on ramdisk select repack-mt65xx.
    image
    It will repack your boot.
    image
    You will find an img file named new.img
    image
    This file is your Tweaked/edited/custom boot.img!!
    Flash it via Recovery or Flashify & Enjoy..

    FOR DETAILED AND STEP WISE GUIDE WITH SCREEN SHOTS SEE HERE
    Mod Edit: link removed

    XDA:DevDB Information
    HOW TO PORT ROMS TO YOUR MTK WITH ANDROID DEVICE, ROM for all devices (see above for details)

    Contributors
    manhar2108, manhar2108, 2108kick
    Source Code: Mod Edit: link removed
    ROM OS Version: 5.1.x Lollipop
    ROM Kernel: Linux 3.4.x
    Based On: all

    Version Information
    Status: Stable

    Created 2015-08-16
    Last Updated 2015-08-16

    HIT THANKS IF I HELPED U