Front camrera has disappeared. Mi A1 - Xiaomi Mi A1 Questions & Answers

I installed an apk from here - celsoazevedo Pixel3 Mod google camera. However, after I installed it my front camera has stopped working altogether.The button has disappeared from the stock cam app and in apps like WhatsApp and instagram it is showing me a zoomed in viewfinder of the back camera. I have flashed a stock fastboot rom. Factory reset it it my front camera is still not working. I would really appreciate it if someone could help me out with this problem. Thank you.

rohanshenoy said:
I installed an apk from here - celsoazevedo Pixel3 Mod google camera. However, after I installed it my front camera has stopped working altogether.The button has disappeared from the stock cam app and in apps like WhatsApp and instagram it is showing me a zoomed in viewfinder of the back camera. I have flashed a stock fastboot rom. Factory reset it it my front camera is still not working. I would really appreciate it if someone could help me out with this problem. Thank you.
Click to expand...
Click to collapse
To use the gcam from celsoazevedo you must activate cam2 api, as in stock doesnt have it activated. Uninstall that camera or activate camera2 api, but you must be rooted

mardrest said:
To use the gcam from celsoazevedo you must activate cam2 api, as in stock doesnt have it activated. Uninstall that camera or activate camera2 api, but you must be rooted
Click to expand...
Click to collapse
I have flashed stock rim. My stock front cam isn't working

rohanshenoy said:
I have flashed stock rim. My stock front cam isn't working
Click to expand...
Click to collapse
Uninstall the cam you installed earlier or install the rom again

Related

google camera for op2

hey bros, does enyone knows how to make google camera work on custom roms?
usually it just works on most custom roms... have you tried just flashing it with a gaps package that includes it? that should work. but then again, I've never had an issue with it when I installed it from the playstore either. it should work with no issues. Did you check to make sure all the correct permissions are set for it? if permissions aren't correct it will force close
Having the same issue on RR official. App requests permissions, once you have given them it crashes and crashes again whenever you load it up.
Google camera have some issue it just won't work for op2 be it any nougat rom
Nikhilshyamsukha said:
Google camera have some issue it just won't work for op2 be it any nougat rom
Click to expand...
Click to collapse
Use version Google Camera 4.1.006.126161292, this one works on nougat
jflow36 said:
usually it just works on most custom roms... have you tried just flashing it with a gaps package that includes it? that should work. but then again, I've never had an issue with it when I installed it from the playstore either. it should work with no issues. Did you check to make sure all the correct permissions are set for it? if permissions aren't correct it will force close
Click to expand...
Click to collapse
didn't tryed with gapps, tried several versions from apkmirror with several custom rom and they crash. can't download from paly store, its hidden for me.
chxei said:
didn't tryed with gapps, tried several versions from apkmirror with several custom rom and they crash. can't download from paly store, its hidden for me.
Click to expand...
Click to collapse
The solution is in the post above yours. Stop seeking...
As another user said before, this one should work:
http://www.apkmirror.com/apk/google...era-4-1-006-126161292-2-android-apk-download/
okey, so 4.1 version works indeed, but why newer versions don't work?
i would recommend you to flash STOCK GAPPS along with Any ROM which will replace the default camera application in the ROM to the Google Camera one which you can update later from the Play store itself
Harry_00s.HS said:
i would recommend you to flash STOCK GAPPS along with Any ROM which will replace the default camera application in the ROM to the Google Camera one which you can update later from the Play store itself
Click to expand...
Click to collapse
tried already, but it crashes after updating
chxei said:
tried already, but it crashes after updating
Click to expand...
Click to collapse
so just don't update................
habobabababo said:
so just don't update................
Click to expand...
Click to collapse
oh thanks, great solution
Harry_00s.HS said:
i would recommend you to flash STOCK GAPPS along with Any ROM which will replace the default camera application in the ROM to the Google Camera one which you can update later from the Play store itself
Click to expand...
Click to collapse
I have been using stock gapps for a while.
The google camera which is pre installed works well.But every time I update the google camera from Play Store it just force close.
Latest Google Camera versions do not work because they require camera HAL3:
https://source.android.com/devices/camera/camera3.html
Seems like no one has so far managed to get HAL3 working properly on custom OP2 Nougat roms. Devs have tried to enable HAL3 multiple times on OP2 roms, but have always reverted back to HAL1. In case of HAL3, the photos in portrait orientation are scrambled, and some apps have focusing issues. The most important benefit of HAL3 is the support of capturing RAW images. Other benefits include better photo sphere support, etc.
Latest HAL3 enabled rom release I know of is RR 5.8.2 from 25.02:
https://www.androidfilehost.com/?fid=529152257862705912
On that one the latest Google Camera 4.3 works, but portrait orientation pictures are messed up. Also RAW image colors are screwed up in OP Cam app.
I hope that the HAL3 issues are fixed after/if Oneplus releases Nougat for OP2, as currently it seems like it is either too difficult for devs to fix it or even impossible.
pryggi said:
Latest Google Camera versions do not work because they require camera HAL3:
https://source.android.com/devices/camera/camera3.html
Seems like no one has so far managed to get HAL3 working properly on custom OP2 Nougat roms. Devs have tried to enable HAL3 multiple times on OP2 roms, but have always reverted back to HAL1. In case of HAL3, the photos in portrait orientation are scrambled, and some apps have focusing issues. The most important benefit of HAL3 is the support of capturing RAW images. Other benefits include better photo sphere support, etc.
Latest HAL3 enabled rom release I know of is RR 5.8.2 from 25.02:
https://www.androidfilehost.com/?fid=529152257862705912
On that one the latest Google Camera 4.3 works, but portrait orientation pictures are messed up. Also RAW image colors are screwed up in OP Cam app.
I hope that the HAL3 issues are fixed after/if Oneplus releases Nougat for OP2, as currently it seems like it is either too difficult for devs to fix it or even impossible.
Click to expand...
Click to collapse
Great reply!!
Another thing: with hal3 you can have also pixel stabilization in video recording, much important
pryggi said:
Latest Google Camera versions do not work because they require camera HAL3:
https://source.android.com/devices/camera/camera3.html
Seems like no one has so far managed to get HAL3 working properly on custom OP2 Nougat roms. Devs have tried to enable HAL3 multiple times on OP2 roms, but have always reverted back to HAL1. In case of HAL3, the photos in portrait orientation are scrambled, and some apps have focusing issues. The most important benefit of HAL3 is the support of capturing RAW images. Other benefits include better photo sphere support, etc.
Latest HAL3 enabled rom release I know of is RR 5.8.2 from 25.02:
https://www.androidfilehost.com/?fid=529152257862705912
On that one the latest Google Camera 4.3 works, but portrait orientation pictures are messed up. Also RAW image colors are screwed up in OP Cam app.
I hope that the HAL3 issues are fixed after/if Oneplus releases Nougat for OP2, as currently it seems like it is either too difficult for devs to fix it or even impossible.
Click to expand...
Click to collapse
Since OOS3.5.8 sources has been released and OP2 has HAL3 support for quite a long time, do you think some of the custom nougat roms could take this advantage to enable HAL3 supporting? And have you heard anything about it? I want to switch to custom nougat rom but camera functions always make me go back to OOS.
acwcanada said:
Since OOS3.5.8 sources has been released and OP2 has HAL3 support for quite a long time, do you think some of the custom nougat roms could take this advantage to enable HAL3 supporting? And have you heard anything about it? I want to switch to custom nougat rom but camera functions always make me go back to OOS.
Click to expand...
Click to collapse
Haven't heard anything in this op2 nougat hal3 regard. Sorry.
pryggi said:
Haven't heard anything in this op2 nougat hal3 regard. Sorry.
Click to expand...
Click to collapse
HAL 3 Roms are already up
Can anyone please upload link for potrait mode camera for oneplus2 ...Gcmod5 not working and it is displaying a black screen when potrait mode is selected.can any one please help me with this prob??

Nougat ROM with working HDR and panorama?

Are there any nougat ROMs with working HDR, panorama and slow mo?
nixcamic said:
Are there any nougat ROMs with working HDR, panorama and slow mo?
Click to expand...
Click to collapse
Try omni
Yousvel said:
Try omni
Click to expand...
Click to collapse
Nope, didn't work.
LineageOS Official works! It seems to be that the ROM must *not* have HAL3.
ressurrection remix official with oneplus 2 camera.all things works fine.
Try Cosmic OS.
Or ViperOS. Only few ROMS's still have HAL1, unfortunately. For some reason everyone says just "need HAL3, it is better", although I haven't seen proof of that. Only problems with it.
Currently running RR Official, HDR works (I think) but panorama still doesn't. It's odd that I have so much difficulty using base features on anything other than stock.
Edit: HDR says its working, but doesn't actually do anything. Tried on OP2 and OP5 cameras. Google Camera force closes.
I'm using Mokee OS with OnePlus 5 camera. Everything works fine.
nixcamic said:
Currently running RR Official, HDR works (I think) but panorama still doesn't. It's odd that I have so much difficulty using base features on anything other than stock.
Edit: HDR says its working, but doesn't actually do anything. Tried on OP2 and OP5 cameras. Google Camera force closes.
Click to expand...
Click to collapse
Weird, that one should work with OP2 original camera zip flashed. I had it for some time, was ok but development stopped, it seems. By the looks of it, soon there will be no HAL1 ROM
go for official aicp rom
Any idea why google camera force closes ? Is there a fix to it ?
I installed the google camera ported to mi note 3 the only issue is ,it doesn't click HDR and HDR+ images (all appear green ) normal can works and video OIS 60fps
AOSPExtended version 4.5 (not the latest one) has working HDR thanks to HAL 1.

