yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] il Duce:
He could, so could everybody who posted since you, I know, I've seen it. I probably can, but given your repeated insolence, I don't really want to. BUT ... I'll try anyway. Did you try another charger yet? Are you s-off? You flashed NOTHING since decafuct, installed NOTHING like apps? You made NO tweaks to your system files or build prop? I find it VERY hard to believe that the kernel that has worked for thousands, myself included, has broken your phone, especially after a week of use. If it was the kernel, it would have happened sooner than a week. It has to be something else. How bout any flashes or installs or changes near the time you did the kernel install?
[Hero CDMA Android Development] Squiggy45:
1. No

2. Yes. Same (lack of) response.

3. Interesting. I just plugged it into the laptop again, and the light came on. Now the phone comes on as well, after an hour of trying everything to turn it on.

4. No idea what you mean.

5. Nothing. I installed the kernel last week, experienced random reboots, talked on it last night for a few minutes, went to bed and woke to a dead phone - fully charged by the way.

6. No proof, and I didn't say the kernel was the issue.
[Hero CDMA Android Development] :
If he uses the usb cable to charge,it could be bad.W

Sent From My Pedal-to-the-Metal Hero!
[Hero CDMA Android Development] :
Well now that the phone is working, time to FORMAT and reinstall and skip the kernel and see what happens.

You didn't say explicitly that the kernel was the issue, but you passively suggested it with your wording. ;)

