If you have a (Xiaomi) mobile phone, any phone will suit you. For OnePlus 8 use org.codeaurora.snapcam. For OnePlus 7 use com.google.android.GoogleCameraEng. For Samsung use com.samsung.android.scan3d in all other cases you can install any
focus.maximum_distance_enabled
for infinite button, focus.far_distance_enabled
for far button, focus.minimum_distance_enabled
to the next button. If you enable these options, the distance value will be taken from your device's system camera characteristics. And input manual distance value will not workNote: A clean install is required. The previous xmls will not work. If you still find any bugs, report them, I'll try to fix them