Tuesday, 2012-01-10

arrrghhhi wonder if this is the complete audio death bug00:00
arrrghhhthat would be sa-weet.00:00
d3tul3that whole sequence is off patching to mCurSndDevice (-1)00:00
d3tul3er i should've tested that lib before i uploaded it i guess00:01
arrrghhhno test like the forums00:01
d3tul3note how we always set Mic=1  in set_audio_path :)00:04
arrrghhhclassy00:05
arrrghhhwhatever works!00:05
*** rpierce99 has quit IRC00:08
arrrghhhoh well, i'm off to bed.  cya.00:10
*** d3tul3 has quit IRC00:14
*** frustro has left #xdandroid03:04
*** ke- has joined #xdandroid03:25
*** kalemas has joined #xdandroid04:06
*** hardwalker has quit IRC05:25
*** Searover has joined #xdandroid06:39
*** d3tul3 has joined #xdandroid07:05
*** Searover has quit IRC07:31
*** Searover has joined #xdandroid07:31
*** Searover has quit IRC07:41
*** Searover has joined #xdandroid07:41
*** Searover_ has joined #xdandroid07:59
*** Searover has quit IRC08:01
*** Searover_ has quit IRC08:01
*** kalemas has left #xdandroid08:39
*** helicopter88 has joined #xdandroid08:49
*** rneese has quit IRC08:54
*** rneese has joined #xdandroid08:54
rneesemornig08:55
rneesearrrghhh how oes the update08:55
rneeseoes/goes08:56
*** mgross029 has joined #xdandroid09:00
*** fishhead2567 has joined #xdandroid09:29
*** [7] has quit IRC09:38
*** TheSeven has joined #xdandroid09:38
xdandroidDonation received! Thanks, Adam Goodberg, who says: You've turned a Windows 6.5 HTC Pure (a co-worker hand-me-down) into a real gem. Thank you!09:41
*** ke- has quit IRC09:47
*** ke- has joined #xdandroid09:48
*** rpierce99 has joined #xdandroid09:56
*** raymonddull has joined #xdandroid10:02
*** raymonddull has quit IRC10:27
*** rpierce99 has quit IRC10:35
*** rpierce99 has joined #xdandroid10:36
d3tul3ok i think i have a handle on what's causing the audio crash10:42
rneesewhy a handle and not a knobe or a grip10:45
rneeselol10:45
*** helicopter88 has quit IRC10:57
*** rneese has quit IRC11:54
*** rneese has joined #xdandroid11:58
*** d3tul3 has quit IRC12:17
*** Bruce_Wayne has joined #xdandroid12:31
*** Bruce_Wayne has quit IRC12:39
*** rneese_ has joined #xdandroid12:40
*** |Jeroen| has joined #xdandroid12:43
*** rneese has quit IRC12:44
*** rneese_ is now known as rneese12:52
*** as_df has joined #xdandroid13:10
*** rpierce99 has quit IRC13:12
*** rneese has quit IRC13:13
*** rpierce99 has joined #xdandroid13:13
*** rneese has joined #xdandroid13:15
*** raymonddull has joined #xdandroid13:17
*** rneese has quit IRC13:20
*** BadSector has joined #xdandroid13:20
*** rneese has joined #xdandroid13:21
detulehi BadSector13:22
BadSectorHello detule13:22
detuleso you can reproduce this consistently?13:23
BadSectoryes, I have only tried this 4 to 5 times.. but every time its the same effect13:24
BadSectoreverything works great until i ignore an incoming call...13:24
detulealright, you have GetLogs installed13:25
BadSectorI'm currently in progress of getting that installed.. on the fourm i had just wanted to confirm what the other guy was saying.. and figured getting set up for logs might help you all figure this out :) ... so in progess, but working at same time.. lol13:26
detuleok...when you have it set up, try the latest 3.1 kernel from the autobuild (i just patched something this morning)....if you still hit the crash, collect bugs, post them, and then we can see if we need to patch the lib as well13:27
as_dfi seem to have a worse problem with the ring output on RHOD 400 -- attempting to ring will never work but sometimes crash the phone or alarm clock13:28
as_dfbut i'm on the original library. should i first try an updated library before dumping logs?13:28
BadSectorok, i will get busy on that now detule.. will let you know when i'm there13:28
detuleBadSector, i have an idea of ONE manner in which acoustic is misbehaving, not sure if this is causing the all_out audio crash13:29
detuleas_df, can you get audio otherwise13:29
rneesewhats the link to the new 3.1 kernel13:30
detulerneese, stay out of this13:30
as_dfdetule: sms in and preview of ringtone works until i first get called. after i get called all back audio fails13:30
detuleas_df, post logs before you try anything, not sure what your issue is, it doesn't quite fall within spec of the other issues....it seems there is a set of cdma rhods that fail to ring on incoming calls but i don't think it causes complete failure of audio after the fact13:32
*** helicopter88 has joined #xdandroid13:36
as_df"sifting cinders"'s post in the thread is my exact issue and pfc_m_drake has problems previewing ringtones after a ring fail as well13:39
detule*cinder in his post talks about his ringer working on fresh boot, you are describing something else....call it an exercise in collecting logs....13:43
BadSectori'll be back13:56
*** BadSector has left #xdandroid13:56
detuleback in 1513:59
*** BadSector has joined #xdandroid14:06
*** raymonddull has quit IRC14:10
*** |Jeroen| has quit IRC14:10
as_dfGetLogs.apk is taking quite a long time on "Gathering and uploading logs"...14:12
as_dfhttp://pastebin.com/USiisrkW I got the relevant bits of the logcat though14:12
BadSectordetule: first call no ring, didn't do anything to it (did not answer or ignore)... second call got ring... next call phone has stopped responding.. ie looked to be locked.. no lights, pwr button did nothing...waited a bit and well after call was done it popped up showing the call incoming again with a quick ring and phone started to respond again..14:14
BadSectorgetting logs from this now14:14
BadSectoractually, let me test one more call14:14
BadSectori see call, but no ring now14:14
BadSectorgetting logs14:14
rpierce99as_df: if it hangs too long on that step, it probably hung trying to get root permissions from superuser, did you get a superuser prompt?14:15
as_dfrpierce99: yes, and the process was running as superuser14:16
as_dfhad to su to kill it14:16
as_dfdetule: those logs are two calls. neither rang the ringtone, but the phone crashed on the second one. the second one is also the only one with W/AudioTrack( 1272): obtainBuffer timed out (is the CPU pegged?) which makes me think that's a symptom and not a cause14:17
detuleas_df need getlogs output, there's stuff missing in dmesg that i need14:18
detuleyes obtainbuffer is a symptom14:18
as_dfdetule: i can paste the entire dmesg14:18
as_dfwell, pastebin14:18
as_dfi put the dmesg from the second call below the adb logcat14:19
detulethere's stuff missing14:19
as_dfhmmm14:19
as_dfhttp://pastebin.com/raw.php?i=6LBqvzGi entire dmesg14:20
*** raymonddull has joined #xdandroid14:21
detulethat's better but i don't mean to sound like a repeating record but need getlogs output, among other things it also contains the radio log which is useful when dealing with incoming calls14:22
as_dfyeah, getlogs is crashing14:22
as_dfi'll emulate a getlogs call14:22
rpierce99the commands that getlogs runs are listed in the post, but it's much easier if you just get it working, if you can get me the stack trace from the crash i can build you a new version14:23
detule^listen to the man14:24
arrrghhhlol14:25
arrrghhhas_df, you have the newest getlogs?14:25
arrrghhhthere was an older apk that didn't play nice with gb.14:25
as_dfrpierce99: it just pegs the cpu14:25
rpierce99that's true, i assumed he was running the bundled14:25
as_dfthere's a bundled getlogs? i got it from the thread14:25
rpierce99it's in androidapps14:25
arrrghhhAndroidApps\Other14:25
rpierce99and depending on when you pulled it from the thread and what post you pulled it from you could have gotten the old one14:26
arrrghhhbundled version should be the same as what's on the thread (AFAIK)14:26
arrrghhhtrue.14:26
detuleBadSector, this with the bundled libaudio.so or did you change it to one I posted in the thread?14:27
rpierce99that's an interesting feature idea, somehow allow for a list of files to be input which spits out the ls -l output or md5 hash on those files14:28
*** corein has joined #xdandroid14:29
detulemd5sum system/lib ? :)14:29
arrrghhhoh yea14:30
arrrghhhthat'll run REAL fast14:30
arrrghhhlol14:30
helicopter88let me run it!14:31
as_dfrpierce99: updated getlogs. OOMs now14:31
as_dfhttp://pastebin.com/jZH6xebJ14:32
helicopter88doesn't take a lot14:32
helicopter883-5 seconds14:32
arrrghhhi guess that's not bad14:32
arrrghhhi was thinking it would md5sum each file, but i guess it md5's the entire directory.14:32
helicopter88(partitions + overlock)14:32
as_dfarrrghhh: what's the distinction there? same number of bytes go in, random seeks are fast on flash14:32
arrrghhheh?14:33
as_dfarrrghhh: to "md5sum an entire directory" you need to read all the files in there, so it would take roughly the same amount of time to md5sum each file individually (minus outputting each individual md5sum)14:33
BadSectordetule: .. i did not add the libaudio.so that was previously on the fourm... i just was using the 3.1?  sorry, possibly didn't understand what you wanted me to do.. this was a straight test using the 3.114:33
arrrghhhas_df, i dunno.14:33
detuleBadSector, you did great, let me get this straight this log you posted, just the ringer died, did you test playing sounds say elsewhere?14:34
arrrghhh<rneese> whats the link to the new 3.1 kernel <---- holyfuckingshit read the forums.14:34
BadSectorno, tested no other sounds... i possibly did get a text message in between that i did get a sound for14:35
detuleexcellent14:35
helicopter88arrghhh,takes 3.19 seconds14:36
detuleok try that 3.1 kernel with the lib in here http://forum.xda-developers.com/showpost.php?p=21180563&postcount=8414:36
arrrghhhi guess not bad.14:36
BadSectordetule: ... it was very strange... if you scroll up I described exactly what happened... phone kind of locked up.. would not respond at all.. but then woke back up and worked14:36
BadSectorok detule... it will be a few mins.. have to do some office work lol14:36
arrrghhhhelicopter88, just would be difficult if we md5 the entire directory to then pinpoint what's different... but i guess if anything's different that's a red flag.14:36
detuleBadSector, there's an outstanding bug where on certain incoming calls it is very slow to bring up the inCall screen14:36
arrrghhhdetule, you should fix that.14:36
BadSectorok14:37
detulei think WisTilt2 is on that14:37
arrrghhhhaha14:37
arrrghhhi think it's another uniquely CDMA issue.14:37
rpierce99as_df: download the version from post #1 in the thread, it replaces the usage of replaceAll in that stack trace with just replace( which might not have such a problem with long logs14:40
as_dfrpierce99: that one just spins at 100% cpu14:40
rpierce99when did you download it?14:40
as_dfjust now14:40
as_dfwell, today14:40
rpierce99ok, i updated it jan 514:41
as_df-rw-r--r-- 1 patrick patrick 21625 Jan 10 12:37 /home/patrick/Downloads/GetLogs.apk14:41
arrrghhhmd5sum it as_df14:42
arrrghhhi'll md5 mine14:42
rpierce99hm, never had any problems with the logs being too long and running out of memory but i guess if your phone has been up a long time and your logs are long, and maybe your system is low on memory, there might be a problem there14:42
as_df424eb5ef15dae195e336001790368596  /home/patrick/Downloads/GetLogs.apk14:42
rpierce99is that the bundled or post 1?14:42
as_dfrpierce99: the phone's only been up for like 20 mins14:42
as_dfpost 114:42
as_dfi haven't actually tried bundled14:42
rpierce99the log you gave me wasn't from post 114:43
as_dfright14:43
as_dfthat one was from later in the thread14:43
as_dfpost 1 was the original "just does nothing for 10 minutes while pegging the CPU" problem14:43
arrrghhhas_df, same md5 as the bundled version.14:44
rpierce99post 1 should be 243f8b1db7826d1f2ef671c5f53d0a5c14:44
rpierce99hm its not14:45
arrrghhhlol14:46
rpierce99the one i have on my hard drive is 243...14:46
arrrghhhodd14:46
arrrghhhyou holding out on us?14:47
rpierce99didn't think so14:47
arrrghhhalthough, the bundled getlogs works fine for me.14:47
detulei never mask any strings so i don't have these problems14:47
rpierce99weird, the one on my hard drive says updated dec 1914:47
as_dfi didn't mask any strings either :/14:47
rpierce99it masks some things automatically14:48
rpierce99i guess i could make that optional14:48
rpierce99or i could do the file operations is chunks14:48
rpierce99so i don't have to read the whole log into memory14:48
arrrghhhi figured the logs would fill the buffers before it gave your app any trouble.14:49
rpierce99as did i14:49
arrrghhhsome of the automatic masks are really quite nice.14:49
arrrghhhone of the main reasons i really like using the app.  that, and overall laziness.14:49
detulewhy is it allocating 10MB14:49
detulethat's huge, or are the logs really that big14:49
rpierce99as_df does just a file work?14:50
as_dfi disabled facebook's uploadmanager to free up some ram and rebooted14:50
as_dfit works now14:50
as_dfhttp://pastebin.com/AZh5E9z6 is the log from one phone call detule14:51
rpierce99i doubt we have 10mb of buffers set aside for logs between logcat and dmesg14:51
as_dfafter the phone call all speaker operations fail14:51
arrrghhhi blame facebook.14:51
arrrghhhyea 10mb of text is gigantor.14:51
rpierce99but i would assume dalvik tries to get memory in chunks larger than it needs14:51
rpierce99so as not to have to go back for more14:51
as_dfyeah, amortized O(1), but that still means the request was on order 5 MB14:53
detulek as_df try 3.1 and then post the log14:55
rpierce99I allocate a stringbuilder, fill it with lines from the log output until the logs are over, and then allocate a string from the .toString() method of the stringbuilder, then run replace( on that string several times to perform the masking14:56
rpierce99because i never destroy the stringbuilder i'm guessing i'm using twice the necessary space14:57
rpierce99i don't know how efficient the internals of the replace method are14:57
*** rneese has quit IRC15:00
detulehm...life wold be easier if i could recreate this on my device....i am on a build that's a few commits behind from gbx0b perhaps those make a difference15:00
*** rneese has joined #xdandroid15:05
as_dfdetule: ringtone still not functional but doesn't break after failing to ring anymore15:06
as_dflogs generating15:06
detuleok try this as well http://forum.xda-developers.com/showpost.php?p=21180563&postcount=8415:07
*** Siftingcinders has joined #xdandroid15:08
as_dfcompletely unrelated: also my phone seems to tend to get stuck on 1x. i need to flip to airplane mode and then back again15:08
detulesee if arrrghhh can hook you up with the VZ radio15:08
as_dfhttp://pastebin.com/tcGJQVCS is the 3.1 without changes15:09
as_dfbut i'm on sprint? or is this not vz-specific15:09
detuleok no more obtainBuffer that's good15:10
rpierce99i'm using the sprint radio, but arrrghhh is on sprint and uses the verizon radio with no issues, it's just a cdma radio, verizon just has the newest15:10
SiftingcindersI've never really had an issue with the Sprint radio either15:11
as_dfi get stuck in 1x if i ever use it :/15:12
detulei used to get erratic 1x behavior on the sprint radio, perhaps it's placebo but with the VZ radio it doesn't do that (as much)15:12
SiftingcindersHay detule, I made it15:14
detulehey thanks for dropping by on the party15:14
Siftingcindersone issue I just thought of, I'm using my phone as a hotspot for this, so if I restart I lose Internet :/15:15
detulei was going to have you try the 3.1 kernel but I am not even sure if the hotspot feature works with that15:16
as_dfdetule: works after the first call15:18
SiftingcindersWell, I have the zimage and modules already to go, I just need to boot into it from froyo15:18
as_dfdetule: the first call also is really buggy15:18
as_dfwon't unlock the screen15:18
detuledisregard the first call, i think i am not init-ing the audio components correctly in 3.1....play a sound through settings->sound first15:19
as_dfokay rebooting to start from clean slate15:19
detuleSiftingcinders, i made some changes this morning, make sure you have the latest one from the autobuild15:20
Siftingcindersah15:20
as_dffirst call still fails15:26
as_dfsecond+ calls seem to succeed15:27
Siftingcindersdetule: in 3.1, do you want me to try to crash the audio, then get logs?15:28
as_dfincluding after decline and accept. log is generating15:29
detuleSiftingcinders, sure15:29
detuleas_df, so baring that first call everything else is functional?15:29
as_dfyeah15:29
as_dfi can't get it to break15:29
detulealright15:30
as_dfhttp://pastebin.com/CUim7UNM is the log. was there a combination of kernel and libaudio problems?15:30
as_dfi'll miss the 3.5mm jack on 3.1, but i am much happier with a phone that doesn't crash when people call it15:30
detuleit'll make it to .27 just need to hunt down emwe15:31
detulethe obtainbuffer issue is userland15:32
*** raymonddull has quit IRC15:33
detulei added some robustness in the kernel to check whether userland is asking for something stupid, and this seems to have resolved it15:33
detulethe issue with no ringtone, but everything else functions is a mystery15:33
detule(to me)15:33
detulerpierce99, and arrrghhh also have 400s and they don't see this15:34
detulei on the other hand have never had the ringer work on an incoming call with the stock libacoustic15:34
detulei thought my device was broken15:34
as_dfpfc_m_drake didn't have the problem solved with new libaudio and 3.1 in the thread though15:37
detulei patched 3.1 this morning15:37
as_dfah15:38
detuleit might still end up not being the final solution, but glad I didn't waste your time at least15:39
SiftingcindersI'm on 400, and i only had the ringer work during one boot about halfway through... I can't remember what was happening that made it start working ( if anything)15:39
SiftingcindersOkay, I'll get back to you if I find anything detule15:42
detulesure, thanks15:42
*** Siftingcinders has quit IRC15:43
as_dfis there a git repository for your 3.1, detule?15:44
as_df(where does the autobuild build from?)15:44
detule.39 3.0 and 3.1 are built from https://gitorious.org/linux-msm-rhod/linux-msm-rhod15:44
arrrghhhas_df, all our poop is open.15:46
arrrghhhexcept for the poop that is closed, by usually qualcomm.15:46
detuleas_df, btw it's not mine15:47
mgross029detule: kexec enabled in 3.1?15:48
as_dfarrrghhh: also what's this about a VZ radio? i'm having issues with getting stuck on 1x on my sprint phone15:48
arrrghhhas_df, so put the vz radio on15:48
arrrghhhi'm on it, works great.15:48
arrrghhhit's pretty much necessary on NAND.  just helpful on HaRET15:48
detulemgross029, yes15:48
*** BadSector has left #xdandroid15:48
mgross029Cool!  Thanks!15:48
mgross029Checking out your new sound tweaks.15:49
detuleyou never had any issues with the ringer on your rhod50015:49
detulethey will likely not do anything for you15:49
arrrghhhlol15:50
as_dfarrrghhh: where do i get the vz radio?15:50
arrrghhhas_df, the forums...?15:50
arrrghhhthe radio thread would be a good place to look. i'm guessing you want a hand-fed link?15:50
*** BadSector has joined #xdandroid15:52
*** BadSector has left #xdandroid15:52
mgross029detule, Actually I do have issues from time to time.  Ringer just doesn't ring sometimes or becomes in audible.  Just turned on vibrate always to avoid.15:52
detuleas_df, still around16:10
as_dfdetule: yep16:10
detuleyou in airplane mode in winmo?16:10
as_dfdetule: yep16:11
detuleok16:12
detulenevermind16:12
*** f00bar80 has joined #xdandroid16:20
f00bar80no news about a stable GB release soon ?16:20
helicopter88you can use the acoustic one16:22
f00bar80helicopter88, is it considered stable ?16:30
rpierce99as stable as anything else this project has ever released16:30
helicopter88It works very well16:30
f00bar80what about Iceacream sandwitch16:35
rpierce99very unlikely16:36
detuleas_df this is from your log right before the first ring 01-10 14:25:55.141 E/RingtoneManager( 1385): Failed to open ringtone null16:39
as_dfwhich log is that16:39
detuleCUim7UNM16:40
arrrghhhrpierce99> [01/10 14:30] as stable as anything else this project has ever released16:40
arrrghhhthis16:40
as_dfthere was one log where i did screw that up but the ringtone has been fixed16:40
arrrghhhf00bar80, ICS may happen, but it won't be anytime soon.16:40
as_dfhrm, that one still has that?16:40
arrrghhhconsidering how many native devices have it?16:40
as_dfthat is odd16:40
detuleit's whatever latest log you sent me, you have a stock ringtone or an mp3?16:40
as_dfa mp316:40
arrrghhhas_df, please test with built in rings.16:40
detuleit's possible that mediascanner hasn't finished scanning your directories yet16:41
arrrghhhyou're adding layers of complexity here that are not necessary.16:41
as_dfhm, okay, switching to stock16:41
arrrghhhjust to level the testing field as it were.16:42
f00bar80is there a way to send sms from terminal ?16:43
*** mgross029 has quit IRC16:45
detulealso give it a healthy minute or two with the screen on before you call the device16:46
detulei have no idea what that error is about16:46
as_dfyeah changing to stock ringtone still gives ringtone null. now rebooting again but not calling as soon as powerup16:50
arrrghhhf00bar80, doubtful.  that sounds painful.16:50
arrrghhhf00bar80, that's really a question for native devices, not necessarily about the port.  just sayin you should probably search around there first if you have questions like that which apply to all of android.16:51
f00bar80arrrghhh, i've tried am start -a android.intent.action.SENDTO -d sms:012222333 --es sms_body HELLO --ez exit_on_sent true , but this didn't send it16:57
arrrghhhwhy would you do such horrible things?16:58
arrrghhhthere's these app thingys that make sending messages pretty easy.  there's even a touchscreen interface built just for it!16:58
as_dfdetule: works17:00
as_dfwith both mp3 and stock ringtone17:01
as_df(letting the phone 'warm up' instead of calling as soon as i see the lock screen)17:01
f00bar80just asking , kind of coding an automation script ... the code above .. how to trigger the view's onClick/onEditorAction automatically17:01
arrrghhhf00bar80, really a native Android problem/question.17:02
arrrghhhi'd search/bug those guys...17:02
arrrghhhas_df, were you calling immediately?  the phone isn't up immediately.17:02
detuleas_df no more ringtone null?17:02
arrrghhhi usually wait until the service bars go green before doing anything17:02
as_dfarrrghhh: i was calling as soon as i saw the lockscreen and the service provider string17:03
as_dfdetule: no more ringtone null17:03
detulealright done my deed for the day, thanks for testing i am out17:03
arrrghhhdetule, thanks dude!17:03
as_dfthanks!17:03
detulenp17:03
*** helicopter88 has quit IRC17:06
*** siftingcinders has joined #xdandroid17:29
*** ke- has quit IRC17:31
siftingcindersdetule, the audio does not crash. also I got a ringer on the first call17:34
detulecool thanks for stopping by17:35
siftingcindersAnd second call17:36
siftingcindersdo you one logs?17:37
siftingcinderswant*17:37
detulenot if everything is working fine17:39
siftingcindersOne issue, speaker phone audio is dead the first time you turn it on in a call. If you toggle it off and on again, it works.17:42
siftingcindersI had sortof  the same issue in .2717:43
detulethis on every call?17:44
siftingcinderson the 2 i tried17:44
detulewait let me get this straight, you get a phone call it rings fine, you answer it, routes fine to the headset, you press the speaker soft key nothing comes out?17:46
as_dfdetule: just tried that sequence right now17:47
as_dfworks fine17:47
as_dfwell, i initiated the call17:47
arrrghhhyea that's a new one siftingcinders17:47
as_dfhrrrm i'll try the receiving17:47
arrrghhhspeakerphone has "always" worked.17:47
as_dfdetule: other direction does not work17:48
as_dfyou have to toggle speakerphone twice17:48
arrrghhhorly17:48
arrrghhhthat's new.17:48
as_dfokay17:49
as_dfyou don't have to toggle twice17:49
as_dfwaiting five seconds17:49
as_dfthen turning on the speakerphone works17:49
siftingcindersohh I always try within that 5 second window17:49
as_dfdid this work before? i didn't really use the speakerphone much before17:50
detulei can't get it to misbehave 5 seconds or not17:50
siftingcindershttp://pastebin.com/bCNtfBUW       --Last call I turn speakerphone on after one or 2 seconds17:51
as_dfhuh that is really weird17:52
as_dfif i turn the speakerphone on immediately, the speaker actually works for a tiny bit17:52
as_dfand then cuts out17:52
siftingcindersme too17:52
arrrghhhson of a biscuit.17:53
arrrghhhyou guys are right -_-17:53
arrrghhhi don't remember this ever being an issue, must be an acoustic thing...17:53
detulearrrghhh, which libs are you running stock all the way?17:54
*** f00bar80 has quit IRC17:57
arrrghhhyessir17:58
arrrghhhstock libs, 3.117:58
arrrghhhprobably an "old" 3.1 at this point too :P17:58
detulethat's helpful older than yesterday?17:58
arrrghhhsorry17:58
arrrghhhuhm... lemme look17:58
arrrghhhit was yesterday i downloaded it (i think)17:58
arrrghhhmodules-3.1.6-g50f5d39.tar.gz17:59
detulecool that saved me some head scratching17:59
arrrghhhi'm guessing i should update?18:01
rpierce99detule is just glad it's not in his new changes18:01
arrrghhhlol18:01
*** siftingcinders has quit IRC18:01
detulehe's got it right, the last two commits were acoustic related and you are older than that so i didn't break anything18:01
detulei can't reproduce it...18:02
detulelike ten times out of ten18:02
detulespeaker works every time18:02
rpierce99it sounds like the accepting of the phone call and routing audio takes some time, but you can jump the line with the speakerphone button and reroute the audio, but once the main answer process catches up and executes its audio routing it sets it back to regular mode18:02
*** Siftingcinders has joined #xdandroid18:03
*** fishhead2567 has quit IRC18:03
SiftingcindersWant me to do anything else detule?18:07
as_df(joking) solution: add a 2 second lag to the speakerphone button18:07
rpierce99as_df: hey that's how we fix shit around here18:08
detuleSiftingcinders, if you can get me a log with a single phone call where you experience the issue that would be helpful18:09
as_dfit'll work if there's a good way to look at the call timer and only do that when it's the start of the call18:10
rpierce99solving a race condition by adding an artificial delay is never the right way to approach it, but then again neither is always setting mic = 1 :)18:13
detulethere shouldn't be a race with powering on the speaker, at least in 3.1 the speaker power calls are on a workqueue18:15
rpierce99well it sounds like the normal "answer call" routine sets speaker off, but does so 5 seconds after the call is answered18:16
rpierce99that could be completely false though18:16
detulei can18:17
detulet reporduce it therefore it's not happening :)18:17
rpierce99i've used that line several times over the last week or so on a project for work :)18:18
rpierce99in my case it's more like "only you can reproduce it, no one else can, so it's your computer, not the code"18:18
Siftingcindersdetule: should i do it  on a clean data.image18:18
detuleno need18:19
detulejust reboot, receive call speaker on (test if it's working) speaker off speaker on speaker off end call collect log18:20
*** corein has quit IRC18:20
detuleso you fellas can reproduce this 100% of the time?18:21
as_dfyeah18:23
as_dfsomeone took the other phone that i was testing with back18:23
as_dfso i haven't dumped a log yet18:23
detulemy money is on this https://gitorious.org/xdandroid/hardware_msm7k/commit/789281cf4ce98d29df64563fb62bc5ca523b0318 that's about the only commit that i don't have in my system18:27
Siftingcindershttp://pastebin.com/XjYdqgHG      -- called voicemail, speakerphone on ( audio cut out after a second), speakerphone off, on ( works), end call18:39
Siftingcindersahh no ringer on this boot18:43
*** mes__ has joined #xdandroid18:43
mes__any one know why su doesn't seem to work anymore? the one in /system/xbin/su ?18:47
Siftingcindersdetule, pm me if you need more done!18:48
*** Siftingcinders has quit IRC18:48
detuleit's ok thanks it's not a kernel issue userland is actually asking it to stop18:49
detuleno idea why i almost want to pull libaudiopolicy from my device to see if it will rectify the issue on yours18:49
as_dfi'm having issues getting wifi up in 3.1. insmod: can't insert '/lib/modules/bcm4329.ko': invalid parameter with freshly extracted modules-3.1.6-g038bab8.tar.gz18:53
mes__I get "Stopped (signal)        su" Bus error               su18:54
as_dfdmesg doesn't seem to have anything that immediately tells me any issue http://pastebin.com/hjcFeJYd18:55
detule"strings /lin/modules/bcm4329.ko | grep magic"18:56
detule"strings /lib/modules/bcm4329.ko | grep magic"18:56
rpierce99i always love looking for magic in my files18:58
as_dfvermagic=3.1.6-g038bab8 preempt mod_unload ARMv619:00
as_df__mod_vermagic519:00
detuleno idea works fine here19:02
rpierce99could be arrrghhhs firmware junk doesn't work :)19:03
detuleas_df, try that audio bug with http://dl.dropbox.com/u/38520332/libaudiopolicy.so in system/lib19:06
detulealso rpierce99 is suggesting to check whether md5sum /system/etc/wifi/bcm432x/bcm4325-rtecdc.bin is bca2cb274070423a7ea332c1e8cee11519:07
as_dfno, still same symptoms19:14
as_dfmd5sum matches19:15
detuleas_df, still same audio with that *.so19:15
as_dfdetule: yeah19:23
*** pfc_m_drake has joined #xdandroid19:42
*** pfc_m_drake has quit IRC19:48
mes__I see, su isn't su anymore, ie. doesn't work from cli19:50
*** pfc_m_drake has joined #xdandroid19:50
*** hardwalker has joined #xdandroid19:51
arrrghhhmes__, that's some issue you created all on your own.19:55
arrrghhhSU/the app works great here.19:55
arrrghhh...new data.img?  at least to test the theory.19:55
mes__from adb?19:56
arrrghhhrpierce99, my firmware logic is flawless :P19:56
pfc_m_drakeHey guys - Detule asked me to drop by and help him with some audio testing.19:56
arrrghhhmes__, from everywhere.  adb, apps, doesn't matter.19:56
arrrghhhpfc_m_drake, i *think* he got all the demons out.  detule ?19:56
arrrghhhthey were still hashing some acoustic problems about 45 mins ago.19:56
mes__so you can login with adb and su from the commandline?19:57
arrrghhhmes__, good lord19:57
arrrghhhYES19:57
arrrghhhYES I CAN19:57
arrrghhhIT WORKS19:57
arrrghhhIT WORKS GREAT19:57
arrrghhhdoes that clear it up?  :P19:57
arrrghhhsometimes SU doesn't pop up immediately.  i have had a few times where i had to try the command again.19:58
arrrghhhusually that's after a reboot and i'm being impatient.19:58
pfc_m_drakeOk, thanks arrrghhh.  I'll hang around for a while in case he still wants/needs something.  As long as that's ok with you guys...I have to confess that I don't get to hang with the 'cool kids' very much in real life :P19:58
arrrghhhlol19:58
arrrghhhpfc_m_drake, pretty sure none of us are cool kids :P19:58
arrrghhhbut you are more than welcome to hang out.19:58
mes__pop up? I have only an xterm on the laptop running adb, but I will try with the GB build you posted a few days ago19:59
arrrghhh...19:59
arrrghhhmes__, i really honestly have no freaking clue what you're talking about, but SU works great.  has since forever.20:00
arrrghhhthere was a problem on 2.3.7, but that was never publicly released.  it was fixed a looong time ago.20:00
arrrghhhbut i'm goin home, cya guys later.20:01
mes__connect usb, type /android-sdk-linux_86/platform-tools/adb shell, gives $20:01
pfc_m_drakeLater, arrrghhh.20:01
rpierce99mes__: our build is secured, the phone needs you to tap "allow" in the superuser app to give adbd permission to run as root20:02
mes__yes I see that now, normally I don't touch the phone when I use adb20:02
*** d3tul3 has joined #xdandroid20:12
d3tul3pfc_m_drake, thanks for stopping by we beat acoustic to death earlier today20:12
mes__is there some way to stop the network update check in Superuser?20:13
pfc_m_drakeNo problem detule.  Sorry I couldn't make it until now.  Real life jobs and all...I'm sure you know how that goes.20:13
pfc_m_drakeBut I'm glad to hear you licked the problem.  Honestly I felt like kind of a pain in the ass for bringing it up.20:14
pfc_m_drakeSo I'm glad you guys knocked it out.20:14
*** mes__ has quit IRC20:22
d3tul3not sure if we knocked it out, but we made some progress, thanks to some good log collecting by yourself and some other folks in that thread20:25
pfc_m_drakeNo problem.  If there's anything else you need from me, just shoot me a PM.  Happy to help however I can...you guys do awesome work!20:26
d3tul3cool thanks for being available…i really don't know what i am doing with this just futzing around, unfortunately the guy who wrote the acoustic code is not around much these days20:27
pfc_m_drakeSorry to hear that.  But yeah - I'm available and I'll lend whatever hand I can.  I'm going to take off for now, but feel free to look me up whenever.  Catch you all later.20:31
*** pfc_m_drake has quit IRC20:31
d3tul3as_df, around?20:51
d3tul3or arrrghhh20:51
arrrghhhwat up playa20:52
d3tul3hey you were seeing that problem with the speaker too20:52
d3tul3have a minute to try a lib?20:52
arrrghhhsure20:53
d3tul3ihttp://dl.dropbox.com/u/38520332/libhtc_acoustic.so20:53
d3tul3i have to stop looking at acoustic20:53
d3tul3bugs will never stop20:53
arrrghhhgoing blind?20:53
arrrghhhlol20:53
d3tul3it's the gift that keeps on giving20:53
arrrghhhindeed20:53
arrrghhhyou saw emwe get sucke din20:53
arrrghhhsucked in*20:53
d3tul3i keep thnking "this is the last"20:54
arrrghhhhah.  funny guy.20:54
arrrghhhacoustic does seem close tho.  this speakerphone one is odd, i swear i've never experienced it before.20:55
arrrghhha dog.  getting a bah mitzvah.20:55
arrrghhhreally?20:55
arrrghhhbat mitzvah?20:56
arrrghhhwhatever20:56
rpierce99d3tul3: you know this is how hyc ended up spending months on the RIL right? lol20:57
arrrghhhugh.  whenever sync kicks in the phone slows to an absolute crawl.20:57
arrrghhhrpierce99, mainly because there was just stubs for cdma.  he wrote that crap from nothing.20:57
arrrghhhi'm still amazed he went that extra mile on mms.  really was above and beyond.20:58
d3tul3i can't replicate that speaker bug for the life of me20:59
arrrghhhoh is this the "outdated" lib from your build?20:59
d3tul3no, that was libaudiopolicy which apparently doesn't matter20:59
d3tul3i just saw something that could be wrong in libhtc_acoustic20:59
d3tul3here i can lay it out20:59
arrrghhhlol ok20:59
d3tul3the problem is basically lines 902 and 903 in this log that they sent me earlier today http://pastebin.com/XjYdqgHG21:00
arrrghhhdamnit21:01
arrrghhhthat 'i' was screwing me up21:01
d3tul3you see it's settling on routing to device 13 (speaker_mic), but set_audio_path still says Speaker = 021:01
arrrghhhweird.21:01
d3tul3there's quite a few things that happen between those two lines21:02
d3tul3i just picked one spot where i think it's failing21:02
rpierce99ah the dartboard method, good call :)21:02
d3tul3in particular21:02
d3tul3i changed this line https://gitorious.org/xdandroid/hardware_msm7k/blobs/gingerbread/libacoustic/libacoustic.c#line161621:03
d3tul3-        if ( (device_out == SND_DEVICE_SPEAKER) || (device_out == SND_DEVICE_PLAYBACK_HANDSFREE) ) {21:03
d3tul3+        if ( (device_out==SND_DEVICE_SPEAKER_MIC) || (device_out == SND_DEVICE_SPEAKER) || (device_out == SND_DEVICE_PLAYBACK_HANDSFREE) ) {21:03
d3tul3-        if ( (device_out == SND_DEVICE_SPEAKER) || (device_out == SND_DEVICE_PLAYBACK_HANDSFREE) ) {21:03
d3tul3-        if ( (device_out == SND_DEVICE_SPEAKER) || (device_out == SND_DEVICE_PLAYBACK_HANDSFREE) ) {21:03
d3tul3+        if ( (device_out==SND_DEVICE_SPEAKER_MIC) || (device_out == SND_DEVICE_SPEAKER) || (device_out == SND_DEVICE_PLAYBACK_HANDSFREE) ) {21:03
d3tul3uh too many pastes21:03
d3tul3just the first minus plus21:03
rpierce99so you added SND_DEVICE_SPEAKER_MIC21:04
d3tul3yes, that seems obviously wrong21:04
rpierce99if device_out is snd_device_speaker_mic it would hit the else block and speaker and headset would both be false21:04
d3tul3right which seems like a bug to me21:05
rpierce99line 1632 echoes the device_out value, are you seeing it equal SND_DEVICE_SPEAKER_MICs value?21:06
arrrghhhchmod to 755?21:06
d3tul3yeah that's like 903 in the pastebin21:06
d3tul3it echoes 1321:06
d3tul3arrrghhh, 777 to be sure :)21:07
arrrghhhoh21:07
arrrghhh64421:07
arrrghhh777?21:07
arrrghhhlol21:07
arrrghhhi was just matching the other lib, which is 644...21:07
rpierce99and SND_DEVICE_SPEAKER_MIC is 13?21:07
d3tul3yes21:07
rpierce99sounds good to me21:07
rpierce99not that my approval means anything21:07
arrrghhhalrighty.  gonna rebootski and try this out21:08
d3tul3arrrghhh, matching the other lib is a good idea21:08
arrrghhhoO i should go to the newest 3.121:08
arrrghhhanything else i should mangle?21:09
d3tul3not for the purposes of testing that speaker bug i guess21:09
arrrghhhk21:09
d3tul3probably don't need to update the kernel either21:09
arrrghhhwell i'm going to anyways.21:09
arrrghhhso there.21:09
arrrghhh:P21:09
arrrghhhdamn, reboot hung.21:10
d3tul3in 3.1 power-off is reboot21:11
d3tul3:)21:11
arrrghhhreboot is... freeze?21:11
d3tul3i guess21:11
arrrghhhlol21:11
arrrghhhoh, wasn't that necessary for kexec for some odd rason?21:11
arrrghhhreason*21:11
d3tul3arrrghhh, what's the word21:22
arrrghhhit just went green21:22
arrrghhhso testing commencing21:23
arrrghhhseems to work fine21:23
arrrghhhspeaker went on @ 1-2s21:23
arrrghhht'was functional21:24
d3tul3i'll take it21:24
arrrghhhlast time it failed on an outbound call21:25
arrrghhhso i figured another outbound call would be a valid test.21:25
d3tul3yeah this log that guy sent me was outbound21:25
arrrghhhwell crap man, good job.  this acoustic code might be flaky, but for good reason.  the logic is wrong :P21:25
arrrghhhso the only thing i really want to see done with acoustic is the csv's in the system image, and perhaps the overall volume tweaked higher... which i guess the csv's can help with?21:26
arrrghhhi guess that's 2 things.21:26
arrrghhhi should stop guesing.21:26
arrrghhhor typing...21:26
*** BulitPruf has joined #xdandroid22:19
*** TheSeven has quit IRC22:23
*** [7] has joined #xdandroid22:23
*** rneese has left #xdandroid23:30
*** rneese has joined #xdandroid23:34
*** d3tul3 has quit IRC23:55

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!