[HELP] stock camera app auto focus not working - Xiaomi Mi A1 Questions & Answers

As the title says, the autofocus function on the camera doesn't work anymore. The way it works is like it's stuck on 'macro' mode, changing to manual mode and manually trying to focus further distances doesn't work.
I've already reset the device to factory settings, but it still persists, which leads me to believe it's either hardware related ( not likely at all, the only time I dropped the phone was 2/3 days of getting it in oct2017 and only got a crack bottom screen part ) or software related (but at a rom level, i've noticed it a couple days ago after updating to february sec. patch).
I would like to not get dirty into modding the phone and installing custom roms, but, I can get to do it (thinking something like LOS would be a good fit) as I've fiddled with other xiaomi devices before and what not ( and if that fixes it ).
Here are some results of the photos taken for now...
https://imgur.com/gmhksX3
https://imgur.com/n0Z1Vx7
https://imgur.com/MA9hAb4
https://imgur.com/AIqxoL3
PS: It's been a while since I've got my hands dirty with installing custom roms and what not, although not everything is unknown to me for this device ( I've unlocked the bootloader before, and know what happens when I'll need to unlock it again, etc... )
Edit: just noticed my sig says i'm with Oreo, but I'm with Pie (5-feb patch).

Portrait mode works?
Try stock rom installed in fastboot mode

punktnet said:
Portrait mode works?
Try stock rom installed in fastboot mode
Click to expand...
Click to collapse
Yep, "depth" option works fine. even using the wide angle sensor works... it's like it's stuck focusing macro, and what's even more odd is manual mode not working too (if it was a bit of dust on the lens or something like that, manual mode would "ignore" that)...
Do you have links for fastboot stock android pie rom ?

No, sorry, just use search function.

same
I have the same problem, can you solved it?

Related

[FIXED] black screen on hboot/recovery and camera issue (FIXED)

During an update, (PASSIMG.zip) in hboot I selected yes (to install) then about a second later, my screen
turned black and now, the only thing I can do is to boot in the installed stock rom (FRG33).
My english is not perfect, i'm sorry for that.
1. I Removed my battery after a while. (about 10 minutes)
2. Inserted the battery back in his place
3. Power down + vol down and I'm stock, I can navigate in
the menu but I can't see anything...
Anyone know how I can get my screen back ? OLED vs SLCD ?
Note: I can boot in my rom, the rom is unrooted, my phone is unlocked.
(And yes, I tried to flash recovery and another rom without success. And I can't
find a way to flash hboot again (bad signature)
I'm using the last version of hboot and radio.
If anyone have an idea of how I can fix this, this will be really appreciated.
Thanks.
I'm starting to think than my /dev/mtd/mtd0 is screwed up.
Anyone know where I can get/or generate a image of a normal mtd0 ?
At the moment I'm running debian sid dand SuperOneClick seem to freeze
after trying to chmod rageagainstthecage or psneu..
Note: Yes my screen work when the boot is completed. (but not in hboot/recovery)
bad spl ?
fblodroid
Ok, sorry for the noise, I was able to perform an update via 766a101ae02c.signed-passion-ota-60505.766a101a.zip (renamed to update.zip) and I powered off my phone.
Removed the battery to be sure there is no power at all.
and using some screenshot found on the web.
I was able to perform the update (blindly, this word exist ?) and the phone rebooted
and asked me if I want to update again (google update) I selected yes, the phone rebooted
and, VOILA, I can see again the crappy X logo with an open lock at the bottom.
Thanks again (ok for nothing, but if than can help some people...)
Yes, shame on my english again.
fblodroid
My guess is that you have an SLCD Nexus One, and the passimg installed the .33 HBOOT which doesn't work for them.
I had the same problem when flashing the MIUI-AU rom, screen went black,removed battery and replaced but the phone was dead,I was already thinking which phone to buy then when I connected the N1 to my laptop miraculously the X logo appeared and the rom launched ok
At the moment my phone is working again but I'm still having a camera issue.
About a 1 1/2 month ago I experienced this problem, no flash, no camera, just
a black screen when I try to run anything than use the camera.
Then a day, I was walking on the street and I checked to see if the flashlight was
working and obscured magic occured, the flash was working again but not the camera,
I wiped my phone again, repartitionned my SD card and installed a new rom and the
camera was back to normal.
Now, about a month later, (the problem started yesterday) i'm having the same issue.
I'm persuaded than this problem is related to a firmware problem, something related to
my /dev/mtd/mtd0 (hboot, perpaps ?) I don't know exactly where the camera firmware
is writed in the phone memory (nand)
I wiped and flashed again and again a lot of rom last night and today and the problem
still exist.
No camera/flash at all.
I'm thinking about returning the phone for warranty issue but like I said before, the
phone is unlocked... perpaps I will try to black the screen again and send the phone for
warranty... this way they cannot see (without fastboot) if the phone is locked or not.
If anyone have an idea of what I can do... a rom to recommend ?
Today I tryed to revert hboot without success...
EDIT: At the moment I'm running a rooted rom based on FRG83G.
fblodroid...
Related to my camera/flash problem:
Hum, I think I found the problem, this is hardware related, something seem to be
badly connected in the phone, I tryed too apply some force on the right border of the
phone with the flashlight ON (I previously looked on the web to see where the "contacts/plugs"
are located on the pcb (teardown pictures) and after applying some pressure, the light came ON
and now I can open and stop the "flashlight" mode.
teardown on the way ? I'm thinking about it... but i'll try to flash another rom again to see
if my camera is back.. (like in the past)
EDIT: No camera for the moment and the flashlight app light on the LED only if I select
the option "High Brightnes", ON/OFF are working with this option selected.
fblodroid
FIXED
After a complete teardown of my phone, and a lots of cigarettes..
I found two cables not correctly connected to her pin.
I made a picture, hum, an ugly picture of which cables.
http://img121.imageshack.us/i/icedqlubgg4zzbv2huge.jpg/ (in the red circles, the two pink dots)
And yep, now my camera/flash are working perfectly.
NOTE: the phone is not easily to dismantle, this is at your risk and peril. (time: about ~25 min)
Thanks again and please, ignore my english. I'm thinking about starting a thread
related to this problem. Should I ?
fblodroid
Hi, I have a HTC Desire GSM PVT4 (HTC__203), with the exact same issue as what is described in the original post. When I boot in hboot or recovery the screen is completely black. When I boot in the normal rom the screen works fine. I reflashed a number of RUU's successfully, but the problem remains.
The misc partition is not part of the RUU images, and I did re-flash the misc partition in an attempt to downgrade. Any idea where I can get an image for the misc partition for my device, or where I can generate one?
Thanks,
Hans
fblodroid said:
After a complete teardown of my phone, and a lots of cigarettes..
I found two cables not correctly connected to her pin.
I made a picture, hum, an ugly picture of which cables.
/link/
And yep, now my camera/flash are working perfectly.
NOTE: the phone is not easily to dismantle, this is at your risk and peril. (time: about ~25 min)
Thanks again and please, ignore my english. I'm thinking about starting a thread
related to this problem. Should I ?
fblodroid
Click to expand...
Click to collapse
Hey. I have the same issue you had with the camera, black screen and forced to close when running it. My flashlight works perfectly thoug.
I tried wiping and reflashing diferent ROMs, stock and Cyanogen with no luck. I also followed your lead and disassembled the phone to check all the connectors but the problem persists.
Any idea for me to try? Thanks for your posts anyway.
soylapinta said:
Hey. I have the same issue you had with the camera, black screen and forced to close when running it. My flashlight works perfectly thoug.
I tried wiping and reflashing diferent ROMs, stock and Cyanogen with no luck. I also followed your lead and disassembled the phone to check all the connectors but the problem persists.
Any idea for me to try? Thanks for your posts anyway.
Click to expand...
Click to collapse
Did you managed to fix it ? Be sure to check all the plugs, at best unplug everythings
and disassemble the phone entirely.
Mine is still working perfectly after two years.
fb

Oneplus Two Camera issues ... Hell lot of Issues

M facing really weird issue with Oneplus Two Camera.
1) Sometimes not frequently when I open camera app the screen is black and it crashes with an error stating "Camera unknown error".
At tht time if I use other camera apps i.e. Snapchat, Google camera ,etc..they show black screen too.
Even Flash doesn't work at tht time.
So I hve to restart to solve the problem.
2) When in a dark room or so, when I take picture with flash mode on...the camera screen goes blank and I hve to lock and unlock it to solve the problem. But if happens again when I take another shot.
Is there any solution ? Do I hve to worry ? Is it hardware or software problem and if its a software prob...will it damage my camera hardware or any other ?
I really love this phone ...so even minute errors bugs me
Do I need to replace? ...I don't want to spend my time replacing it coz I hve already replaced it ...I mean ..I bought it from Amazon India and due to a small dent on my OPT on the right upper corner I replaced it and it took me 15 days with lot of calling at Amazon ...so I don't want to do all tht again
Please help
I am on Oxygen OS 2.1.0
Rooted
Titanium restored from a backup of my previous phone I.e. Nexus 4 <--- is this causing the prob in any case?
Have you tried doing a factory reset? Did this happen on OxygenOS 2.0.1? Have you tried other camera applications (google camera) to see if the issue is software related? Do you have a custom recovery?
ripv2 said:
Have you tried doing a factory reset? Did this happen on OxygenOS 2.0.1? Have you tried other camera applications (google camera) to see if the issue is software related? Do you have a custom recovery?
Click to expand...
Click to collapse
I am rooted
with custom recovery (TWRP)
Oxygen OS 2.1.0
Nope i didn't try factory reset
and yes when tht problem happens all camera using apps hve black screen after reboot everything works
I own that device too and I am not facing any such issues but here is a fix -
If you are rooted clean flashy the ROM
Non rooted -
Wipe cache partition from stock recivery
And most likely I think the problem is titanium backup of previous phone
DARK SIDE™
KINGVADER said:
And most likely I think the problem is titanium backup of previous phone
DARK SIDE™
Click to expand...
Click to collapse
i just flashed exodus, stock kernel, opengapps, reistalled my titanium backup, and everything works, no camera issue. so i doubt it's a titanium problem, either... but sorry, no idea how to help
Even after factory reset
Not rooted phone. Did factory reset in recovery mode and tried third party camera apps also, still problem persist
This happens for my OPT too. Whenever I try to take a shot in the dark, it just froze. Until I lock and unlock it again. Weird!
I have met the issue 2 as well. When I take picture under dark environment, the screen will be dark and I have to unlock it again. I am using oxygen 2.1 stock camera app. So I think it should be software bug.
One plus 2 camera issue
I was also facing the same issue but now it is resolved.
Steps. Before clicking a pic in dark just maximize your brightnessto 100% and off the optimization of screen in display.then click a pic..the screen wont get dark..and tje picture will be clicked.i hope it will be resolved in future updates with low and automatic brightness too

Home button not working at all (tried several fixes)

(Edit 1) Found a fix already! Read post 2!!!
Hello there,
I've been having a OnePlus Two since 4 months already, and had like 2 or 3 home button not working issues.
They used to fixed by themselves after a couple of days of not working, but not this last time.
I tried already the reinstalling system (after formatting system via TWRP), clean it several times, hard reset (hold power button for more than 20 seconds), complete drain battery and fully charge it again, force stop fingerprint service, take out the tempered glass screen protector, and none of those solutions worked.
I here attach (copy the link, can't upload a video directly to this post) a video in which you can see that whenever I power on the screen (still locked), the home button works for several times, but as soon as I unlock it (pattern lock) it stops working. This makes me think that the problem is software, not hardware, but as I said before, already tried reinstalling OOS 3.0, wiping system, cache, data, internal storage, etc.
I compressed the video so it wouldnt be too big, but quality is good enough, just rise the volume so you can listen to the "vibration" that the home button produce.
Any help would be appreciated.
Sincerely,
Daniel Castro
Fix for the issue!
Forum people, I found a fix!
Ok, the solution for making the home button work again (with fingerprint sensor) is the following.
-Factory reset while in OOS 3.0
-Set up everything up and then reboot into fastboot mode
-Install OOS 2.1 via fastboot (you will need to search the forums for it)
-Set up everything up and try to set up fingerprint (it wont work)
-Copy OOS 3.0 (Beta) in the root of the phone
-Reboot into stock recovery and flash OOS 3.0 (beta)
-Factory reset it and set up everything again
-Voila!
Feel free to try this method and reply to this threat or P.M. me for any help.
Sincerely,
Daniel Castro
I have the same problem
Tomorrow i'll try your method
I've posted a questione about this issue,
I think the One plus team should find a solution to this problem that afflict many users
Also, don't forget to rotate your phone 720 degrees, counter clock wise! ? hocus pocus....
DCastro555 said:
Forum people, I found a fix!
Ok, the solution for making the home button work again (with fingerprint sensor) is the following.
-Factory reset while in OOS 3.0
-Set up everything up and then reboot into fastboot mode
-Install OOS 2.1 via fastboot (you will need to search the forums for it)
-Set up everything up and try to set up fingerprint (it wont work)
-Copy OOS 3.0 (Beta) in the root of the phone
-Reboot into stock recovery and flash OOS 3.0 (beta)
-Factory reset it and set up everything again
-Voila!
Feel free to try this method and reply to this threat or P.M. me for any help.
Sincerely,
Daniel Castro
Click to expand...
Click to collapse
Will it erase my internal storage during that fast boot step? So I can backup all my data.
Sent from my ONE A2003 using Tapatalk
these fixes are all coincidences... we need to request a definitive fix from One plus team if is a software issue.
LOL9988 said:
Will it erase my internal storage during that fast boot step? So I can backup all my data.
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
It will erase everything, make a backup before starting the process.
faustin95 said:
these fixes are all coincidences... we need to request a definitive fix from One plus team if is a software issue.
Click to expand...
Click to collapse
Most probably hardware design fault, solution would be to redesign the phone and release a fixed design, will probably not happen unless oneplus3 is the solution.
And I second that it's just coincident behind these back and forth flashing of firmwares "solving" it, almost religious. But what are people to do when oneplus is not a company that takes responsibility for they're mistakes.
pitrus- said:
Most probably hardware design fault, solution would be to redesign the phone and release a fixed design, will probably not happen unless oneplus3 is the solution.
And I second that it's just coincident behind these back and forth flashing of firmwares "solving" it, almost religious. But what are people to do when oneplus is not a company that takes responsibility for they're mistakes.
Click to expand...
Click to collapse
If it works, its worth a try . And yeah, but we are not in any OnePlus Forum, neither debating about if they are gonna do anything about their own issue, we are trying to fix what an irresponsable company wont.
can we make together an official request to one plus to give us an answer or explanation about this? a lot of users are facing this issue, it's not normal
This is my second opt I bought that this problem has happened
sorry for my english
I had also tried lot of things but home button is not responsive at all.. H2os,exodus,oxygen 2.1 ,3.0 same everywhere
---------- Post added at 04:01 AM ---------- Previous post was at 03:59 AM ----------
Error is: when i open fingerprint setting
Enrollment not working try differnt finger or try again ... Nd fingerprint autotest not starting also
i've turned to stock i've updated to oxygen 3.0 bet and the button worked again
i think rooting installing twrp and installing different roms may be the cause of this issue
faustin95 said:
i think rooting installing twrp and installing different roms may be the cause of this issue
Click to expand...
Click to collapse
Unfortunately that is not the case, it's a hardware design bug.
However you can f-k up your finger scanner by damage your persistant-partition if you flash up and down between different ROM/bootloader revisions. But it's easily fixed by flashing the image file for that partition again.
pitrus- said:
Unfortunately that is not the case, it's a hardware design bug.
Click to expand...
Click to collapse
it's a driver issue
faustin95 said:
it's a driver issue
Click to expand...
Click to collapse
50/50 moisture sensitivity and driver issue.
Home button has been working fine for a year, installed 3.0.1 today and suddenly home button only works in OOS 3.0.1. No longer works in CM 13, yet works fine in OOS 3.0.1. Definitely a driver issue.
Tried installing OOS 2.2.1, wiping, then installing Grarak's CM 13 and home button refuses to work. Wiped system, data, cache, installed OOS 3.0.1 and home button works again. Tried wiping again and installed CM 13, home button stopped working. Wiped and reinstalled OOS 3.0.1, home button works again.
Odd thing, my phone will only work with CM13 roms and OOS 2.2.0 or less for fps and home button. Nothing will fix or ever work.
For me, the home button stopped working for a short while on Graraks, then it just jumped back to life again and I haven't had any more home button blackouts after that. If it's a driver issue, it's an extremely intermittent one.
The fingerprint scanner has stopped working from time to time at lockscreen, but this is acceptable for an official hackjobb supported scanner until official sources are released ?
Need Help with this!
Hi everyone!
I have a OP 2 for more than one and a half years now and never had any issues with it(stayed stock...) until recently. I didnt update the phone to the latest version and was putting it off, and today in the afternoon when I tried to unlock my phone it said the 'Fingerprint hardware is not available' and after unlocking the phone with the pattern, it IMMEDIATELY LOCKS ITSELF BACK !!! after split second it just locks the screen while everything is working like connection, wifi, messages, notifications, etc. but due to this I cannot access anything on the phone, can't go to settings and switch to onscreen nav bar buttons, can't force stop/wipe cache the com.fingerprints.serviceext either, tried restarting it several times, downloaded the update but can't even install it because the phone just locks! I have no idea what would fix it and I am avoiding a full reset and wipe on the phone(also based on all i have read, dont think it would fix it anyways)
If anyone knows whats the problem or has dealt with it or knows someone who has, please help me out here on how to fix this and what to do. I did not root it or flash custom ROM's on it yet so literally dont know why it happened.
Thanks,
Max

Camera not working after root/xposed

I have an XT1644. I rooted it and installed Xposed about a week ago. Out of nowhere, today the camera no longer works. I have not installed any new apps or done anything else to the phone. When I open up the camera, the image is all black and the onscreen buttons are not responsive. I have to wait a bit and then it says "camera error camera must be restarted". I have rebooted into safemode and factory reset and the problem persists. Anybody have any idea whats going on?
roygbiv859 said:
I have an XT1644. I rooted it and installed Xposed about a week ago. Out of nowhere, today the camera no longer works. I have not installed any new apps or done anything else to the phone. When I open up the camera, the image is all black and the onscreen buttons are not responsive. I have to wait a bit and then it says "camera error camera must be restarted". I have rebooted into safemode and factory reset and the problem persists. Anybody have any idea whats going on?
Click to expand...
Click to collapse
I flashed stock and that fixed it, but then I again rooted and the problem returned. If I boot into "factory mode" the camera works. On safe mode it doesn't, so I'm guessing it's not a hardware problem.
i had this problem yesterday.
Rooted no problems, Installed Xposed stable version, and then out of the blue after 1 day my camera wasn't working.
Even after i disabled the modules it still was not working.
I had to restore a backup i made the night before....
coolhead said:
i had this problem yesterday.
Rooted no problems, Installed Xposed stable version, and then out of the blue after 1 day my camera wasn't working.
Even after i disabled the modules it still was not working.
I had to restore a backup i made the night before....
Click to expand...
Click to collapse
I fixed it by flashing the newest stock firmware. The old stock firmware was not only messing up the camera, but other things as well. Ever since I did that, I've had 0 problems. Rooted and Xposed have been working just fine for weeks. Give it a shot.
roygbiv859, where do you get the "latest firmware" and how to flash it?
I am hitting this problem and my phone says software is already up to date. Same thing as you guys -- camera and flashlight only work in factory mode.
I have Xposed and root as well, but I remember things used to be working all together.
I noticed that in "factory mode" cellular network does not work, and battery never charges, otherwise I do not really mind running in that mode.
I saw a version number "MPJ24.139-48" at bottom of status page, is that the firmware number? Looks like I am already on the latest.

G6: "Camera unavailable" but works in Instagram and Snapchat

Hello, My phone's (main)camera is not being registered by the stock camera app , neither by Gcam. But it shows up in apps like instagram and snapchat and works just fine, no crashes or such. I tried resetting my phone through settings and the ****ty bootloader you get with a locked H870DS (un rootable) model and it didn't seem to work.
What I am thinking is, there's something wrong with the camera ID allocations of the camera but still confused as to why even after resetting, it won't work. Any way that I can erase the system and other partitions and do a fresh stock os installation? UGH it was so easy with root. Lg made a great device ****ty by locking it down for me.
Update: So I forgot to add how I came to the conclusion of camera ID being allocated wrongly. When I try to open the stock camera app by long pressing and selecting 'Selfie cam' , it opens up the wide angle rear camera. Either the front cam is done for or my device is.
So everyone's in quarintine but no one wants to help?
Hey,
today i tried to recreate your problem, and i got your problem.
Problem came when i flashed Pixel Experience Android 10 ROM against branded stock Android 9 (branded by Polish Play).
How to solve it? After many trial and errors, problem dissapeared when i flashed stock Android 8 (branded by Polish Play in my case), and did FOTA update.
I hope i helped.

Categories

Resources