OnePlus One (bacon) question - LineageOS Questions & Answers

Hi , its great that an official release is available and for now it working just great.
One little thing is missing (missing since cm14-14.1) - Slow motion support.
Every camera application i try either shows it as not available or allow the selection and capture the video with wrong fps or just crashes.
Any idea when and if it could be fixed ?

Related

Camera2 support

Hi,
I'm the developer of Open Camera, and looking at the OnePlus 3 as a potential new phone and test device, but I'm curious as to its support for Camera 2 API. I was wondering if people could share their experiences of using third party camera apps with Camera2 API enabled - either in Open Camera, or others like Snap Camera and A Better Camera (all these have options to enable Camera2 API)? In particular:
* It seems a lot of devices have problems with flash and Camera2 (either flash doesn't fire, or misfires so pictures come out under or overexposed). I finally managed to get Open Camera flash working on my Nexus 6, but no luck on a Samsung S7 (precapture doesn't seem to trigger). How does the OnePlus Three do with Camera2 and third party apps?
* I see some reports that manual exposure times don't work (e.g., http://forum.xda-developers.com/oneplus-3/help/camera2-api-broken-oxygenos-3-1-2-t3400886 ), though they mostly refer to the "more than one second" times (which most Android devices don't even offer). I'm less bothered about that, but does manual exposure time (and ISO) work at all (even for less than one second) in Camera2 API on the OnePlus Three?
* Around a year ago I see lots of reports that RAW didn't work on the One Plus devices (either not at all, or pictures were wrong). Supposedly this was fixed, but can anyone confirm that this is working properly on the OnePlus Three?
Thanks in advance!
mark
I use CM 13. So the following observation will most probably differ from Oxygen OS. I hope someone else using the stock ROM provides their input too.
1. Flash is unusable with Open Camera. I tried with Camera2 enabled and disabled. When its enabled, the overexposure is less but overall the picture is still horrible. CM's Snap camera that comes with the ROM works fine however.
2. I have not tested manual exposure yet. Will report back later if no one else does it.
3. There doesn't seem to be any problem while saving RAW files using Camera2 API. Opened it in Ubuntu's image viewer and the image is the same as it's JPEG counterpart (without the flash)
Manual exposure settings work fine. I increased the ISO and exposure time gradually using Open Camera. It let in more light and captured the image without any issues
mdwh said:
* It seems a lot of devices have problems with flash and Camera2 (either flash doesn't fire, or misfires so pictures come out under or overexposed). I finally managed to get Open Camera flash working on my Nexus 6, but no luck on a Samsung S7 (precapture doesn't seem to trigger). How does the OnePlus Three do with Camera2 and third party apps?
* I see some reports that manual exposure times don't work (e.g., http://forum.xda-developers.com/oneplus-3/help/camera2-api-broken-oxygenos-3-1-2-t3400886 ), though they mostly refer to the "more than one second" times (which most Android devices don't even offer). I'm less bothered about that, but does manual exposure time (and ISO) work at all (even for less than one second) in Camera2 API on the OnePlus Three?
* Around a year ago I see lots of reports that RAW didn't work on the One Plus devices (either not at all, or pictures were wrong). Supposedly this was fixed, but can anyone confirm that this is working properly on the OnePlus Three?
Click to expand...
Click to collapse
I've got a OP3 and a bunch of camera apps. The flash is overexposing with Open Camera, but in e.g. Footej (which I believe also uses Camera API v2) the image is exposed similarly to the built-in camera app.
Changing ISO manually seems to work as expected.
RAW files that I've tested from the stock app in Lightroom appear fine.
Let me know if you want me to test something else (PM or email works too).
The biggest challenges I have with Open Camera is that the manual focus (at least in video mode) is somewhat jumpy and not as smooth as e.g. Cinema 4K when you drag the slider, so it is only useable when you're not recording, and then it lacks focus assist (zooming in 2x or 4x automatically when you adjust focus). And then, of course touch focus is also broken (it always focuses at the center) when using APIv2.
Oh, and I'm on the mainly release (3.2.6 atm).
Thanks for both your replies!
Regarding flash and Camera2 API, the newly released Open Camera v1.34 has an option under Settings/Photo settings/"Use alternative flash method". Does that work any better? (Interesting that you mention Footej, that's also the only other 3rd party camera app that gets flash working with Camera2 API on my Nexus 6 - I think it's also using the "torch method" that my new option enables as a workaround.)
Another question I have please - does HDR in Open Camera work okay? (Note it won't be the same as the stock camera's HDR, as these will be different algorithms - but does it at least seem to work? In theory it should if manual exposure is working, but there may be additional issues with burst mode.)
A shame that touch to focus isn't working (this seems to be a known issue with Camera2 on the OnePlus 3?) I note from http://forum.xda-developers.com/oneplus-3/how-to/oos-3-5-2-comunity-build-t3461648/post68764646 , comment 329, someone says that touch to focus is fixed in the community build 3.5.2 (they tested Open Camera and Snap Camera HDR), so hopefully this fix will soon be rolled out.
I'll take a look at the jerky manual focus, and focus assist.
Wrt flash: Compared to the built-in camera app and to Footej and with/without the new flash setting enabled, then yes: It works with the work-around enabled. Before enabling it, it overexposes (and has an incorrect color balance), but after enabling it, the photo looks almost identical to the Footej one.
As for HDR, then yes, it also works As you say, it's not identical to the built-in camera app, but there is a difference between a single-capture shot and an HDR one: Shadows are lifted and highlights become somewhat subdued. Comparing an OpenCamera HDR shot to the same scene taken with the built-in camera, I'd say the shadows are similar, but the highlights are less compressed with the default app (i.e. OpenCamera makes the highlights darker, and maybe also darker than need to be).
As for touch focus, then we can hope it will be fixed -- I guess it's a problem with the Camera2 API implementation/driver in OP3.
Thanks for your efforts!
Just to say that I got the OnePlus 3T in the end. It's an excellent device - but I've made a new thread at https://forum.xda-developers.com/oneplus-3t/how-to/camera2-bugs-t3569283 which details the outstanding problems that I seem unable to fix (and seem to affect other camera2 apps too).
Interestingly, touch-to-focus works fine to me (even when I first got it when it was on Android 6), possibly this was something that'd already been fixed.

Google Camera HDR+ BSG Ports

What is it?
Simply put, it makes your pictures better, much better. While there are many other camera apps, none are like Google Camera with HDR+. It not only improves dynamic range but noise and color rendition.
For more information, check out below XDA articles.
Google Camera with HDR+ Ported to Snapdragon 820/821 and 835 Devices
Google Camera HDR+ Port Updated with RAW Support, HDR Customization, and Major Bug Fixes
Where can I get it?
Please note that we get updates frequently and there are also modified version of BSG's ports.
For BSG's ports, @Kisakuku thankfully has been updating new versions on this thread with recommended settings.
For modified versions as well as BSG's ports, you may check @S4turno's own website here
Other resources
You might as well check out OP5 and OP3 thread as those are more active. You will notice their ongoing discussion is about touch focus not working. Lucky, we do not have such problems on LP1.
OP5
OP3
GCam_4.4.012.156195200-41155109_7.0H_CameraAPI2_Min_v2.2.apk
Has been running on my phone for the last 7 days, no issues whatsoever. Video/and slow-mo working. On other versions videos werent saving to the device.
With this camera 4pda.ru user B-S-G did a monstrous adaptation job!
For LOS 14.1 from Team Superluminal I use this version:
GCam_4.4.012.156195200_MI5S_MIUI_Android_7.0_PIXEL_II_XL_v.1.1
Never seen such beautiful and defined photos/videos on the Lex 720! Everything works! It's a pity that there is no manual mode, but to be an automatic camera does a really good job! Cheers!
I test miui version, pixel version, ecc ecc but video and slow motion, after start and stop record, no save file.
I use aicp last version with 3.3 kernel black screen
Inviato dal mio LEX720 utilizzando Tapatalk
jamax80 said:
I test miui version, pixel version, ecc ecc but video and slow motion, after start and stop record, no save file.
I use aicp last version with 3.3 kernel black screen
Inviato dal mio LEX720 utilizzando Tapatalk
Click to expand...
Click to collapse
Try the one I mentioned.
I tried all the versions that have been posted. it seems strange that I have this problem. perhaps it is the version of the Roma. photos are perfect and are saved without problem. but the video, once stopped, it seems that saves, but then on the gallery there is nothing. soon will be released a new version of the AICP see if I have this problem.
I have x727 on newest omni weekly:
Mod_GCam_4.4.012_MI5S_7.0H_Cam2API_Final_1.0.apk
works for everything, slow mo, lens blur
Note that different copies are expected to show different image quality, not just whether it works or not. The best way to test it is taking a shot of high DR scene and see noise level differences.
I see B-G-R is still working on fine tuning noise/detail performance. Too bad I cannot download directly from the site as it gives 404 error somehow. I can only hope @snowwolf725 to keep uploading it on AFH until the end.
In all, it is a game changer. The worst thing about LP1 and majority of Chinese phones are their low IQ. Google Camera HDR+ can fix that.
Do any of these have the snapdragon optimizations? I noticed that the paranoid release has the camera with snapdragon optimizations and taking photos is instantaneous.
For the lastest AICP, tried few included that you mentioned, but Slow Motion makes app crappy. What should I do?
I ran a simple test on 5 random different versions. Image quality differences were minimal to the point it may not be easily distinguishable on a phone screen but visible on 32inch 4k monitor.
Noticed differences were...
a. saturation - some were neutral while others were strong.
b. noise - some had stronger noise reduction applied which resulted in blotchy gradation with less detail.
I think there should be DR difference but my test setting was not suitable for that.
4K2K said:
Note that different copies are expected to show different image quality, not just whether it works or not. The best way to test it is taking a shot of high DR scene and see noise level differences.
I see B-G-R is still working on fine tuning noise/detail performance. Too bad I cannot download directly from the site as it gives 404 error somehow. I can only hope @snowwolf725 to keep uploading it on AFH until the end.
In all, it is a game changer. The worst thing about LP1 and majority of Chinese phones are their low IQ. Google Camera HDR+ can fix that.
Click to expand...
Click to collapse
4PDA gives you 404 most likely because you are not registered at their forum board. Once you register, you can download directly without any problems.
I change rom from aicp to omni and the camera work good. Now video and slow motion save on sdcard.
Inviato dal mio LEX720 utilizzando Tapatalk
Do any of these work on the stock 21s X727 ?
edit: double post.
Link to new 2.1_AllinOne version:
https://www.androidfilehost.com/?fid=673368273298982291
This is big improvement over previous ones. In settings, you can config camera - N6P, N6, N5X, PixelXL, NexusExp2016, NexusExp2017, ExpPixelXL. Also an option to save DNG files when taking HDR+ images, video stabilization, and many others. But there is a catch: it crashes once you go into the setting. I guess updated versions will hopefully fix this issue.
EDIT: It does not crash once you go into config camera setting and choose a phone model.
Hello
What config choose for Leeco Pro3?
MTsv DN said:
Hello
What config choose for Leeco Pro3?
Click to expand...
Click to collapse
I was using nexus 6p but realized auto flash doesn't work on that profile. It didn't work on pixel XL profile either. I'm using nexus 6 profile now and everything seems to work.
Of note I'm using
MGCB_7.0H_C2API_Min_v.2.1_AllinOne+60fps+BurstOff.apk
Edit. Just updated to 3.0.3 (all in one) and it works on nexus 6p profile with auto flash working and burst mode working as well.
Redhawk2000 said:
I was using nexus 6p but realized auto flash doesn't work on that profile. It didn't work on pixel XL profile either. I'm using nexus 6 profile now and everything seems to work.
Of note I'm using
MGCB_7.0H_C2API_Min_v.2.1_AllinOne+60fps+BurstOff.apk
Edit. Just updated to 3.0.3 (all in one) and it works on nexus 6p profile with auto flash working and burst mode working as well.
Click to expand...
Click to collapse
I don't see 3.03. where is it?..
slgooding said:
I don't see 3.03. where is it?..
Click to expand...
Click to collapse
https://drive.google.com/drive/mobile/folders/0ByQSZtXbeaVpSVpaVnJoMEFibGs
Sent from my LEX727 using XDA Labs

Is there a way to fix dark video on modded gcams for Oreo roms?

Hello, i've been using arnova's modded gcams for a while, and noticed that video recording is extremelly dark, and sometimes get black screen flashes on it, not even close to photo's quality.
The only camera that seems to be doing an extremelly good job with videos is the oneplus modded one, but it lacks a lot of features.
Actually the image quality of the modded Gcam is shocking when enabling hwhdr on debugging and setting hdr to high, video doesn't stand a chance. As it doesn't happen only on one app, I believe it is a system or a camera2api configuration that the oneplus camera and the default camera ignores (I am running Pixel Experience, feb latest build, but it's a thing on every Oreo's ROM).
Is there anyone that knows about the topic any way or idea to debug it -be it from the camera source files or from the c2a settings-? It would be insane to have also the video ia for stabilization of the Gcam and maybe it can compare or be better than the OnePlus Camera.
Open to suggestions !
They is another problem with the modded gcam, when we select 60fps option camcorder the screen flickers while focusing and thats been recorded
There's nothing to do to check flickering, dark video and fix colours on preview? images looking a bit color-dead before obturation on some cameras, seems that only aplications that overrides those settings are working good. (modded gcams are dark and flickers on video, apps like instagram that doesnt obture gets a bit of lack of colours since preview doesnt do a bit of hwhdr to have an more accurate end result to obturation and also nicer looks on instagram photos). Seems to be a problem with the phone configuration since the camera can record well on other devices, and the op camera can record well on ours. Not like there are no ways around now, we can use both cameras and take the images with stock camera before uploading them but in long term it would be a nice improvement on social networks direct uploading, easier to take videos and photos on a single application (also to have gcam benefits as it is video stabilization). Sorry if I didn't explain myself properly, im not so good at english. Also, I didnt develop directly for android/camera but if someone with a bit of idea gives me the hand I can check out the settings. I don't have so much free time to learn now but as a developer with a couple of tips on the topic maybe I can find a way around to check those settings. Or if an experienced developer with time and will to do it I can help out maybe. I believe it's worth to give it a look

