Hi Ehsan,
Based on the camera2 API definition, to manually control the ISO or exposure time might need to set the CONTROL_AE_MODE or 'CONTROL_MODE' to OFF.
I'd recommend using camera2 API and set the parameters under the manual mode for your requirement.
CameraX primarily utilizes CAF, the manual control option doesn't support it yet. It's quite challenging to ensure compatibility across different devices.