yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] ch1naski:
Ok, been trying to logcat the usb mount issue, and now IT'S NOT DOING IT. I'm sure it will start up when I'm not logging it......

nandroids are for

sissies
[Hero CDMA Android Development] 24601:
Because this has been a while ago (4-6 weeks), it may only be anecdotal, but all of my USB problems with my original hero were occurring on a MacBook pro. My new hero is not seeing the same problems. I have not tested on a windows machine, though.
[Hero CDMA Android Development] jaybob413:
USB Issues

What might be as helpful (and require less effort) would be to cat /proc/last_kmsg to a file immediately after a reboot and post that to pastebin.

This is something that might take care of itself with the planned cleanup of the USB related code, but that is probably a couple weeks out, based on my current work/travel schedule.

Personally, I am able to connect from 64 bit Windows 7, Ubuntu 11.04, and OS X 10.6, and have not had any USB related crashes. I can definitely belief that timing/connection issues would be more prevalent on Windows, as the whole USB driver structure on Windows is, shall we say, less than ideal.
[Hero CDMA Android Development] PRGUY85:
It is 64-Bit.
[Hero CDMA Android Development] alexthearmo:
not sure about anyone else, but I've found the new build to be much less stable than the last one. I'm getting lots of reboots (did a fresh install with full wipes two times. Same issues). Not complaining...just reporting.
[Hero CDMA Android Development] il Duce:
Just in case people dont know how to grab kmsg from the phone. These will put the file on your sd, run in terminal emulator:

su

cat /proc/last_kmsg > /sdcard/kmsg.txt

sent from a series of tubes.
[Hero CDMA Android Development] ch1naski:
My kmesg.txt doesn't make any sense. There are weird characters in words, and words are spelled incorrectly.....

so I did another one, same thing.

nandroids are for

sissies
[Hero CDMA Android Development] il Duce:
Do you use a custom font?

sent from a series of tubes.
[Hero CDMA Android Development] jaybob413:
Can you provide some context for this? Specific events/circumstances/actions that triggered reboots? And is your comparison between 06JUN and 08JUN versions?
[Hero CDMA Android Development] ch1naski:
Everything stock. (except fr).

nandroids are for

sissies
[Hero CDMA Android Development] ch1naski:
Here's a sample.....when I get home, I'll save one to my computer (if it will stay connected long enough) and see if it's my sdcard . Maybe it's time to format....

