yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Android Development] dhiru1602:
Did you try using the latest version of baksmali? Also what is the command that you are using?
[Galaxy S I9000 Android Development] montymintypie:
Yeaaaaah, I was using an older version, which funnily enough, wasn't gingerbread compatible...

I'm still getting errors now, but they're BOOTCLASSPATH related ones ( Could not find superclass Ljunit/framework/TestCase;), just have to find the jar that relates to that now.
[Galaxy S I9000 Android Development] dhiru1602:
Good luck on deodexing. Waiting desperately for the files.
[Galaxy S I9000 Android Development] montymintypie:
Finally got the little bugger.
[Galaxy S I9000 Android Development] dhiru1602:
Thanks! Back to work now! ;)
[Galaxy S I9000 Android Development] zenosteam:
how to intall it ?
[Galaxy S I9000 Android Development] zenosteam:
i try to intall it but i have a bootloop ? is it worked for someoine?
[Galaxy S I9000 Android Development] Vorbeth:
Learn to read, IT DOES NOT WORK.

Its on the OP, if you just flash things without reading your sgs will soon be a paper weight

Sent from my phone using my Thumbs!
[Galaxy S I9000 Android Development] jeebspawnshop:
I check this thread every day to see your progress, fellas.

Thanks for looking in to this, and best of luck!

(I loooove call recording cuz I tend to require proof of things that friends and business clients said on the phone. Everyone is a liar... ;))
[Galaxy S I9000 Android Development] zenosteam:
well you are right i wait along time for of call recording ,do you think that dove lopper are able to make this option in gingerbread or we must wait for an Asian mod or rom including this option ?
[Galaxy S I9000 Android Development] dhiru1602:
Just an update!

Got the APK's to work with our Gingerbread ROM. The phone dialer seems to work perfectly and doesn't Force Close.

However, as expected, the actual call recording feature is not yet working.

@montymintypie

Can you please deodex and upload the Voice Recorder App from the ROM? I have to check some internal JNI calls to audio functions. :D
[Galaxy S I9000 Android Development] jeebspawnshop:
Yeeeeaaaa! Great work dude ;) Getting close now.
[Galaxy S I9000 Android Development] zenosteam:
what does it mean it work for you ? or you develop it ? can help you with something ?
[Galaxy S I9000 Android Development] dhiru1602:
Its a Work in Progress dude. Read the First post.
[Galaxy S I9000 Android Development] orenzah:
Yeah!

I love you guys!

if someone need my help with testing and other things i'm here
[Galaxy S I9000 Android Development] zenosteam:
i am ready to be a beta tester if it possible
[Galaxy S I9000 Android Development] montymintypie:
Wow! I'd love to know how you managed that (not step by step, of course, just a synopsis :p)

Here's the APK:
[Galaxy S I9000 Android Development] dhiru1602:
Aaah. Thanks for the Voice Recorder app. Was able to figure out how the recording was taking place.

Made the required changes to the Phone.apk. Recording works fine now. Fixing few bugs before releasing.

Its currently Manual at the moment. After we test it for stability, we can work on automatic recording mod. :)
[Galaxy S I9000 Android Development] matsuru:
wow! This is a breakthru! Cant wait for the bug free call record function! :)
[Galaxy S I9000 Android Development] dhiru1602:
Just out of curiosity, does the Korean version have 2 way recording or only 1 way recording? It seems like the opposite party voice is being picked by the microphone instead and its causing distortion.
[Galaxy S I9000 Android Development] montymintypie:
It's proper 2 way recording, and shouldn't be recording the opposite party from the microphone. I think this is what the custom .so files from the i9088 were required for in Froyo recording, as just replacing the .so files (in Froyo) will make standard call recording apps work properly in 2 way as well (proper = no mic needed for other party)
[Galaxy S I9000 Android Development] dhiru1602:
Looks like the Gingerbread recording is different from the Froyo recording. I had to use the Voice Recorder App from Korean ROM that you have uploaded to make the record option actually work. It is only when I replace the file, I am able to get a recording saved in my SD Card. Since the Voice Recorder app seems to be responsible for call recording, I have no clue why its picking the sound off the microphone instead.
[Galaxy S I9000 Android Development] dhiru1602:
Sorry for the double post.

Seems like the Library (.so) files from the Gingerbread release doesn't contain the Call Recording code. I have managed to use the .so files from the Korean GB rom on my I9000. The device boots, but however the call is still being recorded off the microphone.

There should be something that I am missing.
[Galaxy S I9000 Android Development] montymintypie:
Wait, how did you get it to boot? Upon replacing the .so files on mine it boot loops... And when I have time I'll look further into the whole 'one way recording' issue... see if I can find solid evidence that this is 2 way.
[Galaxy S I9000 Android Development] dhiru1602:
Edited some .so files and also edited the JNI calls in the framework to boot properly. Did a lot of Trial and Error. I can confirm that all the 3 files that were on the Froyo version are there on the GB one which are ripped from the Korean Firmware. However, there is no proper 2 way recording.
[Galaxy S I9000 Android Development] montymintypie:
I can't remember where exactly, but I think I remember reading somewhere that the Korean version having a different modem... is there a possibility that it won't record because it's looking at the wrong (and nonexistent) device? It's a long shot, but maybe see if the froyo version has differing hardware calls? (If that's even possible to determine)
[Galaxy S I9000 Android Development] dhiru1602:
Summary of my points.

1. The Voice recording in GB Korean Galaxy S is based on the Voice Recorder App. It requires Voice Recorder App from the Korean ROM to work properly. (Toggle between Record and Stop)

2. The Library files doesn't seem to have the code related to call recording, when compared to Froyo.

3.

The Froyo call Recorder uses the AudioSource '4' whereas the Gingerbread Call recorder (phone.apk) uses AudioSource '1' (Microphone). Tried changing it to 4 and it doesn't work.

Since all of the files and libraries are directly ripped off from the Korean ROM, I highly speculate the capability of the ROM in terms of call recording.

Also, the Froyo Call Recording port was made from I9088 which is a Chinese version. I guess this is the real call recording version that supports 2 way recording.

http://xdaforums.com/showthread.php?p=14477138&posted=1#post14477138

Made a post in the Korean Anycall Galaxy S Section. Lets see if anyone posts anything about 2 way recording. If they indeed have that feature working flawlessly, we can proceed with our work. If not, we have no other choice than abandoning our attempts and wait for I9088 to get GB.
[Galaxy S I9000 Android Development] montymintypie:
Hmmmm... it's not looking promising :(

If it turns out that we need to wait for an i9088 GB, we may be out of luck, as I've already done some Googling and it seems unlikely to get it. This could be wrong though as my information is all from machine translated stuff on Chinese forums.
[Galaxy S I9000 Android Development] dhiru1602:
Yes. I9088 is a rare phone and I don't think it would get a GB update. Lets wait for someone to confirm the 2way Call recording on SHW-M110S. That is the only deciding factor. If there is indeed no real 2 way call recording, we could stop wasting our time on 1 way recording, since there are a lot better apps on the Market to achieve that.
[Galaxy S I9000 Android Development] montymintypie:
Wasting your time more like, I just did the deodexing :/ I wait in hope for news on that thread...
[Galaxy S I9000 Android Development] dhiru1602:
Also tried to get the device booting with libraries from Froyo. It was a total no go.
[Galaxy S I9000 Android Development] orenzah:
would it be easier to upgrade the i9088 froyo libraries to GB see the changes between i9000 Froyo to GB and make it on i9088 froyo one?
[Galaxy S I9000 Android Development] dhiru1602:
Libraries are in Compiled ARM Assembly Code. Its very complicated to edit them.
[Galaxy S I9000 Android Development] orenzah:
I understand that, but should there be open code? or something like that?

anywhere?
[Galaxy S I9000 Android Development] montymintypie:
From what I can see, the open source code that Samsung has released does not include the required files to compile these libraries.
[Galaxy S I9000 Android Development] dhiru1602:
We cannot compile anything from the scratch except the Kernel.
[Galaxy S I9000 Android Development] dhiru1602:
Not even a single reply on the Korean Galaxy S thread. I am starting to get frustrated.
[Galaxy S I9000 Android Development] sinancetinkaya:
As it happens always, you never can find good guys when you need them around :D

You said, if the korean galaxy S doesn't have two way call recording, we don't need to waste our time for it. There are many good programs can do this job.

Such as?

Don't we need library files though?
[Galaxy S I9000 Android Development] montymintypie:
He was referring to the current one way call recording which he'd got working.
[Galaxy S I9000 Android Development] montymintypie:
In search of a solution, I found this thread.

It seems to imply 2 way recording.
[Galaxy S I9000 Android Development] dhiru1602:
Yup. If anyone could confirm the 2 way proper record, I could resume my work.
[Galaxy S I9000 Android Development] zenosteam:
I wish you great courage for your work
[Galaxy S I9000 Android Development] dhiru1602:
The source seems to be outdated. We can only rely on someone who has a the SHW-M110S, and who could provide us a Call Recording Sample.

I am sure this is not some kind of Hardware Exclusive feature. If the call recording works properly on SHW-M110S, there is definately some software tweak that is getting the work done. I have tried all the possible ways of getting it to work, even with the Libraries.

All I need is a confirmation and probably a recording sample from an owner of SHW-M110S.
[Galaxy S I9000 Android Development] sambwel:
FWIW I just wanted to say I'm not a dev but I'm greatly interested in this project, I'm following the thread closely and I just want to say thanks for all the hard work so far :)
[Galaxy S I9000 Android Development] dhiru1602:
Wasted a lot of time on this. Let's see if someone who owns a phone comes forward.
[Galaxy S I9000 Android Development] TorqueWrench001:
+100 !!! 10 char

In case there is a break through I am also available for testing.

I don't know the hardware/software/firmware differences with the Galaxy II, but they say they have 2-way call recording on this thread.

They are using third party apps.

http://xdaforums.com/showthread.php?t=1065110&highlight=recording&page=2

My apologies if that information is irrelevant to our quest.
[Galaxy S I9000 Android Development] orenzah:
If it will help someone, I have dis assembly the library files, and now they are on assembly codes, I think it will be easier to read them in C, but that what's I succeed to do, and I think this is the right assembly because I'm not sure how did it made it.

Please developers, programmers have a look, this is the assembly of the Korean library, now I will make an copy of the i9000 GB library to see the diffirents.

EDIT:

- Added dis assembly of GT-I9000 libaudio

From Darky 10.1 ROM (I don't think is really matter).

libaudio-assembly.zip Korean Libs

libaudio-GT-I9000.zip I9000 Libs
[Galaxy S I9000 Android Development] dhiru1602:
Any Update for the Korean Galaxy S about 2 way recording?
[Galaxy S I9000 Android Development] montymintypie:
Nope, but I've replied to the thread with another call for help. Here's hoping...
[Galaxy S I9000 Android Development] dhiru1602:
Saw your post. Noone even bothers to reply. What a pity!
[Galaxy S I9000 Android Development] dhiru1602:
After a lot of Googling, I had come to a conclusion that libaudio.so, libaudioflinger.so, libaudiopolicy.so are the 3 files require to enable call recording in a proper 2 way fashion. Same applied for Froyo too. I have replaced these 3 files from the SHW-m110s, and got the phone to boot by messing around with the other lib files and the framework. I don't seem to get any 2 way recording working. Tried few apps from the Market too. I also don't seem to find any Call Recording Functions in the assembly for the GB Firmware. I was able to find them only in the Froyo Version.

Why would a phone have call recording if it was really inteded to be 1 way? I am sure there is a workaround for this, but the best bet would be to wait for some confirmation before getting our hands dirty.

I am starting to loose patience now. :(
[Galaxy S I9000 Android Development] sambwel:
Excuse me if this is a dumb question, but since orenzah was able to disassemble the GB libaudio file for i9000 & Korean libraries, could the same be done with the Chinese Froyo files which we know for sure did allow 2-way recording? Or would this not be useful because the code is too different?

I would help if I could but I just don't know my way around code... Sorry :o
[Galaxy S I9000 Android Development] TorqueWrench001:
montymintypie, dhiru1602,

Just saw this reply on the shw-m110s thread

http://xdaforums.com/showpost.php?p=14551018&postcount=2620
[Galaxy S I9000 Android Development] sinancetinkaya:
@dhiru1602

Once you get it done, don't forget to provide us a donation link that we can donate your hard work ;)
[Galaxy S I9000 Android Development] dhiru1602:
I don't understand how Korean Galaxy S would actually manage 2 way recording. It seems to lack the code. I have studied it well.
[Galaxy S I9000 Android Development] orenzah:
maybe the library files will works on 2.3.4 JVP?

Just try, maybe I will check it if no one will do it soon.
[Galaxy S I9000 Android Development] zenosteam:
i have installed total recall 1.7.6 i think my voice is recorded clearly the opposite is recorded too but it's not very clear and it's very low ,i use rom jvp2.3.4 if this can help for some thing it's will be good

good luck
[Galaxy S I9000 Android Development] doclucas:
I think you guys are wrong by going the Korean firmware route, cos as far as I know the only phone & stock firmware that actually supported 2-way call recording was the FROYO one for the Chinese Galaxy-S, which is the one that will probably get 2 way recording if and when Samsung release GB firmware for it, so you should just wait for that to happen. I doubt the Korean stock Froyo or GB firmwares have 2-way recording, although I might be wrong...
[Galaxy S I9000 Android Development] dhiru1602:
Yes. Even I doubt the possibility of 2 way recording in Korean GB.
[Galaxy S I9000 Android Development] hosion:
Since someone has succeed in getting call recording T959 by replacing the baseband file with I9088's, I am wondering whether it will work out if we replace GB's baseband file with FR's band file.
[Galaxy S I9000 Android Development] dhiru1602:
That won't work. There are a lot of dependancies and doing so would break a lot of things.
[Galaxy S I9000 Android Development] sambwel:
If it was that simple it would have been done by now :p
[Galaxy S I9000 Android Development] dhiru1602:
Yes, It would have been a 2 step method. Search for Froyo version and Flash it! ;)
[Galaxy S I9000 Android Development] hosion:
Have you tried? In my opinion , it makes senses. The key point now is the driver of the audio. And the *.so files probably depends on the baseband. I hope it will make some help.
[Galaxy S I9000 Android Development] dhiru1602:
Is the Audio Chips in SWM-m110s same as that of Galaxy S?
[Galaxy S I9000 Android Development] doclucas:
Yes, supposed to be.
[Galaxy S I9000 Android Development] camro:
do you really think that it is a .so problem ?

i'm not sure if this is maybe in kernel disabled ...

i mustdl the kernel ...

because the libs must decode the audio-stream ... otherwise it wouldn't work ...

so, i'm not sure,if this reallylib related ...

or - are you sure, that in kernel it is possible ?
[Galaxy S I9000 Android Development] dhiru1602:
Its not the Kernel. Its the JNI Native Libraries.

I need a volunteer who owns a SHW-m110s to do some testing and give me some logcats during calls, so that I could check the function calls. If no-one is interested, I am going to stop working on this.
[Galaxy S I9000 Android Development] m2677086:
I think people are more likely to be not owning one but not 'not interested' .. as an asian, i used call recording a lot and think it s important when i was seeking a job some months ago.

Kenneth
[Galaxy S I9000 Android Development] zenosteam:
callrec it's very important, i use it alot too in my job it's help me to organize many things and remind me meeting and discussion with my costumers and headmaster, it's will bad if there no issue to make it work in 2.3.3 or 2.3.4

I will be forced to go back definitely to froyo .

so i very appreciate your work and trying to make callrec in ginger bread work .

dhiru1602@ and others what you are actually doing it the true developing and modding because any of the modders and dev in the xda forum are able to make it work ,i wish you a good luck:)
[Galaxy S I9000 Android Development] dhiru1602:
Been working on this for 2 days now.

I had 3 objectives

1. Use the Library files from SHM-m110s Korean Galaxy S on the I9000.

I had to do a lot of changes to the Framework to get the phone to boot. The Audio works fine, but the recording is still 1 way. The only problem here is the RIL, which is different in SHM-m110s, due to a different baseband processor. When swapped with the one on the Galaxy S, the Network doesn't connect and the Baseband version is Unknown along with Lost IMEI. I guess due to the different hardware, its quite difficult to port the call recording from SHM-m110s.

2. Try to use the Froyo libraries on Gingerbread ROM.

Froyo version of the Call Recording worked well, Hence I had tried to port the Froyo version to Gingerbread directly. I have made some edits to the Library files inorder to change their Function Names. I got the phone to boot after a long and hectic trial and error. However, there are a lot of errors coming up which are related to the Native functions, which clearly indicates that there is some compatibility issue.

3. Try to use the Libraries from Galaxy S II.

Been reading about Galaxy S II managing to record 2 way calls. It was interesting to see if it would work for Galaxy S. I have copied the Libraries from Galaxy S II onto Galaxy S and managed to get the phone to boot. However, the phone gets stuck at the Galaxy S Bootlogo and the Logcat shows that the phone is waiting for "Yamaha Service", which I suppose is something related to the Yamaha Audio chip on the Galaxy S. Since we have a different Audio processing unit on the Galaxy S, its a No go.

Its very very hard to edit the .so files especially if they are based on the ARM architecture. It is possible to make minor edits to the .so files, but its very hard to add new functions or alter existing functions. I guess it would be better if we wait for I9088 to get gingerbread. That would be an easy port I hope. :confused:
[Galaxy S I9000 Android Development] m2677086:
Agree. I have been browsing chinese forums and I think that there is currently no promised 2.3 update for i9088 .. So.......maybe this is a dead end after all ..

Kenneth
[Galaxy S I9000 Android Development] dhiru1602:
Same with these US variants. They too have no promised Gingerbread update.
[Galaxy S I9000 Android Development] mw22:
dumb question

Will it work on Honeycomb ver 3.01 on tablets that have voice calls

Thinking of getting that awesome Galaxy Tab 8.9 3G when it comes out ???
[Galaxy S I9000 Android Development] montymintypie:
No.

10 character minimum
[Galaxy S I9000 Android Development] mw22:
thanks boss
[Galaxy S I9000 Android Development] orenzah:
when I tried to change the dialerpad I saw on in Phone.apk. a recording images, images the shows up when we recording or when we want to recording as recording button or recording flashing alert.

I saw that in JVP.

Of course, my question is: Does is it saying something?

When the ROM officially doesn't support recording but under the hood is does some how?
[Galaxy S I9000 Android Development] dhiru1602:
Nope dude. It doesn't.
[Galaxy S I9000 Android Development] silverstorm:
That's interesting. That sounds like the interface AntSM had in his modified Phone.apk for 2.2.1. Maybe it just left-over images that Samsung forgot to remove.

For example, Gingerbread now uses SystemUI.apk for the drop-down quick settings bar images. But there is still a twframework-res.apk in the official ROM which has images for the old quick settings bar which is completely unnecassary but still there.
[Galaxy S I9000 Android Development] hosion:
9003 has released 2.3.4, I think Chinese version 2.3.4 would come out soon.

Will it help us with the call recording?
[Galaxy S I9000 Android Development] doclucas:
Most likely.
[Galaxy S I9000 Android Development] hosion:
I'll report it here as soon as I9003's Chinese 2.3.4 releases out.
[Galaxy S I9000 Android Development] orenzah:
there is a software total recall, we can try use strategy B or C after we changing the so files or something there is a user here that succeed change some files but failed to record with the phone.apk, than we should try to change the files and try total recall to check if it's really recording.... right?
[Galaxy S I9000 Android Development] sinancetinkaya:
Flashed gingerbread 2.3.4 JVQ and I'm using Androrec Call Recorder

It is recording via microphone. Other party's voice quality is not good but acceptable.
[Galaxy S I9000 Android Development] dhiru1602:
Do those Library files for Total Recall work with Gingerbread?
[Galaxy S I9000 Android Development] keno_ro:
Any new development?
[Galaxy S I9000 Android Development] zenosteam:
i don't think
[Galaxy S I9000 Android Development] abel06:
You know this?...:)

http://xdaforums.com/showthread.php?t=1168836

Just see the capture of call screen.
[Galaxy S I9000 Android Development] sinancetinkaya:
Damn, it is for SGS2, not for our devices
[Galaxy S I9000 Android Development] abel06:
This patch is installed on the previous rom:

http://www.multiupload.com/WT1L5NTG4C

I don't know if its work on another...
[Galaxy S I9000 Android Development] camro:
i have no 2.3.4 in my hand ... anyone playing with that ?

any results ?
[Galaxy S I9000 Android Development] zenosteam:
i will try it
[Galaxy S I9000 Android Development] zenosteam:
don't work for me i have fc and signal lost
[Galaxy S I9000 Android Development] zenosteam:
I will buy an sgs2
[Galaxy S I9000 Android Development] Homam Ageel:
maybe this will help

this is an app that works 100% recording 2 ways

i decopmiled and upload it

http://www.multiupload.com/G3V5GZ0DFY
[Galaxy S I9000 Android Development] Fuma:
more details please.

where did you take it from?

thanks
[Galaxy S I9000 Android Development] Homam Ageel:
it is a call recorder application

I had it long time ago and it is still working on SGSII

callrecorder.apk
[Galaxy S I9000 Android Development] montymintypie:
I get the feeling that this, along with any other recording apps, work off the library files already on the phone - in your case, your GSII already has the requisite files (seems to be the case, especially as they got call recording to work on it so quickly), but our I9000 Gingerbread builds seem to lack the correct information for anything to interface with the audio stream in a call. I get the feeling that we may just have to hold out for an I9088 Gingerbread ROM :(
[Galaxy S I9000 Android Development] rico13:
sigh what a mega let down

:-/
[Galaxy S I9000 Android Development] nesquix:
call recording is working with the stock phone app for the SGS 2.

have you ever tried the lib files with the phone.apk of the cristelo rom ?
[Galaxy S I9000 Android Development] montymintypie:
SGS2 modem != SGS1 modem, no compatibility here.
[Galaxy S I9000 Android Development] Fuma:
Guys what about cm7? Its uses froyo bootloaders but is 2.3.4.
[Galaxy S I9000 Android Development] montymintypie:
Bootloaders ≠ modem. I also don't think it has call recording.