How to port CM12/CM12.1 lollipop based Rom for Kitkat
Unpack both boot.img Stock & cm12/cm12.1
- Use Stock zImage(Kernel) With Cm12 ramdisk
- stock/ramdisk/ueventd.rc
- compare lines of both ramdisk/default.prop then
Replace those line from stock boot.img/ramdisk/default.prop to cm12 boot.img/ramdisk/default.prop........
1. ro.secure=*
2. ro.allow.mock.location=*
3. ro.debuggable=*
replace stock to port...
- firmware from system/etc
- libMali.so from system/lib
- libcamdrv.so from system/lib
- libcamalgo.so from system/lib
- libcameracustom.so from system/lib
Edit build.prop by notepad++..
- Change dpi,
ro.sf.lcd_density=*** (as ur Stock build.prop) - Rotation as ur device.
ro.sf.hwrotation=*** (use 0 or 180 as ur device)
Open meta-inf folder & locate updater-script META-INF\com\google\android, then open it with Notepad++
just change system & data (if available) block mounting point as ur device,
Compare mmcblk0p* with ur stock Rom Zip
- format("ext4", "EMMC", "/dev/block/mmcblk0p5", "0", "/system");
- format("ext4", "EMMC", "/dev/block/mmcblk0p7", "0", "/data");
- mount("ext4", "EMMC", "/dev/block/mmcblk0p5", "/system");
Best of luck,, Happy Porting
15 comments
commentsKya ye cwm recovery se install ho sakta h...?
ReplyYup
ReplyNo bro its boot loop
ReplyPlz Tell How To Fix Bugs.All Lollipop Roms Gives System UI Force Close After Reboot
Replydo you have video tutorial for this sir? can i request for this video tutorial for this part
Reply______________PART______________________________
How to port CM12/CM12.1 lollipop based Rom for Kitkat
Unpack both boot.img Stock & cm12/cm12.1
Use Stock zImage(Kernel) With Cm12 ramdisk
stock/ramdisk/ueventd.rc
compare lines of both ramdisk/default.prop then
Replace those line from stock boot.img/ramdisk/default.prop to cm12 boot.img/ramdisk/default.prop........
1. ro.secure=*
2. ro.allow.mock.location=*
3. ro.debuggable=*
____________________________END______________________________________________
thank you sir... I want to try it my self.... its big appreciate for the video tutorial.. thank you.. and god bless
this guide made by me lol,, all copied
ReplyWhich guide @munna india
ReplyTry dont changing anything in build.prop
Replycm 12 rom link?
ReplyI would like to get link to a CM12.1 ROM, not custom like the OctOS because i prefer PURE CM12.1.
ReplyI saw there are build for Wiko Rainbow & Darkmoon but the updater-script don't work for me. But i can flash OctOS without problem...
camera not working
ReplyUnpack both boot.img Stock & cm12/cm12.1
Replywe have stock rom, butt where is cm12 rom to unpack please help???
how to port this rom for s duos
Replycan you suggested custom rom for samsung galaxy gt i9060i..
ReplyCan i make fir my micromax a096 mtk 6582 running lollipop
Reply