yashsingh1/xdaforums huggingface dataset:
[OnePlus 3 Themes, Apps, and Mods] Spliffman1:
Love your work man, I have it on my OP2 still. But the FC, and apparent gallery problems, where pics show greyed out didnt work for me. FC with manual focus (known bug) but also with trying to switch to video. I deleted for now, will be back if it gets sorted out. I'm on official RR rom for OP3. keep up the work. peace

---------- Post added at 09:51 PM ---------- Previous post was at 09:49 PM ----------

I used TB to uninstall
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
A user in another german forum did a quick comparison with the latest port version on cm13:

AUTO

HDR

HQ

As you can see there is no noticible difference and to be honest I could not tell which one is which mode.

Sadly this means that postprocessing is not working.

Just wanted to let you know.

Btw, it is really weird that this is a camera app thread, but nobody is showing any pictures or comparisons with this app

or talking about the quality on custom roms in general. I mean did nobody notice this behaviour above?

I can't help out with further testing as I am still running OxygenOS, but if you need any more I can forward it to the other user.
[OnePlus 3 Themes, Apps, and Mods] matssa:
Before comparing the photos, maybe having the features working is good start. Touch to focus crashes the app, I think that HDR does it as well. So can't really do anything...
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
And this is exactly why I posted these photos. Not so others can say how good they look,

but to show that

features

("HDR" and "HQ") do not work. I did not see one single user report this before,

on the other hand there are already multiple posts about manual focus fc and so on which the dev already knows about and mentions in the OP.

Don't get me wrong, I'm not trying to sound mean. I just want to let the dev know because nobody did before.

People who read the first post will think:

"great as long as HDR and HQ work on CM13, I don't care about manual focus fc..."

Some are only holding back to flash cm13 or other roms because of the camera quality

due to these special features.
[OnePlus 3 Themes, Apps, and Mods] Vincent_40:
Thx [MENTION=5279101]ghbuur[/MENTION] for your hard work on both OnePlus.

Is the slowmotion run like Oos ? With no lag when we play video ?

Thx for your reply ?
[OnePlus 3 Themes, Apps, and Mods] innocentwoolf:
[MENTION=5279101]ghbuur[/MENTION]

please respond
[OnePlus 3 Themes, Apps, and Mods] alirezaircn:
This feature is available in H2Os but useful only if you live in China as it detects Chinese spams only....
[OnePlus 3 Themes, Apps, and Mods] ndac_todoroki:
Flashed 3.0 Beta successfully on official RR 20160910, ex kernel!

I dirty flashed it, and first it didn't work (tap-to-force-close), but when I uninstalled the camera app from Titanium Backup, the camera app was still there (weird), and then it now tap-to-forcuses! yay

But how can I know if I have the latest app... is there any "versions" written? I see it says version 1.4.0, though it is the original oos cam app version, isn't it?
[OnePlus 3 Themes, Apps, and Mods] harshal10101:
Where is the download file??
[OnePlus 3 Themes, Apps, and Mods] DarKAngel1234:
What is the most up to date version, check the Dropbox link, lots of files, can't figure out which is the most current one. I am on BrokenOS.?
[OnePlus 3 Themes, Apps, and Mods] ghbuur:
"new cm test 6" but i don't know if it's worth anyone as there's another thread making more progress.. ;)
[OnePlus 3 Themes, Apps, and Mods] DarKAngel1234:
The other threads app, doesn't work at all under BrokenOS which the ROM I love the most.
[OnePlus 3 Themes, Apps, and Mods] DarKAngel1234:
Please keep working on this one, as it works for me at least. I did notice touch to focus, caused FC.
[OnePlus 3 Themes, Apps, and Mods] patster98:
Does the mod/port work then on rr rom? Did you just flash it or cleaned installed the rom first?
[OnePlus 3 Themes, Apps, and Mods] ndac_todoroki:
Sorry that post was about the other OOS camera thread... though it worked dirty flashed
[OnePlus 3 Themes, Apps, and Mods] patster98:
Which thread? The one for oneplus 2?
[OnePlus 3 Themes, Apps, and Mods] ndac_todoroki:
This one

http://xdaforums.com/oneplus-3/themes/port-oxygenos-stock-camera-cm-t3451721/page1
[OnePlus 3 Themes, Apps, and Mods] Sameer_Ahmed:
Is this thread closed?
[OnePlus 3 Themes, Apps, and Mods] wqwave:
sorry wrong thread post
[OnePlus 3 Themes, Apps, and Mods] TheCopyright:
I'm using it on MIUI 8 Global, it works definitely better than the stock Camera which is a disaster. But:

-HDR is not available, worst lack ever

-ISO can't be set on Manual mode

If at least the first bug will be solved it would be perfect... Please? [MENTION=5279101]ghbuur[/MENTION]

Inviato dal mio ONEPLUS A3000 utilizzando Tapatalk
[OnePlus 3 Themes, Apps, and Mods] pal.sayan3:
Does it work with MIUI 8 for oneplus 3?
[OnePlus 3 Themes, Apps, and Mods] TheCopyright:
I'm using it on MIUI 8 and it seems to work, so yes... With some bugs (read my previous post)

Inviato dal mio ONEPLUS A3000 utilizzando Tapatalk
[OnePlus 3 Themes, Apps, and Mods] pal.sayan3:
Are you using the global rom or china rom port ?
[OnePlus 3 Themes, Apps, and Mods] TheCopyright:
Global ROM by erv99 [emoji14]

Inviato dal mio ONEPLUS A3000 utilizzando Tapatalk
[OnePlus 3 Themes, Apps, and Mods] pal.sayan3:
Was using the latest buid by Wuxianlin . Good performance but bad camera, battery life and severe heating. How does this one perform?
[OnePlus 3 Themes, Apps, and Mods] TheCopyright:
Excuse me for the delay. Here's the same situation, less heating but more freezes and lags.

Inviato dal mio ONEPLUS A3000 utilizzando Tapatalk
[OnePlus 3 Themes, Apps, and Mods] Michalisx5:
Download Links!!!?? Thanks for your work!!! :)
[OnePlus 3 Themes, Apps, and Mods] shanky_rocks:
How can I uninstall this port if I wanted to ?

---------- Post added at 11:29 AM ---------- Previous post was at 11:23 AM ----------

I'm having serious issues with this port. I installed it and opened it but when I tried changing to manual mode it juse automatically crashed ! Please help !
[OnePlus 3 Themes, Apps, and Mods] Freebob94:
Flash your ROM and gapps again ;)
[OnePlus 3 Themes, Apps, and Mods] matssa:
No worries, didn't want to sound mean either ;) But yeah I didn't even try out other features cause I always touch my screen to focus somewhere isntead of waiting for the app to focus by itself.

What I suggest is you upload a log of the three different photos so that the dev can see the issue maybe, unless you already did it ;)
[OnePlus 3 Themes, Apps, and Mods] abhi08638:
Post processing is not handled by the camera app, if you want OOS quality photos, you need to use OOS camera HAL. CM uses its own HAL so naturally the pictures are going to look the same with any camera app
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
[MENTION=4732904]abhi08638[/MENTION] Thanks for the info. So this means we will have to wait for custom roms which utilize the OOS camera hal.
[OnePlus 3 Themes, Apps, and Mods] ghbuur:
i think it's hal related too, but I'll check. on oneplus 2 there's a big difference on my port compared to cm 13 stock camera and everything works...
[OnePlus 3 Themes, Apps, and Mods] matssa:
Yup thought so too, I hope they will be using the OP3 camera hal since it was fully released, you never have this type of info, or at least that amount, but can't really say if they really want to put extra effort in this...
[OnePlus 3 Themes, Apps, and Mods] ghbuur:
so i made a new test zip with hal from op3 oxygen os but be careful as it could end in bootloop:

- make a nandroid backup or be ready to dirty flash rom again!

- if this solution works, it might break stock cam

- let me know if it works or if i should delete this link again ;)

https://www.dropbox.com/s/qfomwur4tgrogis/test with hal.zip?dl=0
[OnePlus 3 Themes, Apps, and Mods] Maddinuser:
Stock camera works(beanstalk).

Oos camera FC on focus and switching to frontcam with your newest ZIP. No hdr
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
Did you try HQ mode?

The previous ports did not include the OOS Camera HAL, which caused HQ to have no effect.

It would be great if you could compare auto-mode without HDR and HQ.

Thank you!
[OnePlus 3 Themes, Apps, and Mods] nickporwal:
Exactly, because of this i am not flashing cm. Photo quality in oos is much better. Noise is more prominent in cm.

OP is doing great work. I hope he will make it work in CM.
[OnePlus 3 Themes, Apps, and Mods] Maddinuser:
Seems to work,not sure though if i See a difference
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
Could you post the pics or send me a PM?
[OnePlus 3 Themes, Apps, and Mods] Maddinuser:
Now i See a difference!darker image is with HQ on!
[OnePlus 3 Themes, Apps, and Mods] Spliffman1:
[MENTION=5279101]ghbuur[/MENTION] ok I tested the latest zip on RR official , I can take pics in auto, turn off flash, turn on flash, or put flash on auto, Point and shoot works. AND less noise than CM camera, definitely better. BUT, if I swipe to go to video FC, try to switch to front camera FC, menu will pull out from left but if i touch any option FC. manual focus FC. Seems that anything that involves touching the screen menus produces FC. Top options seem ok, that is flash, HQ, and HDR. Also I can get to Settings okay via gear wheel top right (shutter sound, location, about, save raw..) I know you'll work it out. I loved the port on my OP2. btw the zip i tested the latest test with hal.zip
[OnePlus 3 Themes, Apps, and Mods] Signor Rossi:
I will give it a try later tomorrow. Thanks for the effort

Gesendet von meinem OnePlus 3
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
[MENTION=1777241]Maddinuser[/MENTION]

Thanks for sharing but these photos are not really good for a real comparison,

mostly because the forum adds to much compression and they are not in full resolution.

Best would be clear shots outside uploade to dropbox or other hosters which do not

compress the images.
[OnePlus 3 Themes, Apps, and Mods] aosimon:
Installed the latest version with HAL and I can take HQ pics now on the main camera with good quality. Anything touch-wise still causes FC.

One question: does the CM HAL get replaced by the OOS HAL? So if I use another camera app it'll technically use OOS HAL to produce better pictures?
[OnePlus 3 Themes, Apps, and Mods] nickporwal:
Please check noise in the low light photos.
[OnePlus 3 Themes, Apps, and Mods] Maddinuser:
PM
[OnePlus 3 Themes, Apps, and Mods] ghbuur:
yep cm hal gets replaced, that's why i mentioned it could cause issues..
[OnePlus 3 Themes, Apps, and Mods] Spliffman1:
CM camera still running fine after flash of OOS hal
[OnePlus 3 Themes, Apps, and Mods] blinksilver:
I've been watching the CM13 forums and I've noticed that some user report that manual focusing (touch to focus) cases fcing with the regular cm13 camera+libs combo, so maybe its something else.
[OnePlus 3 Themes, Apps, and Mods] Signor Rossi:
See this post

http://xdaforums.com/showthread.php?p=67683166

Gesendet von meinem OnePlus 3
[OnePlus 3 Themes, Apps, and Mods] shalommathews05:
A question.

Does the 1+3 do post processing with the gallery app? i had a Asus and it did alot of post processing using the gallery app.
[OnePlus 3 Themes, Apps, and Mods] cameron1292:
Camera installed fine. All I can do though is take a picture. Every option crashes the app. I uses your app for op2 on cm13 worked great. Would that work on the op3? Anything is better than the stock camera
[OnePlus 3 Themes, Apps, and Mods] hurray:
You are really near the solution. :)

