FORUMS

Analysis & Opinion

Top Forum Discussions

[DEV] Two-way call recording on Desire [ALMOST SOLVED][Sept. 7 update]

224 posts
Thanks Meter: 299
 
By avs333, Senior Member on 15th March 2011, 06:49 AM
Post Reply Subscribe to Thread Email Thread
At last, I've nearly succeeded in enabling two-way call recording directly from the phone line on HTC Desire.
This works with the latest 32.54.00.32U_5.14.05.17 radio only.

So far, the line recording was confirmed to work for incoming calls on different 2.6.32 and 2.6.37 based ROMs

The recordings of incoming calls are crystal clear, with the other party recorded as loud as your voice.

The trouble with the outgoing calls needs your help!!! It seems to be a userspace- rather than kernel-related issue: e.g., LeeDroid 2_3d ROM was confirmed to record outgoing calls as well. I'm unable to solve this because I have no Desire (i.e., the device), but I suspect that it may be caused by some other app like dialer or voice dialing stuff stealing the mic before the recording is started.

So, I attach:
1. Two update.zip's with patched stock 2.6.32 and cm7 2.6.37 kernels, wifi modules included (please select a proper one for testing).
2. My rVoix app hastily ported to desire. Many settings won't work, e.g. sound boost/autoanswer. Any other voice recording program won't suit, almost surely.
3. The kernel patches themselves (against the stock HTC kernel from their site and the latest cm7 from their github) -- needed for developers only.

You need a ROOTED device with 32.54.00.32U_5.14.05.17 radio for tests.

I'd be very happy if somebody finds a proper solution for outgoing calls, whatever it might be.
And I'd be even more happy if somebody ports the patches to other qsd/msm7x30 devices like Desire HD/Z, etc.

Please enjoy!

--------------------------
UPDATE:

The problem with outgoing calls is now confirmed to be a userspace issue. I'll patch rVoix.apk when I have a proper solution (cannot do it right now because of deficiency of Android SDK). For time being, please use the following trick to record outgoing calls from the line:

1. Settings->Outgoing calls->Default action, select "Ask each time"
2. When you call somebody, the Yes/No window will appear asking if the call should be recorded.
3. Рress YES button only after your callee responds!

If you press it before, your call will be recorded from the MIKE, otherwise, it'll be recorded from the LINE.

--------------------------
UPDATE:
skvalex wrote an app to record both incoming and outgoing calls automatically! Please look up his posts here.

--------------------------
UPDATE:
Several kernels & ROMs around here have already been patched! My thanks to those developers!!! Please check relevant threads: if you see that the 2-way recording patch is included, you needn't install any update.zip's attached herein: just install rVoix or (even better) an app by skvalex.

Quote:
Originally Posted by skvalex

Attention!
If you want to help in improving CallRecorder, please add a star to the issue as illustrated on the screenshot below.
This API is of vital importance for CallRecorder, and CallRecorder cannot be fully functional without it.


http://code.google.com/p/android/issues/detail?id=15872

--------------------------
UPDATE:
I'm attaching a new built for stock Gingerbread 2.6.35, should work with sense-based ROMs (patch sources are at http://code.google.com/p/2-way-call-...#svn%2Fpatches). It includes numerous fixes and AMR support (CallRecorder 1.0.31 or later needed).

--------------------------
UPDATE:
Please visit the site skvalex.com/donate.php, there's very important info by our skvalex!
Attached Files
File Type: zip update_2_6_32.zip - [Click for QR Code] (2.79 MB, 6071 views)
File Type: zip update_2_6_37.zip - [Click for QR Code] (2.08 MB, 4936 views)
File Type: apk rVoix.apk - [Click for QR Code] (293.5 KB, 9659 views)
File Type: zip patches.zip - [Click for QR Code] (5.2 KB, 4691 views)
File Type: zip update_2_6_37_4.zip - [Click for QR Code] (2.08 MB, 5326 views)
File Type: zip update-desire-2_6_35.zip - [Click for QR Code] (3.93 MB, 3668 views)
Last edited by avs333; 18th October 2011 at 01:05 AM. Reason: UPD: new 2.6.35 update for stock gb+sense
The Following 84 Users Say Thank You to avs333 For This Useful Post: [ View ]
 
 
15th March 2011, 08:12 AM |#2  
pesiran's Avatar
Senior Member
Flag Khuzestan, Iran
Thanks Meter: 533
 
More
Sorry i didnt understand how to use patchs !
The Following User Says Thank You to pesiran For This Useful Post: [ View ]
15th March 2011, 08:21 AM |#3  
avs333's Avatar
OP Senior Member
Thanks Meter: 299
 
More
Never mind, they're for kernel/ROM developers , just install update.zip and rvoix.apk.
The Following 3 Users Say Thank You to avs333 For This Useful Post: [ View ]
15th March 2011, 08:28 AM |#4  
AndyBury's Avatar
Senior Member
Flag Essex.
Thanks Meter: 62
 
More
Wow do I believe my eyes..
I had almost given up all hope.
I thought no one was playing with this.
Thank's, I shall have a little look and report back.


Sent from my HTC Desire using XDA Premium App
Last edited by AndyBury; 15th March 2011 at 10:39 AM. Reason: Typo
15th March 2011, 08:31 AM |#5  
pesiran's Avatar
Senior Member
Flag Khuzestan, Iran
Thanks Meter: 533
 
More
I missed my hero just because this application ! But now its runing perfect on my Desire CM7 RC 2.
Thanks Man , You are great.
15th March 2011, 09:51 AM |#6  
zikyHD's Avatar
Senior Member
Flag Paris
Thanks Meter: 65
 
More
Hi!

I've tested your app. Great work! As you said on your first post, it's ok with incoming call. With outgoing call, only our voice seems to be recorded. Do you need log?

Sent from my HTC Desire #Root S-OFF# on Test-Mode
15th March 2011, 10:47 AM |#7  
avs333's Avatar
OP Senior Member
Thanks Meter: 299
 
More
Quote:
Originally Posted by zikyHD

With outgoing call, only our voice seems to be recorded. Do you need log?

Thank you, Android logs won't help here (I'm afraid, the kernel tracing is necessary).

Anyway, will you try using "In-call manual control" to start/stop recording during outgoing calls? I don't even know if this setting works at all on Desire...

UPD: I mean, to start after the outgoing connection is really established.
Last edited by avs333; 15th March 2011 at 10:59 AM.
15th March 2011, 01:32 PM |#8  
zikyHD's Avatar
Senior Member
Flag Paris
Thanks Meter: 65
 
More
I've tried to make a call, then launch rvox, start the service, end the call: no records. That's what you meant?

Edit: why do you have to update WLAN modules?

Sent from my HTC Desire #Root S-OFF# with a taste of Desire S
Last edited by zikyHD; 15th March 2011 at 01:39 PM.
15th March 2011, 02:24 PM |#9  
Junior Member
Flag hsinchu
Thanks Meter: 0
 
More
Can this update file use in Hd Rom for desire ??
P.S. kernel version and radio are the same

Sent from my HTC Desire using Tapatalk
15th March 2011, 05:48 PM |#10  
Senior Member
Thanks Meter: 50
 
More
This is interesting.
Would love to see this worked out in general and integrated into my favorite ROM
15th March 2011, 06:25 PM |#11  
avs333's Avatar
OP Senior Member
Thanks Meter: 299
 
More
Quote:
Originally Posted by zikyHD

I've tried to make a call, then launch rvox, start the service, end the call: no records. That's what you meant?

Edit: why do you have to update WLAN modules?

Sent from my HTC Desire #Root S-OFF# with a taste of Desire S

Why?? Just start the service first. Make sure that the red "rx" is displayed on your taskbar (if you really hate that "rx", check "Disable notifications" in Settings, however, you'll no longer be able to access your recordings from the taskbar, and have to launch rvoix each time you want to browse them or change your settings).

After that, the program waits for the calls, doing nothing (i.e., it won't affect your battery at all) and occupying almost no memory.

For incoming calls, the conversations will be recorded from the phone line, please start rvoix again (either from "rx" icon or manually) and look what's in Recordings.

For outgoing calls, everything will be recorded from the mike.

A temporary workaround is to set "Outgoing calls->Default action->Ask each time", and wait until your callee responds before pressing Yes. Then the call should be recorded from the phone line rather than from the mike.

The WiFi modules are needed because their version must match that of the kernel, they won't load otherwise.

Quote:
Originally Posted by yenfu

Can this update file use in Hd Rom for desire ??
P.S. kernel version and radio are the same

If your device is Desire but _not_ Desire HD, I guess you may try. Be sure to make full backup beforehand.
Last edited by avs333; 15th March 2011 at 08:14 PM. Reason: unable->able
The Following User Says Thank You to avs333 For This Useful Post: [ View ]

Read More
Post Reply Subscribe to Thread

Tags
record
Previous Thread Next Thread
Thread Tools
Display Modes