[Guide] How To Port CM 13.1 Based Rom To SC7731 & SC8830 Lollipop Based

[Guide] How To Port CM 13.1 Based Rom To SC7731 & SC8830 Lollipop Based

[Guide] How To Port CM 13.1 Based Rom To SC7731 & SC8830 Lollipop Based
How To Port Cyanogenmod 13.1 Marshmallow Based Rom To Spreadtrum SC7731, SC8830 & SC9830 Lollipop Based.

[Guide] How To Port CM13.1 Based Rom To SC7731 & SC8830 Lollipop Based

This is easy Porting method for All Spreadtrum User. You can used Cyanogenmod 13.1 based rom using 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


Show More : [Guide] How To Port CM 12.1 Based Rom To SC7731 & SC8830 Lollipop Based


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

How To Port :
This Guide Working on All SC7731, SC8830 & SC9830 Lollipop Based

[Note : If Your Downloaded Custom Rom System Folder system.img or system.new.dat Type Them Follow This Guide For Unpacking & Repacking]

Step 01 : Make Two Folder and Rename 'Stock' and 'port'

Step 02 : Extract Stock Rom 'Stock' Folder and CM13 Rom 'Port' Folder


Step 03 : Unpack both boot.img (boot.emmc.win) Using Android Image Kitchen


Step 04 : Replace Stock To Port boot.img File

- split_img Folder [Replace Stock To Port]
- ramdisk/lib/modules [Delete Modules Folder & Copy Stock To Port]
- system/lib/modules/mali.ko To ramdisk/lib/modules/mali.ko [Replace Stock To Port]

Step 05 : Repack boot.img & Past Stock Folder Under


Step 06 : Replace Stock To Port Folder

- system/lib/hw  [Except audio.primary.sc8830.so & bluetooth.default.so File]
- system/etc/audio [Except audio_effect.conf File]
- system/etc/codec_pga.xml
- system/etc/media
- system/etc/tiny_hw.xml
- system/egl/libGLES_mali.so
- system/lib/libEGL.so
- system/lib/libGLES_trace.so
- system/lib/libGLESv1_CM.so
- system/lib/libGLESv2.so
- system/lib/libMali.ko [if available]

Step 07 : Open build.prop Using Notepad++ & Compare Stock To Port

- ro.product.model=
- ro.sf.lcd_density=
- ro.sf.lcd_width=
- ro.sf.lcd_height=
- ro.sf.hwrotation=
- persist.sys.timezone=

Step 08 : Open META-INF/com/google/android/update-script Using Notepad++ & Change block point.

- cache= mmcblk0pxx
- data= mmcblk0pxx
- system= mmcblk0pxx

[Note : If Not Available Then Skip This Step]

Step 09 : Make Zip File Using Winrar and Flash New Rom Using TWRP Recovery.


Bugs Fixed : Click here

Credits :
- Rom Claims
- Hadi Khoirudin
- Advan S4P (Official)
- S M Nahid Emon
- FS Ashraful

[Note : Please share this guide any place and if you need any help comment below]
Porting Guide

