[Redmi K20 / Xiaomi Mi 9T ROMs, Kernels, Recoveries] Leeward_Fr:
I clear app's data, I uninstall/reinstall, try another Gcam app, nothing. Crash immediatly.

I try with Open Camera, and I can change camera module, but not 48 Mpixel.

Here, all the details from this app :

Camera ID 0 :

Open Camera v1.47.3

Code: 74

Package: net.sourceforge.opencamera

Android API version: 28

Device manufacturer: Xiaomi

Device model: Mi 9T

Device code-name: qcom

Device variant: davinci

Language: fr

Standard max heap?: 512

Large max heap?: 512

Display size: 1080x2196

Display metrics: 1080x2196

Current camera ID: 0

No. of cameras: 5

Camera API: Camera2 (Android L)

Preview resolutions: 2340x1080, 2160x1080, 1920x1080, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Preview resolution: 1440x1080

Photo resolutions: 4000x3000, 4000x2250, 3840x2160, 3264x2448, 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Photo resolution: 4000x3000

Video qualities: 1, 6_r2592x1940, 6_r2688x1512, 6_r1920x1440, 6_r2340x1080, 6_r2160x1080, 6, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1560x720, 5_r1440x720, 5, 4_r800x600, 4, 3_r640x480, 3_r640x360, 3, 7, 2

Video resolutions: 3840x2160, 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Video quality: 6

Video frame width: 1920

Video frame height: 1080

Video bit rate: 20000000

Video frame rate: 30

Video capture rate: 30.0

Video high speed: false

Video capture rate factor: 1.0

Auto-level?: Disponible

Auto-level enabled?: false

Face detection?: Disponible

RAW?: Disponible

HDR?: Disponible

Panorama?: Disponible

Expo?: Disponible

Expo compensation?: Disponible

Exposure compensation range: -12 to 12

Manual ISO?: Disponible

ISO range: 100 to 12800

Manual exposure?: Disponible

Exposure range: 14438 to 35158714500

Manual WB?: Disponible

WB temperature: 1000 to 15000

Video stabilization?: Disponible

Tonemap max curve points: 64

Can disable shutter sound?: Disponible

Camera view angle: 67.71213 , 51.12691

Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye

Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video

Color effects: none, mono, negative, solarize, sepia, posterize, aqua, blackboard, whiteboard

Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, sunset, fireworks, sports, party, candlelight

White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade

Magnetic accuracy?: -1

Using SAF?: false

Save Location: OpenCamera

Save Location SAF:

Parameters: None

Camera ID 1 (Front) :

Open Camera v1.47.3

Code: 74

Package: net.sourceforge.opencamera

Android API version: 28

Device manufacturer: Xiaomi

Device model: Mi 9T

Device code-name: qcom

Device variant: davinci

Language: fr

Standard max heap?: 512

Large max heap?: 512

Display size: 1080x2196

Display metrics: 1080x2196

Current camera ID: 1

No. of cameras: 5

Camera API: Camera2 (Android L)

Preview resolutions: 2340x1080, 2160x1080, 1920x1080, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Preview resolution: 1440x1080

Photo resolutions: 2592x1940, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Photo resolution: 2592x1940

Video qualities: 1_r2592x1940, 1_r1920x1440, 1_r2340x1080, 1_r2160x1080, 1, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1560x720, 5_r1440x720, 5, 4_r800x600, 4, 3_r640x480, 3_r640x360, 3, 7, 2

Video resolutions: 2592x1940, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Video quality: 1

Video frame width: 1920

Video frame height: 1080

Video bit rate: 20000000

Video frame rate: 30

Video capture rate: 30.0

Video high speed: false

Video capture rate factor: 1.0

Auto-level?: Disponible

Auto-level enabled?: false

Face detection?: Disponible

RAW?: Disponible

HDR?: Disponible

Panorama?: Disponible

Expo?: Disponible

Expo compensation?: Disponible

Exposure compensation range: -12 to 12

Manual ISO?: Disponible

ISO range: 100 to 1600

Manual exposure?: Disponible

Exposure range: 16080 to 1053481200

Manual WB?: Disponible

WB temperature: 1000 to 15000

Video stabilization?: Disponible

