yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] ziggy682:
Alright, I installed this ROM with the kernal and Googlebits from the first post. Everything is working well, except I am getting crazy battery drain. I installed it on a fresh battery at around 12:00 today, and the battery was below 15% by 5:00.

Running on stock and Gumbo 1.5c I can get through 16 solid hours and still have 30% plus battery.

Well, I think I know where it is coming from. There have been several posts earlier in the thread about the signal strength only reading 1 or 2 bars all the time, but the phone seems to be getting a great signal. This was written off as a display bug only, but I believe it is more than that.

When I go to Settings-About Phone-Battery Use, I am getting around 75% use caused by Cell standby. When I click on that, it says "Time without a signal" 50%. I have seen this fluctuate slightly, but it stays right around 50%.

Now, I get great signal here at my house, so I know there is not a signal issue. Also, I am actually getting a voice and data signal, because those are working properly. I am simply getting massive battery drain that I believe is caused by the phone thinking it doesn't have a signal and is causing it to nearly constantly search for one.

Would there be any way that the phone is reading the low signal strength icon and looking for another, stronger tower, and that is what is causing the drain?

I did a bit of searching, and the searches that all come up are Nexus One related, and it has been well-documented to have a radio issue. I know our phones don't have a radio issue, but it's almost recreating the same Nexus One radio bug on my phone with this ROM.

I hope my explanation helps. I have no idea how to fix it, but if there is some kind of config file I can pull and edit, I would be more than happy to try it if someone can point me in the right direction. Also, anyone else having serious battery issues with this ROM should check and see if you are having the same problem.
[Hero CDMA Android Development] darchstar:
I don't think so, i've been running it since 5 am, and i am currently at 40%. Been listening to **** loads of music, and also have been heavily using 3g. Moderate amount of texting and 3 calls. Also, i was using maps for like 20 minutes
[Hero CDMA Android Development] darchstar:
Also, i will be uploading an update based on cyanogen sources in the soon
[Hero CDMA Android Development] derekstory:
could you please list the apk's you uninstalled?

Thanks:D
[Hero CDMA Android Development] andyriot:
darchstar; i seem to be suffering from some of the random freezes. is this due to the toast kernel? which kernel do you recommend?
[Hero CDMA Android Development] darchstar:
ya, it's listed as a known problem in the first post. you could use the kernel in the base rom. it doesn't have opengl, but it doesn't have cpu pegs either
[Hero CDMA Android Development] andyriot:
yeah i know its a known problem, i was just wondering whats the best kernel to use with this rom. is it specifically toast kernel that causes the freezes? what are cpu pegs? are those the only 2 kernels we can use? the stock that comes with the rom and toasts?
[Hero CDMA Android Development] darchstar:
Its just when the processor spikes to 100%, causing the phone to go dead slow. Android has it built in that if that ever happens that it'd just crash the system
[Hero CDMA Android Development] realmrealm:
just an fyi - my bluetooth does not seem to be working.

I have tried pairing and unparing and resetting the phone, and my bluetooth and no solution.

I tried without the newest kernal (toasts) and with it.

i have a blueant z9i

It shows that it is paired, and I can screw around enough with it to say that it is connected, but it will not push audio.

when I start a call there is defentiley a "white noise" that starts in my ear, and if i click the "end call" button on my bluetooth you can hear a beep and the call will end which stops the "white noise", but no audio.

do we think this will get fixed? i need bluetooth on a daily basis, but if it is just going to be a day or two i can dig out a wired headset to get by.

thanks,

-AndyS-
[Hero CDMA Android Development] jayjay7411:
Do you think gbhil could come up with a kernel to fix that he is a pretty smart fellow... i love that i ccan see pics now but then it freezes to lol but im sticking here for now might reflash rom and kil toast kernel not dure but ur stock rom has mt and wifi fix right???
[Hero CDMA Android Development] darchstar:
ya, him and i are currently working on it. and yes it does have those fixes in it *reads thread title*
[Hero CDMA Android Development] jayjay7411:
sorry but call audio doesnt work just stero from what i understand
[Hero CDMA Android Development] jayjay7411:
Awesome i figured yall were cooking up something damn geniuses lol
[Hero CDMA Android Development] jayjay7411:
Lol darch reads title hahaha
[Hero CDMA Android Development] jbandela:
In regard to to GPS, it seems the value for QOS_ACCURACY that works for me is 50 (something to try if 3 or 4 does not work)
[Hero CDMA Android Development] mrinehart93:
Load up an ADB shell and do this:

