5,598,542 Members 44,580 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
avs333
Old
(Last edited by avs333; 18th October 2011 at 01:05 AM.) Reason: UPD: new 2.6.35 update for stock gb+sense
#1  
avs333's Avatar
Senior Member - OP
Thanks Meter 277
Posts: 195
Join Date: Apr 2005
Default [DEV] Two-way call recording on Desire [ALMOST SOLVED][Sept. 7 update]

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 View Post
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, 5745 views)
File Type: zip update_2_6_37.zip - [Click for QR Code] (2.08 MB, 4706 views)
File Type: apk rVoix.apk - [Click for QR Code] (293.5 KB, 9239 views)
File Type: zip patches.zip - [Click for QR Code] (5.2 KB, 4344 views)
File Type: zip update_2_6_37_4.zip - [Click for QR Code] (2.08 MB, 5072 views)
File Type: zip update-desire-2_6_35.zip - [Click for QR Code] (3.93 MB, 3374 views)
The Following 82 Users Say Thank You to avs333 For This Useful Post: [ Click to Expand ]
 
pesiran
Old
#2  
pesiran's Avatar
Senior Member
Thanks Meter 426
Posts: 778
Join Date: Aug 2010
Location: Khuzestan, Iran
Sorry i didnt understand how to use patchs !
The Following User Says Thank You to pesiran For This Useful Post: [ Click to Expand ]
 
avs333
Old
#3  
avs333's Avatar
Senior Member - OP
Thanks Meter 277
Posts: 195
Join Date: Apr 2005
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: [ Click to Expand ]
 
AndyBury
Old
(Last edited by AndyBury; 15th March 2011 at 10:39 AM.) Reason: Typo
#4  
AndyBury's Avatar
Senior Member
Thanks Meter 49
Posts: 223
Join Date: Nov 2010
Location: Essex.
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
 
pesiran
Old
#5  
pesiran's Avatar
Senior Member
Thanks Meter 426
Posts: 778
Join Date: Aug 2010
Location: Khuzestan, Iran
I missed my hero just because this application ! But now its runing perfect on my Desire CM7 RC 2.
Thanks Man , You are great.
 
zikyHD
Old
#6  
zikyHD's Avatar
Senior Member
Thanks Meter 52
Posts: 146
Join Date: Sep 2008
Location: Paris
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


Device : HTC Desire GSM A8181 S-OFF
ROM : PARANOIDANDROID 2.54-2 (JB 4.1.2)
Baseband : 32.56.00.32U_5.17.05.23
HBOOT : AlphaRev's JB CM10 6.93.1002 S-Off
Recovery : 4EXT Recovery Touch v1.0.0.5 RC 8 (By madmaxx82)

...at Home: Asus TF201 JB 4.1.2 / Samsung GS2 JB 4.1.2 (I love Android... )

My topic about RIL - My tool about RIL
 
avs333
Old
(Last edited by avs333; 15th March 2011 at 10:59 AM.)
#7  
avs333's Avatar
Senior Member - OP
Thanks Meter 277
Posts: 195
Join Date: Apr 2005
Quote:
Originally Posted by zikyHD View Post
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.
 
zikyHD
Old
(Last edited by zikyHD; 15th March 2011 at 01:39 PM.)
#8  
zikyHD's Avatar
Senior Member
Thanks Meter 52
Posts: 146
Join Date: Sep 2008
Location: Paris
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


Device : HTC Desire GSM A8181 S-OFF
ROM : PARANOIDANDROID 2.54-2 (JB 4.1.2)
Baseband : 32.56.00.32U_5.17.05.23
HBOOT : AlphaRev's JB CM10 6.93.1002 S-Off
Recovery : 4EXT Recovery Touch v1.0.0.5 RC 8 (By madmaxx82)

...at Home: Asus TF201 JB 4.1.2 / Samsung GS2 JB 4.1.2 (I love Android... )

My topic about RIL - My tool about RIL
 
yenfu
Old
#9  
Junior Member
Thanks Meter 0
Posts: 10
Join Date: Mar 2008
Location: hsinchu
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
 
Komadyret
Old
#10  
Senior Member
Thanks Meter 50
Posts: 478
Join Date: Aug 2010
This is interesting.
Would love to see this worked out in general and integrated into my favorite ROM
My One: Unlocked and rooted (somewhat)


My home on the interwebz:
http://www.411overkill.com
If it doesn't overclock... it's broken

Tags
record
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes