yashsingh1/xdaforums huggingface dataset:
[LG Optimus Black] redy2006:
But lesp4ul told me that he still has those audio problem. I think it happen randomly to everyone else, I also can't sure..

I was thinking that the main problem related with Bluetooth audio (AD2P), the system like "confuse" about audio output. But don't take it as reference, because it was my personal opinion. Since this 2 days I was using my own build and trace the problem related with audio.

--added--

When we get a call, this log apparently shows many times...

Line 377: W/ASFDummyExtractor( 1318): ASF parser is not available
Line 378: E/MPEG4Extractor( 1318): both mdat,ftyp not found
Line 382: D/Omap3ALSA( 1318): open called for devices 00000002 in mode 0 channels 00000000...
Line 383: V/Omap3ALSAModem( 1318): voiceCallControls: devices 0002 mode 0
Line 384: V/Omap3ALSAModem( 1318): Stop Audio Codec Voice call
Line 385: E/ALSAControl( 1318): Control 'BT Digital Playback Volume' cannot get element info: -2
Line 386: E/ALSAControl( 1318): Control 'BT Digital Capture Volume' cannot get element info: -2
Line 387: E/ALSAControl( 1318): Control 'BT Sidetone Volume' cannot get element info: -2
Line 388: E/ALSAControl( 1318): Control 'BT data out playback MUX' cannot get element info: -2
Line 389: E/ALSAControl( 1318): Control 'Voice data out MUX' cannot get element info: -2
Line 390: E/ALSAControl( 1318): Control 'BT Tristate Switch' cannot get element info: -2
Line 391: E/ALSAControl( 1318): Control 'Enable BT input' cannot get element info: -2
Line 392: E/ALSAControl( 1318): Control 'Enable BT output' cannot get element info: -2
Line 393: E/ALSAControl( 1318): Control 'BT Interface Switch' cannot get element info: -2
Line 394: E/ALSAControl( 1318): Control 'Analog Capture Main Mic Switch' cannot get element info: -2
Line 395: E/ALSAControl( 1318): Control 'Main Microphone Bias Switch' cannot get element info: -2
Line 396: I/Omap3ALSA( 1318): Initialized ALSA PLAYBACK device default
Line 397: E/AudioHardwareALSA( 1318): RE-OPEN AFTER STANDBY:: took 23 msecs

I suspect that's because of Bluetooth audio. It can't handle the sound output to the speaker. That log raised because of #ifdef AUDIO_BLUETOOTH.

--added--

By looking at this command, we know that we don't have Bluetooth SCO Audio.

$ alsa_play -l
**** List of PLAYBACK Hardware Devices ****
card 0: hub [hub], device 0: TWL4030_I2S twl4030-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: hub [hub], device 1: TWL4030 Voice twl4030-voice-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: hub [hub], device 2: TWL4030_FM null-2 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: hub [hub], device 3: IFX_CALL null-3 []
Subdevices: 1/1
Subdevice #0: subdevice #0

It means that the function of #ifdef AUDIO_BLUETOOTH doesn't completed yet, because we don't have it, based from this resources. So the conclusion is because we don't have BT SCO (activated yet), the audio broken while playing call ringtone or voice call (everyone who has that problem).

Please CMIIW :)
[LG Optimus Black] Redpik:
I know that i had on my p500 an app that forced the system to headphones or turn them off. Maybe it will work... i just turned back to stock and cannot try it.

Sent from my LG-P970
[LG Optimus Black] lesp4ul:
yeap you should compare it with old git history about BT and AD2P connection (will be a long reading haha). Yes at first but so far i have no prob with ear-peace speaker with #17, one prob; the ringtone suddenly become loud while i use CM ring unlock to receive a call. That's not my concern.

My concern is a signal loss while using heavy data, even with EDGE my signal lost too but not often.
[LG Optimus Black] omen-am:
Hi guys.

I have problem with Cm7 v20 and nova v10. When I lock my phone using power button the phone seems to be off and I can't unlock it. Only removing battery seems to solve the problems. Any ideas?
[LG Optimus Black] lvlouro:
It was happening to me quite a lot with that config, in 2 days I had to remove battery 3-4 times.

So I decided to reflash cm#20 on top of that only wiping dalvik and until now (in 24h of use) that problem hasn't occured...
[LG Optimus Black] zogoibi:
Render effect lost upon reboots

Anyone else having this problem?

Same in #17 and in RC0 (with or without Nova), the "render effect" setting is invariably lost upon reboots, always. I know it's not a big bug (supposing it's a bug), but hey!, we're trying to help improve the ROM, aren't we? And, as far as I'm aware, the render effect is the only setting that I lose upon reboots. Isn't it strange?

Another thing: sometimes, my baseband information shows "unknown". Sometimes don't. Any clues?
[LG Optimus Black] omen-am:
Thanks. Seems to be much more stable. Any good kernel for this built?
[LG Optimus Black] mrdragan:
I'm on CM7 RC0 with stock kernel and can't get into eRecovery with VOL Down+Power. What is problem?

Sorry, solved with repeted pressing VOL Down + Power.
[LG Optimus Black] lvlouro:
Right now I'm sticking with stock kernel
[LG Optimus Black] mikezin_:
I know that you already solved the problem but just one fyi to everyone here. I've had discovered a code to go to the factory menu:

Press phone (go to the keyboard screen where u type the number to call) then type 3845#*970#

I hope that this helps someone :)
[LG Optimus Black] agent205:
have you flash this ROM, btw ?

FYI, this code doesn't work on CM
[LG Optimus Black] ogremount:
Offcourse it doesnt work on cm

It is only for stock rom.
[LG Optimus Black] lesp4ul:
@redy & other devs, as my discussion with redy few days ago, i prefer to completely disable ad2dp for a while to elminate sound prob. Hope anyone could modify and compile it.
[LG Optimus Black] florin_matei2003:
Sorry,again how do you eliminate the sound problem because i like this rom and the problem is,as others said, that the phone doesn't ring when people are calling me...he only vibrates and it's annoying...Please...thanx in advance.
[LG Optimus Black] gabwerkz:
If I'm not mistaken, go to etc/bluetooth/audio.conf. Study your options. I'll look into it what to modify later.

Also in Cyanogenmod settings > sound, try checking always play on speaker. I know it's partial for the headset but you can try and test a call.

Nuxus S. :) nice...
[LG Optimus Black] d_dee:
vibration

I hv just flash CM7.2.0 RC0, everything run smooth, just face a little bug with wifi, i can connect to wifi but it will stop with no reason when surfing, everytime i need to turn off wifi and turn it on again. And anyone can pls tell me how to turn off dialing pad vibration and the 4 button on bottom of the phone vibration turning off. Actually i hv put setting-sound-vibrate - "only in silence mode" but the home bar 4 button is still vibrate. Sorry for my bad language.
[LG Optimus Black] lesp4ul:
thnx i'll look at it, about the setting, i always check that option since #16 to #20 but no luck :D

yeap nexus s, another nice toy from a friend to "jailbreak" haha, i'm sure you've seen the phone on my fb :p
[LG Optimus Black] cyber_j:
Any new regarding the Night Server?

I read that in the weekend of 26/11 the server will be Up... but until now, nothing...
[LG Optimus Black] redy2006:
I'm sorry, but I think i had mistaken here, about the audio & bluetooth. After whole time looking into the code, trying to trace/debug, it seems that the main problem is the audio change/set it self randomly the volume. So when it we had incoming call that doesn't ring, sometimes, it's because the volume set to minimum (looks like muted), but also sometimes after missed call, it rings at the end, and always showing log:

I/Effect-Equalizer( 1323): Setting loudness correction reference to 100.000000 dB

before/after, it also always got repeating with

