********** SCRIPTS FOR MI 13 ULTRA BELOW *********

Code for Enabling

Send Root Shell Command 1:

setprop vendor.debug.camera.overrideForceSensorMode 0

Send root Shell Command 2:

#!/system/bin/sh
stop media
cp /storage/emulated/0/mod/enable/camera.qcom.so /data/adb/modules/dbg/system/vendor/lib64/hw
sleep 1
start media
sleep 1
killall -1 vendor.qti.camera.provider-service_64
pm trim-caches 9999999999999

Code for Disabling

Send root Shell Command 1:

resetprop --delete vendor.debug.camera.overrideForceSensorMode

Send root Shell Command 2:

#!/system/bin/sh
stop media
cp /storage/emulated/0/mod/disable/camera.qcom.so /data/adb/modules/dbg/system/vendor/lib64/hw
sleep 1
start media
sleep 1
killall -1 vendor.qti.camera.provider-service_64
pm trim-caches 9999999999999