GCam makes camera not functioning - Xiaomi Mi 8 Lite Questions & Answers

Hi, few days ago I finally tried GCam and I have multiple feelings about it. There are cases where gcam pics rock but sometimes MIUI is much better. However thats not the topic. My problem is that sometimes when I switch camera apps (from GCam to MIUI) - it breaks the camera and the only solution is reboot. Simply both cameras say that there was a problem with a camera and both apps quit.
I did following:
1) rooted phone - successfuly
2) enabled camera2 api - success
3) installed few versions of gcam - all of them break the camera at any time
I luckily didnt have to move the vendor lib file as all cameras were working properly (back and front cameras)
So what did I do wrong? I am using latest developer (weekly) MIUI.
Thanks!!

Read this:
https://forum.xda-developers.com/mi-8-Lite/how-to/how-to-enable-camera2api-install-gcam-t3919290
,

persona78 said:
Read this:
https://forum.xda-developers.com/mi-8-Lite/how-to/how-to-enable-camera2api-install-gcam-t3919290
,
Click to expand...
Click to collapse
This is exactly what I did.

Related

Does Google Cam with portrait mode work on Miui 9 Stock ROM ?

I bought this phone a couple of days ago for my mum and updated it to Miui 9. I'm currently waiting for my 72h waiting period to end before I unlock the bootloader. Since this phone is for my mum, she wouldn't care about the ROM installed. The only reason I'm rooting the phone is to enable camera api2 so that google camera port can work. What I'd like to know is does google camera with portrait mode work on the Miui 9 ROM because if it does I wouldn't see the need to install a custom ROM ?
medwatt said:
I bought this phone a couple of days ago for my mum and updated it to Miui 9. I'm currently waiting for my 72h waiting period to end before I unlock the bootloader. Since this phone is for my mum, she wouldn't care about the ROM installed. The only reason I'm rooting the phone is to enable camera api2 so that google camera port can work. What I'd like to know is does google camera with portrait mode work on the Miui 9 ROM because if it does I wouldn't see the need to install a custom ROM ?
Click to expand...
Click to collapse
Short answer nope. Only hdr works in the ported cam, and video recording. Trying portrait mode or slow motion force closes the app. The only app in which portrait mode works, is the google camera app which you get with gapps. The background blur feature in it works absolutely fine.
It works fine. BSG v1.4 pixel 2 "walleye" profile. Enter portrait mode.

Camera and flash/flashlight (torch) not working and NOTHING changes this

So I'm really tearing my hair out over this.
A short while ago, Gcam stopped working, and the flashlight or torch option stopped working. Other people have reported this issue, with various fixes suggested. One was to flash the latest vendor firmware, which I did. Didn't work. Another one was to flash a Gcam fix by PixeL from the BSG Gcam port thread. Didn't work. I thought maybe it was an issue with Pixel Experience, so I flashed LOS. Now the camera worked, but only in certain modes and the flashlight/torch icon was still grayed out. Third party flashlight/torch apps still said it couldn't access the flashlight. I've even now tried a full, complete wipe of *everything* including internal storage and installed the latest MIUI beta and vendor from scratch. Nothing. Flashlight grayed out and camera only works in certain modes (if I go to slow-motion, for instance, it crashes and loses access to the camera).
This is so frustrating. Please, anyone, help. There are other people who have had this same issue, but all of them were able to find a way to fix it through flashing those fixes or whatever else. It's not working for me and it's making my experience with the phone really frustrating.
I Have been Facing Same Issue Since The Last Global Stable update
It Happens every once in a While But some reboots fixes the problem but since yesterday I Am not able to use the primary 12mp camera . I did reboot my device many time to get it working but nothing works now..... Did You Get Your Camera Working ?? Neither slow motion mode working nor portrait.... Slow motion mode instantly crashes the camera app and portrait mode gives the error of can't connect to camera.... If your Camera is working now please suggest the way to fix it it's really frustrating
did u try stock stable miui fastboot rom?
koax88 said:
did u try stock stable miui fastboot rom?
Click to expand...
Click to collapse
I am on Stock Stable Rom (Miui 10.2) Locked Bootloader
thebigcw said:
So I'm really tearing my hair out over this.
A short while ago, Gcam stopped working, and the flashlight or torch option stopped working. Other people have reported this issue, with various fixes suggested. One was to flash the latest vendor firmware, which I did. Didn't work. Another one was to flash a Gcam fix by PixeL from the BSG Gcam port thread. Didn't work. I thought maybe it was an issue with Pixel Experience, so I flashed LOS. Now the camera worked, but only in certain modes and the flashlight/torch icon was still grayed out. Third party flashlight/torch apps still said it couldn't access the flashlight. I've even now tried a full, complete wipe of *everything* including internal storage and installed the latest MIUI beta and vendor from scratch. Nothing. Flashlight grayed out and camera only works in certain modes (if I go to slow-motion, for instance, it crashes and loses access to the camera).
This is so frustrating. Please, anyone, help. There are other people who have had this same issue, but all of them were able to find a way to fix it through flashing those fixes or whatever else. It's not working for me and it's making my experience with the phone really frustrating.
Click to expand...
Click to collapse
Did You Get Your Camera Working?
Please help me I have the same problem in my poco F1
I also have the same problem....my flashlight don't work and is greyed out........my camera seems downgraded and has no new features plus it stops working when selecting slowmo or any camera mode and Xiaomi is not responding to my problem
thebigcw said:
So I'm really tearing my hair out over this.
A short while ago, Gcam stopped working, and the flashlight or torch option stopped working. Other people have reported this issue, with various fixes suggested. One was to flash the latest vendor firmware, which I did. Didn't work. Another one was to flash a Gcam fix by PixeL from the BSG Gcam port thread. Didn't work. I thought maybe it was an issue with Pixel Experience, so I flashed LOS. Now the camera worked, but only in certain modes and the flashlight/torch icon was still grayed out. Third party flashlight/torch apps still said it couldn't access the flashlight. I've even now tried a full, complete wipe of *everything* including internal storage and installed the latest MIUI beta and vendor from scratch. Nothing. Flashlight grayed out and camera only works in certain modes (if I go to slow-motion, for instance, it crashes and loses access to the camera).
This is so frustrating. Please, anyone, help. There are other people who have had this same issue, but all of them were able to find a way to fix it through flashing those fixes or whatever else. It's not working for me and it's making my experience with the phone really frustrating.
Click to expand...
Click to collapse
For once download the fastboot rom of miui and flash it. FASTBOOT ROM. Can be both stable or beta but must be fastboot. Do not use twrp etc to flash.
USE MIFLASH TO FLASH THE FASTBOOT ROM.
Just use fastboot rom. If it still doesn't work, then it's probably a hardware issue.
thebigcw said:
So I'm really tearing my hair out over this.
A short while ago, Gcam stopped working, and the flashlight or torch option stopped working. Other people have reported this issue, with various fixes suggested. One was to flash the latest vendor firmware, which I did. Didn't work. Another one was to flash a Gcam fix by PixeL from the BSG Gcam port thread. Didn't work. I thought maybe it was an issue with Pixel Experience, so I flashed LOS. Now the camera worked, but only in certain modes and the flashlight/torch icon was still grayed out. Third party flashlight/torch apps still said it couldn't access the flashlight. I've even now tried a full, complete wipe of *everything* including internal storage and installed the latest MIUI beta and vendor from scratch. Nothing. Flashlight grayed out and camera only works in certain modes (if I go to slow-motion, for instance, it crashes and loses access to the camera).
This is so frustrating. Please, anyone, help. There are other people who have had this same issue, but all of them were able to find a way to fix it through flashing those fixes or whatever else. It's not working for me and it's making my experience with the phone really frustrating.
Click to expand...
Click to collapse
I have the exact same problem, the flashlight dont work and the dual camara seems downgraded
Hey bro.. I had similar issues.. and even the service centre couldn't solve it.. did u get any solution??
It's happend to me
Just do 5 reboots
And it's will work

			
				