I wonder if the phone is experiencing overheating issues (or the battery) either internally (something you can't feel by holding the phone) or externally that you would be able to feel.
[Hero CDMA Android Development] Squiggy45:
Phone is fully charged. Thankfully, and oddly, it came back on.
[Hero CDMA Android Development] :
Like I said bad cable,usb port on phone or laptop.Bump it while transferring dat and you prob have corruption

Sent From My Pedal-to-the-Metal Hero!
[Hero CDMA Android Development] Squiggy45:
II used the words "Since flashing this kernel..." and then stated the facts. That is not a suggestion... it's just the facts. The phone never gets hot, but that's a good call. I do have another battery, but I tried using that one, when the phone was "dead" and that had no effect.

Yes, I'm running Titanium right now and will be flashing everything over again.

Sorry if I seem like a pain in the ass, but I freaked right the hell out when this happened, since I use my phone for business.
[Hero CDMA Android Development] Squiggy45:
Interesting. But the same usb cable is powering the phone - successfully - right now. But I do appreciate the information.
[Hero CDMA Android Development] Decad3nce:
I don't have time right now to watch the video. But what Toolchain are you using?

If you need a recommendation, just use the toolchain included in AOSP/CM /system/prebuilt/

GCC 4.4.0

Strange. The commands work fine in my ROM. I wonder if I goofed up on something when including it in this update.zip. Thanks fro the heads up.
[Hero CDMA Android Development] hotaru:
changing the software cannot void the warranty on the hardware. if the hardware allows software to cause damage to the hardware, the hardware was defective, which is covered by the warranty.
[Hero CDMA Android Development] :
I guess I need <sarcasm> tags.
[Hero CDMA Android Development] laie1472:
If you don't mind me asking what does the error mean and what does the fix mean??? Thanks

Root-Hack-Mod-Always™
[Hero CDMA Android Development] Sodikop:
I had the same problem, phone would be charging fine, but transfers would cut out intermittently. Play with the cable and transfers would start/stop depending on how I moved the cable, but the charge would be continuous. Just because the wire sending power is still 100% doesn't mean the data wires are unaffected...
[Hero CDMA Android Development] vita10gy:
My phone is very touchy about charging with a miniusb cord. The full htc proprietary plug seems to be problem free.

Maybe we're all just reaching the point where the stress and wear/tear is getting to the usb connection.
[Hero CDMA Android Development] :
+1

Sent From My Pedal-to-the-Metal Hero!
[Hero CDMA Android Development] jasonmaloney:
The tweak is to disable setting of the "last-accessed" timestamp on files to boost disk access times, thereby speeding up the phone and using less battery.

The mount command is printing usage instructions because it is being used incorrectly. This means that the partitions aren't actually being re-mounted, so the "noatime" option isn't actually being set. All I did was re-write the commands to explicitly specify the device paths.

Also, it looks like the mount commands dealing with the SD card are still throwing errors because (at least on my phone with aospMod) the SD card isn't actually mounted until after 06tweaks is run. I'll have to look into this more later.

I can update the battery tweak too if anyone is interested.

EDIT: Upon further research, it seems the original commands work fine if you just prepend them with a call to busybox, i.e.

busybox mount -o remount,noatime / -t rootfs

So I double-checked where "mount" was actually coming from:

# which mount
which mount
/system/bin/mount
# ls -l /system/bin | grep mount
ls -l /system/bin | grep mount
lrwxrwxrwx root root 2011-01-16 19:41 mount -> toolbox
lrwxrwxrwx root root 2011-01-16 19:41 umount -> toolbox

So the "toolbox" variant of mount doesn't like the shorter syntax, while the "busybox" variant works fine. Not sure why aosp symlinked to toolbox instead of busybox, since both are included in the ROM. I'll go ahead and change the file attached to the other post to reflect this.
[Hero CDMA Android Development] laie1472:
When you edit the script will you include the original command????

And I'll test it out and post some feed back. Let me know when you edit the script.

Root-Hack-Mod-Always™
[Hero CDMA Android Development] jasonmaloney:
The original post has been updated.

EDIT: After rebooting, you can verify it is working correctly by running "adb shell mount" and verifying that the noatime flag is set for your partitions:

C:\Users\Jason>adb shell mount
rootfs / rootfs ro,[b]noatime[/b] 0 0
tmpfs /dev tmpfs rw,[b]noatime[/b],mode=755 0 0
devpts /dev/pts devpts rw,mode=600 0 0
proc /proc proc rw,[b]noatime[/b]0 0
sysfs /sys sysfs rw,[b]noatime[/b]0 0
none /acct cgroup rw,cpuacct 0 0
tmpfs /mnt/asec tmpfs rw,[b]noatime[/b],mode=755,gid=1000 0 0
none /dev/cpuctl cgroup rw,cpu 0 0
/dev/block/mtdblock3 /system yaffs2 ro,[b]noatime[/b]0 0
/dev/block/mtdblock5 /data yaffs2 rw,nosuid,nodev,[b]noatime[/b]0 0
/dev/block/mtdblock4 /cache yaffs2 rw,nosuid,nodev,[b]noatime[/b]0 0
/dev/block/mmcblk0p2 /sd-ext ext3 rw,[b]noatime[/b],nodiratime,errors=continue,data=ord
ered 0 0
/dev/block/vold/179:1 /mnt/sdcard vfat rw,dirsync,nosuid,nodev,noexec,uid=1000,g
id=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-
1,shortname=mixed,utf8,errors=remount-ro 0 0
/dev/block/vold/179:1 /mnt/secure/asec vfat rw,dirsync,nosuid,nodev,noexec,uid=1
000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso
8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
tmpfs /mnt/sdcard/.android_secure tmpfs ro,size=0k,mode=000 0 0
[Hero CDMA Android Development] kfreshx:
is there a difference in performance/efficiency between CM 6.1+ using setCPU to overclock to 768mhz vs. using CM 6.1 with deca's modded 768mhz kernel installed?
[Hero CDMA Android Development] c00ller:
The majority report better everything (performance, battery life) with using Deca's kernel + Decamod battery tweak (found at the bottom of the 2nd post) than with SetCPU
[Hero CDMA Android Development] kfreshx:
That sounds great i think i will flash both tonight. Quick question.. in terms of decas batt tweak will all adjustments (ie adjusting screen off mhz etc) have to be done via terminal emulator / sdk on pc? Thanks.
[Hero CDMA Android Development] c00ller:
Yes, they will. Just type 'batt-cfg' into terminal emulator or in adb shell
[Hero CDMA Android Development] oostah:
Does your kernels support the data2ext4? Or even the data2ext?

I thought you said they did but I keep reading post that say they don't.
[Hero CDMA Android Development] Decad3nce:
This is simple. Just read my posts. In short, they do support ext2->ext4. :P
[Hero CDMA Android Development] pwrdvtec1990:
Wow I just get my phone with everything I want and the MAN comes out with another update. This rom is sweet AOSP!

On another note will I need to reflash:

Deca Kernal #589 oc768

Deca batterytweek

Data2ext

If and when I decide to flash an update?
[Hero CDMA Android Development] :
I think you posted this in the wrong place.... this isn't AOSP's thread...

To answer your question, the ROM already includes work based on decad3nce's kernel. Last I heard it was hotaru's fork of decad3nce's kernel that was being used.... so flashing this wouldn't be much of a change.

batterytweak: yes, data2ext: yes.
[Hero CDMA Android Development] azr6:
This kernal being updated to work with gingerbread?
[Hero CDMA Android Development] s0be:
It already does.
[Hero CDMA Android Development] azr6:
So we can just install the one from the op and all is well or is there a new thread for it?
[Hero CDMA Android Development] oostah:
Any one will work #43 691 people have alot of luck with getting GB to boot. They all will work just make a Nan 1st just to be safe no to heros work the same.
[Hero CDMA Android Development] azr6:
Makes sense. Thanks.
[Hero CDMA Android Development] gigermunit:
It does a damn better job than stock might i add
[Hero CDMA Android Development] 24601:
I have had great success with the #589 691mhz kernel with aosp's GB ROM. The ROM comes with a 768 fork that causes lag issues with some Heros (not all are the same). I also use deca's battery tweak and it works wonderfully on battery.
[Hero CDMA Android Development] il Duce:
Yeah good call, I realized after I updated the GB wiki the first time about booting that I was a bit misleading about needing #43... So, I just updated the wiki today to include #589 for a 691 cap. And if people want to run somewhere between 691-768 (but their phone can't handle 768, like mine which reboots anywhere over 729 max) then they need the #43 which includes a 691 boot limiter and can be scaled up with the batt tweak. The #589 kernel at 768 does NOT include the boot limiter and scales itself to max 768 freely, like the stock GB kernel, and that is why some people have been having freeze/loop issues with GB. Glad Decad3nce made these kernels, because without them a bunch of us wouldn't be able to boot GB. Thanks a zillion Decad3nce !
[Hero CDMA Android Development] kurigowa:
Change CPU Speed Script

Hi. So I'm trying to make a script to start at boot so that my phone defaults to 729600. Deca had posted here to make this script and place in system/etc/init.d...

#! /system/bin/shmount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /systemecho "729600" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

I made file called cpumax.sh and copied this text into the file. I click it, it runs, but doesn't change Max Cpu speed. Driving me nuts! Any help?

PS. I'm running Jaybobs CM6 and am trying to run my phone at 729600 but the ramdisk keeps overwriting the speed at boot
[Hero CDMA Android Development] il Duce:
So I am pretty sure I just did what you want, only not how you described it. FYI my current rom is GB 01/28 and WAS on the #43 kernel. I went into system/etc/init.d/30cpumem (using root explorer!) opened that in text editor, and changed the 691200 to 729600, saved and exited, rebooted recovery, flashed #589 kernel 768max, rebooted and did not get a freeze/splashloop - which I would get flashing the #589 max768 without this edit. Give it a try, lemme know if it works for you on froyo.
[Hero CDMA Android Development] kurigowa:
Hi, thanks for the response but I believe that file isn't used by Jaybobs. I've done that with GB, but doesn't work in this Froyo build. Seems like it doesn't read that file for CPU freq. Thanks for the suggestion.

Still trying unsuccessfully to write script to change cpu startup Freq using Decafuct on Jaybobs latest. I can do it via adb but upon reboot it defaults back to 691. I've read through so many posts my head hurts. I know I can use an app to change it, but I wanted to do it this way. Thanks!!
[Hero CDMA Android Development] old.ghost:
What's the different between BFS and CFS kernel?

What's the kernel on my aospCMod 2.3 1/28 rom? Can I use battery tweak in post #2? Thanks.
[Hero CDMA Android Development] :
Can you make a 787mhz max clock speed cfs build of your latest kernel? That is the max speed for our heros before they reach their bottlenecks and start losing performance at higher speeds. So 787mhz is the max speed for top performance. May add please to my request? :)

- Kifno's HTC Hero CDMA's speed makes it the best hero....THE FLASH!
[Hero CDMA Android Development] gigermunit:
Would the difference in performance be that grand?
[Hero CDMA Android Development] theimpaler747:
Nope, the performance would actually be worse ;)
[Hero CDMA Android Development] theimpaler747:
Different forms of CPU scheduler, for us CFS is overall more stable :)
[Hero CDMA Android Development] :
I thought you said 787 is the highest we could go before losing performance....

- Kifno's HTC Hero CDMA's speed makes it the best hero....THE FLASH!
[Hero CDMA Android Development] theimpaler747:
It is, but really I've found 768 is the best for the phone, if your phone can even handle 768... remember, some can't
[Hero CDMA Android Development] :
I'm one of the lucky few who can oc up to 825mhz

- Kifno's HTC Hero CDMA's speed makes it the best hero....THE FLASH!
[Hero CDMA Android Development] theimpaler747:
Not quite ;) Many of us could OC up to 825, but on none of ours was it fast :)
[Hero CDMA Android Development] :
Yeah there wasn't much difference but thanks for explaining the CPU speed issue.

- Kifno's HTC Hero CDMA's speed makes it the best hero....THE FLASH!
[Hero CDMA Android Development] kurigowa:
Audio Cutouts/Lock lag

anyone else getting audio cutouts with Music player app? Using Jaybobs with decafuct and cfs 11/18 stable
[Hero CDMA Android Development] jaybob413:
scaling_available_frequencies??

Any ideas on how to get the sysfs virtual file /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies created with this kernel? This file is used by the CM7 CPU settings function, which fails due to the lack of this file.

In taking an initial look at the source, I see where the other cpufreq virtual files are created in cpufreq.c, and the stats files created in cpufreq_stats.c, but the only reference I find to this file is in the freq_table.c where the freq_attr struct and show function are set up, but don't see where it is supposed to actually create the virtual file.

Thoughts, suggestions, ideas welcome.

[EDIT] Never mind. I got it working with a small change to cpufreq.c
[Hero CDMA Android Development] jaybob413:
Adding scaling_available_frequencies to /sys

Here is the commit in cm-kernel that added scaling_available_frequencies

https://github.com/CyanogenMod/cm-kernel/commit/fec86f92cf6431d09d3e5dac700d2f2c64c0bcff
[Hero CDMA Android Development] Decad3nce:
I got your pm. Was busy though, glad you got it figured out.

Check your pm.
[Hero CDMA Android Development] applefanboylol:
"echo "768000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq"

i put this and as soon as i unplug my device it goes back to 691.. is it supposed to do that?
[Hero CDMA Android Development] azr6:
Anyone got an update setting for the GB roms for the decamod?
[Hero CDMA Android Development] jasonmaloney:
You're probably using the battery tweak that changes your settings based on power source. You can configure it whichever way you like.
[Hero CDMA Android Development] jrny99:
ok, I flashed DecaFuct #589 691mhz and phone picked up speed and runs great, is it ok to flash Decad3nce-DecaFuct #589 768mhz over 691 ?
[Hero CDMA Android Development] Vandelay007:
I just tried bfs from #9 and GPS would not lock....nan'd back to 9...

Sent from my HTC Hero with Froyo...
[Hero CDMA Android Development] Chevelle1768:
Going to try your latest on my Eris. Will report back.
[Hero CDMA Android Development] Decad3nce:
don't do that. lol. you have to compile it with a .config set up for the eris.

The precompiled kernels in the OP won't work.

darch added a defconfig for the eris, so all you'd have to do is grab it and set it up, then compile it.
[Hero CDMA Android Development] Chevelle1768:
Thanks! Could you post some in the Eris section? I am not a linux guy, so I don't know how to compile it.
[Hero CDMA Android Development] asoong:
Dumb questions

Background:

Unfortunately, I have a hero that can only go up to 710. I've tried wiping dalvik and a couple of the other suggestions from previous posts but 710 is about all my phone can handle. @729, phone will simply freeze and requires pulling the battery to get things going again. Anything higher will freeze and reboot after the first attempted use of my gps.

Anyway, my question is - is there any 'real' benefit running at 710 versus the default 691? Yes, I know how to do math so please no "you get ~2.75% increase in performance" replies please.

Has anyone noticed either:

a) the ability to do *something* with this kernel at 710 or below that you couldn't do with darchstar's default kernel? or...

b) improved stability or battery life overall?

EDIT: after previewing this post - I think I might come across as being grumpy. This is not my intention. Its just been a long day and I would like insightful answers. thanks in advance.
[Hero CDMA Android Development] Decad3nce:
I could put up a 691 capped of the BFS kernel. I don't know if I'll put one up of the 'Stable' kernel as it is MOSTLY like Darch's kernel(couple of minor changes).

But it all depends on demand.
[Hero CDMA Android Development] asoong:
Thanks for the offer. My personal vote would be "don't bother" - I think your awesomeness would be better spent on kernels for phones that can handle a higher OC than my phone. :D

