Thursday, November 23, 2017

[Tutorial] How To Port Cyanogenmod 11 To Spreadtrum SC7731 Kitkat Based|stock rom go to rompure.com


Port Cyanogenmod 11 Based Rom To Spreadtrum SC7731 Kitkat Based. This is easy Porting method for SC7731 Kitkat Based. You can used Cyanogenmod 11 based rom using this porting method. This porting method make by Hadi Khoirudin. Than's Hadi Khoirudin for make this porting method.

Disclaimer : If you can installed any custom rom your android device warranty has been voided. If you can used this porting method please work at your own risk. Your android device is destroyed using this method then Rom Claims is not responsible you any complaint.

Working Tools For PC :
1. 7-Zip/Winrar
2. Android Image Kitchen (PC Version)
3. Stock Rom
4. Custom Rom
5. Some Brain

Working Tools For Android :
1. Zarchiver or Root Explorer Pro (Zip Extractor)
2. Android Image Kitchen (Android Version)
3. Stock Rom
4. Custom Rom
5. Some Brain

Click here to Download Cyanogenmod 11 Rom For Spreadtrum SC7731 Kitkat Kernel

Two Step Port This Rom :
1. Boot Image Port
2. System File Replace & Edit

Step 01 : For boot.img
Unpack boot.img Using Android Image Kitchen
- replace split_img boot cm-11.0 with your stock split_img boot
- replace /ramdisk/sbin files
- replace /ramdisk where files with name usb with *rc file format
- repack img & rename image-new.img to boot.img

Step 02 : For System
- replace /system/lib/module
- copy files /system/lib/libbt-vendor so & replace files on cm-11.0 /system/vendor/lib
- replace files cm-11.0/system/lib/hw  just files with name :

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

Step 03 : Download this files replace to /system cm-11.0 
 - Follow tutor on this files click here to download

Step 04 : Zip the rom then install from custom recovery and don't forget to wipe data & Enjoy.

------------------------------------------------------------------------------------
# How To Fix Cyanogenmod 11 Camera Bugs After Porting
------------------------------------------------------------------------------------
Download HxD here

- Copy files camera.sc8830.so camera2.sc8830.so & libandroidfw.so
- Rename file libandroidfw.so to libandroidcm.so
- Run HxD program
- On HxD click file & Open. then browse files camera.sc8830.so & camera2.sc8830.so  with camera.sc8830.so
- Use CTRL+F
- Search libandroidfw.so & at libandroid just type cm 
as the result in HxD libandroidfw.so has changed to libandroidcm.so where “cm” are marked with red text 

- Save camera.sc8830.so file, & Next with camera2.sc8830.so

-------------------------------------------------------------------------------------------------------------------
# How To Fix Cyanogenmod 11 Wifi Bugs (Can not turning on Wlan) After Porting
-------------------------------------------------------------------------------------------------------------------

Make sure your driver wlan name is sprdwl.ko on /system/lib/modules, & that files came from your stock rom / custom rom which has no bugs on Wi-Fi

- Copy this folder which contains files from stock rom & paste to cm-11.0 rom and replace
    /system/etc/wifi & dhcpcd
- Make sure  from root explorer
- dhcpcd-run-hooks has set permission to 
- r-xr-x--- or 0550 &  owner files is dhcp and shell
   /system/etc/connectivity_calibration.ini Permission rw-r-r Owner wifi & shell
- &
   /system/etc/connectivity_configure.ini Permission rw-r-r Owner bluetooth & shell
.
- Unpack boot.img cm-11.0 replace
 /ramdisk/init.wifi.rc at boot.img file with this file click here
- Test working init.wifi.rc
- Use terminal emulator type 
    'su' & Press enter
    'cat /proc/modules' & Press enter

- Make sure sprdwl present on loaded module

Credits :
- Hadi Khoirudin
- Rom Claims
- S M Nahid Emon

No comments:

Post a Comment