yashsingh1/xdaforums huggingface dataset:
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
That is the media folder in a zip file... click and download. :)

Edit: Odd, I clicked the link and it brought me to the site. copy this into your browser:

( without the quotes)

"http://gamesquare.co.uk/media.zip"
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
If direct link to the file does not work (you get a webpage instead of downloading the zip file)

Click the word "this" on line "Ringtones (unless if you download this and copy the media folder to the root of your sd card)" on page

http://gamesquare.co.uk/froyo.html

(it is the old build by darkstone page)

Put the media folder you extracted from media.zip file inside your Android folder.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Chitown021:
Method "A" did not work (FroyoStone V1), going to try method "B"
[HD2 Android Q&A, Help & Troubleshooting and Genera] fivefingerdeathpunch:
im getting a android.process.media has stopped unexpectedly error on startup and every few minutes afterwards.

this is after i tried updated the zimage and modules and changing the startup.txt etc.

i tried putting the old zimage i had back on and re-edited the startup.txt but the same error occurred.

help please :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] rexthunder:
Thanks alot Buddy!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
This happened to me, I do not know why.

I deleted the zImage and startup.txt from my SD card and deleted my data or cache folder (cant remember which, and may not be necessary) Then I added the old zImage and startup.txt to my SD card. All worked fine.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
I guess it worked then. Cool, You are welcome.
[HD2 Android Q&A, Help & Troubleshooting and Genera] fivefingerdeathpunch:
okay ill try that. what android build are you running? dan's v1 froyo?

didnt work :( :( :(
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
darkstone HD2Froyo v1 (26-July-2010) currently. I had too many problems with the Froyostone series
[HD2 Android Q&A, Help & Troubleshooting and Genera] 11calcal:
Move over to shubCRAFT then you'll love it I've used it since day 1 and no issues at all
[HD2 Android Q&A, Help & Troubleshooting and Genera] fivefingerdeathpunch:
any other solutions dblfstr or anyone else?
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
I have read about it. I did not see much of a difference between that and Darkstone Froyo HD. I have only truely used Darkstone builds. I tried the first cotulla one, then danij (both) and the original and new Darkstones. So far, FroyoHD is the best. No issues with my current configuration. I would be willing to try out this shbCRAFT one though. I would just have to reinstall 120+ apps :)

I currently have an .ext2 partition on my SD card from when I had a G1 with cyanogenMOD and Apps2SD. The build I have now reads from that partition, I do not know if shubCRAFT will.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Chitown021:
Thanks memin1857 for the detailed instructions!

Wifi working now thanks to method "B"

Just had to make sure and copy your commands exactly including the spaces.

I also had to turn off Swype because the backspace button wouldn't work in the terminal emulator screen...
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
So none of that other stuff worked? I guess you are using danij? I do not know much about its problems. I would suggest removing the media folder (I dont know why) and rebooting to see if it still happens. If not add it back and see.

Im guessing here ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] tgerbracht:
So does the latest zimage fix wifi as well as full memory or do you still have to do the .ko file import? Seems like you still have to change the startup.txt yeah?
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
Yes to get full memory you need latest zimage from http://oe.netripper.com/files/htcleo_autobuild/ with different startup.txt which includes lines:

set ramaddr 0x11800000

set ramsize 0x1e400000

set initrd_offset 0x00a00000

bcm4329.ko file is needed if you cannot turn on wifi. You may also need to reapply bcm4329.ko file after zimage change.

More info available at: http://xdaforums.com/showthread.php?t=748451&page=51

(Start reading from page 51)
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
TEMPRORARY FIX FOR FREQUENT TOUCH/SCREEN/KEY FREEZES with newer kernels.

Temprorarily disable auto-rotate from Android Settings - Display, until new kernel fixes the issue.

BTW if you just try to put phone to sleep and rewake up it will come back. (will go to sleep a few seconds after you press) Freezes will happen more when phone is moving. (you are walking etc)
[HD2 Android Q&A, Help & Troubleshooting and Genera] shinimario:
hi, im using darkstone HD2froyo v1. does tmobile detects the phone as a desire? because my free data connection on my prepaid is now giving me "Sorry. Web Plan is not available for purchase on this device" when i try to visit a website.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Phenomenon:
Jeez, how do you guys work so quick? Literally 1 day ago you were looking for full memory and now you have it.
[HD2 Android Q&A, Help & Troubleshooting and Genera] miyamoto1027:
Thank you Memin! will try this out asap! Been using metleo 1.4 can't wait to try 1.5 as I never really have no prob with it even now.
[HD2 Android Q&A, Help & Troubleshooting and Genera] stealthdragonb:
anyone kind enough to upload the new script needed for the latest zimage file:)
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
example configuration:

Some builds use

initrd.gz

not

set initrd initrd.cpio.gz

so you might have to change it

you might as well need to add

"rel_path=Android"

in cmdline.

Thanks to memin for the pointers!

cheers
[HD2 Android Q&A, Help & Troubleshooting and Genera] cmlucht:
might be a dumb question but what will full mem do for me? is it nand access?
[HD2 Android Q&A, Help & Troubleshooting and Genera] wiky.when:
can Ubuntu for HD2 v0.2 run on my T-Mobile HD2?
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
Can someoene please post a startup.txt for the new leo latest zimage. I tried editing the startup but keep getting jumping to kernel.
[HD2 Android Q&A, Help & Troubleshooting and Genera] aenedor:
Android will run faster.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Phenomenon:
Two glitches I found

These two things seem to cause the SOD:

Connecting to the hotsync cable

Connecting the HD2 headphones with the media player controls

Just tried it and usually get the SOD soon after doing those things.

Also, I was playing Backbreaker and if it falls asleep when I had an app running or something it goes into the SOD. Almost always SOD occurs if it sleeps on its own. If you MANUALLY put it to sleep I haven't found a moment where it gets hard to wake up again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] cmlucht:
so it is running off of nand now?
[HD2 Android Q&A, Help & Troubleshooting and Genera] aenedor:
Categorically no
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
This is startup.txt for shubcraft 1.2b

set mtype 2524

#set ramaddr 0x18000000

#set ramsize 0x17c00000

set ramaddr 0x18000000

set ramsize 0x0fc00000

set initrd_offset 0x00a00000

set initrd initrd.gz

set kernel zImage

set cmdline "rel_path=Android"

#pwf log/ramconsole.txt 0x2FFC0000 0x40000

#log log/haret0.txt

boot

THESE ARE DCORDES DIRECTIONS

set mtype 2524

# Memory setup for full mem

set ramaddr 0x11800000

set ramsize 0x1E400000

# Filename of initial ram disk filesystem

set initrd initrd.cpio.gz

# Memory offset to load initrd to

set initrd_offset 0x00a00000

# Filename of Linux kernel image

set kernel zImage

# Commandline parameters to pass to the kernel

set cmdline ""

bootlinux

This is for the leo latest zimage.In the directions it says to change the ramaddr and ramsize, but the startup.txt in shubcraft has two sets of these. So what are you supposed to do with the second set. If anybody has got this to work can you post your startup.txt please.
[HD2 Android Q&A, Help & Troubleshooting and Genera] cmlucht:
i did mine like this.

This is startup.txt for shubcraft 1.2b

set mtype 2524

#set ramaddr 0x18000000

#set ramsize 0x17c00000

set ramaddr 0x11800000

set ramsize 0x1e400000

set initrd_offset 0x00a00000

set initrd initrd.gz

set kernel zImage

set cmdline "rel_path=Android"

#pwf log/ramconsole.txt 0x2FFC0000 0x40000

#log log/haret0.txt

bootlinux

from,

This is startup.txt for shubcraft 1.2b

set mtype 2524

#set ramaddr 0x18000000

#set ramsize 0x17c00000

set ramaddr 0x18000000

set ramsize 0x0fc00000

set initrd_offset 0x00a00000

set initrd initrd.gz

set kernel zImage

set cmdline "rel_path=Android"

#pwf log/ramconsole.txt 0x2FFC0000 0x40000

#log log/haret0.txt

boot
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
Thanks buddy I appreciate it
[HD2 Android Q&A, Help & Troubleshooting and Genera] takusan1120:
Please read before posting!

