Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP antsm

24th February 2011, 11:08 AM   |  #1  
OP Senior Member
Flag Siberia
Thanks Meter: 417
 
140 posts
Join Date:Joined: Sep 2010
Donate to Me
[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.
Last edited by antsm; 16th March 2011 at 10:05 AM. Reason: (+) DialerTabActivity now multiDPI-enabled (Extra package); Automatic Call Recording Control updated to v0.5
The Following 72 Users Say Thank You to antsm For This Useful Post: [ View ]
24th February 2011, 11:23 AM   |  #2  
ragin's Avatar
Senior Member
Flag Hubli
Thanks Meter: 153
 
1,724 posts
Join Date:Joined: Dec 2007
More
This is seriously what a lot of people like me were looking for I guess. I am going to try it.
24th February 2011, 11:24 AM   |  #3  
miro666's Avatar
Senior Member
Thanks Meter: 41
 
919 posts
Join Date:Joined: Jul 2007
Donate to Me
More
Quote:
Originally Posted by ragin

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
24th February 2011, 11:46 AM   |  #4  
SirM2X's Avatar
Member
St. Catharines
Thanks Meter: 6
 
89 posts
Join Date:Joined: Dec 2010
More
Oh man! Awesome stuff! I was really in need of something like this :)
Thanx a million
Downloading now :P
24th February 2011, 12:55 PM   |  #5  
Member
Flag Pune
Thanks Meter: 3
 
73 posts
Join Date:Joined: Nov 2008
More
Awesome...

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

Thanks...
24th February 2011, 01:15 PM   |  #6  
Senior Member
Thanks Meter: 26
 
191 posts
Join Date:Joined: Nov 2003
This libaudio.so and libaudioflinger.so has bug. Fring audio and video chat will not have audio out.
24th February 2011, 01:42 PM   |  #7  
OP Senior Member
Flag Siberia
Thanks Meter: 417
 
140 posts
Join Date:Joined: Sep 2010
Donate to Me
ronlkh, i know you worked in this way.
Can we cooperate to fix it?
24th February 2011, 01:56 PM   |  #8  
ragin's Avatar
Senior Member
Flag Hubli
Thanks Meter: 153
 
1,724 posts
Join Date:Joined: Dec 2007
More
Confirmed working with Calls made & Calls received.

I have rated this thread with a 5-start that it deserves.
Last edited by ragin; 24th February 2011 at 02:14 PM.
24th February 2011, 02:02 PM   |  #9  
yogeesharma's Avatar
Senior Member
Thanks Meter: 16
 
326 posts
Join Date:Joined: Jul 2008
More
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
24th February 2011, 02:13 PM   |  #10  
Senior Member
Thanks Meter: 26
 
191 posts
Join Date:Joined: Nov 2003
Quote:
Originally Posted by antsm

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: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes