[PORT] [APP] [7.1.x - 8.x.x] Oneplus 5 camera to Bacon

Is working?


  • Total voters
    40
  • Poll closed .

Minions_Army

Senior Member
Nov 7, 2012
767
290
93
【Gru Laboratories】
Confirmed working on Aosp Oreo but not all feature can be used


Hy Guys
I've succes port OP5 cam to bacon
I got this from OP2 thread,add lib arm from OP cam 1.4 and gallery

I try in XOS(HalogenOs) rom with OOS blobs Pro mode working but not working in other rom (see atachement)

Code:
Working :
Normal mode
HQ
HDR (may be crash on other rom)
PRO Mode (rom with OOS blobs only)
Video 1080P
Slow motion (OOS blob)
Watermark 
Oneplus Gallery
Code:
Not working :
Smile capture 
Beauty mode front camera
Panorama 
Etc need test
DOWNLOAD HERE


Go to here if you want to use OOS blob and kernel

Once again,,i said...
Backup is a must,Do with your own risk


FAQ :
Q:
I really dont like this camera? How to remove this?
A:
If you using new update
Go to system/addons
Delete 51-oos-camera.sh and reboot recovery and Reflash your rom
Or via twrp WIPE SYSTEM and CACHE ONLY and reflash rom and gapps
And if you using first mod
Just reflash your rom

Q:
Where is pro mode?
A:
Use OOS blobs to use pro mode

Q:
Why gallery not showing anyting?
A:
I dont know,everything works for me except on main bug list

Q:
Selfie upside down
A:
The selfies are upside down on sultan's los 14.1, apart from that everything's awesome and minimalistic.

Edit: problem solved, just switched the invert selfie option.


Thanks To
Oneplus
Msf-jarvis
Siankatabg
ghbuur
vignesh95
All of you :D



If you got error in here on here and want 100% working
Just buy OP5 problem solved :p:p
 

Attachments

Last edited:

WuerfelDev

New member
Sep 14, 2017
4
0
0
Thank you so much for the port!
I just flashed it on the latest LineageOS nightly.
OnePlus Gallery sadly doesn't work that well: It doesn't show thumbnails of pictures (but videos are fine) also it can't edit pictures. Histogram isn't shown on details page.

The camera works fine so far, except for smile capture, slow motion and panorama.

Please tell me how to get the pro mode (isn't clear to me yet) I have to flash the OOS blobs on it, right? Where do I get them? Does that work on lineage?

Thx
 

fidanza220

New member
Feb 19, 2015
1
0
0
Hy Guys
I've succes port OP5 cam to bacon
I got this from OP2 thread,add lib arm from OP cam 1.4 and galery

I try in XOS(HalogenOs) rom with OOS blobs Pro mode working but not working in other rom (see atachement)





Download Here

Backup is a must

If you got error in here on here and want 100% working
Just buy OP5 problem solved :p:p
Can I use it on lineage 7.1.2??
 

Minions_Army

Senior Member
Nov 7, 2012
767
290
93
【Gru Laboratories】
Works on Oreo Alpha except for Pro Mode and Slow Motion.

One interesting thing I found out. 2X mode still captures full 13MP shots.
Of course bcos Aosp O use sultan camera HaL not support pro mode
And i dont know how to change resolution :D

Thank you so much for the port!
I just flashed it on the latest LineageOS nightly.
OnePlus Gallery sadly doesn't work that well: It doesn't show thumbnails of pictures (but videos are fine) also it can't edit pictures. Histogram isn't shown on details page.

The camera works fine so far, except for smile capture, slow motion and panorama.

Please tell me how to get the pro mode (isn't clear to me yet) I have to flash the OOS blobs on it, right? Where do I get them? Does that work on lineage?

Thx
Idk with galery,,in here works for me
Just wait a second for loading thumbnail
Panorama never works i think
If u used slow motion just flash oos blobs
here oos blobs V3
But u must flash kernel too if you want camera works

Can I use it on lineage 7.1.2??
Oh c'mon...
Dont just come and quote my thread without reading and see comment post
 
Last edited:
  • Like
Reactions: WuerfelDev

WuerfelDev

New member
Sep 14, 2017
4
0
0
Of course bcos Aosp O use sultan camera HaL not support pro mode
And i dont know how to change resolution :D



Idk with galery,,in here works for me
Just wait a second for loading thumbnail
Panorama never works i think
If u used slow motion just flash oos blobs
here oos blobs V3
But u must flash kernel too if you want camera works



Oh c'mon...
Dont just come and quote my thread without reading and see comment post
Still no Pro mode. I just don't have the option in the app :confused:

---------- Post added at 10:18 PM ---------- Previous post was at 10:09 PM ----------

Also now the app has a long load time and it is slow in changing between front and back cam. Can I somehow fix this or uninstall the kernel/blobs? It is really annoying
 

mustang_ssc

Senior Member
Apr 29, 2014
615
851
133
Mars
Still no Pro mode. I just don't have the option in the app :confused:

---------- Post added at 10:18 PM ---------- Previous post was at 10:09 PM ----------

Also now the app has a long load time and it is slow in changing between front and back cam. Can I somehow fix this or uninstall the kernel/blobs? It is really annoying
Probably it require to have the specific camera HAL the ROMs with OOS blobs in built comes with, as this is a layer between the camera sensor and software probably that is the reason the OP5 Camera is not compatible/recognizing the features with non-OOS camera HALs, independently you flash the blobs or not.

The lag you're facing is due to the CM/LOS camera HAL the official LineageOS ROM has, you will need to perform a dirty flash in order to solve it.
 

Minions_Army

Senior Member
Nov 7, 2012
767
290
93
【Gru Laboratories】
Still no Pro mode. I just don't have the option in the app :confused:

---------- Post added at 10:18 PM ---------- Previous post was at 10:09 PM ----------

Also now the app has a long load time and it is slow in changing between front and back cam. Can I somehow fix this or uninstall the kernel/blobs? It is really annoying
Answear is in below

Probably it require to have the specific camera HAL the ROMs with OOS blobs in built comes with, as this is a layer between the camera sensor and software probably that is the reason the OP5 Camera is not compatible/recognizing the features with non-OOS camera HALs, independently you flash the blobs or not.

The lag you're facing is due to the CM/LOS camera HAL the official LineageOS ROM has, you will need to perform a dirty flash in order to solve it.
Thanks for explaining
 
  • Like
Reactions: mustang_ssc

WuerfelDev

New member
Sep 14, 2017
4
0
0
I just dirty flashed the same nightly again. Now the whole camera is gone :eek: thought it would be like ColorOS camera, that it stays on updates. Is that possible?