There is NO support for NAND currently.... please read the first 4 posts in the thread, and the last 10 pages before leaving comments like this; it does nothing but waste bandwidth, and start a tidal wave of frenzy for new readers, and those who may not check the thread everyday. The search option is your friend!
[HD2 Android Q&A, Help & Troubleshooting and Genera] lemonspeakers:
Is it required that I use these settings along with the aug.11th z-image? I am using darkstone's froyoClean V1 and I cannot seem to load a file named storagecard/initrd.cpio.gz
[HD2 Android Q&A, Help & Troubleshooting and Genera] mattfmartin:
Yea look at cmlucht post a couple down.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pongster:
That's probably because the file does not exist.

check which initrd is included in your build and put that in your startup.txt
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
I would like to encourage everybody to install the kernel from the GIT autobuilds.

We merged everything together for a reason:

A) All users run the same Linux kernel (zImage and modules)

This makes it easier for users to keep track of changes and to stay updated and it helps us developers to debug. Any user reports about problems with a random zImage that is not from the GIT autobuild is not useful. We have no crystal balls to check which source code some random zImage has.

B) We developers have a common codebase to work on. This boosts productivity a lot

EDIT: Can somebody write up a step by step how to obtain the kernel version that is currently running from within android?

It looks something like 2.6.32.9-a3def2bla (in some cases with a -dirty suffix)

I want to add this in the faq.

thx
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
STEP BY STEP HOW TO OBTAIN THE KERNEL VERSION CURRENTLY RUNNING FROM WITHIN ANDROID:

1) Goto "Settings" (in your android applications drawer)

2) Scroll to bottom and tap "About Phone"

3) Scroll down to "Kernel version"

4) You will see something like:

"2.6.32.9-38144-gd5c3476

oedevel@jongkorendijk #74"

Post that info when reporting/giving feedback about your problems so developers can fix them easier.
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
That is an example startup.txt

Here is a clean and working one for the new zimages and current builds,

THIS STARTUP.TXT WILL FIX JUMPING TO KERNEL:

set mtype 2524

set ramaddr 0x11800000

set ramsize 0x1e400000

set initrd_offset 0x00a00000

set initrd initrd.gz

set kernel zImage

set cmdline "rel_path=Android"

boot
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
Lines beginning with # can be ignored and deleted. (they are not used)
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
Try temprorarily disabling auto screen rotation from display settings until new kernel fixes the issue. (g sensor causes high traffic inside the device causing these lags, freezes)
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
With the shubcraft build your device will properly be detected as HTC HD2 (but that may not solve your problem)
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
Guys, I get it. It is too much to read BUT when you ask a question that is already answered on the same page only a few posts back, it's not cool.

Please use the SEARCH THIS THREAD button (just over the page numbers) before asking (not the big search box on top of page)

I do read every post and usually give the same answer 3 to 4 times!
[HD2 Android Q&A, Help & Troubleshooting and Genera] cribel:
hey guys :)

em can anyone tell me how to fully update the files are included in the modules-htcleo-latest.tgz ?

thx
[HD2 Android Q&A, Help & Troubleshooting and Genera] elgar:
Sorry, if I am asking a silly question, but how do I get zimages from the GIT autobuilds? Where is it?
[HD2 Android Q&A, Help & Troubleshooting and Genera] akilleez1:
Okay maybe a dumb ? But is this new kernal/zimage something that will be packed or cooked in to the current android builds. By example Darkstone or Dan or ? So that a challenged person such as myself who has been following since this thread was on page 7, can just redo android on the sd card and not have to edit the statup txt stuff. sorry inadvance.

ok disregard the above ? I meant will there be a kernal/zimage compiled that you dont have to do any editing yourself?
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
You basically ONLY need the bcm4329.ko file.

But here is how:

http://xdaforums.com/showpost.php?p=7622713&postcount=8471

(the instructions also apply to other module files)
[HD2 Android Q&A, Help & Troubleshooting and Genera] elgar:
That's ok, just don't be too proud of yourself. Doesn't look good. Sorry in advance.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
I do not know about all of the devs, but Darkstone has stated that he will not include kernals with his builds any longer. This is hopefully going to cut down on the multitude of different kernals floating around.

On the first page of this thread, there is a link to the most up-to-date kernals that will (should) include all of the fixes/patches created by other devs. This is to actually simplify things for everyone.

As far as editing the startup.txt, that is pretty simple. I do feel, however, that kernals, modules, startup.txt should be packaged all nice and neat for us. this way we can download the latest zimage and startup.txt and put them on our SD card. Perhaps there would be instructions on how to apply the modules and patches that are not yet in the kernal but still available.

wouldn't that be great!

Note to dcordes - Could we [n00bs, lazies] have a location where we can grab the zImage/startup.txt/modules/Instructions to apply modules all in a neat little package.

maybe this should be left up to one of us, you guys do enough as is. Thoughts?

If this is already available, kindly disregard my previous statements
[HD2 Android Q&A, Help & Troubleshooting and Genera] niteowl360:
'Android Signature Template' to be required

Following on to this, could you perhaps require all posters to add an 'Android' Signature with key info, viz Rom, Radio, Android Build etc.

I know this changes perhaps in some cases frequently, but it would be worthwhile having this info listed with current details at time of posting.

This will assist all involved.

Perhaps you can post a signature template onto the first post for Users to copy and paste into their Signatures. In this way the 'Android Signature' would be a standard layout and as a result very easy to read everyone's own individual software choices.

Anyone who does not have this info, may receive limited support.

As for me, I'm getting closer everyday to getting Android on my device.

Ever since picking up an HTC Hero some time back, I have had no doubt that this is the way to go. Massive thanks to all talented Dev's making this a reality for the HD2.
[HD2 Android Q&A, Help & Troubleshooting and Genera] elgar:
Thanks a lot.

I do agree on a packaged zimage, modules, startup.txt. This would save a lot of pain for those of us who are not "user friendly" with linux.
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
From: http://oe.netripper.com/files/htcleo_autobuild/?C=M;O=D

People can always WAIT for a ready to use new build that includes these fixes/files/kernels/modules already.

This is already available.

You can get new files from http://oe.netripper.com/files/htcleo_autobuild/?C=M;O=D

Those files are from http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.32

Changelog is also there. There can be a new zimage every 30 minutes. You DON'T need to rush to get every new zimage. What is updated would be very minor and unimportant and may bring problems. You can always wait for a ready to use build.

Darkstone can include zimages if he is able to provide source code and tree when asked. Complying to GNU license is all that is needed. Using zimage from netripper website would be enough.

More info: http://xdaforums.com/showthread.php?p=7603582#post7603582

http://xdaforums.com/showthread.php?p=7594558#post7594558

Don't worry just wait for new builds for a few days. It is too complex to get involved in replacing kernels modules etc.

You only need new startup.txt when changing to more ram kernel. This is for full ram kernel startup.txt:

set mtype 2524

set ramaddr 0x11800000

set ramsize 0x1e400000

set initrd_offset 0x00a00000

set initrd initrd.gz

set kernel zImage

set cmdline "rel_path=Android"

boot
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
Indeed, I personally like how mine looks, but a generic template could work

Phone: XXX

Radio: XXX

Rom: XXX

OS: XXX

Kernal: XXX
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
Thank you, I am in no hurry. And I am aware of what Darkstone said and why he said it.

This request was in general for users who ask the questions like "where can I get the new kernal, how do I use it, how/why do I change the startup.txt, my GPS don't work, I can't connect to wifi. etc."

Since I try to keep up with what is going on, I do not require this info. However, if it was in a single downloadable .zip including all of the above, I WOULD use that instead. That being said, i still use the 03/08 zimage from Cotulla (as noted in my sig) - and all things work good for me.

I appreciate your response, and having the multitude of links in a single post shows that you are indeed a helpful individual, which is all I want to be as well.

Thanks again.
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
STEP BY STEP UPGRADING TO NEWEST FULL RAM KERNEL

1) Download http://oe.netripper.com/files/htcleo_autobuild/zImage-htcleo-latest

2) Rename zImage-htcleo-latest to just zimage and copy it your Android folder (overwrite the original)

3) Edit your startup.txt to this: (delete original content)

set mtype 2524

set ramaddr 0x11800000

set ramsize 0x1e400000

set initrd_offset 0x00a00000

set initrd initrd.gz

set kernel zImage

set cmdline "rel_path=Android"

boot

4) If your WIFI is not working (error) Download http://oe.netripper.com/files/htcleo_autobuild/modules-htcleo-latest.tgz

