OP5 Camera switching - LineageOS Questions & Answers

Hey !
I've an OP5 since less than a week, I'm really happy about it. I flashed LineageOS 14.1 and everything seems to be working except the camera switching.
In the Camera app, the switch button allow me to switch through the 3 cameras (the 2 rear ones and the selfie one). However, in some 3rd party app (like Snapchat), trying to switch result in switching between the 2 rear cameras only, but it works as expected on some other (Messenger for instance).
Did somebody already experienced similar behaviour ?

mideuger said:
Hey ! I've an OP5 since less than a week, I'm really happy about it. I flashed LineageOS 14.1 and everything seems to be working except the camera switching. In the Camera app, the switch button allow me to switch through the 3 cameras (the 2 rear ones and the selfie one). However, in some 3rd party app (like Snapchat), trying to switch result in switching between the 2 rear cameras only, but it works as expected on some other (Messenger for instance). Did somebody already experienced similar behaviour ?
Click to expand...
Click to collapse
Your more than likely to receive support from the developer or another member by posting this issue within the following Official LineageOS thread for your device.
http://forum.xda-developers.com/showthread.php?t=3664095
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT PROVIDE SUPPORT VIA PM UNLESS ASKED/REQUESTED BY MYSELF.
PLEASE KEEP IT IN THE THREADS WHERE EVERYONE CAN SHARE

Related

[Q] Problem with front-facing camera recording

Hi there,
I'm having some issues with my front facing camera and recording. I am running CM10.1 (RC5) on my SGH-T999 and for some reason, every THIRD recording from my front facing camera freezes my phone and forces a reboot.
This is very irritating when using apps like Snapchat or the new Instagram video feature. The Instagram feature especially, because it is a "tap and hold to record," and on the third tap/release it forces a reboot on my phone.
My friend seems to have this issue as well on his Verizon S3 (running CM10). However, I've tried to Google a solution for months now but have yet to find a working one. I just recently decided I wanted to fix this problem because the new Instagram feature isn't quite as fun with this issue.
Any help would be greatly appreciated! This is also my first thread on the subject so if I am missing any vital information that could be helpful, please inform me!
EDIT: I should add that the camera works fine when on stock ROM. However, I've really grown attached to CM10.1 and am hoping I can fix it without reverting.
vellicant said:
Hi there,
I'm having some issues with my front facing camera and recording. I am running CM10.1 (RC5) on my SGH-T999 and for some reason, every THIRD recording from my front facing camera freezes my phone and forces a reboot.
This is very irritating when using apps like Snapchat or the new Instagram video feature. The Instagram feature especially, because it is a "tap and hold to record," and on the third tap/release it forces a reboot on my phone.
My friend seems to have this issue as well on his Verizon S3 (running CM10). However, I've tried to Google a solution for months now but have yet to find a working one. I just recently decided I wanted to fix this problem because the new Instagram feature isn't quite as fun with this issue.
Any help would be greatly appreciated! This is also my first thread on the subject so if I am missing any vital information that could be helpful, please inform me!
EDIT: I should add that the camera works fine when on stock ROM. However, I've really grown attached to CM10.1 and am hoping I can fix it without reverting.
Click to expand...
Click to collapse
The problem isnt the camera or the ROM, its the app. The new update for Instagram freeze everyone cameras. But strangely you added Snapchat, this app running fine on CM10.1 4.2.2 for me. Have you tried to uninstall the camera and flash an other one ? Go see this link http://forum.xda-developers.com/showthread.php?t=1966426
kruse1944 said:
The problem isnt the camera or the ROM, its the app. The new update for Instagram freeze everyone cameras. But strangely you added Snapchat, this app running fine on CM10.1 4.2.2 for me. Have you tried to uninstall the camera and flash an other one ? Go see this link http://forum.xda-developers.com/showthread.php?t=1966426
Click to expand...
Click to collapse
I will try update now!
It is any app involving the camera, even the camera app itself. I can record perfectly fine for the first two recordings, but when I try to save the third recording via any app (Snapchat, Instagram, basic camera app) it forces a reboot.
For example, on first recording I can record a 30 second clip; on the second, I can record a 3 minute clip. However, for the third, no matter how long the duration of the previous recordings, it will always crash.
This is only on the front-facing camera, though.
Again, I'll go ahead and try the link you sent me and come back with updates; thanks!
It's been happening forever. Just like when you go into the language & input area, and do something, press back, force close. Every time.
Honestly, the CM camera is pretty lacking (all of the CM apps are). If it's an issue for you, there are other ones on the market. Oh wait... no there isn't. Plenty of camera apps, no video apps.
Aerowinder said:
It's been happening forever. Just like when you go into the language & input area, and do something, press back, force close. Every time.
Honestly, the CM camera is pretty lacking (all of the CM apps are). If it's an issue for you, there are other ones on the market. Oh wait... no there isn't. Plenty of camera apps, no video apps.
Click to expand...
Click to collapse
Aw man, so there's no fix to this? Would you be able to recommend any other custom ROMs similar to CM that have a working front-facing camera? I know it is a rather juvenile reason to switch ROMs, but all my friends are doing front-faced recordings via Instagram and Snapchat and I'd love to join the fun.
kruse1944 said:
The problem isnt the camera or the ROM, its the app. The new update for Instagram freeze everyone cameras. But strangely you added Snapchat, this app running fine on CM10.1 4.2.2 for me. Have you tried to uninstall the camera and flash an other one ? Go see this link http://forum.xda-developers.com/showthread.php?t=1966426
Click to expand...
Click to collapse
This app did not work for me, it still crashes upon third record, unfortunately.
vellicant said:
Aw man, so there's no fix to this? Would you be able to recommend any other custom ROMs similar to CM that have a working front-facing camera? I know it is a rather juvenile reason to switch ROMs, but all my friends are doing front-faced recordings via Instagram and Snapchat and I'd love to join the fun.
Click to expand...
Click to collapse
I don't think it's a juvenile reason at all. Actually, I think it's pretty incredible that it hasn't been fixed yet. The camera is arguably the second most important part of the phone. I'm sure it will be fixed in time, but it's just a reminder that we are nowhere near 10.1 stable yet. They may think so, but I beg to differ. I'm reminded of when 10.1 was brand new. Phone calls wouldn't work half of the time. Some people are still having occasional issues (me included).
Unfortunately for you, most AOSP ROMs are based on the CM code. Looks like it's either live with it, or use a TW ROM.
Aerowinder said:
I don't think it's a juvenile reason at all. Actually, I think it's pretty incredible that it hasn't been fixed yet. The camera is arguably the second most important part of the phone. I'm sure it will be fixed in time, but it's just a reminder that we are nowhere near 10.1 stable yet. They may think so, but I beg to differ. I'm reminded of when 10.1 was brand new. Phone calls wouldn't work half of the time. Some people are still having occasional issues (me included).
Unfortunately for you, most AOSP ROMs are based on the CM code. Looks like it's either live with it, or use a TW ROM.
Click to expand...
Click to collapse
That's a shame... I am surprised I was unable to find any information about this before posting my own thread if it's such a widespread issue!
Do you have any suggestions on TW ROMs? I realize I should probably look myself but you seem to be quite knowledgeable. :good:
vellicant said:
That's a shame... I am surprised I was unable to find any information about this before posting my own thread if it's such a widespread issue!
Do you have any suggestions on TW ROMs? I realize I should probably look myself but you seem to be quite knowledgeable. :good:
Click to expand...
Click to collapse
I used Wicked for a time, but the I think the dev is cheating on us with other devices
Had just commented on this in the cm thread... Damn that sucks. Having the same issues. My main camera can capture pictures in a third party app but as soon as I switch to ffc I crash into a hard reboot. Don't know if that transfers over to skype but man that's a bummer. I know that Google hangouts uses the native cm camera so that works but instagram, fb, and even snapchat sometimes (at least for me) will frag some times.
I missed you aero! Haven't seen you over in cm land but then, as you posted earlier, you got off the nightly train for a while. Miss your knowledge and expertise
Sent from my SGH-T999 using xda app-developers app
I have exactly the same problem.
I tested with the latest stable and Nightly.
jojo2569 said:
I have exactly the same problem.
I tested with the latest stable and Nightly.
Click to expand...
Click to collapse
You really should post in the Rom's thread rather than necroing a Q&A
Perseus71 said:
You really should post in the Rom's thread rather than necroing a Q&A
Click to expand...
Click to collapse
New members (those with fewer than 10 posts) are not permitted to post to development-related forums.
The problem occurs on all Rom except those based on TouchWiz.
Every third recording with front facing camera on any apps freezes the phone and forces a reboot.
It is strange that almost nobody talks about this problem.
jojo2569 said:
New members (those with fewer than 10 posts) are not permitted to post to development-related forums.
The problem occurs on all Rom except those based on TouchWiz.
Every third recording with front facing camera on any apps freezes the phone and forces a reboot.
It is strange that almost nobody talks about this problem.
Click to expand...
Click to collapse
Oh Shoot. My bad. I keep forgetting it all the time.
Are you using the Social Media apps to do the video Recording ? If yes, can you follow the bellow steps ?
1. Wipe Data for all the social apps you can possibly use to do Video Record.
2. Go to Recovery, wipe Dalvik + Cache Reboot.
3. Do not open any of the social Media app.Use the regular Camera app. Do the 3 video recordings and report back.
jojo2569 said:
New members (those with fewer than 10 posts) are not permitted to post to development-related forums.
The problem occurs on all Rom except those based on TouchWiz.
Every third recording with front facing camera on any apps freezes the phone and forces a reboot.
It is strange that almost nobody talks about this problem.
Click to expand...
Click to collapse
Seeing as this thread came back alive, does this also matter with audio recording? Using viber and what's app you can make wifi calls and leave voice sms respectively, but every time I try to do so the audio sounds like I'm 10 underwater with Optimus prime talking
Sent from my SGH-T999 using xda app-developers app
rage913 said:
Seeing as this thread came back alive, does this also matter with audio recording? Using viber and what's app you can make wifi calls and leave voice sms respectively, but every time I try to do so the audio sounds like I'm 10 underwater with Optimus prime talking
Sent from my SGH-T999 using xda app-developers app
Click to expand...
Click to collapse
Try another Kernel and wipe Dalvik + Cache after flash
Perseus71 said:
Try another Kernel and wipe Dalvik + Cache after flash
Click to expand...
Click to collapse
Will do captain. I'll report back. Flashed kt747 for liquidsmooth but I don't remember if I wiped again after. Definitely before but can't remember after.
Sent from my SGH-T999 using xda app-developers app
rage913 said:
Will do captain. I'll report back. Flashed kt747 for liquidsmooth but I don't remember if I wiped again after. Definitely before but can't remember after.
Click to expand...
Click to collapse
If that doesn't work, try another Rom.
I also have this problem... Each time I record 3 times with the front facing camera using the default camera app or any other app (like snapchat), on the third try my phone crashes and reboots... Using GS3 CM10.2
I too am having this problem on CM-based ROMs. Every third recording with the ffc my phone crashes and reboots itself. Bummer it has to do with CM based ROMs.
Yomaster91 said:
I too am having this problem on CM-based ROMs. Every third recording with the ffc my phone crashes and reboots itself. Bummer it has to do with CM based ROMs.
Click to expand...
Click to collapse
So there still hasn't been a fix for this /.\ I use snap chat and IG all the time but can't cause the camera just reboots ;/ only on front tho

Camera unable to focus - Sultanxda's rom

as the title says, recently when I open my camera app, the rear camera is unable to focus no matter what I do, the same happens with snapchat and other camera apps. I was wondering if this is an issue within the rom or if its a general OP3 issue and if anyone could help me attempt to fix it.
I'm on SultanXda's rom with the 19th of Feb patch. (would post this on the rom's page but my account is too new to reply on that)
Thanks in advance
Even I have this kind of issue and I am using resurrection reimx ROM. The camera is not focusing. Neither in the camera app nor in the apps like snapchat.
Hope someone has a solution for this.
varmasagiraju said:
Even I have this kind of issue and I am using resurrection reimx ROM. The camera is not focusing. Neither in the camera app nor in the apps like snapchat.
Hope someone has a solution for this.
Click to expand...
Click to collapse
really hope so, bit troubled at the moment since I can't take any photos
Just tried with rom-delieverd-snapcamera, and the focus is just working fine.
Just touch the screen, where to focus and snap.
Maybe you can give us some hint to reproduce?
cl0g said:
Just tried with rom-delieverd-snapcamera, and the focus is just working fine.
Just touch the screen, where to focus and snap.
Maybe you can give us some hint to reproduce?
Click to expand...
Click to collapse
sadly touch focus isnt working on my phone, starting to think it might be a hardware issue instead since it just suddenly started happening. I'm not too sure what is different from when it was working either :/ just that one day touch focus stopped working and auto focus stopped as well.
So you can wait for an update, or any other reported issues with focus on sultans rom oder you might try another rom, if it still exists, to make sure, its not a HW issue.
Ehy guyz, it is an hardware problem. U can fix it opening the phone and using some scotch to maintain in place the camera. Or send it in RMA. Or use a magnet near the camera, out of the phone's case as is possible to see in attached photo

Can a decent camera port fix the OP5T camera?

My question is in the title. I mean since the hardware is not that bad. Is it possible that a decent port of a camera application that will do a better job in the processing of the images clicked be available and possible?
Yes, it did for the op5 so surely it would do the same for 5t
Yes and no, it depends on if OnePlus fixed the issues with their camera HAL.
On the OP5, the HDR+ is causing a dot pattern in light areas which basically ruins the photos.
Also it has issues with touch focus.
This thread might help
https://forum.xda-developers.com/on...-camera-ported-app-op5t-t3708132/post74586647
who can verify if this has been fixed?
edit: can the user in the "ask away" thread find out somehow if something has been changed or fixed?
edit 2 (face palm): it should all be answered in the above link as soon as someone follows thru with the required testing.
AcmE85 said:
Yes and no, it depends on if OnePlus fixed the issues with their camera HAL.
On the OP5, the HDR+ is causing a dot pattern in light areas which basically ruins the photos.
Also it has issues with touch focus.
This thread might help
https://forum.xda-developers.com/on...-camera-ported-app-op5t-t3708132/post74586647
Click to expand...
Click to collapse
I'm assuming since we have a change in hardware someone can come up a decent port that will take advantage of the second 20mp cam to improve upon low light more than what OP have already done.

Ported camera app with dual lens

Sorry in advance, if there is something I've missed.
I'm on the lineages on my 5t, but I believe that I'm missing the dual lens option from my camera app (The option to switch to the telephoto lens). I tried to install a modded google camera - as it appears that everyone is suggesting that, but it didn't help. Is there something that I need to do, some camera mod that I need to install? All replies are appreciated.
Oneplus 5t, LineageOS 15.1, Xposed v90, TWRP 3.2.0.0
asge1210 said:
Sorry in advance, if there is something I've missed.
I'm on the lineages on my 5t, but I believe that I'm missing the dual lens option from my camera app (The option to switch to the telephoto lens). I tried to install a modded google camera - as it appears that everyone is suggesting that, but it didn't help. Is there something that I need to do, some camera mod that I need to install? All replies are appreciated.
Oneplus 5t, LineageOS 15.1, Xposed v90, TWRP 3.2.0.0
Click to expand...
Click to collapse
I will give you all benefits of all doubts for this one. Dual cameras can't work on any ROM other than stock oxygen. No way around it, Oneplus uses proprietary software for their camera app making it superfluous to port to a ROM let alone one that isn't OOS based.
So to answer your question, manage with the single lens camera apps that populate android. Try gcam, its what I use.
As a last note, there is no telephoto lens on the op5t, just 2 standard lenses...
Sent from my OnePlus5T using XDA Labs
Sorry for my English.
I try to figure out this information too, After view the source code, The LineageOS accurately support dual camera:
https://github.com/LineageOS/androi.../com/android/camera/util/CameraUtil.java#L386
BUT, it's just can "working".
Tune on LineageOS Camera app, Click menu, Settings (Gear), Click few times "About", You're going to development mode.
In development mode, You can find an option name "Switch camera by ID", choose what camera you want to use.
The Screenshot is Chinese, Sorry about this.
chenshaoju said:
Sorry for my English.
I try to figure out this information too, After view the source code, The LineageOS accurately support dual camera:
https://github.com/LineageOS/androi.../com/android/camera/util/CameraUtil.java#L386
BUT, it's just can "working".
Tune on LineageOS Camera app, Click menu, Settings (Gear), Click few times "About", You're going to development mode.
In development mode, You can find an option name "Switch camera by ID", choose what camera you want to use.
The Screenshot is Chinese, Sorry about this.
Click to expand...
Click to collapse
Didn't know about the development mode. That is a very neat information you provided here. Thank you very much!
EDIT: If you switch to "camera3 facing:back" the app crashes. So it recognises the second monochrome camera but fails to use it
Macusercom said:
Didn't know about the development mode. That is a very neat information you provided here. Thank you very much!
EDIT: If you switch to "camera3 facing:back" the app crashes. So it recognises the second monochrome camera but fails to use it
Click to expand...
Click to collapse
Hmmmm....I think OnePlus 5T only have 3 camera,20M back camera 16M back camera and 16M front camera,So:
20M back camera - camera 0
16M front camera - camera 1
16M back camera - camera 2
Click to expand...
Click to collapse
I still don't know what is camera 3 in the list.
Hello I have recently installed LineageOS 15.1 on my OP5t. Now I want to know which camera app works best with Lineage OS.

Front Camera not working with new hardware in custom ROM

I searched a new phone with good ROM support. After some readings of XDA's threads, I just bought RN8Pro, waited a week for unlocking and tried few ROMs.
It ended up that some newer RN8Pro has a slighty different front camera's hardware that is not actually supported by custom ROMs, as it has been discussed in some threads (like this one : https://forum.xda-developers.com/t/...xperience-official-aosp.4059977/post-83570951 )
I didn't saw this information before buying, so maybe it is useful that this will be more visible to people who want to buy this phone.
If you have some news about fixing front camera, feel free to respond.
That is a problem that I also face
The front camera does not work on any MIUI with Android 9. But on MIUI with Android 10 it works well...
The problem is that every ROM requires me downgrade to MIUI with Android 9.
Same problem here.
Bought 2 devices 2 weeks ago, unlocked a few days ago and installed crdroid 6.11.
Front camera is not working, GCam crashes on start.
On another device, bought in october the front camera works well with GCam and other camera apps.
Hopefully someone finds a quick fix.
If this camera is a different model, can we identify it using AIDA64?
In AIDA64 -> Peripherals , mine says Samsung ISOCell S5K3T1. I don't know if this is the new model.
EDIT: I read that it's a new revision of the same model so I think this "method" won't work.
Thordgar said:
EDIT: I read that it's a new revision of the same model so I think this "method" won't work.
Click to expand...
Click to collapse
I read that too.
Same hardware for me : Samsung ISOCell S5K3T1
Gwynned said:
I read that too.
Same hardware for me : Samsung ISOCell S5K3T1
Click to expand...
Click to collapse
Did your front camera work in custom roms?
My sensor is too Samsung ISOCell S5K3T1 and not work on Android 9 with MIUI and custom roms.
Same case for me, the front camera is "Samnsung ISOCell S5K3T1" and I installed evolution X 4.7 and everything works except the front camera, how sad, I haven't found a way to make it work. I asked in an official rn8pro telegram channel and they only told me to stay in Rom Stock with miui until Xiaomi releases the firmware code for these new sensors. The newer rn8pro devices are the ones that have this problem since their front camera sensors are new.
It seems I have the same problem. I wasn aware of that when buying!
I tried the Roms:
Pixel Experience
Evolution
crDroid
Same result on all Roms, everything works except the front camera. As soon as I install another cam app like Gcam, it crashes.
I wish I knew this before buying Note 8 Pro
I hate MIUI, I was going to flash custom ROM as soon as possible. But... Revolut doesn't work without selfie camera. I hope I can relock bootloader and return the phone.
The strange thing is that no custom rom developer can solve this problem
+1 for me being a victim of this new front camera module!
Given the situation right now I/we have to compromise. Working front camera with MIUI (it's unusable for me and I've tried) or no working front camera + custom ROM.
I chose the latter (Pixel Experience 10).
If I do need a front camera I'll have to get my LG G2 (LineageOS 16.0).
Either Xiaomi releases the code for the new front camera module or it leaks somehow. Whichever comes faster.
Compass.
I have also the same Problem.
Samsung ISOcell S5KGW1
Same problem here. Does it need just a rebuild with a more recent kernel? Anybody have any advice how to start that?
camccar said:
Same problem here. Does it need just a rebuild with a more recent kernel? Anybody have any advice how to start that?
Click to expand...
Click to collapse
Same question here!
What I can confirm that the newest Pixel Experience ROM has the selfie cam working perfectly, I am just not a friend of that level of Google integration.
So I guess we have to wait for one of the other maintainers to take a stab at this, or try it ourself ...
I guess it's a lot more than linking some new libraries, so if anyone can point me in the right direction, maybe a howto, that would be much appreciated.
Greetings
hoshy42
hoshy42 said:
Same question here!
What I can confirm that the newest Pixel Experience ROM has the selfie cam working perfectly, I am just not a friend of that level of Google integration.
So I guess we have to wait for one of the other maintainers to take a stab at this, or try it ourself ...
I guess it's a lot more than linking some new libraries, so if anyone can point me in the right direction, maybe a howto, that would be much appreciated.
Greetings
hoshy42
Click to expand...
Click to collapse
Wow thats super good news !!! Thanks for sharing
hoshy42 said:
Same question here!
What I can confirm that the newest Pixel Experience ROM has the selfie cam working perfectly, I am just not a friend of that level of Google integration.
So I guess we have to wait for one of the other maintainers to take a stab at this, or try it ourself ...
I guess it's a lot more than linking some new libraries, so if anyone can point me in the right direction, maybe a howto, that would be much appreciated.
Greetings
hoshy42
Click to expand...
Click to collapse
I was curious about that rom, and just about to try it out.
Thanks for the confirmation.
But i dunno anymore what is better miui 12 or pixel experience?
hoshy42 said:
Same question here!
What I can confirm that the newest Pixel Experience ROM has the selfie cam working perfectly, I am just not a friend of that level of Google integration.
So I guess we have to wait for one of the other maintainers to take a stab at this, or try it ourself ...
I guess it's a lot more than linking some new libraries, so if anyone can point me in the right direction, maybe a howto, that would be much appreciated.
Greetings
hoshy42
Click to expand...
Click to collapse
+1
The front camera is working with Pixel Experience 11 (Build: 16th of march of 2021).
I installed Pixel Experience 11 today and the front camera works (didn't crash so far either).
Compass.
Front camera is also working on HyconExperience 1.0.
Any suggestions for fix nusantara 3.1
Any one try this
For Devices which have new camera sensor and not working front camera in any Non Cfw roms.
This fix will make your front camera working in any Non Cfw roms.
Steps:- go to twrp and flash
1. MiUi12- kernelsupport
2. boot.img
If you feel crashing only than flash
3. Permissiver

Categories

Resources