• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ZIP]OOS 2.2.0 Camera patch for low light recording

Search This thread

Loureiro

Senior Member
Aug 6, 2011
808
427
Alentejo
Hello

I got tired waiting for an official fix, so I came up with this workaround.

twrp-flashable_OPX2.2.0_camera_patch.zip
- This zip with apply the OPX front camera configuration.
twrp-flashable_OPX_camera_patch_imx214.zip - This zip will apply the OPO rear camera configuration

You'll be able to record 1080p at night without worrying about the fps drop issue.

I am not responsible for any damage on your device when applying this patch.


EDIT: Added a revert flashable zip.
EDIT2: Added zip file with imx214 libchromatix_default_video.so
 

Attachments

  • twrp-flashable_OPX2.2.0_camera_patch.zip
    196.8 KB · Views: 4,243
  • twrp-flashable_OPX2.2.0_camera_patch_revert.zip
    196.8 KB · Views: 1,113
  • twrp-flashable_OPX_camera_patch_imx214.zip
    196.5 KB · Views: 1,737
Last edited:

RJMacReady

Senior Member
Sep 11, 2014
145
27
Niagara Falls
Swapped my Recent and Back buttons.

Edit:
A couple reboots might've fixed this, but I also messed with Gravity Box a bit as well. There's two options to fixing that problem, potentially.
 
Last edited:
  • Like
Reactions: susheel61

Loureiro

Senior Member
Aug 6, 2011
808
427
Alentejo
Swapped my Recent and Back buttons.

Edit:
A couple reboots might've fixed this, but I also messed with Gravity Box a bit as well. There's two options to fixing that problem, potentially.

This patch shouldn't mess with buttons layout. You might had a pending operation that took effect on reboot when you flashed this zip.
 

ChavitoArg

Senior Member
Aug 13, 2011
1,250
656
It works perfect now, thank you so much for this mod. Where did this libs came from?
Shame on One Plus btw.

#E1005
 
Last edited:

alabama20

Senior Member
Dec 24, 2010
186
44
Bratislava
Can anybody upload a sample on YT? Please I wan't to see what is this beauty capable of in low light video. Maybe I'll pop the cherry of my OPX and root it tomorrow :D OP thanks for the fix!
 

ashwinpilgaonkar

Senior Member
Aug 30, 2013
132
55
26
Panaji
Hello

I got tired waiting for an official fix, so I came up with this workaround.

This patch will replace the binary file libchromatix_s5k3m2_default_video.so
You'll be able to record 1080p at night without worrying about the fps drop issue.

This has been tested on my device only.
I am not responsible for any damage on your device when applying this patch.

Do a system backup if you're worried.

EDIT: I've added a revert flashable zip.

Great job! What did you need to change in that file to get it done?
 

Loureiro

Senior Member
Aug 6, 2011
808
427
Alentejo
does your phone need to be rooted or will it work fine with stock?
No. You just need a recovery to flash the zip file
Does this patch works also with custom roms like cm13?
I should work if the custom rom uses the same BLObs as Oxygen OS.

It means that, for now, it works on cm12.1 and cm13
Sorry. This patch is for default camera only? Or its for any camera apps running on oss 2.20?
This patch is system wide. Any camera app will work with this.
It works perfect now, thank you so much for this mod. Where did this libs came from?
Shame on One Plus btw.

#E1005

did you take it from s4 or hydrogenos?
do you think any more improvements are possible by replacing the blobs?
I've tested other s5k3m2 binaries from other devices but they all miss some needed instructions.

This is the front camera binary :)
tested the imx214 file but it pushes iso way too high.
 
  • Like
Reactions: MarkoPam

alabama20

Senior Member
Dec 24, 2010
186
44
Bratislava
No. You just need a recovery to flash the zip file

I should work if the custom rom uses the same BLObs as Oxygen OS.

It means that, for now, it works on cm12.1 and cm13

This patch is system wide. Any camera app will work with this.



I've tested other s5k3m2 binaries from other devices but they all miss some needed instructions.

This is the front camera binary :)
tested the imx214 file but it pushes iso way too high.

Wait it does not require root and a custom recovery?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 42
    Hello

    I got tired waiting for an official fix, so I came up with this workaround.

    twrp-flashable_OPX2.2.0_camera_patch.zip
    - This zip with apply the OPX front camera configuration.
    twrp-flashable_OPX_camera_patch_imx214.zip - This zip will apply the OPO rear camera configuration

    You'll be able to record 1080p at night without worrying about the fps drop issue.

    I am not responsible for any damage on your device when applying this patch.


    EDIT: Added a revert flashable zip.
    EDIT2: Added zip file with imx214 libchromatix_default_video.so
    8
    then make video only with this mod pliss :D
    It's uploading ;)

    Inviato dal mio ONE E1003 utilizzando Tapatalk

    ---------- Post added at 07:45 PM ---------- Previous post was at 07:35 PM ----------

    Here we go https://youtu.be/-D7WmH4QF4o sorry for my English xD

    Inviato dal mio ONE E1003 utilizzando Tapatalk
    3
    Hi @Loureiro
    So... Recording with Google Camera at 720p with the stock .so file it's the best option right now?
    I don't care if I record videos at 720p, nowadays still good quality for me :)

    The file that we are replacing only affects 1080p recording.

    In fact, 720p with Google Camera does not record at 60fps. It records at around 90fps. That's too damn high, lol. It looks like you speeded up the video and every little shake is noticeable.

    After comparing almost 10 clips of every different binary file, I may have changed my preference to the imx214 file. It may be the best compromise between sharpness, color accuracy and framerate
    2
    Great work mate, Oneplus have to work really hard about software
    2
    Tuga power ftw! Obrigado! :)