5,599,842 Members 46,994 Now Online
XDA Developers Android and Mobile Development Forum

[MOD] Phone.apk with automatic call recording (v0.3)

Tip us?
 
antsm
Old
(Last edited by antsm; 16th March 2011 at 09:05 AM.) Reason: (+) DialerTabActivity now multiDPI-enabled (Extra package); Automatic Call Recording Control updated to v0.5
#1  
Senior Member - OP
Thanks Meter 413
Posts: 140
Join Date: Sep 2010
Location: Siberia

 
DONATE TO ME
Default [MOD] Phone.apk with automatic call recording (v0.3)

[MOD] Phone.apk with automatic call recording

Features:
  • Automatic call recording for incoming/outgoing calls
  • Added template system for flexible naming of records. No boring VoiceRecord001.amr anymore
  • Disabled stop recording on some actions related to multi-line calling (i.e Hold, Conference mode, etc)
  • Disabled stop recording when Dialer minimized to background
  • Switchable increasing ringtone

Modification consist of 2 packages:
  • Main package: Phone.apk with automatic call recording
  • Extra package: contains phone-related modifications (DialerTabActivity.apk at this moment)
nb: Main package still fully-workable without Extra package.

There are two ways to control the modification:
  • Using embedded "Settings" menu (included in Extra package)


  • Using standalone Automatic Call Recording Control app from Dark3n

    Quote:
    Features:
    -Turn call recording on/off for incoming/outgoing calls.
    -Change file naming pattern for recorded calls.
    -View .rec_template file
    -Optional Prompt to delete recording after Call
    -Turn increasing ring On/Off
Which way to prefer? You can try both and choose the best for you.
Again, if you are using themed FW and don't want to break your general style by using unthemed apps (e.g DialerTabActivity.apk), so just use a Main package together with an Automatic Call Recording Control app.


All records are save in /sdcard/Sounds/CallRecords/. You can use stock "Voice Recorder" app to playback.

System requirements: Tested on SGS GT-i9000 (XWJS3). Most likely should work on any 2.2.1 FW.
Probably will not work on 2.2 FW's.

[*] Flash using CWM or Recovery 2e.

During update process, script will backup your original files to /sdcard/tmp/
To roll it back, flash update_restore_[main_extra_pkgs] file

Quote:
History:
Version 0.3:
  • Now project consist of Main and Extra packages

  • Main (Phone.apk): Completely changed settings storing mechanism: all settings are saved in /sdcard/rec_settings.xml in XML format
    (no more .rec_template, .norec_in, .norec_out files)
  • Main (Phone.apk): Added "Disable increasing ringtone" option
  • Main (Phone.apk): Fixed bug with special characters in filename
  • Extra (DialerTabActivity.apk): Embedded "Settings" menu

  • Installer: "copy" routines moved from update.sh to native updater-script
    (should improve compatibility in some cases. Now *.sh using only for backup/restore procedure)
  • Updated restoring script
Version 0.2a:
  • Issue with filepath creation was finally solved.
Version 0.2:
  • Forced sdcard/Sounds/CallRecords/ creation (if you've got "Fail Recording" it should fix it)
  • Some works on BT-recording. Need more reports.
Version n/a: initial release
Thanks to: designgears, wes58 for files from Asian ROM which enable call recording.
The Following 72 Users Say Thank You to antsm For This Useful Post: [ Click to Expand ]
 
ragin
Old
#2  
ragin's Avatar
Senior Member
Thanks Meter 150
Posts: 1,724
Join Date: Dec 2007
Location: Hubli
This is seriously what a lot of people like me were looking for I guess. I am going to try it.
if you like what I say, there is always a THANKS button below.

Super Sexy
GALAXY Note
 
miro666
Old
#3  
miro666's Avatar
Senior Member
Thanks Meter 40
Posts: 912
Join Date: Jul 2007

 
DONATE TO ME
Quote:
Originally Posted by ragin View Post
This is seriously what a lot of people like me were looking for I guess. I am going to try it.
ragin, please feedback...

Thanks

Regards
Devices: SAMSUNG Galaxy S4 GT-i9505
 
SirM2X
Old
#4  
SirM2X's Avatar
Member
Thanks Meter 6
Posts: 86
Join Date: Dec 2010
Location: St. Catharines
Oh man! Awesome stuff! I was really in need of something like this :)
Thanx a million
Downloading now :P
 
zion12
Old
#5  
Member
Thanks Meter 3
Posts: 73
Join Date: Nov 2008
Location: Pune
Awesome...

Really interested in having some feedback on how this works & if its better than Total Recall Call Recorder.

Thanks...
 
ronlkh
Old
#6  
Senior Member
Thanks Meter 25
Posts: 191
Join Date: Nov 2003
This libaudio.so and libaudioflinger.so has bug. Fring audio and video chat will not have audio out.
 
antsm
Old
#7  
Senior Member - OP
Thanks Meter 413
Posts: 140
Join Date: Sep 2010
Location: Siberia

 
DONATE TO ME
ronlkh, i know you worked in this way.
Can we cooperate to fix it?
 
ragin
Old
(Last edited by ragin; 24th February 2011 at 01:14 PM.)
#8  
ragin's Avatar
Senior Member
Thanks Meter 150
Posts: 1,724
Join Date: Dec 2007
Location: Hubli
Confirmed working with Calls made & Calls received.

I have rated this thread with a 5-start that it deserves.
if you like what I say, there is always a THANKS button below.

Super Sexy
GALAXY Note
 
yogeesharma
Old
#9  
yogeesharma's Avatar
Senior Member
Thanks Meter 15
Posts: 324
Join Date: Jul 2008
Working perfectly on darky rom 9.3 beta 3

If possible, pl include some option to select whether to keep or not to keep recording after call

Sent from my GT-I9000 (Darky 9.3 beta) using XDA App
 
ronlkh
Old
#10  
Senior Member
Thanks Meter 25
Posts: 191
Join Date: Nov 2003
Quote:
Originally Posted by antsm View Post
ronlkh, i know you worked in this way.
Can we cooperate to fix it?
You can use just replace only the libaudiopolicy.so and dont touch other 2files but the conversation recorded could be softer. I am currently testing the libaudio.so and libaudioflinger.so from M110s but still the same. I dont know about coding development but if there is anything i can help I will be available. If I can find a better lib file I will update you.

I am more interested in the callback dialer. If you can code this dialer I will be very happy to help you in developing because I use callback service alot. I know how the procedure works.

cheers!

The Following User Says Thank You to ronlkh For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes