Hi guys,
This is the stepped I followed
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
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

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:
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
- Change mount point
- Change density
- IN etc FOLDER (\System\etc) replase
- bluetooth (whole folder)
- fiemware (whole folder)
- wifi (whole folder)
- apns-conf
- apn-conf
- IN lib FOLDER (\System\lib)
- libaudio.primary.default
- libcam.camadapter
- libcam.exif
- libcam.paramsmgr
- libcamalgo
- libcamdrv
- libcameracustom
- libdpframework
- libfeatureio
- libimageio
- libimageio_plat_drv
- libMali
- IN hw FOLDER
- hwcomposer.mt6592
- audio.primary.mt6592
- 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
- modem_1_wg_n.img
- generic.kl
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
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
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: