Thanks for this, but I'm using S5 G900F, so it won't help me. There were already some trying to reverse engineer the Stock camera of S5, but in the end nobody finished it and I think no one will look into it any longer on such an old device. After this there were few developers that ported the Camera of other devices as flashable files or Magisk modules but the result was only little better than AOSP Camera or ported Camera Apps. And also them stopped working on it any longer.
On good scenery you might not see the difference. But on bad like low light, against the light, moving object and so on you clearly see the difference and also stabilization is worse. Scenery that combines some bad options give you only very bad pictures. It's like problems multiply instead only add.
But back to the topic, Xposed is a must have for me as I would never use my phone without XPrivacy, it has almost all of my privacy data and that of friends.
It's just very bad that I have to use such an unclean way to get Xposed working.