How TO Port Resurrection Remix To Spreadtrum SC7731 Marshmallow Kernel

7
2290

How To Port Resurrection Remix Rom To Spreadtrum SC7731 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. Custom Rom
4. Stock Rom

Lets Start Porting Resurrection Remix Rom For SC7731 MM Kernel

There are two steps for porting RR rom . One is System files and another is boot porting .

System Files Porting

Replace the following files from your stock rom to resurrection remix rom.

Replace From system/bin :

  1. system/bin/batterysrv
  2. system/bin/iwnpi
  3. system/bin/lpm
  4. system/bin/wcnd
  5. system/bin/wcnd_cli
  6. system/bin/wpa_cli
  7. system/bin/wpa_supplicant

Replace From system/etc :

  • system/etc/bluetooth (Whole Folder)
  • system/etc/wifi/wpa_supplicant.conf
  • system/etc/wifi/wpa_supplicant_overlay.conf
  • system/etc/audio_para
  • system/etc/audio_hw.xml
  • system/etc/audio_policy.conf
  • system/etc/codec_pga.xml
  • system/etc/connectivity_calibration.ini
  • system/etc/connectivity_configure.ini
  • system/etc/media_codecs.xml
  • system/etc/tiny_hw.xml

Replace From system/lib :

  1. system/lib/egl (Whole Folder)
  2. system/lib/hw (Whole Folder)
  3. system/lib/modules (Whole Folder)
  4. system/lib/libae.so
  5. systdm/lib/libaf.so
  6. system/lib/libaudiopolicy.so
  7. system/lib/libawb.so
  8. system/lib/libbt-vendor.so
  9. system/lib/libcamerainfo.so
  10. system/lib/libcm.so
  11. system/lib/libcnr.so
  12. system/lib/libface_finder.so
  13. system/lib/libgps_shim.so
  14. system/lib/libhardware.so
  15. system/lib/libhwc_shim.so
  16. system/lib/libisp.so
  17. system/lib/lsc.so
  18. system/lib/libm.so
  19. system/lib/libmaet.so
  20. system/lib/libmemoryheapion.so
  21. system/lib/libmorpho_easy_hdr.so
  22. system/lib/libsft_af_ctrl.so
  23. system/lib/libstagefright_sprd_h264dec.so
  24. system/lib/libstagefright_sprd_h264enc.so
  25. system/lib/libstagefright_sprd_mpeg4dec.so
  26. system/lib/libstagefright_sprd_mpeg4enc.so
  27. system/lib/libstagefright_sprd_vpxdec.so
  28. system/lib/libsxqk_skia.so
  29. system/lib/libtinyxml.so
  30. system/lib/libtsfacebeautify.so
  31. system/lib/libuvdenoise.so

Replace From system/usr :

  1. system/usr/idc (Whole Folder)
  2. system/usr/keylayout (Whole Folder)

Replace From system/vendor :

  1. system/vendor/lib/libbtt-vendor.so

How to port boot.img for RR Rom 

Use Android Image Kitchen for unpacking and repacking boot.img . ( Mobile and PC version both is working )

Unpack stock boot.img and port boot.img and replace stock to port .

  • Split_img (Whole Folder)
  • Replace system/lib/modules/mali.ko to Boot/ramdisk/lib/modules

Repack boot.img and then flash resurrection remix rom .

If you’re  Bootloop or stuck on bootanimation , follow this steps for fix bootloop issue.

  1. Unpack Boot.img
  2. Compare All .rc Files

How To Compare Boot.img/ .rc Files :


Lets Take The Nicknames Of Boot.img

  • Stock Boot.img = Stock
  • Custom Boot.img = Port

Unpack Both Stock And Custom Boot And Follow :

  1. Open Stock .rc Files Using Any Text Editor
  2. Then Open Port .rc Files Within Other Tab
  3. Then Add All Extra Lines From Stock .rc Files
  4. Don’t Delete Any Extra Lines From Port.rc Files
  5. Just Add Extra Line From Stock .rc Files To Port .rc Files

!!! Happy Porting !!!

Download Link

  Credits :

1. Shuvo Rehman ( Klassic Scientist Shuvo )
2. Yeasir Arafat
3. Winston Staana

7 COMMENTS

  1. When I direct flash without porting. Phone Booted, Network working, incoming call working but touchscreen not working.
    After Porting My Phone won’t boot. Showing only boot logo.
    Device: Walton Primo GF5
    Chipset: sc7731c
    ***Please Do something. GF5 official ROM comes with lots of bugs. And they are careless about making an OTA update.