It installs, I am able to make photos and can use the HD-Options. HDR seems to not apply, it looks like a normal photo. Changing to e.g. manual mode or video crashes the app. So something is missing but I think you are on the right way. :good:
[OnePlus 3 Themes, Apps, and Mods] ghbuur:
anyone have a log from the newest cam with hal?
[OnePlus 3 Themes, Apps, and Mods] hurray:
Tomorrow I can try to get a logcat during playing with the cam.
[OnePlus 3 Themes, Apps, and Mods] Spliffman1:
ok I'm trying man, I've never done a logcat, but I'm giving it a go, so far its producing files too big for the limit of 512kb to upload here. Even though I just record for a short time, I'm getting logs of like 1.1MB, too big to upload here. I'm using catlog app. The camera error produces so many entries...

---------- Post added at 11:34 PM ---------- Previous post was at 10:55 PM ----------

Ok I tried my dropbox url, this is log playing with camera hal test, touching screen and menu to cause FC, boy just a few seconds causes a huge log.

https://www.dropbox.com/s/xaba0uizld1nrbz/2016-07-12-20-haltest.txt?dl=0
[OnePlus 3 Themes, Apps, and Mods] cameron1292:
Update.. After clearing cache the regular camera functions work. HD. Hdr. Flash. But no from camera or any video options. Good luck bro
[OnePlus 3 Themes, Apps, and Mods] knpk13:
[MENTION=6821674]Spliffman1[/MENTION] you might find it more convenient use a service like hastebin.com for logs. You can also compress the text log file into a zip (the upload limit for .zip is 20mb I think)
[OnePlus 3 Themes, Apps, and Mods] hurray:
I have done a sweet new test fresh from the sratch:

- wipe /system, /cache, /data and dalvik-cache

- flash cm-13.0-20160703-UNOFFICIAL-oneplus3.zip, open_gapps-arm64-6.0-pico-20160708.zip, UPDATE-SuperSU-v2.76-20160630161323.zip and "test wit hal.zip" (in this order)

- let it set up and settle down

- enable adb, connect pc and get a logcat from there (with a clean "logcat -c" first)

- open camera

- play with camera

- I took 3 pictures and as last action I try to enter the manuel mode where the app crashes

As I see there are entries like "Failed to apply optimization [4, 0]" (maybe this is the postprocessing?) and at the end of the log is the FC around line 2643 till the end of the file. I stopped the logging a few secconds after the FC.

I hope you see some useful informations in it.
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
Probably won't help much but the latest test.zip with cm13 still does not apply any postprocessing when using HDR or HQ mode.

No difference to pictures taken in auto-mode.

Once again, I got this info from a user who is running this setup. As I am still on OOS I can't help out with logs.
[OnePlus 3 Themes, Apps, and Mods] hurray:
I found something!

It seems the app misses a library "libopcameralib.so":

07-13 08:33:43.710 E/AndroidRuntime( 6703): java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[[zip file "/system/priv-app/OnePlusCamera/OnePlusCamera.apk"],nativeLibraryDirectories=[/system/priv-app/OnePlusCamera/lib/arm64, /system/priv-app/OnePlusCamera/OnePlusCamera.apk!/lib/arm64-v8a, /vendor/lib64, /system/lib64]]] couldn't find "libopcameralib.so"
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
[MENTION=3099085]hurray[/MENTION] Thanks for helping out here!

https://www.dropbox.com/s/bdhhs3k1mgcew3h/libopcameralib.so?dl=0

Taken from OOS 3.2.1

system/lib64/

rw-r--r--

Let me know if there are any more missing libs.
[OnePlus 3 Themes, Apps, and Mods] hurray:
Success! Now I am able to enter the manuel mode or change to video without a crash! :highfive:

But a tap on the screen to get a new focus FCs the camera app. I will take a new logcat an a few minutes. Stay on.
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
[MENTION=3099085]hurray[/MENTION]

All camera related libs found in

System/lib64

A quick comparison with the latest test.zip shows that they are all missing.

Also many filter related files are missing like

libfilterpack_imageproc.so

libfilterpack_facedetect.so

Might solve many issues. Please test everybody!

The files all need to be extracted manually to system/lib64

I am at work right now, but will be snooping around in the other system-folders later.

Maybe we can find some more missing files which are needed for the camera.
[OnePlus 3 Themes, Apps, and Mods] matssa:
Thanks for your testing, I can't live without manual focus ^^ But this seems to be more than a particular lib issue imo... We'll see with the log ;)

Btw, you can alos use the latest unofficial build, got one for the 20160712 ;) Can't upload the new ones cause not at work and got a crappy upload...
[OnePlus 3 Themes, Apps, and Mods] hurray:
Okay. So for now there where 2 libs which are missing:

libopcamera.so

libopcameralib.so

I copied them to /system/lib64 and gave them correct ownership (root:root) and rights (-rw-r--r--). Now I am able to walk through the menus and change to modes of the camera.

Itlooks also that no postprocessing ist done if I use HD or HDR modes and a touch on the screen for a new focus gives a FC.

I get a fresh new logcat and appended it (only open the camera and touch on the screen to get a focus => FC).

I can look tonight again in the thread as I have to move on (I have an exam today).

EDIT: I will quick test if the filters are working....
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
This issue could be possibly fixed with the file libfilterpack_imageproc.so inside the lib64 filter.zip.

Good luck on your exam!
[OnePlus 3 Themes, Apps, and Mods] hurray:
Thanks! :)

I copied the filter-libraries into /system/lib64 and gave them the correct settings.

After a fresh reboot I shoot 3 pictures (normal, HD, HDR) and then touch on the screen which gaves a FC. All this is in this last logcat. So I hope we have enough informations to find the missing things. :)

I make a TWRP from this status so I am able to work with this setup onwards later.
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
So did you finally notice a difference when comparing these shots?
[OnePlus 3 Themes, Apps, and Mods] hurray:
Sadly I must say: No, they look all the same. :(
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
I've found additional camera related libs in practically every folder provided inside the latest test.zip.

Here is a full zip which includes all of these "missing?" files inside lib, lib64, vendor, bin, etc inside the system folder.

It includes all of my previous attachements. This zip is not flashable and contains more zips divided by folders.

E.g. the files inside system-vendor-lib64.zip need to be extracted to system/vendor/lib64.

There are also chromatix files inside system/etc for the sensors: imx179 and 298

Basically what I did is to search for "filter" and "camera" inside these folders.
[OnePlus 3 Themes, Apps, and Mods] ghbuur:
thx for helping, we're getting there ;)

here we go, new test zip

https://www.dropbox.com/s/bsere8jqw39v3dc/test with hal 2.zip?dl=0
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
Please check my previous post above yours.
[OnePlus 3 Themes, Apps, and Mods] ghbuur:
i saw and i will make one zip by another with testing first. as i know from OP2 that it will end in bootloop if you copy just all those libs ;)
[OnePlus 3 Themes, Apps, and Mods] matssa:
Ok so manual focus FC (check log), following settings work:

- Change 1:1, 16:0, 4:3

