Revert "Remove length parameter for encryption"

 * Seems like our old device still needs this

This reverts commit 68033d49d9e91f2ca5ba68c93050125c836da891.
Avoid "no service" when phone is encrypted
cameraHAL: Squashed update of cameraHAL

* squashed of the following commits:

1-https://github.com/sirmordred/android_device_samsung_ancora/commit/c5959a5f01a9b7d2ee7ab07921e8289a7e9f4ef7
2-https://github.com/sirmordred/android_device_samsung_ancora/commit/cda7a2346d665bc9107a0dbcdff013d875e3a14f
3-https://github.com/sirmordred/android_device_samsung_ancora/commit/d92db218e3d667e257eb86a55a2971b65c349bd4
4-https://github.com/sirmordred/android_device_samsung_ancora/commit/1fa31654d9aa3148419b5b365612b97e87e8861e
5-https://github.com/sirmordred/android_device_samsung_ancora/commit/ab221b66dc155e4e291b74962d35101386cff061
Disable metadata mode