THINGS YOU NEED;
1.NOTEPAD++
2.WINRAR,7ZIP OR ANY FILE EXTRACTOR
3.BOOT.IMG EXTRACTOR (I USE MTKBOOTIMG TOOL) LIKE CARLIV
4.LITTLE OF BRAIN(DONT BE LAZY IF DONT KNOW SOMETHING GOOGLE IT)
5.STOCK ROM(OR ANY STABLE ROM)
6 PORT ROM (ROM WHAT YOU WANT TO PORT)
LETS START:
1.copy kernel from stock (or any stable rom ) boot to port boot.img.repack it.
2.from stock system/bin copy vold and paste/replace in port system/bin;
3.from stock system/vendor copy firmware and paste in port system/vendor first delete port firmware.
4.from stock system/vendor/lib/hw copy hw.mt6580 composer.so and paste/replace to port system/vendor/lib/hw;
5.from stock/vendor/lib folder copy; lib.camalgo,lib.cameradrv,lib.cameracustom and paste/replace to port/system/vendor/lib;
6.from stock system/usr copy and replace generic.kl and thats it.
Note: in some ocassion when some keys dont work replace five(5) files with generic.kl included.
7.make a zip with winrar or 7zip and flash trough custom recovery.
NOTE; WITH THIS SIMPLE GUIDE ROM WILL BOOT. IF YOU FIND ANY BUGS FOR FIX USE STOCK VENDOR BLOBS.
NOTE2;PLEASE DONT ASK ME STUPID QUESTION ABOUT THIS.IT IS SO SIMPLE THAT ANYBODY CAN UNDERSTAND THIS GUIDE.
NOTE 3.; PLEASE WATCH MOUNTPOINT OF META-INF UPDATER SCRIPT .IF YOU DONT KNOW WHAT IS YOUR DEVICE MOUNTPOINT USE DISK INFO.APK FOR KNOWING THAT.OTHERWISE USE ANY OTHER UPDATER SCRIPT TO COMPARE MOUNTPOINT.
NOTE4.; FOR EXAMPLE MOUNTPOINT OF MOST MT6580 NOUGAT DEVICES IS HAVE THIS LINE AND THIS LINE IS COMMON ON MANY CASES:mount("ext4", "EMMC", "/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/system", "/system"); AND THIS LINE ;package_extract_file("boot.img", "/dev/block/platform/mtk-msdc.0/11120000.msdc0/by-name/boot");. ON OTHER CASES HAVE OTHER LINES LIKE FORMAT,MOUNT,WITH SAME LINES,SO BE CAREFULL.
Credit: RUDI KOVAC
Copy the link below and Share with your Friends:
No comments:
Post a Comment