[Magisk][Polaris] ANXCamera - Mimojis

MIUI10 Camera Port for Custom Pie ROMs (AOSP/LOS) for Xiaomi devices.
This thread specifically designed for Polaris, therefore bug reports, comments and questions must only refer to this device.
Original thread: https://forum.xda-developers.com/poco-f1/themes/port-t3879357
Instructions for Use:
Download according to your preferences (builds from AEonAX or Luffitys) from https://camera.aeonax.com/#predownloads only if they are tagged as "Device: All Devices".
Install the Unity Zip via Magisk if you have it, Install via TWRP only if you don't have Magisk
Keep a note of the release you will be using, for issue discussion etc.
Enjoy
IMPORTANT NOTE
There are currently two DEVs making builds: @AEonAX and Luffitys.
AEonAX - Owns a POCO, Makes builds with Lots of features and Bugs
Luffitys - Owns a MI8, Makes Debloated Version, with Lots of features removed and Less bugs due to feature removal. He is not on XDA
Choose a version as per your liking, try both.
Featureset:
960fps Works
240fps Works. You might need to use GPhotos to visualize, depending on your Gallery app
Photo Works
Square Works
Panorama Works
Manual Mode Works
Portrait Mode
Night Mode
4K EIS
Dynamics Shots
Studio Lighting
MiMoji Mode
AntiFeatureset:
Portrait Mode (works for some)
120fps
AI Mode (works for me/Depending on the scene)
960FPS doesn't record in left Landscape, try right landscape
PE CAF buggy, therefore not supported, Don't contact ROM Dev, Don't contact me too
Donation link to the original developer: https://www.paypal.me/XEonAX
Special Thanks to @CodeElixir for his work with lib modding and fixes shutter button bug
LogCat are required to help, Solutions will also be very much appreciated.
Make sure to join the Telegram Group Chat for this Project for updates and issue resolution. Updates on XDA maybe delayed.
People asking about EIS:
It is only available at 30fps, please don't ask about 1k60fps or 4k60fps, currently it won't be possible.
Regarding bug fixes:
Below you can find bug reports regarding all supported devices, besides our device (polaris):
https://github.com/XEonAX/ANXCamera10/issues
Please do check there before reporting any possible duplicated bug.
Bug resolutions are also very welcomed.
There is an abandoned alpha release for Oreo at https://github.com/XEonAX/ANXMiuiCamera9/tree/master/out
If anyone interested to bring it to working condition please contact @AEonAX
Some extra useful information by AEonAX:
To Learn How to Port MiuiCamera join this https://t.me/ANXCameraLivePort
and watch this porting videos recorded livestream at https://mega.nz/#F!sGx0US5B!hXy30KunCOjmVmZ7kUMW3g
or https://www.youtube.com/playlist?list=PLKwynvsh3Ed3zMZHwJCiaP8n-gHzhXUCA
My involvement was an initial stages of the project to bring the compatibility to Polaris device, but credits go to AEonAX, Luffitys and all involved collaborators that supported this project to evolve and keep updated constantly
XDA:DevDB Information
ANXCamera - Mimojis [12th July 2019], Device Specific App for the Xiaomi Mi Mix 2S
Contributors
mustang_ssc, AEonAX, pi4a7a, Luffitys, abhishek987, amog787, psygarden
Source Code: https://github.com/XEonAX/ANXCamera/tree/cepheus9.6.27
Version Information
Status: Beta
Beta Release Date: 2019-01-25
Created 2019-01-18
Last Updated 2019-08-20
Reserved1
Do you have any sample photos?
In theory, this let us use aosp roms but still enjoy xiaomi images processing ie same quality photos as stock?
Thkans a lot! I've flashed it on Pixel Experience rom and everything went fine. Appart from a few freezes in portrait mode, I had no bugs so far. :good:
Works perfect on lineage-16.0-20190109 with MiPa Kernel [19.01.19] - no freezes here
DessertDevice said:
Do you have any sample photos?
Click to expand...
Click to collapse
A bit late bit here it is (attached)
Shot with night mode.
SWEUP said:
In theory, this let us use aosp roms but still enjoy xiaomi images processing ie same quality photos as stock?
Click to expand...
Click to collapse
Not as easy unfortunately. The camera HAL, which in stock ROMs use to be always better, normally decreases quality on photos for custom ROMs not based on stock.
Also the custom camera blobs used on custom ROMs use to have less quality.
In any case not sure how much this facts still apply since Treble integration.
To summary: i didn't do a comparison between stock and custom ROMs using miuicam but i did with both using gcam, same conditions and parameters, results were the same/very similar.
mustang_ssc said:
A bit late bit here it is (attached)
Shot with night mode.
Not as easy unfortunately. The camera HAL, which in stock ROMs use to be always better, normally decreases quality on photos for custom ROMs not based on stock.
Also the custom camera blobs used on custom ROMs use to have less quality.
In any case not sure how much this facts still apply since Treble integration.
To summary: i didn't do a comparison between stock and custom ROMs using miuicam but i did with both using gcam, same conditions and parameters, results were the same/very similar.
Click to expand...
Click to collapse
Thanks, do you experience that cameras are "snappy"? Are they crashing under some circumstances or are there lots of features that doesn't work?
Crashes when I try to take a picture or video on Pixel Experience GSI Rom.
Does it benefit from using dual camera? Is there 2x optical zoom option using second camera?
Everything work perfect in Pixel Experience. Bye gcam
I used it with LineageOS. It worked fine, but my QR scanner doesn't find the camera as it tries to open the original Snap camera app, which isn't able to connect to the camera anymore.
evolucja said:
Does it benefit from using dual camera? Is there 2x optical zoom option using second camera?
Click to expand...
Click to collapse
Yes. It utilizes both camera's. 2x optical zoom works. And portrait mode also works.
I did have a bit of a bug with the second camera freezing, causing the app to crash when 2x optical or portrait was selected. But that was fixed after a reboot of my phone.
I am running Pixel Experience.
M1chiel said:
I used it with LineageOS. It worked fine, but my QR scanner doesn't find the camera as it tries to open the original Snap camera app, which isn't able to connect to the camera anymore.
Click to expand...
Click to collapse
I got this solved with the help of the developer in the Telegram group. This is how: I opened the file ANXCameraMagisk_5.OldShamefulAnt.zip and deleted the lib folder in /system in the zip on my PC (it didn't work on my phone), reflashed it in Magisk and now the stock camera works again and so does the external QR code reader. Also the Miui Camera kept working after a short glitch when I tried the first time.
M1chiel said:
I got this solved with the help of the developer in the Telegram group. This is how: I opened the file ANXCameraMagisk_5.OldShamefulAnt.zip and deleted the lib folder in /system in the zip on my PC (it didn't work on my phone), reflashed it in Magisk and now the stock camera works again and so does the external QR code reader. Also the Miui Camera kept working after a short glitch when I tried the first time.
Click to expand...
Click to collapse
I found that portrait mode doesn't work anymore after that mod. Did you try that as well?
taw62 said:
I found that portrait mode doesn't work anymore after that mod. Did you try that as well?
Click to expand...
Click to collapse
Same here. So I use Gcam for pics and the miui ported cam for video.
Anyone got it working on a GSI rom?
I can make short videos. And change all settings. But as soon as I try to take a picture, the app crashes to homescreen.
Adding a logcat: Logcat of error on Pixel Experience GSI
Rom in question
Do continuous shootings work? One thing wich is holding me back from switching to AOSP Roms. Every Mod i tried so far can just make a picture for each press of the button but not shoot until i release the button
EnormoDerClown said:
Do continuous shootings work? One thing wich is holding me back from switching to AOSP Roms. Every Mod i tried so far can just make a picture for each press of the button but not shoot until i release the button
Click to expand...
Click to collapse
I just tried and can confirm burst shoot works.
Thanks!
Just switched to AOSP. Anyone else having problems taking photos within WhatsApp? Just took one and WhatsApp is really laggy after that

Slow motion Camera -solved

I'm on lineageOS 18.1., and when I try to record any slow motion (120fps, 240fps) on GCam or open camera, the app crashes with a vague error (serious camera error,). I've tried updating the firmware. I've tried many different GCam builds and configuration profiles. I tried an unofficial 19.1 build. Nothing on lineageos seems to work for slow motion.
But I could record slow mo vids in April in open camera. I think the 4/24 update broke it. The changelog does show something about camera blobs was modified around that time https://github.com/LineageOS/android_device_oneplus_hotdogb/commits/lineage-18.1 ). Maybe I should try loading the firmware before the the feb 27 commit?
On crashing, the apps will leave behind files like " .pending_video_..." (i forget if that's open camera or gcam or both, but it doesn't seem important). . At 30 and 60fps it records/saves just fine. I've tried modifying resolution/quality/bitrate/etc. But I obviously haven't every combination. In some conditions I can get the GCam app to record "1/8x" videos which are actually just 30fps at regular speed. And sometimes I can get it to record at 30fps but then slowed down (So a 3 second video becomes 24 seconds, with 90 frames). I have a feeling those are errors within GCam that can easily be fixed once the crash is resolved. I think the crash is probably lower level.
So are there any gcam biulds that work with slow motion for the 7t? Or any custom roms that work better with the camera? Or is there a way I can download the lineage release from march, when it was working for me? If not, I guess I'll try to put the stock ROM on again, but that has its own difficulties.
EDIT: Well, I feel dumb. I thought I tried to the stock camera, but it must'vebeen a GCam rom I misread. The OOS camera works just fine, and that's good enough for me. Not sure how to delete a thread

Categories

Resources