I'm OK running darchstar's kernel at 691 or yours (#9 btw) at 710. I'm just curious to see if there are any benefits to doing the latter.
[Hero CDMA Android Development] omeganot:
On the CM6 8/29 nightly with brainfuct #4

Battery usage seems good...I think. Up time is decent so far at 16h15m since unplugged, and 10% remaining. The oddest part to me, however, is that Android OS is now the #1 consumer of battery life. It accounts for 46% of the usage, at 1h51m of use. Before this, my #1 battery consumer was the display at around 30-40%. Usage otherwise throughout the day was mild, 13m of phone calls, and a few email checks. Could the increased usage on Android OS be due to the usleep function tying up the OS and counting towards usage, but essentially doing nothing?

Also, for other general usage stats, I'm running SetCPU with 245-768Mhz ondemand (was running conservative, but it was swapped when I went into SetCPU, so I can only assume it was running ondemand) for the regular profile, 122-352MHz interactive for Screen Off. Phone is amazingly snappy in all transitions, though sometimes I seem to have a few issues with the touch screen recognition, like unlocking doesn't always grab fully, or a home screen page change. Still, amazingly smooth.
[Hero CDMA Android Development] LanceLet:
bfs #4

Just reporting in

on nightly 8/31

2.6.29.6-BrainFuct (#4 i believe) I'm getting a shotty gps lock. nandroiding back to 8/18
[Hero CDMA Android Development] theimpaler747:
Bfs breaks gps... use the stable kernel for a GPS lock

Sent from my HTC Hero running froyo: take that, Sprint!
[Hero CDMA Android Development] smolck:
Same here. BF #4 and 9/1 build.

Edit: went back to #9 kernel and holy smokes this is NICE! I am getting 5.1 MFLOPS consistently set at 729 with JIT enabled on 9/1 build. Great job, thanks for this!
[Hero CDMA Android Development] Decad3nce:
Seeing as the stable also has the usleep function added(and display still still dominates use) it has to be something else. Or maybe a combination of BFS and usleep.

I'll being going over the BFS code with a fine tooth comb this weekend. Hopefully I'll be able to get everything worked out.
[Hero CDMA Android Development] theimpaler747:
Cool great work Decad3nce! I think I speak for all on here when I say your kernels are pretty amazing :D
[Hero CDMA Android Development] ruizma:
Can this kernel be used with a sense rom? (damagecontrol)
[Hero CDMA Android Development] theimpaler747:
I believe it can, although you may have to change the ramdisc to get it to work with sense.
[Hero CDMA Android Development] Decad3nce:
The anykernel update.zip doesn't affect the ramdisk at all.
[Hero CDMA Android Development] feefeeboomboom:
I'm running 09/01 with BFS #4. display is consuming %60 of my battery at 1:22:33 of up time. Android System %7. Don't think its the kernel.
[Hero CDMA Android Development] xxproblemzxx:
Love this kernel. My phone is smooth as ever, only downside is I'm pretty sure it breaks the Sprint football app Lol, believe it or not, I love that app. Might try the bfs kernel tomorrow....

Sent from my CM6 Sprint Hero. Got a problem with it?!
[Hero CDMA Android Development] james33440:
What are you using to overclock to 729? I'm curious if you are using SetCPU or battery tweak.
[Hero CDMA Android Development] chompy:
503 Quad

I did the deca tweaks in post#2, and got a 503 quad! Wooooohooooo

picasaweb.google.com/110134282399733827084/UntitledAlbum#5512343367886506658
[Hero CDMA Android Development] Decad3nce:
yes, 10char
[Hero CDMA Android Development] jrny99:
worked great running NFX-Sprint.STOCK.2.32.651.2.ODEX.A2SD

THANK YOU !
[Hero CDMA Android Development] theimpaler747:
Yes it is ok to do that :D
[Hero CDMA Android Development] elcangri23:
This kernel is great!

But i having a problem with the music, when its playing im having cutouts and with pandora its freezes the sound.

Sorry for my english

Sent from my Hero
[Hero CDMA Android Development] 24601:
Use the battery tweak in the second post. Change your minimum cpu settings to 352000.
[Hero CDMA Android Development] theimpaler747:
Yup, that'll fix it. Min frequency is too low right now
[Hero CDMA Android Development] elcangri23:
Thank you guys that solves my problem

I see the collin_ph v3 rc2. I can use that one or is best the batt tweak on the second post?

Sent from my Hero
[Hero CDMA Android Development] 24601:
Either one will work. I prefer deca's to use on his kernel.
[Hero CDMA Android Development] theimpaler747:
I too liked deca's, but they're based off the same code so it shouldn't be drastically different on either :)
[Hero CDMA Android Development] aiwetir:
if i'm not mistaken when in you install deca's there it says somewhere (maybe logcat, maybe in batt-cfg) that it contains collin_ph battery tweak
[Hero CDMA Android Development] theimpaler747:
That's why I said they're based on the same exact code ;)
[Hero CDMA Android Development] picklerick:
I flashed #589 and no longer have an option for compcache in my settings, I have also tried "compcache start" which did not work. It returned "modprobe: chdir(2.6.29.6-DecaFuct): No such file or directory". Before flashing this kernel I was able to use compcache, can anyone help me with get compcache back up? I'm running asopCM7 and #589, thanks in advance.
[Hero CDMA Android Development] norm12:
This kernel and most of his recent ones do not have compcache as an option. To use it you have to flash a different kernel
[Hero CDMA Android Development] picklerick:
i am guessing swap in a no go too, right?
[Hero CDMA Android Development] norm12:
yeppers---seems to be a package deal, but I could be wrong
[Hero CDMA Android Development] theimpaler747:
I really never even found compcache and swap to be that helpful...
[Hero CDMA Android Development] norm12:
I never did any benchmarks, but with a class 6 card, swap seemed to make a difference in speed/responsiveness