• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

Question Cast doesn't work anymore after debloating

Search This thread

zoocha

Member
Jan 1, 2018
29
5
Hello,

I used XiaomiADBFastbootTools to debloat my Poco F3 but now the Cast option doesn't work anymore. I'm not sure if that's the reason but it seems like it was. When I cast my phone detects my TV and my TV tries to connect for a while until it stops. Tried with two different TVs (Samsung and Hisense).

If debloating was the reason: What should I reinstall to make it work it again?

Here are the remaining services after debloating:

Screenshot_2.png


Hope anymore can help me.
 

Attachments

  • Screenshot_2.png
    Screenshot_2.png
    42.4 KB · Views: 34

blackhawk

Senior Member
Jun 23, 2020
4,090
1,064
Without knowing their dependencies... things can go amuck.
Downloads looks like it has potential.
Firewall blocking is a another option before you go full nuke. Karma Firewall uses almost no battery, a freeware VPN based firewall.
 
  • Like
Reactions: zoocha

zoocha

Member
Jan 1, 2018
29
5
I have a Redmi Note 7 which works. I didn't do anything with Firewalls and similar.

I read somewhere that MiShare, MiConnectService and MiPlayClient might caused the problem but it just made Cast visible in the dropdown status bar. Otherwise same problem.

Here is the debloated stuff:

Screenshot_3.png
 
  • Like
Reactions: blackhawk

blackhawk

Senior Member
Jun 23, 2020
4,090
1,064
Clear the system cache, try a network reset.
When you disable apks without knowing their purpose/dependencies and especially when you take the shotgun approach, things tend to screw up.
Start from the beginning, again, if you can't ferret it out.

I prefer to use a package disabler app because you can easily enable/disable on the fly.
 

zoocha

Member
Jan 1, 2018
29
5
I cleared cache and reset network. Didn't work. Then I reisntalled all the bloatware. Still no effect. Then I tried to change my WiFi from 5Ghz to 2.4Ghz if that might cause troubles but also nothing.

How can I fix it? What else can I try?
 
  • Like
Reactions: blackhawk

blackhawk

Senior Member
Jun 23, 2020
4,090
1,064
I cleared cache and reset network. Didn't work. Then I reisntalled all the bloatware. Still no effect. Then I tried to change my WiFi from 5Ghz to 2.4Ghz if that might cause troubles but also nothing.

How can I fix it? What else can I try?
So you undid all the changes you made?
Try a hard reboot. Same for the associated devices.
That's why I don't like playing with ADB much.
Is the cause there or is it a setting misconfiguration? The answer may be something simple but finding it may not be.
I don't use casting, check it's Google settings.
Maybe try clearing Google play Services data, it's harmless to do so. I do that a lot.
 
  • Like
Reactions: zoocha

zoocha

Member
Jan 1, 2018
29
5
I think simply hard restarting my TV made the trick. At least that's what I did and it works now.

I still wanna debloat so what is safe to keep this function? This time I will disable instead of uninstall.
 
  • Like
Reactions: blackhawk

blackhawk

Senior Member
Jun 23, 2020
4,090
1,064
I think simply hard restarting my TV made the trick. At least that's what I did and it works now.

I still wanna debloat so what is safe to keep this function? This time I will disable instead of uninstall.
Yay! Well it's your experiment... fun isn't it?
Been nice if all the junk wasn't there but it still beats a bloody ugly iPhone by a country mile🤣
 
  • Like
Reactions: zoocha

zoocha

Member
Jan 1, 2018
29
5
I tested around but somehow casting doesn't work anymore. I debloated step by step during casting and conncection didn't close. Then later I had same issues like before. I did the same things like before to make it work again (enable everything, restart, reset conenctions) but nothing works. Enabling Certificate of Wireless Display also didn't do anything.

Could a factory reset help? Does a factory reset also revert all my debloating experiments or would uninstalled bloatware stay uninstalled? What would be the best I can do now?
 
  • Like
Reactions: blackhawk

blackhawk

Senior Member
Jun 23, 2020
4,090
1,064
I tested around but somehow casting doesn't work anymore. I debloated step by step during casting and conncection didn't close. Then later I had same issues like before. I did the same things like before to make it work again (enable everything, restart, reset conenctions) but nothing works. Enabling Certificate of Wireless Display also didn't do anything.

Could a factory reset help? Does a factory reset also revert all my debloating experiments or would uninstalled bloatware stay uninstalled? What would be the best I can do now?
A factory reset will get it. I recommend you find the root cause though or you're likely to just do all over again.
 
  • Like
Reactions: zoocha

pl1992aw

Senior Member
Apr 5, 2019
953
555
I debloated step by step during casting and conncection didn't close.

When you try disable one by one, it will not cut the already connected cast immediately.

Factory reset should help. If you need cast, but don't want to face more issues, then don't debloat.

To see the actual effect of debloat, it's done like this:
1) connect cast -> connected ok
2) disconnect cast
3) debloat 1 app -> then reboot phone
4) connect cast -> to check if that app affect your cast

then repeat.
 
Last edited:
  • Like
Reactions: zoocha

zoocha

