[Guide] Cyanogenmod 12.1 Based Rom Porting
Guide For Porting Cyanogenmod 12.1 Based Roms
- This Guide Will Work For Same SoCs (Like MT6582 To MT6582
- Every One is Permitted For Use
- No Risks At All
:::Things Needed:::
- Windows PC or Laptop
- 7Zip Compression Tool-Download
- Notepad++-Download
- Your Device Stock Rom
- MTK Boot IMG Tools-Download
:::Tutorial:::
- Put Your Stock System Folder & Boot.img in a New Folder.Name it as Base.
- Extract Cyanogenmod 12.1 in a Folder Called Port.
- Replace These Files & Folders From Base to Port.
- firmware folder-Base/system/etc to Port/system/etc
- libMali.so-Base/system/lib to Port/system/lib
- libcamdrv.so-Base/system/lib to Port/system/lib
- libcamalgo.so-Base/system/lib to Port/system/lib
- libcameracustom.so-Base/system/lib to Port/system/lib
4. Patching Boot.img
- Open MTK Boot.img Tools Folder.
- Copy Base/boot.img to Stock Folder & Port/boot.img to Port Folder.
- Unpack Both Boot.img
- Copy kernel (zImage) File From Stock Folder & Replace it in Folder.
- Copy uvented.rc From Stock Replace in Port.
- Compare default.prop and fstab of Both Stock & Port.
- Repack Port Boot.img.Rename boot-new.img to boot.img
- Replace Ported New Boot.img to Cyanogenmod 12.1 Port Folder.
5. Editing build.prop
- Open Port/system/build.prop with Notepad++
- Change ro.sf.lcd_density as your device
- Change ro.sf.hwrotation as your device
- Open Port/META-INF/com/google/android/updater-script With Notepad++
- Change system/data/cache Mount Point (mmcblk0p) as Your Device.You Can Know Your Mount Points Using MTK Droid Tools
7.Finalizing
- zip Files of Port Folder with 7zip
- Copy Ported Rom to SD Card
- Install it & Reboot
- Happy Porting
[Guide] Cyanogenmod 12.1 Based Rom Porting
Reviewed by Unknown
on
1:43 PM
Rating:
Is it written by you ?
ReplyDeletecopied post
ReplyDeletewheres the link of cynogenmod 12.1?
ReplyDeleteStuck in boot logo,boot script missing
ReplyDeleteStuck in boot logo,boot script missing
ReplyDeletedont change uevntd.rc file , copy and replace init.rc file from stock ramdisk to port ramdisk and your device will boot successfully
ReplyDeleteafter replacing init.rc file it stuck on boot logo. how to fix?
ReplyDelete