[MOD] Long Exposure For Mi 4c

HackTube

Member
Mar 6, 2014
36
13
0
Good news for all of us!! Now mi 4c long exposure tweaks available up to 16s.
This tweak can only be used in manual mode, and make the auto mode can not be used. So the range of the camera application can not be in use. So you guys can only use manual mode only.

This tweak only works on MIUI ROM.

And for the current tweaks can only be used on a sensor imx258_sunny instead of imx258. To find out the check in the hardware info by pressing the kernel version several times and then select check version info then you will find some information like this.




TUTORIAL


Backup file lib before replaces file lib MOD.

Materials
- Root
- File Explorer
- File tweak camera - you can download in the bottom of post


  1. Download file tweak camera. And extract the file.
  2. Open file explorer. Go to system/vendor/lib/ and replace the original file libmmcamera_imx258_sunny with file tweak camera. Don't forget to original backup file.
  3. Sett permission rw-r--r--
  4. Reboot
  5. Launch camera. Go to mode > select manual
  6. Check your shutter speed and enjoy to capture light painting and light trails!!!

For users of imx258 or non sunny is still in the testing phase for tweak camera...

This mod made by Georgi Kiarie, to say thank you bought him some beer.


PayPal: [email protected]

Credit
- Georgie Kiarie
- My phone



This mod has been tested in my Mi 4c uses ROM MIUI.eu 8 7.3.9 Nougat. And working on all of the MIUI ROM.
this is results of my photos capture with Mi 4c tweak long exposure.






 

Attachments

Last edited:

HackTube

Member
Mar 6, 2014
36
13
0

5ulo

Senior Member
Jul 13, 2009
52
17
0
imx258 here :( so no fun for me. Also mentioned api2 hasn't unlocked long exposure for me.

Sent from my Mi-4c using Tapatalk
 

Grellenort

Senior Member
Nov 22, 2015
118
36
48
On Miui based on Lollipop in hardware info it was information that I have imx258 sunny but on Nougat there is no "sunny" anymore. What the hell?
 

5ulo

Senior Member
Jul 13, 2009
52
17
0
As HackTube has mentioned - it's ROM effect - I decided to try the mod.. Still no fun for me.. only 1/2s. So it looks like I definitely don't have sunny on my Nougat MIUI
 

Nightbluster

Member
Jul 4, 2014
10
4
0
Ahmedabad
Can anyone help me with my redmi note 4x? It have the same sensor imx258 ofilm

Hi,
I am using Redmi Note 4 (Snapdragon) which have the same sensor Sony IMX258
But in device information my back camera hardware is Ofilm IMX256. Can you please help me out. I bought redmi note 4 hoping that it would have long exposure but it is only 0.5s exposure. I have managed to get manual exposure settings and enabling camera 2 api but can't do anything else without camera driver.
Can you please make camera driver for Ofilm IMX256. or if I could use the library files you provided for Mi4c *IMX258.so or *IMX256_sunny.so
 
  • Like
Reactions: Nikish21

kokroo

Member
Jul 25, 2016
11
2
0
Hi,
I am using Redmi Note 4 (Snapdragon) which have the same sensor Sony IMX258
But in device information my back camera hardware is Ofilm IMX256. Can you please help me out. I bought redmi note 4 hoping that it would have long exposure but it is only 0.5s exposure. I have managed to get manual exposure settings and enabling camera 2 api but can't do anything else without camera driver.
Can you please make camera driver for Ofilm IMX256. or if I could use the library files you provided for Mi4c *IMX258.so or *IMX256_sunny.so
I'm trying to do the same thing. Let's see if it can be done.
 
  • Like
Reactions: Nightbluster

Nightbluster

Member
Jul 4, 2014
10
4
0
Ahmedabad
I'm trying to do the same thing. Let's see if it can be done.
Thanks. @defcomg already tried to help me. (in miui thread, but then he got busy I guess) He sent me test lib files. When I tried those I saw 12 s exposure setting on manual camera setting but as soon as I press shutter button camera app freeze and I have to force stop it. Couldn't even take normal picture with low exposure time. It is doable but it will just take time. I hope someone figure out soon. I desperately need that mod because redmi note 4 camera is already amazing! If I could take long exposure shots with that one then I would be perfect.

Even tho I am not pro coder (I know only enough programing and assembly language to understand a code little bit) I tried IDM Disassembler and try to compare both modded and original lib file. I could find only one instance where variable was taking some value from code for max exposure value. But in modified file it was assigned directly 120000000 value to that variable. Somehow I did that same changes but nothing happened. Then I stopped trying. Please someone help!!!
 

kuyy

New member
Sep 15, 2017
1
0
0
search the file Original.

if i wanna back to original, but i dont have a back up file libmmcamera_imx258.so
how to fix it?
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone