How to get in-call recording on i337 - AT&T Samsung Galaxy S 4 General

This is using Grgsiocl's modified SecPhone.apk. It allows you to record calls from your phone while also changing your old phone to the international version (Black-ish instead of the white of the US models). He provided a zip, which I was afraid of flashing since he wrote the code for the i9500 and not the US variants. Oh, by the way this is for Deodexed roms, so make sure you have one of those. That's kind of important. Also with that said, you need to be rooted, but if you're already Deodexed then I assume you're already rooted.
So here's what I did:
1) First download his zip file: http://www.mediafire.com/?13pezaa8reobrno
2) Then I opened up his zip and went hunting for the apk (it's in the Apps folder within the System folder)
3) Copy it to your phone or sd card. I keep all of mine in a folder labeled Roms where I put Roms and other flashable mods in. DO NOT RENAME IT. ***Remember where you put the file since you'll be using it shortly. Write it down if you have to.***
4) Once that is done put your sd card back into your phone if out or unplug your phone from your computer
5) Open a root explorer, there are a lot of options on the Play store. I use Rom Toolbox, others use ES File Explorer and what not.
6) In your root explorer of choice make sure you're in the root of your device and not in an internal or external memory area.
7) Locate the "System" folder and open it
8) Then navigate to "Apps"
9) Look for the app called "SecPhone.apk" (sometimes they'll leave out the ".apk" and just have the app name depending on what file explorer app you're using.
10) Copy that application (some require you to press and hold down on the app in order for the explorer to allow you to copy)
11) Copy that application to your internal or external memory card anywhere other than where you have the modified "SecPhone.apk" file so it doesn't override it. There, you just backed it up if the new APK doesn't work for you. You want to copy it and not move it since if you move a crucial system file it can create a rather annoying "error" loop. I've had it happen to me multiple times and the only way to fix it is usually reflashing a rom. Very annoying.
12) Now locate the modified "SecPhone.apk" and also get to where you can copy it.
13) Once you have it selected and ready to copy it you are going to copy it in the root\system\app folder and when prompted you will override the one that is currently there.
14) Once the modified APK is in place you'll need to reboot into recovery.
15) In recovery you will do three things: wipe Dalvik Cache, Fix Permissions and reboot your phone. If you don't do this the app won't work after 1 use, speaking from experience.
16) Once your phone is rebooted you can test out your new and modified SecPhone.apk app and have fun recording calls.
!!!!!!REMEMBER RECORDING CALLS ISN'T LEGAL IN ALL STATES AND IT IS PROPER ETIQUETTE TO LET THE OTHER PERSON KNOW THAT THE CALL MAY BE RECORDED. SO ANY NEGATIVE OUTCOME (LEGAL OR OTHERWISE) THAT YOU RECEIVE FROM THIS ISN'T MY FAULT NOR GRGSIOCL'S!!!!!!
It saves the calls to your internal memory in a folder called "Sounds".
-Enjoy
Many thanks to Grgsiocl and his work.
The original thread is: http://forum.xda-developers.com/showthread.php?t=2268146

I haven't tried this, but I suggest doing a nandroid before any of it or at least copy and rename the original "SecPhone.apk" with a .bak and keeping it another location incase it needs to be put back again.

I think I will try this but not for call recording but because I would like to have the dark theme phone dialer.

geoldr said:
I think I will try this but not for call recording but because I would like to have the dark theme phone dialer.
Click to expand...
Click to collapse
Dialer is still light. Call progress screen is dark. And I couldn't get it working on my i337 with a deodexed stock ROM. Starts recording but eventually crashes phone app. I think there's a lib file we also need for this to work right.

ookba said:
Dialer is still light. Call progress screen is dark. And I couldn't get it working on my i337 with a deodexed stock ROM. Starts recording but eventually crashes phone app. I think there's a lib file we also need for this to work right.
Click to expand...
Click to collapse
Oh okay thanks for letting me know.

or you can just do it the eazy way!
just flashed any international 9505 rom with call recording on your att gs4.

Which ROM do you recommend. Do you have to flash a kernel too?
Sent from my M470BSA using xda app-developers app

redstar299 said:
Which ROM do you recommend. Do you have to flash a kernel too?
Sent from my M470BSA using xda app-developers app
Click to expand...
Click to collapse
just flash the rom you like the most, but i usually stay away from rom that "remove this and remove that!".
it' like buying a Whopper, i dont want the lettuces and tomato removed for me! if i dont like lettuces or tomato, i can remove it myself!
yeah, i also flashed 9505 kernal.
phone recording on international rom is a hit or miss.. meaning it' like a car engine, sometime it starts and sometime it wont starts. or try to reboot your phone.

Related

[REQ] Media Files

hi.
i usually copy the audio folder that i have found (link is below) to /system/media everytime after i flash a ROM. i do this using android commander.
however, lately, there are many ROMs and i flash new ROMs quite frequently and im not always near my PC.
i dont know how to make flashable update.zip files to flash in recovery.
can someone please make one so that it wil copy the attached folder to /system/media?
thanks nd advance
here is the folder:
http://www.mediafire.com/?lnu7xqtinjh3v11
zidane said:
hi.
i usually copy the audio folder that i have found (link is below) to /system/media everytime after i flash a ROM. i do this using android commander.
however, lately, there are many ROMs and i flash new ROMs quite frequently and im not always near my PC.
i dont know how to make flashable update.zip files to flash in recovery.
can someone please make one so that it wil copy the attached folder to /system/media?
thanks nd advance
here is the folder:
http://www.mediafire.com/?lnu7xqtinjh3v11
Click to expand...
Click to collapse
Why not just put them on your sdcard in media folder? I think all roms read from there too as long as the paths are the same (minus the system folder)
Yeah, make the below folders on the sdcard either on the root, or within a folder called media:
notifications
ringtones
alarms
The phone will then present the contents of these when you are selecting one (eg/ the notifications contents will be visable when choosing a message alert).
i am familiar with the media folder on the root of the SD card, however, there are 2 reasons why i dont use it:
1. sometimes, the response is slow, so when someone calls, for a second or 2, the phone lights up with the contact calling but does not ring immediatly.
2. some files get duplicated.
thanks for your quick responses!
zidane said:
1. sometimes, the response is slow, so when someone calls, for a second or 2, the phone lights up with the contact calling but does not ring immediatly.
Click to expand...
Click to collapse
Strange, never noticed this happen to me. I've had it play a default ringtone while my sdcard was mounted, but never noticed any kind of delay otherwise.
zidane said:
2. some files get duplicated.
Click to expand...
Click to collapse
Good point. I have a similar audio collection on my sdcard but I manually removed the ones that appear in CyaogenMod so they wouldn't duplicate but that could be a pain if switching between roms.
Anyway, here is the update.zip you requested
Crap, just over the 8meg attachment limit even with maximum compression, so here ya go:
http://www.mediafire.com/?tsf9252plbggr8x
gIMpSTa said:
Crap, just over the 8meg attachment limit even with maximum compression, so here ya go:
http://www.mediafire.com/?tsf9252plbggr8x
Click to expand...
Click to collapse
haha i know! i went through that too!
and thanks so much for this!

[Tutorial] Change the internal ringtones of your rom

After you have read and follow this tutorial, you will be able to do the following:
*Remove ringtones, alarms, and notification tones that you don't use
*Add your own ringtones, alarms, and notification tones that you WILL use
**This is not the same as downloading and using a ringtone from the internet, or wherever. Those methods allow the phone to play the file from your memory card. With this method, we are physically removing or adding directly in the ROM itself.
**Make a backup! I am NOT responsible for ANYTHING that YOU do.
YOU HAVE BEEN WARNED. Now, Let's proceed.
Alright... So you wanna do this, here is what you will need:
*ADB Installed and working
*Root Manager of some sort (I use Android Commander)
*Format Factory - This is freeware, so it's not warez.
Step 1. Download and install Format Factory. This is the program I use for everything. If you have one of your own preference, it can be substituted.
IMPORTANT: When installing Format Factory, choose CUSTOM install, and uncheck the toolbar boxes. Otherwise, you are gonna get toolbars installed. You have been warned.
Step 2. Open Format Factory and click "All to OGG", located under the "Audio" tab on the left. (OGG is universal from Android to Android. That's why this is the chosen option. Also, the sound quality is not noticeably different, and uses less space than an MP3)
Step 3. Now a new screen appears. Click "Add File", and navigate to your audio files that you want as ringtones, alarm, etc. Once selected, click "OK"
DO NOT CHANGE THE OGG SETTINGS. DEFAULT SETTINGS WORK FINE
Step 4. Now you should be back at your main window, as if you just started the program. You should now see your selected files listed in the right window of the program. On the top bar, click "Start."
**Once the conversion process is finished, you may close the program. By default, your saved files will go to documents/FFOutput
Step 5. Open your Root Explorer program, I use Android Commander
**In Android Commander, the left window is your PC, the right is your phone
Step 6. With your Root Explorer program, navigate to your newly created OGG files. Once you see them listed, select them. In Android commander, to select a file, you must put a check mark in the box associated with that file.
Step 7. Move these newly selected files to your phone, by clicking the "Copy" button above the left window in Android Commander. In the right window, you will want to make sure that you are within your "/system/media/***" folder, to insure these files are copied to the correct location.
Step 8. Reboot and test.
Please note: "***" represents the respective folders. i.e. "ringtones", "notifications", etc.
If you want to remove audio files that you do not use, just select them, and click "Delete" from within their respective folders, using Android Commander.
**Once they are deleted, if you have no backup, they are gone!
I hope this has helped some of you, who wish to do this. If it has, please click THANKS.
Constructive criticism is always welcome. any questions, just ask.
I would suggest backing up the first first...
adb pull /system/media media-backup
You could replace steps 5-8 with this if you know how to use adb.
From cmd prompt:
adb remount /system
adb push drive:\path\to\folder-with-oggs /system/media/(ringtones/alarms/ui)
adb reboot
Can I just ask what's the advantage of doing this versus using a tone off of your SD card? Seems like a lot of extra work.
designgears said:
I would suggest backing up the first first...
adb pull /system/media media-backup
You could replace steps 5-8 with this if you know how to use adb.
From cmd prompt:
adb remount /system
adb push drive:\path\to\folder-with-oggs /system/media/(ringtones/alarms/ui)
adb reboot
Click to expand...
Click to collapse
Got that in the OP, to backup your stuff first. ..And thanks for the command prompt commands. I'll give those a shot.
harlenm said:
Can I just ask what's the advantage of doing this versus using a tone off of your SD card? Seems like a lot of extra work.
Click to expand...
Click to collapse
The advantage to doing this is nothing more than getting rid of extra stuff on your phone. Once the files are converted, you can put them aside somewhere and always have them.
This is with the understanding that you already have these ringtones on your memory card... This is a way to get them off your memory card, and on your phone. This in turn keeps your memory card clean.
I personally like this, because the only stuff that is on my phone is what I use, and nothing more. Even programs I don't use, get stripped from whatever ROM I am using.
FUNCTION > FORM
Ty for ya time there TribalartGod.
Works well....AND i have been trying to find something like this android commander.
So double thanks to ya
tribalartgod said:
Got that in the OP, to backup your stuff first. ..And thanks for the command prompt commands. I'll give those a shot.
The advantage to doing this is nothing more than getting rid of extra stuff on your phone. Once the files are converted, you can put them aside somewhere and always have them.
This is with the understanding that you already have these ringtones on your memory card... This is a way to get them off your memory card, and on your phone. This in turn keeps your memory card clean.
I personally like this, because the only stuff that is on my phone is what I use, and nothing more. Even programs I don't use, get stripped from whatever ROM I am using.
FUNCTION > FORM
Click to expand...
Click to collapse
android reads your sd card for media just like it does on the system partition.
if you wanna keep your sdcard clean of ringtones/alarms/notifications files
just make a folder on your sd card called media then create the other folders to mimic android's system partition.
so it would be
media/audio/alarms
media/audio/notifications
media/audio/ringtones
that way the media scanner has to do less searching
and if you have small system partitions like older phones this really helps to strip them out the rom and put them on the sd card.
Thx for the info. Works great for my wife's Samsung infuse. I rooted it but for some reason it wont let me set custom ringtones without loading a custom rom. So this method worked great to replace her ringtones on rooted stock rom. Unfortunately there really isn't a solid custom rom for the infuse with what I tested so far.
Sent from my Inspire 4G using xda premium
Great tut. Ill keep it in mind as I normally just use a zip that drops my ringtones into the proper folder and deletes the ones I don't use. Or use root explorer to delete them if there are new ones not in my list.
Extract ringtones
After reading this i thought i could be able to extract ringtones from any rom from the system/media/ringtones/ but unfortunately i couldnt find any of them there.Where else could they be?
vinayakmt said:
After reading this i thought i could be able to extract ringtones from any rom from the system/media/ringtones/ but unfortunately i couldnt find any of them there.Where else could they be?
Click to expand...
Click to collapse
I'm no longer on this device...but what Rom are you trying to pull them from? I can still help. Pm me if need be
LG-P769 - Needs MIUI
I've been wondering how to do this. Now I have only my sd tones as I deleted the ones I didn't like (all of them moslty). Thanks!
Nice!
Sent from my SGH-I997 using xda app-developers app

[Q] Issues with downloading things on SD and seeing them in recovery

I'm running into this issue and don't know what I'm doing wrong. When I download things they automatically go into my sdcard/download folder. I downloaded a theme for the Xoom and I verified it was on my SD card by going into Root Explorer and looking for it.
When I reboot into recovery and go to install the .zip the file doesn't who up at all. Also if my card is corrupted is there a way to wipe from the Xoom itself?
It needs to go in the external folder within your sdcard.
So I have to make a folder called external and move the things? Is there a way to have the browser through downloads to a particular folder instead of me having to do it manually? I prefer to browse XDA from the browser and I like to download things from XDA. I will try that now and see if that works. Thanks I'll post back if it works out for me.
Sent from my PC36100 using XDA App
It won't work
You can't just make a file called external. I assumed that you had installed one of BRD's custom kernel's. This is the only way you can use the external SDcard. I assumed since you had cwm recovery working that you had done this.
Start with this post.
http://forum.xda-developers.com/showthread.php?t=978013
You need to be updated to 3.1 to use the latest kernel.
I also don't know of away to (easily) change the download location with the stock browser. An aftermarket browser may let you change the download location.
Awesome. It worked when I moved it into the extracted folder. I was able to flash the theme.
I was wondering if there was a way to change download path by editing something in root explorer.. Most if not all the things I download are from XDA and are flashable.
ok, guess you got it working

How to Add Apps to a Phone?

Ok not sure if this is the right place or what but im a go ahead anyway, i was looking at some custom roms and i notice that some roms had the DownloadproviderUI.apk i tried pulling it and putting it on my phone but nothing i keep getting error messages that the file cant be something.(sorry)
the apk was running on the Triumph and i have a Triumph but its on a custom rom im running a Stock and it cam from a CM7 so is it possible to port the apk file to Stock and how if anything?
The stock rom should have a apk handler with it also, are you trying to download apps from browser and install them? If so just go to settings. Then application . Click unknown resources hit ok, best to have a file explorer to find downloads and install
Sent from my WX435 using xda app-developers app
henslo said:
The stock rom should have a apk handler with it also, are you trying to download apps from browser and install them? If so just go to settings. Then application . Click unknown resources hit ok, best to have a file explorer to find downloads and install
Sent from my WX435 using xda app-developers app
Click to expand...
Click to collapse
No really like that, I know how to do that im talking about if i wanted to take a app from the CM7 roms apk file then add it to my SD card and download it to my phone (i know ill still have to do what you said also) but when i do it says "problem parsing the package" but it comes from a triumph rom so how doo i get this to work on the stock roms?
Hmm, just needing the DownloadproviderUI.apk from cm7? Extract from zip then try pushing it to system/apps and fix permissions, then reboot . Should work
Sent from my WX435 using xda app-developers app
henslo said:
Hmm, just needing the DownloadproviderUI.apk from cm7? Extract from zip then try pushing it to system/apps and fix permissions, then reboot . Should work
Sent from my WX435 using xda app-developers app
Click to expand...
Click to collapse
That Would work but how do i get it to stick to a rom? like if i added it to the System/app folder then flashed the rom? I got the ICS Keyboard to work by adding the LIB files within the app its self to the Rom then flashed and that works but this app isn't the same.
What from are you going to flash? If its a cm7, it'll be there won't have to do that. If you want to add your apps before you flash decompile add recompile zip then flash
Sent from my WX435 using xda app-developers app
Google play store
---------- Post added at 09:20 PM ---------- Previous post was at 09:08 PM ----------
add them with android kitchen
There are a few things that are different with the APK's
if its just a plain old third party app APK, then putting it on the sd card and locating and installing with a file explorer of some sort should work fine
If its a system related app that must be in the system with permissions then theres 2 ways, sometimes one way doesnt work
a. simply open the rom's zip and add it to the system/app folder(sometimes after doing this you'll still need to navigate to the folder and hit install usually itll install itself)
b. the trickier one if a. doesnt work, have the apk on the sd, using a file explorer that will allow you to change permissions, change the system folder from read only to read/write move or copy the apk from the sd card to the system/apps folder, Install it, then switch the folder back to read only and reboot
also keep in mind that if your trying to bring an app from CM7 to Stock some probly just wont work, CM7 is gingerbread based while stock is froyo, gingerbread changed how things like texts, data, camera, and hdmi are read by the phone and how they function or where the files are so it may just not work
Tokens210 said:
There are a few things that are different with the APK's
if its just a plain old third party app APK, then putting it on the sd card and locating and installing with a file explorer of some sort should work fine
If its a system related app that must be in the system with permissions then theres 2 ways, sometimes one way doesnt work
a. simply open the rom's zip and add it to the system/app folder(sometimes after doing this you'll still need to navigate to the folder and hit install usually itll install itself)
b. the trickier one if a. doesnt work, have the apk on the sd, using a file explorer that will allow you to change permissions, change the system folder from read only to read/write move or copy the apk from the sd card to the system/apps folder, Install it, then switch the folder back to read only and reboot
also keep in mind that if your trying to bring an app from CM7 to Stock some probly just wont work, CM7 is gingerbread based while stock is froyo, gingerbread changed how things like texts, data, camera, and hdmi are read by the phone and how they function or where the files are so it may just not work
Click to expand...
Click to collapse
How do you get a .apk to execute(or even see it on a sd card in stock device? without market/file browser?
vizionforever said:
How do you get a .apk to execute(or even see it on a sd card in stock device? without market/file browser?
Click to expand...
Click to collapse
you cant, if it was a System apk then Sometimes, you can put it into the correct folder inside a custom roms Zip and itll install itself
otherwise you need to download some type of file manager so you can navigate thru the folders, then just clicking the apk should pop-up and install menu

[Q] Renaming apks - not holding new name?!

Hey guys,
I still rename my bloat, I know, you probably see this as lame, but maybe someone has the answer anyway.
In system/app, the Motorola Migrate apk (fswriter.apk) can be renamed using root and Root Explorer, but after a minute or so, or a reboot, the apk returns to the original name (I usually add .old to the end). Just about all of the other apks I rename in that folder retain .old in the name even after a reboot. The entire contents of system/vendor/app does this. I can rename the apks, refresh and see they are still renamed, and then a minute later, or a reboot later, they drop the .old or .delete extension.
For now, I disabled the ones that appear in the app drawer, but maybe someone who is curious enough knows the answer.
Thanks,
Jason
JaBr1884 said:
Hey guys,
I still rename my bloat, I know, you probably see this as lame, but maybe someone has the answer anyway.
In system/app, the Motorola Migrate apk (fswriter.apk) can be renamed using root and Root Explorer, but after a minute or so, or a reboot, the apk returns to the original name (I usually add .old to the end). Just about all of the other apks I rename in that folder retain .old in the name even after a reboot. The entire contents of system/vendor/app does this. I can rename the apks, refresh and see they are still renamed, and then a minute later, or a reboot later, they drop the .old or .delete extension.
For now, I disabled the ones that appear in the app drawer, but maybe someone who is curious enough knows the answer.
Thanks,
Jason
Click to expand...
Click to collapse
are you rebooting into R/W mode aka recovery mode? For this line of Droids, after rooting, in order for you remove or change anything within the system you need to reboot into "recovery" and i use the quotations is because in all androids in the past (at least the ones i have had) recovery is TWRP or CWM but with our phones recovery is the OS but the OS is R/W...so make sure you are rooted and then you can either use an app like Rom Toolbox for example, use the rebooter option within and in that menu select Reboot Recovery, it'll reboot into the OS but rewritable once you are booted that way you can add and remove system apps as well as make any name changes to the system files and whatnot...hope this helps
Holo reboot in play store works great for rebooting into recovery or just a normal reboot!
Sent from my XT1080 using xda app-developers app

Categories

Resources