[FIX BUG] Fixing bugs when porting Custom ROMs For Spreadtrum SC7731/SC8830 device!
We have already covered guides for Porting Custom Rom And Custom Recovery For Spreadtrum SC7731/SC8830 Chipsets.
If you are facing bugs in your ported rom then here are the fixes you can try to solve issues/bugs.
The porting methods should not lead any bugs as the procedure contains major files from stock rom...
But still if u flash a rom of a clone of ur device or what ever u port leads bugs then these are the steps to fix those bugs.....
Take these files from your stock and paste them in port.
Read More :
Bug: Stuck on boot.
Solution: libandroid_runtime.so (if rom wont boot with port roms lib)
libandroid_servers.so
Bug: wifi not working
If you are facing bugs in your ported rom then here are the fixes you can try to solve issues/bugs.
The porting methods should not lead any bugs as the procedure contains major files from stock rom...
But still if u flash a rom of a clone of ur device or what ever u port leads bugs then these are the steps to fix those bugs.....
Take these files from your stock and paste them in port.
Read More :
Solution: libandroid_runtime.so (if rom wont boot with port roms lib)
libandroid_servers.so
Bug: wifi not working
Solution: /system/lib/modules/libhardware_legacy.so
/system/lib/modules/8723as.ko
/system/lib/modules/unifi_sdio.ko.
/system/lib/libeng_wifi_ptest.so
Bug: Headset not working
Bug: Sensors not working
Bug: Touch not working
if u are confused what is your wifi driver then do these steps
. open libhardware_legacy.so in notepad++ & search for /system/lib/modules/ the name(*****.ko) u will find after that is your wifi driver.
. open libhardware_legacy.so in notepad++ & search for /system/lib/modules/ the name(*****.ko) u will find after that is your wifi driver.
/system/lib/libeng_wifi_ptest.so
/system/bin/wpa_supplicant
/system/bin/synergy_wifi_attach
/system/bin/synergy_service
/system/bin/netd
/system/bin/eng_setbtwifiaddr
/system/bin/engmodemclient
/system/bin/engservice
/system/bin/engtest
/system/etc/dhcpcd
/system/etc/wifi (folder)
/system/etc/firmware (folder)
Bug: Bluetooth not working
Solution: /system/lib/libhardware_legacy.so
/system/lib/libbluedroid.so
/system/lib/libbluetoothd.so
/system/lib/libbluetooth.so
/system/lib/from binaries
/system/bin/bluetoothd
/system/bin/synergy_service
/system/bin/netd
/system/bin/eng_setbtwifiaddr
/system/bin/ engmodemclient
/system/bin/engservice
/system/bin/engtest
/system/etc/ bluetooth (folder)
/system/etc/ firmware (folder)
Bug: Headset not working
Solution: /system/lib/modules/headset.ko
Bug: Sensors not working
Solution: /system/lib/libsensorservice.so
/system/lib/hwsensors.sprdbp.so /etc/permissions/android.hardware.sensor.proximity.xml
Bug: gpu related problems
Bug: gpu related problems
Solution: /system/lib/egl
/system/lib/modulesmali.ko
/system/lib/hw/gralloc.mali.so
Bug: hardkeys/softkeys not working
Bug: hardkeys/softkeys not working
Solution: /system/usr (folder)
Bug: Touch not working
Solution: /system/sps (folder)
.
Read More:
Read More:
thanks bro great work for SPD viewers, cynogenmod custom ROM install heavy problem on boot please suggest me bro spreadtrum support cynogenmod custom ROM download link , already tried cm12.1alpha2 ported ROM , but can't work bootloop error how to fix bro
ReplyDeleteYour device details?
Deleteindex cloud zest lolipop5.1 build number intex-cloud-zest-v02-ser
ReplyDeletekernal version 3.10.65+
spreadtrum sc7731
recovery twrp 2.8.7.0
Well i've already said i dont have spreadtrum and never worked on it. so i cant tell you exact solution for it.
DeleteMaybe first make sure the rom you are porting is uses same kernel version.
try fixes from this guide.
and maybe take a logcat.
Sir, Can I use this to Flare J2s SC7731 (running 6.0)?? I want to make Leagoo Z5C SC7731 (running 6.0) custom rom...
ReplyDeleteYes this guide is for spreadtrum chipset.
DeleteXolo era x twrp touch problem
ReplyDeleteSc9830a karne 3.10.65
i ported miui 8 for my sm-g361h but no ril
ReplyDeletehow to fix ril in sc8830
sir.. location bug
ReplyDelete\system\xbin\libmnlp
Delete/system/etc/gps.conf
boss how about big screen im porting from 4.5 inch screen to 4 inch
ReplyDeleteScreen size doesn't matter that much.
DeleteForget about screen sizes(4, 5, or 7 in.), the important is screen DPI(pixels destiny) or in simple words resolution. you can port rom from tablet or devices that have bigger/smaller screen sizes.
just make sure you dont port from a device which have 1080p display while your device have 720p.
higher resolution to lower resolution resolution or lower to higher can be ported but not all roms boots up.
boss how about stuck in bootlogo not bootanimation ported idos rom still stuck at bootlogo please help
ReplyDeleteWhich you are trying to port. Is it same chipset, kernel version, Android version? Try these
Delete- libandroid_runtime.so
- libandroid_servers.so
- libmedia_jni.so
- Repack boot.image
- Fix Storage
if stuck in the starting apps
ReplyDeleteAfter a nandroid try:
Delete-fix permissions through recovery
-wipe cache and dalvik cache through recovery
-Wipe data (NOT sdcard).
-Factory reset
If this doesn't work the problem is what's installed to /system..and we'll go from here.
This comment has been removed by the author.
ReplyDelete