yashsingh1/xdaforums huggingface dataset:
[Huawei Ideos X5 U8800] Druida69:
if I install this over the franco kernel will this clean all the previous FFranco kernel settings or will just update some part?

Hope you can understand what I mean with my bad english
[Huawei Ideos X5 U8800] Tommixoft:
well it will overwrite all franco kernel. But because this mod is based on franco kernel you will have a franco kernel anyway :D

PS> i compiled at night franco kernel with newest changes and when i pushing audio buttons there is no pop up showing how much audio volume is. Don't know maybe i somehow did this or franco, but just wanted to tell if somebody will have this after ksatta's mod then i think franco can revert this if anybody needs it. BUT ths may be only on my phone.

Sorry no, i've never used speaker phone in call. :D So that's what you talking about :D Resonance, o i'l test it :D
[Huawei Ideos X5 U8800] shantam:
How did you modify libs and with which software
[Huawei Ideos X5 U8800] Druida69:
so what is the best kernel to use with MIUI, Francos or Stockwell's?

I'm a bit confused this time
[Huawei Ideos X5 U8800] franciscofranco:
Off-topic: it's fixed now, ksatta warned me about that, seems like I messed something last night xD
[Huawei Ideos X5 U8800] ksatta:
Yes, as Tommi said, it will. My v1 kernel is based on an older git pull than franco's latest. I now know which git commit is the same as franco's latest, so I'll compille my v2 with that. I'll probably do it tomorrow. But anyway v1 is already included in latest franco's release, so there's really no point in using my v1 release from this thread..

It's from the rom source? If I'm not mistaken.

I don't know. Maybe just test and find out which is best :) I don't know what the differences are. I'm currently using oxygen and franco's.
[Huawei Ideos X5 U8800] Druida69:
ok thank you ksatta
[Huawei Ideos X5 U8800] ksatta:
update

v2 released. Check first post.
[Huawei Ideos X5 U8800] andreasha:
Thanks I will try it out, really nice if I can use speakerphone again! I had some problems setting up git to download the branch, thought it was under franciscofrancos account haha.
[Huawei Ideos X5 U8800] franciscofranco:
What the hell are talking about my account?
[Huawei Ideos X5 U8800] andreasha:
Ah nothing really, me being a beginner on git and all but I thought the branch 'patch-1' was under your account when it was under ksattas.
[Huawei Ideos X5 U8800] Tommixoft:
you don't need git infact for Ksatta's work. he always includes modified file so you can just replace it with the one in franco kernel folder and here you go :D no git :D
[Huawei Ideos X5 U8800] andreasha:
Thanks but I want to learn how to use git and I got it to work :)

Sent from my Ideos x5
[Huawei Ideos X5 U8800] Tommixoft:
Ksatta i wanted to write you PM but maybe my questions will be useful to others too so here it goes:

1. So speakerphone_echo_fix will only active and used if speakerphone is on yes? So if i don't use it but talk normal my phone uses all things the same as it was before your mod?

2. headset_mic_switch makes phone to use headset's mic not phone's if there is plugged something in jack. So if there is plugged earphones without mic - so it is needed to take out the earphones to be able to talk [activate internal mic]?

or when route_cfg.dev_id is 3 this means that phone knows that mic is connected or this id is returned for whole jack (no matter earphones or headset) ?

And what kind of device is speaker_mono_tx ? The big speaker at back? If so then by your code

if (headset_mic_switch && route_cfg.dev_id == 3)
route_cfg.dev_id=10;

It looks like you the speakerphone made to become microphone. Or am i wrong?

Hmm but TX stands for transmitter so this must be mic not speaker.. so i'm guessing speaker_mono_tx is mic of external device? :D

Thanks :)

EDIT: well this all post looks like big rhetorical question :DD
[Huawei Ideos X5 U8800] Deloxic:
I don't know what went wrong but when I tried to use this Kernel with MIUI at 1.8 my phone just frozen up so I tried to restart it but it kept restarting by itself, I tried to do a data reset / clean cache / dalvik but it wasn't still able to start the phone. I ended up having to reset everything to stock.
[Huawei Ideos X5 U8800] ksatta:
Strange. The v2 in this thread is franco.kernel sep11 with the mic settings changed for speakerphone mode. Were you using franco.kernel before? Also sometimes it helps just to reflash (kernel or rom). I've had this happen a few times with roms. For no apparent reason they don't work after first flash.

Yes. Unless the phone uses the speaker_dual_mic_broadside_tx dev for something else. I didn't log all different scenarios. I have a feeling the speaker_mono_tx is the same thing with echo/noise cancellation. Ofcourse this will be found out when ppl test it with all different apps etc.. "speaker_dual_mic_broadside_tx" implicates that it should use two mics, so it should have echo/noise cancellation? But maybe Huawei implemented it so that their stock rom never uses "speaker_dual_mic_broadside_tx" and insted the "speaker_mono_tx" is used and has echo/noise cancellation..

Yes, the phone always detects that a headset(headphones with mic) is connected, that's dev. id 3. With the stock kernel you had to remove the headphones to speak. When the headset_mic_switch is enabled it always forces the phone to use speaker_mono_tx, instead of the headset's mic.

Yes that's right. All TX devices are input devices. It's a bit confusing, I think they should be rx? Well anyway the speaker_mono_tx must mean "mic used for speakerphone mode".
[Huawei Ideos X5 U8800] Tommixoft:
Hi Ksatta, thanks for your replay, I have another question. Don't know is it related to your mod, i think maybe not, but i just had a call and do not used headset (but your mod is activated via init.d file). After a call i noticed that there is no any sounds. i can press volume button change volume but there is no sound, even when i receive sms there is no notification sound. Had to restart phone to get them. But this happened only after call. so maybe you can figure out what can cause this?
[Huawei Ideos X5 U8800] ksatta:
My mods shouldn't do anything unless you use headset/headphone/line-out or speakerphone mode. Also they are both enabled by default. If this happens again, you can try disabling my mods with "echo 0 ..." for both mods.

If you already have "echo 0 ..." in an init.d file, that disables mod X :)
[Huawei Ideos X5 U8800] Ozgurce:
Is the latest franco kernel include v2?
[Huawei Ideos X5 U8800] ksatta:
v2 (included in [16 SEP] franco.Kernel)
[Huawei Ideos X5 U8800] andreasha:
EDIT: wtf how did my post to the franco.Kernel thread get here.
[Huawei Ideos X5 U8800] Tommixoft:
it wasn't enabled by default i had to put echo to enable it :) But strange.. before enabling headset mod i never had this problem, yesterday enabled and today had problem :D Maybe after call phone uses mic as speakerphone that's why i do not hear sound, or it uses earphone jack and disables speakerphone. I'll test it more today and will tell you my findings.
[Huawei Ideos X5 U8800] andreasha:
I also tried speakerphone today and the other person said that the echo was back (on franco.Kernel 16sep).
[Huawei Ideos X5 U8800] ksatta:
I just cleared data, cache and dalvik. Then flashed latest cm7.1 and franco.kernel 16sep. Speakerphone worked without echo.. Strange. I'll check franco's git, if everything is right.

Edit: Everything seems to be right. Which rom are you guys using?

@tommixoft, if one of the mods was disabled by default, it indicates it might be stockwell's older version, which had a bug that might cause some problems. If you had something plugged in to the 3.5mm jack at some point.

I'll still check if the mods are both enabled in the current kernel to be sure.

edit2: Everything seems to be right:

/sys/module/snd_soc_msm7kv2/parameters # cat headset_mic_switch
1
/sys/module/snd_soc_msm7kv2/parameters # cat speakerphone_echo_fix
1
[Huawei Ideos X5 U8800] Tommixoft:
echo may be because of your friends phone not yours. :)
[Huawei Ideos X5 U8800] ksatta:
Actually if the other person said there's echo, the problem is andreasha's phone?

@Andreasha Does "About phone" show francisco@francisco #11? (just making sure you have the right kernel running :)
[Huawei Ideos X5 U8800] Tommixoft:
Well it's true and not :D Echo is when speaker sound is too load and it goes to mic, mic sends to the receiver phone, receiver's phone to your speakerphone and there is loop. It have to be inverted phases to avoid echo [that's why at concerts when artist with mic are near speakers you don't hear hi freq awful sound] (as i remember from my DJ times in school :D ). So there will be no echo if there is no other person :Dif other person phone starts to getting into loop it transfers that to your phone too. as my logic tells me. if the phone do not kill them then it will start to happen. and i don't think that our phones are capable of doing that. BUT i was very bad at school so i may be 100% wrong :D

but i had LOTs of experience with mics and speakers :D
[Huawei Ideos X5 U8800] franciscofranco:
Everything is alright in my kernel, I haven't change the code that you made on the pull request.
[Huawei Ideos X5 U8800] ksatta:
Hmm... I'm a bit tired right now, but if Huawei's echo cancellation works right, it should stop the loop? Something comes out of speaker, and echo cancellation should not send that forward when mic captures it? I really don't know about the internals of echo cancellation, but that sounds about right to me :)

Anyway that could be how it's implemented because the phone knows what is sent out the speaker, so it can filter it out from the captured sound?

Yeah I just double-checked, because andreasha reported having problems. No offense :)
[Huawei Ideos X5 U8800] Tommixoft:
this crap have echo cancellation? :D i was thinking it have noise cancellation..then i don't know :)
[Huawei Ideos X5 U8800] ksatta:
Incase you missed my edit earlier :) Anyway that could be the problem.

---------- Post added at 07:18 PM ---------- Previous post was at 07:14 PM ----------

Well, it's not reported in specs, but it must have. It works great even in my car when I have the autostereo volume way up high. I have the phone connected to my autostereo via the 3.5mm jack. The best speakerphone setup I've ever had :)
[Huawei Ideos X5 U8800] Tommixoft:
Also i forgot to mention about one my finding of last night, no it wasn't a dck :D - when phone is in deep sleep it generates to jack audio waves..like 4-5hz (pulsating) freqeuancy if you at the VERy quet room you can hear it it's very silence but it is. and ofcourse this uses battery. Because you're god of sound you also my want to get rid of this challenge too :D But you need good earphones. i can't hear it with included ones with huawei. maybe this sound is generated because there is not all plugs (contacts) that are plugged don't know. But when you wake phone it stops.
[Huawei Ideos X5 U8800] franciscofranco:
YES, this happened with me when plugged into my 2.1 high end sound system...
[Huawei Ideos X5 U8800] ksatta:
Sounds like a good challenge :) I have to remember that.
[Huawei Ideos X5 U8800] andreasha:
Sorry if I stirred something up but when I check with the same person some day ago with ksattas fix and asked if there was any echo but there wasn't any. Now kernels I compiled yesterday and the real released kernel I heard complaints about. Could it be X5 Settings force mic with headset?

EDIT: 15sound

"echo 0 > /sys/module/snd_soc_msm7kv2/parameters/headset_mic_switch" but that shouldn't do anything about the echo cancellation.
[Huawei Ideos X5 U8800] ksatta:
Does "cat ...speakerphone_echo_cancellation" show 1? This seems to be an interesting problem to solve :)

Edit: It's ...echo_fix. Too tired :)
[Huawei Ideos X5 U8800] andreasha:
cat speakerphone_echo_fix is 1 yes (but I have the headset_mic_switch off if that matter but it shouldn't?).
[Huawei Ideos X5 U8800] Tommixoft:
where do you write that cat comand? in telnet? i mean terminal? why i got nothing..just not found if in terminal :D
[Huawei Ideos X5 U8800] andreasha:
I used 'adb shell' in cmd (on windows atm) then cd to the correct location then cat...

Or just enter

cat /sys/module/snd_soc_msm7kv2/parameters/speakerphone_echo_fix
[Huawei Ideos X5 U8800] ksatta:
That's right, it shouldn't affect the echo fix. And you said it worked with a kernel built some days ago? I could send you a msm7x30.c with logging enabled if you want. I could check the logs if it seems right.

Edit: Do you still have the older kernel it worked with? You could also test if it still works with that, or with stock kernel and rom. To rule out hardware problems.
[Huawei Ideos X5 U8800] andreasha:
I will try it and hear it for myself (the echo with and without the fix) to see if it could be my phone or the kernel.

If that doesn't work I'll gladly take the source file with logging. :)
[Huawei Ideos X5 U8800] Tommixoft:
Hi Ksatta i yesterday night understood what is that sound about we with Franco talked about - it is cell signal. Signal that somehow gets into jack after phone is in deepsleep. But if i via INFO secret menu disable RADIO i still hear that sound but its 100% cell noises..look similar to those before you get sms you can hear cell sounds if you near speakers or amplifiers with speakers.
[Huawei Ideos X5 U8800] ksatta:
That's good info. I might check it out next time I start modding.
[Huawei Ideos X5 U8800] Cocax:
A lot of people have been reporting a low call volume while in normal call (no speaker or headset). You can see it on the Huawei Ideos X5 general forum. I have been facing this problem, too. Sometimes (not all the time) the person on the other side says it sounds like I'm talking from afar. Will you be looking into this too? :3
[Huawei Ideos X5 U8800] ksatta:
Yeah I've read about this somewhere. I think some ppl got it fixed by changing a setting in build.prop and/or covering the mic at the back. I think there's a thread about it here. It's one of the first threads, if I remember correctly?

Another thing I've noticed that the volume problems affect the speakerphone and headset modes too. The minimum volume is too high, so that the other person's voice gets a bit distorted. The problem is not big, but probably the same thing that affects music volume. If volume is at max, the output is distorted. This happens atleast with cm7 and oxygen. I'll work on that next time I have time and "inspiration" :)
[Huawei Ideos X5 U8800] Cocax:
From what I've read, some people tried to change settings in build.prop, but weren't having success... Unless I've read it wrong :S And covering the secondary mic it's not really a fix, more like a workaround...

I'll look into that thread again, but I'm pretty sure nobody came up with a real fix so far...

Thanks anyway ^^
[Huawei Ideos X5 U8800] Ozgurce:
changing build.prop doesn't make any changes in mic sound. I tested it with all combination.

Covering microphone works for me, but its really bad thing about talking with phone. Phone getting heater in long conversations, and hand is sweating. This is the worst thing about ideos x5 for me.
[Huawei Ideos X5 U8800] ksatta:
Ok. Does speakerphone mode work better than normal mode with latest Franco.kernel? If it does, it's easy to create a configurable "force dev id x for normal calls". I can check it out next time.

Edit: it should also be possible to disable noise cancellation, which is probably the cause. The easiest fix would be if dev id x works without noise cancellation.
[Huawei Ideos X5 U8800] Tommixoft:
The 3.5mm jack is amplified and even with lowest volume level it's kinda hi in volume, at nights i'm watching documentaries with mx player at volume = 1 and its kinda may be lower but it cant :D

The speakerphone mode is very easy to understand the distortion reason - speakerphone is way too little so it's normal to get distortion even with low volume. You need to change the speaker to get normal sound, via code you can't do anything.

The bad sound from mic when calling to other person is phone related bug, not software. I guess those people have preview versions of X5 not final ones. Mine works great, as many here. So the problem is in phone itself not code and the only way to help those people is to make mod that will disable 2nd mic.
[Huawei Ideos X5 U8800] Ozgurce:
If its help, sound recorder application sound quality a lot better than in-call mic quailty. In-call quailty is husky when you not cover the mic. Sound recorder record more clear audio then that. I'm using latest franco kernel.
[Huawei Ideos X5 U8800] Cocax:
For me it doesn't happen all the time. In the last few calls I made, the other person reported hearing me just fine. Maybe it has to do with the surrounding environment. I have classes tomorrow so I'll install the latest kernel and test it with different background noises and I'll get back to you :)
[Huawei Ideos X5 U8800] ksatta:
I have distortion even when I have my phone connected to my carstereo. I mean the other person's voice is distorted. That is because of the volume bug, doesn't happen with stock.

And probably yes, the only way to fix the mic problems some ppl are having is to disable second mic. Should be possible to force it to use same settings as when recording sound.
[Huawei Ideos X5 U8800] Tommixoft:
so the problem is in code which gives to much of power to the amplifier... i have the same problem on UBUNTU on my laptop. sound quality is **** because of sound distortion..even at low volume. it looks like it gives to much power to the amplifier and in his turn he amplifies the sound and mo matter the volume you getting bad sound to amplifier. So maybe in drivers there is some settings [static or dynamic variables] how much power to use, or give.. I saw that there is how much power you can get via volume button..but as i understand this only effects the sound after it came from amplifier. and we need to get it before.
[Huawei Ideos X5 U8800] ksatta:
Yes. It would be great to figure out where the problem is. Probably affects all sound quality, atleast when using the 3.5mm jack as line-out.
[Huawei Ideos X5 U8800] andreasha:
Just wanted to say that the speakerphone seems really good now (I'm on latest Oxygen and todays compiled kernel from francos github).
[Huawei Ideos X5 U8800] ksatta:
Great :) I'll probably work next on the volume issues discussed earlier. It should make the other person's voice sound clearer, so the speakerphone mode (and probably all sound) should be even better. IF I get it figured out :)
[Huawei Ideos X5 U8800] franciscofranco:
You can pull request at will if you want me to test your stuff ;)
[Huawei Ideos X5 U8800] Ozgurce:
Is there any problem with that? Other side sound very clear in every rom in my phone. I just have a tiny "ting" sound (i can't find right word for that its bells or something) in earpiece speaker.

Will you try to solve mic issues too?
[Huawei Ideos X5 U8800] ksatta:
I think you mean the same thing. The "ting" sound is because the sound going to the amplifier is too loud, or that's the theory anyway. And yeah I'll check out the mic issues too. I'll probably try to create a flag to use the same mic settings with calls as sound recording uses or something. But then there might be echo etc, but we'll see :)
[Huawei Ideos X5 U8800] AceDroidX:
Hello ksatta! Can u please have a look at that issue....
[Huawei Ideos X5 U8800] ksatta:
It might be using wrong mic dev. I can look into it. Does it work better in stock?

It'll probably be a while before I have time. But this is a fun hobby and I'll continue when I have time and inspiration :)

If someone wants to look into the issues I can send a kernel with sound debugging enabled.

Edit: I misread the post at first, thought you meant video recording, but anyway I can check it out. Do you mean that the other person doesn't hear you well, or is there an inbuilt call recording feature?
[Huawei Ideos X5 U8800] AceDroidX:
Hello, I will try to be more specific.

I am using the latest MIUI built which has a built-in feature to record the voice calls. I had two calls, in the first one i used the phone the normal way, in the second one i used handsfree. After that i listen to the 2 recordings. In the 1st one my voice was pretty distorted and the other person's voice was very low, in the 2nd one my voice was better and the other person's voice also increased, but not increased enought.

I have also noticed that when you are in a noisy place and record the call, later when you listen to it the other's person voice is lower than in a normal enviroment. Maybe it has something to do with the 2 mic it has and the noise cancelation feature...?
[Huawei Ideos X5 U8800] fjsferreira:
Sorry to revive an old thread, but is it possible to implement these tweaks in new 2.3.5 official kernel?

My car system is useless without them :(
[Huawei Ideos X5 U8800] andreasha:
No kernel source yet
[Huawei Ideos X5 U8800] ksatta:
Yup, with the source it's not a big change to make.

I've been busy doing my own android app (closed-source, nothing to do with this stuff), so I haven't had time to work on this stuff. ATM I'm using CM7's kernel and I noticed the voice quality is bad when using headphone jack. I think the msm7x30.c is just missing one if statement :) Looks like there's a lot happening, with the official 2.3 beta and also official cm7 coming along. It should be easy to add these fixes to those when sources are available.

edit: Looks like I was having bad sound quality with headphone jack + internal mic because the phone-holder in my car was shaking too much, so probably nothing wrong with cm7's kernel :D doh!
[Sony Ericsson XPERIA X10 Mini] loupio:
Hi all,

Can someone port this theme for 2.1 stock Rom?

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

Thx anyway
[Sony Ericsson XPERIA X10 Mini] Felimenta97:
I wan't that too. But isn't better to wait until he finishes the project?
[Sony Ericsson XPERIA X10 Mini] Omario-242:
Hi

why you guys don't flash a custom rom?

Is much easier to change themes etc.

The requested theme is partly a metamorph

so difficult to port to stock rom i think ;)

Peace ;)
[Sony Ericsson XPERIA X10 Mini] loupio:
i use my phone for work and a lot, tested all gingerbread and froyo roms always having a problem (freezing phone, retarting sometimes) so i get back to stock rom and i'm on it for a while now and have no problem at all.

--

Excuse my bad english
[Atrix 4G Q&A, Help & Troubleshooting] IUH1991:
How does the latest rom manager cemetery fare against romracers?
[Eee Pad Transformer General] Beards:
Whilst reading books, magazines and newspaper's.... is this a sign we are using our Tablets too much?

1. I keep touching the paper so it doesn't fade away.

2. I swipe pages instead of turning them over.

3. Whilst reading articles I'm constantly thinking about the battery.

4. You are confused there is no copy/paste on the news-print.

5. You find yourself continually looking at the top of the reading article for the search tool.

6. You become frustrated there's no flash support.

7. Why am I searching for 'barcodes' in publication's.

8. You become annoyed there's no YouTube for Page 3 Girls.

9. Voice activation does no good.

10. Tapping on a news article headline doesn't take you to a link.
[Eee Pad Transformer General] salbalboa:
i keep trying to touch files and swipe the screen on my laptop then realize its not a touch screen
[Eee Pad Transformer General] cozzykim:
The touch screen does slowly invade the subconscious doesn't it? ;)

Copy and paste is another story though, it just doesn't work consistently on my TF :(

If I had one good reason to smash the thing, this would be it, the on screen and dock keyboards need new interrupt driven software and the addition of navigation keys IMO.

Yes, I do have the latest firmware ;)
[Eee Pad Transformer General] ttav:
Slightly off topic but touch screen related. I gave away my Desire and my DesireHD.Now i`m left with my SE 910i as a back up phone.Takes a long time to sink into my brain that it`s not a touch phone:D
[Eee Pad Transformer General] AlexTheStampede:
To me the worst thing was Graffiti. Back then I learnt to write like that, and started writing in "graffiti" even with pen and paper :D