(2011- 6-9 0(>15:4.59�520001ETaS13804&7�539U �M: �yncing f�laQqspems$�., done.

[�3
[Hero CDMA Android Development] alexthearmo:
Sorry for being so vague. Yes, it was between th 06 and 08 builds. The first time I wiped like 5 times and even reformatted everything before flashing. i set it up and everything was running smooth, but after I deleted some of the apps i don't use (voice dialer, etc), and used theme manager to change the theme, i rebooted, and it just kept bootlooping... occassionally it'd turn on, and i'd unlock it, but it'd be just a black screen and i'd have to battery pull. Also, the incoming call lag was happening a lot which didn't happen on the 06 build. And a few more home force closes this time as well. Hope that helps...again, sorry for being so vague the first time. And again, I'm not complaining, simply reporting. I love the rom...it's the fastest rom ive ever used.
[Hero CDMA Android Development] alexthearmo:
Jaybob...can you tell me what you did to get the keyboard dictionary working? I might just do it myself on the 06 build. Thanks in advance! (I'm assuming it's pretty simply like replacing a dictionary file or something).
[Hero CDMA Android Development] jaybob413:
So, it sounds like the problems started after deleting apps and adding themes, if I read this correctly.

Can you tell me what you deleted, and did you wipe cache after making the changes? Also what theme did you use?
[Hero CDMA Android Development] jaybob413:
I was missing overlays that contained the various language dictionaries for the Mms app. These get built into the app, so they are not something that can be changed without replacing the app itself. It may be possible to take the Mms files (apk and odex) from the 08JUN build, but no guarantee. Also, be sure to wipe cache and reboot after replacing if you decide to give it a try.
[Hero CDMA Android Development] alexthearmo:
Well, the second time I flashed it, i didn't remove anything, and simply rebooted and it did the same thing. So, I'm not sure. Then, later, after several reboots I removed apps that I remove from every rom: terminal emulator, email, sound recorder, voice dialer. I used theme manager to boot the miui theme. This morning when booting up it got to the lockscreen and then rebooted. Weird stuff.

I'll use 08 for the day and see how it goes. If it's funky, I'll just go back to 06 and try replacing the mms.apk. Thanks for letting me know how you did it, and thanks for this great ROM! :)

-alex
[Hero CDMA Android Development] jneg123:
The + numbers have something to do with Google Voice. If the number has a plus before it, my GV tries to place the call. The error I get is that I don't have "enough credits" to place the call. When saving a number into contacts, I just make sure to remove the plus.
[Hero CDMA Android Development] radrian92:
The 6/8 update is flawless for me. The problem with mms and keyboard is gone. Thanks Jaybob! I'm loving the rom! Btw battery life is insanely good!

Edit: forgot to mention that camera works great! I went to Disneyland yesterday :3 and I was kinda worried I wouldn't get good pics cause of the comments about the camera but everything worked nice not a single reboot.
[Hero CDMA Android Development] il Duce:
Maybe your file manager sucks?

sent from a series of tubes.
[Hero CDMA Android Development] ch1naski:
Root explorer had always worked fine before, even viewing huge logcats

nandroids are for

sissies
[Hero CDMA Android Development] il Duce:
Root explorer FTW. Didn't know which one you had lol. Thats really weird.

If you can get adb, run adb shell instead of su, then the same command only remove "/sdcard/" and it will output the file into your tools folder.

sent from a series of tubes.
[Hero CDMA Android Development] jasonmaloney:
PROTIP: In Terminal Emulator preferences, you can change the shell command line to `/system/xbin/su -` (minus backticks) to always begin in a root shell.
[Hero CDMA Android Development] ch1naski:
I always do. Especially helpful with the TE in dev tools, since it closes the soft keyboard after the command when typed in manually, and there isn't an option to toggle it back on...

nandroids are for

sissies
[Hero CDMA Android Development] jasonmaloney:
You can long-press MENU to open the keyboard anywhere in Android.
[Hero CDMA Android Development] ch1naski:
learn sumpin nu ervy day. :D
[Hero CDMA Android Development] JeffW8:
Jaybob... the rom is awesome.

(Posted while sitting on the train or on the... well, you know.)
[Hero CDMA Android Development] rast4man:
Flashed this afternoon and so far so good. Runs nice, has a nice set of configuration options. I enabled the JIT and made some adjustments on the cache. I am digging it though. I downloaded Zeam as that's my new favorite Launcher/Home and with that installed, she's running smooth. Kudos.

My only issue is with Flash. I know that the Flash 10.3 (I think) requires ARMv7 Compatible Processors and while we're on ARMv6 with the Hero's, what are our options? I can't get streaming video to work and it's kind of annoying. Any ideas?

Regards,

rast4man
[Hero CDMA Android Development] laie1472:
You can try skyfire web browser from the market. Its works decent on wifi or a good mobile singal.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] rast4man:
That's what is odd, I've tried Skyfire AND Dolphin and I get "media errors" on both. I literally can't view a stream unless it's just audio with no video but what's the point then...

Any other suggestions as I appreciate you throwing Skyfire out there.

Regards,

rast4man
[Hero CDMA Android Development] motoelliot:
I love skyfire, its the only browser I use...

Sent from A.W.E.S.O.M-O
[Hero CDMA Android Development] laie1472:
Humm well that's weried. Were are you storing the app??? Sd or internal?? Also are you on mobile or wifi when you stream?? And have you poked around in the settings of the app?? Ive ran skyfire on many roms and setups, it usually performs well. Are you running and extra mods like firerats?? Or data2ext???

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] igtheactt1:
My only problem and I can't figure it out is USB tether... It just doesn't work.
[Hero CDMA Android Development] laie1472:
I have an apk you can try. Not saying it will work but a you can give it a shot. Let me know. By the way what version are you trying??? Or are you trying the native one from the rom??

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] igtheactt1:
Latest update but native USB tether... Also using .35 kernel.
[Hero CDMA Android Development] rubyknight:
Latest version is a dream come true lol. I went through my sd card and deleted all the different zips from AospCMod and every other 2.3.3-4 zip i had.

Then i went and screwed it up by restoring my sms storage in TB and screwed up my messaging and had to nandroid back lol -.- Great rom though. I can't wait to play with it when I get home
[Hero CDMA Android Development] laie1472:
Well I have the wired tether apk. If you want to give it a shot let me know. Not saying it a sure shot but a you can give it a shot.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] systemshock869:
Does this rom have cm settings built in?
[Hero CDMA Android Development] pstevep:
USB issues