cd /system/app

ls (copy everything that it lists down, and post it up here)

cd /data/app

ls (copy everything that it lists down, and post it up here)

Only reason I'm having you do this is because I've removed so much, I don't quite remember what I've removed now.
[Hero CDMA Android Development] darchstar:
lol, or you could just unzip my base rom and google bits, put it all undeer one directory, then check what apps you uninstalled and what you didnt :D
[Hero CDMA Android Development] menzo44:
I have the same problem.. I just checked my battery usage and found cell standby at the top of the list and when i clicked on it found that it said time without signal 52%. So I would say this is definitely a problem
[Hero CDMA Android Development] mrinehart93:
true dat. Does anyone know the command for Windows command line that compares two directories? I'll just pull my two directories off my phone and compare.
[Hero CDMA Android Development] samrozzi:
darch any news on BT for this or 2.01?

I know some get their Bluetooth to work while some dont.

its kind of 50/50

but for me none of the roms work. i can view my BT but cannot pair.
[Hero CDMA Android Development] darchstar:
just unzip both files, then copy system and data from gbits into the base folder
[Hero CDMA Android Development] mrinehart93:
Mine has been using 72% of my battery, with 50% Time without a signal. What's that one file... libhtc_ril.so? I know this version doesn't have that, but could we somehow port that one from Flipz's 2.1 (with Sense) over to this AOSP version? My signal was better by far in that version.
[Hero CDMA Android Development] darchstar:
I'll try to see if i can buy a headset, then try it out. I need the hardware to do the debugging, truth of the matter. sorry
[Hero CDMA Android Development] Malefickus:
I just have to say that I got this installed right on the first try (first flash for me too!), and even got PdaNet installed and working without a hitch. Haven't tried much else with it, but I am posting this from being tethered with PdaNet. Seems to be loading pages faster than with the stock 1.5, but it could be my imagination as well.
[Hero CDMA Android Development] tatonka_hero:
Odd, mine doesn't say any time without signal, and it probably should considering where I live lol.

However, I'm not mobile data sleeps (but WiFi definitely does) on this ROM, but in an hour unplugged, and pretty much no use, I'm at 99%. That's pretty damn good if it only takes 1% an hour on idle lol
[Hero CDMA Android Development] mrinehart93:
Hmm... this is baffling. I unplugged my Hero from a PC-USB connection, and right away it dropped down to 94% battery from a 100% charge. What's with that?!?!

Oh, and here are the apps in my /system/app and /data/app folders... just remove whatever I don't have in there and your ROM will be flying :) Note that I didn't remove anything that will remove any "normal user" functionality. I did, however, completely remove Live Wallpapers since they're too buggy in their current state, and use a lot of CPU and battery (from my experience).

/system/app

/data/app
[Hero CDMA Android Development] andyriot:
hey if anyone is interested, i pulled the couple of apk's from the rom that still have the "old" icons and ive updated them to the current 2.1 style to match the rest of the icons.

Download zip

this zip includes Calculator, Calendar, Camera, Music, Settings, Talk, VoiceDialer apk's that you need to push through adb to your phone.

unzip it to "c:\android-sdk-windows\tools" (or wherever your android sdk is located) then run the following commands

cd c:\android-sdk-windows\tools
adb remount
adb push AOSP\Calculator.apk /system/app
adb push AOSP\Calendar.apk /system/app
adb push AOSP\Camera.apk /system/app
adb push AOSP\Music.apk /system/app
adb push AOSP\Settings.apk /system/app
adb push AOSP\Talk.apk /system/app
adb push AOSP\VoiceDialer.apk /system/app
adb reboot

self explanitory if youve used adb before. darchstar feel free to add it to first post if you want
[Hero CDMA Android Development] keeneraver:
darch I can help with the bluetooth. I think it is a problem solely with the phone's pairing request method. I was unable to pair with a Jawbone but paired with a Moto H12. The H12 only paired because it initiated the pairing(get to that in a sec), whereas with the Jawbone I tried enabling, setting HS into pairing mode and pairing. If you do it that way it won't work. What you have to do is make sure the HS is paired beforehand, and make a note of your device's bluetooth name. After flash, change the BT profile name back to HERO200 (case sensitive) or whatever it was before turning it on, the two devices were paired before, so the headset automatically tries to reconnect. It will prompt you for a pin, enter it and you're golden. Hope this works for people.
[Hero CDMA Android Development] samrozzi:
darch thanks

see thing is some phones work fine with it others dont, i have tried on 5 diff headsets and my pc and same, they detect eachother but dont pair.
[Hero CDMA Android Development] derekstory:
mrinehart93

thank you for your help and trouble
[Hero CDMA Android Development] darchstar:
It appears i have more free space than you do in those directories. maybe its because i've been doing some mass optimizing

Darchstar aosp2.1-darchstar]$ du -h system/app/
31M system/app/
Darchstar aosp2.1-darchstar]$ du -h data/app/
4.9M data/app/
[Hero CDMA Android Development] mrinehart93:
No problem. I hope you see the speed boost that I got.
[Hero CDMA Android Development] mrinehart93:
Can you post the optimized files in a .zip?
[Hero CDMA Android Development] mhguy15:
Same problem here as well. See screenshots.
[Hero CDMA Android Development] darchstar:
Ahh yes, thanks for uploading this for the masses. Though they may not be made for 2.1, they shall be sufficient until roll out my new release

Music has a different ui along with settings. but as i said, its sufficient for now for the masses
[Hero CDMA Android Development] magicalan:
am confuse haha so many stuff here lol i cant get the rom to work
[Hero CDMA Android Development] andyriot:
yes sir its just meant to be a temporary fix for the OCD people like me :) those old icons were bugging me haha
[Hero CDMA Android Development] darchstar:
how do you think i got radio to work without htc's proprietary libs? this build does have it in it. I changed the framework-res to have the signal png to show above 2 bars, but i don't have great reception at my house, so it's only at one bars now. but as i was driving to downtown chicago, i did happen to hit four bars .
[Hero CDMA Android Development] ziggy682:
Yes, it is definitely a problem. Here's what I have isolated it to.

Go to Settings-About Phone-Status and look at your readings under Signal strength.

On this ROM, my dBm fluctuates between -80 and -90, but my asu reading always stays at 0.

I nandroided back to my previous Gumbo 1.5c setup, and now, I am seeing the same dBm readings, but my asu reading hovers around 12 and changes a little bit.

What file do we need to be looking at to fix this? I don't know why everyone is not having this issue, but it is clearly affecting some of us.
[Hero CDMA Android Development] magicalan:
i downloaded evrything thats on the first post and well now the live wallapapers dont work and i keep getting visual voicemail errors :(
[Hero CDMA Android Development] andyriot:
alot of the live wallpapers dont work with the toast kernel. and there is no visual voicemail for 2.1, call your own number to listen to voicemail.
[Hero CDMA Android Development] darchstar:
Ahh, i feel like a broken record player, always repeating the same thing over and over again

Read first post

And please care to explain what you mean by visual voicemail errors?
[Hero CDMA Android Development] darchstar:
Guys, it makes sense that cell standby is really high in battery use, unless your always in airplane mode. Your phone radio has to always be on to receive calls and shizz like that.
[Hero CDMA Android Development] tatonka_hero:
Stupid question, but does Mobile data ever sleep? I wake the phone up, and it still says 1x or 3G. Just curious, as it's always been a habit of mine to shut it off at home due to there being virtually no service.

I know it does on the 1.5 builds, and there's even a widget to turn it on/off (I know there's not one in this, and it's got to be done through adb at the moment)
[Hero CDMA Android Development] darchstar:
It's acts just like it does on 1.5, if you dont turn it off. So yes, it does sleep/standby when your phone goes to sleep.
[Hero CDMA Android Development] darchstar:
Of course you do. Always wipe if youre upgrading to a newer version of android
[Hero CDMA Android Development] mcfarlan:
need to add the gps.conf fix also...
[Hero CDMA Android Development] nbroneobi:
sorry im still somewhat new to this. i'm lovin it though its alot of fun gettin more bang for my buck lol. but thanks
[Hero CDMA Android Development] darchstar:
hmm, you sure... i'm pretty sure i already did. or maybe i only added it to my phone... ok i'll update it
[Hero CDMA Android Development] darchstar:
Lol, sorry if i came up as a bit irrate, didn't mean too.

Have fun, and be sure to look out for fixes :D
[Hero CDMA Android Development] Leukay:
I've been sending a bunch of texts and stuff, and everything is still going great with this rom. Great start Darch. Once we get opengl working I thing this rom will be looking and running AMAZINGLY! Which should be pretty soon I think
[Hero CDMA Android Development] darchstar:
Lol, i'm so dumb, sensors apparently relies on the akm8973 daemon. no wonder it kept crashing at boot. maybe i should use the search function in these forums more often
[Hero CDMA Android Development] byud:
Just installed, its very impressive!

Everything I tested on the rom works very well (except connecting to my BT headset) , the only thing I couldnt get to work was SetCPU, but who cares, its already fast, even with live backgrounds.
[Hero CDMA Android Development] mcfarlan:
I had to add it for weather and maps to get my location. How does one give an application root access? SetCPU was not working. Installed superuser whitelist from gbhil AOSP 1.6 and busybox. SetCPU now launches but I get a message "no root access detected" and most options are disabled.
[Hero CDMA Android Development] darchstar:
just do the asroot2 method of rooting to root your phone's shell then try using setcpu, it should work
[Hero CDMA Android Development] Vrekk:
That fixed it for me thanks :D

The wired tether for root users doesn't work though, it just fails to start. The wireless one works fine
[Hero CDMA Android Development] darchstar:
Sensors work! I'll upload the ROM soon
[Hero CDMA Android Development] Vrekk:
Rock on! Now all we really need is to fix that weird root thing and to get a working camera!

Great job mate!
[Hero CDMA Android Development] mcfarlan:
Worked...thanks...
[Hero CDMA Android Development] blankd3ckskat3r:
Hey darch any idea to get mms working on this? And I'm loving your 2.0.1 rom btw
[Hero CDMA Android Development] BAttitude7689:
that weird root thing happen to me on AOSP 1.6 some how and i couldnt get setcpu to run it said i had no root access and all i did was re-install busy box and install the kernel again and Viola setcpu saw my root access and has worked perfect ever since.
[Hero CDMA Android Development] intx:
http://xdaforums.com/showthread.php?t=634822

^^
[Hero CDMA Android Development] darchstar:
http://www.mediafire.com/download.php?yg2ry4yntfh :D
[Hero CDMA Android Development] watzone69:
Awesome! I'm in! Downloading now...
[Hero CDMA Android Development] PRGUY85:
Did you upload a version with Googlebits? And what, other than the Live Wallpaper, does this ROM offer over 2.0.1?

Also, does this have Gumbo kernel as well?
[Hero CDMA Android Development] keeneraver:
I am trying to see if my bluetooth workaround will work with my other headset, will let you know once I get something productive. Side note, do you need to install the Browser.apk from first post to have browser with multitouch? Also, if that's the case do you need root to uninstall the original?
[Hero CDMA Android Development] darchstar:
yes you do need to install the browser.apk from first post. but you don't need to root. just go into a terminal and

adb push Browser.apk /system/app
[Hero CDMA Android Development] tatonka_hero:
Awesome, thanks. Wasn't sure because it always showed it was on. I figured it must be sleeping because the battery's been great so far :)
[Hero CDMA Android Development] magicalan:
am sorry about that haha i did c that when i downloaded the files but i forgot for some reason :p

so the visual voicemail errors i got them when i turned on the phone... its not giving me the errors anymore tho might happen again if i turn it off and on who knows :P
[Hero CDMA Android Development] keeneraver:
Of course, push it.. Thanks. Don't get too upset that people can't figure out this stuff. I will try to get a FAQ guide together and put it on the guide wiki.
[Hero CDMA Android Development] ziggy682:
Yes, but it is the fact that when you click on cell standby, several of us are seeing around 50% in the "Time without a signal". That is where we are speculating our massive battery drain is coming from.
[Hero CDMA Android Development] VoXHTC:
I'm confused now. Maybe I've flashed too many times lol. What Kernel version comes with release 3? I have Kevinrnste@unbuntu #1 installed right now. The 1st post shows a different one and then there's another to download that doesn't seem to work with the wallpapers.

zzz
[Hero CDMA Android Development] darchstar:
I get 50% too. I think the phone is just spitting false facts at us. As i said before, after 14 hours of using the phone i was a 30%, so not everbody has massive battery drain. It's most likely an app thats continuosly running for you causing your phone not to go to sleep. check your logcats for more info
[Hero CDMA Android Development] darchstar:
release 3 doesn't have gumbo kernel, but 5tr4t4's with MT working
[Hero CDMA Android Development] magicalan:
ok i turned off the phone and on again and this is the error i get

Sorry!

Application Voice Search(in process com.google.android.voicesearch) is not responding.
[Hero CDMA Android Development] darchstar:
oh, thats nothing to worry about. the phone will still run fine, it's just probably your phone didn't check out that app as you unlocked it
[Hero CDMA Android Development] samrozzi:
thanks keeneraver

tell me how it evolves :)
[Hero CDMA Android Development] magicalan:
but then why does it lag so much on the homescreen :S

i press wait instead of force close because it closes the whole homescreen :confused:
[Hero CDMA Android Development] lan579:
Lovin It!

I got root access about 2 months ago on my phone looking for a good 2.X ROM out of all the ones I've tried I think this is the best (Even though Im a Sense lover). :D
[Hero CDMA Android Development] Sporkman:
did you install the kernel fix he linked ??
[Hero CDMA Android Development] magicalan:
kernel fix? i just installed what was on the first post :x
[Hero CDMA Android Development] darchstar:
lol, don't worry, you should be fine if you installed google ****s and the base rom. it does lag right after boot sometimes, but not all the times. i do acknowledge that. give it like a few seconds and tell me if it still gags?
[Hero CDMA Android Development] magicalan:
little bit but its better now

and the gallery works perfectly at least for me :D
[Hero CDMA Android Development] darchstar:
Thats great man, i'm glad things are finally working for you!
[Hero CDMA Android Development] TheBiles:
Is anyone else having trouble getting SetCPU to work? I select Hero as my device, and I am able to change all of the options, but for some reason when I select "refresh" it won't save my settings (e.g. changing the min value or going to powersave mode and updating the CPU speed). I have root access enabled, and other root apps (like Titanium Backup and Quick Boot) are working just fine. Any help here?

Also, everything just seems to be laggy as hell for some reason. Hoping that is just related to the SetCPU problems.
[Hero CDMA Android Development] tatonka_hero:
SetCPU doesn't work if you're using the kernel on the first page.

Three times in this thread it's been mentioned :)
[Hero CDMA Android Development] darchstar:
updated first post so people have one less reason to be ignorant
[Hero CDMA Android Development] VoXHTC:
I run a telemarketing floor and no matter how many places we post what not to do, announce what not to do, it happens anyway. We're talking 30 - 60 year olds. I /facepalm 30 times a day :rolleyes:
[Hero CDMA Android Development] epitaphromance:
hey, super lurker here. learned alot, just wanna thank the Dev, this thing is awesome, so close to probably what the official is going to be in lue of working mms, but still... awesome job.

just flashed the new kernal.... my phone froze right as it booted... all i see is the lock screen with NO SERVICE.... i did have live wallpapers active before i flashed and forgot to do a nandroid, so.... guess ill just have to start all over and do ALLL my settings again. also, how do i browse the phones contents and delete the APKs? android explorer? is this rom android explorer friendly?
[Hero CDMA Android Development] magicalan:
hahahaha:p
[Hero CDMA Android Development] darchstar:
no, don't wipe, just load the stock boot.img that came on the base of the rom. I mentioned in the first post that the kernel occasionally panic (crashes system)
[Hero CDMA Android Development] TheBiles:
Sorry, it's kind of hard to sort through 13 pages, and it is weird that the dev includes an app that doesn't work with the kernel that he recommends...
[Hero CDMA Android Development] icm714:
Man I have read all 61 pages my phone and comp have had there fair share of refreshes thank darch for the rom I'm loving it I wish I can do adb push /facepalm to a lot of people that don't use the search button LOL

U need to go the cubbies spring training and comehave a beer with me in lue of 2.1 :D
[Hero CDMA Android Development] darchstar:
I never said i recommended it, i was just pressured into releasing a rom with MT asap without giving myself time to add that feature in there. me and gbhil (well mostly gbhil) are working on a kernel thats more stable and that has all the features you love about gumbo kernel +more
[Hero CDMA Android Development] Sporkman:
woot can't wait for this release
[Hero CDMA Android Development] icm714:
It worked with the other kearnel but so many ppl wanted

Opengl and MT so he released those ASAP and didn't have time to add or take away apps. If u don't want it erase the apk
[Hero CDMA Android Development] icm714:
damn you beat me to the answer lol
[Hero CDMA Android Development] networx2002:
You guys ROCK!!!!!!!!!!!!

Thanks for the Great Rom's :D
[Hero CDMA Android Development] TheBiles:
Ok, searched the thread for this but no results... Google Maps keeps force closing on me any time I try to run it. Is this a known issue or is there some kind of problem on my end?
[Hero CDMA Android Development] darchstar:
uninstall, reinstall google maps.