How To Port Cyanogenmod 13.1 Marshmallow Based Rom To Spreadtrum SC7731, SC8830 & SC9830 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 :
- 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]
How to port for kitkat devices?
ReplyDeleteSorry kitkat based porting guide not available
DeleteBro after porting boot.img we should repack it as boot.img then make zip and flash or make boot.emmc.win and then flash ??
ReplyDeletemake boot.emmc.win
DeleteSir, I want to port this to Cherry Mobile Flare J2s (SC7731) running on android 6.0
ReplyDeleteMy 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..
1. rename system.ext4.win to system.ext4.zip/system.zip and extract using winrar or any others software.
Delete2. After Replacing make system.zip file and rename it system.ext4.win thats it.
I has ported your cm13 ROM to my device successfully. But I am facing 3 bugs.
ReplyDelete1) 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.
1. hotspot bugs - download our cm13.1 hotspot bug fix file [if not work that's your bad luck]
Delete2. bluetooth - replace stock to port folder system/etc/bluetooth
3. compare stock to port boot.img
What about my last question. Can we boot nougat.
Deletehow to fix unknown beasband
Deletestill stock at bootlogo
ReplyDeletechange it manually.
DeleteTry replacing these files from stock to port.
Delete/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...!
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
ReplyDeleteI 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
ReplyDeleteSir, I really can't port it on Cherry Mobile Flare j2s
ReplyDelete(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
if you don't understand try another way without extracting system file. just make rom converator
Deleteexample : 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
Demo Converator link - click here
DeleteDemo Converator link - click here
DeleteSir, the link that you gave is a link to cm13 proting a1000...
ReplyDeleteWhat would I do with it???
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.
DeleteCan you tell me how to fix adoptable storage bug. My external storage only mounted. Can you tell me how to mount both storage.
ReplyDeleteCurrently 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"
sorry for this others method not available now.
ReplyDeleteSir, Im sorry that I'm spoon feeding my self. But one last question sir.
ReplyDeleteThis 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
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..
ReplyDeleteAny ideas??
that's bootloop problem need boot.img porting please port boot.img using our guide and try again.
DeleteYou can't boot cm13 with stock boot.img. first port boot.img, it's extremely recommend for booting cm13 or any marshmallow based ROM.
Deletei ported rr rom for my lyf flam6 but unknown besband pleas help to fix it
DeleteI 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.
DeleteBugs 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.
how to fix unknown beasband in lyf flam 6
Deletegive me your ported rom link please
DeleteI 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??
ReplyDeleteAnd also, my system folder doesnt have mali.ko file inside... That folder was empty when I unpacked it
ReplyDeleteNow 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??
ReplyDeleteSir, good thing I successfully flashed Resurrection into marshmallow based rom... The problem now is, BUGS... xD...
ReplyDelete1. 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
Welcome sim care is source problem. dual sim card not supported.
DeleteFor Camera Fixing : camera.sc8830.so open using hex editor software and search libui.so and rename it libcamerafix.so
Deleteand save it. now copy stock to port folder libui.so and rename libui.so to libcamerafix.so that's it.
Try replacing these file to fix sim card. /system/lib/libril.so, librefrence-ril_sp.so
DeleteAnd /system/bin/modemd, engpc, ext_data.sh, ext_kill.sh, modem_control, phone server, refnotyfy,
I tried to port this ROM
ReplyDeletehttp://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
That didnt work. It made my phone boot looped again... So I flashed libui.so itself so it'll revive
ReplyDeleteflash this file using recovery not copy past after rom flash.
DeleteI think you did not read nahid's guide line carefully to fix camera.
DeleteYou 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
Success full ported
ReplyDeleteCan I share this rom?
Please allow me to share this rom to my device group
Ok Permitted.
DeleteI successfully ported rom of lenovo but got following bugs
ReplyDelete1:3g data
2:no sound
3:a circle like thing comes which works like a mouse
sir what is split_img because when i extract boot.img using android kitchen there is no split_img
ReplyDeleteSearch stock boot.img under or system file under.
Deletehow to fix
ReplyDelete1:data cellular
2:speaker
please help
Not working for me, i use the boot.img port method,i port the rom but when i flash it, it stuck on bootlogo
ReplyDeletei 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.
download resurrection remix lollipop rom and marshmallow base boot.img, delete lollipop boot.img and use mm boot.img and it's working...
Deletei 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?
ReplyDeleteuse carliv img kitchen and rename boot.img to recovery.img and past recovery folder and port it.
DeleteHow to solve the 3g data bug??????
ReplyDeleteSee This Post : http://www.romclaims.com/2017/08/guide-how-to-fix-2g3g-switch-in-all.html
DeleteSir,
ReplyDeleteI ported ROM successfully but my device is stuck on boot animation plz help me sir
First Unpack boot.emmc.win using unpacker & port boot.img using carliv image kitchen or AIK Tool
ReplyDeleteFirst Unpack boot.emmc.win using unpacker & port boot.img using carliv image kitchen or AIK Tool
ReplyDelete