Yoav11 said:
It's happend to me
Just do 5 reboots
And it's will work
Click to expand...
Click to collapse
What the actual f***?!
I did had the bug too, did reboot like 2 or 3 Max in row but 5 seems to make it or is it just luck?
Thanks a lot for the tips I didn't had camera or flash no more, seems to get better now.
Anyway I'm so disappointed from this device...
I am facing the same problem, dii those reboots but it didn't work, help me wit it
me too..how to solved?
I have similar problem with my Pixel Experience Plus ROM Android 11 on Zenfone Max Pro M2 X01BDA. The flashlight button is greyed out and says "camera in use"
No camera app came with the ROM so I installed GCam specified for X01BDA but anytime I open the app it says camera in use by another app
This problem is common with other ROMS I installed too ; Evolution X, Lineage OS 18.1
HELP!!
I'm so frustrated
thebigcw said:
So I'm really tearing my hair out over this.
A short while ago, Gcam stopped working, and the flashlight or torch option stopped working. Other people have reported this issue, with various fixes suggested. One was to flash the latest vendor firmware, which I did. Didn't work. Another one was to flash a Gcam fix by PixeL from the BSG Gcam port thread. Didn't work. I thought maybe it was an issue with Pixel Experience, so I flashed LOS. Now the camera worked, but only in certain modes and the flashlight/torch icon was still grayed out. Third party flashlight/torch apps still said it couldn't access the flashlight. I've even now tried a full, complete wipe of *everything* including internal storage and installed the latest MIUI beta and vendor from scratch. Nothing. Flashlight grayed out and camera only works in certain modes (if I go to slow-motion, for instance, it crashes and loses access to the camera).
This is so frustrating. Please, anyone, help. There are other people who have had this same issue, but all of them were able to find a way to fix it through flashing those fixes or whatever else. It's not working for me and it's making my experience with the phone really frustrating.
Click to expand...
Click to collapse
Did you find any solution?
Harshiit Arora said:
Did you find any solution?
Click to expand...
Click to collapse
Actually it's not a software related issue ....in my case i got the camera sensor replaced by the service center under warranty which fixed my problem since then it's working fine... it's a hardware related issue ...so if you're camera switched to secondary camera and crashes on slow motion and portrait mode and also greyed out flash then none of the flashing tricks will work.
Have a Nice Day
thebigcw said:
So I'm really tearing my hair out over this.
A short while ago, Gcam stopped working, and the flashlight or torch option stopped working. Other people have reported this issue, with various fixes suggested. One was to flash the latest vendor firmware, which I did. Didn't work. Another one was to flash a Gcam fix by PixeL from the BSG Gcam port thread. Didn't work. I thought maybe it was an issue with Pixel Experience, so I flashed LOS. Now the camera worked, but only in certain modes and the flashlight/torch icon was still grayed out. Third party flashlight/torch apps still said it couldn't access the flashlight. I've even now tried a full, complete wipe of *everything* including internal storage and installed the latest MIUI beta and vendor from scratch. Nothing. Flashlight grayed out and camera only works in certain modes (if I go to slow-motion, for instance, it crashes and loses access to the camera).
This is so frustrating. Please, anyone, help. There are other people who have had this same issue, but all of them were able to find a way to fix it through flashing those fixes or whatever else. It's not working for me and it's making my experience with the phone really frustrating.
Click to expand...
Click to collapse
I had also same problem bro!!!
Is ur problem fixed??

stock camera keeps stopping

