yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] mattshaver:
I think I may be confused as to what exactly the kernel's role/job is, as well as to what the drivers role/function are.

a kernel is what tells the hardware how to interact with the software, and drivers are what tell the software how to interact with the hardware? Correct?

So, why would it take a different kernel to run a full AOSP ROM? Why not just write new drivers for the difference of hardware?

On another topic. The framework would be comparable to what CounterStike is to Half-Life. It still uses the underling software, but is modified and branded in its own way as to give such a "proprietary" feel?

I am so confused. :P (Google here I come)
[Hero CDMA Android Development] Jus10o:
It doesnt effect jit at all. It only adds a few files and changes your boot.img.
[Hero CDMA Android Development] Decad3nce:
JIT is controlled by other variables, namely build.prop and the dalvikvm.so library; it won't hinder those settings at all.
[Hero CDMA Android Development] brokentoaster24:
i used adb on my computer (not sure if that makes a difference):

C:\androidsdk\tools>adb shell

# free

free

total used free shared buffers

Mem: 195764 193404 2360 0 7384

Swap: 0 0 0

Total: 195764 193404 2360

#
[Hero CDMA Android Development] spiritcrusher33:
Re: [KERNEL] Toast-godmode .29 source for DamageControl

So I can flash this and oc icerom? Etc....

-------------------------------------

Sent via the XDA Tapatalk App
[Hero CDMA Android Development] Jus10o:
Haha well you are right sorta on what the kernel does, but all cdma htc heros use the same kernels but it depends on what android version you are using. 1.5 uses .27 kernel, and 2.1 can use a edited .27 kernel but something things wont work, like camera. What toast did was made his own .29 kernel based on other sources and what we already have then we use for our 2.1 roms. The 2.1 roms that come from sprint use a .29 kernel that work, but we cant edited anything within the kernel until they release the source to the kernel. You must have source to the kernel to be able to change anything with in it. You cant download a rom from xda and take the kernel out and change the files and put them back. You have to already have the files to the kernel, change what you want, make your own kernel and then put it on the rom. Cuz once you compile the kernel its not able to be opened back up.

In a boot.img there are 2 parts, the kernel and a ramdisk. The ramdisk CAN be opened back up and changed. But if its trying to call something within the kernel it has to already be there, since you cant add anything to it. If you start with all the kernel files and compile your own like what toast did, then you can add the special things like overclocking frequencies.

I know I really suck at explaining things. I only know the basics of how it all works.
[Hero CDMA Android Development] Jus10o:
And you have the compcache.. or the newer one i posted?
[Hero CDMA Android Development] schmooo:
sweet im gonna give it a try
[Hero CDMA Android Development] brokentoaster24:
i downloaded and flashed damage1.zip with compcache
[Hero CDMA Android Development] Jus10o:
Ok thanks.. yea compcache and swap arent working. Ill work on it.

But overclocking and everything else is. So its not gunna make a noticeable difference.
[Hero CDMA Android Development] aisseleacim03:
After the weekend, I installed the 710 Kernel on Friday, I can report that overall my phone works faster and the battery lasts longer.

Every now and then there is some serious lagg, but from what I have read so far must be the phone scaling up and down so I just moved the min to 245 (it was at 190) and we will see how it goes.

Wi-fi tether will freeze regardless so have to use an app killer to stop it form doing so.

I was able to run the 768 but the phone didnt seem to respond as well as with 710.

As for temperature issues only when I am tethering the phone will go "hot" to over 40 degrees but besides that no problem with the temperature.

Lesson learned, the oc widget and setpcu dotn get along. One will mess up with the other. So uninstalled the widget and kept the setpcu (more comprehensive)

question, anyone minding sharing their setpcu profiles? Just want to compare mine to the experts out there.
[Hero CDMA Android Development] rrr571:
No boot after flashing over PureHero2.0

:(

I have tried at least a dozen times to flash this on my wife's Hero over PureHero 2.0, always with the same result. I cannot get past the HTC boot screen.

I am using new Godspeed recovery.

I have a new class 6 16gb sd,partitioned to ext3 with default values.

I have wiped all wipeable areas each time before flashing.
[Hero CDMA Android Development] aisseleacim03:
Yahoo...

For the past 3 days, when I flashed the 710, mail has stop updating.

Does the new Kernel has anything to do with this?

I deleted the account and created it again, it downloaded the mails up to this morning, but then stop synching again.

It says it is doing it but nothing uploads.

Neither WIFI or 3g working.
[Hero CDMA Android Development] Jus10o:
If you cant get 710 to boot. when i get home ill make one that boots at default value of 528 and you can scale it higher from there using a OC'ing app.

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] rrr571:
Thanks man. I forgot to mention that I tried first with the 768, then with the 710. Same results.

Will this get along with Darktremor A2SD?
[Hero CDMA Android Development] Jus10o:
yea couple others use both.. one had to flash this then reflash the apps2sd, though you shouldnt have to.

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] sh4nk:
Yeah 32mb swap, 512mb ext2 and rest fat32 is what I used, so I should be good to go! I'll flash it later today and let you know how it goes!
[Hero CDMA Android Development] Jus10o:
This will run regardless of your sdcard partition. So if anything goes wrong its not the swap/ext/fat32

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] sh4nk:
I read on the 1st post in this thread that you have to change ext 2 to ext 3, do I have to do this? Or will ext 2 work fine for swap/compcash
[Hero CDMA Android Development] Jus10o:
it will work but i usually recommend ext3 or ext4 (when possible).. im pretty sure you can change ext 2 to 3 without it wiping your card.. the only time it wipes is when setting up the partition

Sent from my Hero CDMA using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] sh4nk:
Ok, I installed the kernel onto my Hero, but when I open setCPU it still only shows 528 as the max. Have I done something wrong? How can I get it up to the 710 as my max?

In the available ram I have seen an increase as soon as I booted it up. It was normally at 30-50, but it is now at 70-80.

:edit:

Nevermind, I went and selected custom, but it asked me if my sd card was unmounted from my pc. I then went to autodetect, and everything is going well! Thanks for helping us speed up our phones! My available ram now says on average about 60mb. Do you know why it dropped?
[Hero CDMA Android Development] Jus10o:
I just updated the first page with a 537 kernel.. Scalable to 768 if you use an OC'ing app. But its set to 537mhz by default. So anyone with problems booting.. Try the 537 download.
[Hero CDMA Android Development] sh4nk:
I am going to stay with the 710 kernel, I just OC'd it down to 614, and it seems to be running faster with it at 710, there's no lag. :)
[Hero CDMA Android Development] Death by Andy:
Thank you for the advice Jus10o, I bumped my speed down just one notch to 691 mhz and now my phone never reboots on its own. Seems I was just 20 mhz short of being completely stable. Battery life has been great as well since going to this kernel. Thanks for all the help Jus10o!
[Hero CDMA Android Development] lokipimpin:
I'm lucky...running 768MHz - 518MHz stable for 3 days now with great battery life an no FC's or reboots..lovin life...dont really know how I'm doing it so dont ask!
[Hero CDMA Android Development] Jus10o:
HAHA... "dont really know how I'm doing it so dont ask!"
[Hero CDMA Android Development] jpenney9375:
Running this for 2 or 3 days (they blend together too much while on overtime) and running stable and greatly improved battery life. Just want to say thanks for doing this again as this was the only feature I ever thought about leaving a damage rom for something else. Kudos to you and of course for Toast getting it started for the FreshToast side of life.
[Hero CDMA Android Development] rrr571:
Cannot flash over PureHero2.0

I tried again last night to flash over PureHero 2.0 with same result with the 538 kernel.

