[DEV] Call recording on I9000 - JNI (DEVELOPERS ONLY) - Galaxy S I9000 Android Development

Hi!
on the i9000 i found out that there is a function in libaudio.so for call recording.
I'm not an expert which jni. So what would i need to use the class from within a dalvik / java program.
My idea is to test the class for call recording on the i9000.
Any help appreciated.
(I managed to compile a working kernel, but i didn't manage to compile a running arm binary neither with the CodeSourcery nor the gnu toolchain in the android sdk)
------------
Update:
Thanks to titooo7 et.al. call recording is now working using the libs and phone*.apks from the i9088.
http://db.tt/q0sfueP

thanks for nothing.
i fixed the dynamic linker problem with gcc/ld parameter.

So, any good news for us mortals? Are you planning to do an app with a proper call recording?

i was partly successful. For now, call recording works only with the headset attached.
but there won't be an app for call recording. It will be more like a patch.
I would really need feedback from people telling that recording works with their firmware versions to go in depth.

That's awesome! Great progress! I wish I could help but I don't have the slightest clue about Android development. Would love to have a working call recorder though! I'd gladly send a beer or two your way too.
P.S. - I'd love to help you out with testing if you need.

Call recording would be great! I remember a while ago spending weeks looking for a call recording app, but nothing! Even my ancient Sony Ericsson had call recording...
I'll be watching this thread

There is an application, called Total Recall that should let you record your phone conversations.

My experience with similar app is that I am recorded fine but the other side is barely heard. I think OP is working on a direct recording from line in.
I'll be happy to beta test anything too.

Please don't get me wrong. I will for sure release a version for testing.
But at first i would need the firmware versions of people who claim that call recording (with 3rd party apps) works on their phones.

dmueller2 said:
Please don't get me wrong. I will for sure release a version for testing.
But at first i would need the firmware versions of people who claim that call recording (with 3rd party apps) works on their phones.
Click to expand...
Click to collapse
Among all apps I have tried, only one of them recorded successfuly both sides of the conversation. I don't remember the app and I don't remember which firmware I had (sorry). The only thing I remember is that it was a 14 or 15 dial trial and the app "draw" a (movable) circular button on top of the phone app. In order to recall the current conversation this button had to be pushed.
I am currently using Doc's JPY firmware. If I can help with some tests, I will be glad.

dmueller2 said:
Please don't get me wrong. I will for sure release a version for testing.
But at first i would need the firmware versions of people who claim that call recording (with 3rd party apps) works on their phones.
Click to expand...
Click to collapse
None of the countless apps I've tried has worked for me. What they all do is, record whatever is input through the mic, just like any other sound recorder app. For this reason, only your side of the conversation is recorded. Or both sides if you use speakerphone.

ed10000 said:
None of the countless apps I've tried has worked for me. What they all do is, record whatever is input through the mic, just like any other sound recorder app. For this reason, only your side of the conversation is recorded. Or both sides if you use speakerphone.
Click to expand...
Click to collapse
That is what most of these apps do, but the one I mentioned before successfuly and clearly recorded both sides, without speakerphone. It's a pitty I don't remember the name... hopefully, someone will tell wich app it is from my description.

JuanRamiro said:
That is what most of these apps do, but the one I mentioned before successfuly and clearly recorded both sides, without speakerphone. It's a pitty I don't remember the name... hopefully, someone will tell wich app it is from my description.
Click to expand...
Click to collapse
Can you please check to see if the app is called Call Recorder | TR Demo by Killer Mobile? This is the one with a 14 days trial, and the description says it works for Samsung Galaxy (Android 2.2).
I have not personally tried it, but hopefully this can jog your memory.
Sent from my GT-I9000 using XDA App

g00ndu said:
Can you please check to see if the app is called Call Recorder | TR Demo by Killer Mobile? This is the one with a 14 days trial, and the description says it works for Samsung Galaxy (Android 2.2).
I have not personally tried it, but hopefully this can jog your memory.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Call Recorder | TR Demo
by Killer Mobile
http://www.appbrain.com/app/call-recorder-|-tr-demo/com.killermobile.totalrecall.trial
NOTE: May not record calls on all devices including the Droid/X/2, Nexus One, Galaxys etc)
From my research no app is working in GalaxyS atm. I mean recording both sides offcource..

