yashsingh1/xdaforums huggingface dataset:
[HD2 Android SD Development] Macelangelo77:
This has happened to me over the past with several combinations of build and kernels. Apparently some sort of corruption occured, causing FC's for just about everything. The only way I know of is to format your SD-card and do a fresh install, upgrade the kernel before first boot. I don't if there's another way, but this solved it for me (although it's kinda radical, I know)...

Sincerely,

Mac
[HD2 Android SD Development] themadproducer:
Do we need to execute the files whenever we reboot or just the first time after the installation upgrade?
[HD2 Android SD Development] hastarin:
No those lines are so Desire HD builds get the correct wifi/bt mac addresses.

Overclocking needs to be done via something like SetCPU.
[HD2 Android SD Development] d3l1:
I don't know, never checked with market for sure!

Because the script just sets the correct permissions for the modules, executing it once is enough I think, but hastarin should know more about that :)
[HD2 Android SD Development] :
thanks tytung for the old cam kernel. i hope you continue to make them. old build a more stable (mdeejay clean sense 2.4 final)
[HD2 Android SD Development] jcsy:
Hastarin,

just wondering previously I was unable to boot into Android consistently from Windows mobile (sometimes stuck on HTC Logo)

after applying your Hastarin kernel, things has improved, however, it still has not gone away.

occasionally i get into Android, however, its more like 50% rate now

is this a kernel issue or the Android ROM i am using
[HD2 Android SD Development] santu71182:
Data connection issues after upgrading to this kernel

I am using v8.5.3 with the MDJ Revolution HD build. But after this upgrade my data connection was ok till today evening. But since this evening I am unable to get thru data connection. The market would say "A network error has occured". From Browser also no connection.

I am sorry if its a known issue. In that case please provide the link where I can find a solution to fix this problem.
[HD2 Android SD Development] chn110:
Excellent build/kernel

Thank you both for making the kernel and the build available. With the 8.6 old cam kernel, NexusHD2 build really flies! :)
[HD2 Android SD Development] chn110:
Now if someone can figure why BT is draining 60 mA in standby... ;)
[HD2 Android SD Development] marzinho:
Do i need to execute init.undervolt.sh or is it enough to put the file to /system folder and reboot?
[HD2 Android SD Development] white-energy:
I'm having some problems with the Overclock... i installed this kernel and installed that undervolt patch.. when i set atleast 1226Mhz the phone seems to freeze.. if its the undervolt patch... is there anyway to restore the old values?
[HD2 Android SD Development] curiousGeorge:
Yo Hastarin, long time no chat.

Interesting idea (now that I see you're open to "extreme" speed things like 1500+ OC speeds) -- how about you try patching in the miracle kernel patch that does wonders for responsiveness?

It's quite a bit better than BFS/BFQ, especially on mobile devices where the responsiveness goes through the roof. I don't know if it can easily/directly be applied to the 2.6.32 branch, but it's so short (200 lines) and the CFS scheduler hasn't exactly redoubled in complexity since then, so it might be worth a shot. You might also expect the sleazy "benchmark" crowd to be quite nicely placated with hundreds more (free) points. ;)
[HD2 Android SD Development] noellenchris:
hmm, this does look cool. Hopefully Hastarin feels up to the task....hehe. Looks like some good performance gains. But what do I know... since ppp seems stable I'd be up for some testing with this...:P
[HD2 Android SD Development] amincom:
same question
[HD2 Android SD Development] white-energy:
same thing.. can you explain the install instruction? :confused:
[HD2 Android SD Development] 2udCrRAZdK:
I believe that this was already raised with Sir? Hastarin before. He then noted that we are using the 2.6.32 kernel and the patch in question is for 2.6.37/38.

I have no idea what needs to happen to bridge the gap, but I'm sure others here do if it can be bridged at all.
[HD2 Android SD Development] hastarin:
AFAIK That's a CM thing, not kernel related. It's not an issue with the Sense BT drivers.

It's on my list to look at, but no it can't be easily applied to 2.6.32 branch or I'd have done it already. ;)
[HD2 Android SD Development] hastarin:
Folks. Quite frankly I am NOT going to support builds with the old rootfs.

They don't offer a simple upgrade path, or the flexibility for things like the undervolt script. Consider it my way of encouraging build authors to upgrade. ;)

In short the new initrd does the following (relevant to my update files) that the rootfs based one doesn't AFAIK:

Runs the update script after copying the kernel files in

Runs init scripts in /system on startup

So you can manually run those files instead (update only the once after you've got the files in place), and init ones (on every bootup, or when you want to undervolt, or change undervolt values, in the case of the undervolt one).

For those that want to know the original voltage values, or different undervolt levels you can see them in the source code:

http://gitorious.org/~hastarin/linu...master/arch/arm/mach-msm/acpuclock-scorpion.c

You'll see lines like:

{ 998400, CCTL(CLK_TCXO, 1), SRC_SCPLL, 0x1A, 0, 1300, 128000 },

That is 998400 (998MHz) at 1300mV.

As mentioned in the first post, the voltage can be set between 800-1350mV with 1300mV being the original max voltage.

Now I'm packing to visit my mother for the next week or so and whilst I'll still keep up on what's happening I probably won't post as often.

Happy Holidays everyone. :D
[HD2 Android SD Development] Laynee1:
Its working great !!! But sometimes i have small wakeup lag .. not everytime.. but sometimes it is irritating.. and im not using setCpu.. and it happends every time i recieve new sms message while my phone is locked..

CAn you please tell me how to solve this without setCPU method ( profile for screen off, cause that method not worked..) ? Im using build in my signature, my sd card is 16 gb class 6...
[HD2 Android SD Development] reocej:
Not 100% sure but it could be card related. I get no screen wake lag with my Sandisk 16gb class 2 card. I get 3-5 second wake lag when using my Lexar 8gig class 6 and 4gb class 6 cards. I don't understand it because the read/write speeds of the class 6 cards blow my class 2 away. Try another card to see if the lag still exists.
[HD2 Android SD Development] taajo:
No data (WiFi works though)

I upgraded the DeisreHD build by MCCM from 8.5.3 to 8.6 and I don't have any data connection over mobile, but WiFi works fine. Checked all I could, no luck. Any suggestions how to get my data to work on H/3G/EDGE/GPRS?

And thanks hastarin for a gread job of cranking out kernels!
[HD2 Android SD Development] williambs:
I just used it to update my HD2 Tmous(see my sig) and all works fine. Doing well with the better speed and the improved network. All lights working well too.
[HD2 Android SD Development] despy1989:
Hey Hastarin

Your kernel is amazing, great battery life, super quick and stable, no problems whatsoever.

Have donated just now....enjoy your holidays
[HD2 Android SD Development] CR5N:
Hastarin,

Thanks for your work, enjoy your holiday :)

Phone: HD2

WINMO: Stock 1.72 + HSPL

Radio: 2.15

ANDROID: MDJ Clean 2.4

Kernel: Hastarin 8.6
[HD2 Android SD Development] dre20745:
OldCam Driver plz Sir..

Ay yo Hastarin, mind hookin some of us up with the 8.6 with the old Cam driver?

If not i understand i'll stick with the 8.5 one it's ok but that 8.6 that's Good...

Plz and thanks Kind Sir!
[HD2 Android SD Development] Dizzle:
Did you miss this? posted 3 pages back:

http://xdaforums.com/showpost.php?p=9881571&postcount=3514
[HD2 Android SD Development] .hide:
upgraded to 8.5.3 old cam eb. but encountered lotsa of loss data.
[HD2 Android SD Development] kiloah:
why cant you post the file as an attachment i mean its only 2.5mb..my internet wont let me download properly on any of these websites and i really want this kernel :(
[HD2 Android SD Development] FileFixer:
Why you can pay your webhost and upload alll your files on it? XDA pay your webhost and it is not unlimited space.
[HD2 Android SD Development] noellenchris:
he answered another post with the same question and another member cooked up the kernel a few post back with old cam. Read a few post back and you'll see it.
[HD2 Android SD Development] kiloah:
yes i understand that but you have to understand its frustrating when you have internet so crappy that every website tells you you reached your limit when you havent downloaded anything and some instantly download the files as 0kb
[HD2 Android SD Development] Dizzle:
Huh? I think you quoted the wrong member. I was aware of it, hence my answer with the link which you've quoted back to me :p
[HD2 Android SD Development] Macelangelo77:
That's probably not due to "crappy internet" but because your ISP has a proxy and you're behind it too. You could always consider to buy some rapids from Rapidshare to download with the speed of light... Bandwidth costs month, it's simple as that. BTW, the offer I've sent you by PM is still valid...

Sincerely,

Mac
[HD2 Android SD Development] kiloah:
i dont have credit cards or anything available to me, and my internet is still crappy believe me lol :P
[HD2 Android SD Development] jan-willem3:
I get always 60 ma drain after a call.

Tried alot of builds. Other people got the same problem? ?
[HD2 Android SD Development] deeb:
Hi.

I've got a simple question about undervolting.

I noticed that undervolting script should be applied after each boot of Android. But I don't know what should be written to the startup.txt in order to launch that script at the Android start.

Could You help me with this?

I'll be grateful for answer.
[HD2 Android SD Development] birkoffsjunk:
If your using the new initrd then just place the script into '/system', but if your using MDJ or old initrd try using Autostart
[HD2 Android SD Development] deeb:
thx for this program. But could You give me instructions how to use that program?

I can't speak in German, and Google translate is not so good in this;/.
[HD2 Android SD Development] dre20745:
Thanks Dizzle.. and i didnt even catch that post... to busy tryin to tip the strippers and then realized that the Cam wasnt working when i went to get the money Shots.. LLS
[HD2 Android SD Development] noellenchris:
lol, yes I did...sorry. I clicked too quickly...:rolleyes:
[HD2 Android SD Development] mponte:
"bt.mac" is not working.

I'm using Kouno.Takaaki's HD2ONE build. I think it stops working from v8.5.3
[HD2 Android SD Development] Macelangelo77:
Did you look at the first post? Apparently this was broken due to changes in some builds and updated in 8.6 to get it working again. From the changelog for 8.6:

- Updated init script to update calibration data (fixes mac address not working) - Thanks OSM

I think you should upgrade to 8.6 to get it working again.

Sincerely,

Mac
[HD2 Android SD Development] mponte:
Yes, I read.

I'm using v8.6 and that is not working with N1 based build.

wifi.mac runs OK
[HD2 Android SD Development] white-energy:
Oops.. wrong thread
[HD2 Android SD Development] Mikemcdold:
what is extended battery?

what is the diferent the eb extended battery or the normal hastarin with no extended battery?

dose the eb extend my battery life?

thanks your build 8.6 works fine for my froyostone sense
[HD2 Android SD Development] Macelangelo77:
The extend battery version offers support for extended batteries, ie batteries with a higher capacity like the BP E400. If you have standard battery, you don't need the eb-version of the kernel.

Unfortunately, the eb-version will not extend the life of your standard battery ;)

Sincerely,

Mac
[HD2 Android SD Development] deeb:
I stlll have problem with ' Autostart ' program.

I have done first step: /data/opt/autostart.sh where autostart.sh is an init.undervolt.sh. But I don't know what should be done after that.

I don't understand that line: "Die Datei muss noch angelegt werden und mit shell Kommandos befüllt werden. Zum Beispiel 'swapon /sdcard/swap.img'"

Thx for answer.
[HD2 Android SD Development] Macelangelo77:
This means that you have to create the file autostart.sh and enter the required shell commands in the file. If I read your post correctly, you already did that, so up to the next step :)

Sincerely,

Mac
[HD2 Android SD Development] deeb:
Ok, but I don't know what is the next step;/
[HD2 Android SD Development] Macelangelo77:
I checked the website. If you installed the .apk and enter the commands you want run at boot in autostart.sh, that should be it. Why don't you give it a try by rebooting? Make a backup without autostart.sh in place, put autostart.sh back where you took it and restart...

Sincerely,

Mac
[HD2 Android SD Development] fstluxe:
Hastarin thank you! wonderful kernel,

Did you really used the exact ACPU table from MDjay?

If so. then I'm afraid he is making-us believe that the max voltage is 1.35V

with 1.35 V I'm not getting above the 1228MHZ....

so this means he is using voltage higher then 1.4V!! very dangerous and unfair for all the people that are trying his kernel....:mad::mad::mad:
[HD2 Android SD Development] deeb:
Ok, Autostart works. The pop-up of enabling superuser permissions didn't show up <- that was the cause.

But the autostart.sh script is not applied.

Script is good, because it works in GScript Lite.

Anyway really thx for help.
[HD2 Android SD Development] gweurk:
hi,

i'm still having problems with undervolting. i downloaded the script file, added to ghostscript and restarted the phone.

is there any possibility to check if the script is installed succesfully?

thanks
[HD2 Android SD Development] dabezt:
Hi Hastarin, first thnx for your work!! Your Kernel rocks!

Now some help please: I'm using this Android Rom [build][1.12.2010][beta] desire hd2 (link) and I cannot use Psfreedom (PS3 Jailbreak for Android) with it because I've updated the kernel to yours latest (8.6), and I think Psfreedom was compiled under yours 7.7.

So it's posible to 'downgrade' or install your 7.7 Kernel again inside this build with 8.6?

Thnx! Cheers!
[HD2 Android SD Development] AgeOfPanic:
Hi hastarin, before updating to 8.6 I would like to ask about the undervolting feature. I remember a while ago, you stopped undervolting because it didn't have much effect. Now I see it back and people working on it. Did your opinion change or is this for the people who want it anyway.

Am using cedesmith's HD build with your kernel and it is amazing. Thanks for all your work.
[HD2 Android SD Development] hastarin:
It makes VERY little difference to battery life, but for those that want to use it they can. It's also now optional and tweakable, so it's a big difference to producing a separate kernel with it.

The change with wifi.mac was to overwrite /etc/calibration and /system/etc/calibration from /proc/calibration in the init.kernel.sh script.

If your build doesn't support using the script, and you're not running it manually before starting WiFi/BT, then it's not going to work.

I did for MOST of the values. As I've mentioned before you can tweak the values via a script similar to the undervolt one I supply. If you've already done that and boosted voltages to 1.35V for various frequencies then it's possible he is setting the voltages higher or has done some other sort of "magic tweak" to get it stable.
[HD2 Android SD Development] AgeOfPanic:
Thanks hastarin, I won't bother with undervolting then. Battery life right now is acceptable.
[HD2 Android SD Development] scriller:
Question: is it possible to go bellow 245mhz? Like bring it down to 200mhz or less?
[HD2 Android SD Development] pablo71:
Cifs.ko module for Darkstone's SuperRam ?

Anyone know of a way to get this module into SuperRam 1.5? Is there one that can be transplanted or is this ram-build not cifs friendly at this point? And thanks Hastarin, your kernel sped up my MDJ 4.6 today.
[HD2 Android SD Development] mponte:
wifi & bt runs OK

set cmdline "rel_path=HD2ONE lcd_res=240 gps_zone=es conn_type=ppp bt.mac=00:23:76:A6:F0:6F wifi.mac=00:23:76:C8:92:DB"

wifi mac is the one i wrote in startup.txt

bt mac is 43:29:B0:00:00:00 instead of the one at startup.txt

Tested on Kouno.Takaaki's HD2ONE Build
[HD2 Android SD Development] kingpinn:
i use mdj froyo hd build with your kernel. ca i delete system.ext2?
[HD2 Android SD Development] modmymobile:
hastarin 8.2

Hey im using the EVO rom from mdeejay i am looking for hastarin 8.2 kernal anyone know how i can get hold of it. The new kernal breaks my camera so reading through the forum the above kernal seems to be a faviourite.

Thanks in advance,

Ah and hastarin nice work dude!
[HD2 Android SD Development] noellenchris:
did you mean 8.5.2 old cam kernel?
[HD2 Android SD Development] ChrisM001:
Thank you, hastarin, will try that. I realize that you are the most cooperative dev, even doing what should be the job of the git kernel developers.
[HD2 Android SD Development] ChrisM001:
Cannot get git kernel to work. Blue screens change with freezing start procedures of sense.

Waiting for you, hastarin, to build a usable kernel. Even if it will be done tomorrow.
[HD2 Android SD Development] hastarin:
I've compiled a version based on my clone/branch of the tree and it works if I don't enable the overclocking, etc, but as soon as I try to enable that I get a blue screen too.

For now I've personally gone back to my #4.1 until I can spend some more time figuring out what's going wrong. :confused:

Just to clarify, with the latest git kernel (eg the autobuilds) you MUST add "nand_boot=0" to the cmdline of your startup.txt

That line in mine now looks like this:

set cmdline "nand_boot=0"
[HD2 Android SD Development] astasdf:
Thanks for good kernel. this works great :)

but this kernel just don't work external input(media start,pause etc..)

help me T_T
[HD2 Android SD Development] ChrisM001:
I got it to work. Additionally to the command line (whereby mine looks like "rel_path=Android nand_boot=0") you have to enable phone already in WinMo, which was not necassary in former builds.
[HD2 Android SD Development] hastarin:
The developers are just people like me. Sharing what they do with the community. It's not their job. Be thankful we get what we do. ;)
[HD2 Android SD Development] XenSA:
With this [BUILD][20.09.2010][DesireHD - Beta 2][Kernel: darkstone]

will using Kernel hastarin #4.1 - 24/09/2010 change the workings of my blue tooth configuration at all?

it's my understanding that it's only the wireless that gets changed....

thanks
[HD2 Android SD Development] carhigh:
Is it me or does it seem that WiFi does not turn off when the phones in standby? And is this version effected by the funky sometimes malfunctioning LEDs? my LEDs seem a bit funky, so my guess is yes
[HD2 Android SD Development] ridikolous:
Any progress on the evo kernel concerning music stutter and camera flash?
[HD2 Android SD Development] stango:
I really need some basic help please in trying to identify the folders "system" "modules" and "dev".

I've sought some kind help on the desire hd pages who advised i load either "droid explorer" or "android SDK".

But I'm really struggling to understand how I install and use them, but if this is the only option then I'll persist but can't help feeling there must be a simpler way.

I've downloaded the file on the first page and use winzip on my PC and it shows a total of 10 files but none are folders of which I need to extract into the "android folder" for "desire HD".

Could it be I am downloading the wrong file or are the folders indeed hidden.

Most grateful for any responses to help me out, as you can probably guess most of this is over my head but am willing to read and learn and in particular before disturbing you guys.

Thank you,

Rod.
[HD2 Android SD Development] hastarin:
Just a quick note that I've released a new version of the kernel and an alternative version for those that can't boot with the normal one.

I'm now using my own git clone so that should make it a bit easier to manage my changes and merge any changes to the main tree if the "powers that be" decide they want them.

http://gitorious.org/~hastarin/linux-on-wince-htc/hastarins-linux_on_wince_htc

See post #1 for more info.
[HD2 Android SD Development] interfreak:
Thanks Hastarin, you're a legend! :)
[HD2 Android SD Development] seavers11:
Where must i set the nand_boot=0 to the startup.txt ? I am using Hyperdroid V1.6
[HD2 Android SD Development] hastarin:
From the README.txt that no one seems to bother reading!

6. Edit your startup.txt to make sure the KERNEL is using the zImage and the cmdline has the nand_boot=0 option.
Those lines in my startup.txt look like this:
set KERNEL zImage
set cmdline "nand_boot=0"
[HD2 Android SD Development] v-b-n:
Awesome work man ! V5 alternative is flying my ppp data off the roof but with a higher drain of course...will test the oc version now :D
[HD2 Android SD Development] interfreak:
Hastarin, is there any great trade off in battery performance with this new kernal? You mention in the readme that that AXI support, overclocking and undervolting are 'tweaked' at the cost of a couple of mA in sleep.
[HD2 Android SD Development] hastarin:
The difference I've seen (using Current Widget) is during sleep there is an increased drain of 1-2mA

I highly doubt that's going to make a huge difference to the overall battery life. ;)
[HD2 Android SD Development] interfreak:
Cool! and just to confirm, you need to rename zImage to Image for the Desire HD build?
[HD2 Android SD Development] modmymobile:
Hello mate thanks for replying. Im looking for the old kernal 8.2 is the 8.5.2 the same just don't want to break my build again.
[HD2 Android SD Development] deadmansink:
Check my thread link at bottom for new kernal with old cam fix link; or go to first post on this thread from TyTung and scroll down to FAQ and you'll see the new on in red.
[HD2 Android SD Development] ikkon:
whoops...support in this thread is overwhelming hehe
[HD2 Android SD Development] deadmansink:
Sorry, not on this thread, check my link to the Nexus thread for TyTung's 8.6 oldcam_eb
[HD2 Android SD Development] daysey:
Changing Wifi mac address not working!

Hi Hastarin,

I'll like to change my wifi mac address to something else because of conflict with another phone but have been unsuccessful so far. Done the following so far:

Inserted a similar line wifi.mac=... like the one above in the startup.txt file

Edited Calibration file in /etc/calibration and /system/etc/calibration with the mac I want

The above yielded no result. Found out the mac still maintained the one in /proc/calibration, so I tried editing the /proc/calibration file but without success. Can't edit or delete it, even with Root Explorer.

What am I doing wrong and what else can be done?

P.S. I'm using Coredroid HD version.
[HD2 Android SD Development] jose makalolot:
What kernel are you using?
[HD2 Android SD Development] KrewsialNL:
High drain in standby

Anybody else notices a 60mA drain in standby when using the 8.6 kernel?

I've tested this with all builds and they keep coming back with this specific kernel. (Ram versions of Android or non RAM versions, they all do the same)

Now i'm using the 8.5 kernel icw Hastarins kernel, but now my picture quality is very bad unfortunately.

I never had any issues, and i'm sticking to Hastarins kernels anyway, as they're solid and stable.

Just going to try and find a solution for the bad picture quality ;)
[HD2 Android SD Development] daysey:
Using Hastarin's kernel r8.6
[HD2 Android SD Development] shaw23:
Hi is this just a case of copying zimage and root folder over to sd card like other kernals or do i have to do anything else? i am using mdj revolution hd android and updated his kernal to his latest but the battery life is now alot worse so thought i would give this one ago.

Cheers in advance
[HD2 Android SD Development] jose makalolot:
wifi.mac and bt.mac should work. Only kernels with 7.7 and earlier has different command line.