yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] iRiKi:
Hello dear sir,

First of all thank you for your efforts, it will be very nice to have a working, fast android on this rather "old" phone ;)

Thing is, I use xdandroid in paralel with wm6.1, meaning it will boot from haret but I can always return safely to wm6.1 which I need mainly because of GPS for my work. Does your method forces one to use only android or wm61 but not both? Does it boot from a file with haret like xdandroid, or does it need to create dfferent partitions?

thanks in advance for all answers ;)
[Touch Diamond, MDA Compact IV ROM Development] helicopter88:
I have two builds,one has xdandroid like install method and a method that requires two partion,wich is Cherry Pie,and the other one is Gingercherry that requires 4 partitions,and i'm working on making that xdandroid like

Both require windows mobile.

You can see more info in my threads.
[Touch Diamond, MDA Compact IV ROM Development] gonzoMD:
I packed the actual XDAndroid release with the actual Kernel, rootfs and initrd preconfigured for diamond and including the cab of GEN.Y Dualboot to send it to a friend to run it out of the box, no big work, but I thought I could share it with you too.

Here: http://depositfiles.com/files/eo9pdi8yk

This is no work by me

GEN.Y Dualboot is made by yozgatg

XDAndroid is made by the XDAndroid team

please support their work

best regards
[Touch Diamond, MDA Compact IV ROM Development] iRiKi:
THANK YOU SO MUCH for explaining that, you need to put this bit of info on one of the FAQs (sofar I've read FAQ version v2 and the MOther Tutorial).

BTW what is the faster version? Cherrypie or Gingercherry? And, which one of them do you personal recommend?? Thank you so much :)
[Touch Diamond, MDA Compact IV ROM Development] helicopter88:
I like more Gingercherry,it's really fast and since i'm not someone who gets a lot of calls,the incoming calls bug isn't a problem for me..

If you need to be reliable i'd use Cherry pie..

about the faq,is being worked on..
[Touch Diamond, MDA Compact IV ROM Development] for3v3r:
what I don't "undestand"!

A few days ago Cosmote Lunch the "Cosmote Move" it's a smartphone with 600 mhz and has an internal memory of 150MB, comes with Android Froyo, and our diamonds don't, is really annoying,.. but that's life ...
[Touch Diamond, MDA Compact IV ROM Development] slybunda:
cosmote you say was launched few days ago with android froyo.

htc diamond was launched what? 4 years ago? big difference there.
[Touch Diamond, MDA Compact IV ROM Development] daedric:
Well... age doesn't mean all, check this:

Cosmote Move:

TFT touchscreen resistive, 256K culori

240 x 320 pixels, 2.8 inches

600 MHz processor

50 MB (Ram? Internal memory?)

Diamond:

TFT resistive touchscreen, 65K colors

480 x 640 pixels, 2.8 inches

4 GB storage, 192 MB RAM, 256 MB ROM

528 MHz ARM 11 processor, Adreno 130 GPU

So... why won't our Diamonds (and many similar) run android smoothly ?
[Touch Diamond, MDA Compact IV ROM Development] mariolouis:
Because rom interface to ram/logic board is a lot lot lot faster than sd card interface.
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
Ok, first of all.. i didn't do that much to get 0.8 working, just toyed around with settings, expirimented a bit and compared different sources. The main credits go to guys lik druidu, netripper and other guys i'm forgetting for getting things like the framebuffer to work.

Besides that, it would be really cool to have a 1.0 initrd, could someone or rip it from the SDK (i thought that was possible, rom dumping scripts if they work should be in the dream forum under rom dump) or from the source version.

And as i understand, we are still miles away from a good working android 1.0 version, a lot has to be done, and we have to hope that that road isn't too bumpy ;)

Nevertheless, it's really cool to see android on my diamond, i love the high res :cool:
[Touch Diamond, MDA Compact IV ROM Development] NikPraskaton:
This file is neither allocated to a Premium Account, or a Collector's Account, and can therefore only be downloaded 10 times.

This limit is reached. Damn!
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
Que, which file?

Edit: I donno what that file really was, but you can download it from my site, the whole android 0.8 package:

http://www.ebudget.nl/android08/

I don't really have a tight bandwith limit ;)
[Touch Diamond, MDA Compact IV ROM Development] NikPraskaton:
This one..
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
Yes well, what's the difference with that one and my android version on my site? I don't really understand what that file would do...
[Touch Diamond, MDA Compact IV ROM Development] itsallsubliminal:
how do i view/edit/open these on my computer?

hey guys, what are you using to edit these files? and what file/files are responsible for the code enabling the cdma diamond to boot? I have ubuntu on my laptop and wana just take a look at these codes, tho i know very very little... gotta start somewhere :D

so if someone can direct me as to how to open/edit/view these files, it would be much appreciated!
[Touch Diamond, MDA Compact IV ROM Development] NikPraskaton:
Nevermind.. I downloaded the other one. Didnt know there arent any differences.. Tnx for the link.
[Touch Diamond, MDA Compact IV ROM Development] TripleQ:
http://it029000.massey.ac.nz/vogue/

There you can download a 1.0 initrd...

dono if we can use it? I tried too run it, with our own zImage..but we need sdcard access for that... (it says: cannot mount sdcard..)

[edit]

Thats because the 1.0 initrd is too large for use with haret, so we need to load a smaller one before this one, and load the 1.0 initrd from sdcard.
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
Oh yeah, something else... i heard (and tried) you can also make/recieve calls, too bad the speaker and microphone don't work/ are missing drivers, but apart from that, nice ;)
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
if it was possible to use the internal storage from our diamond....
[Touch Diamond, MDA Compact IV ROM Development] komteks:
My latest haret log file attached.

I am getting past the haret booting linux screen and I now see the HTC Linux framebuffer console by druidu screen

When the linux boot stops the last line reads

[ 0.160000] console handover: boot [htc_fb-1] -> real [tty0]

Again this is on a 3 day old Sprint HTC Touch Pro
[Touch Diamond, MDA Compact IV ROM Development] lifegrasp:
I am on sprint too..and having the same issues... how did you get that output log? where is it?
[Touch Diamond, MDA Compact IV ROM Development] komteks:
You create an empty earlyharetlog.txt in the same directory as the haret.exe file.

When you run haret a haretlog.txt file will be created.
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
The log only goes up to the "go go go". It won't log anything regarding linux.
[Touch Diamond, MDA Compact IV ROM Development] christofur84:
Android Cdma

I get the same thing, any ideas?
[Touch Diamond, MDA Compact IV ROM Development] MTechRD:
WAO!

Hey people!

Hi to everybody! Let me tell to all....I'm amazed! My english isn't good enought and speak spanish because that i not usually write posts.

But, Congratulations for your big work here!!!!!
[Touch Diamond, MDA Compact IV ROM Development] komteks:
Ok below is the entire Linux boot sequence. Hope it helps:

HTC Linux framebuffer console by druidu

k[ 0.000000] Linux version 2.6.25-00657-gb2297b2 (root@eagle) (gcc version 4.3.2 (Sourcery G++ Lite 2008q3-39) ) #1 PREEMPT Wed Oct 29 14:29:39 CET 2008

[ 0.000000] CPU: ARMv6-compatible processor [4117b362] revision 2 (ARMv6TEJ), cr=00c5387f

[ 0.000000] Machine: HTC raphael cellphone (aka HTC Touch Pro)

[ 0.000000] Memory policy: ECC disabled, Data cache write back

[ 0.000000] clock_init()

[ 0.000000] ACPU running at 528000 KHz

[ 0.000000] CPU0: D VIPT write-back cache

[ 0.000000] CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets

[ 0.000000] CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets

[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on, Total pages: 23876

[ 0.000000] Kernel command line: root=/dev/ram0 ro init=/init console=tty0 mem=94M

[ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes)

[ 0.140000] console [htc_fb-1] enabled

[ 0.150000] console: colour dummy device 80x30

[ 0.160000] console handover: boot [htc_fb-1] -> real [tty0]

What can be causing the problem?
[Touch Diamond, MDA Compact IV ROM Development] nashmage:
This is a sprint phone right? i have a sprint diamond and i get the same thing...
[Touch Diamond, MDA Compact IV ROM Development] komteks:
Yes. Sprint HTC Touch Pro
[Touch Diamond, MDA Compact IV ROM Development] itsallsubliminal:
cdma is the problem... hopefully we can get someone to try to figure this out. cuz as soon as android is on my sprint diamond, goodbye winmo and tf3d for a LOOOOOONG time lol
[Touch Diamond, MDA Compact IV ROM Development] christofur84:
theres no time for sleep!
[Touch Diamond, MDA Compact IV ROM Development] K_Hismoom:
That's a great success, guys. Congrats on that!

I have noticed an interesting thing. Even though I don't enter my PIN to access the SIM-card, the phone is able to receive calls. How can that be?
[Touch Diamond, MDA Compact IV ROM Development] rl2000:
Because you already activated stuff like that in winmo and it boots on top of that I guess.
[Touch Diamond, MDA Compact IV ROM Development] K_Hismoom:
Ah, sure. Didn't think of that.

Thanks for the info :)
[Touch Diamond, MDA Compact IV ROM Development] g.lamprou:
I try the 0.8 first time see android in my diamond! Keyboard stack ok... but i think is a step forward...i think touchscreen not working yet but its a step is a good step!!!
[Touch Diamond, MDA Compact IV ROM Development] Bandit13:
Touchscreen works but as a mirror (if u want to click left, clik right) because of drivers issue ;)

Sebastien
[Touch Diamond, MDA Compact IV ROM Development] refl3x0r:
Hey Guys, isnt it possible to modify the touchscreen driver to map the x-coordinates mirrored? Are you possibly working on that yet?
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
I think druidu already mentioned he will modify the touchscreen driver to report calibrated results instead of the current raw output. Let's be patient. :)
[Touch Diamond, MDA Compact IV ROM Development] sascha.egerer:
Hi!

I've started Android on my Touch Diamond. After that I've soft reset my device.

Since this reboot i can't execute the most of my applications. I get everytime the unsigned certificate errormessage. (don't know the message in english because it is a german device)

Can anybody help me? I don't want to hardreset my device.

Thx and please GET ANDROID RUNNING!!! :rolleyes:

[EDIT]

the user 'geh' got the same problem.

http://xdaforums.com/showthread.php?t=383065&page=2
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
Druidu has had this problem as well, and to my knowledge, he also had to hard-reset to solve the problem. He could install cabs, but not start most of the .exe's.

Not sure where this is coming from - may have to do with the Linux thing, or that windows mobile was saving something critical at the exact moment when Linux get's booted.
[Touch Diamond, MDA Compact IV ROM Development] MasterOfDesasters:
same prob here as well :-)
[Touch Diamond, MDA Compact IV ROM Development] dejant_9:
works fine on Xpurple 5b FRA. No "exe" problem after booting linux 6 time yesterday. We REALY need an other OS smoother and more "human friendly" than winmo. keep up the good work!! thanks
[Touch Diamond, MDA Compact IV ROM Development] remi.rez:
My feedback.

I've booted the Android 1.0 package (I think, it doesn't llok like the one on the G1 though).

No booting poblem, but all I could do was pull down the task manger/switcher and bring it back up again. And the visual keyboard was flickering a lot.

No problem when I rebooted under WinMo

I used a Diamond with a 1.93 Rom (can't remember which one lol).

Very encouraging, and nice sharp UI apparently.

Can't wait.

1 question, what happens when booting Android 1.0 and where can I find it?

Cheers
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
i think you're booting android 0.8, do you see a digital clock? or do you also se a large analog clock.

does it look like this: ?

Or like this:
[Touch Diamond, MDA Compact IV ROM Development] ndCChris:
where's the link to android 1.0?
[Touch Diamond, MDA Compact IV ROM Development] druidu:
It seems some dll gets corrupted eventually (most internal apps can run, but no exe, even if it was already installed on your system). You were unlucky I guess, I attempted to boot the kernel like 500 times before it happened (no kidding :D).
[Touch Diamond, MDA Compact IV ROM Development] remi.rez:
No, there's no clock, I'm on 0.8.

Does anyone manage to do anything under 0.8?

I can only play with the top 'curtain'.

Cheers
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
Hey Druidu, how hard do you think it will be to make the internal storage/storage card visible in linux.

The 1.0 rom is too big to load from haret, so we will have to boot that from the storage i guess... (and we need a storage driver sooner or later anyway).
[Touch Diamond, MDA Compact IV ROM Development] g.lamprou:
Thanx i try it now!

Anyone link for 1.0?
[Touch Diamond, MDA Compact IV ROM Development] remi.rez:
Missed the fact that touchscreen works in mirror.

It MIGHT be easy to quickly fix.

Anyone figured how to close an app in Android 0.8 on the diamond?
[Touch Diamond, MDA Compact IV ROM Development] rl2000:
Yes, just insert the stylus and pull it back out and you're back on the desktop.
[Touch Diamond, MDA Compact IV ROM Development] daniel.bigred:
i've gotten the browser open in 0.8 but can't manage to type a search field.

good on all of you for keeping this thread alive... the diamond and raphael are perfect WM devices to run ANDROID.

hopefully we can get it to run properly, i am also willing to test new builds...
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
if you align the virtual keyboard, you can use that one to type when you're using the browser, i thought a bar wil automatically pop up when you start typing.
[Touch Diamond, MDA Compact IV ROM Development] Toug:
Am I blind?:) I can't find any links for Android 1.0.

Please let us dream :)
[Touch Diamond, MDA Compact IV ROM Development] H3PO:
several pages ago, someone posted a rapidshare link (which is now broken) and a pretty slow mirror: http://www.2shared.com/file/4189390/...a/android.html

take a look into my blog, i'm now creating a mirror and i'll report any news regarding android on diamond / ignito.
[Touch Diamond, MDA Compact IV ROM Development] remi.rez:
I'm pretty sure the one you have on your sever is 0.8.

1.0 won't boot for now because of the intdr (?) being too big (don't ask me more lol).

All i've understood is that it's necessary to get a working driver for the internal storage to be able to boot 1.0. I'm sure the great coders on the forum are hard at work for our greatest pleasure.

In the meantime, you should amend your blog.
[Touch Diamond, MDA Compact IV ROM Development] jr_daza:
Hello guys, i could manage to enter to the applications with the mirror advice there is one called point locator that shows you the location of the stylus whet it touch the screen and show the coordinates, I also enter to the maps but no map appear and to the browser but when I restar the system window does not boot so I have to hard reset :(

But I will doit again…:)
[Touch Diamond, MDA Compact IV ROM Development] christofur84:
Sprint

So is it just a radio issue with the CDMA to boot linux?
[Touch Diamond, MDA Compact IV ROM Development] H3PO:
Thanks, I corrected that. I didn't even check the release ;)
[Touch Diamond, MDA Compact IV ROM Development] bloatboy:
A quick note on initrd (this is just general info, not all parts are specific to android).

The initrd file contains a filesystem that is loaded into ram (initial ram disk) and is passed to the kernel from the bootloader (in this case Haret, but on other systems grub/lilo/elilo/etc).

The initrd normally is very small and just contains things like drivers, device files, a handful of utilities. Just enough (normally) to mount the real filesystem and get the system going for real. As an example, I have a few initrd files for this pc that weigh in at about 3mb.

We need a bigger initrd for Android and haret loads because in the absence of a mountable filesystem, we need pretty much everything in the initrd. In theory, once we have a good nand driver, the android files can be put on internal storage and the initrd pared down, or even bypassed altogether in favor of the internal storage device/filesystem.

Editing an initrd varies based on how it is created, but in the case of

[URL="http://it029000.massey.ac.nz/vogue/initrd-android"]http://it029000.massey.ac.nz/vogue/initrd-android[/URL]

it is extracted thusly:

$ mkdir work (make a little workspace for the initrd)
$ cd work

$ gunzip -c ../initrd-android | sudo cpio -i (unpack the initrd into the workspace - ubuntu users)

or

$ su (non ubuntu users)
# gunzip -c ../initrd.gz | cpio -i (non ubuntu users)

At this point, the initrd has been expanded into the workspace and you should see something much like this:

$ ls -l
total 132
drwxrwxrwx 11 danh danh 4096 2008-10-30 16:59 data
drwxr-xr-x 3 root root 4096 2008-10-30 16:59 dev
drwxr-xr-x 5 root root 4096 2008-10-30 16:59 etc
-rwxr-xr-x 1 root root 91952 2008-10-30 16:59 init
drwxr-xr-x 2 root root 4096 2008-10-30 16:59 proc
drwxr-xr-x 2 root root 4096 2008-10-30 16:59 sbin
drwxr-xr-x 2 root root 4096 2008-10-30 16:59 sys
drwxr-xr-x 12 root root 4096 2008-10-30 16:59 system
drwxrwxrwt 2 root root 4096 2008-10-30 16:59 tmp
drwxr-xr-x 3 root root 4096 2008-10-30 16:59 var

$ sudo du -c -h -s
36M .
36M total

At which point, you could make changes. When finished with your changes, you would repack the files.

$ sudo find . | sudo cpio -o | gzip -9v -c - > ../initrd-new

Having looked at this filesystem, I don't think there is much fat to cut and we may have to patch Haret to try and load a bigger initrd, and/or wait for a nand driver and try to put the files on internal storage and mount that instead.
[Touch Diamond, MDA Compact IV ROM Development] microlomaniac:
Hey guys,

I first want to say that I'm really looking forward to you getting Android running on the Diamond! I am very dissapointed with my Diamond because it has more than 2x the speed in MHz but it feels slower than my good old xda neo (even with dutty's ROM)...

Anyway, since we're booting into Unix here, wouldn't it also be possible to boot into OSX at some point? I mean, the iPhone-OSX of course. How cool would that be, the iPhone software on a much better looking VGA device! Just a thought of mine.

Nevertheless, keep up the good work!! I'm planning on donating to those who get Android running, since it would certainly add to my Diamond's value.

Cheers and good luck,

Charles
[Touch Diamond, MDA Compact IV ROM Development] Toug:
Is it possible you post the 1.0 ?
[Touch Diamond, MDA Compact IV ROM Development] computerguru:
Ok...from reading the various forum posts over the past couple of days...it looks like the Sprint issue is with CDMA. I know nothing about CDMA (other than it's the cell phone technology used by Sprint/Verizon/Alltel and doesn't use a SIM.)

I'll still take a stab at fixing it...but no promises...
[Touch Diamond, MDA Compact IV ROM Development] lifegrasp:
Hey ... let me know how you attempt to fix.... I am trying to learn this whole hacking cell phones with Linux "thing". Be happy to test your code as well.
[Touch Diamond, MDA Compact IV ROM Development] H3PO:
Does anyone know which drivers are currently compiled into the kernel? I wonder if it was possible to get a console session running on one of the network devices... If I remember right, the G1 has the same qualcomm chipset with integrated wlan - right? So it should be possible to get a network connection running.

Is somebody working on that already?

@Toug: I just mirrored the file which was posted at page 62 by jeesus123 (Entry 617)

@raymondw: you seem to be the first one to get the 1.0 running, could you please share your image?
[Touch Diamond, MDA Compact IV ROM Development] marios96:
First of all, since this is my first post in this thread, a BIG thanks to everyone that contributes in the project.

I just want to mention something, that I am sure some will find interresting.

There is an open discussion in Android Community, if G1 support multitouch or not. Specifically, a user in this video demonstrates the existence of multitouch by using the upper task bar in android. I can't be more specific, but if you see the video you will understand.

What is interesting though, is that I get (as most of you will get) the same reaction on my TP. Don't know if that means anything, but it's something for you to try untill the project is finished!

EDIT: Actually, I do know what that means... Android uses the touchscreen a lot different than WM... Windows Mobile seems sooo old...:(
[Touch Diamond, MDA Compact IV ROM Development] willyy1991:
This is not multi touch, my diamond does this too in the programs tab ;)
[Touch Diamond, MDA Compact IV ROM Development] mytrinity:
Touchscreen of G1 is other type

Note that G1 as not the same type of touchscreen as most HTC phones have.

So it is possible that the Diamond will not support multitouch as the G1 does.
[Touch Diamond, MDA Compact IV ROM Development] rvbcrs:
I'm sorry, but that is NOT multitouch, you see how the touchscreen forgets it previous position when you touch another finger somewhere else.. Nope.. this is no multitouch..
[Touch Diamond, MDA Compact IV ROM Development] marios96:
I really really doubt it... Multitouch support exists only in Capacitive screens. Both TP and Diamond have resistive...

PLEASE KEEP IN MIND THAT I NEVER IMPLIED THAT TP OR DIAMOND HAVE MULTITOUCH!
[Touch Diamond, MDA Compact IV ROM Development] geh:
yes, the mousepad of my laptop react like that too.
[Touch Diamond, MDA Compact IV ROM Development] quark1980:
yup, defenitly NOt multitouch, the video demostrating is the fact the screen middles out the input, in effect getting a valeu that lies between the fingers...

sure you can touch it more then one spot, but the value reading is just one value..

typical resistive touchscreen behaviour...

dont get ure hopes up pplz.. guys demostrating this sort of stuff and then claiming it much be multitouch, just because THEY cannot explain the behaviour is just utter nonsense...
[Touch Diamond, MDA Compact IV ROM Development] geh:
Now, I'm here to find a solution for my current problem.

I've tried to boot Android on my Diamond, but I totally messed up the screen calibration process. I was unable to use the onscreen keyboard, and had to remove the battery to reinitialize my phone.

Since then, I cannot execute any non signed program (putty, total commander, ...) : when I try to launch one, I got a complain about non signed file or missing component.

To find a solution, I googled a little, and posted here too :

http://xdaforums.com/showthread.php?p=2844228#post2844228

But I didn't find a solution.

Someone has an idea ?
[Touch Diamond, MDA Compact IV ROM Development] geh:
Will code for food !

Just a joke. I will be happy to get rid of this crappy WM6. Do you have some links to useful pages/people, I can help with some C/Linux skills.
[Touch Diamond, MDA Compact IV ROM Development] sazinas:
Well as far as I know these guys: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux

need some help porting android...:D
[Touch Diamond, MDA Compact IV ROM Development] geh:
Thanks, for sure it's a good start. I downloaded the .exe there.

But I did not find any contact link on this page !
[Touch Diamond, MDA Compact IV ROM Development] sazinas:
Hmm, why don't u try contacting NetRipper and druidu.

(with apologies to both if they didn't want to be disturbed...)
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
I think it clearly reads we can be found on #htc-linux on irc.freenode.org ;)