yashsingh1/xdaforums huggingface dataset:
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
Thanks, buddy! The Call-Record-Button-on-call-screen works great on the Canadian S4, stock, rooted, odex. It records loud & clear without using any volume boost mods, both on microphone as well as the loudspeaker. I've been successfully using CallRecorder with all my previous Samsung phones, but the current version having no support (yet) for the SGH-I337(M) is quite broken. This comes as a needed and useful addition to the plethora of all other optimizations I already have. :good:

On the other hand, I have noticed another post from somebody asking for a way to revert to the original state (should something go wrong). There are two ways of going back to the original state:

1. Before doing any changes, inspect/open up the zip you intend to flash (just so you'd know which files need backup). The "system" folder from within the flash-able zip preserves the same structure as the one in the phone. Now you know which files will be replaced, in other words you also know which files you'll need to backup. When choosing this method you should never forget to set the proper files permissions once the files have been restored - before rebooting.

2. Using the provided zip, make you own zip flash-able file - intended to restore your phone to the original state. Replace the modified (downloaded) files in the "system" folder for the original ones you previously backed up. Don't touch anything else within the zip. Also, if you're odexed, don't forget to include the original SecPhone.odex in the "system/app" folder in case you've previously deleted it.

EDITED Jul.15.2013: :(

During an INCOMING CALL, if the loudspeaker is used/activated BEFORE the the call recorder, then a recording for that conversation would no longer be possible - hitting the call recorder button will do nothing at all. As far as I'm concerned the only way to "reset" the call recorder and be able to record again, would be to (1) end the current conversation AND (2) toggle the screen On/Off. This issue seems to be occurring only for incoming calls - following the same testing steps for outgoing calls shows no negative impact on call recording. I have tested it with screen lock set On and then Off and also answered the incoming-test-calls while the screen was locked, and then unlocked and the issue was always the same for all 4 scenarios. I'll update this note if I'll find a work around. Please post updates/comments about this particular behavior.
[AT&T Samsung Galaxy S 4 Themes and Apps] scott14719:
Great advice, plus their is a "revert back to stock" zip available on the main thread listed in the OP. It obviously isn't the same APK that was replaced on your phone, but it should look and work the same.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
OP updated with Revert To Stock Zip
[AT&T Samsung Galaxy S 4 Themes and Apps] optimummind:
Happy to report that the Call Recorder mod (menu button option) works beautifully on my Sprint GS4! (Stock, odex, rooted MF9). Other mods running at the same time are the v7.11.13 ktoonsez kernel, Xposed framework + Tweakbox + Nottach, and Viper4Android v2.2.1.0. Thank you so much!
[AT&T Samsung Galaxy S 4 Themes and Apps] ghostlegion7:
Working with Kuban just fine with odex in menu button but ill see if the other option might work.

Ok just tried both odex zips and both are confirmed working with kuban rom. TY so much for your work!
[AT&T Samsung Galaxy S 4 Themes and Apps] ChristopherXDA:
Anybody with S4 Active get this to work successfully? If so please post method. How about any on a stock S4 with root?
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
Have you tried testing for incoming calls/loudspeaker as I have mentioned here, down the bottom - the edited section? Do you experience the same issues? I'm also on stock, odex, rooted.
[AT&T Samsung Galaxy S 4 Themes and Apps] ChristopherXDA:
I tried out the revert to stock and that APK also caused crashes on my S4 Active (AT&T) after making one successful phone call. Anybody have thoughts on what the differences between the S4 and S4 Active APK could be?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Updated Zips

Updated All Flashable Zips (Cleaned Code;Worked on Distortion in uplink voice)

Hopefully This will help also I have found if you turn on noise reduction in the call settings this greatly helps on the uplink voice
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
Well, thanks for the update but the issue previously described (not being able to use the recorder if the loudspeaker was previously activated) is still there. :(
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
I have no problem at all with the loud speaker. I can have the loud speaker on in an incoming call press the record button and all works good and vice versa i can press the record button first on incoming call then loud speaker and it still works fine. Are you using any volume or sound mods or xposed framework of any kind this is all that I can think that might be causing the problems you describe. Have you cleared the phone data in settings/applications?
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
Thanks for your suggestions. Unfortunately the native recorder still doesn't work for me, no matter what I did, however, by playing around with various settings/files/code I found a way to make the Call Recorder work (using some of your files). I made a new thread here. Thanks!!
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Yes Call Recorder works really well if you flash one of the volume mod zips with recording. I should post this in the OP as an alternative if your having problems. I would still like to know what's causing yours not to work. Im just curious have you tried to download the Verizon zip and try it on your phone it wont hurt anything and let me know if that makes a difference. You can always flash back the proper zip.Use the Zip for Odexed or Deodexed roms with full apk. Let me know if that works any better.
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
I really appreciate your support. This really drives me crazy!!! I have tried the Verizon zip but it makes no difference. If I keep the original files in "system/etc/snd_soc_msm", then no recorder works (none will even start recording). If I replace the files for the ones in the zip, at least I have the ability to play around with various call recorders however, the Call Recorder (from Play) will only work with Voice uplink + downlink - no other audio source source works both ways, plus the latest version updated today keeps on crashing. As far as the native Call Recorder is concerned, 99% of the time it just won't start on incoming calls - hitting the record button will simply do nothing. On the other hand it has never failed recording outgoing calls.

I do have some XPosed Framework modules installed and because of all this I have completely uninstalled the "No Increasing Ringtone" module, however nothing has changed. None of the currently installed modules is still related to SecPhone.apk or sound. I did wipe the Cache/Data of the SecPhone.apk, I also wiped the Dalvik/Cache after flashing zip files from recovery and since I'm odex, the original SecPhone.odex was preserved at the same original location with ".bak" in the end. I have no idea what causes the native recorder to work on incoming calls but I got to a point where I'm pretty fed up and it seems I have exhausted all options. Well...:eek:, anyway, thanks again for your help.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Did you have the xposed no increasing ringtone installed before the record zip was apllied or after. I know you uninstalled this but I think I know whats causing it now
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
Yes, it was still installed when I flashed the zip. I have now completely uninstalled it but, again, it doesn't seem to make any difference. So what do you thing it's causing this?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Well its an issue with odex roms the only way your going to get this to work is wipe reflash rom then flash my record mod then use your xposed framework mod after the record mod zip is installed. Sorry but thats the only way. I suggest if you go this route to try the recording before you install the xposed framework but it should be ok.
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
So, are you saying that (for odex roms) there is an issue with the Xposed Framework itself - in the sense that regardless of the installed modules, the Xposed framework itself is to be installed AFTER the native Call Recorder?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
No there is no issue with xposed framework just the no increasing ring mod. Just don't enable the no increasing mod until after you apply record zip.
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
Hmm, that's really strange. Then, should I understand that your SecPhone.apk doesn't have the increasing ring mod built in? I'm asking because even after I have completely uninstalled (not just disabled & rebooted) the increasing ring mod, the phone would still be ringing loud from the first ring (no original transitional increase) - as if the mod would be enabled. Only if I'd put back the original SecPhone.apk and reboot, then the transitional increase would be restored.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Because when you disable the module its only doing it to the original apk that was there when you first enabled it your apk had an odes file with it mine doesn't. So since it was enabled when you installed mine every time you put it back your odex file is not there. I don't know what else to tell you. Either redo or live with
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
S4 Active Native Call Recording Enabled Test

S4 Active people I need some one to test this for me This is an attempt to get call recorded enabled for the S4 Active Phone.

Here is my post on the S4 section http://xdaforums.com/showpost.php?p=43793564&postcount=1154
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Added S4 Active Enable Call Recording Test Zip To OP

Added S4 native call recording test zip to the OP.
[AT&T Samsung Galaxy S 4 Themes and Apps] nacos:
I ended up modifying the

original

2 files from "system/etc/snd_soc_msm" rather than using the 2008 AOSP version. The native call recorder still doesn't work for incoming calls (same reason...but I quit fighting that fight) however Alex's Call Recorder (and pretty much every other call recorder from the Play store) now works like a charm.

Feel free to use my modified files, see how it works - I have optimized them in the sense that I have lowered the recording audio levels without having to alter/increase the (loud)speaker audio levels - to a point where I could get the loudest output to the loudspeaker (or headphones) without any distortions to the recorded audio. I have tested it extensively and it seems to be working fine with MP3, 3GGP, AAC, WAV.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
I sent skvalex a PM about 3 weeks ago letting him know that my modified sound files made his call recording app work on the Verizon S4. He thank me but he still doesnt offer this as an alternative to make his app work on US variants of the S4. So all we can do is spread the word I like your thread you started about this Now I can direct people there for their call recorder app questions I get alot of people asking over my threads in the other carries sections. Hey if you get a chance PM about the changes you made to the snd_soc_msm files.
[AT&T Samsung Galaxy S 4 Themes and Apps] ChristopherXDA:
JRKruse- you da man! Works like a charm now on my S4Active! I tried crashing the app a few times and it works just like the original- recording works great on speaker phone, regular mic, incoming and outgoing. Thank you!

PS- so what did you have to tweak? Why do you think it's different on the Active?
[AT&T Samsung Galaxy S 4 Themes and Apps] jgruberman:
I'm also getting a "Unfortunately Contact has stopped" message.

I'm running Goldeneye 3.0, with KT's kernel, on 4.2.2. I'd love to keep this, but I also need to Edit/Add Contacts.... any help? Thanks in advance!
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Goldeneye is XXUBMGA base did you download one of my call recording zips or the OPs call recording addon. You need to use his mine will not work on newer international base roms
[AT&T Samsung Galaxy S 4 Themes and Apps] jgruberman:
That's weird. His didn't work properly, whereas when I installed yours, the call recording worked... just got that Contacts FC error.

Regardless, best thing to do would be flash your revert to stock, then flash his call rec mod?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
If his didnt force close and just didnt record then flash his and then flash one of my sound mods they contain the necessary files to make recorder work
[AT&T Samsung Galaxy S 4 Themes and Apps] dawgsoverrebs:
So I'm dumb apparently but where are the recorded calls stored? I looked all over and I'm going to have to knock myself back to a noob apparently.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
internal phone storage under sounds: /sdcard/sounds or might look like this cant remember /storage/sdcard0/sounds you can use the voice recorder app to play them and it will list them also.
[AT&T Samsung Galaxy S 4 Themes and Apps] HKP7:
Great mod and it works perfectly on my sprint s4 with stock MF9 rooted rom and kernel. The only problem is it kills my wifi for some reason and I don't see anything in it that should do that. Any thoughts?
[AT&T Samsung Galaxy S 4 Themes and Apps] dawgsoverrebs:
There we go, thanks.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
S4 Active Speaker Phone Fix Using Call Recording

S4 Active users having speaker phone issues after applying the call record mod use this fix S4 Active Speaker Phone Fix

I updated the Op with Speaker Phone Fix for S4. Thanks goes out to ChristopherXDA for helping me with this and testing it for me.
[AT&T Samsung Galaxy S 4 Themes and Apps] sk8trix:
Would this cause any issues with MF3 deodexed rooted rom (MDOB) with KT kernel?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
UCUAMF3 Build Call Record Zip

Added UCUAMF3 Build Zips To OP
[AT&T Samsung Galaxy S 4 Themes and Apps] Edmlaser:
Worked on deodexed MF3!!

But, it brought back the assending ringtone. Is there anyway to fix that?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
I will check that out.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Added XXUBMGA Base SecPhone Call Mod Zips (For International Base Roms Only) To OP
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Here is the Dark Dialer I was asked to add Call Record.
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
Android Version 4.2.2

L337MVLUAMG1

Stock, rooted.

https://www.dropbox.com/s/2qqtxqt5x3zebmn/SecPhone.apk

file pulled on July 31

you may have this already, but if not, here it is, hope it helps
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Thanks check back soon I will have one for you guys
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
thanks!

if there is anything that i can do to help, i'll be glad to (and i'm sure many others in this community would be too)
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Make more hours in a day! No on second thought scratch that idea!
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
more hours sounds like a good idea....i can take an extra nap during the day without losing any work-hours
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
I cant seem to find anything on your base build so could you help me out? I need the SecPhone.apk and the SecPhone.odex unless someone has a deodexed SecPhone.apk L337MVLUAMG1. If know one has a deodexed SecPhone.apk then could you get me your system/framework folder and your system/etc/snd_soc_msm folder I need these to Deodex your SecPhone.apk and mod your sound files for recording
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
http://db.tt/5NTv1RMb

The .odex file is with the apk in the secphone zip, and the folders are in their respective zips in the unroot.zip
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
I'll get on it.
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
Great! And if you need anything else, I'll be happy to help
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Give this a try l337M_VLUAMG1_CALL_REC_BUTTON.zip
[AT&T Samsung Galaxy S 4 Themes and Apps] Devo7v:
I'm using this on the Active with the dark dialer, however the in-call screen is still white. Is there any way you can post a package for the Active that includes both the dark dialer and the dark in-call screen. Thanks for your work on this, it works great.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
I need a little more info? What zip did you use?
[AT&T Samsung Galaxy S 4 Themes and Apps] Devo7v:
I used S4_Active_Call_Record.zip and flashed it using Flash Gordon.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Then how do you have the dark dialer
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
For Canadian Carriers: Added l337M_VLUAMG1 Record enabled zip to OP
[AT&T Samsung Galaxy S 4 Themes and Apps] Devo7v:
That's my fault, I forgot I had a the dark dialer found here. Before I flashed the call recording zip the in-call screen was dark as well, but afterwards it is not, I was just hoping you could post a package that was white and one that was dark. If it's too much work, don't worry about it.
[AT&T Samsung Galaxy S 4 Themes and Apps] benjimatt:
flash didnt work

flash gordon didnt work for my gs4 active.

I just did it al manually and it worked after the reboot, speakerphone recordings sucked and then i applied the patch and now everything is great.

thanks for everything
[AT&T Samsung Galaxy S 4 Themes and Apps] stephend9:
I'd like to install the version for the call screen on my rooted (MF3) S4. I've looked through the zip file and from what I can tell I just need to replace SecPhone.apk in /system/app and then replace the 2 files in /system/etc/snd_soc_msm and set permissions to match the old files.

Will this work or am I missing something? Has anyone else successfully installed this manually insead of flashing the zip from recovery?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
You are correct.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Here try this: Dark Dialer And Contacts. Do not flash this with Flash Gordon You Will Brick Your Phone!! Extract the zip and copy the 2 files in the system/app folder to the system/app folder on your phone. This should have call recording on the dark dialer. I can not test this though because I dont have an S4 Active so no guarantee it will work
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
sorry for the late response (i was gone for a few days) i used root explorer to place the files on my phone (because i wasn't sure how else to do it) but it didn't seem to do anything, making and receiving calls don't allow me to record anything. i don't see a button or a menu item or anything.

whats the proper way to 'extract' this to my phone?
[AT&T Samsung Galaxy S 4 Themes and Apps] frogstalon:
Works on I337 Telcel

I used the ATT_Odex_Deodex_SecPhone.apk flashable zip version of the UCUAMDL firmware, and works perfect on stock firmware from the I337 Telcel, thank you for your great work, would be perfect if you add the automatic recording.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Did you delete or rename the SecPhone.odex file if it has one
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
No, I only put the files where they needed to go with root explorer (using the root of the zip as a guideline for the root of my phone, the folders in the zip as folders on the root of my phone ...etc.... overwriting anything there)
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
You need to delete or rename the SecPhone.odex file in the system/app folder where you copied the SecPhone.apk file
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
I just did that and will report back later on how it works.

Cheers

Edit: still doesn't work.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Did you try adding the files again then reboot
[AT&T Samsung Galaxy S 4 Themes and Apps] dillonr:
this seemed to work.

Thanks!
[AT&T Samsung Galaxy S 4 Themes and Apps] Devo7v:
Sorry for taking so long to get back to you, but I just want to say thank you, this works perfectly on the S4 Active. I appreciate your hard work, you should put this zip file in the OP for others.
[AT&T Samsung Galaxy S 4 Themes and Apps] TheWhiteChallenger:
google play edition rom

Would it be possible for you to do this for the aosp dialer on that. I love this ROM but I need call recording badly and skvalexs call recorded is what I was using on my old phone. So if you could hook me up with this for the gpe rom I couldnt put into words how much I'd appreciate it. And I'm sure it would help a lot of others out as well.
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
If you want to use Call Recorder By Skvalex just flash this first stock volume mode then reboot then flash Call Recorder By Skvalex and It should work fine
[AT&T Samsung Galaxy S 4 Themes and Apps] TheWhiteChallenger:
i dont have a flashable zip of call recorder would a regular install from the market work after the flash? and do you know, would i use the s4 gt9500 setting or other?

thanks a bunch
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
Yes that would work just as long as you install call recorder after you install the volume mod it will automatically configure it to work right it will probably say other in the devices but it will work.
[AT&T Samsung Galaxy S 4 Themes and Apps] TheWhiteChallenger:
awsome, i just flashed it gonna test it now, so if this is a volume boosting mod were not talking about speaker phone recording are we? and it says it makes volume very loud, should i be using lower volume after this?

---------- Post added at 11:59 PM ---------- Previous post was at 11:39 PM ----------

ok so it a huge improvment over nothing but it skips fairly badly in the first few senconds of the call, im using verizons #tec test call since its late ill try a real world recording to morrow and see if it just dose it at the begining of if its reoccuring, but again thanks this is a huge step in the the right direction
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
All modes of recording will work even bluetooth recording. You can use my stock volume mod it still has call recording enabled and it works the best if you want the volume boost you can use them but you might get a little crackling in the recording once in awhile.
[AT&T Samsung Galaxy S 4 Themes and Apps] TheWhiteChallenger:
OK cool I'll do some testing and see how it goes thanks again.
[AT&T Samsung Galaxy S 4 Themes and Apps] TheWhiteChallenger:
kinda off topic

iknow this is an s4 discussion but the s4 wasnt kind to me...

since this worked on the s4 gpe rom any reason to think it would work on the gpe htc one, or are these files samsung specific?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
I dont think it would.
[AT&T Samsung Galaxy S 4 Themes and Apps] billinaz:
I tried that on my AMDL build (using the ATT_UCUAMDL_Dark_Dialer_Button.zip)

I renamed the old secphone.apk and secphone.odex and placed the ones from the zip file in there, the theme is now dark.

I also renamed the snd_soc_msm files and replaced them with the one from the zip.

I dont get any call recording button in my dialer.

Am I missing a file?
[AT&T Samsung Galaxy S 4 Themes and Apps] Venom0642:
You need to make call then while making the call when it's picked up hit the menu key on your cell phone menu will popup to record!:good:
[AT&T Samsung Galaxy S 4 Themes and Apps] billinaz:
I tried that, no record option.

Do I need to do something else to get the record button to show?
[AT&T Samsung Galaxy S 4 Themes and Apps] jrkruse:
The Dark Dialer needs to be flashed with a custom recovery. I didnt create this dialer so i just made a zip that would make call recording work on it but it has to be flashed you cant use a file manager and just place the files in the right folder sorry but since I didnt make the Dialer and Contact apks Im not going to mess with the original apks and make the original creator mad.