What problems did you have with the ZSL when using my reset script?
The script call the original libmmcamera_imx135.so from a 6.0.1 ROM which works on Nougat as well, it should not give any errors as far as I can tell. Camera libs from M and N should be backward compatible.
From what I've tested, the script seems unable to push this specific file to the directory. Here's what I did step by step.
Run on of the ZSL scripts. Tested in snapdragon camera. Live preview got stuttery in low light, as it's 100% expected. Working good so far.
Wanted to revert to stock so I could use some apps that rely on ZSL to get the pic. (Ex. Facebook Messenger)
Run the ResetZSL and ResetAll script. Snapdragon camera and other ZSL apps still stuck with your mod. Clear all apps, reseted again. Same. Full reboot. Same.
To "debug" the thing, I've looked into /system/vendor/lib and seacher and saw that the libmmcamera_imx135.so had the time and date from when i initally run the script. As I conclude, the reset script was unable to replace this specific file.
Used the SH script runner with SU mode. Applied fine as I said before.
Moving the libmmcamera_imx135.so from backup/original and manually and applying the permissions made the trick as camera is now stock. Just pointed this here as it's much more intuitive to have the ability to change from mod/stock with a working script, than having to manual move the files.
I don't know if you can reproduce this, it may be some specific bug with my device. Using cm13 (last november nighly) + lambda kernel and xposed v87.
Thanks for your work
PS: To have it to work, using root browser, I had to first delete the file, and then paste the backup from original. Trying to replace directly made root browser stuck in 0% operation. If you can reproduce the problem, you may want to edit the script to delete file first, then copy + permissions fix