I/Effect-BassBoost( 1323): New strength: 0
I/Effect-Equalizer( 1323): Setting band 2 to 0
I/Effect-Equalizer( 1323): Setting band 2 to 1
I/Effect-Equalizer( 1323): Setting band 2 to 2
I/Effect-Equalizer( 1323): Setting band 2 to 3
I/Effect-Equalizer( 1323): Setting band 2 to 4

Full log here: http://dl.dropbox.com/u/38047212/call2.log.

And by pressing vol-up/vol-down, the key-press event didn't captured/logged, just showing error keycharmap, even the volume indicator moved. So I can't figure it out where to debug the volume, perhaps it's on ALSA-Mixer that control volume.

W/KeyCharacterMap( 1631): Can't open keycharmap file
W/KeyCharacterMap( 1631): Error loading keycharmap file '/system/usr/keychars/TWL4030_Keypad.kcm.bin'. hw.keyboards.65539.devname='TWL4030_Keypad'
W/KeyCharacterMap( 1631): Using default keymap: /system/usr/keychars/qwerty.kcm.bin

Audio volume didn't match the indicator (too low). I think that's the same problem with ringtone, sometimes got muted randomly. What I'm thinking right now, the I/Effect-Equalizer comes from DSP Manager, perhaps the bugs is there. But it just my another assumption, don't take it as reference... :)
[LG Optimus Black] Redpik:
I uninstalled Dsp and the bugs were all there. Seems it's coming from other place.

Sent from my LG-P970
[LG Optimus Black] redy2006:
Yes, I also had removed the DSP, but the bugs still there. I think it comes from the volume control, it's not stable yet handle the volume control. The code are inside alsa library. CMIIW.
[LG Optimus Black] gabwerkz:
Can you PM me the whole alsa_omap3.cpp codes? In a notepad++.

See here >> https://github.com/CyanogenMod/android_device_lge_p970/commit/02d37e509b730c8fe8ed176db5cd35854fea9b4b

>> https://github.com/CyanogenMod/android_device_lge_p970/commit/30df1cf13ed554df237c04013fbfd700c7282cbf

Thanks. :)

Also, before the addition of FM Radio, did receiving call has sound (ringtone)?

In my previous post, I've had a theory about ALSA and FM Radio. ALSA was modified with its inclusion.

http://xdaforums.com/showpost.php?p=19236168&postcount=932

You may look for clues also here in the commits. >> https://github.com/CyanogenMod/android_device_lge_p970/tree/gingerbread/alsa_sound
[LG Optimus Black] redy2006:
Actually you can download that package, https://github.com/CyanogenMod/android_device_lge_p970/downloads select Download as zip or tar.gz and you'll have the code :)

I don't know yet about FM radio. But the addition of FM radio had lots of different code compare with the basic source of TI omap3 alsa. But AFAIK, since Nightlies #1, we already had audio problem aren't we? The audio volume doesn't match with indicator, but as far as I remember, that's doesn't affect the ringtone..

Please CMIIW.
[LG Optimus Black] gabwerkz:
Ah, sorry. I have it already. Forgot I am watching the commits and downloaded them before https://github.com/CyanogenMod/android_device_lge_p970/watchers. thanks.
[LG Optimus Black] omen-am:
Anybody having heavy battery drain on cm7 v20 and stock kernel?
[LG Optimus Black] zogoibi:
Oh, folks! I'm sooooo frustrated that I seem to be the only one concerned by the fact that the "render effect" setting gets lost upon reboots... But, well, I've done a bit of search myself and, just in case anyone else is curious to know, I've read that it seems to be a bug in the CM7 code. So, unless some dev wants to invest his time in solving it, I'm afraid I'll have to live with that. :)
[LG Optimus Black] redy2006:
The result are various.. I'm personally using #20 with Nova 7 or 8 (before), or now using my own build with still using stock kernel, I had 1 day ~10 hours battery, that quite acceptable for myself. Don't know how about others. :)

Well, I'm personally didn't used that features, because I set off all animation. But I think yes, it is come from the main configuration of CM, but I don't have much time to looking into it. I'm still working out to trace the audio bugs.. :)