g00ndu said:
Can you please check to see if the app is called Call Recorder | TR Demo by Killer Mobile? This is the one with a 14 days trial, and the description says it works for Samsung Galaxy (Android 2.2).
I have not personally tried it, but hopefully this can jog your memory.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
No it's not. That's one of the most popular ones and one of the first ones I tried, because that's what I was using on my old Symbian Nokia 5320. Unfortunately it only recorded one side of the convo, like every other app I tried.
Sent from my GT-I9000 using XDA App

http://www.killermobile.com/en/applications/android/total-recall-android-|-call-recorder.html
That application works on my phone. It records both me and also the people I talk with.
It worked on JP7 (which should be identical with JPA/JPO).

Arise said:
http://www.killermobile.com/en/applications/android/total-recall-android-|-call-recorder.html
That application works on my phone. It records both me and also the people I talk with.
It worked on JP7 (which should be identical with JPA/JPO).
Click to expand...
Click to collapse
does it work without speakerphone?

I am using an app called CallRecorder, it records me fine and the other side very silent(yet clear enough to understand what he's saying).
I am on a custom hebrew rom, based on jpo I think.

merry xmas.

Just installed and unibstalled the Total Recall Call Recorder app, again. Tried with all the settings, and while some (Recording Strategy A) work one sided (the other side is very faint - only whatever manages to get through from the earpiece to the mic), some settings (Recording Strategy B) fail completely and keep crashing the app all the time. I'm on JPX.
Like I said, I'm yet to come across an app that does recording directly from line in.
Sent from my GT-I9000 using XDA App

Related

Conversation / Call Recorder for Developers

This is a tip for ALL good application developers in the android market: as of now, there is no good Conversation (call) Recorder application that would record calls (not from the speaker) in a clear sound and save it in different formats.
I have tried many, including the "Call Recorder - Total Recall" but wasn't happy with none of them.
If you come accross a good one, please post it.
Thanks.
I would pay $40 or so for one. It would be cheaper than paying $198.00 for a Call Mynah Cell Phone Recorder. Also less hassle as with call mynah I have to haul around another device. I would buy call mynah if I can't find anything else as it would always work with phones and upgrade phone in the future as long as we have bluetooth on future phones.
I use
https://market.android.com/details?id=com.skvalex.callrecorder
Search for the thread on xda and thank faux
Found it in his kernel thread.
Sent from my SGH-T989 using xda premium
Any other one that would work with an non-rooted SGH-T989 ?
jangst123 said:
I use
https://market.android.com/details?id=com.skvalex.callrecorder
Sent from my SGH-T989 using xda premium
Click to expand...
Click to collapse
Yeah, you know that website you noted states that you need a kernel patch and a rooted phone?
I needed this feature for work. Searched forever and had to root. It is very easy with superoneclick2.2. Call recorder by skvalex is perfect. Records both sides without speakerphone. Has record button when both sides connect. Dont have to record every call. Works on i.coing and outgoing. Good luck without root. Call recorder needs superuser permission.
Once u rooted callrecorder by slvalex works great. Until recently u can't record any calls made over wifi calling
BEASTMOD 4.0
meatsac said:
Yeah, you know that website you noted states that you need a kernel patch and a rooted phone?
Click to expand...
Click to collapse
It works with Rooted Stock and the new uvkid
I know I use it or I would not have posted it
jangst123 said:
It works with Rooted Stock and the new uvkid
Click to expand...
Click to collapse
Would you mind identifying the thread that can give me easy to understand step by step instructions on how to change my phone to "Rooted Stock?" Also, how do I impliment uvkid? I am new to this stuff so could you tell me what "Rooted Stock" means? Can I continue to have over the air updates from T-mobile if I do that? Could it brick my phone?

call recording, need some quick help! (legal problems) Promptness appreciated!

hey guys, sorry if these seems rushed...
Going through some legal issues at the moment and I need to know what I can do to get call recording up and going asap?
Does our phone support it? (yes by far to my knowledge)
if so does it need to be on speakerphone or is it incoming outgoing recording?
also is there a specific rom I should look at for the best functionality of call recording?
I had just been debating swapping to CM10 (not sure if it supports it or not)
But I may not be able to do that...
I get no service at my house, I need to use wifi calling or else go outside where i get reception.
Does call recording work over wifi?
Gah so many questions
Thanks Guys & Gals!!!!
I think for call recording apps like skvalexs Call Recorder need to be supported by the kernel. I don't know if stock kernel will support it but if you find his thread here on xda you can download the current release as a trial to see if it works.
There are a few roms which have call recording built in. No real options for it but its there and it works. They'll all be ics based I'm pretty sure. FreeGS3, XquiziT, wanam Lite, I think all have this built in.
I'm not sure how well it'd work on wifi calling, but I don't see any reason it would be any different.
Sent from my SGH-T999 using xda app-developers app
Alanmw86 said:
hey guys, sorry if these seems rushed...
Going through some legal issues at the moment and I need to know what I can do to get call recording up and going asap?
Does our phone support it? (yes by far to my knowledge)
if so does it need to be on speakerphone or is it incoming outgoing recording?
also is there a specific rom I should look at for the best functionality of call recording?
I had just been debating swapping to CM10 (not sure if it supports it or not)
But I may not be able to do that...
I get no service at my house, I need to use wifi calling or else go outside where i get reception.
Does call recording work over wifi?
Gah so many questions
Thanks Guys & Gals!!!!
Click to expand...
Click to collapse
If you can get them to call thru a Google Voice phone number, you can call record with Google Voice by hitting the "4" button during the call.
call recording is built right into GS3 rom default phone app & maybe someother roms here that i may not know of
------------------------------------
Galaxy S3,The Best Big Thing
Lord_Kaizer said:
call recording is built right into GS3 rom default phone app & maybe someother roms here that i may not know of
------------------------------------
Galaxy S3,The Best Big Thing
Click to expand...
Click to collapse
What ROM is that thumbnail from and does it work?
fbiryujin said:
What ROM is that thumbnail from and does it work?
Click to expand...
Click to collapse
Pretty sure that was ICS, search more though there is a thread floating around where I found an app that works with our phones on TouchWiz JB I believe.
mt3g said:
Pretty sure that was ICS, search more though there is a thread floating around where I found an app that works with our phones on TouchWiz JB I believe.
Click to expand...
Click to collapse
Was it Skvalex's app?
Sent from my iPhone using Tapatalk
read this thread and the one I linked, I don't use any recorders but I know a lot did so searched around http://forum.xda-developers.com/showthread.php?t=2217881&highlight=call+recording
http://forum.xda-developers.com/showthread.php?t=2222741
[APP][1.0] CALL RECORDER!! The NEXT Generation!! [FREE]
Great app I use it and it easy!
Sent from my SGH-T999
+1 incall
crusecontrl said:
http://forum.xda-developers.com/showthread.php?t=2222741
[APP][1.0] CALL RECORDER!! The NEXT Generation!! [FREE]
Great app I use it and it easy!
Sent from my SGH-T999
Click to expand...
Click to collapse
+1
Incall can record and store as a mp3 so easy to play on other devices as evidence. Do pre testing as with anything before your actual conversations, Incall only worked on speaker phone for me and I dont know about wifi calling. You might need to use different recording apps for different situations.
CallRecorder (10$) from skvalex + AlsaMixer + aosp + ktkernel work 100% perfect.
If you change rom, you need to fresh install CallRecorder + AlsaMixer every time. If you restore from Titanium Backup it will not work.
Sent from my SGH-T999 using xda premium

[Q] Why no call recording in 4.1?

Hi!
I know that by default call recording options is enabled only on devices for certain countries.
But.
I have flashed default rom and installed PACman v15.0 | Android 4.1.2 | Kernel 3 ROM (sorry, cannot post a link here, forbidden). I have seen somewhere that this rom's kernel supports 2 way call recording, but when I make a call, I do not see any button to "record a call", like, for ex. miui roms have. So I have 2 questions:
1. How to record my calls natively? With this I mean is there any way to have "record a call" button when I make a call? Because I do not want to record any call (or only calls from numbers, that aren't in my contact list, like some apps from goggle market offers) - I wan to be able to record a current call, if I wish.
2. The forum has so few information about this topic - doesn't anybody need call recording function?
Thanks.
You need this app - https://play.google.com/store/apps/details?id=com.skvalex.callrecorder
Kernel support for 2WCR + this app are the standard requirements for call recording on most ROMs since a long time. That's why you don't see much about this, because nothing has changed since long and there's nothing new to talk about. And also because a lot of people hardly use it or don't need to use it at all. MIUI is the only ROM as far as I know which has call recording built in (in the call screen). Many other ROMs have kernel support but need this app to record, and yes you can record on-demand during a call rather than record all calls.
Sent from my Desire HD using xda premium
sashank said:
MIUI is the only ROM as far as I know which has call recording built in (in the call screen).
Click to expand...
Click to collapse
Wow.. the only thing keeping me now from using MIUI (4.1 based) is that it works pretty laggy on my DHD.
Well, lets have a look on the callrecorder since this is the only thing left
Message to ALL ROM makers: Please, include this functionality, so that it can be accessed from the call window - yes, there are people who realy need this.
Kay Trance said:
Wow.. the only thing keeping me now from using MIUI (4.1 based) is that it works pretty laggy on my DHD.
Well, lets have a look on the callrecorder since this is the only thing left
Message to ALL ROM makers: Please, include this functionality, so that it can be accessed from the call window - yes, there are people who realy need this.
Click to expand...
Click to collapse
Why not just install the app?
Yeah. The app has an in-call control button.
Sent from my Desire HD using xda premium

Looking for a good call recorder

Hi Guys,
I have N7100 running the latest Slim Bean ROM (AOSP)
tried almost every call recorder but couldn't find a working one..
Can anyone point me to some kind of patch or an App that will record all my calls?
tnx
d-edge said:
Hi Guys,
I have N7100 running the latest Slim Bean ROM (AOSP)
tried almost every call recorder but couldn't find a working one..
Can anyone point me to some kind of patch or an App that will record all my calls?
Click to expand...
Click to collapse
It must be the shady ROM you're using, that is the culprit. On stock ROM, loads of recorders work great.
What REALLY sux, is the fact that it's impossible to record both ends, when you're using a BT headset.
I've tried every possible setup, with every recording app around, I'm rooted, enabled recording in ROM.
Nothing helps. Is this 2013 or is it 1995? Even the good doctor Ketan stands speechless! Grrrrrr.....
A nice recording app is the "Call Recorder" Link An even better one for our phones is "Total Recall" Link
doesnt work.
Televinken said:
It must be the shady ROM you're using, that is the culprit. On stock ROM, loads of recorders work great.
What REALLY sux, is the fact that it's impossible to record both ends, when you're using a BT headset.
I've tried every possible setup, with every recording app around, I'm rooted, enabled recording in ROM.
Nothing helps. Is this 2013 or is it 1995? Even the good doctor Ketan stands speechless! Grrrrrr.....
Click to expand...
Click to collapse
This really do sucks, but i'm using Slim Bean and not shady..
I used to have Alliance ROM and recording indeed was great, but the ROM became too slow after a while, so I decided to move to AOSP.
now everything works flawlessly including high DPI and lockscreen camera app, but the call recording is not working with none of the apps in the market. Incl. the ones you stated.
any other suggestions?
Thanks!
You can use the XposedFramework and the calll record app in there. That should work
Sent from my GT-N7105 using xda premium
Sanity works very well for me on Stock ROM. It records both ends, even via Bluetooth.
https://play.google.com/store/apps/details?id=cri.sanity
Brgds... /Tubgirl
Tubgirl said:
Sanity works very well for me on Stock ROM. It records both ends, even via Bluetooth.
Click to expand...
Click to collapse
You're joking, right?
I have tested Sanity as well, but to no avail.
Are you using stock ROM, & latest 4.1.2 build?
In case you REALLY got it to record both ends
using BT headset; could you share all the setup?
@TS: I was just being somewhat ironic, calling
your ROM a shady one. As in "fishy"....
(since it's not a stock one...)
Televinken said:
You're joking, right?
I have tested Sanity as well, but to no avail.
Are you using stock ROM, & latest 4.1.2 build?
In case you REALLY got it to record both ends
using BT headset; could you share all the setup?
Click to expand...
Click to collapse
Just make sure you change the "audio source" setting from "microphone" to "phone call" and it should work. It's been working on every Stock ROM I've ever used including 4.1.2.
Brgds... /Tubgirl
PS. I'm using the donate version but I've forgotten why I bought it... might have been just to support the developer.
GT-N7100 via Tapatalk 2
Tubgirl said:
Just make sure you change the "audio source" setting from "microphone" to "phone call" and it should work. It's been working on every Stock ROM I've ever used including 4.1.2.
Brgds... /Tubgirl
PS. I'm using the donate version but I've forgotten why I bought it... might have been just to support the developer.
GT-N7100 via Tapatalk 2
Click to expand...
Click to collapse
Hmm....I used the same settings, but it would only record the far end of conversations.
I also used the donate version. Thx for bringing back the hope to get
a call recorder to fully work with the GN2....
sawdoctor said:
You can use the XposedFramework and the calll record app in there. That should work
Sent from my GT-N7105 using xda premium
Click to expand...
Click to collapse
Doesn't work.. tried that but it only enables the "record button" that comes with the stock 4.1.2 ROM, As I said i'm on an AOSP 4.2.2 one..
Tubgirl said:
Sanity works very well for me on Stock ROM. It records both ends, even via Bluetooth.
url]https://play.google.com/store/apps/details?id=cri.sanity[/u
Brgds... /Tubgirl
Click to expand...
Click to collapse
Thanks, but this is not working for me also..
Thanks everyone for trying to help,
will appreciate more help if available.
Tubgirl said:
Just make sure you change the "audio source" setting from "microphone" to "phone call" and it should work. It's been working on every Stock ROM I've ever used including 4.1.2. I'm using the donate version
Click to expand...
Click to collapse
Well, I have now tested once again, and as expected, it only records the far side of the conversation.
I wonder what could possibly differ between our settings? You're, in fact, the only user ever, to report
that call recording works with BT headset on our phones. This is really strange and very frustrating.
We need the good Dr Ketan, to shed some light in this matter. If he doesn't know, I'll just give up.
:crying:
https://play.google.com/store/apps/details?id=com.grinzone.incallrecorder&hl=en
this works but sound from other end is very low but it does work for me...
gaurav2009 said:
https://play.google.com/store/apps/details?id=com.grinzone.incallrecorder&hl=en
this works but sound from other end is very low but it does work for me
Click to expand...
Click to collapse
It says in the description, that the phone speaker has to be switched "on", to have BT recording work, but it still doesn't. Thanx for trying to help out, but I start to believe it's hopeless...
Televinken said:
Well, I have now tested once again, and as expected, it only records the far side of the conversation.
I wonder what could possibly differ between our settings? You're, in fact, the only user ever, to report
that call recording works with BT headset on our phones. This is really strange and very frustrating.
We need the good Dr Ketan, to shed some light in this matter. If he doesn't know, I'll just give up.
:crying:
Click to expand...
Click to collapse
can anyone pls explain who is that Katan?
Dr.Ketan is a respected member and a Recognized Contributor of this forum If you are here in Note 2 section and you haven't seen his post then I've nothing to say! And try to spell his name correctly.
And yes, Xposed does work good for recording. As I'll never be on any custom thingy I don't really care what goes on outside stock base, sorry.
Sent from my GT-N7100 using Tapatalk 2
jujuburi said:
And yes, Xposed does work good for recording
Click to expand...
Click to collapse
Unless you're using a BT headset. Then the record button is greyed out.
I've come to the conclusion that this simple task is impossible to achieve.
User "Tubgirl" claims that it works on her phone. I really don't know. If you
google the problem, you'll find that no one else have managed to get it right.
I'm prepared to give up on this one....
I could be mistaken, but I think in-phone recording (that doesn't involve speakerphone) is not possible, at least on the ROM's I've tried.

[Q] Skvalex Call Recorder

Hi,
I am in process of transferring from HTC to Xperia Z1 Compact.
One of the most important aps is Call Recorder by Skvalex.
Have tried version 1.52, but recording does not work.
Has anybody had success in using Skvalex Call Recorder, which version and settings.
I am on RomAur v1.2 and it claims call that recording will work, but it doesn't.
Can not use any other recorder, as I like to keep all past recordings.
Thanks!
Would help if you could tell us in detail about the issue. Could you elaborate the issue? Is it crashing? Can't record? Corrupt sound file? No sound? can't install from playstore?
Does it work generelly for people?
Skickat från min C5503 via Tapatalk
I used it wit z1 as model amr but it's a hit or miss. Some times it record some time does not. I've mailed skvalex already. He is a great dev in past replying to mails promptly. So we'll see
Sent from my D5503 using Tapatalk
fixed
Lasantha said:
I used it wit z1 as model amr but it's a hit or miss. Some times it record some time does not. I've mailed skvalex already. He is a great dev in past replying to mails promptly. So we'll see
Sent from my D5503 using Tapatalk
Click to expand...
Click to collapse
just confirmed with dev.use lg nexus 5 as devise and everything works.loud and clear:good::good::good::good:
Tried it, works very good even without root!
Device = "other", recording method = "Android API", audio source = "voice uplink+voice downlink".
avs333 said:
Tried it, works very good even without root!
Device = "other", recording method = "Android API", audio source = "voice uplink+voice downlink".
Click to expand...
Click to collapse
on romaur call recorder worked without problems with alsa as recording method, but now i´m on cm based kitkat rom and it is not working with any method (no other call recording app i´ve tested is working), i have not tested stock kitkat
funiewski said:
cm based kitkat
Click to expand...
Click to collapse
Interesting, thanks for info, will see to it in a couple of days
avs333 said:
Interesting, thanks for info, will see to it in a couple of days
Click to expand...
Click to collapse
got solution from @skvalex, in settings choice nexus5 as device
funiewski said:
got solution from @skvalex, in settings choice nexus5 as device
Click to expand...
Click to collapse
oh nice! that's spares me from installing cyan soon
LG Nexus 5 + standard API method + default audio source (not up/down link) seem to work OK.
Nope, it only catches the other party through the microphone (no sound if mic switched off).
Tried other settings, no luck so far ...
This is my settings, if you have root there i no better app for call recording than skvalex
hm, can't judge due to lack of signatures, but I suspect those reporting it as working are on 4.4 Kitkat.
Does it work for anybody on stock 4.3? I think I tried every reasonable option and it does not record from the line on my Z1C ...
Will be grateful for a confirmation.
gpietron said:
hm, can't judge due to lack of signatures, but I suspect those reporting it as working are on 4.4 Kitkat.
Does it work for anybody on stock 4.3? I think I tried every reasonable option and it does not record from the line on my Z1C ...
Will be grateful for a confirmation.
Click to expand...
Click to collapse
It worked from very first sw version to latest.I use caf with nexes 5 4.3 worked fine

Categories

Resources