Hello,
I recently got a mi a3.
Today the stock camera ''keeps stopping'' , I can still use open camera and Google camera redmi note 7 port by BSG. I installed the last update with 5 July security patch yesterday maybe it's linked.
Does anyone have the same problem ?
Does anyone know if we can use the wide angle camera with an other app ?
I don't have that kind of issues on latest security updates...stock camera work fine here...try clearing stock camera data and cache first...
iPusak Gaoq™ said:
I don't have that kind of issues on latest security updates...stock camera work fine here...try clearing stock camera data and cache first...
Click to expand...
Click to collapse
I already tried that :/ Even with safe reboot it doesn't work.
I'm going to factory reset.
I'm having the same issue. Also, the camera is very laggy, whenever I click a photo the camera takes 1 or 2 seconds to respond.
Mi a3 camera stop working problem
I have that problem too.
And finally I found problem.
I wish work for you to.
Go to usage acsses and allow camera app.
If was enable renable agane...
I mean just allow the app usage acsses.
That work to me I hope working for you too
Hi
Check usage acsses and enabling if not enable.
Go app info
Time spent in App
Change in setting
Camera
Allowed
I hope working for you
Hallo.. I have bought today this phone (Mi a3)..
After i power on my phone and did the update i begin to test the phone..
On camera every time i try to record a video it crashes.. After this i have to restart the phone.. if i try to record video again same thing.
I tried hard reset.. google camera.. camera from messenger.. same thing on all cameras.. include selfie camera..
Taking photos is ok with all cameras but videos crashes the camera..
Anyone else with this problem?Hallo.. I have bought today this phone (Mi a3)..
After i power on my phone and did the update i begin to test the phone..
On camera every time i try to record a video it crashes.. After this i have to restart the phone.. if i try to record video again same thing.
I tried hard reset.. google camera.. camera from messenger.. same thing on all cameras.. include selfie camera..
Taking photos is ok with all cameras but videos crashes the camera..
Anyone else with this problem?
Eslovable said:
I have that problem too.
And finally I found problem.
I wish work for you to.
Go to usage acsses and allow camera app.
If was enable renable agane...
I mean just allow the app usage acsses.
That work to me I hope working for you too
Click to expand...
Click to collapse
Yaaaaay It worked perfectly. Tnxxxxx
Just open settings -> search "Usage access" -> tap on the result -> choose "usage access" from list -> allow camera. DONE
(It's suspicious why camera needs usage access tho!!!!)

GCam has broken my Poco F1's camera

Update: #1 - I have been able to unlock the bootloader and reinstall MIUI. Unfortunately, neither of these procedures managed to fix the camera. I've also installed TWRP and wiped everything I possibly could, and yet, still no functionality from the camera. This is weird because I literally had no problems prior to trying out GCam.
I've had my Pocophone for about a year now. I really enjoy using it for pictures and videos. After seeing all the hype around the GCam port, I decided to try it for myself. After I installed an APK, I took a few pictures and all was working well. After a few hours, I opened the GCam app once more to take a new photo, and after which, it froze. I then tried the Stock Camera, and that also froze. I restarted my phone, and then opened both apps, and the camera refused to open.
I've tried the CID test, and it works until it gets to "Rear Dual Camera". The "Rear Sub Camera" does work, however, as does the front camera.
I've also performed a factory reset, but this has also rendered the camera unusable. Interestingly enough, after I restart the phone and open the camera app, it DOES work, but as soon as I shift to portrait mode, it then freezes and refuses to work again.
I really don't know what the GCam apk did.
Have u tried flashing the ROM again?.. This might help
Vicky_2409 said:
Have u tried flashing the ROM again?.. This might help
Click to expand...
Click to collapse
No, I haven't. I've never flashed anything onto my Pocophone. It's completely stocked. I've been doing research on how to unlock the bootloader to try this method, however, I've made no progress with getting the bootloader to unlock. In the meantime, I've been trying other ways to fix it.
One version of Gcam is currently launching the camera, however, the stock app keeps freezing. This other version of Gcam also takes several seconds to switch between the front and rear cameras, so this I know it still isn't fixed properly.
Did you tried to flash a stock rom using fastboot method?

Received 12.0.4 Global today

My 9T Pro received 12.0.4.0 QFKMIXM about 14 hours ago. It went smoothly and I notice I now have more available storage and Have Android security dated January 2021.
I imagine 12.5 of MIUI will be available in the coming weeks. I might wait a while before I upgrade to that. It would be nice to see if there are any bugs in the new rom.
I also received the 12.0.4. in my case I lost the camera with the upgrade. Now the camera app crash everytime I take a picture. It is also impossible to change between lenses. In average I was happy with the phone but I don't understand why Xiaomi is doing always thing like that.
I usually use google cam but I just check the Mi cam and it was fine. Maybe you could try to clear the cache on the cam app and then see if it works.
ludditefornow said:
I usually use google cam but I just check the Mi cam and it was fine. Maybe you could try to clear the cache on the cam app and then see if it works.
Click to expand...
Click to collapse
Thanks for your answer. I tried everything and nothing has changed. Let's see if Miui 12.5 can solve the problem. I think that next week is gonna start the roll out of this version
You could do worse than use this Gcam app. It works well for me. I never use the Mi camera app.
Google Camera by Urnyx05
Google Camera Port by Urnyx05 This is a thread where I share my GCams and you can report me bugs. How to report bugs: If possible, post on a thread for your phone or here if you can't find a thread for your phone. Please describe the issue and...
forum.xda-developers.com

Categories

Resources