Hacking Samsung CSC Code To Enable Call Recording - Android Q&A, Help & Troubleshooting

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

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.

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

sdk for calls

hello there i have build and app to monitor android phones like gps call recordings etc and i would like to implement live audio streaming i put this functionality but it seems like the library is very poor is there any better sdk or better library? any suggestions?
dafy1234 said:
hello there i have build and app to monitor android phones like gps call recordings etc and i would like to implement live audio streaming i put this functionality but it seems like the library is very poor is there any better sdk or better library? any suggestions?
Click to expand...
Click to collapse
@dafy1234
Although you're a very long time member but it's your first post, a very warm 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, Help & Troubleshooting
This forum is for all of your questions about Android Development and Hacking. If you need help troubleshooting a problem, please be as specific as possible by describing your software configuration, including the ROM, kernel, and any modifications you've done.
forum.xda-developers.com
Thanks for your cooperation!
Regards
Oswald Boelcke
Senior Moderator

How to change package name of app without crashing + resizing apps

Long story short, APK Installation is blocked on LG Classic Flip (no, it's not in settings). There is a way around it though: Decompile an APK, Go to androidmanifest.xml, change package name from com.example to com.android.cts.example (cts stands for compatibility test suite). It works beautifully for most apps, but some apps like Whatsapp are very protected and crash when I do that. Is there a way around that? Same with spotify.
On a side note, some apps aren't sized right for LG Classic Flip (Flip phone). LG Classic is 320x240 pixels. Is there a way to resize the apps (and not the screen).
I'm new, and I am not an expert, so please explain in beginner terms if you have the answer to either of these questions. I'm not stupid, and I learn very quick, I just am not very knowledgeable in this area. Thanks for your help in advance!, Shlomo Rabinowitz.
Biden2020prez said:
Long story short, APK Installation is blocked on LG Classic Flip (no, it's not in settings). There is a way around it though: Decompile an APK, Go to androidmanifest.xml, change package name from com.example to com.android.cts.example (cts stands for compatibility test suite). It works beautifully for most apps, but some apps like Whatsapp are very protected and crash when I do that. Is there a way around that? Same with spotify.
On a side note, some apps aren't sized right for LG Classic Flip (Flip phone). LG Classic is 320x240 pixels. Is there a way to resize the apps (and not the screen).
I'm new, and I am not an expert, so please explain in beginner terms if you have the answer to either of these questions. I'm not stupid, and I learn very quick, I just am not very knowledgeable in this area. Thanks for your help in advance!, Shlomo Rabinowitz.
Click to expand...
Click to collapse
Hello and good morning, @Biden2020prez
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
Oswald Boelcke said:
Hello and good morning, @Biden2020prez
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
Click to expand...
Click to collapse
Thank you for telling me very nicely and I'm sorry for not reading that first, I'll make sure to next time.

Need for advice LENOVO TAB M10 TX-606-F

Hello,
first of all I apologize in advance for my mistakes, but not being at ease with the English language I prefer to use a translator.
I just rooted this tablet with TWRP & Magisk.
Now I want to change some features in the settings menu.
For example, I want to prevent the user to delete an application.
I tried app locker to block for example termux but unfortunately you can still delete the desired application. Of course, app locker can't be deleted but the applications it protects can.
on the other hand, is it possible for example to switch the tablet to airplane mode from 9 PM and to grey out the functionality to avoid that the person reactivates the connections ?
Sorry this is a lot to ask but if you can help me it would be nice.
thank you and good day to all
cyrildad said:
on the other hand, is it possible for example to switch the tablet to airplane mode from 9 PM and to grey out the functionality to avoid that the person reactivates the connections ?
Click to expand...
Click to collapse
Hello and good afternoon, @cyrildad
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
oh I'm really sorry, and especially thank you for the referral

Categories

Resources