Member
Jan 1, 2018
29
5
I did a factory reset but it didn't work for unknown reasons. Then I tried out using Google Home on an Android TV which worked. It also worked on my TV with Fire TV Stick 4K using Airscreen but the casting quality seems worse than Mi cast function. Regular YouTube casting also worked.

Does anyone know why it doesn't work anymore even after a factory reset? Is there maybe something I can still do? Is the culprit maybe something that doesn't change after reset? I also did a factory reset with my TV without success. It just tries to connect all time and stops.

Is this maybe a MIUI problem? I'm using global ROM.
 

zoocha

Member
Jan 1, 2018
29
5
You should have reinstalled all of the debloated apps, then clear the cache using Cleaner and then proceed to do a factory reset.

If you still have the option to do so from the first step, try it out.
I reinstalled everything before I reset and maybe I did clear cache too. I can't remember. Does the Cleaner app also clear hidden stuff?

Does factory reset hurt hardware much or not worth worrying about it? Otherwise I would give it another try.

Is there maybe another possibilty to fix it?
 

blackhawk

Senior Member
Jun 23, 2020
4,090
1,064
I reinstalled everything before I reset and maybe I did clear cache too. I can't remember. Does the Cleaner app also clear hidden stuff?

Does factory reset hurt hardware much or not worth worrying about it? Otherwise I would give it another try.

Is there maybe another possibilty to fix it?
Factory resets are a waste of time unless the OS is old or damaged. It pretty hard to corrupt a stock Android OS. 3rd party apps can do it though or alter hidden settings not readily accessible. The only other reason for a factory reset is a major OS upgrade.

Otherwise don't do it; find the root cause and correct it. If you don't find the root cause you'll like just end up chasing your tail as the issue will likely return after the factory reset.
Lazy and inept techs push factory resets because it's easier than doing it the right way🤣

My current OS load is over a year old, still fast and stable despite heavy usage. I had issues that I could have resorted to a factory reset to "solve" but I tracked down the root causes and corrected them. I learned by doing so as well. After being corrected they didn't impact the performance of my heavily optimized system.
All I do is routine maintenance like with SD Maid and occasional scans with Malwarebytes. I check the download folder for crap that doesn't belong there regularly. At some point I will do a factory reset and to that end all my critical data is backup and ready to go.
Android is a very stable and long lived platform if used properly.
 
Last edited:
  • Like
Reactions: zoocha

zoocha

Member
Jan 1, 2018
29
5
What else can I try to find out the root? Undo debloating and factory reset doesn't work and I doubt and hope that I didn't mess up hardware somehow.

Airscreen/Chromecast works and I think TVs use Miracast right? Can this information help for further experiments?

Solution during I wrote this: Enabling "Disable Bluetooth A2DP Hardware" option seems to work. I should be satisfied but what does this mean for my original problem? I didn't do anything with this option before. Is the root of my problem now more traceable?
 
  • Like
Reactions: blackhawk

blackhawk

Senior Member
Jun 23, 2020
4,090
1,064
What else can I try to find out the root? Undo debloating and factory reset doesn't work and I doubt and hope that I didn't mess up hardware somehow.

Airscreen/Chromecast works and I think TVs use Miracast right? Can this information help for further experiments?

Solution during I wrote this: Enabling "Disable Bluetooth A2DP Hardware" option seems to work. I should be satisfied but what does this mean for my original problem? I didn't do anything with this option before. Is the root of my problem now more traceable?
Factory reset completely restores the original OS no matter what you did previously unless you reflashed the firmware.

You found the issue, problem solved.
A 3rd party app may have toggled that setting unknown to you at the time. It can happen during an app uninstall as well.
Just be happy it was an easy fix🤗
 
  • Like
Reactions: zoocha

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Clear the system cache, try a network reset.
    When you disable apks without knowing their purpose/dependencies and especially when you take the shotgun approach, things tend to screw up.
    Start from the beginning, again, if you can't ferret it out.

    I prefer to use a package disabler app because you can easily enable/disable on the fly.
    2
    Yes experiment. Debloat app one by one, so you know which app cause the cast to malfunction.
    1
    Without knowing their dependencies... things can go amuck.
    Downloads looks like it has potential.
    Firewall blocking is a another option before you go full nuke. Karma Firewall uses almost no battery, a freeware VPN based firewall.
    1
    I have a Redmi Note 7 which works. I didn't do anything with Firewalls and similar.

    I read somewhere that MiShare, MiConnectService and MiPlayClient might caused the problem but it just made Cast visible in the dropdown status bar. Otherwise same problem.

    Here is the debloated stuff:

    Screenshot_3.png
    1
    I was about to complain again cause after testing it on a Samsung TV (never worked there) and uninstalling bloatware like TikTok manually with phone it stopped working again on my main TV (Hisense). It's driving me crazy cause I don't know the root of it.

    Downloading the APK worked however. Thanks for this simple but powerful tip. Maybe it's an issue with permission or something similar. I can't find the Cast app itself in my settings but during the installation I had to set them and installing the APK also didn't update the app which is weird I think. It's more like it replaced it.

    Does anyone know how I can access the Cast app and its settings? Maybe this will help in future.
    goto settings/apps/manage apps/click on three dot on upper right side corner/click on show all apps/ then serach for cast app u will see it.