GUIDE ON HOW TO PORT MTK CHIPSET DEVICES ANDROID JELLYBEAN ONLY
YOU CAN WAIT FOR MY POST AGAIN ON HOW TO PORT ALL MEDIATEK DEVICES!
NOTE: You will need The Following Requirements:
-Notepad++
-PC (Windows XP/7/8)
-Patience
-Brain ^_^
-Coffee?
STEPS TO PORT THIS ROM TO YOUR DEVICE
If you have the Stock ROM(The ROM which originally was made for your device) extract it in a folder called STOCK_ROM. If you do not have the stock ROM do not fear. Connect you device and open MTK droid Tools and Click on ADB TERMINAL and CMD will open. There type "adb devices" without "" after that type "adb pull /system system" without the "" some process will start wait 7-10 mins depends on the size of your system folder after it is completed close mtk droid tools and ADB TERMINAL now open the folder where you extracted MTK Droid Tools there will be a folder called System copy it and paste it in STOC_ROM.
Open both the PORT_ROM folder and STOCK_ROM folder
In Both the files Open system folder
Now Delete the files that i mention below from the PORT_ROM system folder
system/vendor
system/usr
system/lib/modules
system/lib/hw
system/lib/drm
system/lib/soundfx
system/lib/libaudio.primary.default.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/etc/firmware
system/etc/bluetooth
system/etc/security
system/etc/wifi
system/etc/vold.fstab
system/etc/vold.fstab.nand
Now go to STOCK_PORT and copy all the files mentioned above and paste them to the respected folders.
Now open system/etc/permissions on PORT_ROM and STOCK_ROM and copy all the files present in the permissions folder of STOCK_ROM and replace them with the files in permissions folder of PORT_ROM ***DO NOT DELETE THE FILES PRESENT IN PERMISSIONS FOLDER OF PORT_ROM JUST REPLACE THE FILES PRESENT IN PERMISSIONS FOLDER OF STOCK_ROM***
To get the boot.img of your device first go to CWM Recovery Mode and connect your device open MTK Droid Tools wait for your device to be detected. On MTK Droid Tools go to root,backup, recovery tab and press backup wait for about 10-15 minutes for your rom to be backed up after the process is complete open the folder where you extracted MTK Droid Tools go too backups there will be a folder with the name of your device open it and there will be a boot.img file in it copy it to the STOCK_ROM folder and copy the boot.img again and paste it in PORT_ROM
If you have the Stock ROM(The ROM which originally was made for your device) extract it in a folder called STOCK_ROM. If you do not have the stock ROM do not fear. Connect you device and open MTK droid Tools and Click on ADB TERMINAL and CMD will open. There type "adb devices" without "" after that type "adb pull /system system" without the "" some process will start wait 7-10 mins depends on the size of your system folder after it is completed close mtk droid tools and ADB TERMINAL now open the folder where you extracted MTK Droid Tools there will be a folder called System copy it and paste it in STOC_ROM.
Open both the PORT_ROM folder and STOCK_ROM folder
In Both the files Open system folder
Now Delete the files that i mention below from the PORT_ROM system folder
system/vendor
system/usr
system/lib/modules
system/lib/hw
system/lib/drm
system/lib/soundfx
system/lib/libaudio.primary.default.so
system/lib/libcamalgo.so
system/lib/libcameracustom.so
system/etc/firmware
system/etc/bluetooth
system/etc/security
system/etc/wifi
system/etc/vold.fstab
system/etc/vold.fstab.nand
Now go to STOCK_PORT and copy all the files mentioned above and paste them to the respected folders.
Now open system/etc/permissions on PORT_ROM and STOCK_ROM and copy all the files present in the permissions folder of STOCK_ROM and replace them with the files in permissions folder of PORT_ROM ***DO NOT DELETE THE FILES PRESENT IN PERMISSIONS FOLDER OF PORT_ROM JUST REPLACE THE FILES PRESENT IN PERMISSIONS FOLDER OF STOCK_ROM***
To get the boot.img of your device first go to CWM Recovery Mode and connect your device open MTK Droid Tools wait for your device to be detected. On MTK Droid Tools go to root,backup, recovery tab and press backup wait for about 10-15 minutes for your rom to be backed up after the process is complete open the folder where you extracted MTK Droid Tools go too backups there will be a folder with the name of your device open it and there will be a boot.img file in it copy it to the STOCK_ROM folder and copy the boot.img again and paste it in PORT_ROM
- Verify /system should be mounted in "/dev/block/mmcblk0pS" & /data should be mounted in "/dev/block/mmcblk0pD"
What is S and D?
S – System Mount Point
D – Data Mount Point
To know these mount point values
- Open MTK Droid Tool after connecting your phone to PC.
- Open Block Maps.
- Check these lines.
Change accordingly these lines in meta-inf/com/google/android/updater-script
format("ext4", "EMMC","/dev/block/mmcblk0p5", "0");
mount("ext4", "EMMC","/dev/block/mmcblk0p5", "/system");
mount("ext4", "EMMC","/dev/block/mmcblk0p7", "/data");
DONE!!!!