Screen mirroring / miracast...whatever it's called :) - Xiaomi Mi 10 Ultra Questions & Answers

I debloated by phone with ADB Fastboot (which made it much better), but I can't use wireless screen mirroring / miracast or whatever it's called. I assume I debloated one too many things and disabled or deleted a dependent app. Any ideas what OEM apps and settings are required for this to function? I'm on factory MIUI 12.1.1.0.RJJCNXM

Related

No location services when phone is locked

I just noticed that when my phone is in standby/locked screen, I can't remotely locate or control it using either Cerberus or Android Device Manager. As soon as I unlock the screen, these services work fine. I've tried various suggestions that have come up in my searching, but as far as I can tell I've installed all of the necessary services and settings to enable remote device control. Other background things like SMS/phone calls/email/facebook notifications/etc seem to work fine when phone is in standby.
Any ideas? Remote controlling the phone isn't very useful if you can only do it when the device is in your hands and you're using it!
I have a Galaxy S6 Edge on AT&T, Android 5.0.2 rooted with PingPong Root but otherwise fairly close to stock. Thanks

Disable data (removed by Google)

Has anyone else noticed that it's impossible to "disable" data now?
Producers from AutomateIT have told me that this is a new feature within Google and that only rooted devices can disable data now.
This is extremely inconvenient.

Is smart lock with Bluetooth working?

On most android phones you can disable locking when specified devices are attached via Bluetooth.
I have multiple bt devices connected and functioning ok. However, when I go into the settings and select the smart lock category / button / option the entire settings app crashes back to launcher.
Had anyone wise succeeded with this feature?
papashex said:
On most android phones you can disable locking when specified devices are attached via Bluetooth.
I have multiple bt devices connected and functioning ok. However, when I go into the settings and seemed the smart lock category / button / option the entire settings app crashes back to launcher.
Had anyone wise succeeded with this feature?
Click to expand...
Click to collapse
It's working for me. I have smart lock enabled when connected to my car...
Did you de-bloat anything through adb as shown in other posts? Maybe it kills something off that is required?
papashex said:
Did you de-bloat anything through adb as shown in other posts? Maybe it kills something off that is required?
Click to expand...
Click to collapse
No, I have done nothing to my phone. Its how it came from Hong Kong.
I just went to settings/security and privacy/screen lock & passwords/smart unlock.
Once I put my PIN in I just selected the Bluetooth device (my car) to use with smart unlock.
Be aware that you have to be connected to said Bluetooth device before you can select it for smart unlock....
I don't even get the list, just goes back to desktop. Time for another reset I guess

Mirroring

I'll start by admitting I haven't tried Chromecast yet because of what I'm trying to do and where I am trying to do it. But here's my variant on a casting issue. I want to mirror my Moto G7 to my pioneer, the deck has Wifi (of sorts) and miracast. Now my Razer 2 woulded beautifully, till I broke it. So here's the score so far, stock G7 Power doenst even have the option for a wireless display available. After boot looping it trying various apps and a Magisk module. I re-flashed the firmware and rooted it. I poked someone via telegram and he gave me the build.prop line to enable the wireless display. I check the box and I've tried to connect to Fire Sticks, Fire TV, my AVH-4500NEX all with the same result it crashed the phone and it rebooted, every time. I've tried the wi-fi direct as suggested by Motorola Tech Support. nothing. The only think I noticed was I had a rotation control app running one time and while it still wasn't casting or really even connecting. It didn't crash the phone. I'm trying to get my hands on a build copy from the RP2 to see what may be different but my guess is it has to do with screen orientation and probably screen sizes. The RP2 allows you to change from 1440 to 1080 to 720 so I assume other variants are also support thus the perfect mirror. Where as the G7 Power does not. Any suggestions on the code that I may be looking for? I believe one is gonna be persist.demo.remoterotation or the persist.demo.hdmirotation but I haven't found anything to resize the output from the phone to match the display. This is where I am lost.
Also I am woefully under-qualified to be even attempting this but I'm bored and I want to use the maps and music players and whatever else that I choose in my car and not be locked in by google or apple to their either proprietary or favored choices. None of which I personally like much to begin with. Thank you for you time.
The reason I haven't used a Chromecast is I don't like it and well its a small car with an already too large deck in a dash that was never meant for anything other than a bit of air. So basically there is no room. Oh and Chromecast requires internet and since I cant seem to hotspot and cast its a no go. That is all, Thank you :good:
Kelyn
I don't own this device so can't say if this will work but on older moto devices you can enable mirror cast by adding the following to the build.prop
This will require root!
Check the build.prop first for this line - if the value is different change it eg 0 to 1 and if the line is not there at all add it at the end
persist.debug.wfd.enable=1
It's easier using twrp to edit system files but as long as you've set to correct permissions rw-r-r for the build.prop and the app you're using has full rw access to replace values it should be fine - just check after phone has rebooted that the values have stuck
Then goto
Settings > Display > Cast Screen > Three Dots > Enable Wireless Display
If that option is not there you may need a 3rd party app
Google did start to remove mirror cast from android from android 5 so it maybe that this has now been completely removed and the only way now is to chromecast
I myself use the allcast app which works perfectly on firesticks and casting to supported tvs
There is this app which can change devices resolutions but read the post and user warnings about newer devices
https://forum.xda-developers.com/showthread.php?t=2766268
Already done
I did add that to the build.prop and the check box is now available. But when I try to connect it reboots my phone.
QUOTE=TheFixItMan;80479143]I don't own this device so can't say if this will work but on older moto devices you can enable mirror cast by adding the following to the build.prop
This will require root!
Check the build.prop first for this line - if the value is different change it eg 0 to 1 and if the line is not there at all add it at the end
persist.debug.wfd.enable=1
It's easier using twrp to edit system files but as long as you've set to correct permissions rw-r-r for the build.prop and the app you're using has full rw access to replace values it should be fine - just check after phone has rebooted that the values have stuck
Then goto
Settings > Display > Cast Screen > Three Dots > Enable Wireless Display
If that option is not there you may need a 3rd party app
Google did start to remove mirror cast from android from android 5 so it maybe that this has now been completely removed and the only way now is to chromecast
I myself use the allcast app which works perfectly on firesticks and casting to supported tvs
There is this app which can change devices resolutions but read the post and user warnings about newer devices
https://forum.xda-developers.com/showthread.php?t=2766268[/QUOTE]
Kelynaw said:
I did add that to the build.prop and the check box is now available. But when I try to connect it reboots my phone.
Click to expand...
Click to collapse
Run an adb logcat via your pc and then make the phone restart itself by enabling the mirror
Check the logcat and see what the fatal error is - probably something that can't be fixed as it's probably missing from the android build but at least you'll know why
Kelynaw said:
Already done
I did add that to the build.prop and the check box is now available. But when I try to connect it reboots my phone.
QUOTE=TheFixItMan;80479143]I don't own this device so can't say if this will work but on older moto devices you can enable mirror cast by adding the following to the build.prop
This will require root!
Check the build.prop first for this line - if the value is different change it eg 0 to 1 and if the line is not there at all add it at the end
persist.debug.wfd.enable=1
It's easier using twrp to edit system files but as long as you've set to correct permissions rw-r-r for the build.prop and the app you're using has full rw access to replace values it should be fine - just check after phone has rebooted that the values have stuck
Then goto
Settings > Display > Cast Screen > Three Dots > Enable Wireless Display
If that option is not there you may need a 3rd party app
Google did start to remove mirror cast from android from android 5 so it maybe that this has now been completely removed and the only way now is to chromecast
I myself use the allcast app which works perfectly on firesticks and casting to supported tvs
There is this app which can change devices resolutions but read the post and user warnings about newer devices
https://forum.xda-developers.com/showthread.php?t=2766268
Click to expand...
Click to collapse
[/QUOTE]
you are saying that allcast worked and you casted your screen without a chromecast ? i have rooted my motorola g 5g plus and i added the wfd line via a magisk module and when i check the wireless box and try to connect to tv/laptop/miracast dongle it restarts and the app you mentioned is not even detecting my tv/laptop/miracast dongle
any update since now ?
edit : the app is working for my sony tv but not for laptop and miracast dongle but sharing photos of my gallery without chromecast was all i wanted
thank you !

Wifi Direct sharing shortcut now missing

Has anyone noticed that once connected to another device through wifi direct the wife direct shortcut is missing when you go to share what ever file or photo you selected? Was fully functional about 2 updates ago and not sure what happened with the system or an error on my side with maybe one of the recent updates. I do have the Android 11 and One UI 3.0. Just don't want to go through a factory reset if it is something I am missing or a setting I can change to fix it. Still fully capable of connecting to other devices through wifi direct but no option to share through that feature.

Categories

Resources