[MOD] Improve front facing camera in any app, allow rotation 180 degrees - Xiaomi Mi Mix 2S Themes, Apps, and Mods

Hi xda-friends
Today I want to share with you a way to allow any app to rotate the phone 180 grades, as it does in the built-in camera app, to use the front-facing camera in a more natural way for selfies and front-facing video calls. Here some apps where it will be useful to enable this rotation:
- Google Allo
- Google Duo
- Hangout
- Instagram
- Messages Google
- Whatsapp
I want to leave clear that I'm very happy about this device, however, considers this a way to "solve" the deficient location of the camera in some situations.
Download this app and then follow the video instructions:
"Rotation - Orientation Manager"
https://play.google.com/store/apps/details?id=com.pranavpandey.rotation
Video/Instructions:
https://www.youtube.com/watch?v=yEuaZBwsYHA
PD: Hope it useful for you, and sorry for the English grammar/spell errors.

This one even works with snapchat, I tried a few which turned snapchat too but in the end the picture was still upside down. With this one you can use snapchat perfectly fine with the device upside down

It's nice and you even can block the annoying "overlay detected" notification with AutoNotification, but still I have to grant app permissions to change system preferences every time I reboot. Anyone knows a workaround?

julianosplendido said:
It's nice and you even can block the annoying "overlay detected" notification with AutoNotification, but still I have to grant app permissions to change system preferences every time I reboot. Anyone knows a workaround?
Click to expand...
Click to collapse
Ya inside the App > Settings > Disable Toast messages and Notification this will hide this overlay toast messages and also the permanent notification in the notification area.

it's cool and it works even without root. i used it before i was able to unlock and root my device.
be careful, i forced rotation on all apps, even the launcher screen, and then i uninstalled the app. the always rotate was still active and i couldn't turn it off. i had to reinstall the app and disable rotation, then uninstall again.

underlines said:
it's cool and it works even without root. i used it before i was able to unlock and root my device.
be careful, i forced rotation on all apps, even the launcher screen, and then i uninstalled the app. the always rotate was still active and i couldn't turn it off. i had to reinstall the app and disable rotation, then uninstall again.
Click to expand...
Click to collapse
How did you setup the rotation after you have root access? Is there a module for magisk?

Flatric said:
This one even works with snapchat, I tried a few which turned snapchat too but in the end the picture was still upside down. With this one you can use snapchat perfectly fine with the device upside down
Click to expand...
Click to collapse
How did you get it to work with snapchat? on newest xiaomi.eu it rotates the app, but the camera image rotates with the app, so in the end I get an upside down camera feed

Still not working for me. I'm using MIUI 9 global version on a mix 2s and it looks like it's working just until I take the photo. Right after I press the button the photo turns upside down. In videocalls I see myself in the right way but I'm upside down in my friends' screen.
Is there another fix? The bug still exists in MIUI 10?

ArctiX said:
How did you get it to work with snapchat? on newest xiaomi.eu it rotates the app, but the camera image rotates with the app, so in the end I get an upside down camera feed
Click to expand...
Click to collapse
Same problem using miui global dev

I'm looking to find some other solution for Snapchat and probably some other apps, let me do some research first and then I'll go back to all of you with, if possible, a solution.

i tried a Whatsapp Video Call and my image is upsidedown for other people

Nice app, unfortunately there isn't a preset that works with B612 application.

Has any of you fixed the WhatsApp video calls with this app? I was not able to do so :/

Great tutorial. Worked with google camera as well.:good:

It's not work in WeChat:crying:

for those like me who have the problem that when you take the photo on instagram the photo is turned upside down, just activate any filter and take the photo and it won't be turned upside down, I don't know why but it works, I suggest you look for some empty filter if you just want to take a selfie. Sorry for my bad english i'm italian

Its not working for me, imposible to use this phone as this way...

Related

Using camera button resets settings...

Hello,
Whenever I use the camera button on my ZL to open the camera (which is of course what it's for ), the settings I last used are reset and I end up back in (the crappy) superior auto mode!!
When I use the camera icon in app drawer it goes back to the correct settings that I set.
This is very very annoying because:
1) Superior auto sucks
2) I want to use multi auto focus mode because all the other modes have auto-focus (so there's no use for the ZL's button).
When I open with camera button and press settings, it also goes back to "good" settings.
Any help?
Thanks
Well, I can only say that this is by design.
Camera launch by camera key called "quick launch" and generally itended for situations when you need to take picture in a hurry, without time to fiddle with settings, in any possible situation - hence default to full auto. In camera settings you can also make it to instantly take picture, without even requiring second press.
If you want to launch camera in "leisure pace" with custom settings and all, you have to use camera app icon.
Ingvarr said:
Well, I can only say that this is by design.
Camera launch by camera key called "quick launch" and generally itended for situations when you need to take picture in a hurry, without time to fiddle with settings, in any possible situation - hence default to full auto. In camera settings you can also make it to instantly take picture, without even requiring second press.
If you want to launch camera in "leisure pace" with custom settings and all, you have to use camera app icon.
Click to expand...
Click to collapse
I understand. However with the ZL, for me, using the hardware button is by far easier and faster and I don't necesarlly use it to "quickly take a picture" but more to open the camera all the time.
It would be OK if superior mode was in fact any good

Camera app just shows a black screen - but I can hear it still working in selfie mode

One M8 running Viper ROM v1.8.1.
A lot of times when I open the camera app, I see nothing but a black screen and the on screen buttons (back/home/recents). No matter where I tap, I can't see anything. However, I can still hear that it's still working in selfie mode, because if I tap where the shutter button should be, I hear the countdown, and I actually get a photo in my gallery afterwards. In order to get the camera running properly I basically have to kill the app, clear it from recents and do this several times, hoping that it'll let the camera app run properly. It's kind of pot luck if it does or not. Usually I have to do this process 4-5 times before the camera app finally opens and I can actually see the viewfinder and choose the rear camera and such.
Does anyone know what might be happening? I've tried clearing the camera app data, and resetting everything in the app to default and that didn't help.
Same issue mate
I'm on same rom v2.5 cleared data and still no joy did you fix yours?

google camera as default app

hey guys,
i just installed the modded google camera app and set it to be the default camera app. however when double tapping volume down, it still opens miui camera. i even tried to freeze miui camera with tb and now nothing happens, when double tapping volume down.
anyone know if there is a way to get this working?
veitograf said:
hey guys,
i just installed the modded google camera app and set it to be the default camera app. however when double tapping volume down, it still opens miui camera. i even tried to freeze miui camera with tb and now nothing happens, when double tapping volume down.
anyone know if there is a way to get this working?
Click to expand...
Click to collapse
No, I think it always open MIUI camera.

Flickering problem when using Facebook Messenger while watching youtube videos

So this is a problem I've had for a while now, searching around the internet I couldn't find much information.
Anyway so what happens is that when I'm watching a youtube video on portrait and I open up FB messenger through the chat heads, the screen begins to flicker black, but only on the portion of the screen where the video is playing in the background. Is there anything I can do to fix this?
The issue doesn't appear if I switch to FB messenger directly. It only appears when I open the app through the "chat heads" feature
I have the same problem with the bubble chat in Youtube with Messenger. I think this problem come when an App had the Draw over other apps permission.
I had a lot of Flickering when i use Fluid Navigation Gesture that use that permission too that include Youtube like you said, In Call UI, Chrome and WhatsApp when you open the camera included in WhatsApp from Main Menu of WhatsApp.
I also have the same problem.
When I launched Chrome or click the news in Google Feed, my screen flicker black and while for about one seconds then back to normal.
I tried to record the flickering using screen recorder, but the flickering effect are not recorded.
Frosty0154 said:
So this is a problem I've had for a while now, searching around the internet I couldn't find much information.
Anyway so what happens is that when I'm watching a youtube video on portrait and I open up FB messenger through the chat heads, the screen begins to flicker black, but only on the portion of the screen where the video is playing in the background. Is there anything I can do to fix this?
The issue doesn't appear if I switch to FB messenger directly. It only appears when I open the app through the "chat heads" feature
Click to expand...
Click to collapse
Yes , this is known issue from Pie .
Here;s what you can do.
Go to Setting > at the search bar , search for " Disable HW Overlay " - turn it on (means disable) .
That will do , the flickering will no longer happen , heres the trick , everytime u restart your phone , u need to disable it again .
Santy5442 said:
I have the same problem with the bubble chat in Youtube with Messenger. I think this problem come when an App had the Draw over other apps permission.
I had a lot of Flickering when i use Fluid Navigation Gesture that use that permission too that include Youtube like you said, In Call UI, Chrome and WhatsApp when you open the camera included in WhatsApp from Main Menu of WhatsApp.
Click to expand...
Click to collapse
I am also using Fluid Navigation Gestures and flickering are really annoying. It occurs in Call, Browser, Youtube and Whatsapp.
mytowyn said:
Yes , this is known issue from Pie .
Here;s what you can do.
Go to Setting > at the search bar , search for " Disable HW Overlay " - turn it on (means disable) .
That will do , the flickering will no longer happen , heres the trick , everytime u restart your phone , u need to disable it again .
Click to expand...
Click to collapse
Have you notice more battery consumption or more heating after disabling it?
Automatic screen calibration usually sorts everything out, its on every android device.

Edge lighting - notifications

Since our AOD notifications light comes only once and it's barely visible, I've decided to find some replacement for it...
I tried a few AOD apps from Play Store but the phone never goes in deep sleep with them,except for this one :good:
https://play.google.com/store/apps/details?id=com.newgen.edgelighting
It illuminates the edges of the screen when a notification appears, it's colorful, goes around the sreen,very visible...you can change its duration,thickness...there's a few more settings there but only in the premium version...
I think you'll like it,check it out
Here's a gif example...
I tried it but couldn't make it work, it doesn't light up the screen, what settings do i have to enable/disable to make it work? I have given all the required permissions.
---------------------------------
Nevermind, I managed to make it work. Thanks
enthu19 said:
I tried it but couldn't make it work, it doesn't light up the screen, what settings do i have to enable/disable to make it work? I have given all the required permissions.
---------------------------------
Nevermind, I managed to make it work. Thanks
Click to expand...
Click to collapse
How did you do it? Can't make it work either.
poronporonpompiero said:
How did you do it? Can't make it work either.
Click to expand...
Click to collapse
After you give all permissions through the app, go to settings/apps/permissions/other permissions,find True Edge and give the permissions again for Modify system settings and Show on lock screen...
Sent from my Xiaomi Mi 9T using XDA Labs
welder73 said:
Since our AOD notifications light comes only once and it's barely visible, I've decided to find some replacement for it...
I tried a few AOD apps from Play Store but the phone never goes in deep sleep with them,except for this one :good:
https://play.google.com/store/apps/details?id=com.newgen.edgelighting
It illuminates the edges of the screen when a notification appears, it's colorful, goes around the sreen,very visible...you can change its duration,thickness...there's a few more settings there but only in the premium version...
I think you'll like it,check it out
Here's a gif example...
Click to expand...
Click to collapse
thank you I just seek an application like this :good:
Turn on MIUI optimisation /Settings -> Additional settings -> Developer options - deep down below/ should be turned ON, active.
Otherwise True Edge doesn`t work - no matter of permissions given.
At least on Chinese stable rom - in the signature below.
Could someone make it work?
jfhernandez said:
Could someone make it work?
Click to expand...
Click to collapse
It's working all the time...
What is the problem? Did you gave the permissions again?
And remove it from the battery optimization...
welder73 said:
It's working all the time...
What is the problem? Did you gave the permissions again?
And remove it from the battery optimization...
Click to expand...
Click to collapse
i gave all permissions but it didn´t work.
Do you have the miui optimization on or off??
jfhernandez said:
i gave all permissions but it didn´t work.
Do you have the miui optimization on or off??
Click to expand...
Click to collapse
It's On...
You gave all permissions again?
It isn't enough when app ask for them, you must go to Settings/Apps/Permissions/Other permissions,find True Edge and check Modify Sytem settings and Show on lock screen...
And lock it on the recent apps and allow Autostart.
Also check Force Service in True Edge settings...
welder73 said:
It's On...
You gave all permissions again?
It isn't enough when app ask for them, you must go to Settings/Apps/Permissions/Other permissions,find True Edge and check Modify Sytem settings and Show on lock screen...
And lock it on the recent apps and allow Autostart.
Also check Force Service in True Edge settings...
Click to expand...
Click to collapse
thanks, now it works, i had not given the permissions again.
Hi,
I installed this, because the little led on front camera is just a joke.
The app works fine for all notifications that do not turn screen on, so it works well for email or message-app.
But if a notification turns the screen on, this app does not work, so I get no lighting from whatsapp or missed calls that both turn on the screen for a moment.
Does someone have any idea how to solve this. I tried to disable screen on in whatsapp but had no success. It still goes on every time a get a message there. I disabled popup-message in app-setting with no effect.
I am on xiaomi.eu rom miui 11.04.
donny02 said:
Hi,
I installed this, because the little led on front camera is just a joke.
The app works fine for all notifications that do not turn screen on, so it works well for email or message-app.
But if a notification turns the screen on, this app does not work, so I get no lighting from whatsapp or missed calls that both turn on the screen for a moment.
Does someone have any idea how to solve this. I tried to disable screen on in whatsapp but had no success. It still goes on every time a get a message there. I disabled popup-message in app-setting with no effect.
I am on xiaomi.eu rom miui 11.04.
Click to expand...
Click to collapse
I have had the same problem with Viber and I resolved it by turning off Light screen for messages in Viber settings...
I don't know about Whatsapp, I rarely use it...
welder73 said:
I have had the same problem with Viber and I resolved it by turning off Light screen for messages in Viber settings...
I don't know about Whatsapp, I rarely use it...
Click to expand...
Click to collapse
Unfortunately there is no option for this in WA. It has just an option for LED but this has no effect on display.
May there be a possibility to revoke some authorisation for this in Miui? I did not find one.
So do you get edge notification for missed calls or do you have the same problem than me there?
donny02 said:
Unfortunately there is no option for this in WA. It has just an option for LED but this has no effect on display.
May there be a possibility to revoke some authorisation for this in Miui? I did not find one.
So do you get edge notification for missed calls or do you have the same problem than me there?
Click to expand...
Click to collapse
Today's update of True Edge brings support for missed calls :good:
donny02 said:
Unfortunately there is no option for this in WA. It has just an option for LED but this has no effect on display.
May there be a possibility to revoke some authorisation for this in Miui? I did not find one.
So do you get edge notification for missed calls or do you have the same problem than me there?
Click to expand...
Click to collapse
Looking for that too. I stopped using this app just because of this.
welder73 said:
Today's update of True Edge brings support for missed calls :good:
Click to expand...
Click to collapse
This is unbeleaveable! It really works now for missed calls with latest update.
If there will be a solution for WA too, then it is a perfect app for me.
donny02 said:
This is unbeleaveable! It really works now for missed calls with latest update.
If there will be a solution for WA too, then it is a perfect app for me.
Click to expand...
Click to collapse
Sent the dev a message. With he solves that, I will probably buy pro version. It's the only thing that keep me away
I installed Miui 11.1 from xiaomi.eu today. With this version Always-On-Display got some improvements.
In fact I think I do not need any other notification app now.
In AOD I set a custom layout and used a black photo as background and set the switch to show notifications. So I get only an little line with time and date. Besides I set "light display when new notification arrives".
Now, when a message arrives the display switches on. I can see incoming message on lockscreen without touching the phone. Then the display switches off and AOD shows an icon from messaging app (see attached picture). This stays there until I unlock the phone.
This is perfect for me, I do not need any additional apps for this any more.
Only if phone is in a dark room, AOD switches off. That is not perfect because you do not see waiting messages then. But when you then lighten the room, AOD comes back. I can live with that.
donny02 said:
I installed Miui 11.1 from xiaomi.eu today. With this version Always-On-Display got some improvements.
In fact I think I do not need any other notification app now.
In AOD I set a custom layout and used a black photo as background and set the switch to show notifications. So I get only an little line with time and date. Besides I set "light display when new notification arrives".
Now, when a message arrives the display switches on. I can see incoming message on lockscreen without touching the phone. Then the display switches off and AOD shows an icon from messaging app (see attached picture). This stays there until I unlock the phone.
This is perfect for me, I do not need any additional apps for this any more.
Only if phone is in a dark room, AOD switches off. That is not perfect because you do not see waiting messages then. But when you then lighten the room, AOD comes back. I can live with that.
Click to expand...
Click to collapse
Is it possible to receive Viber notification on this updated Always-on-display?

Categories

Resources