HERE is USB info from the man himself who originally ported this whole kernel.. which is why we have USB problems with the .35 in some of our phones..
[Hero CDMA Android Development] BallZDeeP:
only issue I have is battery life. 04JUN build was better for me battery wise

2:14 hours battery has gone down 13%
[Hero CDMA Android Development] rast4man:
The app is on the internal and I'm linked to my WiFi. I've definitely messed with all of the available settings in Skyfire and Dolphin and for whatever reason, it just won't work properly. I flashed a few new ROM's and right now I'm on TeamHeroC-2.3.4-08JUN2011-070523 with kernel 2.6.35.10-TeamHeroC. I just don't get it. *head scratch*
[Hero CDMA Android Development] PRGUY85:
Agree. 04JUN I got 26 hours without callibration.
[Hero CDMA Android Development] BallZDeeP:
I never got a chance to calibrate with 04 cause I had plenty juice at the time I shut down for the night. I calibrated last night though. Either way I'm really liking the stability
[Hero CDMA Android Development] igtheactt1:
Is anybody else having issues with USB tether?
[Hero CDMA Android Development] ch1naski:
There seems to be an issue with the .35 kernel and usb connections.IDK if it is happening to everybody, but I get it. Small price to pay for the benefits of this kernel, tho. There is always wireless tether....
[Hero CDMA Android Development] JeffW8:
My impression from the link pstevep posted is that you're guaranteed to have USB connection problems with the current kernal in this rom.

When you say tether, do you mean to use your phone as a means for giving your laptop internet access? If so, I recommend Wireless Tether in the market - much easier than dealing with the cable anyway.

EDIT: And someone beat me to it. I am far too wordy.

(Posted while sitting on the train or on the... well, you know.)
[Hero CDMA Android Development] igtheactt1:
Figured that much... wireless tether causes my phone to over heat & with the .29 kernel I get constant headphone status...
[Hero CDMA Android Development] rast4man:
Yeah I'm having major battery issues. I have Advanced Task Manager installed so I kill unnecessary apps that run but despite using this phone for my business, it's draining entirely too fast. I didn't have this problem on my last ROM so I'm hoping I/we can get some suggestions or apps that actually work to help preserve battery life.

I'm wondering if it has anything to do with the *.35 kernel? That's really the only major change I've done to the phone aside from just flashing and experimenting with new roms which are mainly aosp based. Hmm
[Hero CDMA Android Development] ch1naski:
I wouldn't use Advanced Task Killer. "Task Killers" are generally avoided with GB-based roms. Use Autokiller. It's a mem manager, and works more in sync with GB. Try a preset like "optimum", and maybe try the advanced "tweaks" (i can barely use that word anymore...ugh.) for battery life. Also. to enable the "advanced tweaks" after a reboot, you need to open the app once.(paid version starts them automatically on boot)
[Hero CDMA Android Development] rast4man:
Thanks chief. I'll switch then and see how well that does for me. I'm pretty lazy so the convenient "all in one" task manager/killer sounded good at the time lulz. Downloading Autokiller now.

Cheers,

rast4man
[Hero CDMA Android Development] laie1472:
If your not running and extra mods then I'd say try moving it to sd and in the settings of skyfire it should be a setting to have cache moved to sd I think. If so then select it. If you still have problems I'd have to ask what size is your sd??? And have you tried backing up all of your data and formatting your sd threw your pc then format threw your recovery. Then place all the data back and perform a full wipe and start fresh to see if that helps at all. And I don't recall you posting what governor your on and what's your min/max frequency???

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] igtheactt1:
8 mins since unplugged on full battery... I'm at 81% something isn't right... But I love this rom much better than aosp gb
[Hero CDMA Android Development] JeffW8:
So, was the USB problem only limited to data tethering? I found I have no trouble with a normal connection, and I transferred a couple of my nandroid backups to my laptop (backup of my backups). I even wiggled the USB cable a bit - nothing. While I haven't tried USB tethering, I have no USB issues that I know of.
[Hero CDMA Android Development] MrDowntown12:
Not sure why you guys are getting poor battle life. I'm getting SICK batt life. 8 am to 1 am still have 70 percent. This is the most ridiculously long batt life I've ever had

