Saturday, March 25, 2017

How to port CyanogenMod 11 to Spreadtrum SC7731 or SC8830 Device

What is CyanogenMod?

CyanogenMod is one of the best known custom rom in the world. 

Google's AOSP vs CyanogenMod

Google releases the source code for Android via the Android Open Source Project (AOSP), which allows anyone to download the source code for stock Android and modify it to their liking. Many people add features or try to further optimize the operating system to improve performance. 

In CyanogenMod the added more features and more control to their os. CyanogenMod is best if you can fix all of their bugs.But you should never compare AOSP with CM because AOSP rom is always.

So What we are waiting for?  
Lets Port CM 11 to Spreadtrum SC7731 or SC8830 kitkat kernel.


Requirements :

  • Android Image Kitchen (Mobile or PC)
  • Know How To Unpack Repack
  • Sprd SC7731/8830 Device 
  • and Porting Experience 
Porting Boot
First unpack both boot.img stock and port.
Now replece stock spilt-img folder to port boot.
Replece stock ramdisk/sbin files to port ramdisk/sbin.
Now you have to replece usb rc files, example: init.scxxxx.usb.rc, init.usb.rc
The final steps is to repack port boot.After completed repacking rename image-new.img t boot.img

Replacing System Files: 

1. Replece sytsem/lib/modules
2. Copy files /system/lib/libbt-vendor so & replace files on cm-11.0 /system/vendor/lib
3. Replece this files from system/lib/hw 
camera.sc8830.so camera2.sc8830.so gralloc.default.so gralloc.sc8830.so hwcomposer.sc8830.so keystore.default.so lights.sc8830.so local_time.default.so power.default.so sensors.sc8830.so sprd_gsp.sc8830.so

Now zip and flash cm 11

How to flash?

Format Data and System
Install Zip

Specially Thanks to Hadi Khoirudin for making this tutorial

Rom Link: 

Device: Advan S4P

Credits:
Doesntexit For CM 11 
Hadi Khoirudin
Muhammad Ihsan For PAC rom 
HA$HT@G For Core33G
Marnez For fix ril simcard
Muhammad Saepul for Porting on Advan S4M

Thanks for reading this post please share and subscribe to get great post like this.

If you like this article, you can share this article and subscribe us to get all latest updates to your inbox.

2 comments

Tried this tutorial for porting CM11 on my SC8830 device but didn't worked. Please help.


EmoticonEmoticon