:(:(:(
[Hero CDMA Android Development] energizer1389:
Please help!!! Cant unlock

Need Help!

I just flashed the Damage713 Kernel. It booted up fine up to the lock screen. Im using an exchange account so I need to type a password. The problem is that my Swype keyboard shows up but doesnt work. It doesnt type and now I cant unlock my phone. It doesnt let me change the input method either.

Is there anything I can do other than restoring the backup???

Update: I Restored, changed keyboards and flashed again.

Installed Set Cpu and setup at Max 768 Min 160. I will be testing for a couple of days but haven't seen any significant improvement. Im running DC 2.08 not 2.08.1 with the official release. Would this be a problem???
[Hero CDMA Android Development] pandam00nium:
A few of us are having the same issues. I tried the 538 and 710 kernels and it freezes at the black screen too. Same thing happens when I try to install any custom rom that has the OC feature. DC 2.08.1 and Fresh 2.1.2 work perfectly fine. Ic3rom, Fresh Toast, DamageR all freeze at the black screen.
[Hero CDMA Android Development] aisseleacim03:
Tethering

An update on the tethering issue...As we are aware when using this kernel if you are tethering and try to stop it by just pressing it to stop the phone will freeze right?

And also it has been suggested that in order to avoid that to use a task killer to stop it.

So I did that, used advance task manager to kill it and seemed to work. The screen went back to the main screen and the icon disapeared from the task bar...

BUT the phone kept on tethering and sending a signal to my computer.

So I pressed the app icon again and when it opened up it was like it had never stopped.

Ok..so Advance task killer is not doing it, how about Auto memory manager?

Open that app up, found the tethering as part of content provider folder and killed it.

Nothing, my computer stills get the signal and when pressed the app again it pops up as it had never stopped.

So maybe that is why when we try to stop it via regular ways the phone freezes...the app will just not stop or allow anything to stop it.

I dont have a clue why this might be happening. Leave it to the experts to brainstorm the causes and maybe solutions....

I will post this also on the main DC rom thread to see if anyone there might have any idea too...
[Hero CDMA Android Development] jay24k:
I'm a bit confused. I ran the 710.zip and my phone just sits in a HTC loop at bootup. I had to restore from a backup. I'm on latest DC as well. My sdcard is just a standard format so from what I can tell I don't need to reformat it do I?

Going to try the 768.zip but skeptical.

Am I missing something?

Thanks in advance.
[Hero CDMA Android Development] pandam00nium:
Try the 537 one as well. It's variable so you can raise it with an application off the android market. If you get the boot loop you're on the same boat with the small minority that can't seem to boot up anything linked with the kernel. :/
[Hero CDMA Android Development] jay24k:
Yup. Tried all 3 with same issue. Had to restore nandroid backup.

Do you think a full wipe and reinstall of DC would fix the issue or am I just out of luck? Going to the Evo but really wanted to see if the OC really helped speed up the phone.

Thanks again.
[Hero CDMA Android Development] pandam00nium:
Someone else and I have the same issues and no matter what we try it doesn't seem to work. Try using a custom rom that has OC enabled like DamageR, or ic3rom and see if that boots up for you. They include the OC kernel so if you get the boot loop with a fresh rom then you're in the same crappy situation as me. :x Just gotta wait to see if someone can figure it out I guess.
[Hero CDMA Android Development] Jus10o:
I can throw together a kernel really quick that will default at 672 and only be scalable to 672.. So theres no chance of it booting at anything higher then that..

I dont know what kernel it is, .27 or .29. So camera might not work. But its something just to see if you can boot it. If you can then ill make sure its a proper working .29 kernel for anyone to use.
[Hero CDMA Android Development] pandam00nium:
I'll test it out if you don't mind doing it. I'd really like to get this OC going. :( If you can make it compatible with DC 2.08.1 then I can flash it to see. Thanks.
[Hero CDMA Android Development] Jus10o:
Here this can only be clocked to 672..

Just updated.. this one should boot.

View attachment damage672.zip
[Hero CDMA Android Development] pandam00nium:
I think that actually worked. :O setcpu has it at 672MHz even though the max on the bar shows 528 as the cap. Booted up just fine too. I'll do some benchmark tests to see if the values are legit.
[Hero CDMA Android Development] Jus10o:
Put this on your sdcard.. NOT in a folder

View attachment setcpu.txt

On setcpu hit menu > device selection and then scroll to the bottom and select custom

Also does your camera work??
[Hero CDMA Android Development] pandam00nium:
Sure doesn't. :D I also believe it killed off my data and wifi. I've rebooted about 3 times now, and it says I'm unable to turn on my wifi. ^^; Camera and camcorder just leaves a black screen.
[Hero CDMA Android Development] Jus10o:
Lol i thought so, i never updated my kernel when toast released his .29, i still have the .27 source.

Ill put up the .29 OC kernel for you tomorrow, its late here and i gotta get up in 5 hours for work.

You can mess with OC'ing for awhile with that kernel, but use the non OC for your daily for now.
[Hero CDMA Android Development] revlis240:
anyone lagging like a mofo? I tried using the oc widget to scale between 480 and 710. The phone is stable, but sometimes it just LAGS.

The lag was worse with just the kernel without the oc widget. Im using the damage710.zip

Anyone?
[Hero CDMA Android Development] theman10:
oc kernel lag

i flashed the oc kernel on top of my fresh 2.1.2 rom and I've noticed 2 things:

1. serious lag when OC Widget decides what clock speed to use. When coming down from 768 there is serious lag.

2. serious battery drain. with the fresh 2.1.2 kernel I charged 1 time every 3 days or so. with the oc kernel I can't make it through the day.

I'm giving it a chance to see if things stablize given time but I may just go back to fresh 2.1.2. or possibly 2.2 if they get audio working :D
[Hero CDMA Android Development] Jus10o:
If you are using fresh rom then why use this kernel..

Look for fresh toast 2.1... It IS fresh 2.1 with the OC kernel it in. Its the original (very first ever) overclocking rom for our cpu's, even for the g1, droid eris etc.. Its where i got this kernel in the first place. Also i changed it to work for damage control, so its probably gunna be unstable using it on fresh 2.1.
[Hero CDMA Android Development] pandam00nium:
Looking forward to it. Thanks for your time. :) I couldn't mess with that one much since I had a class today, and kinda glad I didn't since I got a call for a job interview today as well. x.x Keep up the good work. :D
[Hero CDMA Android Development] Jus10o:
Yea i meant like maybe last night mess with it and then when you go to bed nandroid back.

Ill start compiling now.. But it might take awhile and i might be leaving soon. If it finishes before, ill upload it. If it doesnt, meee sorry.
[Hero CDMA Android Development] pandam00nium:
That's no problem. Take your time. :3 If possible can you make it variable like the 537MHz one you posted in the OP? I like having the option to change it whenever I wish.
[Hero CDMA Android Development] Jus10o:
Yea ill add it in there once i know its working. But here is a test kernel. Not sure if it will even boot, or overclock. But it should be 672mhz and .29 kernel with everything working.

View attachment damage672.zip
[Hero CDMA Android Development] jay24k:
I'll have some time to test this out tomorrow if no one gets to. Been in meetings today so been super swamped. Thanks for trying to help us out. Truely appreciate it.
[Hero CDMA Android Development] pandam00nium:
Thanks, I'll check it out and let you know.

Edit - Stuck at the black screen twice while waiting close to 10 minutes.
[Hero CDMA Android Development] ldc2335:
thanks for this, I'm running the 710 scaled to 768 and its running like a champ,

also using launcherpro and its flying, even runs pretty fast with revamped nexus live wallpaper(market). so thanks again

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] murdocthc:
I dont know if I'm doing something wrong, but my hero will not boot past the black HTC screen for any OC'd ROM. I've tried all of the ones posted here...I currently have DC 2.08.1 flashed and am using GodSpeed Recovery Darchstar Edition.

Everything gets wiped between flashes...I've been researching this for days and have come up with nothing. :(

Any tips?
[Hero CDMA Android Development] Jus10o:
Its a problem with a few ppls heros. I cant boot the OC kernel when its scalable to 768, even when i set default 710.

Try this one HERE.. Its a .27 kernel so it doesnt have working camera/trackball lights. But you can play with OC'ing and i will be updating it with the .29 kernel with everything working. It only scaled to 672mhz.
[Hero CDMA Android Development] Jus10o:
Yea i didnt think it would work.. Ill mess with it some more. I should have it up later tonight or tomorrow.. Im sorry its takin awhile, but im determined to get you, and whoever else, a working OC kernel.
[Hero CDMA Android Development] murdocthc:
I appreciate your help! I tried flashing that one, but got the same error (frozen on black HTC screen for extended periods and then rebooting). Will be looking forward for your updates :)
[Hero CDMA Android Development] pandam00nium:
No need to apologize. :P We're all grateful for the efforts you and all the developers here put forth.
[Hero CDMA Android Development] Jus10o:
Here is an update.. This one was compiled alot better then that last one so hopefully it works.

