[Q] [Xiaomi Mi4] [Android 4.4.4] Change max exposure time MIUI camera

Hello,

Actually I have a project, let me explain :
On Xiaomi Mi4 running MIUI 6 (android 4.4.4) I have a sony imx214 sensor able of 32 seconds exposure time maximum, but on MIUI camera stock app I have a manual mode allowing me only 1 second exposure time maximum. (Yes I know that I need a tripod for long exposure shots). And I searched how to increase this maximum exposure time.

Xiaomi actually sells a MiNote which has almost the same sensor and able of 32s exposure time. So I took the camera apk from MiNote and replaced it on my Mi4, changing the permissions of the system app of course, but no way I still get 1s exposure maximum. So this setting is related to a dependency of the camera apk.

I tried to decompile apk, no result of what I was seraching for, I also tried apk analyzer app, but it's too much complex for me (I'm a newbie). I also made a project on dexter but I still don't understand how to see dependencies. I tried to make logcats when I changed the exposure time in manual mode and here's what I get :

Code:
D/QCameraParameters( 248): int32_t qcamera::QCameraParameters::setExposureTime(const char*), exposure time: 1000000

I searched everywhere and I was not able to find the QCameraParameters.

If someone is able to help me I can share dexter project with him.
But if no one has time can you just give me a clue?

Edit : Attachement of camera properties, here is the line telling me that camera can handle 32s exposure :

Code:
max-exposure-time=32000000;

And someone here managed to modify it :
But can't flash his rom, and it's russian.

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by dkemmer
3 hours ago
Last post by vivian65
3 hours ago
Last post by hquigley
48 minutes ago
Last post by madison21
1 hour ago
Last post by pwatsica
1 hour ago
Last post by miller.valentin
19 minutes ago
Last post by lonzo77
3 hours ago
Last post by walker.lenny
47 minutes ago