That means after trying these values in camera.h
#define CAM_RAW_ROWPIX 3816
#define CAM_RAW_ROWS 2784
// cropping
#define CAM_JPEG_WIDTH 3648
#define CAM_JPEG_HEIGHT 2736
#define CAM_ACTIVE_AREA_X1 116
#define CAM_ACTIVE_AREA_Y1 14
#define CAM_ACTIVE_AREA_X2 3788
#define CAM_ACTIVE_AREA_Y2 2766
You still have black border ?
Note: 2x2 CFA means that your sensor have RGGB CFA (RED, GREEN, GREEN, BLUE dispose in 2x2 matrix) then:
first line is RGRGRGRGRGRG...
second line is: GBGBGBGBGBGB...
third line is: RGRGRGRG...
and so on ...