[Fix] [MIUI10] camera upside-down - Xiaomi Mi 5 Themes, Apps, and Mods

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

Related

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)

Front camrera has disappeared. Mi A1

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

Any good Gcam for stock Rom?

Currently im in stock ROM rooted but i can't find any gcam that works good with my phone. The version i have is the fu24 one which works but not as it should for the focus side.
Suggest me a version down below for the stock ROM.
Thanks
I don't think the focus on any GCam works on the stock ROM after a update. There's a kind of fix where you need to set the image aspect ratio to 16:9 for it to work. You lose a few pixels but hey, at least the camera finally works.
@Zentom In customs roms 9.0, will it work normally?
AdrianDR94 said:
@Zentom In customs roms 9.0, will it work normally?
Click to expand...
Click to collapse
I've heard that yes, they work perfectly on custom pie ROMs.
Zentom said:
I don't think the focus on any GCam works on the stock ROM after a update. There's a kind of fix where you need to set the image aspect ratio to 16:9 for it to work. You lose a few pixels but hey, at least the camera finally works.
Click to expand...
Click to collapse
so switching to 16:9 ratio, Gcam wont have Autofocus issues in stock pie Roms?
Also is trick is for gcam v5 or v6 or both?
zoneofSAM said:
so switching to 16:9 ratio, Gcam wont have Autofocus issues in stock pie Roms?
Also is trick is for gcam v5 or v6 or both?
Click to expand...
Click to collapse
Correct. I'm using my GCam on 16:9 on my Stock, no modification Pie ROM for a while now and have absolutely no issues. And yes, this fix works for all the GCam versions. I have both v5 and v6 and autofocus works on both.
Zentom said:
Correct. I'm using my GCam on 16:9 on my Stock, no modification Pie ROM for a while now and have absolutely no issues. And yes, this fix works for all the GCam versions. I have both v5 and v6 and autofocus works on both.
Click to expand...
Click to collapse
Can you send the version of gcam you have? Or a link to download?
emiljano539 said:
Can you send the version of gcam you have? Or a link to download?
Click to expand...
Click to collapse
Sure! I can't upload over here because of the file size I think but I'll give links.
I use this one for Night Sight and for RAW (the front camera doesn't work in it): https://f.celsoazevedo.com/file/gcamera/MGC_6.1.021_V1.apk
I rarely use this one for HDR+ with a longer shutter, and the front camera works too: https://f.celsoazevedo.com/file/gcamera/GoogleCamera-Pixel2Mod-Arnova8G2-V1.apk
This is the best one I have used so far. If you drop back cam to 9MP the autofocus issue goes away. I'm using stock androidone pie on MiA1 GCam_6.2.024_N7P_test1.apk
Sent from my Mi A1 using Tapatalk
https://f.celsoazevedo.com/file/gcamera/GCam_6.2.024_N7P_test1.apk
Try this one
guys, where is problem on stock rom in AF? i have root so maybe if I change kernel this solve this issue, what do you think?
minerek said:
guys, where is problem on stock rom in AF? i have root so maybe if I change kernel this solve this issue, what do you think?
Click to expand...
Click to collapse
I gave up... Installed PE with A10 everything is working way better than the stock ROM also found a overwhelmer gcam that doesn't crashes at all.
emiljano539 said:
I gave up... Installed PE with A10 everything is working way better than the stock ROM also found a overwhelmer gcam that doesn't crashes at all.
Click to expand...
Click to collapse
Hmm so I need to clean all my data right? Ok I will think about it.. I can install this rom like update to stock? I using recovery twrp to update - I have root and unlocked.
minerek said:
Hmm so I need to clean all my data right? Ok I will think about it.. I can install this rom like update to stock? I using recovery twrp to update - I have root and unlocked.
Click to expand...
Click to collapse
It's a bit more complicated than that but its not hard to be honest . This is the guide i followed to flash my mi a1 https://telegra.ph/Installation-Guide-For-Mi-A1-Pixel-Experience-03-26 . Take a backup of everything before flashing the ROM if something goes wrong also watch a couple videos before trying it . Good Luck

Horrendous Snapchat quality custom roms

I tried out many custom roms for the RN7, but I always have the same problem: Snapchat photos and videos looking absolutely horrendous, especially the selfie camera.
The photos taken with the stock rom in comparison do look acceptable.
This issue has kind of forced me to move back to stock everytime I want to try out a custom rom.
Is there any fix that will cause Snapchat to behave the same way on custom roms than it does on stock?
Qwibbert said:
I tried out many custom roms for the RN7, but I always have the same problem: Snapchat photos and videos looking absolutely horrendous, especially the selfie camera.
The photos taken with the stock rom in comparison do look acceptable.
This issue has kind of forced me to move back to stock everytime I want to try out a custom rom.
Is there any fix that will cause Snapchat to behave the same way on custom roms than it does on stock?
Click to expand...
Click to collapse
I used miuimix rom on miui 11 and it got considerably better, now I'm on PE and its just horrible again
Ask Snapchat moving to CameraX
Qwibbert said:
I tried out many custom roms for the RN7, but I always have the same problem: Snapchat photos and videos looking absolutely horrendous, especially the selfie camera.
The photos taken with the stock rom in comparison do look acceptable.
This issue has kind of forced me to move back to stock everytime I want to try out a custom rom.
Is there any fix that will cause Snapchat to behave the same way on custom roms than it does on stock?
Click to expand...
Click to collapse
Test a gcam mod
https://www.celsoazevedo.com/files/android/google-camera/
With a custom xml
Using Parrot's gcam mod fixed it for me, be sure to use a custom XML like @joke19 said.
How could using a gcam mod improve snapchat camera quality? @joke19 @Qwibbert
yugamdhingra_ said:
How could using a gcam mod improve snapchat camera quality? @[email protected]
Click to expand...
Click to collapse
Deactivate the stock cam and use magisk module systemize for the gcam mod.
joke19 said:
Deactivate the stock cam and use magisk module systemize for the gcam mod.
Click to expand...
Click to collapse
How to do that?
yugamdhingra_ said:
How to do that?
Click to expand...
Click to collapse
To deactivate? I use Titanium backup. Use Google
How to deactivate a systemapp with root
Magiskmodule? Magiskmanager, download, search for systemize and read the how to.
Then is the gcam the default camera app
joke19 said:
To deactivate? I use Titanium backup. Use Google
How to deactivate a systemapp with root
Magiskmodule? Magiskmanager, download, search for systemize and read the how to.
Then is the gcam the default camera app
Click to expand...
Click to collapse
And doing this will improve snapchat camera quality?
yugamdhingra_ said:
And doing this will improve snapchat camera quality?
Click to expand...
Click to collapse
When Snapchat use the stock cam.
---------- Post added at 12:16 PM ---------- Previous post was at 12:14 PM ----------
yugamdhingra_ said:
And doing this will improve snapchat camera quality?
Click to expand...
Click to collapse
When Snapchat use the stockcam
joke19 said:
When Snapchat use the stock cam.
---------- Post added at 12:16 PM ---------- Previous post was at 12:14 PM ----------
When Snapchat use the stockcam
Click to expand...
Click to collapse
Sorry didn't get what you are saying..
It seems that roms using the new camera blobs(like LOS 17.1) have stock quality on Snapchat without the GCam mod.
Can someone else confirm this?
Qwibbert said:
It seems that roms using the new camera blobs(like LOS 17.1) have stock quality on Snapchat without the GCam mod.
Can someone else confirm this?
Click to expand...
Click to collapse
Pixel experience comes with gcam installed but still snapchat camera quality is bad.
I have the same problem .i want to use pixel experience but whenever I install it i face that same problem, blurry and **** level camera quality in snapchat. And that force me to reinstall miui. Can someone please help me ?
Can you tell me please ?? How did you solve it ? I'm facing the same problem in my redmi note 7 ? @Qwibbert
Its_swar said:
Can you tell me please ?? How did you solve it ? I'm facing the same problem in my redmi note 7 ? @Qwibbert
Click to expand...
Click to collapse
Try this
ANXCamera by AEonAX
Download latest ANXCamera, A Miui Camera Port for Xiaomi's Devices, Install via Magisk or TWRP
camera.aeonax.com
I'm on Xiaomi.eu rom

MI 9t front camera works, but not moving - help

Hi,
I'm on last firmware and Blissrom. Before i was on other custom ROM and it works normally. Front camera it's hidden but If i change it from back camera i see the light so it's working but not moving up.
Any ideas how to solve this ?
Try this
https://forum.xda-developers.com/k20-pro/themes/app-xiaomi-motor-control-k20-pro-t3984181
attitude12 said:
Try this
https://forum.xda-developers.com/k20-pro/themes/app-xiaomi-motor-control-k20-pro-t3984181
Click to expand...
Click to collapse
Thanks, but it doesn't work

Categories

Resources