[FIX BUG] Fixing bugs when porting Custom ROMs For Spreadtrum SC7731/SC8830 device!

11:38 Alex 17 Comments

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
Solution:   /system/lib/modules/libhardware_legacy.so 
                   /system/lib/modules/8723as.ko
                   /system/lib/modules/unifi_sdio.ko.

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.

                   /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
Solution:   /system/lib/egl
                   /system/lib/modulesmali.ko
                   /system/lib/hw/gralloc.mali.so

Bug:  hardkeys/softkeys not working
Solution:   /system/usr (folder)

Bug:  Touch not working
Solution:    /system/sps (folder)
.
Read More:

17 comments:

  1. 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

    ReplyDelete
  2. index cloud zest lolipop5.1 build number intex-cloud-zest-v02-ser
    kernal version 3.10.65+
    spreadtrum sc7731
    recovery twrp 2.8.7.0

    ReplyDelete
    Replies
    1. Well i've already said i dont have spreadtrum and never worked on it. so i cant tell you exact solution for it.
      Maybe first make sure the rom you are porting is uses same kernel version.
      try fixes from this guide.
      and maybe take a logcat.

      Delete
  3. Sir, Can I use this to Flare J2s SC7731 (running 6.0)?? I want to make Leagoo Z5C SC7731 (running 6.0) custom rom...

    ReplyDelete
    Replies
    1. Yes this guide is for spreadtrum chipset.

      Delete
  4. Xolo era x twrp touch problem
    Sc9830a karne 3.10.65

    ReplyDelete
  5. i ported miui 8 for my sm-g361h but no ril
    how to fix ril in sc8830

    ReplyDelete
  6. Replies
    1. \system\xbin\libmnlp
      /system/etc/gps.conf

      Delete
  7. boss how about big screen im porting from 4.5 inch screen to 4 inch

    ReplyDelete
    Replies
    1. Screen size doesn't matter that much.
      Forget 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.

      Delete
  8. boss how about stuck in bootlogo not bootanimation ported idos rom still stuck at bootlogo please help

    ReplyDelete
    Replies
    1. Which you are trying to port. Is it same chipset, kernel version, Android version? Try these
      - libandroid_runtime.so
      - libandroid_servers.so
      - libmedia_jni.so
      - Repack boot.image
      - Fix Storage

      Delete
  9. if stuck in the starting apps

    ReplyDelete
    Replies
    1. After a nandroid try:
      -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.

      Delete
  10. This comment has been removed by the author.

    ReplyDelete

Disable_Adblock

We know Ads suck, but at IrisBuddies we will not let them do that
As blocking is a good idea to get rid of stupid “Download Now” Buttons around the web
That’s not in our case. We think you won't find Ads on Our site terrible or annoying
Support us by Whitelisting “IrisBuddies” on your Adblocking Plugin or By disabling your AdBlocking software

If you think this is not good and we should allow AdBlocking Plugins
then Please Contact Us or write us on our Facebook Page
and we might allow it in near future.