This is with wifi on searching all day, browsing xda about 5 to 7 times and a only a few texts. 2 gmail accounts syncing, one exchange being pushed, and one email synced every hour. I know its light use, but even when I do a heavyish use day I don't go below thirty percent.

This rom is literally the best I've ever used. Hands down.
[Hero CDMA Android Development] ch1naski:
Did you format all mounts when you flashed this Rom? Maybe a calibration is in order?
[Hero CDMA Android Development] igtheactt1:
Yea I started fresh, I'm actually doing a calibration now... But so far I don't see a difference. Meh ill wait it out.
[Hero CDMA Android Development] petermg:
When I try to flash my CDMA Hero with this ROM, it just stays on the HTC splash screen and I reboot it, nothing else happens, well sometimes it keeps power cycling back to the HTC screen over and over again, but it never gets past the HTC screen.. am I doing something wrong?
[Hero CDMA Android Development] laie1472:
Care to share what steps you took??? And what recovery are you running??? And what rom were you previously running???

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] petermg:
The recovery I'm using is GodSpeed Reocvery Toastcfh Edition, and I just wiped everything, then updated ZIP from SD. It said it was successful... but I'm stuck.
[Hero CDMA Android Development] petermg:
Also I don't know what ROM I was previously on as I wasn't using my Hero for a while but thought about going back to it and thought I'd test some of these new ROMS. I have a nandroid backup I can restore, does it really affect the new ROM flashing coming from a certain ROM? My device is rooted and has a custom recovery on it...
[Hero CDMA Android Development] pstevep:
No it wasn't limited to tethering really.. some of our heros just don't have the connection problems.. even though we are using the same kernel with the same coding some phones just respond better.. be.. glad you are one without issue..

sent from my... wait.. what..
[Hero CDMA Android Development] igtheactt1:
Everything works for me except wired (USB) tethering...
[Hero CDMA Android Development] JeffW8:
Yep, I'm definitely glad. Just curious, since I read s0be's post, and then offered to test.

(Posted while sitting on the train or on the... well, you know.)
[Hero CDMA Android Development] guyandhisdog:
Does anybody have any thoughts on my poor cell signal? Its 0-1-2 bars and I'm sitting next to the Airave. Old wifey's stock hero has full bars everywhere in the house.

Just wiped cache,dalvik, and installed the latest version of Jaybob's and 3/25 Gapps

Other than that, things seem ok except for slow response upon answering incoming calls. Maybe my caller id app is slowing it down? City-state Id 1.5 (But it didn't used to be slow)

Thanks for all y'alls input!

2.3.4 on a Hero? Yup
[Hero CDMA Android Development] laie1472:
Yes it can affect the new rom flashing if you didn't wipe properly. Also if you had a bad download or trying to flash to many mods at once. If you still can't boot into the rom send me a pm I might be able to help. I run Ra1.7 darch star edition so I'm a little familiar with it.

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] rast4man:
Not really running any extra mods per se, just lots of apps some of which I'm uninstalling. I will try to move the Skyfire to my 4GB SD and see if that helps. If it doesn't, at least now I can see videos on the YouTube App that I downloaded from a theme in the forums. So that's a bonus. If the Skyfire doesn't work I think I'll backup/wipe my SD, wipe all the cache on the phone and start over fresh.