Working Google camera HDR+and portrait mode on stock zui 2.5

Google camera is working on my stock zui 2.5 indian version but beware after following these steps the stock camera app won't work .
Here are the steps I did follow
1 you should have latest twrp.
2.flash open source camera 2 hal from here
https://forum.xda-developers.com/attachment.php?attachmentid=4412288&d=1518010186
3. install Google camera from here
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
4. For working HDR+ and portrait mode on front camera although its for OnePlus 3 it works on our devices as well. Flash this file
https://www.celsoazevedo.com/files/android/google-camera/f/hdrfix/twrp-front-fix-nougat-op3-3t.zip
Do you think this would work on zui 3.5?
bordi21 said:
Do you think this would work on zui 3.5?
Click to expand...
Click to collapse
I think it should I haven't tried yet but it should be working and google photos app should be installed for motion photos feature
so this would enable camera2api on stock zui 2.5?
arun356y said:
so this would enable camera2api on stock zui 2.5?
Click to expand...
Click to collapse
Yeah it does but stock camera won't work
rk2shashank said:
Yeah it does but stock camera won't work
Click to expand...
Click to collapse
means flashing oss zip will completely break the stock camera?
arun356y said:
means flashing oss zip will completely break the stock camera?
Click to expand...
Click to collapse
Yes it would break stock camera app
rk2shashank said:
Yes it would break stock camera app
Click to expand...
Click to collapse
Someone please try forcing cam hal 1 for zui camera package through build.prop and then test
rk2shashank said:
Google camera is working on my stock zui 2.5 indian version but beware after following these steps the stock camera app won't work .
Here are the steps I did follow
1 you should have latest twrp.
2.flash open source camera 2 hal from here
https://forum.xda-developers.com/attachment.php?attachmentid=4412288&d=1518010186
3. install Google camera from here
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
4. For working HDR+ and portrait mode on front camera although its for OnePlus 3 it works on our devices as well. Flash this file
https://www.celsoazevedo.com/files/android/google-camera/f/hdrfix/twrp-front-fix-nougat-op3-3t.zip
Click to expand...
Click to collapse
Thnx for ur help ,but Iam not able to download the Google camera app???Can u pls help???
pkn267 said:
Thnx for ur help ,but Iam not able to download the Google camera app???Can u pls help???
Click to expand...
Click to collapse
try this
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
rk2shashank said:
try this
https://drive.google.com/file/d/1wqkqZ7-IcoJiq4krpR2cb8jHewysdbUC/view
Click to expand...
Click to collapse
And one thing ,how can I fix the slow motion recording ???.Thank you.
pkn267 said:
And one thing ,how can I fix the slow motion recording ???.Thank you.
Click to expand...
Click to collapse
That can't be fixed on this version of Google camera maybe next release version 6 by aranova at fix it
on oreo AEX, i need the hole steps or just install the google camera apk ?
rk2shashank said:
I think it should I haven't tried yet but it should be working and google photos app should be installed for motion photos feature
Click to expand...
Click to collapse
I can confirm that don't work in zui Oreo
mpena said:
I can confirm that don't work in zui Oreo
Click to expand...
Click to collapse
In Indian nougat version it worked
front camera is taking green photos even after flashing the zip provided for front camera. (btw i am on zui 2.5 indian)

[Fix] [MIUI10] camera upside-down

