Monday 19 January 2015

[PORT] Guides for fixing bugs in MTK BASE devices


If you encounter these bugs after porting one rom to your device then try to replace these files from stock to ported rom.


 Fix Camera Not Connect / Force Close:
•system / lib / libcameraservice.so
• system / lib / libcamdrv.so
Fix Internal Memory:
• system / etc / vold.fstab
Fix Sound / Audio Volume:
• system / lib / libcustom_nvram.so
Fix Network / 3G Network:
• system / etc / agps_profiles_conf
• system / etc / APNs-conf
• system / etc / epo-conf
• system / etc / spn-conf
• system / etc / virtual-spn-conf-by-efspn
• system / etc / virtual-spn-conf-by-IMSI
Fix WIFI Toggle:
• system / etc / Wide-DHCPv6 (folder)
• system / etc / wifi (folder)
Fix FlashLight:
• system / lib / libfeatureio.so
Fix Video Pixel:
• system / lib / libvcodecdrv.so
Touchscreen Fix Reversed:
• system / lib / libinput.so
Fix Brightness / Screen Brightness:
• system / lib / hw / sensor.default.so
(Sensor.default.so use of port rom)
Fix the Problem Resolution / Screen Resolution:
Go To build.prop and edit ..
If you you're Porting from 480 x 800 to 320 x 240 ??
In build.prop add this text: • ro.sf.lcd_density = 240
(for 480x800) • ro.sf.lcd_density = 160 (for
320x240)
 Create a Screen Fix the opposite:
ro.sf.hwrotation = 180 -> Being ro.sf.hwrotation = 0
If It 0 figure let alone
Boot loop problem :
*system/lib/libandroid_runtime.so
*system/lib/libandroid_servers.so





9 comments:

  1. HOW about fixing usb unable to mount to PC.i have a rom which i ported to my H6 usb storage will only mount when i toggle usb debugging and the phone restarts.

    ReplyDelete
  2. Just replace "void.fstab " file from your stock....

    ReplyDelete
  3. whshat about microphone bug people cant hear me during calls but i can hear them

    ReplyDelete
  4. i m getting some (krrrrrr) error sound while playing any songs...what should i do??

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Which file I have to replace by stock for ussd clad bugs

    ReplyDelete
  8. I'm porting for Micromax Unite 3. Each and every ROM I port successfully boot up. But the touch won't respond. I'm porting from devices with same resolution, chipset and screen size. What to do?

    ReplyDelete
  9. How to fixed battery drain problem?...

    ReplyDelete