As for CPU scaling I'm using ONDEMAND for the governor, MIN CPU is 352 and MAX is 691. I have it to set on boot, CompCACHE disabled, JIT enabled, allow purging of assets and VM heap size is default at 32.
[Hero CDMA Android Development] petermg:
I sent you a PM. I've now tried it with three different recovery images. I wiped, flashed, and rebooted and it just hangs on the HTC screen. Sometimes it will continually power cycle every ten seconds.
[Hero CDMA Android Development] Drunkpilot:
You might be having issues with the kernel. I can't remember I'd toy said you have used a .35 kernal or I'd your phone can't handle 768, but you might want to try flashing a different kernal. I think this kernal might scale to 691 as a default. Don't quote me though, I seem to remember reading that. It's been a crazy week and this has been my daily. Solid and smooth JB.
[Hero CDMA Android Development] petermg:
I've used the fresh ROM 2.1.1 with an overclocked kernel before, it can handle 768 no problem..... ?? I see no reason why this isn't working :(
[Hero CDMA Android Development] Drunkpilot:
I use clockwork mod recovery 2.5.0.7, but any CWM recovery has a format system, boot, cache, and data. Many format instead of just wiping data and cache and so every partition 3x just to make sure there are no dingleberries left from other roms. I'd that doesn't work, search the hero cdma development section and look for something called fixflash. You might have some files that are getting corrupted during the flash. This tool will detect and fix angry corrupted files. You do need adb. That's my 2 suggestions.
[Hero CDMA Android Development] petermg:
I did switch to ClockworkMod recovery, and no hash mismatches:

petermg@kids-ubuntu:~/android-sdk-linux_86/tools$ ./adb shell sh /sdcard/FixFlash.sh
FixFlash 1.1 - Flash Verify and Repair Tool by SavvyX4

Gathering verification data...
Mounting phone file systems...
Extracting file information from flash log...
Verifying file integrity...
Hash mismatches detected: 0

Done.

But still can't boot!?
[Hero CDMA Android Development] il Duce:
Do you use a2sd, or data2ext? It could be something on your sdcard partitions not agreeing with the rom? If you wipe both options on the main screen in cwm, then format everything but your sd in the mounts and storage, then wipe dalvik in advanced, then flash the rom and gapps, it should work. It will take a while to boot, so be patient. You could always try a different sd, our backup your contents and reformat your sd. Good luck.
[Hero CDMA Android Development] igtheactt1:
8 hours now and I'm at 74% that's much better... I used "batterycalibrator" from market to erase stats instead of recovery and this is the first time it actually worked...
[Hero CDMA Android Development] laie1472:
Sent you a return pm. If your still having troubles let me know via pm. Thanks

#Root/Hack-Mod_Always*
[Hero CDMA Android Development] igtheactt1:
I'm really confused here... after calibrating my battery letting it die then charging to 100% I got dam near 17 hours... after it finally died I charged it to 100% again and now I'm at 50% after 3 hours.. I just don't get it...
[Hero CDMA Android Development] JeffW8:
I had something similar happen to me. After an attempt at calibration, it appeared that I had a lot less juice. I decided never to do that again.

(Posted while sitting on the train or on the... well, you know.)
[Hero CDMA Android Development] RammsteinNicCage:
I just upgraded to this yesterday with Gapps 3/07. I searched the market for the DirecTV app and only the NFL Sunday Ticket one is showing, not the one to schedule your DVR. Anyone else having this issue? I was previously using aosp 2.3.3 and had it.
[Hero CDMA Android Development] BallZDeeP:
you and I both
[Hero CDMA Android Development] PRGUY85:
Same thing has happened to me.
[Hero CDMA Android Development] jmartin72:
anyone know why ARing would keep FC'ing on me every time i try to set a ringtone?

Update:NM ringtone was set to none. When I set it to anything in android then ARing would let me change it....strange.
[Hero CDMA Android Development] PRGUY85:
Battery drainage has also been confirmed by a friend after calibration. Could it be the kernel?
[Hero CDMA Android Development] JeffW8:
I think I remember a post from before that said there might be an issue with the way CW recovery clears the stats, and that if you use a certain app from the market it'll work better. I don't exactly know how that could be, but to your point about the kernal, I believe the code we're using may be for a different phone (Nexus S maybe?) So it's possible battery stats are based on that phone instead.

(Posted while sitting on the train or on the... well, you know.)
[Hero CDMA Android Development] PRGUY85:
Interesting. Let's see what jaybob has to comment on the matter.
[Hero CDMA Android Development] stayclean:
I get great battery life, and I re calibrated after having flashed this. Also, that "theory" about battery stats, well, doesn't really make sense, haha.
[Hero CDMA Android Development] il Duce:
I might not be jaybob, but, FYI on batt stats: they are stored in /data/system/batterystats.bin, and they are generated by your device, NOT an app, or calibration. All that wiping the stats in recovery/pressing the button in an app does is delete this file. After that, the file is immediately auto-generated by the device. The reason you may see CRAZY stats after a calibration is because there is no longer a track history in the .bin and it takes a day or three to get a new history. Your ROM is creating a new percentage an voltage table. Honestly, your battery life betweeen AOSP based ROMs should not differ much at all, if any. The reason people always say WOW this has awesome battery life on any given ROM or version is due to the incorrect readings in the .bin from the prior ROM. There would be noticable differences between sense and AOSP though. In general, your battery should last about the same amount of time no matter what, after all ROMs do not increase your battery's capacity or charge amount. YMMV.
[Hero CDMA Android Development] PRGUY85:
Thanks.

What about the kernel in this?