After port a custom ROM & am having camera issues

ruwan969

Member
Jun 29, 2016
8
0
0
Rambukkana
Hi guys,
I have HTC 816 G mobile. And i tried porting a custom rom for my devise.. this is the method i used and and it work fine and except camera doesn't work. :crying::crying: this is the steeped i followed.. Please take a look and tell me what did I do wrong...​

  • base rom and port rom has the same chipset [mt6592]
  • broth of them have same kernel

This is the stepped I followed
  1. Change mount point
  2. Change density
  3. IN etc FOLDER (\System\etc) replase
    • bluetooth (whole folder)
    • fiemware (whole folder)
    • wifi (whole folder)
    • apns-conf
    • apn-conf
  4. IN lib FOLDER (\System\lib)
    • libaudio.primary.default
    • libcam.camadapter
    • libcam.exif
    • libcam.paramsmgr
    • libcamalgo
    • libcamdrv
    • libcameracustom
    • libdpframework
    • libfeatureio
    • libimageio
    • libimageio_plat_drv
    • libMali
  5. IN hw FOLDER
    • hwcomposer.mt6592
    • audio.primary.mt6592
  6. In boot image I replaced these files
    • kernel
    • ueventd.rc

Then I got stuck boot animation.. Mobile doesn't restart only boot animationAfter that I search I replaced these files best ROM to Port ROM
  1. modem_1_wg_n.img
  2. generic.kl
After that works fine boot OK now I'm having camera issues
To fix the camera issue I tried using working Android nougat rom as a base room and imported files to my port rom.. After that I tried with my stock ROM
But no luck:confused::confused:

Also I tried editing init.rc

#Camera
chmod 0660 /dev/camera-sysram
chmod 0660 /dev/camera-isp
chmod 0660 /dev/camera-pipemgr
chmod 0660 /dev/kd_camera_hw
chmod 0660 /dev/kd_camera_flashlight
chmod 0660 /dev/kd_camera_hw_bus2
chmod 0660 /dev/FM50AF
chmod 0660 /dev/DW9714AF
chmod 0660 /dev/DW9761AF
chmod 0660 /dev/DW9761BAF
chmod 0660 /dev/OV5648AF
chmod 0660 /dev/DW9718AF
chmod 0660 /dev/OV8825AF
chmod 0660 /dev/IMX219AF
chmod 0660 /dev/S5K4H5AF
chmod 0660 /dev/CAM_CAL_DRV
chmod 0660 /dev/BU6424AF
chmod 0660 /dev/IMX135AF
and this is the link for my edit init.rc file
https://mega.nz/#!duZUwSKR!b9BpRjkFwNpXc7n2xE0HfUsAe3cwtTTWfH9J6YDNE8w
Please help guys thank you

Please take a look.. I work 10 days for this it will be a big help thank you so much :good::good: