yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Q&A, Help & Troubleshooting] johho:
i have:

PDA I9100XXKH3

Phone: I9100XXKH3

CSC: I9100 XAKH3

Rom: Criselko V18

following procedure:

*#197328649#*

5 Audio

1 NB Voice Call

5 Bluetooth NREC off

1 Volume

5 Sidetone

menu Key input

32

6 Rx Gain

Manu key input 32

7 TX gain

menu Key input

32

menu Back

menu back

..back until SM ends.

Now BT HEadset works.

Now reentering service mode and do exactly the same as before with "Headset"..

now bluetooth Headset doesnt work anymore...(nor Headset! :()

hope this can help solve the iussue?
[Galaxy S II Q&A, Help & Troubleshooting] vyurin:
Btw, Service menu is the part of modem.bin. ServiceModeApp is just front-end. I just flashed KE4 modem and service menu a tittle bit different. But problem with programming Audio still exist. And seems to me it store this information in some NV memory, not in audio chipset. According to audio chipset datasheet I think it doesn't know anything about different type of in/out.
[Galaxy S II Q&A, Help & Troubleshooting] averjans:
vyurin, Thanks for this info. Can you send me the datasheet of the audio chip? I couldn't find on the internet. I assume it is the YMU823 from Yamaha?

Do you know if the source of the modem part is also open souce? I was looking for this and can't find it. Thanks in advance.
[Galaxy S II Q&A, Help & Troubleshooting] vyurin:
download.yamaha.com/file/46319

Unfortunately there are no information about registers available.

About modem sources - no luck to find them. Probably it is simplest way to solve the issue.

About I2S(0,1,2) - it signal bus for Audio/Video devices for inter-exchange (as I read). Our processor has 3 of them.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
i'm really really sad about this.. tryed to change volume on BT, Headset and Speaker, now my device is totally scrumbled.. I geto only one of the things working again by entering 32 as key value, the others doesnt work until i enter the same there, but than the other one which worked bevore stops working.. :( :( :(

There muste be another way to reenter the correct values, specially while only this three settings (Gain) seems to make such problems. The other (dezimal) values are saved and stored correctly no matter what i enter as value.

I hope i'll get this working again, because atm my GS2 isn't really good to use without any comfort of headset or Bluetooth Headset :(

There must be any way to reset the entered values.. on GS1 it seems to work because this device has a reset switch in Service Menu :(

EDIT: newest crop after flashing diffrent Modems to test if this makes some diffrence: i hear a kind of echo even while using just the phone to phone.. So i hear my own voice a few ms after i spoke.. :( :( :( (Modem KH3)

i'd better never changed a thing in that damm buggy service mode..
[Galaxy S II Q&A, Help & Troubleshooting] vyurin:
johho, I heard echo after attempt to put something into sidetone field. Echo gone after reboot.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
..ok i tested a lot the last hours..

its definitively that i can only change one device.

If I change the values on Bluetooth, the Speakerphone doesnt work anymore but bluetooth does. Even after reboot, reflashing etc.

If i now change Speakerphone, this works but bluetooth doesnt anymore.

Same with Headphone.

No matter what procedure I try this it the fact on my device.. Don't know why.. :( :( :(

So it seems that my Audio Settings are totally scrumbled and im not able to set it back to working values for all connected devices..

BTW whats the diffrence between a) bluetooth and b) bluetooth (NREC OFF) and between c) headset and d) headset(3P5PI) ?

I found out that my BT Headset only works with changing the Values on Bluetooth(NREC OFF)
[Galaxy S II Q&A, Help & Troubleshooting] vyurin:
johho,

what I know is that headset applies to headset with microphone, headset(3P5PI) without microphone.

I experience the same problems - able to set only one device.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
thx..

yes this is truely confusing because "destroying" the right settings for heaqdset and Bluetooth was clearly possible (also more than 1 device), reentering the correct values seems to be possible only for one device..

This have to mean that the Service Mode is truely buggy or we are using the wrong procedure..
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
Hi I got the same trouble after trying to make my MIC in the handset louder and while trying out different values my headset and BT handsfree "died".

I got my phone back from service center a couple of days ago, they changed the 3,5mm jack, the card with the MIC and new firmware.

Still got the trouble with my handsfree, dont think they tested it as they shoukd before returning it to me.

So now after following your thread I finally got at least the BT handsfree to work but now I got echo both in my BT HF and phone without touching the handset settings.

Reflashed the phone and the echo was gone.

Tried to get the headset work but only ONE working headset. BT or wired.

The echo came back, reflashed and now still echo.

I'm thinking of setting the gain for BT and headset to 0x0 and returning it to the servicecenter.
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
1: I got the stock GT-I9100_NEE_I9100XWKF3_I9100XXKE7_I9100OXXKF1.tar

2: Re-Flashing the same GT-I9100_NEE_I9100XWKF3_I9100XXKE7_I9100OXXKF1.tar

Still echos.

3: Flashing "forward" to GT-I9100_XEO_I9100XXKG5_I9100OXAKG5_I9100XXKG5.tar

And the echo is gone.

4: Flashing back to:

GT-I9100_NEE_I9100XWKF3_I9100XXKE7_I9100OXXKF1.tar

Then my phone needs factoryreset due to everything FC.

Factory reset again.

Now working ok (no echo), but still only wired or bt handsfree. depending on what you got working before flashing.

I could live without the wired handsfree (could still listen to spotify and use skype with both wired and bt, works like a charm)

Maybe the trouble lays in the samsung dialer somehow??
[Galaxy S II Q&A, Help & Troubleshooting] johho:
..thats truely dramatic.. Even the service centerseems to be unable to locate the problem correctly, only changing hardware components which have nothing to do with the main Problem..

I guess only reflashing the Audio-Chip in some way to restore stock values could solve our Problem...

I can only admit everyone to keep the fingers of this damn service menu!!!

it seems so buggy that even service centers aren't able to use it correctly.
[Galaxy S II Q&A, Help & Troubleshooting] averjans:
Elvispen,

I've got this echo too and now I solved it, no echo any more. See my update at my first post.

I keep all items I found out about this issue in the first post so you don't have to search al posts.
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
averjans: Does "Levels: I now enter 0 for each device. This works for all devices I use (BT earpiece, BT car kit, Phone and wired earphone)." mean that you got all of them working at the same time?

Or you still got to choose the ONE you want working?
[Galaxy S II Q&A, Help & Troubleshooting] Airbag888:
I wonder if there's any option in Service mode to route calls through the line out when the phone is in the official car dock or desktop dock. Right now when in either it defaults to the phone's loudspeaker while all other sounds (media, notification, key presses) go properly through the lineout
[Galaxy S II Q&A, Help & Troubleshooting] averjans:
Elvispen, I have indeed all devices working at the same time (I just tested them all). Even the echo is almost gone on all devices. On my car kit I have no echo at all.

I think the TX and RX gain levels are represented in db and 0 is a default level.

I also tried 0x7fff for sidetone value and then there is echo. At 0x8000 the echo is gone or set to a minimum.

Sidetone is the effect of sound that is picked up by the telephone's mouthpiece and introduced into the earpiece of the same handset, acting as feedback.

I will update my first post with the last result so everyone with this issue can try if this solves the problem.
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
I made it step by step, it seems that 0x8000 still gives me a very low but hear able echo on my handset. Much lower than before tough.

(Flashing forward and back with factory reset seems to get rid of ALL echo.)

And I still got big trouble getting both wired and bt handsfree to work simuntainusly, when the BT HF works, then wired gives me exreamly low sound, barely hear able. And the opposit.
[Galaxy S II Q&A, Help & Troubleshooting] averjans:
Elvispen, do you mean real echo (delayed) or the direct feedback into the speaker of the handset? The last is normal. There should be a little feedback, but there should not be a delayed echo.

Do you use the original earphones for the wired connection?

Which types of devices (brand and type) do you use? Maybe I can get these here somewhere and I can test it too.
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
With 0x8000 I got a very very low echo in the handset, barely hearable.

But after flashing ALL hearable echo is totally gone.

When adjusting the headset (the one that came with the phone) it works if I made the last changes in the heaset menu.

Then I got no sound in my BT HF (Sony Ericsson MW600). If i make the last changes in BT NREC the BT HF works but not my wired HF.

Both BT and wired works properly when using Skype. Different menu I think. not VB voice.

Before I started playing around in the ServiceMenu all but microphone volume on my handset worked flawless. (Got a new mic through samsung service center (Anovo Nordic)) But I think the service center didn't touch the servicemenu, only a standard flash. I never told them that I played around in the servicemode due to warranty issues. Just told them that my HF:s didn't work properly.

Going to test some more and see if I can find some way to fix it myself, I don't want to be without my phone for 3 weeks again.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
I really want to try this too, device after device, but i'm not brave enough to put handy on Speakerphone or Handset, cause this are the only devices who work nearly good (except of my own Voice Echo on Handset which started after entering Values on OTHER devices!!)...

so im afraid of destroying the complete phone while trying to get the 2 other devices back to work..

Totally confusing why someone (Threadstarter) can set up all devices correctly while a lot others (including me) aren't able to do so with the same procedure...
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
I'm thinking of the possibility that some early series of the audio chip is defect.

That the ServiceMode is working as it should but some fault inside the chip (think it's the yamaha chip but ain't sure (anyone who knows how to check it please let me know the procedure)) and for some reason it wont be able to write correctly to the chip due to ServiceMode could be setup for the Wolfson chip?? (http://xdaforums.com/archive/index.php/t-1069259.html)

Maybe flashing back to one of the earliest firmware would get the ServiceMode to work properly. I''m going to try one last time today with the stock KE2 shipped with my phone, and revert it back to maybe KE1 (First firmware for the S2) to try it out.

Edit: Still same result for me with earlier firmwares. Have to "choose" between working wired HF or BT HF.

Tried 0xffff, 0x0, 0x1000 for sidetone and 0x0 for the rest (with flash between) and still got the echo. Flashing NEW firmware (not the same thats in the phone for the moment) solves my echo issue, NO ECHO at all with new rom.
[Galaxy S II Q&A, Help & Troubleshooting] vyurin:
Personally I don't think so. It is more likely it is fault of ServiceMenu rather than hardware. I didn't have confirmation that someone make it works like expected.

About echo. I didn't play with this a lot, but using KH3 modem, echo always reset to default (no echo) after reboot.

On KG2 modem there are no such behavior. Also please note that 8000 is really -32768 (that more reasonable to say that it is 'no-echo'), while 7fff is just 32767 that mean (maximum echo).

I had a problem with echo too on KG2, but get rid of it by flashing fresh modem KH3 and factory reset.

I hope they will fix service menu in new modem.

Thanks.
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
Vyurin: Im thinking of trying out the CM7 rom, but I'm a little bit to careful yet due to the warranty issues. What I read it seems to use it owns values on everything. They're writing their own code completly so the cm7 DONT have the service menu. Maybe a custom flash will give the chip "stock" values. But I'm unsure of if the bluetooth is working on the latest release.

I'm gonna try the KH3 and test it out to see how it works for me here in Stockholm. Until the ServiceMenu fix I will manage without the wired HF.

Thanks.
[Galaxy S II Q&A, Help & Troubleshooting] vyurin:
Elvispen, actually service menu application is just front end. As I mentioned before, actual service menu located in phone part (modem.bin). So there is a small chance that CM7 fix this problem. Anyhow try it and let us know.

I am personally waiting for new modem. Since there is difference in behavior between KG2 and KH3, I hope samsung know and new release will fix this problem.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
I don't think so.

CM7 depends on naked Android, the newest stuff, but the phone parts must be the same link in all other roms, because native android development (like CM) doesn't include development for different phone manufacturer like Samsung, HTC etc. So i think the phone depending parts like modem etc. are developed directly from manufacturer (Samsung).

I've testet over 8 diffrent Phone Modems, the only diffrence i could find is that on older Modems the echo is completly "missing", while on KH3 the echo (without changing any values) is loud and disturbing.

on the other side why should Samsung fix anything here, "normal" Users never go to service mode and change anithing, like another poster here said even the service center doesn't use it, they are just changinge hardware parts. So i guess the only way to get a working phone back is either that we'll fint an absolute crack here who can help us setting the right settings back or send it to service and hope they'll reset it in some way or change the complete phone..

Again the hint for all new users: NEVER PUT A SINGLE FINGER ON THIS DAMM SERVICE MODE!!!!
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
No luck with the other ROMs. Im going to send it to the service center again. Just going to jig back the flash counter to 0 before sending it back.

Maybe changing the topic of the thread to "Partly solved" and a BIG warning in the begginig is in place.

Huge thanks though for your inputs.
[Galaxy S II Q&A, Help & Troubleshooting] kcaz:
After playing with this menu I had big problems with sidetone echo on the handset, bluetooth headset and car kit. Sometimes I could get it to the point where it wasn't terrible by playing with sidetone values, but it was still always there. Unfortunately turning the phone off and on again would bring it back to where it was terrible.

After some Googling, I read that using *2767*3855# to hard factory reset would clear the audio back to its defaults (unlike factory reset through privacy settings or recovery). I tried and it has worked for me. Volume is a little low again but at least that facking echo is gone. People on the other end say I no longer sound like I'm calling from the shower as well.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
entering this code doesnt do anything on my GS2 ?!"?! does this only work on special roms??

---------- Post added at 09:00 PM ---------- Previous post was at 08:20 PM ----------

...ok, reflashed KE2, here the code *2767*3855# worked for factory reset, seems that on Leomars actual Rom the code doesn't work, however.

BUT factory resetting by this code didn't reset my Audio settings. Cable-Headset still isnt unhearable. still only the last device i've changed in service mode works correct.

Thx for the hint, but didn't solve my problem...

Did all ur devices worked right again after resetting with this code??
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
Tested the new official firmware KI4, no luck at all.

The servicemenu is still fu**ed up.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
..with new KI3 Modem.. same thing.. :(
[Galaxy S II Q&A, Help & Troubleshooting] moh247:
Echo Problem Solved (Blutooth not)

Hi,

Same story...low audio...service mode...values changed...car bluetooth connects but no audio...service mode again...echo problem...

I reseted the phone (without any codes): Go to settings, privacy, factory data reset, rest phone, erase everything. "Dont forget to backup, device will be like you bought it"

Well this helped me take out the echo problem, but still could not hear anything on my car bluetooth...hope someone will nail it before i get a ticket :)

in my view, no one should touch the service mode menu before there is a formal guide...
[Galaxy S II Q&A, Help & Troubleshooting] bgx:
One Question! I use very often my old HTC wire headset on my SGS2 but the volume on the inear phones is very low and the mic need a little boost to. First I changed the volume registers witch resets with every reeboot until I found this post. Know I want to try the solution here. Just for my understanding, will this mean that I can boost the volume and the mic volume over a reset? And how exactly I can do that?

Should I add 0x20 to the values TX and RX gain on HEADSET device?
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
bgx: Dont touch any values and save them trough menu and back. Cause you will have other value changed too and you'll risk having a fu**ed up phone for a long period of time.

If you just check the 0x values and reboot your phone and check them again they will be complety different. The service menu will NOT show the default values at any time.

So saving trough menu and back will also save the changeing value in 0x gains.

And you risk ending up with a worse working device then before.

Not even samsung service center seems to get it back to default values without changeing the hardware.

What I think we need is that some DEV from Cyanogen or another extremly experienced programer look into our problem. Due Samsung themselfs apperantly couldn't fix their own service menu on the i9100. (working flawlessly on the i9000 though.)

My advice is to stay out of the service menu until we get an proper fix for our problem.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
1000% acc!!! Everyone who finds this thread here should learn from it and KEEP THE FINGERS OFF THE TOTALLY BUGGED SERVICE MODE!!!
[Galaxy S II Q&A, Help & Troubleshooting] Rsaeire:
I'm equal parts happy and sad with this thread; happy that I could increase the volume of my voice over the headset's microphone and the incoming volume of other people's voices but sad that there's an echo on my voice from both the headset and the handset. Given that we're using the most advanced handset currently available, it's kind of odd that Samsung couldn't even get the normal things right, i.e. voice call quality/volume.

As others have mentioned, I'm just hoping for someone to come and fix this issue as the echo's getting to me. Even if someone could advise of what the default values are so that we can just go back to the start, I'd be happy. I really don't want to wipe the handset or flash another ROM as I have it just the way I want; bar the voice call issues.
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
Rsaeire: Only way to get rid of the echos is a complete wipe/factory reset with code or new flash. I'm not sure if the volume will reset too due a clean flash apperantly wont get everything back to defaults.

When saving trough service mode it seems to write the values on to the audio chip directly, wich a clean flash wont do for ALL the values for some reason.
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
Now the phone goes to the service center for the third time. Hoping for a replacement device.
[Galaxy S II Q&A, Help & Troubleshooting] Risling:
I did it, but didn't get any success. I tried 1000, 8000, and fff0, but I still had no audio during phone call I after I paired my SGS2 with a car kit. Only echo. And even more. I got echo even during ordinary calls after this procedure. I had to reflash firmware to cancel it.
[Galaxy S II Q&A, Help & Troubleshooting] johho:
in fact there must be some difference between different GS2 Phones, because some devices seem to be completly resetted after reflashing or wiping the device while other devices (like mine) keep the damn corrupt settings even after all kind of wipes or reflashings..

Maybee it depends on reflashed roms, could one user who was able to reset the Audio part completely with reflashing tell me which rom he used to reflash and reset the device??
[Galaxy S II Q&A, Help & Troubleshooting] aengus4h:
may sound obvious, but has anyone tried simply doing a hard reset on the BT device itself, rather than the phone?

I ran into the no-audio during calls issue after hard-resetting the phone,and having the service centre open the phone to sort the muted mic issue. Non-working BT was annoying since it had been working just fine before. Worse, it worked fine with a friend's newer BT headset.

So, after much messing about trying these sort of options and getting nowhere, the "reset the device" idea popped into my head, and presto, it worked just as it had before I had reset the phone. I think there may be some internal limit on the number of pairings each device can handle, so perhaps re-pairing has caused the device to only partially store info in its tables?

In case it helps, my devices are a plantronics 903 backbeat ( stereo audio + headset modes) and an alpine CDE103BT car stereo with parrot BT car kit built in, both had the audio problem after the phone was hard-reset, but worked for music and avrcp. Reset on both devices solved the no-audio issues for me :)

hth

Dave
[Galaxy S II Q&A, Help & Troubleshooting] Elvispen:
Finally. Got a new replacement device through my retailer. Now never going to touch that damn menu.
[Galaxy S II Q&A, Help & Troubleshooting] doozel:
Works for me, thanks for advice, hours of frustration have been solved.

For anyone trying it make sure you set BLUETOOTH and BLUETOOTH(NREC OFF). First time I just tried BLUETOOTH and it didn't work.
[Galaxy S II Q&A, Help & Troubleshooting] Ross85:
Hi, i have read all the posts but I can't understand how the fix this problem... i have played with the service mode, than i tried everything and finally i tried to install ICS (4.0.3). At the end i found this topic, so i discover that is useless to flash, reset and so on. Now I'm trying to play again with the service mode but when i change a value and i press menu->back and re-enter in the same option i find always 0x0.

Note that everything works fine except bluetooth and headphones (3.5mm) on voice call.

My final idea is to reset the phone and to take it to the service center... anyone has another advice?
[Galaxy S II Q&A, Help & Troubleshooting] Ross85:
Hi,

i finally solved this issue. I reflashed the stock Kernel 2.3.6 and then I execute the final procedure described in the first post (8000 on sidetone, 0 on the other two params) for all the devices in the order described (1 2 3 4 7 6 5). You have to change the 3 params for a device and then exit by clicking on menu and back until exit and you never have to enter again in a device just to check the values, or you mess up that device again.

Now on my device everything work in a phone call except if i plug a normal headphone without mic, but i can survive :D