[Xiaomi Redmi 1S] BluPix:
Hi, i have problem to take photo to sd card. I use A Better Camera Unlocked, but i had same problem with Camera FV-5, photos is taken, stored to sd card, but thumbnail generation fails and gallery see this photo as blank file until reboot.

I found this in log:

09-20 16:56:45.490: E/QCamera2HWI(201): int32_t qcamera::QCamera2HardwareInterface::processHDRData(cam_asd_hdr_scene_data_t) : hdr_scene_data: processHDRData: 0 0.000000

09-20 16:56:45.509: E/JHEAD(4640): can't open '/storage/usbdisk/DCIM/Camera/20150920_165644_BEST.jpg'

09-20 16:56:45.509: E/JHEAD(4640): can't open '/storage/usbdisk/DCIM/Camera/20150920_165644_BEST.jpg'

09-20 16:56:45.510: E/BitmapFactory(4640): Unable to decode stream: java.io.FileNotFoundException: /storage/usbdisk/DCIM/Camera/20150920_165644_BEST.jpg: open failed: EACCES (Permission denied)

09-20 16:56:45.510: E/BitmapFactory(4640): Unable to decode stream: java.io.FileNotFoundException: /storage/usbdisk/DCIM/Camera/20150920_165644_BEST.jpg: open failed: EACCES (Permission denied)

09-20 16:56:45.519: E/ThumbnailUtils(4640): java.io.FileNotFoundException: /storage/usbdisk/DCIM/Camera/20150920_165644_BEST.jpg: open failed: EACCES (Permission denied)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at libcore.io.IoBridge.open(IoBridge.java:456)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at java.io.FileInputStream.<init>(FileInputStream.java:76)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at java.io.FileInputStream.<init>(FileInputStream.java:103)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at android.media.ThumbnailUtils.createImageThumbnail(ThumbnailUtils.java:103)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at android.provider.MediaStore$InternalThumbnails.getThumbnail(MediaStore.java:731)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at android.provider.MediaStore$Images$Thumbnails.getThumbnail(MediaStore.java:1063)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at com.almalence.googsharing.Thumbnail.getLastThumbnail(Thumbnail.java:248)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at com.almalence.opencam_plus.ui.AlmalenceGUI$UpdateThumbnailButtonTask.doInBackground(AlmalenceGUI.java:7878)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at com.almalence.opencam_plus.ui.AlmalenceGUI$UpdateThumbnailButtonTask.doInBackground(AlmalenceGUI.java:1)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at android.os.AsyncTask$2.call(AsyncTask.java:292)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at java.util.concurrent.FutureTask.run(FutureTask.java:237)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at java.lang.Thread.run(Thread.java:818)

09-20 16:56:45.519: E/ThumbnailUtils(4640): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at libcore.io.Posix.open(Native Method)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	at libcore.io.IoBridge.open(IoBridge.java:442)

09-20 16:56:45.519: E/ThumbnailUtils(4640):	... 14 more

09-20 16:56:45.520: E/Thumbnail(4640): Failed to create thumbnail from null bitmap

It looks like problem with permissions, i tried to format sd card to f2fs like internal eMMC, but it didn't helped so i think problem is somewhere between fuse emulation of sd card and selinux.