yashsingh1/xdaforums huggingface dataset:
[HTC Desire S] Nexx:
Sorry all, had some real-life stuff which required me to take a day out of Android developments.

Rather than quote you all, I'll just address the issues.

Recording audio quality:

A huge merge of code in CM killed camcorder recording for us, I eventually tracked this down to some error with out media profiles and as a quick fix I used a known-working one from another HTC 7x30 phone. I'll get ours tweaked and get the sound quality fixed, thanks for reporting it.

Random reboots:

I'm not currently running a nightly build so I haven't seen this personally. Can someone provide a last_kmsg after it's happpened please? I need to know if it's a kernel bug being triggered or whether it's something in the CyanogenMod userspace.

I won't ever abandon you guys, I love fixing these issues as much as you all love seeing them fixed. We both want CM to be perfect =)

I'll be back to my usual development routine tomorrow.
[HTC Desire S] guhh123:
Using #42 and my phone doesn't turn off randomly, I'm using cyanogen kernel, not tiamat kernel
[HTC Desire S] djsubtronic:
Thanks :)

How do you get the last_kmsg? And does this need to be done immediately after booting from a random shutdown?
[HTC Desire S] Nexx:
ADB is the easiest way to get the last_kmsg:

adb pull /proc/last_kmsg

You can do it any time after a random reboot, it's the previous kernel log.
[HTC Desire S] sharper00:
Try clearing the market data from Manage Applications first. I've found it a bit flaky unless I do that.
[HTC Desire S] shrome99:
Change language to english. It's Hd or somthing. That'll surely fix market FC.
[HTC Desire S] vampire36:
Make language to english us...

ur prob wud be solved :)
[HTC Desire S] Bllazo:
Changing language Hd english to youre language or somthing.

That works for me
[HTC Desire S] csandjaja:
@shrome99 and @vampire32 ..It is working now , no FC anymore

Thanks both of you...
[HTC Desire S] djsubtronic:
Is there any reason why the language needs to be changed? On my phone it works on any language.
[HTC Desire S] scrack26:
anyone using the Nightly? can someone tell us if it's all good. or much better to stick with the 1.0.5?
[HTC Desire S] djsubtronic:
Where would be the best place to report bugs/issues, here or elsewhere?

The noise attenuation bug when using headphones still needs to be addressed.
[HTC Desire S] JackyJack:
Does the automatic generation of the CM nightlies means that we soon would get an official CM7 RC ?
[HTC Desire S] Dylan '07:
Use of the nightlies is ALWAYS at your own risk but so far I haven't found major differences between the stable but unofficial 1.05 and the nightly 3. I use the Tiamat 1.1.3 kernel.
[HTC Desire S] bjohv052:
Here is the best place. You can't use the tracker until we reach RC.
[HTC Desire S] Nexx:
Firstly, apologies that I haven't been active since we reached nightly status. After working so hard to get the code merged and building automatically I needed a few days break =)

I imagine so once a stable release comes out. Whether that will be RC2 or the final I'm unsure.

This seems to be an annoying hit-and-miss bug with the new market. It's not a CM or Saga bug I'm afraid.

The nightly is currently just the latest CyanogenMod code, no changes have happened to the Saga code since 1.0.5. If I fix any bugs in that code I'll push a new version out.

Please report bugs here, don't use the CM issue tracker.

On the sound attenuation, I've finally tracked this down and it's the stock Android behaviour. Android pauses media playing on headphones when a notification arrives and CyanogenMod contains the same code. The other AOSP ROM's have the same issue as well, unless they've specifically been coded differently. I imagine HTC changed that behaviour in Sense.

We are unlikely to get an official RC1 release, but I'm hoping we will be included in RC2 when it arrives. Personally I'm running the nightlies which I update once every few days.

Tiamat kernel volume:

