after root the phone with magisk the camera not working so the solutin is simple juste replace :
ElementalX-S9-2.01 with ElementalX-S9-2.08
https://elementalx.org/devices/samsung-galaxy-s9/
and Magisk-v18.1 with Magisk-v19.3
https://magiskmanager.com/magisk-beta
ElementalX-S9-2.01 with ElementalX-S9-2.08
https://elementalx.org/devices/samsung-galaxy-s9/
and Magisk-v18.1 with Magisk-v19.3
https://magiskmanager.com/magisk-beta