Question I want device based screencast - Google Pixel 6

So as everyone knows, Google very much wants everyone to buy a Chromecast(i will not) all our devices have the option for screen casting (Miracast) but google removed the software after Android 6.0. I already know the option for the phone to show wifi displays can be enabled by editing build prop with terminal emu on a rooted device.
Setprop ro.hdmi.enable=true
Setprop ro.hdmi.mirror.enable=true
Setprop persist.debug.wfd.enable=1
Adding these lines to Build.prop, and rebooting gives access to screen mirroring to any device option, issue is when you try and cast, the phone reboots every time, I assume that the device must just be missing an asset or program that should be able to be pulled from an older device with the support. I know it's trivial. But I really just want this ability to cast to any smart display no matter where I am. Please help!

@ne0ns4l4m4nder
I've changed the prefix of your thread from "Development" to "Question" as the thread didn't qualify for the first one. Please do not change it back and review the in the forum sticked guidances prior to your next posting. Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

I have currently found, a repo containing files related to cast functions from back when display casting was stock. I will be pushing them to the correct locations after to test, I will keep you updated . If anyone wants to help lmk

Related

Help with writing Xposed module to bypass audio recording limits.

Hello all,
I am interested in writing an Xposed module to enable all Android audio recording apps to have the ability to record all types of audio regardless of if a given app tries to block it, and including phone calls. Is this the appropriate way to handle the goal here? I believe I have tracked down the function calls in the Android API that need to be spoofed to achieve this, but I am still struggling. If I share what I have so far, would it be appropriate to ask here? I am not even sure if Xposed is the right way to go about this. Perhaps it should be done using Zygisk?
Thank you.
David B. said:
Hello all,
I am interested in writing an Xposed module to enable all Android audio recording apps to have the ability to record all types of audio regardless of if a given app tries to block it, and including phone calls. Is this the appropriate way to handle the goal here? I believe I have tracked down the function calls in the Android API that need to be spoofed to achieve this, but I am still struggling. If I share what I have so far, would it be appropriate to ask here? I am not even sure if Xposed is the right way to go about this. Perhaps it should be done using Zygisk?
Thank you.
Click to expand...
Click to collapse
@David B.
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator
Hello.
I would like this!
Why just audio? What about video too?
What automated recording? I like it for VoIP and videoconferencing.
Oswald Boelcke said:
@David B.
Prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator
Click to expand...
Click to collapse
I apologize for the error. Even though I have been an XDA member for a while, I'm not one of the most active members, and therefore sometimes still struggle with navigating to the proper forum when asking questions. Thank you for pointing this out and correcting it.
timofonic said:
Hello.
I would like this!
Why just audio? What about video too?
What automated recording? I like it for VoIP and videoconferencing.
Click to expand...
Click to collapse
Well, for video, there's really nothing that needs done that isn't already available in other Xposed modules. The only reason video recording would be blocked by an app is if it sets FLAG_SECURE, and there are already several Xposed modules that override it. Here is the one that I use on my phone: https://github.com/VarunS2002/Xposed-Disable-FLAG_SECURE
As for automated recording for VoIP and videoconferencing, that is outside the scope of what I would like to achieve with this module. Ideally, what I want this module to do nothing more than allows audio recording apps to access audio streams that they would not normally have access to. I am not sure if this is feasible though. Currently, all apps that have the ability to intercept audio streams that are not accessible through the Android API are closed source. The community needs an open source solution, and I would like to provide that, but I need help.
So, does anyone have an interest in this? Unfortunately I am kind of at a dead end until this is sorted out.
I'm very interested in this, but I'm not a developer unfortunately.
timofonic said:
I'm very interested in this, but I'm not a developer unfortunately.
Click to expand...
Click to collapse
Thanks for your interest! If you know of anyone that is experienced with Xposed module development and would be willing to help me out, please pass this along to them.
Hello all! Is there still nobody with an interest in doing this?
I'm interested in this project as well, for change of that outdated VoIP recorder, but don't have any knowledge about it unfortunately, we have to somehow make more people know about this thread
Zoki88 said:
I'm interested in this project as well, for change of that outdated VoIP recorder, but don't have any knowledge about it unfortunately, we have to somehow make more people know about this thread
Click to expand...
Click to collapse
Agreed! I have no idea how to get exposure for this thread though. If you have any ideas, please share!
David B. said:
Agreed! I have no idea how to get exposure for this thread though. If you have any ideas, please share!
Click to expand...
Click to collapse
I can only try mentioning this thread with link in my posts i'll put in other threads as will asking people for something else, and also if i make my own thread for asking something, will mention this thread, i don't have other better idea than that
Zoki88 said:
I can only try mentioning this thread with link in my posts i'll put in other threads as will asking people for something else, and also if i make my own thread for asking something, will mention this thread, i don't have other better idea than that
Click to expand...
Click to collapse
I think that would be very useful!
Is there any way to make this thread alive and bring some developers? With new android versions upcoming and new devices, we won't be able to use boldbeast voip recorder anymore, and there's literally not a single alternative app to it, even cube acr isn't that good, can't record discord, skype, zoom etc..
Zoki88 said:
Is there any way to make this thread alive and bring some developers? With new android versions upcoming and new devices, we won't be able to use boldbeast voip recorder anymore, and there's literally not a single alternative app to it, even cube acr isn't that good, can't record discord, skype, zoom etc..
Click to expand...
Click to collapse
I'd love to invest time in this again, but unfortunately, my personal life is packed with other things that are limiting my free time to further investigate this at the moment.

Fixing a Broken Android App

Hello Everyone,
Let me start out by saying if this is the wrong forum please feel free to relocate this post.
I have a general question about fixing a broken Android App. SkyWatcher USA makes an app for Android for the Astronomy buffs. Many of the telescope manufacturers use a controller called SynScan that allows "Go-To" operation of the telescope mount. Many also have either built-in WiFi or sell an adapter that allows you to "tether" your scope to your Android device. This allows many 3rd party planetarium apps to control the scope's computerized mount. SkyWatcher's app is called SynScan Pro.
One of the app's features is getting GPS location data from the device. Since the introduction of Android 12 that feature is broken. I was thinking I've been waiting for months for an update that will restore the ability to use the location sensor in my device but it isn't available yet. Currently if you enable use of the location sensor the app crashes.
My question is how does one with little app building experience find good info on how to fix this broken function and bring the app up to Android 12.
Thanks
FernBch said:
Hello Everyone,
Let me start out by saying if this is the wrong forum please feel free to relocate this post.
I have a general question about fixing a broken Android App. SkyWatcher USA makes an app for Android for the Astronomy buffs. Many of the telescope manufacturers use a controller called SynScan that allows "Go-To" operation of the telescope mount. Many also have either built-in WiFi or sell an adapter that allows you to "tether" your scope to your Android device. This allows many 3rd party planetarium apps to control the scope's computerized mount. SkyWatcher's app is called SynScan Pro.
One of the app's features is getting GPS location data from the device. Since the introduction of Android 12 that feature is broken. I was thinking I've been waiting for months for an update that will restore the ability to use the location sensor in my device but it isn't available yet. Currently if you enable use of the location sensor the app crashes.
My question is how does one with little app building experience find good info on how to fix this broken function and bring the app up to Android 12.
Thanks
Click to expand...
Click to collapse
@FernBch
It's indeed the wrong forum. Therefore I suggest prior to your next posting to please read the guidances that are stuck on top of every forum like
[ATTN] : Read before posting - Any questions posted here will be MOVED or CLOSED
Please read the below before posting. Any questions not development related will be moved or closed. Forum Searching | Posting | The Basics: (Make sure you've read them before starting a new thread) Forum Rules Forum Search Google Forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A as it didn't qualify for development.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

Fake location to India for call recording?

Hi All,
My POCO M4 Pro does call recording via the google phone app, but you have to manually hit the record button each time.
The option to 'record all calls' is only available if your location is set to India.
I've tried the following:
Set 'Region' to India.
Spoof GPS location to India via developer options.
Used a VPN location in India
Each time I have cleared cache/all data for the phone app(s) and rebooted but it still doesn't work.
I wondered if I need to use an India based ROM, but I can see the 'record all calls' option for a split second each time I open the relevant settings page, but it is removed almost instantly each time, so I belive it is built into my 'Global' ROM, but is being disabled by my location.
Does anyone know what Google phone is looking at to determine my location?
I've considered changing my google play account to India, or creating a new google profile based in India to see if that fools it...
Does anyone have any ideas?
Many thanks!!
ben73 said:
Does anyone know what Google phone is looking at to determine my location?
I've considered changing my google play account to India, or creating a new google profile based in India to see if that fools it...
Does anyone have any ideas?
Click to expand...
Click to collapse
@ben73
Welcome to XDA. I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation.
Regards
Oswald Boelcke
Senior Moderator

Hacking Samsung CSC Code To Enable Call Recording

Hi everyone - new member here, so maybe this has been covered, but thought I would ask anyway.
As we all know, the Samsung dialer enables native call recording from only a handful of countries and uses the phone's CSC code to make that determination. Other than rooting the phone - which trips Knox and potentially causes other problems and is super complicated for newbies, the only solution is to change the CSC code to one of those countries via a utility, which seems to work well from the posts here (p.s. third party recording apps cannot reliably capture the other side of the call).
The problem is that in order to even do that, you have to have a European model "B" or "E" phone - meaning, all lhe US based "U" phones are hopelessly without any solution.
My question is, why is it so difficult to hack the dialer into thinking the phone has the necessary CBC code that enables the recording, especially since it would appear to be a very localized and specific call for one piece of data that could be spoofed. I'm sure there's a very good reason why it can't be done, but thinking more along the lines of using a PC or Mac, it would seem simple enough to load some code at startup that would fool the phone into enabling the call recorder option.
Any thoughts?
Brixster said:
Any thoughts?
Click to expand...
Click to collapse
Hello and good morning, @Brixster
Welcome to XDA. I hope you'll always find and get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved the thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

change default app for hdmi mode

Hy guys,
I'm wondering, if there is a way to change the launcher-app, that gets started, if a HDMI cable is plugged in using USB OTG.
Samsung already added a HDMI-Mode switch from Screen Mirroring to DeX Mode. Maybe there is a hack to get my own app into this setting.
Example use case:
I want to display a game on my TV, when connecting it with my android phone, but don't want to run it on the phone screen. It would be nice, if it would start like Samsung's DeX directly on the TV. Or any other app like video surveillance or a chrome website.
In the next step I want to try using andronix+termux+vnc to get ubuntu on my TV screen while using my phone as android device.
Thanks for your ideas and inputs.
Kind regards,
Launemax
launemax said:
Hy guys,
I'm wondering, if there is a way to change the launcher-app, that gets started, if a HDMI cable is plugged in using USB OTG.
Samsung already added a HDMI-Mode switch from Screen Mirroring to DeX Mode. Maybe there is a hack to get my own app into this setting.
Example use case:
I want to display a game on my TV, when connecting it with my android phone, but don't want to run it on the phone screen. It would be nice, if it would start like Samsung's DeX directly on the TV. Or any other app like video surveillance or a chrome website.
In the next step I want to try using andronix+termux+vnc to get ubuntu on my TV screen while using my phone as android device.
Thanks for your ideas and inputs.
Kind regards,
Launemax
Click to expand...
Click to collapse
Hello and good afternoon, @launemax
Welcome to XDA! I hope you'll always get the support you require.
However, prior to your next posting please read the guidances that are stuck on top of every forum like
Note: Questions go in Q&A Forum
If you are posting a Question Thread post it in the Q&A forum. Technical discussion of Android development and hacking. No noobs, please. Device-specific releases should go under the appropriate device forum...
forum.xda-developers.com
and the others. I've moved your thread to Android Q&A.
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

Categories

Resources