Tonemap max curve points: 64

Can disable shutter sound?: Disponible

Camera view angle: 67.06704 , 50.52344

Flash modes: flash_off, flash_frontscreen_auto, flash_frontscreen_on, flash_frontscreen_torch

Focus modes: None

Color effects: none, mono, negative, solarize, sepia, posterize, aqua, blackboard, whiteboard

Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, sunset, fireworks, sports, party, candlelight

White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade

Magnetic accuracy?: -1

Using SAF?: false

Save Location: OpenCamera

Save Location SAF:

Parameters: None

Camera ID 2 :

Open Camera v1.47.3

Code: 74

Package: net.sourceforge.opencamera

Android API version: 28

Device manufacturer: Xiaomi

Device model: Mi 9T

Device code-name: qcom

Device variant: davinci

Language: fr

Standard max heap?: 512

Large max heap?: 512

Display size: 1080x2196

Display metrics: 1080x2196

Current camera ID: 2

No. of cameras: 5

Camera API: Camera2 (Android L)

Preview resolutions: 2340x1080, 2160x1080, 1920x1080, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Preview resolution: 1440x1080

Photo resolutions: 3264x2448, 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Photo resolution: 3264x2448

Video qualities: 6_r2592x1940, 6_r2688x1512, 6_r1920x1440, 6_r2340x1080, 6_r2160x1080, 6, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1560x720, 5_r1440x720, 5, 4_r800x600, 4, 3_r640x480, 3_r640x360, 3, 7, 2

Video resolutions: 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Video quality: 6

Video frame width: 1920

Video frame height: 1080

Video bit rate: 20000000

Video frame rate: 30

Video capture rate: 30.0

Video high speed: false

Video capture rate factor: 1.0

Auto-level?: Disponible

Auto-level enabled?: false

Face detection?: Disponible

RAW?: Disponible

HDR?: Disponible

Panorama?: Disponible

Expo?: Disponible

Expo compensation?: Disponible

Exposure compensation range: -12 to 12

Manual ISO?: Disponible

ISO range: 100 to 3410

Manual exposure?: Disponible

Exposure range: 13430 to 880067900

Manual WB?: Disponible

WB temperature: 1000 to 15000

Video stabilization?: Disponible

Tonemap max curve points: 64

Can disable shutter sound?: Disponible

Camera view angle: 36.519066 , 27.404793

Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye

Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video

Color effects: none, mono, negative, solarize, sepia, posterize, aqua, blackboard, whiteboard

Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, sunset, fireworks, sports, party, candlelight

White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade

Magnetic accuracy?: -1

Using SAF?: false

Save Location: OpenCamera

Save Location SAF:

Parameters: None

Camera ID 3 :

Open Camera v1.47.3

Code: 74

Package: net.sourceforge.opencamera

Android API version: 28

Device manufacturer: Xiaomi

Device model: Mi 9T

Device code-name: qcom

Device variant: davinci

Language: fr

Standard max heap?: 512

Large max heap?: 512

Display size: 1080x2196

Display metrics: 1080x2196

Current camera ID: 3

No. of cameras: 5

Camera API: Camera2 (Android L)

Preview resolutions: 2340x1080, 2160x1080, 1920x1080, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Preview resolution: 1440x1080

Photo resolutions: 4208x3120, 4000x3000, 4000x2250, 4096x2160, 3840x2160, 3264x2448, 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Photo resolution: 4208x3120

Video qualities: 1_r4096x2160, 1, 6_r2592x1940, 6_r2688x1512, 6_r1920x1440, 6_r2340x1080, 6_r2160x1080, 6, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1560x720, 5_r1440x720, 5, 4_r800x600, 4, 3_r640x480, 3_r640x360, 3, 7, 2

Video resolutions: 4096x2160, 3840x2160, 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Video quality: 6

Video frame width: 1920

Video frame height: 1080

Video bit rate: 20000000

Video frame rate: 30

Video capture rate: 30.0

Video high speed: false

Video capture rate factor: 1.0

Auto-level?: Disponible

Auto-level enabled?: false

Face detection?: Disponible

RAW?: Disponible

HDR?: Disponible

Panorama?: Disponible