57 Responses to "[Guide] How To Port CM 13.1 Based Rom To SC7731 & SC8830 Lollipop Based"

  1. How to port for kitkat devices?

    ReplyDelete
    Replies
    1. Sorry kitkat based porting guide not available

      Delete
  2. Bro after porting boot.img we should repack it as boot.img then make zip and flash or make boot.emmc.win and then flash ??

    ReplyDelete
  3. Sir, I want to port this to Cherry Mobile Flare J2s (SC7731) running on android 6.0

    My problem now is the system file is compressed with system.ext4.win
    I tried to extract this using winzip, unfortunately some .so files turned into a shortcut file. I'm trying to decompress this right now with peazip and see if there's some changes.. Hoping some .so files wont turn into a shortcut file...

    So back to my question, Would I compress this system files again using .tar format and rename system.ext4.tar with system.ext4.win? or just compress META-INF, System, Data, logo.emmc.win, and boot.img with zip?
    Coz If I compress this thru zip, these files or maybe system files wont be flashed because updater-script's written codes were programmed that system files will be decompressed in system.ext4.win..

    Or maybe, can you provide a tool that I can unpack/repack system.ext4.win..

    ReplyDelete
    Replies
    1. 1. rename system.ext4.win to system.ext4.zip/system.zip and extract using winrar or any others software.

      2. After Replacing make system.zip file and rename it system.ext4.win thats it.

      Delete
  4. I has ported your cm13 ROM to my device successfully. But I am facing 3 bugs.

    1) hotspot
    2) Bluetooth
    3) adoptable storage

    I flashed your patch to fix hotspot bug. But it's not working. My device haven't any efs partition so my wifi Mac address not being detected by rom. Can you give me any solution plz.

    And one more thing can I boot nougat ROM of grandprimeve by porting it like marshmallow. As you fixed init problem by stock init binary with SuperSU fake permissive mode. Have you try yet. Is it work? I mean it can be boot like cm13...! Plz reply.

    ReplyDelete
    Replies
    1. 1. hotspot bugs - download our cm13.1 hotspot bug fix file [if not work that's your bad luck]
      2. bluetooth - replace stock to port folder system/etc/bluetooth
      3. compare stock to port boot.img

      Delete
    2. What about my last question. Can we boot nougat.

      Delete
  5. Replies
    1. Try replacing these files from stock to port.
      /system/etc/media_codecs.xml
      /system/etc/media_profile.xml
      /system/lib/libae.so, libae.so, libatchannel.so, libawb.so, libboost.so, libev.so, liblcscp.so, liblsc.so, libmorpho_easy_hdr.so, libomx_avcdec_hw_sprd.so, libomx_avcenc_hw_sprd.so, libomx_m4vh263dec_hw_sprd.so, libomx_m4vh263enc_hw_sprd.so, libomx_vpxdec_hw_sprd.so, libstagefright_sprd_h264dec.so, libstagefright_sprd_h264enc.so, libstagefright_sprd_mpeg4dec.so, libstagefright_sprd_mpeg4enc.so, libstagefright_sprd_vpxdec.so, libstagefright_hw.so, libsupl.so

      May be now you will not see bootloop again...!

      Delete
  6. I renamed system.ext4.win but some files are still empty... For example, If I use 7zip to open system.ext4.win and view files on app -> bluetooth -> lib -> arm -> libbluetooth_jni.so , that file is empty... So what would possibly happen when that is empty?? Also, for example, I do had extract that files and done porting some files on my stock rom, I cant compress it into zip because of that shortcut files

    ReplyDelete
  7. I also tried doing it... I extracted it, ported some files, and then compressed it as zip... After I flashed it, It didnt work at all on my twrp

    ReplyDelete
  8. Sir, I really can't port it on Cherry Mobile Flare j2s
    (SC7731)..

    Can you try porting it sir? Then just upload it in here so that I can download it and try to flash it in my phone... If it is okay with you

    ReplyDelete
    Replies
    1. if you don't understand try another way without extracting system file. just make rom converator
      example : rom.zip & rom converator.zip file
      1st install rom.zip
      2nd install rom converator.zip
      download it and see this converator - https://mega.nz/#!iQJhUDIZ!VOqHQFjNNTgNMDIZnJFofnqwczuDZEhNRT-1Toyem0U

      Delete
  9. Sir, the link that you gave is a link to cm13 proting a1000...

    What would I do with it???

    ReplyDelete
    Replies
    1. follow our porting guide and delete old file and replace your stock file. If you don't understand sorry i also not replay your comment.

      Delete
  10. Can you tell me how to fix adoptable storage bug. My external storage only mounted. Can you tell me how to mount both storage.
    Currently I ported lineage 13 of grandprimev to my device and I am facing three bug
    1) internal storage
    2) Bluetooth
    3) WiFi & hotspot

    I also try your hotspot patch but its still not working. I am facing bootloop due to your "WPA_CLI & WPA_supplicant"

    ReplyDelete
  11. sorry for this others method not available now.

    ReplyDelete
  12. Sir, Im sorry that I'm spoon feeding my self. But one last question sir.

    This is what I did sir, 1st, I didnt modify anything on the Ressurection Rom because like I said yesterday, I cant unpack system.ext4.win so i flashed it on my phone without porting.
    Then after that, I downloaded the link that you gave to me, then deleted all the system files inside that and put all the files you said in your porting guide. Then I replaced the boot.img in it with my stock.img (that boot.img was not ported with the boot.img for rr rom). After that, I flashed it with my phone and after that, I think it is working but it was stuck on boot animation (not boot logo).

    Is there still a file/files needed to add from stock rom so that it wot stuck in boot animation.. Coz I think it's almost done

    ReplyDelete
  13. I am now stuck at optimizing apps then rebooting back agan, and optimizing again and reboots... It's just getting over and over again... xD..

    Any ideas??

    ReplyDelete
    Replies
    1. that's bootloop problem need boot.img porting please port boot.img using our guide and try again.

      Delete
    2. You can't boot cm13 with stock boot.img. first port boot.img, it's extremely recommend for booting cm13 or any marshmallow based ROM.

      Delete
    3. i ported rr rom for my lyf flam6 but unknown besband pleas help to fix it

      Delete
    4. I also ported this ROM for flame7. And both device running same kernel. You can port flame7 version to flame6. And I already fixed baseband bug. And rill is completely stable on flame7.

      Bugs on flame7
      1) wifi and hotspot
      2) Bluetooth
      3) adoptable storage

      What's working
      1) internet connection 4g,3g,2g, (no volte)
      2) camera
      3) sound
      4) video codec
      Everything working except not working list.

      Delete
    5. how to fix unknown beasband in lyf flam 6

      Delete
    6. give me your ported rom link please

      Delete
  14. I tried porting cm13 with my stock boot.img but it will only stuck at boot logo... When I use my stock boot.img, it will go through boot animation and then it will show the optimizing app and after that, it will boot back into boot animation.. So I tried all way around, I ported from Port boot to Stck boot but still the same... Is it really the mali.ko that I will copy or maybe not??? Or is there some files that I need to copy??

    ReplyDelete
  15. And also, my system folder doesnt have mali.ko file inside... That folder was empty when I unpacked it

    ReplyDelete
  16. Now I followed the instructions to port boot.img but it just stuck on boot logo... Unlike when I use my stock boot.img, I just need to root my boot.img then it will proceed to boot animation and optimizing apps. There must be some system files that needs to be copied for the homescreen to load... Is it??

    ReplyDelete
  17. Sir, good thing I successfully flashed Resurrection into marshmallow based rom... The problem now is, BUGS... xD...

    1. Only one sim can be inserted
    2. Memory Card cannot be read (and if you insert your memory card, your internal wont be read also)
    3. Camera
    4. Torch

    ReplyDelete
    Replies
    1. Welcome sim care is source problem. dual sim card not supported.

      Delete
    2. For Camera Fixing : camera.sc8830.so open using hex editor software and search libui.so and rename it libcamerafix.so
      and save it. now copy stock to port folder libui.so and rename libui.so to libcamerafix.so that's it.

      Delete
    3. Try replacing these file to fix sim card. /system/lib/libril.so, librefrence-ril_sp.so
      And /system/bin/modemd, engpc, ext_data.sh, ext_kill.sh, modem_control, phone server, refnotyfy,

      Delete
  18. I tried to port this ROM
    http://www.romclaims.com/2017/05/sc7731-sc8830-6.0.1-pacman-rom-for-advan-s4p-tx-lollipop-kernel-with-porting-method.html?m=1


    but stuck at bootlogo of samgsung
    I really need the cm13 ROM
    please help me
    And I didn't replace the files in system folder
    I just used romconverter.zip after flashing ROM in TWRP
    should I try something else or what
    please help

    ReplyDelete
  19. That didnt work. It made my phone boot looped again... So I flashed libui.so itself so it'll revive

    ReplyDelete
    Replies
    1. flash this file using recovery not copy past after rom flash.

      Delete
    2. I think you did not read nahid's guide line carefully to fix camera.
      You can't directly replace libui.so from stock to port. First rename this file. Read again camera fix carefully.

      And one more thing. If your stock ROM is marshmallow. Then I can give you solution to fix storage bug.
      You can contact me on WhatsApp. My no. 7007480176

      Delete
  20. Success full ported
    Can I share this rom?
    Please allow me to share this rom to my device group

    ReplyDelete
  21. I successfully ported rom of lenovo but got following bugs
    1:3g data
    2:no sound
    3:a circle like thing comes which works like a mouse

    ReplyDelete
  22. sir what is split_img because when i extract boot.img using android kitchen there is no split_img

    ReplyDelete
    Replies
    1. Search stock boot.img under or system file under.

      Delete
  23. how to fix
    1:data cellular
    2:speaker
    please help

    ReplyDelete
  24. Not working for me, i use the boot.img port method,i port the rom but when i flash it, it stuck on bootlogo
    i have a sc7731c chipset with MM kernel, please help, i was searching on the web for a solution and i found nothing, only this tutorial and i hope this works.

    ReplyDelete
    Replies
    1. download resurrection remix lollipop rom and marshmallow base boot.img, delete lollipop boot.img and use mm boot.img and it's working...

      Delete
  25. i have ported the boot.img as the instructions says but there is not booting, is still stucked on the bootlogo, my device is a sc7731c marshmallow based, 512mb ram. I think the problem is: when i go to my stock ramdisk folder i found only one fstab file : "fstab.p909c". the boot.img for port have two fstab files. Any idea?

    ReplyDelete
    Replies
    1. use carliv img kitchen and rename boot.img to recovery.img and past recovery folder and port it.

      Delete
  26. How to solve the 3g data bug??????

    ReplyDelete
    Replies
    1. See This Post : http://www.romclaims.com/2017/08/guide-how-to-fix-2g3g-switch-in-all.html

      Delete
  27. Sir,
    I ported ROM successfully but my device is stuck on boot animation plz help me sir

    ReplyDelete
  28. First Unpack boot.emmc.win using unpacker & port boot.img using carliv image kitchen or AIK Tool

    ReplyDelete
  29. First Unpack boot.emmc.win using unpacker & port boot.img using carliv image kitchen or AIK Tool

    ReplyDelete
375/5000
A Note for Entrepreneurs
  • Please leave a trace in accordance with the title of the article.
  • Not allowed to promote goods or sell.
  • Do not include active links in comments.
  • Comments with active links will be automatically deleted.
  • Comment well, your personality reflects when commenting.

Top Ad Articles

Middle Ad Article 1

Middle Ad Article 2

Advertise Articles