And also the fact that we only have such limited developers here :confused:

.CMIIW.
[LG Optimus Black] omen-am:
Thanks. Should I wipe dalvik cache when changing kernel?
[LG Optimus Black] kurtxcobain:
When are we gonna have camera flsh in CM ?

btw great job!
[LG Optimus Black] gabwerkz:
Eh? Open camera and turn on flash mode. See the lightning/electric icon next to 1X? Press it, then press on. Now take a picture. Same as video.
[LG Optimus Black] redy2006:
Actually it won't necessarily, but sometimes they said it can make problem with dalvik-cache.. So it's your own choice... :)

.CMIIW.
[LG Optimus Black] kurtxcobain:
Thanks! Dunno why in other CM builds it didnt work, my fault :p
[LG Optimus Black] zogoibi:
I also set off all animation, but "render effect" isn't about animation, despite its (badly chosen) name. It's about the display's "color temperature", so to say. I find it useful for saving a little battery, and also it makes the screen a bit more eye-friendly.
[LG Optimus Black] TheGripper:
I dont niw about stock kernel...but im getting the battery life with 7.2 RC0 and aprold's v11. With minimal use im getting 2 days of battery life.

Here the screen was on over 2 hours, wifi on about 1.5 hours and i listened to music for about hour and a half.
[LG Optimus Black] zogoibi:
With Aprold's V11? :)
[LG Optimus Black] barroca:
At least on my tests with the #20 it happens. Once you turn on and off the problem go away.

Also #20 has a battery drain. I will install the 7.2 rc0 now. I'm using the P970.
[LG Optimus Black] omen-am:
Where you can get 7.2 rc0?
[LG Optimus Black] interdan:
in previous posts you can find what you need :D

more precisely post #1375
[LG Optimus Black] kurtxcobain:
Anyone knows why is buildbot offline?
[LG Optimus Black] ogremount:
And more importantly when is it coming back?
[LG Optimus Black] omen-am:
Thanks mate. And how to apply this update, just wipe dalvic cache and flash it?

PS I'm using cm7 v20.
[LG Optimus Black] TheGripper:
I meant aprold's v10... LOL
[LG Optimus Black] interdan:
You can install it as any nightly. ;)
[LG Optimus Black] TuggSpeedman:
hey guys, ive been following you and now ive registered. great to have this forum. could you tell me which nightly plus kernel is the most stable? ive tried #20 with nova8, but it was too buggy for me. by adjusting the brightness to the minimum you hardly can see anything while using the camera. media audio gets also pretty quiet by adjusting -1 eg angry birds.. the phone didnt see my microsd card after using navigation, after a hard reset it did agan and there was another thing afairemember... now i'm back to 2.2 v10e. what do you say?
[LG Optimus Black] omen-am:
Just did it. It's beautiful. I'll never back to the stock ROM. Smoothness over all:)
[LG Optimus Black] notmatched:
my experiences with RC0 ...

thought known issues seems to be away. now they are back with additional issues.

- well known sound problem

plus

- device goes into save mode, pressing power button sometimes obtains reboot

- device goes into save mode, pressing power button sometimes obtains nothing, so battery must be removed

- constantly defective sound on video records
[LG Optimus Black] lesp4ul:
Because the hardware is down...
[LG Optimus Black] d_dee:
Try to reflash it, or maybe can try RC0 + nova v10 kernel.

I m using RC0 for 3days.... no issue with my power button and no sound problem, but the wifi being offline constanly, everytime i need to turn off and on again wifi, any idea?
[LG Optimus Black] apg1980:
sorry for the question,

you are talking about rc0.

does it means the v20 nightly version or where can i get this rc0?
[LG Optimus Black] dharmabm:
I had the same experience, seemed to be better for a day or so then the same issues came up again. Curious, did you change the kernel or stick with stock? I'm actually back on novarom for now because I need my phone to work as a phone this week, but I sorely miss the 'snap' of cm7 :-)
[LG Optimus Black] d_dee:
unable to add contact list

anyone know how to add contact list in SMS on CM7 RC0? I able to import contact into my phone contact list, and i have set to sync google account, but just in "Message" seem not work.
[LG Optimus Black] patelumangv:
same question here... plz answer.. and if it is different than provide us download link..
[LG Optimus Black] redy2006:
Can't you just backward the pages, and find out where is it? :confused:

http://xdaforums.com/showpost.php?p=19975462&postcount=1431
[LG Optimus Black] notmatched:
same issues with rc0 + nova 10
[LG Optimus Black] tsakaji30:
I'm with the stock kernel and i'm only having the sound problems. I don't know why but it seems that flashing Nova 10 make my phone unstable and the 3G disconnecting every hour.

I recommend you flash again the RC0 and keep the original kernel/radio and test yourself.

Btw, there's going to be more CM7 from here? Or maybe the developers we have are going to ICS release? (I hope they keep their OB ;))

Enviado desde mi LG-P970 usando Tapatalk
[LG Optimus Black] lesp4ul:
With RC0 and nova10 all menu ****ed up (for me), holding power you will get Home, Back, reboot only with no recovery option, etc. Also when plug your usb it will ask you format or cancel, wierd.... so i back to #17 and nova10.
[LG Optimus Black] TuggSpeedman:
hey, and what bugs do #17+nova10 have? any sound problems etc?
[LG Optimus Black] interdan:
I tested #20 and CM7-RC0: the problem was always the same, no audio with custom ringtones in SD.

The problem was so big then i can't listen any mp3 from SD. :(
[LG Optimus Black] gabwerkz:
There you go. Can you test it with default CM7 tones? I can play mp3's however from music player.
[LG Optimus Black] interdan:
unfortunately i didn't test with default CM7 tones.

I remember very well that music player had an error : Unrecognized file!
[LG Optimus Black] gabwerkz:
What I meant was call ringtone from default CM7 tones. Error? I think you should reformat your SD. Or flash a clean install.
[LG Optimus Black] barroca:
7.2 RC0 has no battery drain. Still the default Android from LG has a better battery usage on P970.

The issue regarding on/off speaker on call happend twice with me, but it was solved after some calls.

I'm still testing the configuration of the ROM, from my point of view looks good, but this is my first android phone with only 2 weeks old. :)

Thanks for the help!
[LG Optimus Black] nirats:
sorry this is a repost has noone else faced this problem with the nighlty releases? i have tried all nightlies from 14 to 20 and i am facing the same problem with all of them ... any help ??
[LG Optimus Black] zogoibi:
I'm on RC0, Nova 9. I use Google maps once in a while for some minutes, but inmediately I force close it, freeze it, and deactivate GPS, to make totally sure it's not using battery.

Under such conditions, do you guys think that this is normal?:

What can this be due to? RC0? Nova? Maps app? Battery? (I've calibrated it two times.)
[LG Optimus Black] lesp4ul:
The only sound prob is the volume level is not balanced, very loud on max level and considerable much lower if you lowering it.

Also a signal prob, when using 3G data you'll lost your signal so you must wait the phone to refresh itself. Sometimes it happens on 2G too.
[LG Optimus Black] LookedPath:
there's no one that can build a new version from the source?

i've tried to do it by myself but i've encountered some problems when downloading all the source codes because it got stuck on downloading honeycomb sources even if in the comand i put to look only into the gingerbread branch...

i'm getting crazy...
[LG Optimus Black] omen-am:
Have similar issue here. When sound it is set to max seems to be alright. But when I decrease sound level by 3-6 presses it's going to mute.

Display is reporting that it is still 70% of potential adjustment on volume, down.
[LG Optimus Black] redy2006:
There's many tutorial. If you get stuck, perhaps you had incorrect configuration. Or perhaps different Linux distro? I use Ubuntu 10.04 to build.

http://source.android.com/source/index.html

http://wiki.cyanogenmod.com/wiki/Building_from_source

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

AFAIK, there's already 3 person who able to build from CM Source: dharmabm, johnnyslt, and myself. Don't know yet the others build.

CMIIW.
[LG Optimus Black] dharmabm:
I made a new build last night, but I don't think there are many changes from the one johnnyslt did. Will post it in about an hour.
[LG Optimus Black] its.me.joseph:
currently experiencing fast battery drains on RC0. Done on reflashing and wiping dalvik/cache, battery calibration. also tried stock kernel and different nova kernels but still no luck. going back to NovaRom.

any suggestion there?
[LG Optimus Black] dharmabm:
ok, here is the build from last night, current commits as of dec 6. again, i do not think much has changes as most of the new commits since my last build were only translation issues. also, ***WARNING*** I HAVE ONLY TESTED TO MAKE SURE IT BOOTS, I am only running for 5 minutes and do not know how it behaves. all credits go to arcee and the cyanogenmod dev team (and knzo for the build tutorial)

http://www.multiupload.com/TRLBD1B3LW

md5: 874684b3de3ce6896045f3f0e30d6827

have fun!

oh, another note - while watching the build progress until my eyes were bleeding, i noticed a LOT of build errors in bluetooth, bluez and many in alsa configs. i am going to build again and redirect output to a log and see if i can isolate the errors, maybe that will help redy and gabwerkz find the solution.
[LG Optimus Black] officialreloaded:
Thanks for the efforts.:)
[LG Optimus Black] ogremount:
Works good with nova v7. Tried with 9 and 10 but got few FCs so went back and so far two hours intensive use - internet, skype video calls, etc. with no problems
[LG Optimus Black] LookedPath:
ogremount are you talking about the last build by dharmabm?

if yes there's the audio bug?

if the answer will be no you will ear me shouting by the happyness... :D
[LG Optimus Black] dharmabm:
this is WAY off topic, but i tried redirecting stdout and stderr to a log using the following -

((. build/envsetup.sh && brunch p970 2>&1 1>&3 | tee errors.log) 3>&1 1>&2 | tee output.log) > final.log 2>&1

and it worked to an extent, but there are so many subroutines called by the script that their output is not redirected, so i couldn't capture any of the real errors in the build process. does anyone know a way to capture EVERYTHING output to the terminal without adding blocks to every level of the build script? after more than 25 years of using linux i should probably know this myself, but i'm feeling a bit stupid right now, and don't feel like spending hours reading man pages for the answer. :rolleyes:
[LG Optimus Black] ogremount:
I only got the audio bug once so far while phone was on the charger and i got incoming call.

Apart from that out going and incoming calls ok, maybe a bit crackling soundwise but not too bad.

Had to reflash because of couple of random reboots though :( (i need my phone for being phone as well)
[LG Optimus Black] redy2006:
If you want to "catch" build log, just make it simple :)

You can set the terminal via Menu > Profile Preferences, then go to Tab Scrolling, check the Scrollback to Unlimited. Now your terminal has unlimited scroll. After done building, you can Select All via Edit menu, then copy and paste it at text Editor (eg: gedit), and you already have full log :D
[LG Optimus Black] ivanlau:
My mod version becomes cyanogenMod07-11162011-NIGHTLY-optimusblack after flashing it.:confused:

Is that happening on you too?...thx
[LG Optimus Black] sonic997:
Some Link may be useful

I don't know whether they are useful

Email the CEO of Qualcomm directly to petition for source/binaries for the adreno200:

http://xdaforums.com/showpost.php?p=20053678&postcount=799

Petiton directly to Qualcomm to get open source drivers.

https://developer.qualcomm.com/forum/qdevnet-forums/graphics-optimization-adreno%E2%84%A2/8081

from

http://xdaforums.com/showthread.php?t=1355660
[LG Optimus Black] ogremount:
Not sure, had to go back to 17 due to couple reboots while left alone. I was expecting phone calls :(
[LG Optimus Black] gabwerkz:
Eh? Do you know your phone's specs? It has Texas Instruments OMAP3630 and a PowerVR SGX530 GPU.