yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] novakry:
Hmm just tried this, however once i run haret. the text scrolls across the screen, however I have no virtual keyboard to enter with. Looks like I got all the gremlins, lol.
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Have you tried using an older build? Also, please try to soft-reset your phone before launching haret
[Touch Diamond, MDA Compact IV ROM Development] sdt555:
I had problems with the file system not mounting on my Raph110. Turns out that my SD card did not have a valid partition type, so it was not being recognized by Android. I reformated to fat32, copied the files over again, and rebooted. Things worked after that. Found this a few pages back.

To get the keyboard to show during boot, removed "msmvkeyb_toggle=hide" from default.txt.

To reliably get the boot to work, you need to soft reset your phone, then run haret.exe.
[Touch Diamond, MDA Compact IV ROM Development] Tyr0:
hey all, i was just trying to get into the whole zImage thing. I've done programming before, but not like this. I was wondering if anybody knew how to set the opposite of the value of Y in this line,

unsigned int htc_fb_cur_x, htc_fb_cur_y;
[Touch Diamond, MDA Compact IV ROM Development] novakry:
Yep thats what I tried, and yep also do a soft reset before proceeding.
[Touch Diamond, MDA Compact IV ROM Development] novakry:
thanks for the tips, I'll give it a go :).

Well I never, even though I was able to mount my memory card with linux. Upon looking at the partition it said it was unallocated, so formatted the partition and up and running :D. thanks for the help :)
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Glad it finally worked out for you :)

Im working on a small utility that will make it even easier to get everything going, be up-to-date on the latest builds, as well as troubleshooting. Will have it out by tomorrow I reckon!
[Touch Diamond, MDA Compact IV ROM Development] novakry:
Excellent, glad that no one else will have to go through with what I did. Bit of a funny one, having no partition on the memory card when I was using it for tomtom, and photos etc.

I do love how smooth android is compared to winmo, whats the status on the next milestone?
[Touch Diamond, MDA Compact IV ROM Development] Hojlind:
android power wakeup

hey guys its great to see you are so far in getting android to run on diamond and raphael :) i have been following you since the start and now decided to try and boot android on my diamond but unfortunately it doesnt work. i couldnt find anyone else with this problem so therefore i decided to report it to you guys :) when i try to boot up android i get to the place where i have to enter "/init.android". i type that and android continues but then from here it just gives me this message

95.4670991] android power: wakeup <o->o> at 273836933593
<1970-01-01 00:04:59.004078369 UTC>

all numbers except <0->0> and 1970-01-01 00 varies from message to message. the messages keeps coming and it never gets further than these messages.

hope you guys can help and that i might found something you can use (certainly not i guess)

best regards

Hojlind
[Touch Diamond, MDA Compact IV ROM Development] Thion:
Hi folks ...

first of all I wanna thank you all for your great work ... Today I decided to htake a little tour on android and I got it booted ... but here it comes ...

the Vkeyboard leaves a messed screen, when pulled over it ... After pushing the Arrow Button on the right side causes a Hangup ...

now my question. I used the Diam100 build from UTB-Connect from 15. January ... Now ... after checking back my Phone I realized that I have got a DIAM300 Phone ... Now I ask myself which build would do fine ... at the moment I cannot try Android ... and I am wonderng if I use maybe a wrong build ... could anyone enlighten me? I didnt stumble over a hint in the FAQ or WIKI yet.

Seers!
[Touch Diamond, MDA Compact IV ROM Development] duuri:
hi,

keyboard works fine..response is little slow but works:) great job :D
[Touch Diamond, MDA Compact IV ROM Development] Riel:
DIAM100

Android_Diam100-20091501.zip

Booting

Hangs up at 21.7 trout_pwrsink_set:STUB!

four times, just hangs there, have to soft reset.

Changed msmsdcc_id to 3 now, boots further than before.
[Touch Diamond, MDA Compact IV ROM Development] sdt555:
I do find it funny also that the SD card works without a partition. I saw the same issue.
[Touch Diamond, MDA Compact IV ROM Development] hassanjanjua2002:
FOr the pwrsink stub problem i usually make sure the power is disconnected from the device, that it has been soft rebooted before clicking on haret, and then when it appears on the screen of ur cell just tap the screen a few times right after the four times it says pwrsink_stub. Not really a solution, but thats what got it to work on my sprint touch pro. BTW I still get the funky colors on mine and the new versions aren't calibrated for me what so ever. I think i'll have to do it my self. Is the sprint touch pro the raph800?
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Hi!

The problems you are experiencing You need to map the end-key in the "Spare Parts" app. There you can set the End key to bring you back to the home-screen. This will solve the problem with the right-arrow button :)
[Touch Diamond, MDA Compact IV ROM Development] adwinp:
On a DIAM100: I tried both Jobo's and Untouchable's latest builds, but can't seem to get past the prompt.

It fails while trying to mount mmcblk0 on /mmc

Well, /mmc exists and so does /dev/mmcblk0

Any clues?
[Touch Diamond, MDA Compact IV ROM Development] balsat:
Can you mount /dev/mmcblk0p1 on /mmc ?
[Touch Diamond, MDA Compact IV ROM Development] alchamist:
DIAM 100, Using Untouchab1e's build - booted perfectly first time, really responsive - well done guys! :)

I know there is a lot of work yet to do, but thought I would mention this as I think it might have something to do with the storage side, but I found I was unable to set the time/date - the dialogs show, but settings won't take for some reason.
[Touch Diamond, MDA Compact IV ROM Development] balsat:
The code for the hardware clock hasn't been coded yet, and it doesn't mess with the storage side!
[Touch Diamond, MDA Compact IV ROM Development] adwinp:
Tried mounting by hand, no go.

I also tried changing msmsdcc_id to 1,2,3 with the following errors:

2: invalid argument

1 & 3: no such device or address

even though the node exists, and so does the mount point.
[Touch Diamond, MDA Compact IV ROM Development] sdt555:
Can you mount your SD card in your computer and verify it has a partition table? Or just try reformatting on your computer. Seems the cards will work just fine without a known partition table.
[Touch Diamond, MDA Compact IV ROM Development] mdrobnak:
Maejrep, awesome work on the keyboard driver. Things have been crazy, haven't been able to stop on IRC.

I *did* get it to have a funny effect of a "stuck key" once, where even hitting other keys, sliding the keyboard back, hitting the keypad (like back, etc), nothing stopped the run away "h" lol. But at least it works at all, at this point!!

Next we need audio routing, and we have something that's somewhat usable... :-)

-Matt
[Touch Diamond, MDA Compact IV ROM Development] adwinp:
I've just formatted the 4Gb Internal Storage with SDFormatter a few days ago, so it should be okay.

Anyways, I'm able to mount it without any problem in my linux workstation.

# EDIT #

Another zImage fixed my problem. Though to boot into the "desktop environment", I need to be fresh after a handset cold boot.
[Touch Diamond, MDA Compact IV ROM Development] skero666:
Tried Android for HTC Touch Diamond Version: 20090115 on DIAM100, it boots until

mmcblk0: mmc0 : 0001 XEE0AM 3932160KiB

mmcblk0:

...and it freezes...any suggestions?
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
I feel sorry for asking, but since I've seen so many having the same problem:

Have you soft resetted the device before you booted up android?

Have you read through the FAQ's on the Wiki?

Good luck ;)
[Touch Diamond, MDA Compact IV ROM Development] skero666:
Ok...i finally got a feedback - on DIAM100 using Untouchab1e build - it boots, android starts, work's great, i managed to map end key to "go home", disabled screen turn off, i really like it, i din not pay much attention to this thread but now i get u guys :D, i was afraid to test this but after i seen it work on my phone i want to help...maybe just with the testing part.. :) i have a lot to learn about building/modifying and i don't know where to start... :)

Best of luck!!!
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Glad it worked out for you :)
[Touch Diamond, MDA Compact IV ROM Development] straylight:
"unable to open rtc device (rtc0)"

Ever since we have switched to android 1.0 I've been unable to boot into android despite my best lurking on the forums.

Im interested to learn what Verizon wireless TOUCH PRO success rates are. I believe its a RAPH800 model.

The error I get on a constant basis is "unable to open rtc device (rtc0)".
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
Start at the 'Build your own' section on the wiki. Once you can build from scratch, install and boot/run the part you want to modify, the next place to go is the 'useful links/research' section.

That message is normal. Everybody gets that one until we have a working RTC driver (at which point the clock in Android will indicate the correct time as well, even when you don't boot it at midnight ;)). It is a kernel message, not an android message. You get that whether you boot into android 1.0, 0.8 or any other root fs.

The powersink stub message is also normal.

Here are some more messages that are normal and do not indicate trouble, or at least not the kind of trouble that would prevent you from booting. (This dmesg/logcat is from last week, and a bit outdated. Now that we have the keypad driver and proc-comm-wince, there are even more messages.)

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] foh1981:
Heads up: When browsing the Wuala site for latest builds, the link to "20090119 - jobo" in the Diamond category at this page http://www.wuala.com/Linux+and+Andr...roid+1.0/Builds/latest+Builds/Diamond?lang=en links to a Raphael build (I'm assuming from the r100 in the zImage name).

I didn't notice the "r100" at first and booted this build which resulted in a lot of error messages flashing by, as people also has mentioned earlier in the thread.
[Touch Diamond, MDA Compact IV ROM Development] frysee:
fixed ;)

greetz
[Touch Diamond, MDA Compact IV ROM Development] c4software:
[Remove Please]
[Touch Diamond, MDA Compact IV ROM Development] TheLord-Akira:
how many devs are working on androidport?

i count only jobo and balsat!

but this thread has got over 1800 posts !!!

lol?
[Touch Diamond, MDA Compact IV ROM Development] jamesd256:
What is a dev? To be fair, you have missed out a whole load of people who have contributed and made breakthroughs, so you must have missed a lot of posts.

Maybe you missed them because there are so many posts from people that don't contribute anything to the thread, but instead ask funny questions.

By the way, I've never seen 'lol' used as a question, so 10/10 for novelty.
[Touch Diamond, MDA Compact IV ROM Development] TheLord-Akira:
dev like developer

I didnt miss them. i posted only those two, making big steps in porting android to diam/raph. (there are also a few other people, made breakthroughts)

jop

lol? ;)
[Touch Diamond, MDA Compact IV ROM Development] balsat:
If you look at #htc-linux on freenode you will see a lot of people working on the kernel.. i'm not one of those people, i just test and compile the kernel.
[Touch Diamond, MDA Compact IV ROM Development] jotae1e:
Connecting by Telnet

I am finding a way to connect by telnet to a D100 using Windows, but when I start the kernel running Haret, Windows detects a MSM Device and I have no drivers. Is there any information about this driver or is not posible to connect to the terminal using Windows.

I tried using Ubuntu Linux and it works. I am interested in using Windows XP.

Sorry for my bad english.
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
If you only count jobo and balsat, the you havent looked very closely!

You have NetRipper, Dccordes, Maejrep, cr2, tmzt, me (to some extent anyhow), to name a few in addition to the ones you have already mentioned! So you dont need to worry about the number of people working on getting Android working on your phone!
[Touch Diamond, MDA Compact IV ROM Development] TheLord-Akira:
i am not worried about the number of people working on the port. i am worried about people are asking questions witch were answered in the wiki or a few posts above.:(
[Touch Diamond, MDA Compact IV ROM Development] balsat:
Windows XP and not Linux... why why why???

You shall have RNDIS installed on your windows xp

http://www.microsoft.com/whdc/device/network/ndis/rmndis.mspx
[Touch Diamond, MDA Compact IV ROM Development] sandmen:
Get android finished

Hi,

i have compiled android (cupcake) and the kernel also.

Now i have some question.

- how can i bring the android's user and system image to a ext2 image?

- is the size 64MB important?

- i want to create a new or modify the existing initrd. How can i do that ?

thanks
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
After you compile android, the contents of the system and userdata images are in the system/ and data/ directories inside ./out/target/product/generic/

The system image may be a bit smaller than 64M but there is about 50M of stuff on it. the data image needs to be big enough to hold the dalvik cache that gets cerated on 1st boot. (I guess 10 or 15M would just about do?)

To unpack a gzipped cpio initrd:

cat ../orig-initrd | gunzip | sudo cpio -imd

To pack a directory tree into an initrd:

sudo find . | sudo cpio -o -H newc | gzip -9 > ../your-initrd

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] Fayoumi:
If I press the right key to pop um the virtual kayboard it crashes. (black screen with some white stripes) :confused:
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Uhm... I answered the exact same problem a page or two back! Map the end key to the home screen in the spare apps program :) Then both the end key and the right navi key works fine
[Touch Diamond, MDA Compact IV ROM Development] c4software:
No Any idea when the new DiamXXX build is available?
[Touch Diamond, MDA Compact IV ROM Development] Bakuryu91:
hello,

i found something interesting about DIAM and RAPH's keyboard : the buttons below the screens works in a particular maneer.

actually, there are only five buttons for all functions : one for "up", one for "down" one for "enter" and the two others are like validation buttons: you select the function by touching the capacitive surface and when you press it does the action of the icon you touched !

try this to figure out what i mean : with the stylus, press the Home button. It does nothing. Now put your finger on "call" and press home with the stylus : the call function is activated because you selected it with your finger. the same for "left".

sorry for my poor english, i can re-explain in French or in English if you guys dont understand !
[Touch Diamond, MDA Compact IV ROM Development] cielorosso:
This looks awesome and very promising indeed :) Thanks to every one spending hours and hours to make this work. I hope to be running android on my RAPH100 someday.

I tried the 20090119 build for the RAPH100, and the hardware keyboard works except for "y"-button. It may be because i have the scandinavian version, but every other button is mapped correctly.
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
That was already figured out. The problem is to understand the protocol that controller of capacitive surface uses to talk with the bus.
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
You have to understand that the new builds come out when significant progress has been made. There is no telling when this will happen! ;)
[Touch Diamond, MDA Compact IV ROM Development] Kevbodian:
When you say soft reset, is a regular power-cycle ok? Reg turn off and back on?

I used your rom (...image) last week or so; worked great but at first pressing the little green stub next to the vb did nothing, and then i clicked it again and I got a checkerboard background with a grey box bouncing around slowly (like an old directx test).
[Touch Diamond, MDA Compact IV ROM Development] jotae1e:
Windows or Linux, that is the question. We can write a lot of pages about this theme, but isn't important. Windows is in my office, in my house, in the 90

% of workstations, etc ... And Linux only in the servers than I mantain, in my house and in two or three workstations.

Y read the link that you posted, but RNDIS driver is included in ActiveSync. And in the page of the link there is a file about the structure than the drivers would have, but this driver exists?

Sorry but my english is no enougth good.

Yesterday I was connected to #htc-linux on free node and the level that you have are awesome. I can not understant a lot of things than you posted in the logs about the kernel, but I think that I am a good administrator of debian systems. I can help you in a future, I think.

Thanks a lot for your job.
[Touch Diamond, MDA Compact IV ROM Development] jamesd256:
Sounds like you have launched the camera test app.
[Touch Diamond, MDA Compact IV ROM Development] schildirulez:
Android HTC G2

Don't know if you already now, but the next Android based G2 shall be released in the next couple of months.

Without a keyboard but a 3.2 megapixel camera.

Here are two pictures
[Touch Diamond, MDA Compact IV ROM Development] dipje:
well hinting at a possible (not true) G2 leak or anything has little to do with getting a running android build on the diamond and raphael, now has it?

so a bit offtopic: those pictures are incorrectly called 'G2'. It are shots of what _seems_ to be HTC's next android phone, but it probably won't be a 'G2' because that's a T-Mobile brand name.
[Touch Diamond, MDA Compact IV ROM Development] sandmen:
@touch of jobo and all other ;-)

Sorry, my question was not exactly question.

I mean how can i create ext2 images from my compiled cupcake?

my system.img is 44,4MB and userdate is 2.1KB

Thank's
[Touch Diamond, MDA Compact IV ROM Development] balsat:
"dd if=/dev/zero of=system.img bs=1024 count=65535" makes a image

"mkfs.ext2 system.img" makes a ext2 filesytem on it .

mount -t ext2 system.img /your/mount/point

cp your files to /yorur/mount/point

umount /yorur/mount/point
[Touch Diamond, MDA Compact IV ROM Development] sandmen:
@balsat

thanks
[Touch Diamond, MDA Compact IV ROM Development] oaa8:
I have american RAPH110 (Fuze) and noticed this Y-issue as well
[Touch Diamond, MDA Compact IV ROM Development] kemathon:
Phone function on the built

Hi,

I haven't kept up with the forum in awhile. Read at Wiki page that GPRS/EDGE/3G/HSUPA + Voice Routing is still not working. How are we doing on this step?
[Touch Diamond, MDA Compact IV ROM Development] hassanjanjua2002:
Touch Pro

Wait so has anyone been able to get a calibrated sprint or any(alltel, att,etc) touch pro working without the colors being all messed up?
[Touch Diamond, MDA Compact IV ROM Development] skero666:
OFF-TOPIC: I think this wonderful thread has to be a "sticky" :D
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Progress is being made, but right now we are moving to a 2.6.27. Just know that many people are working hard and while no new builds have been released the last couple of days, progress is indeed being made! ;)
[Touch Diamond, MDA Compact IV ROM Development] c4software:
I can't imagine the lot of work to change the kernel.

I've juste a question, You made driver directly in C ?

PS: In future version, Would it be possible to create a folder "sdcard" on the "/"?
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
navi

That is correct.

This has been figured out. Maejrep did the hard work on the keyboard driver, and I used his research to bang together a driver that uses the gpios as well as the touch pad to determine where you press which button. (It is still in early stage but it kind of works..)

Right now I don't yet decipher every bit from the touch pad, only the position on the left pad, the position on the right pad, and the position on the scroll ring. I can map all keys to what you would think, but I can't get the scroll ring to do anything useful (or fun . like zooming in browser/gallery or jog/shuttle in music). If I map it to the X or Y axis, it has the same effect as the up/down/left/right buttons, and android does not seem to listen to WHEEL or HWHEEL.

Does the G1 have any hardware scroll wheel or other control that can be used to zoom or shuttle?

That was a tYpo.. thanks.

-Jobo

Kernel with navipad driver, Y fixed. Qwerty keyboard mapped for Raph100, 'Home' button mapped to 'Menu' because 'Home' didn't do anything (for me), 'End' already goes 'Home', and 'Menu' is nice to have. Scroll ring mapped to REL_Y because you can then at least use it a little bit..
[Touch Diamond, MDA Compact IV ROM Development] sandmen:
@balsat

The step's to create a ext2.img is ?

After compiling the android cupcake i have 3 img files.

1.ramdisk.img

2.system.img

3.userdata.img

i think, i didn't know :-), all files below the "system-folder" in generic is included in system.img?

What is in userdata?

Thanks
[Touch Diamond, MDA Compact IV ROM Development] touch of jobo:
The steps balsat explained are to make an ext2 image: The dd line makes the file. The mkfs like creates the file system, the mount line mounts it so that you can copy stuff onto it. Don't forget to umount it afterwards.

The userdata and system images are yaffs2 images, their contents are also in the system (and possibly data) folders underneath ./out/target/product/generic. The ramdisk image is a gzipped cpio archive. You can unpack and recreate it using the cpio commands I wrote earlier. Its contents is also in ./out/target/product/generic/root/

-Jobo
[Touch Diamond, MDA Compact IV ROM Development] NoBody20013:
hi,

has android a phone-keypad too? i like it more because oof the

bigger buttons. the buttons from the normal android onscreen keyboard

are ok, but a little bit to small for big hands....
[Touch Diamond, MDA Compact IV ROM Development] foh1981:
Is the Raphael and Diamond pretty much the same phone/hardware except the obvious external differences (like hw keyb, buttons, camera or stuff like that)? Same chipset/mobo (whatever it's called in a cell phone :) )?

Also I'm curious what the move from 2.6.25 to 2.6.27 will result in. And why not 2.6.28? New kernels have a lot of new drivers of course, but I'm guessing that doesn't apply in this case? Is there any specific recent ARM-related commits to the kernel that are of benefit to this project? :)
[Touch Diamond, MDA Compact IV ROM Development] skiwithpete:
I prefer the phone keypad too, but understand that the devs are still a long way from getting a fully working, stable platform, and for now details like the phonekeypad T9 entry are still on the distant horizon.

P
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Awesome new zImage Jobo, Im uploading a new package to Connect-UTB now! :) Keep up the great work!
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
The on-screen keyboard you currently have is from the Cupcake update. If Google decides to throw in a T9-version of it is up to them, but I reckon someone will be able to develop something, especially when Cupcake gets "released" OTA. (When and if that happens).

An on-screen keyboard is still loads better than none (which is the case on current G1's out there right now)
[Touch Diamond, MDA Compact IV ROM Development] Wonko69:
i'm running the newest build from the thread for the DIAM100 and found out an interesting issue.

If you leave WIFI on connected while in win before running haret, the bootloader process will stop af the MMC0 step, but turning it off before running haret does not cause the stop.

I'm speculating that the error somehow is related to an autodetect process, or something.