So apparently in a few MIUI10 based ROMs there's a bug
with the Camera2 implementation.
Just download this zip file and flash it via TWRP,
it will rotate your front camera back to its right angle
working with gcam?
rafizulhasan said:
working with gcam?
Click to expand...
Click to collapse
If the upside down happens ONLY with Gcam, I would not mess with it.
BUT
if you're experiencing EXACTLY this bug, it's affecting ALL your cameras apps, since it's a system/etc/camera setting.
Then, this patched file will fix them all!
dev>null said:
If the upside down happens ONLY with Gcam, I would not mess with it.
BUT
if you're experiencing EXACTLY this bug, it's affecting ALL your cameras apps, since it's a system/etc/camera setting.
Then, this patched file will fix them all!
Click to expand...
Click to collapse
this camera issue happens in every camera app whether its stock camera or third party,,,
hunkyycbz said:
this camera issue happens in every camera app whether its stock camera or third party,,,
Click to expand...
Click to collapse
Then you can take advantage of this fix
mi5 after enable camera 2 api front cam flipped
dev>null said:
So apparently in a few MIUI10 based ROMs there's a bug
with the Camera2 implementation.
Just download this zip file and flash it via TWRP,
it will rotate your front camera back to its right angle
Click to expand...
Click to collapse
sir
kindly tell me process to flash.
i have enable camera 2 api without root through adb.
please tell me command and process.
---------- Post added at 09:18 AM ---------- Previous post was at 09:03 AM ----------
dev>null said:
So apparently in a few MIUI10 based ROMs there's a bug
with the Camera2 implementation.
Just download this zip file and flash it via TWRP,
it will rotate your front camera back to its right angle
Click to expand...
Click to collapse
i used command adb sideload <filename.Zip> and flash.
but nothing happened.
please help me
diwa.2011 said:
sir
kindly tell me process to flash.
Click to expand...
Click to collapse
XDA search is your friend:
https://forum.xda-developers.com/showthread.php?t=1353234
Front cam is still upside down
Nvm, fixed it. I changed the front cam degrees to 360 instead of 270. Lol weird
I am still having updside down issue after the patch. Any suggestions?
Enviado de meu MI 5 usando o Tapatalk
Whatsapp selfie camera takes upsidedown selfies, I just noticed. All other cameras seem normal, Gcam included(orientation is ok after processing). Mount angle is already 270 for my front cam, I might have changed that specially for Gcam when i upgraded fw to MIUI10(.eu)
LE. changed front cam orientation to 360(was 270) and got the stock cam selfie upsidedown(probably all other cameras), so not an option and seems this is the stock setting for my fw.
tried and when the front camera was turned on, there was no error, but the shot after it was turned upside down )
Hello! I've issue with upside down camera after this patch, tried to change back to 360 but no result. Camera is upside down everywhere (gcam, miui cam, skype etc.) No rooted global stable ROM 10.2
gonzzo8 said:
Hello! I've issue with upside down camera after this patch, tried to change back to 360 but no result. Camera is upside down everywhere (gcam, miui cam, skype etc.) No rooted global stable ROM 10.2
Click to expand...
Click to collapse
https://forum.xda-developers.com/showthread.php?p=76229793
Flash this fix that's is on bottom.
ICavalera said:
https://forum.xda-developers.com/showthread.php?p=76229793
Flash this fix that's is on bottom.
Click to expand...
Click to collapse
I've used that already - no effect
Hi i've flashed the zip on Havoc 2.4 but now I get the frontal photo rotated with any camera app. Before was just the GCam with the photo shooted. How can i revert it?
Edit: with root access open this file
Code:
/system/etc/camera/msm8996_camera.xml
Find the part that said:
Code:
<Position>FRONT</Position>
<MountAngle>270</MountAngle>
Change the MountAngle to 360 and then reboot, this worked for me.
Thanks
Hi mates,
One of my Redmi 5+ got rear camera upside-down problem. Please help me to solve this .
Regards

Stock Camera on Custom ROMs.

I know, I know, I'm on XDA so I must want the GCAM mod all the way!
I've managed to install the Pixel Experience ROM on my Mi Mix 3 5G and I'm loving what I see so far, I just miss the stock camera. I've extracted the APK from the stock ROM but it won't install on my Pixel Experience ROM. It's throwing up the error "App not installed" when I try to install the extracted APK. I assume this is possibly due to it trying to save in the same folder as the 'stock' camera that comes preinstalled with the Pixel Experience ROM.
Does anyone have an installable APK for the stock camera or suggest any way of me editing the APK to be able to install it?
Thank you!
I don't know if this is exactly what you were after but I tried it out yesterday and so far so good.
More info in the Pixel Experience thread: https://forum.xda-developers.com/mi.../rom-pixel-experience-mix-3-5g-t4131417/page2
You should use anx camera with this Rom instead of Google camera
To anyone using this rom, anxcamera is a must have! It's the miui camera ported over to AOSP and everything is working fine (incudes front flash, 960fps slow motion, 4k h265, filters and effects and the lot) I haven't experienced any bugs with it either and the quality in on par with the Google camera app. Download from the official website as the developer closed his xda forum
Click to expand...
Click to collapse
I've tried a few gcam's and anx, but all I get is a static image in Camera. If I move the phone around, the first image that locked in the camera is static, it doesn't change. And no, it's not an image I took from pushing the camera button, it's static from starting up the camera.
I don't seem to be able to get this to work. If anyone has any filenames of what I should download, that'd be really helpful! Or better yet, any links. I would really appreciate the help!

Categories

Resources