T-Mobile Galaxy S6 Battery Woes

I’ve been using a T-Mobile Galaxy S6 since the device launched with T-mobile’s … more

Earthquake Early Warning in Your Pocket

Probably all of us reading this have a smartphone in our pocket. For many of us, the … more

Sony: The OEM You Want To Save

In our recent Discuss article, we asked you readers on which OEM you would like to help. While the … more

How to Lock and Protect Your Apps – XDA Xposed Tuesday

The smartphone revolution has passed. Everybody has mobile apps. Some of … more

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

140 posts
Thanks Meter: 423
By antsm, Senior Member on 24th February 2011, 10:08 AM
Post Reply Subscribe to Thread Email Thread
[MOD] Phone.apk with automatic call recording

  • 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


    -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


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 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 09: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, 10:23 AM |#2  
ragin's Avatar
Senior Member
Flag Hubli
Thanks Meter: 154
This is seriously what a lot of people like me were looking for I guess. I am going to try it.
24th February 2011, 10:24 AM |#3  
miro666's Avatar
Senior Member
Flag Osijek
Thanks Meter: 41
Donate to Me
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...


24th February 2011, 10:46 AM |#4  
SirM2X's Avatar
St. Catharines
Thanks Meter: 6
Oh man! Awesome stuff! I was really in need of something like this :)
Thanx a million
Downloading now :P
24th February 2011, 11:55 AM |#5  
Flag Pune
Thanks Meter: 3

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

24th February 2011, 12:15 PM |#6  
Senior Member
Thanks Meter: 26
This and has bug. Fring audio and video chat will not have audio out.
24th February 2011, 12:42 PM |#7  
OP Senior Member
Flag Siberia
Thanks Meter: 423
Donate to Me
ronlkh, i know you worked in this way.
Can we cooperate to fix it?
24th February 2011, 12:56 PM |#8  
ragin's Avatar
Senior Member
Flag Hubli
Thanks Meter: 154
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 01:14 PM.
24th February 2011, 01:02 PM |#9  
yogeesharma's Avatar
Senior Member
Thanks Meter: 28
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, 01:13 PM |#10  
Senior Member
Thanks Meter: 26
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 and dont touch other 2files but the conversation recorded could be softer. I am currently testing the and 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.

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