[Samsung Galaxy J5 PRIME ROMs, Kernels, Recoveries,] jsp@1998:
Camera 2 api enable...

All around I get examples to enable camera 2 api in mi phones....

I need help in enabling camera 2 api in Samsung galaxy j5 prime SM- G570F exynos 7570 version.(api level limited)

Here are some details...

Application name: A Better Camera v3.51

(©) by Almalence Inc

Android API version: 24

Device manufacturer: samsung

Device model: SM-G570F

Device code-name: samsungexynos7570

Device variant: on5xelte

Standard max heap (MB): 128

Large max heap (MB): 512

Display size: 720x1280

Camera2 API: limited

Preview resolutions: 1280x720, 1056x704, 960x720, 880x720, 720x720, 720x480, 640x480, 352x288, 320x240, 176x144

Current camera ID: 0

Photo resolutions: 4128x3096, 4128x2322, 3264x2448, 3264x1836, 3088x3088, 2160x2160, 2048x1536, 2048x1152, 1920x1080, 1440x1080, 1280x720, 960x720, 640x480, 320x240

Video resolutions: 1920x1080, 1440x1080, 1280x720, 960x720, 800x450, 720x480, 640x480, 480x320, 352x288, 320x240, 176x144

Video stabilization: false

Flash modes: off, auto, on, torch, captureTorch

Focus modes: auto, macro, continuous-video, continuous-picture

Scene modes: auto

White balances: auto, incandescent, fluorescent, daylight, cloudy-daylight

ISOs: auto, ISO100, ISO200, ISO400, ISO800

Save Location: /storage/emulated/0

FULL INFO:

3dnr=false;Infinity=Infinity;antibanding=auto;anti banding-values=auto,50hz;auto-exposure-lock-supported=true;auto-whitebalance-lock-supported=true;best-capture=0;brightness=0;brightness-max=2;brightness-min=-2;burst-capture=0;burstshot-fps-values=(4,4);constant-growth-rate-zoom-supported=true;contrast=auto;drc=false;dual_mode=-1;dualrecording-hint=-1;dynamic-range-control=off;effect=none;effect-available-fps-values=(0,0);effect-values=none;effectrecording-hint=0;exposure-compensation=0;exposure-compensation-step=0.1;fast-fps-mode=-1;flash-mode=off;flash-mode-values=off,auto,on,torch;fnumber-value-denominator=10;fnumber-value-numerator=19;focal-length=3.60;focallength-35mm-value=27;focallength-value-denominator=100;focallength-value-numerator=360;focus-areas=(0,0,0,0,0);focus-distances=0.10,1.20,Infinity;focus-mode=continuous-picture;focus-mode-values=auto,macro,continuous-video,continuous-picture;hdr-mode=0;horizontal-view-angle=62.2;hue=0;hue-max=2;hue-min=-2;imageuniqueid-value=W13LSJA00SM W13LSKD01SB

;intelligent-mode=-1;iso=auto;iso-values=auto,100,200,400,800;jpeg-quality=95;jpeg-thumbnail-height=384;jpeg-thumbnail-quality=100;jpeg-thumbnail-size-values=512x384,512x288,384x384,320x240,0x0;jpeg-thumbnail-width=512;max-exposure-compensation=20;max-num-detected-faces-hw=16;max-num-detected-faces-sw=0;max-num-focus-areas=1;max-num-metering-areas=0;max-zoom=30;maxaperture-value-denominator=100;maxaperture-value-numerator=190;metering=center;metering-areas=;metering-values=matrix,center,spot;min-exposure-compensation=-20;odc=false;phase-af=off;phase-af-values=off;picture-format=jpeg;picture-format-values=jpeg;picture-size=4128x3096;picture-size-values=4128x3096,4128x2322,3264x2448,3264x1836,308 8x3088,2160x2160,2048x1536,2048x1152,1920x1080,144 0x1080,1280x720,960x720,640x480,320x240;preferred-preview-size-for-video=1280x720;preview-format=yuv420sp;preview-format-values=yuv420sp,yuv420p;preview-fps-range=15000,30000;preview-fps-range-values=(15000,15000),(24000,24000),(15000,30000),( 30000,30000);preview-frame-rate=30;preview-frame-rate-values=15,16,17,18,19,20,21,22,23,24,25,26,27,28,2 9,30;preview-size=960x720;preview-size-values=1280x720,1056x704,960x720,880x720,720x720,7 20x480,640x480,352x288,320x240,176x144;rotation=0; rt-hdr=off;rt-hdr-values=off;saturation=0;saturation-max=2;saturation-min=-2;scene-mode=auto;scene-mode-values=auto;sharpness=0;sharpness-max=2;sharpness-min=-2;smooth-zoom-supported=false;vertical-view-angle=39.4;video-frame-format=nv21;video-size=1920x1080;video-size-values=1920x1080,1440x1080,1280x720,960x720,800x45 0,720x480,640x480,480x320,352x288,320x240,176x144; video-snapshot-supported=true;video-stabilization-supported=false;vrmode=-1;wdr=0;whitebalance=auto;whitebalance-values=auto,incandescent,fluorescent,daylight,clou dy-daylight;zoom=1;zoom-ratios=100,104,109,114,120,125,131,138,144,151,158 ,166,174,182,190,200,209,219,229,240,251,263,276,2 89,303,317,332,348,364,381,400;zoom-supported=true