I also know why data probably didnt work in the .27 kernel, that was my fault.

View attachment damage672.zip
[Hero CDMA Android Development] pandam00nium:
2x Black screen freeze with 5 minutes of waiting each time. :x
[Hero CDMA Android Development] Jus10o:
Okk.. i got 2 more tricks up my sleeve. After that, ill have to seek after toasts source he compiled for fresh toast.
[Hero CDMA Android Development] mrclark5688:
getting same result, freezes at black htc screen.
[Hero CDMA Android Development] Jus10o:
Please work Please work Please work..

View attachment damage672.zip
[Hero CDMA Android Development] pandam00nium:
Same results. Freezes at the black screen. :x
[Hero CDMA Android Development] Jus10o:
I updated this post above.. This is a .27 kernel so camera and trackball lights dont work. But data and everything else should work.

This is temporary, so if cameras not a huge deal you can use this for now. let me know if it works.
[Hero CDMA Android Development] pandam00nium:
This one appears to freeze as well~
[Hero CDMA Android Development] mrclark5688:
same here, wont boot past htc screen.
[Hero CDMA Android Development] Jus10o:
Haha.. oh man

Ill figure it out tomorrow.. I have a feeling i know what the problem is.

I gotta get up early again. So ill be back at it tomorrow.
[Hero CDMA Android Development] pandam00nium:
Alrighty, have a good rest. :3
[Hero CDMA Android Development] ldc2335:
ya"ll could try flashing damage 2.08.1 over itself with out wiping, then boot, then restart in recovery and flash the oc kernel.