I've spoken with Cayniarb about the volume levels on the Tiamat kernel. I'm tweaking them and will submit a patch to him once I have decent values to use. That will likely be included in 1.1.4 as and when it's released but I'll ask his permission to release a patched version here for us to use.

Continued battery drain issues:

Try as I might, I cannot reproduce the battery drain that a few of you are reporting. Unfortunately it could be any number of things, from the radio to an application or something else. Aeroplane mode doesn't rule out battery drain from the radio as I've seen many times that battery usage actually rises significantly with aeroplane mode enabled. As for why this happens, I've no idea but I've seen it on several handsets running both AOSP and Sense ROMs.
[HTC Desire S] shrome99:
Awesome. Thanks for the reply. I'll try the nightly a few days later.
[HTC Desire S] sharper00:
I haven't seen it for several days despite not changing anything or removing/installing any applications. I really don't know what the trigger is but when it happens you lose a lot of battery life very quickly in idle.

Last night I switched to the Voidus ROM to compare. Idle usage is about the same (1% battery loss every 50 minutes or so) though wifi signal is much stronger.
[HTC Desire S] 522122:
Hi there, I moved to cm7 from miui yesterday, all what I need from my phone is working for me. I just have one question about upgrading. Let's say I want to allways stay on newest build out there. I'll install them via recovery, will I lose google aps? I thing that i will, so if I flash right after google apps will my account stay linked to them or anytime I'll be setting up that crap? Or is there any other way how to upgrade?
[HTC Desire S] Wout2426:
If you wipe only cache and dalvik before you flash the latest nightly you wil lose nothing.
[HTC Desire S] 522122:
But i still need to install google apps in recovery after updating. I checked updater script and it's formatting your system so i will lose that apps for sure.
[HTC Desire S] Wout2426:
I just flashed nightly 5 and it doesn't happen for me.
[HTC Desire S] bjohv052:
Yes, the updater script will format /system, but there is also a backup script that makes sure you don't loose gapps. They've thought of everything...
[HTC Desire S] 522122:
Ok thank you, i see that v 6 is out will try soon.

Edit

Can confirm that all went ok like you toled me.
[HTC Desire S] djsubtronic:
Just tried that, looks like proc/last_kmsg doesn't exist. I guess I have to wait for another random shutdown?
[HTC Desire S] Nexx:
It should exist :confused: The phone stores the previous kernel log (IE before a crash or reboot) so that it's available after a reboot. Regardless of how the phone is rebooted there should always be a log there.

C:\Users\Nexx\Desktop>adb pull /proc/last_kmsg
1710 KB/s (140156 bytes in 0.080s)

I don't know of any reason why there wouldn't be a saved log to retrieve.
[HTC Desire S] djsubtronic:
C:\Program Files\Android\android-sdk\platform-tools>adb pull /proc/last_kmsg
remote object '/proc/last_kmsg' does not exist
[HTC Desire S] Nexx:
I guess we'll have to wait and see if one exists if it reboots again =\

I'll have a talk with the CM guys and see if there are any other reports of random reboots.
[HTC Desire S] djsubtronic:
Ok cool, thanks. But note, it's not a reboot (at least in my case), the phone literally just turns off. Instantly. I hit the power button expecting the screen to turn on, except I am greeted with the white HTC screen.
[HTC Desire S] Nexx:
I'm compiling a fresh build now, I'll run it today with a bunch of logging and I'll try and track this down.

To those experiencing the crash / reboot, are you using the stock kernel or the tiamat kernel?
[HTC Desire S] Nexx:
Right, running a new build on my phone, should be the same code as #43. Stock kernel and haven't had a reboot or crash yet. Is there anything in particular that triggers it, or is it random? Do you only notice when you go to unlock the screen?

I assume the phone just looks like it's off, which means it's happening when in standby?
[HTC Desire S] djsubtronic:
Running Stock kernel. And yeah, it seems to happen when it's standby. Funnily enough, 3 of the times it happened was when I put the phone in my pocket then took it out and tried to turn the screen on, discovering that it had switched off. I thought this may have been sensor related, since in the pocket the sensor would be covered. But then once it happened just lying around on the bed. I haven't been able to replicate the issue. Then it works fine all day, doesn't seem to happen when phone is asleep but with music playing. And so far still cannot make the issue occur on demand. It hasn't happened at all today. Pocket or no pocket, music or no music.
[HTC Desire S] CfYz:
Nexx, you are the man. Such a great job providing support for the desire s :) giant tnx!

BTW, random power off looks like hardware issue of a single device...

_________________

there is hope...
[HTC Desire S] djsubtronic:
Why you gotta be hating on my phone, playa hata.
[HTC Desire S] Nexx:
Been running the latest CM code since earlier without issue, nor has any of the CM dev team heard of this issue.

Is it possible your battery stats data has become corrupted and your phone is shutting down because it thinks the battery is about to die?
[HTC Desire S] djsubtronic:
It hasn't happened all day today. Would a wipe of the battery stats from CWM fix what you are referring to above? I'll do that and keep tabs on this issue. Might have just been something completely random. I have been watching a lot of Fringe lately.
[HTC Desire S] scrack26:
it did happen to me, random shut-off before, then i notice this when i put my phone in my bed with the open screen and suddenly shut off... in my case i open it again, put it in my bag and pocket when i pull it out it was shut off... to my suprise i just inserted and adjusted the battery properly. and all thing is well again. :) well this is just my case. i don't know if it's software related on your phone. mine was user problem. LOL!
[HTC Desire S] :
On nightly #41 I have trouble with GPS locking... Don't know if that happened before since I wasn't using GPS for some time.

Running GPS Status app, says "assistance data downloaded", 12 satellites above my head and it still takes at least 2 minutes. On my old Desire it would take ~10 seconds.

Ideas?

EDIT: Meh, installing FasterFix and setting server to Europe solved this.
[HTC Desire S] Nexx:
lol =P How has it been today? Any random shutdowns? If so, did last_kmsg exist afterwards?

I've been working on the sound issue when recording today. It seems to be due to the huge OMAP merge last week so I'm having to go though the commit file by file looking for anything relevant.

I'll let you know as and when it's fixed.
[HTC Desire S] amidabuddha:
Hello Nexx,

probably a dumb question, sorry in advance but do you have any info is CM going for android 4 or it will keep 2.3.7 for some time?
[HTC Desire S] djsubtronic:
Nothin at all today. Maybe it was just something like the poster above mentioned about the battery being loose - which would probably explain why there was no kmsg. I think we can safely assume this is not an issue and not bother looking into it in vain. If it crops up again, I'll definitely post the kmsg if there is one.

As for the audio issue, I can imagine how tedious that would be. No urgency from my end. :)

Thanks
[HTC Desire S] Nexx:
I'm afraid I don't know anything about the plans for CM based on Android 4, just that nothing can even be started until the source is available, which is supposed to be some time after the new Google handset is released.

Keep me posted djsubtronic, if there is an issue I would, of course, like to get it sorted. A sudden power loss such as a loose battery certainly would explain the lack of a last_kmsg though.
[HTC Desire S] bjohv052:
As soon as the source is out, work will begin. When gb source was released, I think it took 3-4 months before nightlies started for Legend, which was my phone at the time.
[HTC Desire S] heidewitzgar:
hey everyone,

my device also shuts down by itself, and one guess is that this is the result of a bug/feature of CM: when the phone is locked and the power button gets pressed for a while (also accidentally in my pocket) then the 'Phone options' menu pops up. Maybe 'Power off' gets then selected through the pocket cloth?

Is there an option to disallow this menu from popping up while in lockscreen?

Oh and I know this question has been asked already but I can't find a clear answer: should I use Tiamat or CM default kernel? Which one has the better battery life?

cheers
[HTC Desire S] Tectas:
There are a few apps to replace the lock button, maybe there is also one to do the same for the power menu.

Both kernels are fine, the cm kernel is a little bit faster them the tiamat, but tiamat has more governors and it's undervolted, cause of this tiamat is a little bit better at battery life.

Swyped from my HTC Desire S
[HTC Desire S] sirioo:
which kernel to use? CM 2.6.35.14 or Tiamat Saga v1.1.5 ?

daily use and 245-1496 mhz with 2.6.35.14-cyanogenmod....how to set the governor?

thx
[HTC Desire S] Rapier:
Go to Settings - CM Settings - Performance - CPU settings...first pulldown menu is for governor. You can choose the "standard" ones or, if you have Tiamat you can also choose SMARTASS or SMARTASSV2. Below there are options for selecting min/max processor speeds

I am currently using CM kernel cause has a better speed (2100 in Quadrant compared to 1800 using Tiamat kernel), but I might try also Tiamat to see if battery life is improved. Another difference between the kernels is that CM allows max 1500 Mhz overclock and Tiamat goes up to 2000 Mhz
[HTC Desire S] sirioo:
I use the kernel cm 245-1486 MHz, and 3500 points quadrant result with the governor and set of interactive

the battery standby decreases of 0-1%, in daily use consumes too much battery ...

with kernel 1.1.5 tiamat (145 - 1486 MHz) with the governor and set of SMARTASS or SMARTASSV2 the device locks....

I want to know which kernel to use and which governor to use .. with 1500 MHz in daily use, improving energy efficiency

(I would like to test the two kernels , where can I download 2.6.35.14-CyanogenMod ? )

thx :)
[HTC Desire S] meinnameisthase:
LauncherPro freezes

With the latest few nightlies (I think since #43), LauncherPro freezes every now and then. Can't figure out why, never had this with the nightlies before. Tried a clean ROM and App install, and just had the first freeze.

Anybody else using LauncherPro having this issue? Any solutions?
[HTC Desire S] Rapier:
I've flashed yesterday nightly #47 to give it a try. What I've noticed is that for power widget switch, I get only some of the options from which to choose. Going to settings and trying to select sound modes for ex. gives me only Sound+Vibrate instead of Silent/Vibrate/Sound+Vibrate. Anyone encountered this as well?
[HTC Desire S] sirioo:
with #47 the icon of the ring and locked, if I click it does not change the ring setting
[HTC Desire S] Rapier:
Indeed, this is the effect. Not being able to choose from several sound modes in settings, the switch from power widget has only one setting...Ring+Vibrate (or what has been active before flashing the ROM)
[HTC Desire S] uoosuow:
All you have to do is to select which modes you want to switch.

Just go to Settings -> Cyanogenmod -> Interface -> Notification Power Widget -> Widget buttons -> Sound modes
[HTC Desire S] sirioo:
ok works thx ;)

What's the difference between Radio:

From the 2.10.401.4 OTA:

20.48.30.0822U_3822.09.08.20

From the 2.10.401.5 RUU:

20.4801.30.0822U_3822.10.08.04

recommended that you use?

thx...
[HTC Desire S] djsubtronic:
Nexx; haven't had anymore shutdowns. I think it's safe to assume that was an unrelated error on my part.

Have you had any joy with fixing the HD audio recording? Ironically, I rarely use the video recording feature but since the audio quality became **** I have had to use it on quite a few occassions. Life eh.
[HTC Desire S] Rapier:
What I've said in my initial posyt is that I DON'T have those modes. I can select only Silent, Sound, Vibrate, Sound+Vibrate...each option separately. I don't have for ex. Sound/Vibrate/Sound+Vibrate. So regardless of my choice that button toggles...nothing. Cause there's nothing to toggle, only one option.
[HTC Desire S] uoosuow:
You can select as many options as you want, not just one.
[HTC Desire S] Nexx:
Still tracking it down, the other CM devs are aware of it now too.

Here is an untested work-around which forces the minimum sample rate for AAC to 16kHz instead of 8kHz:

http://dl.dropbox.com/u/39735742/hd-audio-fix.zip

Flash from recovery.

Again, this is a work-around for the issue, we're still working on the core problem. Let me know how you get on with it.
[HTC Desire S] Rapier:
I know that, I have as you say when I flash the stable CM ROM. You didn't understood, sory if my explanation was not clear enough.. When I go to setup of the sound modes there is only one option for each list entry.

When I have the stable ROM I have the list like this (to choose from):

Sound+Vibrate/Vibrate

Sound/Vibrate

Sound/Silent

Sound+Vib/Vib/Silent

Sound/Vibrate/Silent

Sound+Vibrate/Sound/Vibrate/Silent

Vibrate/Silent

So when I choose something, the buton togles from the modes I've previously chosen (the ones separated by "/").

When I flash the nightly ROM the same above list appears as:

Sound+Vibrate

Sound

Sound

Sound+Vibrate

Sound

Sound+Vibrate

Vibrate

Look likes is just the first toggle from each entry.. Regardless of what I choose from the list there is only one mode so the buton does not do anything. I'm sorry if I am not understood but I don't want to flash the nightly again just to make print screens.

I'll eventually wait and try from time to time a nightly build to see if something has changed. Hopefully we might get a ICS build soon enough to stick with the stable 7.1 till then:)
[HTC Desire S] bioan:
Is it me, or the screen has become streched after the 46 nightly ?
[HTC Desire S] djsubtronic:
G'day mate!

This seems to be doing the trick currently. However, I have not one but two queries:

1. How come this audio profile claims to be "HD" yet is only 16 kHz, surely it should be along the lines of 44 kHz???

2. Is this information essentially stored in the media profiles xml file? Or is it hard coded somewhere else?

Many thanks and merry xmas x

Edit: I'm stupid; just poked around in that HD fix zip and answered question 2 myself.
[HTC Desire S] Nexx:
I'm not sure to be honest, it's the same configuration as the Sense ROMs use. You could try setting a higher sample rate in media_profiles.xml but I'm unsure if it'll work of if it'll cause odd issues.

I've now tracked the source of this problem, I'm going to have a chat with the CM devs today and get a fix pushed.
[HTC Desire S] bioan:
Could anybody share a screenshot of Settings menu ? I want to be sure if I messed up something or the image really got stretched.
[HTC Desire S] uoosuow:
Sense ROMs has standard 44100Hz - 96kbps - mono - AAC audio in HD. Setting 44kHz in media_profiles.xml should not be an issues, but profiles are not respected right now. (16kHz in profile, 8kHz in real)
[HTC Desire S] Nexx:
Interesting, that means the Sense ROMs ignore media_profiles.xml.

I've pushed a fix for the 8kHz problem, it's being reviewed but hopefully should be accepted soon.
[HTC Desire S] Nexx:
Patch accepted, next nightly will go back to obeying the media_profiles.xml =)
[HTC Desire S] JackyJack:
Sorry I don't use CM7 nightlies, but hey, you can go with your screenshot too ;)
[HTC Desire S] sirioo:
I updated the radio 20.4801.30.0822U_3822.10.08.04, this night my device has consumed 10% of battery in sleep mode .....

with the radio 20.48.30.0822U_3822.09.08.20 this does not happen on the night consumes 1% of battery

and a normal behavior with the @47 Nightly ?
[HTC Desire S] djsubtronic:
Nexx: I had a random shutdown again today after a few days of nothing; this time there was a last_kmsg, I've attached it here.
[HTC Desire S] sirioo:
out cm_saga_full-50.zip

Revert "OMAP: Configuring sample rate appropriatetly for AMR-WB record" (android_frameworks_base)

p990: Enable FM (android_vendor_cyanogen)

audioflinger: Add support for the LGE star's FM radio (android_frameworks_base)

Log newer qcom radio services on radio log (android_system_core)

cm: updated 'download space check' init script (android_vendor_cyanogen)

driver: msm: updated camera driver (htc-kernel-msm7x30)

ace: enable dual mic for nam device (htc-kernel-msm7x30)

libaudio-msm7x30: correct htc dual mic logic (android_hardware_msm7k)

msm7x30: updated lte driver (htc-kernel-msm7x30)

:)
[HTC Desire S] Nexx:
That is just weird. That last_kmsg is only 10 seconds long, and reads like the phone was booted and then shut off with the power button. It doesn't explain why the phone suddenly shut down from running though.
[HTC Desire S] djsubtronic:
Bizarre indeed.

Chalking this one up to Fringe.
[HTC Desire S] Nexx:
lol =P

Unfortunately we're back to not being able to dig further without a last_kmsg that actually captures the original shutdown. However, I'll see if I can't get a CM dev to look at the one you've provided and see if I've missed something.
[HTC Desire S] uoosuow:
Thanks. I can confirm that this works. Now you can easily put 44100 instead of 16000 to media_profile.xml and audio is back to normal. Would be great if "correct" profiles were already in nightlys
[HTC Desire S] Tectas:
Sry to say, but I found a minor bug^^

After a restart the input methods are set back to default (not the dictionaries, only the enabled methods and the selected one).

I noticed it in association with swype beta 3.26, but with hackers keyboard and touchqode I got the same result.

Atm I'm using nightly 49, but it's present since 46 as much as I know.

Thx in advance :)

Swyped from my Desire S
[HTC Desire S] sadsac:
Hey vampire - could you point me to the cm ics theme you use (per your signature?), cheers mate
[HTC Desire S] vampire36:
Check your pm :)
[HTC Desire S] shrome99:
Hey guys, i just downloaded the CM7 nightly, and I'm about to flash. Which kernel should i use? (Stock or Tiamat)
[HTC Desire S] guhh123:
Both tiamat and stock are fine but tiamat has function to undervolt or OC your CPU
[HTC Desire S] sirioo:
I tested the tiamat sleep mode and does not work, consumes 10% in the night ...

also set to 145mhz when idle , Sometimes the device is blocked

with the stock kernel, I have no lock, sleep mode active, consumes 1% in the night , governor : interactive , 245-1500 cpu
[HTC Desire S] amidabuddha:
Calibrate your battery.

I am using stable CM7 with Tiamat, you can see my average battery consumption on the picture in my signature.
[HTC Desire S] sirioo:
governor ???? idle-full cpu ?
[HTC Desire S] amidabuddha:
SmartAssV2, 184 MHz min, 768 MHz max, no lag when CPU is needed (unlocking, games, etc.)
[HTC Desire S] sirioo:
I try with 184 MHz min, hope not to have blocks

Where can I download: Kernel 2.6.35.14 CyanogenMod Stock ?? if I have problems I put the stock kernel
[HTC Desire S] shrome99:
Anyone know any good widgets that can replace the ones on Sense? Most widgets on the market are really ugly. I really need a replacement for the People widget.
[HTC Desire S] amidabuddha:
Make a backup from Recovery. Then you will be able to restore the previous system anytime (including kernel). The other way is to flash the next Nightly it will overwrite the Tiamat Kernel with the Stock one.
[HTC Desire S] sirioo:
thanks ... I know the procedure, but there the file .zip Kernel 2.6.35.14 CyanogenMod ? where can I download it?
[HTC Desire S] Rapier:
There is none..at least none officially available. CyanogenMOD is released as a whole since the team is building the whole ROM not only kernels. The only option is that some dev rip it from the ROM and make a separate kernel flash file, or you are using the way indicated by amidabuddha to flash a new CM ROM over one that had a different kernel.