Expo?: Disponible

Expo compensation?: Disponible

Exposure compensation range: -12 to 12

Manual ISO?: Disponible

ISO range: 100 to 3200

Manual exposure?: Disponible

Exposure range: 10225 to 669890875

Manual WB?: Disponible

WB temperature: 1000 to 15000

Video stabilization?: Disponible

Tonemap max curve points: 64

Can disable shutter sound?: Disponible

Camera view angle: 98.019394 , 74.888016

Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye

Focus modes: None

Color effects: none, mono, negative, solarize, sepia, posterize, aqua, blackboard, whiteboard

Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, sunset, fireworks, sports, party, candlelight

White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade

Magnetic accuracy?: -1

Using SAF?: false

Save Location: OpenCamera

Save Location SAF:

Parameters: None

Camera ID 4 :

Open Camera v1.47.3

Code: 74

Package: net.sourceforge.opencamera

Android API version: 28

Device manufacturer: Xiaomi

Device model: Mi 9T

Device code-name: qcom

Device variant: davinci

Language: fr

Standard max heap?: 512

Large max heap?: 512

Display size: 1080x2196

Display metrics: 1080x2196

Current camera ID: 4

No. of cameras: 5

Camera API: Camera2 (Android L)

Preview resolutions: 2340x1080, 2160x1080, 1920x1080, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Preview resolution: 1440x1080

Photo resolutions: 4208x3120, 4000x3000, 4000x2250, 4096x2160, 3840x2160, 3264x2448, 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Photo resolution: 4208x3120

Video qualities: 1_r4096x2160, 1, 6_r2592x1940, 6_r2688x1512, 6_r1920x1440, 6_r2340x1080, 6_r2160x1080, 6, 5_r1600x1200, 5_r1440x1080, 5_r1280x960, 5_r1560x720, 5_r1440x720, 5, 4_r800x600, 4, 3_r640x480, 3_r640x360, 3, 7, 2

Video resolutions: 4096x2160, 3840x2160, 2592x1940, 2688x1512, 1920x1440, 2340x1080, 2160x1080, 1920x1080, 1600x1200, 1440x1080, 1280x960, 1560x720, 1440x720, 1280x720, 800x600, 720x480, 640x480, 640x360, 352x288, 320x240, 176x144

Video quality: 6

Video frame width: 1920

Video frame height: 1080

Video bit rate: 20000000

Video frame rate: 30

Video capture rate: 30.0

Video high speed: false

Video capture rate factor: 1.0

Auto-level?: Disponible

Auto-level enabled?: false

Face detection?: Disponible

RAW?: Disponible

HDR?: Disponible

Panorama?: Disponible

Expo?: Disponible

Expo compensation?: Disponible

Exposure compensation range: -12 to 12

Manual ISO?: Disponible

ISO range: 100 to 12800

Manual exposure?: Disponible

Exposure range: 14438 to 35158714500

Manual WB?: Disponible

WB temperature: 1000 to 15000

Video stabilization?: Disponible

Tonemap max curve points: 64

Can disable shutter sound?: Disponible

Camera view angle: 67.71213 , 50.617004

Flash modes: flash_off, flash_auto, flash_on, flash_torch, flash_red_eye

Focus modes: focus_mode_auto, focus_mode_macro, focus_mode_locked, focus_mode_infinity, focus_mode_manual2, focus_mode_continuous_picture, focus_mode_continuous_video

Color effects: none, mono, negative, solarize, sepia, posterize, aqua, blackboard, whiteboard

Scene modes: auto, action, portrait, landscape, night, night-portrait, theatre, beach, snow, sunset, fireworks, sports, party, candlelight

White balances: auto, manual, incandescent, fluorescent, warm-fluorescent, daylight, cloudy-daylight, twilight, shade

Magnetic accuracy?: -1

Using SAF?: false

Save Location: OpenCamera

Save Location SAF:

Parameters: None

Also, OTG don't work.

With stock ROM, OTG works with Fat32 and exFat format.

Finally, after some days with this custom ROM, only Camera stock app and OTG missed me. All the rest is fine. Bye bye Google's apps and Xiaomi's cloud and apps. :fingers-crossed: