yashsingh1/xdaforums huggingface dataset:
[Touch HD Windows Mobile ROM Development] rsjjrsjj:
Linix booting Hang on

Hi Just wanted to share my experience.

I have downloaded and tried both version in the first post. I have tried both on root of SD Card and Device root \. When i hit run, the progress bar goes to the end with text booting linux but nothing happens after that. It bascially stays there.

I am using Dutty'd V 1.8 rom and have some thrid party tweaks isntalled alongwith navigation softwares etc.

Any help is more than welcome to isolate what i am doing wrong
[Touch HD Windows Mobile ROM Development] Rayzer HD:
You are doing nothing wrong. Only that you unable to read the last pages!

Only for you an explanation of the files in the first post:

Off-Ram doesnt work because there are no sd support

On-Ram is working, but with wrong graphics

solution for wrong graphics in on-ram:

go 10-20 pages back there orux did post a new zimage for best graphic quality

so download on-ram files copy zimage in the folder and edit the default.txt there zimage.bin to zimage then start haret like u did it and if this dont work try to rename the zimage to zimage.bin and again in the default.txt the zimage to zimage.bin

soo if now doesnt work try again!!! and again!!!

if there is stub stub stub! tab on screen for calibrate plz do what your phone is telling you!!! :)

so have fun

for all with the same question: read this post and dont ask again!

Rayzer HD
[Touch HD Windows Mobile ROM Development] rsjjrsjj:
Thank you

Thankyou very much for your help, i was successfull in booting the android.

Very Many Thanks(VMT).
[Touch HD Windows Mobile ROM Development] patp:
Hi,

OK, first sorry for my bad attitude a couple of days back - it was largely born of frustration and not personal.

However, it must be accepted that there are problems in us using this thread for development. We need a cleaner one and after discussion we've decided to make one.

Xmoo, I guess this will annoy you. I'm sorry if it does. This thread is of great value, we need two - one for discussion and user testing, as well as a much quieter one for dev work. I can't think of anyone more suited to running that side of the operation, and I hope you will agree. That is not to say that you would not be expected to work on the development thread as well! But I hope you can understand the motivation for splitting these two sides of the project. If not, PM me and I will try to explain.

If anyone thinks "who the hell does this guy think he is?" - I agree. I am barely a developer, very much a learner, and so far all the significant work has been done by Orux. But Orux has a lot on his hands already and his first language is not English, so I think I can help him in this way. Hopefully if some serious linux heads see us having a sensible discussion, they will be attracted to the project.

To the many enthusiastic readers of this thread, your contribution is massively important, in testing, raising issues, and motivating development. We have a very long way to go, but I believe the interest is building. I believe one day I will be able to use my Blackstone with a better OS on it.

