Camera problems
tl;dr Camera app saves corrupted photos (issue already present on stock rom)
Yesterday I took my old sensation from the dusty drawers and tried to give it a second life.
It was running on stock rom 4.0.3 with hboot 1.27.
On this stock rom the camera was already working ****ty, It only saved the photos correctly when using it without flash. If the photo was taken with flash it would save the file corruptly and it couldn't be viewed in the gallery.
I started with unlocking bootloader, then performed the s-off with the wire trick
I installed twrp recovery and supersu for permanent root.
Then I flashed this mod and after that gapps pico.
All works fine (even the torch works, haven't tried fm radio yet but i don't care about that)
The thing is, the cm13 camera app still doesnt work, it takes a photo (with or without flash) and saves it to the sd card, but it is always corrupted.
I thought the camera module, sd card or sd card slot could be faulty.
I tried multiple sd cards, and tried formatting them for internal storage or removeable storage.
It still doesn't work.
Now the strange part:
I've tried other camera apps, they gave the same result.
But snapchat is working. If I take a photo with snapchat and press the save button, it saves a valid photo to the sd card.
So I guess none of them are faulty, it's probably a software issue.
Thanks for reading this long story,
Anyone have any suggestions or tips?
Thanks in advance