5) Open the modules-htcleo-latest.tgz file with winrar or any similar program and find bcm4329.ko file inside. (It is located at lib\modules\2.32.xxxx\kernel\drivers\net\wireless\bcmxxx) copy it to your sdcard root. It has to be all lowercase.

6) Start a Terminal Emulator within Android. (Install a terminal emulator from market if not already installed) Copy bcm4329.ko to sdcard root beforehand. Filename has to be all lowercase. Enter these commands:

su

mount -o rw,remount /system

cp /sdcard/bcm4329.ko /system/lib/modules

you should get no response and wifi should work immediately.

With shubcraft or some other builds delete old bcm4329.ko file in /sdcard/Android/root/system/lib/modules or it will come back on next reboot

OR instead of those steps just wait for a new build to come up. New builds will include these ready to use.

-You won't lose settings

-You don't need to format your sd card

-If you don't use above startup.txt you will get stuck at jumping to kernel

-You don't need other modules unless explicitely written somewhere.

-I'm assuming you're using one of the newest builds such as shubcraft, froyostone, mattc Change startup.txt content if your android folder or initrd file is named different.

Other methods for replacing the wireless driver: (bcm4329.ko)

http://xdaforums.com/showthread.php?p=7622713#post7622713

I could make this easier with a single zip file BUT this is the official way and it is future proof. (Please don't post files to file sharing websites it only causes confusion and quickly gets obsolete) If everybody are using the same kernel from central reprository http://oe.netripper.com/files/htcleo_autobuild/ it will be easier.

Please DON'T ASK if something doesn't work. Try again from the beginning or Use SEARCH THIS THREAD just above page numbers (not the big search box on top of page) I am SURE your problem is already answered.

This kernel uses all memory but if you get around 422756KB reported it is normal. (1MB is 1024KB, not 1000KB and it makes a usable 412MB, not 422MB) This behaviour is the same in winmo and also htc desire or nexus one. ALL HD2s including european ones labeled 448MB HAVE REAL ACTUAL 576MB physical memory. Htc just crippled the stock winmo and pre 2.xx radio to make us version look better. You will get full memory in Android with this kernel and you can get full memory in winmo if you flash a 2.10.50.xx or 2.12.50.xx radio + custom rom such as miris 6.5 v17.0
[HD2 Android Q&A, Help & Troubleshooting and Genera] dcordes:
I will look into adding htcleo-kernel-package-latest.tgz :) NetRipper is on a vacation. As he setup the autobuild scripts it might take a while but it's on my list.
[HD2 Android Q&A, Help & Troubleshooting and Genera] Dblfstr:
You are the man.

As are you, thanks!
[HD2 Android Q&A, Help & Troubleshooting and Genera] nzxtneo:
I am guessing you meant, could you please require all.
[HD2 Android Q&A, Help & Troubleshooting and Genera] miyamoto1027:
Confirmation on bcm installation method A

;)Thanks to Memin1857 for the post on how to install the .ko file as I just confirmed that method A also works on Metleo 1.5 build. Just follow instruction posted by Memin1857 as shown below:

Easiest: (uses winmo, does not use third party app or commands)

A) (MAY ONLY WORK FOR SHUBCRAFT BUILD) Under winmo, create a folder named root inside your Android folder in your sdcard. This folder named root will be the actual root when Android boots up.

For example:

Create this folder structure under winmo:

STORAGE CARD\Android\root\system\lib\modules

and copy the bcm4329.ko file in it. It will look like this:

STORAGE CARD\Android\root\system\lib\modules\bcm4329.ko

Boot Android and the file gets copied to the protected Android file system. (/system/lib/modules)
[HD2 Android Q&A, Help & Troubleshooting and Genera] kdeguy:
Thanks memin1857, that was very helpful.
[HD2 Android Q&A, Help & Troubleshooting and Genera] niteowl360:
Reading the entire post would leave little doubt to the meaning.

Thanks for pointing out possible ambiguity, if read out of context.

I have amended.
[HD2 Android Q&A, Help & Troubleshooting and Genera] memin1857:
DATA FIX FOR NEW KERNEL

If you loose data connection with new kernel, you can temprorarily fix by:

1) launch a terminal emulator

2) write

su

press enter

3) write

ifconfig rmnet0 mtu 700

press enter