PP
[Touch HD Windows Mobile ROM Development] herbert1:
Nothing important (everybody will correct it, I suppose) but I think that, in your first post (http://xdaforums.com/showpost.php?p=3375558&postcount=1), the correct versions for the kernel are 2.6.25 and 2.6.27...
[Touch HD Windows Mobile ROM Development] xmoo:
Well I don't have a problem with that. I'm also adding the link in post #1.

But the way you started, was not normal!

But it's all good.

Good to have you back.

Just keep in touch when ya'll have something.

So I update this thread.

And discuss the things here.
[Touch HD Windows Mobile ROM Development] stefh:
Good to have you back! Keep up the good work you all!
[Touch HD Windows Mobile ROM Development] 1337_V1k1n6:
lookin good

seems to work perfectly. can't wait to get the phone working :D
[Touch HD Windows Mobile ROM Development] p3ngwin:
no such "dual-core" on MSM series. have a look at

my post

in the thread you looked at.

the performance we see in our Android conversion is probably using the hardware graphics acceleration of the MSM720x chip, which is what we wanted from our TOUCH HD's int he 1st place!.

sad that a customer has to switch OS to get the hardware functionality they paid for :(
[Touch HD Windows Mobile ROM Development] xmoo:
This reminds me back of the HTC Kaiser thing......
[Touch HD Windows Mobile ROM Development] heatsha:
OK thanks !!
[Touch HD Windows Mobile ROM Development] Cyclone_storm:
I would also pick it up at the store. I doesn't sound good to me. If you need

any help with anything let me know.

Ps. Damn Barcelona for 6 months, that really long haha. I'm happy that I already done with the study ****. :D :D :D
[Touch HD Windows Mobile ROM Development] El Massman:
@xmoo, as far as i'm aware this is a problem with the framebuffer and the pixel clock of the lcd. it's not got the right value. that would be the only reason the build isn't working on this phone compared to one with what i think is the same chipset? i've come from a background of trying to hack OS X onto a standard beige box from back in the days of 10.4.4 when people were writing their own framebuffers. this is the exact same problem i used to have on my laptop before the pixel clock and EDID weres introduced. so my reckoning would be that your issue is most likely with the framebuffer and possibly the pixel clock and this is what i'd suggest looking into. does anyone know of a utility for win mob that lets you find this information? i have come up with nothing while googling. i used to have an elf which suffers from the same problem and couldn't find anything when looking then either. since the resolutions are the same on the Xperia and the HD that souldn't be the issue. if it's set to 480x800 then that's the resolution no matter what the dpi so that shouldn't make a difference. i have no real background in linux or compiling besides some slight dabbling so i can't really help there. but i did a LOT of research regarding framebuffers and pixel clocks a couple years back so if there's anything i can help you with don't hesitate to ask. this is only my suggestion as to what might be the problem and i may be wrong but hopefully it helps.

Marc
[Touch HD Windows Mobile ROM Development] xmoo:
The chipset + speed are both the same.

The screen resolution are both the same.

The only diffrence is the screen size.....
[Touch HD Windows Mobile ROM Development] El Massman:
that's what i'm saying, due to their different size they MUST be different lcd's which means they more than likely have a different pixel clock which would account for what we see on screen when we boot. it's not actually the size that's the factor. the pixel clock is something specific to the lcd, which is the only major difference between the 2 handsets as far as i know? and when it's incorrectly set causes what we see when we boot.
[Touch HD Windows Mobile ROM Development] keni:
I tried it and it booted into Linux ok, however the command prompt area is all messed up... as though the graphics drivers aren't working...
[Touch HD Windows Mobile ROM Development] xmoo:
TUTORIAL: http://www.youtube.com/watch?v=L4z1hgUNH3o
[Touch HD Windows Mobile ROM Development] cybermaus:
Forgive me if I am wrong, but aren't we forgetting the refresh rate? Principally the pixel clock is (V-Porch+V-resolution)*(H-Porch+H-resolution)*Refresh.

Different LCD's (with the same resolution) principally have the same pixel clock, unless if the LCD unit demands a different porch size (which depends more on the driver chip then the screen itself). And also two identical LCD screems may still have different clocks if they are driven at different refresh rates.

Edit: On windows, the PowerStrip utility is really insightful to play with custom resolutions, porches and pixel clocks.
[Touch HD Windows Mobile ROM Development] El Massman:
that sounds very reasonable. do you think the refresh rate could cause a problem like this?
[Touch HD Windows Mobile ROM Development] apokryphus:
anybody who tried the raphael android compilation? http://wiki.xda-developers.com/inde...ux#Currentx20.statex20.-x20.Androidx20.1x2e.0
[Touch HD Windows Mobile ROM Development] mindk33p3r:
It doesn't work... You can try it your self...
[Touch HD Windows Mobile ROM Development] xmoo:
Getting My Touch HD 2 morrow night :D
[Touch HD Windows Mobile ROM Development] heatsha:
Xmoo keep the good work ;) i hope we can use Android soon!
[Touch HD Windows Mobile ROM Development] dusty_nz:
I am really keen to see this progress.

Is there anything I can assist with?

Have a HD and reasonable linux skills.

Is the IP stack working (USB)? Might be possible to further diagnose by telneting to the phone to diagnose??

Paul
[Touch HD Windows Mobile ROM Development] jim256:
YESS.... :D
[Touch HD Windows Mobile ROM Development] xmoo:
Don't know, you could try booting Angstorm.
[Touch HD Windows Mobile ROM Development] Lox_Dev:
Angstorm hangs too
[Touch HD Windows Mobile ROM Development] heatsha:
Hey xmoo do you get it now??
[Touch HD Windows Mobile ROM Development] xmoo:
Yeah, Just installed everything.

First thing I noticed. The phones get recognized as a Table pc :S

Not as a Phone like my Xperia.

So that would be I believe one of the issue.

Need to find a Android img that has been made for tablet pc's.....
[Touch HD Windows Mobile ROM Development] heatsha:
Welcome bro to HD club ;)
[Touch HD Windows Mobile ROM Development] pichurri:
Wiki

xmoo, could you add a link to the wiki in the first page.

PS: I updated the wiki last night. Image and instructions were updated for Android 1.0.
[Touch HD Windows Mobile ROM Development] Tom Curse:
oroux can we get a new diff or the complete source of your current kernel?
[Touch HD Windows Mobile ROM Development] xmoo:
Added it.

Thx.
[Touch HD Windows Mobile ROM Development] Rewpparo:
I updated the wiki this morning too. I made it easier to maintain.

When there's an update to the kernel, just update the link to download a precompiled version in the "Get a kernel" section. If you have a diff, update the link at the beginning and the one in the command line. Remember to update the dates so that we know what is up to date.

The rest should follow. Please check if I didn't make any mistakes in the procedures, as I didn't test everything myself.
[Touch HD Windows Mobile ROM Development] patp:
Wiki looking great guys.

It would be really useful if someone completely new to it could try setting up a dev environment and check that we have working instructions for anyone who wants to try compiling a kernel.

If you don't have linux on your pc, that doesn't matter; you can get Virtualbox (free) and set up Ubuntu (free) and do it all without touching Windows. If anyone wants to do this, I can give detailed instructions.
[Touch HD Windows Mobile ROM Development] Rewpparo:
btw, does someone have a full angstrom image, with a graphical interface and all, or know where I can download one ? I can't seem to find an initrd on the angstrom website, only roms.
[Touch HD Windows Mobile ROM Development] xmoo:
Don't know if there is any...
[Touch HD Windows Mobile ROM Development] abats:
I would love to have instructions on how to setup a dev environment for Android.

I'm a professional Java developer with a little bit of knowledge about Linux. And I would love to dive into this project, but I have been reluctant to do so because I thought it would take me too much time to get a decent setup.

So if you could put together some instruction I would be gratefull!
[Touch HD Windows Mobile ROM Development] patp:
Which bit - setting up the vbox, or setting up the tools in linux. If the former, I found a fantastic tutorial here. If the latter, we have some instructions on the wiki, here.

It would be REALLY useful if you or someone else could test those instructions.
[Touch HD Windows Mobile ROM Development] dwaradzyn:
There are many tutorials:

http://wiki.xda-developers.com/index.php?pagename=BlackstoneLinux

http://wiki.xda-developers.com/index.php?pagename=BuildTheKaiserKernel

This should get you started. Please post specific questions if you encounter any obstacles.
[Touch HD Windows Mobile ROM Development] Rewpparo:
If you already have linux installed, you just have to follow the instructions in the wiki. I compiled my first kernel thanks to those.

If you don't, download and burn the ubuntu live cd, boot on it, you have a working linux environment. You'll just have to work in a mounted hard drive instead of home directory, ask if you need help with that.

I encourage you to make some space on your hard drive for a full ubuntu install (10Gb should be enough), and try ubuntu out, it's really great.
[Touch HD Windows Mobile ROM Development] abats:
Thanks for the info guys, I will follow the tutorials (hopefully tonight) and make notes if I run into problems.

Thanks again!
[Touch HD Windows Mobile ROM Development] orux:
see wiki, there is a diff
[Touch HD Windows Mobile ROM Development] Tom Curse:
gr8 good job :)
[Touch HD Windows Mobile ROM Development] jim256:
I know this has kind of question has sort of been posted before, but...I am fairly computer saavy, and have some coding experience (vb and vc++ tho), and have spent many a day playing around w/ different distros of linux and spent some time w/ ubuntu, as well as a small bit understanding it's commandline interface.

I would SO LOVE to be able to make some sort of significant contribution in getting this running (well). However, my linux experience is still pretty bare, and I have no Java experience. Is it worth me trying to get things really rolling? I have a super clean updated ubuntu 8.10 vhd set up already that I could use, but want to know your guys opinions on if it is really worth it. I think I would call myself a fast learner in the IT field but...idk this stuff could obviously still just be too deep for me.

(also, an idea I had, I could upload my clean ubuntu 8.10 vhd somewhere, after installing all the necessary tools for kernel work if it's worth it. That way anyone could just jump on, download it, and use it straightaway and get to work. The download would of course be large, but if people are getting discouraged by the set up time, this could be a great solution as they could just start it to download over night one time, then wake up and have 3 minutes of set up..just an idea, lemme know what you guys think)

BTW: patp,

great

news to have you back! Was really disappointed when I saw your last post :( Welcome back.
[Touch HD Windows Mobile ROM Development] Behold:
With out hijacking this in to a setup post im in the same boat. I am a fast learner and new to linux in a development sense. I can use the CLI with no issue as i use VMWare ESX and Sco (I know not really linux!!!) One thing i have been good at is diagnosing issues on prewritten code as the learning curve is not so deep and i can pick it up fast.

Once i can get a development kit set i too could save up the image which is VirtualBox for those in the want to start with this. PM Details if you feel it should stay clear from here.

PS. Can this post be stickied as it makes it easy to follow progress.
[Touch HD Windows Mobile ROM Development] abats:
I ran into my first issue today. Or well, i was executing the following command (from the wiki) : git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git

Problem is I let it run for an hour or so, and when i came back it was at 12% (remote compressing or something). Is it normal that it would take that long?

As i understand it this is a command to clone a repository, and i don't see a reason why it would take so insanly long :o

Any tips are very welcome!
[Touch HD Windows Mobile ROM Development] CyberSalsero:
same problem!!!
[Touch HD Windows Mobile ROM Development] Rewpparo:
Yeah, git is insanely long the first clone you make

What I do is download the latest snapshot as a tarball from here : http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.25. Clic tarball on the first line. This link is at the top of the kernel part in the wiki.

Just untar it and you have the same as a git checkout, only it takes a lot less time. It's not a full repo though, it's just a snapshot. You can't use any of git's functionalities, you can just use the files.

EDIT : website seems to be down for now

For those that think they might wanna try : That's what I did three weeks ago. I knew C, but nothing about kernel. I followed the tutorial on the wiki to compile my own kernel, I had a look at the diffs to see what files were modified and how, and I tried to figure it out. Took me a day or so to understand things, and it was definitely worth my time. The kernel is an amazing piece of organization, really fun to hack and tweak.

However I became a bit lost when they started talking about registers and stuff. I'm a high level kinda guy, and I have a hard time making sense of what seems natural to Orux, patp and JanSchotsmans.
[Touch HD Windows Mobile ROM Development] xmoo:
The website isn't down.

But it's very very slow!
[Touch HD Windows Mobile ROM Development] patp:
don't be intimidated by registers. they are just a way of telling the hardware what to do, eg what resolution the screen is. they are usually well-documented eg in the epson doc. it will say for example

0x400 screen setup

and explain what individual bits of data sent to that address will do. linux was putting some incorrect (for blac) entries and we figure out what they should be using the manual.
[Touch HD Windows Mobile ROM Development] Rewpparo:
I'll have a look at it in detail when I have time, the diff will probably answer most of my questions.
[Touch HD Windows Mobile ROM Development] abats:
Hmm I get the following error when i try to compile:

"make: arm-none-linux-gnueabigcc: Command not Found"

Can't think of anything that i missed :O
[Touch HD Windows Mobile ROM Development] CyberSalsero:
same error check the path of arm-none... directory
[Touch HD Windows Mobile ROM Development] Rewpparo:
This means he didn't find the proper cc for compiling.

We're compiling programs for the arm architecture, not x86 as your pc. So it needs a different gcc. The ARM toolchain you downloaded provides it. Thing is, it's not installed in your path.

That's why there's a line :

export PATH=~/blackstone-dev/arm-2008q1/bin:$PATH

To add the proper folder to your path. Check you did execute this line, and that the path is correct, you should have a arm-none-linux-gnueabig-cc file in it, that's the compiler. You need to execute this line everytime you restart your console

Abats, in the line

make zImage ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

you forgot the dash at the end. It's looking for a arm-none-linux-gnueabigcc while it should be looking for arm-none-linux-gnueabig-cc

good luck guys
[Touch HD Windows Mobile ROM Development] BigDaemon:
has anyone just tested the newest zImage.bin from the development-thread?

I just tried it, from SD_Card i only get until "Booting Linux 100%"

From device itself it hangs on gogogo

can anyone help me with this issuse? What am i doing wrong?!
[Touch HD Windows Mobile ROM Development] stefh:
Same here.

CyberSalsero probably used a different android image and modified the default.txt file.

We will have to wait until he answers and provides us with the right files.
[Touch HD Windows Mobile ROM Development] abats:
I have done all these things as the guide says. But i still have the error. Perhaps my GCC is installed in the wrong directory. But the path seems to make sense. Dunno really =/

Here is an image of my folders perhaps you can see if something wrong;

http://img262.imageshack.us/img262/4104/folders.png
[Touch HD Windows Mobile ROM Development] CyberSalsero:
I'm uploading all files on http://www.portalesalsero.it/public/Android-Cyber.zip

Put its in a directory called tmp on yours SD.

When it starts your phone vibrate 2 times.
[Touch HD Windows Mobile ROM Development] Rewpparo:
Abats, Your directory layout is fine.

But your first line tells me you didn't read my post well.. The name of the cross compile cc executable is not just "arm-none-linux-gnueabi-" but "arm-none-linux-gnueabi-cc"

What you give to the kernel is a prefix, it will add cc at the end for compilation.

This file should be in ~/blackstone-dev/arm-2008q1/bin, which is the directory you add to your path.
[Touch HD Windows Mobile ROM Development] furrypotato:
CyberSalcero has posted all his files :

http://xdaforums.com/showthread.php?t=486378&page=6

I've tried it and it boots and I can get the Android Keyboard to work.

SD access works ok as I tried Music and it found all my music stored on my SD card :) But Audio doesnt work yet so no sound.

It does pick up the signal and shows the correct provider (Orange)

It will attempt to make a call or answer one but then the phone app crashes.

I even tried putting my GPRS settings into the phone but it still wont get a data connection :(

If I try putting my email settinsg into it then the email app crashes.

BUT anything I do add stays there even when I reset it and relaunch Android.

So still very unusable and unstable but fun to play with.
[Touch HD Windows Mobile ROM Development] gaelynx:
Using the latest version, calling worked once for me, but the phone application crashes often.
[Touch HD Windows Mobile ROM Development] xmoo:
In Android 0.8 Calling works... Without crashing. But no sound :(
[Touch HD Windows Mobile ROM Development] gaelynx:
The API Demos seems nice to test android, but once I launched one of the demo, I couldn't get back to the list of possible demos:

By pressing the F4 key or End key, it goes back to the desktop/home screen, and then if I go to API Demos again, it goes directly to the previously selected demo.

Actually the problem here is that we don't have any way to press the "Back" button that is on the G1.

I assume the F4 key or End key are mapping the "Home" button of the G1.
[Touch HD Windows Mobile ROM Development] gaelynx:
yeaa we can play games on Android-on-Blackstone!

Snake on a Phone works well :D

Lunar Lander works too but I don't know which key we have to press to boost the falling shuttle.
[Touch HD Windows Mobile ROM Development] xmoo:
Can someone share the whole defualt.txt of the sd boot.

He used my off-ram files.

But when I use mine with his kernell my phone just reboots...

I'm on work and it has bad internet so I cannot download the zip file

Can someone past his default.txt here.

Thank you.
[Touch HD Windows Mobile ROM Development] gaelynx:
Here you go.
[Touch HD Windows Mobile ROM Development] Behold:
When im doing git clone git://git.linuxtogo.org/home/groups/mobile-linux/kernel.git it says done but fails to return to the prompt.

If i kill out with Ctrl C then run the next line (after CD Kernel) in the wiki i get a error

root@antony-laptop:~/blackstone-dev/kernel# git checkout -b htc-msm-2.6.25 origin/htc-msm-2.6.25

fatal: git checkout: updating paths is incompatible with switching branches/forcing

Did you intend to checkout 'origin/htc-msm-2.6.25' which can not be resolved as commit?

Any help????

I left the clone for about 12 hours and no further on. Im really keen to resolve this so i can start playing.
[Touch HD Windows Mobile ROM Development] xmoo:
Hmz, with off-ram my phone just restarts :(

Think I just have to download the files then....
[Touch HD Windows Mobile ROM Development] CyberSalsero:
4 all

try to set in default.txt 76M in the place of 64M

Android seems to be more stable.
[Touch HD Windows Mobile ROM Development] daniel.hunt:
What's going on here? What files? :)
[Touch HD Windows Mobile ROM Development] xmoo:
The Android cupcake off ram files.