You can connect to your Chromecast screen by using the standard Android “cast screen” feature or by enabling guest mode on Chromecast. However, this might be dangerous if someone is able to exploit the connection and mirrors their own device onto your phone. Is there a way to defeat such an attack? If you’re rooted, yes. And of course, this must be done before you connect your Chromecast.
Get the app called ” Terminal Emulator for Android ” from Google Play. You can find it by searching that name or click this link . Make sure you download the official one – there are many clones that will potentially harm your phone.
benefits of screen mirroring
androidGet a shell (shell = command prompt in Windows) for your Android phone. You should be able to get that by typing ” cmd ” into Google search and then clicking or long pressing the top result. Then, type: su
You should see a message like this: [username] is not in the sudoers file. This incident will be reported. Now, type: alpine. You should now see the root prompt (>). Also, unplug your Chromecast from power and USB.
Don’t worry if you don’t know what all of this means. Just follow the instructions precisely. The next steps are only necessary if using Android version < 5.0 Lollipop (e.g., KitKat).
If you are using Android Lollipop, skip to step 3. On your phone, go into Settings – About Phone and find the Build Number . Click “Build Number” 7 times until developer mode is enabled with a countdown that reads “You are now X steps away from being a developer.”
procedure:
The app I used is called “Disable Screen Mirroring”, but there are also tools for this specific purpose in the Google Play store. This tool does not require root access to work, which makes it superior to all other solutions available at present.
Download the app on Google Play: Disable Screen Mirroring on Android. Open your device settings and scroll down until you find the newly installed “Disable Screen Mirroring” item. Enable or disable screen mirroring as desired. You can use this application to keep screen mirroring enabled, but set it to do nothing when activated. This way, the screen mirroring connection is not terminated, but it isn’t displayed either. You can also use this app to automatically terminate or disable screen mirroring when you power off your Chromecast. This will prevent all kinds of attack vectors and remove any risk of someone else gaining access to your device (and its data).
Further reading:
For further information, please read the original article at our partner site PCsteps.ru: “Disable Screen Mirroring on Android” or visit the author’s website: HackwithGSM.de (German).
Disclaimer & Copyright: This text is not intended as a complete guide or instruction. The author can not be held responsible for any damage or data loss. Use at your own risk! PCsteps.ru/blog does not endorse the author’s stance, if other steps are taken to prevent a security breach.
Chromecast is a trademark owned by Google Inc., this site and the author have no affiliation with Google Inc. and are not responsible for any damage or data loss resulting from the use of this text. All trademarks, product names or named features are property of their respective owners.
conclusion
Type in “su” without quotes, pressing enter after each character. After you typed “su”, you should have seen the line below where it says “$”. Type in “alpine” and hit enter. You should now see a “#” instead of a “$”. Congratulations, you are now rooted. If you are using Android Lollipop, type in “settings”, then go to “Display”, then turn ON/OFF “Allow peeking” (Lollipop only). Now click the application called something like “Disable Screen Mirroring on Android”. You should see a list of mirroring options.
Related Tags
secureworks orion therecord
secureworks solarwinds therecord
australia fiji facebookchanel theguardian