- time for photo (3s, didn't test other time frames)

- Grid works

- Toggle HDR works (can't say if the post processing works)

- Toggle HQ works (can't say if the post processing works)

- Flash works

- Slowmow works apparently (need to take a look in more detail)

- Increased speed doesn't seem to work, the time doesn't change (tays at 0:00)

- Video works (can change settings but didn't try it)

Didn't test out the rest. You can find the logs.
[OnePlus 3 Themes, Apps, and Mods] hurray:
So there are some good and some bad news. :)

- I began with a complete new install (wipe /system /data and so on like described in my first test)

- flash again cm13, pico gapps and SuperSU

- "test with hal 2.zip" works as before, no change in behaviour

- i made a "test with hal 2.1.zip" and copied all entries from "addtional camera libs.zip" from [MENTION=4447339]AcmE85[/MENTION] into it (of course into the correct subfolders) => The result is bootable! :D

- Slow Motion & Fast Motion Videos now are working perfectly :)

- HDR Photos are now have a visible change from normal photos

- for HD photos it is hard to say if there is a difference compare to non HD photos.

- Manuel Mode is	activatable

=> but changing away from "Auto" at ISO gives only a black frame

=> changing the White Balance works

=> changing the exposure is working in limits (off limits there is only a black picture

=> changing the focus is working

But now the bad news: a Tap on the screen gives a FC of the app. :(

The appended logcat contains: open the photo app, 4 pics (normal, hd, hdr, manuel mode without changing anything) and last a tap on the screen which gives an FC (begins at line 5379 in the log).

A little bit is still missing. :D
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
I am out of thanks for today, so thank you for testing.

There might even be some more needed files.

It is just hard to tell which if not for the filename.

Maybe [MENTION=5279101]ghbuur[/MENTION] can dig into your logcat.

Seems like we almost got all missing pieces together.

Could you maybe PM me a quick photo comparison with auto/hdr/hq.

Thanks.
[OnePlus 3 Themes, Apps, and Mods] hurray:
No problem this was fun compared to the statistic exam this evening. :D
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
Oh and could you maybe check if RAW photos are working?
[OnePlus 3 Themes, Apps, and Mods] hurray:
Sorry, I just restored the backup. Tomorrow I have the next exam. :D
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
[MENTION=5279101]ghbuur[/MENTION] [MENTION=3099085]hurray[/MENTION]

Here is a huge batch of additional camera related files I have found since my last upload.

They seem highly important judging by their filenames as I've seen quite a lot of errors in your logcat associated with "chromatix".

"maybe --- zips" are only a few files which might not be needed so I sorted them out this time.
[OnePlus 3 Themes, Apps, and Mods] hurray:
Thanks for your work. I will look into the zips tomorrow.
[OnePlus 3 Themes, Apps, and Mods] hurray:
So I made new tests:

- Wipe all and install CM13 again

- begin with v2.1 I put in the zip the libraries you found excluding the "maybe" ones. This one I named "test with hal 2.2.zip".

- flashed and booted succesful :)

- photos are working (the same as with v2.1)

- a touch on the screen FCs the camera app :(

- So I put in the files in the "maybe"-folders.

- I named the result "test with hal 2.3.zip"

- flashed and booted up succesful

- BUT: This seems too much as with this one the gallery gives unnormal behaviour. Sometimes the gallery show pictures, sometime all pictures are black.

- a touch on the screen gives a FC :(

- as at both new versions the "tap to screen FC" is the same I don't get a new log

So i would say: Back to "test with hal 2.1.zip" as a base as with this HDR works and I didn't see better behaviour with 2.2 or 2.3. Or do you see this different?

Edit: Link deleted (there are better new versions out now)
[OnePlus 3 Themes, Apps, and Mods] AcmE85:
Thanks for further testing!

Did you check if this is still the case with the added files?
[OnePlus 3 Themes, Apps, and Mods] hurray:
Oh no, I forget this. :(

I was focused on the "Tap to screen FC".

I will check this if I make a pause in learning. :D

EDIT: So I made a new test (quick pause :D ). I flashed v2.2 and made a new series of test (normal, hd, hdr, manuel without changing anything, manuel with changing ISO and finally a tap on the screen which gives the FC of the camera).

This time I get a logcat (nothing gets over a real log) and I see some things in it:

07-14 09:09:15.383 E/mm-camera( 578): <IFACE ><ERROR> iface_util_set_hfr: 5010: iface_util_set_hfr: can't find hw stream, only save hfr mode

This looks like a "fallback mode" for HDR?

And some support for the sensor is not available:

07-14 09:09:15.382 E/mm-camera( 578): <SENSOR><ERROR> sensor_get_cur_chromatix_name: 2692: Sensor name:imx298, lens id:0

I append the log as I do not have the time to fully analyze it now.

EDIT2: The panorama mode also don't work (with every version).