yashsingh1/xdaforums huggingface dataset:
[Touch HD General] kruijs:
I could live with that (still hoping for a proper fix, of course!)

Most builds come with a terminal app (Busybox is popular, if I remember correctly) that's what you mean?

But still I need the command line / script lines to execute, and that's where I'm stuck, since I know how to kill the service from the prompt of my terminal in the phone, but not how to "unkill" it! :)

"Disable/enable" sounds much better than "kill/unkill", but how???:confused:

As a side note, I also get the impression that the android terminal does not give me full access to a shell environment, since, for example, the "ps" command is severely limited! (wanted to find out more information on process "[battery]", but no chance with the crippled "ps" command...)

Maybe there are better (more functional) terminals out there?

Or do we actaully have access to "enable/disable service" commands in this "busybox" and I just don't know the proper command?

(just for reference: I'm running Kenia's eclair build that includes busybox 1.5 as terminal)

Cheers, Robbert
[Touch HD General] Stickman89:
Even better, look what I just found for you: http://xdaforums.com/showthread.php?t=486486

Basically you can create a homescreen icon and assign a shell command to it, simply create an icon and assign the "kill -9 28" command to it which will kill the battery service, I would have to check out the process name to be able to start it again. Let me take a look for you :D (I don't think "start -9 28" will work as we have only issued the process ID and since it is no longer running will be useless)

Best Regards,

ST1Cl<^^aN
[Touch HD General] g3rm0:
Same here for me: PID is 29 (it may different in some builds) but... when I killed battery service (kill -9 29) audio shuttering stopped. It also solved "audpp: DMA missed" messages in dmesg so maybe we're on the right track.

IMHO killing battery service every time is not a solution. Maybe code just needs to be cleaned up a little.

Anyway, for now kill -9 is the only (known) way to achieve smooth playback.
[Touch HD General] Stickman89:
Ok then all we need to do is adjust the scheduling priority until we find the sweet spot via renice :)

That way we wouldn't need to kill anything and that can be added to init fairly easy, we would have to test some values first.

Best Regards,

ST1Cl<^^aN
[Touch HD General] kruijs:
Tried that already, afraid it might not be so easy...

Gave the audiomanager -20 or so, and the battery service +20 or so, no effect, still stuttering...

But maybe your mileage may vary, did you try this on your build?

Cheers,

Robbert
[Touch HD General] kruijs:
Also for me, number 29 it is.

Huh?

Something must have gotten "lost in translation" here, I have really no idea what is meant by the command "--locating-process--", I guess it's not literally typing in this phrase, what am I missing?

Ah, just noticed your statement in an earlier post "I would have to check out the process name to be able to start it again", I guess that's what you meant by "--locating-process--" in the next post...?

Well, to be continued... :)

Cheers,

Robbert
[Touch HD General] Stickman89:
The service isn't successfully starting after being killed, I initially thought it had but it appears it failed to kill on first try therefore it was still running. I will keep looking into this though, stuttering isn't that bad on my build. I will upload it soon, it is there but isn't too bad.

Best Regards,

ST1Cl<^^aN
[Touch HD General] kruijs:
Yeah, noticed that too, sometimes the service takes a few seconds to unload (or at least "ps" still shows it.)

Maybe someone else has some bright ideas, posted it also at Neopeek, some good guys over there, too :)

I just hoped someone had a quick solution, but we may have to wait for some more kernel development. I'll keep my eyes open, if something pops up I'll update.

Cheers,

Robbert
[Touch HD General] James62370:
May I ask what application you guys are using to kill the process? I downloaded the terminal emulator app, however when I type "kill 29" it says operation not allowed.

I'm assuming this is because of a rights issue. I am using Android 2.2 (FroYo) by the Brilliant Mistake [03 Sep 2010] (V1.6) with the latest kernel, zimage, rootfs along with FRX03 update.

I'm a bit confuse as to how I can "root" my device in order kill the battery process so I too can listen to my music without the annoying stuttering.

Any info would be appreciated. Thanks :)
[Touch HD General] g3rm0:
Just type "su" first :)
[Touch HD General] James62370:
Thank you for your reply.

I type "su" then enter...

I get a "#" prompt

then I type "kill 29" enter

I don't get any type of confirmation just another "#" prompt

I try listening to my music, stuttering is still there... What am I doing wrong?
[Touch HD General] kruijs:
"kill -9 29" has a better chance :)

Did you check before killing it, that [battery] is process 29 for you? (use "ps" command in shell)

Did you check afterwards that process 29 [battery] is indeed gone?
[Touch HD General] xUmaRix:
Just wait for viruscrazy submit the patch to phh to be merge in the main tree.It already in Jerome tree HERE

/* Patch to fix "audpp DMA missed" messages on AMSS version 52.62.25.34 */
1423	if ( machine_is_htcdiamond() || machine_is_htcblackstone() ) {
1424	if( !(snd_state & SND_STATE_PLAYBACK) ) {
1425	dex.cmd = PCOM_GET_BATTERY_DATA;
1426	msm_proc_comm_wince(&dex, 0);
1427	} /* else {
1428	printk("Skipping battery pcom call to avoid audppp DMA miss\n");
1429	} */
1430	}
[Touch HD General] g3rm0:
Looks like Jerome saves the day again ^^ also xUmaRix thanks for nice find!

I think I'm gonna check that one on my local branch today. If I do I'll surely report results.
[Touch HD General] James62370:
Weird after checking again, the battery process is now 28... sometimes it's 29 and sometimes it's 28 ??

I think it's killed for now...

Thank you for your help...

Is the only way to restore battery status is to reboot?
[Touch HD General] kruijs:
Great News!

Jerome just released a new test kernel, see

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

*Audio stuttering is gone!*

Could not get the camera to work yet, tried two different Froyo builds which happened to be on my sdcard (FroyoX, and Neopeek's FRG83), audio fix confirmed for both builds, will try some other builds later.

I encourage everyone to test this kernel and modules and to report in the above thread!

Small note: If you have your android build residing in a folder (like me...), don't make the mistake (like me...) of copying the lib_camera folder in that folder, but put it in the root. (or I guess you can also edit the froyo.user.conf to point to the correct file locations)

Off to listen to some music now!
[Touch HD General] g3rm0:
I can confirm viruscrazy's patch worked as expected. No more audio shuttering while playing mp3s, internet radio stations or watching youtube videos. I couldn't post my kernel yesterday because I got drunk earlier than I expected :)

kruijs above posted link to viruscrazy own kernel with many test changes for the camera. If you want camera support for our device you should check it out and post dmesg and logcat to help developer fix any issues.

For mainline kernel (without any test stuff) + two uncommitted patches (audio shuttering fix and sd card clock fix*) use this kernel

*fix for everyone affected by "Waiting for SD card..." problem that appeared after december 23 commits and wasn't present before.

Note that I'm not the author of those patches (viruscrazy and Alex are).
[Touch HD General] James62370:
It's great that the audio stuttering is gone, but now my wifi doesn't appear to be working. Can anyone confirm if wifi is working with the kernel below?
[Touch HD General] g3rm0:
Awww... I've also noticed that wifi isn't working. Probably broken modules in my kernel.

I can't help you until I find out what's going on. If you need wifi and music without shuttering use kernel xUmaRix posted above (the one with camera test). I almost never use my wifi (I have enough mobile data in my plan) so I didn't noticed the issue until now.

Thank you for your feedback.
[Touch HD General] g3rm0:
Looks like I forgot about ti-wlan module in my kernel. Updated kernel + modules with working wifi for our Blackstone are here: link
[Touch HD General] farukb:
why are these modules 7.2Mb,when usual modules are not more than 800-900kb
[Touch HD General] Eodun:
Edit: Gave wrong answer. See next post.
[Touch HD General] g3rm0:
Because they were built with default setup from git. Didn't change anything except adding TI-wlan driver and uncommitted patches. Autobuild modules and those posted by F22 are more optimized for size. They work basically the same way but are just smaller.
[Touch HD General] Pete Rask:
Thx a million for this kernel!! Works very good with Gingerbread. Now a complete beginners question. As I've been reading here and there and learnt more and more I understand that cpu scaling can be implemented in kernel as a power management option, instead of using for example SetCPU.
[Touch HD General] accountabc:
The new camera kernels all have the stuttering problem again... Is it possible to take for instance the 28-02 glemson kernel and integrate the stuttering fix? Right now we have to choose between a working cam and no audio stuttering
[Touch HD General] g3rm0:
You can try that via additional cmdline parameter in startup.txt: pm.sleep_mode=X

where:

X = 2 - default option (CPU should be in power saving mode)

X = 1 - power collapse (CPU if fully powered off) <-- This may not work on our device. Never tried it myself.

Audio shuttering fix is a dirty hack (or temporary fix if you like :P ) introduced by viruscrazy and adopted to my kernel. It solves one problem by creating another - no battery status updates while playing music. This kind of patch is not acceptable in autobuild kernels. BUT... I want camera too so if I have some time tomorrow I'll build new kernel with the latest commits and audio shuttering fix.

BTW. I know that jonpry is coding the new battery driver that should be better but there's no ETA for now.
[Touch HD General] MrAce:
You'll earn yourself a beer if you do :big grin
[Touch HD General] hrk7474:
Make that two!
[Touch HD General] accountabc:
Dirty hacks are great ^^. And, battery status is crap in android anyways ^^. Camera + working audio would be great!

*wishes g3rm0 good luck on building a kernel ;)

btw, do the current kernels support ipv6 yet? Would be awesome to be able to use goggles.
[Touch HD General] g3rm0:
Here's the latest kernel with the camera commits and audio shuttering fix (cam tested on FRX05). Modules are now stripped (smaller size) and compache0.5.4 is included - as well as ti-wlan driver like in autobuild kernels. It should work just like autobuild minus that pesky audio shuttering :)

Support is already build in. I'm just not sure why it's not used by default (also I didn't test it on Blackstone). Just add: modprobe ipv6 to custom commands section inside froyo.user.conf file.
[Touch HD General] accountabc:
:D

Downloading

Edit: Camera is working, aswell as stutterfree audio. And after adding the above line to the froyo.user.conf, even Goggles works :). watching your phone solve a sudoku is pretty cool :P. i've found my kernel! Thanks g3rm0 :)
[Touch HD General] hrk7474:
CONFIRMED!

CONFIRMED! Audio without stuttering with this '1277' kernel in GBX0A!

Beers earned/owed ;)

(nice file-size btw, compared to the previous ones)

Will test tonight on FRX05. We might have a full functioning setup on our hands! :)
[Touch HD General] accountabc:
we sure do :). I'm on frx05, and except for bluetooth headset (and battery polling during audio playback ;) ) I beleave everything is working!
[Touch HD General] MrAce:
Up and running with FRX05 :thumbsup

Beer owed - how do I pay? :grin

Thanx excellent work
[Touch HD General] Eodun:
Don't you get problems with SMS sending? I need to activate "use 2g networks" before they work... But may be because I don't have 3g plan so I have data disabled, who knows.
[Touch HD General] MrAce:
SMS working fine for me but I do have 3G?
[Touch HD General] accountabc:
Sms working fine over here aswell. Btw, usb mass storage isn't working yet either. But that's about it :). FRX05 + the haX0r uber L33T G3rm0 kernel is good for everyday use :)
[Touch HD General] hrk7474:
No problems yet. :D

SMS fine, but i have 3G turned on by default.

Only thing is, i had to install the FRX04 bundle with FRX05 system.ext2. The FRX05 bundle would freeze quite often before fully loading the homescreen (got the android but not the homescreen-tips). I also use an older rootfs which has the button layout with 'multitasking' bound to the power button (from FRX03 bundle?).

So far, so good.

Camera working fine. Sound too!
[Touch HD General] BlackRainX:
WIFI

how about speed in a WIFI?

Because on alll latest Glemson kernels (not dirty ) is wifi slow about 8kb/s
[Touch HD General] MrAce:
I'm using wifi with PCfilesync and getting abt 300 kbs
[Touch HD General] thexav77:
Big thank you

Now i have sound working great with FRX 07.1 ! thanks for this kernel ( BLAC100-kernel-modules-2011-03-08-1299596171 )
[Galaxy S I9000 Q&A, Help & Troubleshooting] gman11:
hi all

I'm very new to android and look through the forums and can't find the answer so here I ask.

I have a galaxy s bell running froyo.ugjl2 kernel 2.6.32.9 shout.lee sept-09 #3.

I downloaded z4root on the phone and installed. turn on usb debugging and started z4root. I tried both temp and perament and it goes through the motions and virbites the phone but dont reboot my phone then when i try the z4root again i get a msg says program has force close.

What am I doing wrong?

Thanks
[Galaxy S I9000 Q&A, Help & Troubleshooting] XsceneXhippieX:
Somebody please help with this problem, I have the same problem on the same phone
[Galaxy S I9000 Q&A, Help & Troubleshooting] pitb:
The vulnerability that z4root used to obtain root access has been patched in the newer firmwares.

To root your phone read this:

http://xdaforums.com/showthread.php?t=803682
[Legend General] ebaak:
Hey guys

I am currently running stock froyo on my legend. for some reason, sync with gmail is acting weird. not all number from the same contacts are syncing. for example 1 contact has 3 numbers on my phone and only 2 show up on gmail.

I also have encountered lately another problem: my country code is +961, some of the contacts numbers that start with +961 currently show 1961 instead. i m not sure of the origin of this problem.

Any help would be much appreciated :)
[Legend General] Sckank:
Go on a computer, login to gmail, go in where all your contacts are and choose remove all duplicates and all should be fine ;-)
[Legend General] ebaak:
thats not it man. i have no duplicates. I use gmail at work so my contacts are nice and tidy. no duplicates
[Legend General] Sckank:
Aha I see. Hmmmm.

I had something like that a while ago. I had to fix that **** manually. :-/
[Legend General] ebaak:
After looking further into the problem, it turns out that those numbers with the wrong code are imported from facebook. Those numbers cannot be edited.

I turned off facebook sync yet the stupid numbers remain there.

Any ideas?
[Streak 5 General] slekkas:
My streak was working flawlessly until yesterday. Since yesterday all i did was to install 3 apps. Dialer One, ADWnotifier and AutoKiller Memory Optimizer.

Now every time my screen turns off to sleep after a minute i push the power button and it doesn't wake. Sometimes i press the power button and the phone reboots. I uninstalled all 3 apps but still the same.

Any suggestions? I'm freaking out here:confused:

My streak has 2.2 latest official with Steve's performance fix.

Thanks
[Streak 5 General] zyonuf79:
I was experiencing this same issue and also had AutoKiller Memory Optimizer installed. I removed it and still the same thing. I suspected Tasker was the culprit so I disabled it and the problem stopped. I enabled Tasker after a day and only turned on one profile.....no issues. I am slowly reactivating the various profiles I have on it to see if I can ID the problem. I realize this may not help you but you should know you aren't the only one.

My suggestion is to remove/disable all third party apps and if the issue persists then perform a factory reset or install a fresh ROM.

It would be nice to know if there is some kind of logging that can be done to help diagnose the issue.
[Streak 5 General] slekkas:
is Tasker something that's installed by default? I can't find it anywhere.
[HD2 Android NAND Development] Sentinel196:
reserved for possible updates and additional methods.
[HD2 Android NAND Development] inuris:
First, thank you for ur tutorial.

But there's a point that make me confused:

It'll be easier if you post a screenshot or just a simple pic drawed by MsPaint to see the partition after format.

Thank you anyway.
[HD2 Android NAND Development] H-KaN:
yes, some screenshots would be very nice. and maybe this thread should be stickie, very useful! thank you for the guide, i will use this as soon as i have a rom with this support.
[HD2 Android NAND Development] LorD ClockaN:
You have a little misstyped error in step 11..

You insert the card back into phone, not PC :)
[HD2 Android NAND Development] mafyoo:
Great guide, gparted is also part of Ubuntu which is what i used!

Cheers
[HD2 Android NAND Development] Sentinel196:
Thanks for the corrections guys. I have amended the original post.

As for screenshots. It's difficult when I am using a separate boot disk. Most things should be pretty self explanatory once you are actually looking at what I'm describing :)
[HD2 Android NAND Development] S-Bazz:
Thanks for the guide!

However, if I try to create a new partition, the only choices I have is to make it primary or extended. No logical partition as it is greyed out. Does App2SD+ work with a primary ext4?
[HD2 Android NAND Development] kahiro:
great guide! wished this was available before i partitioned mine. did a lot of googling before i found an easier alternative.

for those using Clockwork Recovery you can use the Partition SD within Recovery itself. No need to fiddle around with booting gpart and risk wiping your system hdd. the only thing is recovery will create it as ext3 which i don't think matters much because ext4 is backward compatible.

sorry don't mean to rain on your parade because i also use gpart when i'm around a pc. just thought that some ppl might prefer the alternative.
[HD2 Android NAND Development] Sentinel196:
That's my error. it should be fine with the default setting.
[HD2 Android NAND Development] Voffchik:
how can i do all that if i don't have a working CD-ROM? :)

stoped using it ages ago :D
[HD2 Android NAND Development] Blaggah:
Thanks for this.
[HD2 Android NAND Development] H-KaN:
+1 i have a netbook without cd-rom and windows 7...which program i can use to do that?
[HD2 Android NAND Development] brendix:
how to do it on Ubuntu 10.10?
[HD2 Android NAND Development] Sector`:
Im guessing that we can use Partition Magic or Paragon.

I will try with paragon partition manager and let you know. It shouldnt be that hard.
[HD2 Android NAND Development] inuris:
I know a screenshot is hard to capture when u're not in Windows, but I offer a picture drawed by MsPaint or Office Word. Just 2 rectangle with the size and the filesystem.

Thank you.
[HD2 Android NAND Development] kahiro:
if you're using clockwork recovery boot into recovery -> advance option -> partition sd and follow the steps.
[HD2 Android NAND Development] shree.cse:
Thanks, I am looking for this kind of instructions from the last 2 days.
[HD2 Android NAND Development] craig.buckie:
I've been using haret since the HD, but I've never owned a native Android phone, and such a fundamental step as partitioning was played lightly over, so thanks for a step for the people like me who do google everything but still couldn't do it correctly. Boot CDs are the only way to do it, it seems.
[HD2 Android NAND Development] Badbullet:
You can use some virtual driver, power iso or daemon tools to mount iso file without cd-rom.
[Desire General] Nitin985:
I was wondering what's the difference for me havs is a bit laggy but what should be the differences
[Desire General] TheGhost1233:
Static and adaptive voltages but if you either search on google or in the kernel threads you would find the same and more.
[Desire General] Nitin985:
Which is better????
[Desire General] Lennyz1988:
There is no such thing as better. Otherwise they would not make both. Havs is usally undervolted, so if your phone is using the cpu, it uses less power. But not all phones like havs. Bottomline, try havs and if you don't like it go for svs.
[Desire General] Nitin985:
Thanks :) I flashed the latest havs kernel and it seems fine what voltage should I go for 875 or 925 ???
[Desire General] Evil_Cid:
Depends which one your phone's happy with..... if it's fine running at 875 mV then that's good. If it crashes a lot at 875 mV then go for the 925 mV (which will give it more stability...)
[Desire General] Nitin985:
Thanks 875 is fine will click thanks button when I go on my computer
[General Questions and Answers] vic pag-ong:
hello, forgive me if im lost. i got a qtek9090 from germany and all writings are in german language, could you help me please to change the language setting from german to english language. i cant read german language, thank you.

vic pag-ong (vpgs71@hotmail.com)
[HD2 General] Michel Merlin:
I bought a lot of great apps in the years when Windows Mobile (CE, Pocket PC, etc) was the best mobile platform (1998-2003). I am still using many of them, but now my very good HP iPaq h2215 of Oct 2003 is getting old: sure it still works well, but it has no WiFi, no GPS (the rest of its shortcomings, like no photo, are unimportant IMO, I am already carrying good old light inexpensive efficient Sagem MyX6-2 2005 photophone and Canon IXUS95 2009 camera).

I first considered switching to Android, which I soon dropped; those great Windows Mobile apps have no equivalent in any other mobile platform, neither Android nor iPhone nor any other one. Example: Wikipedia offline with all the images (in the right places in each page) i.e. 4GB of data in my pocket with instant response, much more portable (and faster!) than browsing Wikipedia in Windows XP on the desktop; syncing Outlook Contacts and Excel sheets; a number of powerful and convenient calculators (e.g. RDcalc); and many news readers (but most of those have disappeared, including the best one, AvantGo).

After hesitating I skipped the HD2, hoping a newer phone would come, from HTC or from others, with the fixes and updates that should IMO: better dimensions (120mm/11mm make it too breakable, 100/15 or at least 100/13 would be sturdier), new 2-core 1.2 or 1.5GHz CPU+GPU (that's all, HD2 being already an excellent device).

Now I just discovered that the HD2 has suddenly disappeared from all regular offers in France and probably elsewhere; only a very few used ones are now offered. Is this a sign that HTC (or someone else) is coming with a new Windows Mobile 6.5.3 phone? Thanks to anyone who would know better (sorry if my post is inappropriate in contents or place: Google "HD2 successor site:xda-developers.com" or Google "New Windows Mobile 6.5.3 phone? site:xda-developers.com" or similar searches found no relevant response).

Versailles, Sat 08 Jan 2011 15:15:00 +0100
[HD2 General] erikvario:
actually windows mobile is kind of death.

since wp7s is out you have to do it with the the current offer.

so the hd2 is the best.

but if it's too big you can take a look at the tg01
[HD2 General] zarathustrax:
I doubt we will see anything better than the hd2. And also wanted to comment... my hd2 feels a lot sturdier than my ipaq 2215 did. It's very well built. If you're worried, you can get an otterbox defender case for it like I have. Most protective case available, and looks great too.
[HD2 General] Michel Merlin:
I just ordered an used HD2 for 231 EUR - Thx a lot!

Thank you both. Your precise replies removed my doubts. I just ordered an used HD2 (here in France, probably FR version) for 225 EUR (231 EUR with shipping).

Versailles, Sat 08 Jan 2011 19:24:40 +0100