[Guide] How To Port MIUI 8 Rom To SC7731 & SC8830 Marshmallow Based

6
610

How To Port MIUI 8 Rom To Spreadtrum SC7731, SC8830 & SC9830 Marshmallow Based.This thread is for Spreadtrum Marshmallow Kernel Linux 3.10.65 . This tutorial is created for porting CM based ROMs for Spreadtrum Devices.

Requirements

1. Winrar / 7zip
2. Android Image Kitchen
3. Miui 8 Custom Rom
4. Stock Rom

First Step : System Files

Replace This files Stock Rom to Custom Rom

From system/lib/
1. EGL ( Folder)
2. hw/camera.sc8830.so

From system/usr (optional)
usr/keylaout

Porting Boot On MIUI 8

1. Unpack Both boot.img (stock and miui)
2. Replace spilt.img stock to miui
3. Replace system/lib/modules/mali.ko to miui boot ramdisk/lib/modules/
3. Repack Miui boot

Note : If you got bootloop issue by following this tutorial , then you need to compare boot to fix bootloop issue.

 

Camera & Flashlight Bug Fixing
1. Open system/lib/hw/camera.sc8830.so with notepad++
2. Find by the the keyword “libui.so”
3. Rename libui.so to libcm.so
3. Again find ‘.so’ , You will get some lib file name.
4. Check which file is missing on custom rom.
5. Add the missing file on custom rom.

Video Tutorial
1. Camera and Flashlight Bug Fixing In CM Based Custom Rom

If you need additional help , you may comment below or you may contact us in Facebook discussion group.

6 COMMENTS