I did this just to kinda restore everything. worth a shot and you don't have to reinstall apps and scenes.

Sent from my HERO200 using the XDA mobile application powered by Tapatalk
[Hero CDMA Android Development] pandam00nium:
Hm.. A bit weird, but I managed to boot up Darchdroid which is using the oc.29 kernel. Seems to be running at 710MHz. I don't know why it suddenly works. Or rather why this rom works when every other doesn't that has this kernel included.

I still don't mind testing for the rest of the people having the same issues though.
[Hero CDMA Android Development] Decad3nce:
Anyone who's having problems getting this or any other OC-kernel.zip(with compcache,ramswapz) to boot, make sure you wipe ext before flashing.

If that doesn't allow you to boot, then your hero can't handle the clock. It shouldn't differ from ROM to ROM either, the kernel is the same(just the clock may be different). lol.
[Hero CDMA Android Development] mrclark5688:
I can get darchdroid to load as well and while it is oc, i believe it does use a different kernal than the damage one.
[Hero CDMA Android Development] tmachovec:
This is the one your after, just run the update.zip as usual and then reboot. Booted up as usual. Only issue was I had to uninstall market updates, I received a network error when I tried to launch it, Opera still worked. Anyway I turned on airplane mode, let the phone go to sleep, then unlock it after about a minute, and turn airplane mode off. Yeah, here ya go:

710LegendKernel-signed.zip
[Hero CDMA Android Development] chugger93:
I installed this kernel a week or so ago, and installed OC widget. I dunno..I'm thinking about uninstalling the widget and just running the kernel. Is this kernel overclocked without the widget? Why would I run the widget? My phone can lag from time to time.

Any opinions on whether its best to run just the kernel or an OC app along wtih it?
[Hero CDMA Android Development] tmachovec:
I ran the overclocking app Open Overclocker to set it at 710 max and 528 min then uninstalled it. Seems to be sticking according to Cpu Benchmark.
[Hero CDMA Android Development] Stellarex:
How do I remove this from my Hero.

I cant install anything but Fresh Rom 2.1.2 anymore, it freezes on the lockscreen.
[Hero CDMA Android Development] Jus10o:
Just install any rom.. All this did was replace your boot.img. Every single rom HAS to have a boot.img in it, so flashing a new one, or even the same rom over your current setup would completely take this update.zip out of existence.

Also if all fails, completely wipe everything and flash rom or nandroid.

This will not ever give you problems software wise. The only problem that could come with this is hardware problems from wearing the CPU down (which after over a month i have yet to do).
[Hero CDMA Android Development] darchstar:
though my kernel source was forked from toastcfh's source, my kernel is not the same as what toastcfh compiled, don't know why people r saying that. u can check the mods i made to his kernel source here: http://github.com/darchstar/CdMa-HeRoC-2.6.29
[Hero CDMA Android Development] Jus10o:
Yea i knew yours was different.. I never knew where you source was, so iv always stayed away from it and let you do any updating.
[Hero CDMA Android Development] Stellarex:
I've installed Alyosis and Ic3Rom and both freeze at the black htc screen, i've wiped everything I can and neither will load.

Only things that work are fresh rom and fresh toast.
[Hero CDMA Android Development] Jus10o:
Try DC and this kernel?

Its fresh toast kernel. So if that can boot i dont see why this wouldnt.

I figured out a way to get just about everyone to boot, but my files are just screwed up right now and mismatched that when compile it, it all goes to H.E. double hockey sticks. And havent had time to fix it. No one seems to use this now after the Evo drop so i wasnt rushing for it anyways.