FORUMS
Remove All Ads from XDA

[MOD][9.0+][EXPERIMENTAL] 4K50/1440p60/1080p120/720p220 for OnePlus 3/3T

190 posts
Thanks Meter: 718
 
By 3liteking148, Senior Member on 8th September 2019, 06:18 AM
Post Reply Email Thread
4K50fps / QHD 60fps / 1080p 120fps / 720p 220fps for OnePlus 3/3T


Code:
#include "std_disclaimer.h"
/*
 * Your (probably expired) warranty is now void.
 *
 * I am not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at me for messing up your device, I will laugh at you.
 */
Disclaimer: This overclocks the camera sensor to safe limits. This should be safe as long as the camera is not running for an extended period of time (more than a few hours).

Features:
  • 4K (3840x2160) up to ~50 FPS
  • 1800p (3264x1836) and 1440p (2560x1440) recording up to 60 FPS
  • 1080p up to 120+ FPS
  • Enhanced zoom in 1080p60 mode
  • 720p up to 220 FPS (Advertised as 240FPS in camera apps)



Issues (to be fixed in next release):
  • PDAF is disabled in 30/60 FPS recording mode
  • First few seconds of 220 FPS recording have stutters/frame drops (possible HW encoder issue)
  • 60FPS is very noisy (pixel binning is disabled and noise reduction isn't that good in 60fps)
  • FreedCam 50/60FPS recordings are laggy



Notes:
  • Only tested with GCam (Arnova Pixel2Mod V8.3, newer GCams record 60fps as 40fps), OpenCamera, FreedCam
  • Untested with 8.1 and below ROMs but might work as there aren't major changes from 8.1 to 9.0 camera libraries

Installation:
  • Move libmmcamera_imx298.so to /system/vendor/lib/
  • To enable 1440p in apps: Move libmmcamera2_mct.so to /system/vendor/lib/
  • Reboot or type this in terminal
    Code:
    su
    stop qcamerasvr
    stop vendor.camera-provider-2-4
    start qcamerasvr
    start vendor.camera-provider-2-4
  • Use FreedCam profiles below to record in FreedCam

Recommended to use with Slow Motion Fix but it breaks OOS Camera HDR/HQ

Downloads:
https://mega.nz/#F!WRdQDYzL!WsNx3lQ7Wxh2MnuZ8BF3dA

Magisk module will come soon

Credits:
  • @lesharodin and kawr (4PDA) for 200fps Mi 5 camera mods
  • @defcomg for camera lib modding tutorials
Attached Thumbnails
Click image for larger version

Name:	1080p.png
Views:	1772
Size:	121.9 KB
ID:	4816657   Click image for larger version

Name:	1440p.png
Views:	1764
Size:	120.7 KB
ID:	4816658   Click image for larger version

Name:	2160p.png
Views:	1766
Size:	123.4 KB
ID:	4816659  
The Following 20 Users Say Thank You to 3liteking148 For This Useful Post: [ View ] Gift 3liteking148 Ad-Free
9th September 2019, 02:51 PM |#2  
Member
Thanks Meter: 84
 
More
Couldn't get it working on 9.0.5 OOS.
9th September 2019, 04:20 PM |#3  
OP Senior Member
Flag Quezon City
Thanks Meter: 718
 
More
Quote:
Originally Posted by rdNNNN

Couldn't get it working on 9.0.5 OOS.

Doesn't work in OOS Camera or in all 3rd party camera apps?

Also slow motion fix might help because in OnePlus stock HAL3 slow motion is broken for 3rd party apps.
9th September 2019, 05:42 PM |#4  
Member
Thanks Meter: 84
 
More
Quote:
Originally Posted by 3liteking148

Doesn't work in OOS Camera or in all 3rd party camera apps?

Also slow motion fix might help because in OnePlus stock HAL3 slow motion is broken for 3rd party apps.

No slow motion module installed. Stock OOS 9.0.5
OOS camera wouldn't open (some toast message regarding camera services IIRC). Gcam black screen. Freedcam wouldn't get past that black screen that enumerates câmera capabilities (on first start up)


Just for curiosity, what setup are you running?
10th September 2019, 07:04 AM |#5  
OP Senior Member
Flag Quezon City
Thanks Meter: 718
 
More
Quote:
Originally Posted by rdNNNN

No slow motion module installed. Stock OOS 9.0.5
OOS camera wouldn't open (some toast message regarding camera services IIRC). Gcam black screen. Freedcam wouldn't get past that black screen that enumerates câmera capabilities (on first start up)


Just for curiosity, what setup are you running?

Havoc OS 2.7 with slow motion fix.
10th September 2019, 06:15 PM |#6  
Senior Member
Thanks Meter: 62
 
More
Very interesting... Waiting for magisk module
10th September 2019, 10:17 PM |#7  
Senior Member
Thanks Meter: 121
 
More
Quote:
Originally Posted by grotesque02

Very interesting... Waiting for magisk module

Seriously, this is great ! Will try with the magisk module, these camera libs sort of don't work for me.

Extracting the last drops of juice from my 3t
13th September 2019, 08:15 PM |#8  
Senior Member
Flag Tripoli
Thanks Meter: 158
 
More
wwoww this is very interresting for our phone
19th September 2019, 07:50 AM |#9  
Senior Member
Thanks Meter: 62
 
More
No more update?
2nd October 2019, 11:34 AM |#10  
Junior Member
Thanks Meter: 0
 
More
What should I do after rebooting?
Can't find where the 240fps in gcam or freeDCamera
2nd October 2019, 03:07 PM |#11  
Prime99's Avatar
Junior Member
Flag Thane
Thanks Meter: 1
 
More
Quote:
Originally Posted by MayBAMemory

Can't find where the 240fps in gcam or freeDCamera

You want to say that modified libs worked on your OP3/T?
It didn't gave you black screen in Gcam?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes