Before using this porting guide you need to have a basic on how to use the android kitchen.
if you don't know how to use d android kitchen pls search on gooogle on how to install and set up a working folder with android kitchen with Cygwin.
PORTING BOOT.img
STEP 1.
After setting up the working folder type 0 on your android kitchen menu
STEP 2.
Type 12, then type w to unpack boot.img
STEP 3.
After unpacking you will get a new folder BOOT EXTRACTED
STEP 4.
In the kitchen menu type a. A new folder will be created in the kitchen Bootimg_xxxxx_xxxx
STEP 5.
Copy your stock boot.img and paste in the new folder created i.e bootimg_xxxx_xxxx. And press enter in the kitchen.
STEP 6.
After unpacking is complete, you will get the stock zImage in the bootimg_xxxxx_xxxx. Copy it and paste in the BOOT EXTRACTED folder replacing d port zImage .
STEP 7.
In the kitchen type a to build boot.img... (using the stock zImage and the port ramdisk)
STEP 8.
After repacking you will find a boot.img in the working folder. Copy it and paste in any of the lollipop Rom you download.
REPLACING FILES FROM STOCK TO PORT
STEP 9.
*Under system/etc of your stock rom copy bluetooth, firmware, secutity, and wifi and paste in your port rom... Overwriting the existing folders.
*Under system/lib copy the following
-libaudio.primary.default.so
-libMali.so
Copy these if your camera shows greenish or doesnt work at all.
-libcamera.custom.so
-libdpframework.so
-libfeatureio.so
-libjpeg.so
and paste in system/lib of port rom
*Under system/hw copy hwcomposer.mt65xx.so and paste in port rom.
STEP 10
Changing mount points.
In changing mount points you need to have your Stock META-INF, but if u dont then use Mtk Droid Tools.
Locate block maps and change the mount points of system and data respectively.
Find the line that looks like this
mount("ext4", "EMMC", "/dev/block/mmcblk0p7", "/data");
mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
This means data is mounted at 7 and system at 5.
so using Mtk Droid Tools check the mount point of your data and system and change respectively.
ENJOY your ROM... if you experience any bug lemme know with the comment section and i will make a bug fixin guide.
No comments:
Post a Comment