yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] sinancetinkaya:
We made a small search, as you know SGS uses Wolfson WM8994 audio chip

My friend told me there is a source code for froyo

driver source&header http://code.google.com/p/bonsai/sou...inux-2.6.32.9/sound/soc/codecs/victory/?r=477

He will look into the source code and he will see what he can do for us.
[Galaxy S I9000 Android Development] Fuma:
now that is great news!

Sent from my GT-I9000
[Galaxy S I9000 Android Development] sinancetinkaya:
Don't expect anything. Like montymintypie, I also don't think it will solve our problem without libaudio.so.

Sorry, I'm not familiar with linux, I know a little C,C++ that's all.

I'm posting here what he says to get someone's attention, who knows.

Whenever we argue about linux, he always says nothing is impossible in linux :)

Well, we'll see :D
[Galaxy S I9000 Android Development] montymintypie:
Well, I wish your friend good luck :)
[Galaxy S I9000 Android Development] mindphaser2k9:
If we have all sources of Cyanogen Mod for i9000 (including src for libaudio.so), why it's so complex to make a call recording in CM7?
[Galaxy S I9000 Android Development] montymintypie:
CM7 devs won't because of legal issues. Simple as that.
[Galaxy S I9000 Android Development] mindphaser2k9:
I don't believe in such a simple explanation :-)

Do you mean nodody wants to make such a useful thing just because it's not legal in a few countries? Even if we want to pay money for that? There is no any single dev, even unofficially, even if not from CM team, right? Sounds not very convincing, huh?

Well, but where to download all those sources of CM7 for i9000, I mean including audio drivers etc? What if we'd review those if nobody else can't?
[Galaxy S I9000 Android Development] montymintypie:
http://wiki.cyanogenmod.com/wiki/Samsung_Galaxy_S:_Compile_CyanogenMod_(Linux)

I don't think anyone outside of cyanogen has enough knowledge/is willing to make call recording for CM7 devices. I know I don't :(
[Galaxy S I9000 Android Development] zenosteam:
cayano dev dont want to integrate callrec for stupid ethique reason's that why i have abandoned this rom and for other reason's well there only three choice until now ,waiting for a chinesse 2.3.5 rom with callrec or miui dev will perhaps make the difference or baying an sgs2

:)
[Galaxy S I9000 Android Development] mindphaser2k9:
montymintypie, thanks for an url.

There are no much hopes for chinese rom. And also I think we'd better look forward for AOSP-based ROMs because everyone wants to get Android ICS and it doesn't look so that sammy wants to make it for us :-) Thus, variant with MIUI looks more promising then chinese. But do you mean MIUI devs promised to make a callrec there? Do you have an url for the MIUI callrec discussion thread?
[Galaxy S I9000 Android Development] zenosteam:
no, i hope that miui dev will make the difference by integrate callrec in there rom's because I'm sure they will have plenty of additional users:)
[Galaxy S I9000 Android Development] sinancetinkaya:
Can somebody check this out? https://opensource.samsung.com/guest/listMyCommunity.do
[Galaxy S I9000 Android Development] sinancetinkaya:
Guys I don't know much about android. But when I was making roms for windows mobile, it was easy to port one device's OS to another one, of course if their hardwares are identical.

You have tried to use m110s's files but no luck. It sounds to me there must be some other files related.

Instead of editing .so arm binary files, trying to port whole rom shouldn't be a big deal.

Again I'm not an android expert, I might be wrong.

Edit: My friend biohazardious has been trying to port ICS to his SGS2 there http://xdaforums.com/showthread.php?t=1327600

So, our call recording project is dead :)
[Galaxy S I9000 Android Development] montymintypie:
Yep, it's a lot harder than you'd think, to do a proper port we'd need samsung sources. Not going to happen any time soon :( Thanks for trying your best with research though :)
[Galaxy S I9000 Android Development] Rausio:
Maybe we can try luck on ICS port:)
[Galaxy S I9000 Android Development] mindphaser2k9:
There is a first chinese GB ROM for i9008L (version I9008LKP3) and it does support call recording, but it's not compatible with i9000 CPU.

http://115.com/file/dngqjxu3

http://narod.ru/disk/31285381001/I9008LKP3.rar.html

I tried to get audio libs from it, of course the phone hangs, so I don't recommend to try it again.

But what I want to say, this firmware is from November 9 (3 days ago), thus we have a hope again for a new GB firmware for i9088, which is compatible with i9000.

Stay tuned!
[Galaxy S I9000 Android Development] keno_ro:
I will bump this thread every day or untill we will have call recording on GB/ICS
[Galaxy S I9000 Android Development] zenosteam:
+1 i am with you
[Galaxy S I9000 Android Development] titooo7:
The funny thing is that it's gingerbread 2.3.6. And we are still using 2.3.5
[Galaxy S I9000 Android Development] titooo7:
I just deodexed the files Phone.apl and Phone_Util.apk and placed them on system/app

I made a call and pressed the rec button so it starting to make the record, but when I tried to end the call the phone app gets frozen.

It also created the .amr files but for some reason the rom I'm using can't open .amr files.

Then I added the 3 lib files to system/lib, but the phone refuse to boot and stays on the sgs logo. Maybe we need another lib file, or maybe we just need one or two lib files...

Unfortunately I don't have time to do more tests now
[Galaxy S I9000 Android Development] mindphaser2k9:
As I described above, those lib files are not compatible with our CPU (s5pc110), they are for omap3. Moreover, I tried those libs and phone hangs (can't boot), so I didn't recommend to try it.

Nevertheless this is a great new because if they made a new ROM for i9008L with record, we have a hope they would make a new ROM with record for i9088, which has s5pc110 CPU, then we'll grab those libs from it :-)
[Galaxy S I9000 Android Development] titooo7:
I didn't know we had to wait for the one for i9088, I thought the files of i9008l would also work ;)
[Galaxy S I9000 Android Development] mindphaser2k9:
Well, this is my bad English.. I tried to tell that, sorry if my message was unclear.
[Galaxy S I9000 Android Development] titooo7:
don't worry, your explanation was clear. I simply didnt pay enough attention when I read your comment :o
[Galaxy S I9000 Android Development] killer_raj:
whnever this works out...i want it badly...

i love gb roms..but i degraded myself from gb to froyo again..for call recording.coz i use it alot..
[Galaxy S I9000 Android Development] kimocal:
I'm in the same situation. The call recording was severely missed as I use it while driving to record stuff to remember later. Recording calls is so easy and convenient. My new 64gb Microsdxc card not working in GB was the final thing that pushed me back to Froyo just this week. My GPS seems to work better in Froyo than in GB too. I haven't personally noticed any major drawbacks going back to Froyo yet.
[Galaxy S I9000 Android Development] dhiru1602:
Could someone upload the entire system folder of I9008? I am not on Linux.
[Galaxy S I9000 Android Development] mindphaser2k9:
You can use UltraISO to open/unpack system.rfs file, but what you can get from it?
[Galaxy S I9000 Android Development] lazsosz:
Total recall 1.8.9

Now it works on SGS 2.3!!!

Search on the market!!!

- NEW! Samsung Galaxy S (running OS 2.3 using recording strategy C)
[Galaxy S I9000 Android Development] jugster:
Could you please be a little more specific?
[Galaxy S I9000 Android Development] lazsosz:
In which field would I be more specific? On any 2.3 rom it works...
[Galaxy S I9000 Android Development] jugster:
What is the name of the app in market? What should I search for, that is what I want the specifics for. Searching for call recording galaxy gives me quite a few to choose between.

Thank you in advance!
[Galaxy S I9000 Android Development] lazsosz:
Please read the title of my first post first!!!
[Galaxy S I9000 Android Development] sergiCZ:
https://market.android.com/details?id=com.killermobile.totalrecall.market

use google next time..
[Galaxy S I9000 Android Development] zenosteam:
is the apk work only samsung rom's i have try it on miui it did not work any more
[Galaxy S I9000 Android Development] jugster:
Using google is probably the worst advice I have got when I first stated that I didn't know what to search for. Anyway, maybe you didn't read that.

Another thing is that XDA app which I'm using does not show titles, perhaps it is setting sonewhere. Looking at the XDA site I did figure it out though. Thanks.
[Galaxy S I9000 Android Development] Rausio:
I try this on JVT. Nothing new for me. As previous version - my voic is recording loud, but voice of person who calling me is very silent.
[Galaxy S I9000 Android Development] lazsosz:
I am on JVT (stock) too. But fortunately it works for me on both side.
[Galaxy S I9000 Android Development] sergiCZ:
just try copy "- NEW! Samsung Galaxy S (running OS 2.3 using recording strategy C)" into google, then press search, then you can read app name.

lazsosz, can you please post your settings? i used recording strategy C with yome other options checked and second person can't hear my voice.. if i play recording then, i can hear both sides clearly
[Galaxy S I9000 Android Development] mindphaser2k9:
I think you use a kernel with VoodooSound (as I do).
[Galaxy S I9000 Android Development] mindphaser2k9:
Did anybody try latest ICS Based Galnet MIUI?

They write in the changelog:
[Galaxy S I9000 Android Development] sinancetinkaya:
Nah, don't worry guys, I've ordered a SGS2. You'll get the call recording soon because nothing goes straight up while I'm waiting for it :D
[Galaxy S I9000 Android Development] mindphaser2k9:
Ok, I have tried Galnet MIUI 2.11.26 myself. It has a button for recording during a call, but this button is disabled (grey). So call recording doesn't work on that MIUI on my Captivate, a pity.
[Galaxy S I9000 Android Development] TorqueWrench001:
Ok so I paid the $7.96, installed, and it is no different than any other call recording app that I have tried with gingerbread, and I have tried many. The ones that work at all record my side of the conversation fine but the other side is only what is faintly picked up by the microphone. Unacceptable. I am running 2.3.5 KK4. So those that have this working, what am I doing wrong?

:confused::mad::confused:
[Galaxy S I9000 Android Development] camro:
recording from micro is an old trick, which was always working - but this is no real support (because it is not loud enough)

no software can record it, if the system does not support it !

this must be done via the correct libs, which are maybe supported by a new gingerbread rom from korean ROM's.

for now i haven'T seen any supported libs for gingerbread sgs :(
[Galaxy S I9000 Android Development] TorqueWrench001:
Yes Camro you are absolutely right, thanks for responding. I knew that too. Unfortunately I was gullible and let myself be snookered, by this post:

http://xdaforums.com/showpost.php?p=19722950&postcount=211

and this post

http://xdaforums.com/showpost.php?p=19725433&postcount=220

And the fact that the Killer Mobile/Total Recall web page and the listing in the Android Market does list:

"NEW! Samsung Galaxy S (running OS 2.3 using recording strategy C)"

Other phones listed that record through the mic are listed that way, so i somehow thought they had worked some magic, but alas it is not to be. Back to Froyo for me for now anyway.

Rant over for now.
[Galaxy S I9000 Android Development] sinancetinkaya:
You are right, those two post confused me too but I read this carefully

As I am usual unlucky person, I thought those "some devices" surely will be mine :D
[Galaxy S I9000 Android Development] Yuna:
Some people say that only the first call is being recorded fro the line, and the second tihrd etc. are from mic.
[Galaxy S I9000 Android Development] Fuma:
Any updates? little bump...

are there any new libs?

Sent from...
[Galaxy S I9000 Android Development] zenosteam:
I don't think ,there is no news
[Galaxy S I9000 Android Development] leperousdust:
I think things have stalled with this, gingerbread didn't make it very easy :(
[Galaxy S I9000 Android Development] mindphaser2k9:
I think we have to gather and ask Galnet or someone else who're working on MIUI to make a call recording feature. They are able to make it but don't want because of legal issues in UK. But there are a lot of users who live outside of UK :-)

The latest GalnetMIUI 2.11.26 was very impressive and I would be totally happy to have a call recording in it. But he wrote "Phone call recording (This is something that we won’t support due to legal issues within the UK, please don’t expect it)."

Here is a discussion Why Is Call Recording Not Working in the new ICS I9000 version?
[Galaxy S I9000 Android Development] mindphaser2k9:
Seems nobody wants to have this feature but me. Nobody else asked on Galnet forum to make it :(
[Galaxy S I9000 Android Development] Fuma:
we need it to be an optional package . that is not included in any official builds of cm or galnet miui and they dont want to make it...

Sent from my...
[Galaxy S I9000 Android Development] zenosteam:
What about cal rec in the Chinese forum of miui? perhaps they makes something ?
[Galaxy S I9000 Android Development] dhiru1602:
Could anyone deodex the framework.jar of the I9008 firmware and upload it?
[Galaxy S I9000 Android Development] sinancetinkaya:
That is bull****. This is the simplest excuse of saying "we don't know how to do it".

If they care about the legal issues in that much, fixing the library files only doesn't provide us recording calls, since we need a program for that.

Tell them to fix

the library files only

if they can do.

I have sgs2 now just because of that damn call recording. nobody can accuse samsung for call recording because I have to use a program to record conversations. This is my responsibility, not samsung's.
[Galaxy S I9000 Android Development] dhiru1602:
I have got the recording to work "PARTIALLY". The recording works, however its breaking up a lot. Seems like there is some problem with the bitrate.

It would be good if someone could deodex and upload the framework.jar from I9008 firwmare.
[Galaxy S I9000 Android Development] mindphaser2k9:
I definitely agree with you, legal issue is a bull**** but not a reason. But I don't lose a hope that if we all ask them, they at least would try.

---------- Post added at 02:07 PM ---------- Previous post was at 01:40 PM ----------

Here it is https://rapidshare.com/files/4278489877/framework.jar

Please re-download it, previous version was broken - sorry.
[Galaxy S I9000 Android Development] dhiru1602:
Thanks a ton! I have been using the Recording apps from Market and it seems like they are not able to pull data fast enough. I am getting RecordThread: buffer overflow errors.

Could you deodex Phone.apk too and upload it?
[Galaxy S I9000 Android Development] mindphaser2k9:
Phone.apk and Phone_Util.apk

https://rapidshare.com/files/3890460274/Phone_APK.zip

Btw here is auto-deodexer app which makes this.
[Galaxy S I9000 Android Development] Fuma:
little question, you want to lower what bitrate?

BTW very good news i hope this work. thank you.

Sent from my ...
[Galaxy S I9000 Android Development] dhiru1602:
Call Recording Libraries from I9008 Ported

DEVELOPER ONLY! NOTHING IS PERFECT AS OF NOW!

2 way recording works, however the output file is not proper. It's slow and breaks frequently.

Media Player playback won't work. It requires a small change in the Framework.jar which is not included.

No APKs are included. Install Call Recording applications from the Market.

Tested on XWJVX.
[Galaxy S I9000 Android Development] Fuma:
will try and report back.

Sent from my ...
[Galaxy S I9000 Android Development] mindphaser2k9:
Great!

Will it work on MIUI? I guess not, but to be sure.
[Galaxy S I9000 Android Development] dhiru1602:
Most probably not. They are a replacement to Samsung Libraries. MIUI is based on AOSP.
[Galaxy S I9000 Android Development] zenosteam:
if it not work on MIUI i will abandon it unfortunately
[Galaxy S I9000 Android Development] zhuchella:
Will U continue working on it ?
[Galaxy S I9000 Android Development] rico13:
exactly

embarrassing really
[Galaxy S I9000 Android Development] TorqueWrench001:
Hello Dhiru,

I have a Captivate running

[ROM][2.3.5][I897UCKK4] ■ Illuminance 3.0.1 ■ 11/28/11.

Flashed the zip you posted and the phone wont boot past the AT&T screen. Tried clearing cache and dalvik, no joy yet. Gonna try some different roms.

Thanks for working on this.
[Galaxy S I9000 Android Development] Fuma:
Didnt work for me,file was made but was empty. or if it did contain anything still couldnt hear it.

used a stock jvq rom and total recorder 1.9.0

went back to CM7.

is there a way you can make this compatible with aosp roms?

Sent from...
[Galaxy S I9000 Android Development] dhiru1602:
Anyone tested?
[Galaxy S I9000 Android Development] zenosteam:
tested on *jvx but it want work properly there a record but with crap sound i will try it on jvz now
[Galaxy S I9000 Android Development] dhiru1602:
That's not a crap sound. It is the actual recording. Listen carefully.
[Galaxy S I9000 Android Development] Yuna:
He said crap sound cos of quality of recording :)

Is there a chance to port for captivate rom?
[Galaxy S I9000 Android Development] zenosteam:
yes true it record the sound but i don't how to explain that i am so bad in english the sound is too slow
[Galaxy S I9000 Android Development] dhiru1602:
The call audio is getting routed correctly. However the recording is not proper. Hope we will come up with a fix.
[Galaxy S I9000 Android Development] Yuna:
What can cause this? Maybe phone go to sleep in call?
[Galaxy S I9000 Android Development] dhiru1602:
On the other hand, Sound recording works perfectly.
[Galaxy S I9000 Android Development] Yuna:
? Yoy made progress
[Galaxy S I9000 Android Development] zenosteam:
what do you mean by that did you make some changes ?
[Galaxy S I9000 Android Development] l2tp:
which program did you use? i tried killer software totall recall, it produces empty file used any strategy (A, B, C - the result is the same).

using i9000 running deodexed XXJVT.

edit: made call recording using file format .wav, any other types just produce 0-size file. the sound is completely distorted during all the call.
[Galaxy S I9000 Android Development] Siberian Tiger:
Thanks dhiru1602.Works perfect on JVT ODEXED.

I downloaded record my call.apk and mixzing.apk from market,

audio format wav,and really works.

If you have speaker off the audio of the other person is a little low but when speaker is on works like a charm :)
[Galaxy S I9000 Android Development] Fuma:
thats the normal way and is "one way recording". the focus is on 2 way recording, the mic and incoming audio channle. and not through speaker.

on jvq for me it didnt work. the file was empty or unplayable

Sent from my...
[Galaxy S I9000 Android Development] Siberian Tiger:
Im talking about 2 way recording is just that when your speaker is off the voice of the other speaker is not so loud :)
[Galaxy S I9000 Android Development] mindphaser2k9:
Record My Call can only record from a microphone, not from a line, see a description:

https://market.android.com/details?id=com.record.my.call
[Galaxy S I9000 Android Development] Yuna:
Lol

Can we use lone output for speaker to noise.cancelate speaker recording?
[Galaxy S I9000 Android Development] dhiru1602:
Looks like I am the only one bothered about the Call Recording.
[Galaxy S I9000 Android Development] Yuna:
Nope, just you are qulified to do it.
[Galaxy S I9000 Android Development] zenosteam:
This is true

Envoyé depuis mon GT-I9000 utilisant Tapatalk
[Galaxy S I9000 Android Development] dhiru1602:
As far as my observation goes, the call audio is getting routed to the system properly. Its just the encoding system that has some issues. It seems that the output file is too big and there are a lot of gaps in the recording.

Unfortunately, I can't find enough time for investigating what is wrong.
[Galaxy S I9000 Android Development] mindphaser2k9:
Seems nobody can make this but you. I'm wondering how you were able to migrate omap3 libs to our s5pc110, this looks like magic for me. Probably you can tell this in short, maybe someone will be able to help you then.
[Galaxy S I9000 Android Development] dhiru1602:
I have just ported the libraries related to Audio and RIL (Partially). CPU make doesn't matter because they are all based on the same architecture. So far, the Call audio is routed correctly, but there is some problem with the encoding. I have noticed that a 10 second recording gives a 1 minute output with a lot of gap between words. On close hearing, you will be able to figure out that its a call recording after all.

Encoding problem is evident since there are buffer overflow errors.

I have attached a Logcat. Let's see if anyone could point out anything wrong.
[Galaxy S I9000 Android Development] mindphaser2k9:
dhiru1602,

Ok, I was on MIUI but yesterday I've flashed Samsung firmwares to try your libs with call recording.

I've tried your libs with JVT and JVZ firmwares, yes, call recording works, both sides, but sound is defective, like it writes pauses after each sample or something like this. Log doesn't seem to show anything clear.

Btw how did you find all those 42 required libs? I've tried to found dependant (to libaudio*.so) libs using readelf and found 20 libs but the phone hangs if I replace those.

Also I've tried to replace Phone.apk with Chinese one, but it FCs with error, showing that it can't find resouce call_connect.wav (though it's there).

Last time I deodexed it incorrectly, here is correct version, it works but FC when tries to play call_connect.wav. Maybe someone will be able to fix it.
[Galaxy S I9000 Android Development] dhiru1602:
It's not a problem with the Phone APK. There is some problem with encoding the audio stream. Even with third party applications, there is the same recording issue. In Froyo it was working fine with third party applications too.

Have you noticed Record Buffer overflow errors in the logcat?
[Galaxy S I9000 Android Development] mindphaser2k9:
Sure, I've noticed buffer errors in logcat. And I've used Total Recall to try recording, because my Phone.apk doesn't work after FC. I just thought that maybe with Phone.apk recording could work, but I don't really believe in this (wanted to check to be sure).

Do you think need to replace more libs or what are those errors related to?

And can you tell, how did you find exactly those 42 libs you have attached, I mean what technique did you use for this?
[Galaxy S I9000 Android Development] dhiru1602:
I have used the Phone.apk from the Chinese ROM and the same is the case with call recording.

I have tried to find dependancies and copied over the libraries. I booted the device and looked up the logcat for issues. Based on the error I would copy over the required libraries. Its more or less like a Trial and Error.
[Galaxy S I9000 Android Development] mindphaser2k9:
Here is PhoneVoiceRecorder.java decompiled from Phone.apk. Maybe it will be helpful to figure out why it records incorrectly. For instance, it uses such parameters for recording:

PhoneVoiceRecorder.this.mRecorder.setAudioSource(4);
PhoneVoiceRecorder.this.mRecorder.setOutputFormat(3);
PhoneVoiceRecorder.this.mRecorder.setAudioEncoder(1);
PhoneVoiceRecorder.this.mRecorder.setAudioEncodingBitRate(12200);
PhoneVoiceRecorder.this.mRecorder.setAudioChannels(1);
PhoneVoiceRecorder.this.mRecorder.setAudioSamplingRate(8000);
[Galaxy S I9000 Android Development] dhiru1602:
Yeah. That is what I was thinking might be the issue, but I have checked with the stock Chinese Phone.apk and it doesn't work too.
[Galaxy S I9000 Android Development] mindphaser2k9:
dhiru1602,

Btw with your libs, hardware acceleration in video players doesn't work. Maybe the problem with recording is related to this.
[Galaxy S I9000 Android Development] dhiru1602:
I guess not. Our focus is on Call Recording. We could fix those issues later. I was planning to release a Call recording ROM.

Have you checked Sound recording? It works perfectly.