Originally Posted by Atrvscet
Replace libcameracustom.so in system/lib folder from stock one.
I tried 2 methods to do this already:
1. Tried to replace this file using root explorer. However, it doesn't allow me to copy any file inside system/lib. Also tried various other explorers to do this. Same issue - doesn't allow copying inside system/lib.
2. I has some patch zip package - autofocus.zip and af.zip (2 different patches I googled). I modified these zip to remove their zip content and add my stock rom file 'libcameracustom.so". Then I flashed this zip file in recovery mode. In this case phone hangs. I had to reflash your rom to get it working again. Pls note, the zip file also contains META folder with some CERT files etc which I did not remove. I only removed from /lib folder and added from my stock rom system/lib/libcameracustom.so
Maybe I tried wrong ways to replace "libcameracustom.so" - explain me the right way to do it.