yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
which touchpro version do you have

eg: raph100, raph110, raph500?

Also haaibaa2 which can i use to turn off onscreen keyboard? Also the screen touch calibration is out of whack.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
raph100

i will try to buy a new sdhc card, i have some cheap ADATA 4gb card, maybe this is a a problem ...
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Ok this is my guide on to getting it working on raph100 :) with 2gb memstick. Will try it on my 16gb and provide results.

1. Download this pack provided by TaC

http://www.megaupload.com/?d=O7Q39LOZ

2. Extract all contents and place in the root of your SD.

(Note i formatted my memstick to make it a fresh clean install)

3. Open the existing default.txt and completely erase everything within it and copy and paste this code and save

Thanks haaibaa2

set ramsize 0x6000000

set ramaddr 0x10000000

set mtype 1910

set KERNEL zImage

set initrd initrd.gz

set cmdline "root=/dev/ram0 init=/ console=tty0 mem=76M msmsdcc_id=3 zmgdevname=/dev/mmcblk0p1 imgdevnum=1 imgdir=/ msmts_calib=0x7a.0x5e.0x35a.0x37f msmvkeyb_toggle=hide"

boot

4. Run haret and it should be good. and post your results :D

(It should take awhile first time booting this up. Took me 2 mins. Subsequent boots are definantly faster.)

Results so far: on 2gb stick

Sound is working :D

Vibration is working :D

Camera shows weird graphics :confused:

16gb results:

VIDEO: my raph100 touchpro running music app

http://www.youtube.com/watch?v=alVZzLDSIWY
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
there is no link in point 3 :)

edit: im taking back, it is already fixed :) testing ...
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
so i did it exactly

Raph100, 4gb ATA SDHC:

ext2fs_check_if_mount: No such file or directory while determining whetever /dev/block/loop2 is mounted.

then

cleaning up

switching to rootfs

rootfs loaded

GSM phone found

ext2fs_check_if_mount: No such file or directory while determining whetever /dev/block/loop0 is mounted.

e2fsck: Superblock invalid trying backup blocks

e2fsck: bad magic number in super-block while trying to open /dev/block/loop0

then some bla bla

then:

mount: mounting /dev/block/loop0 in /data failed: invalid agument

failed

failed to mount /data

/bin/sh: cant access tty: job control turned off

note: card is reformated ...
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
How long do you leave it in the booting screen?

Usually i leave it for 5 mins. A way to check if android is actually working is your capacitive screens will light up during the booting process. If they start to lock and dont light it, i usually take that as the device freezing.

Have any builds from connect-utb worked in the past for you? and which build?
[Touch Diamond, MDA Compact IV ROM Development] TaC:
The pack was mine, but never mind... :p
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
i leave it for 10 minutes ... it is still sitting with job control turned off message ... device is not frozen, it is responding to keybord press ( saying warning bus was busy all the time when im touching hw buttons ) ...

last working build from connect-utb working for me was from february ...

for me it look like init script was unable to mount that /data partition so it die ... and b/c hw keyboard is not working im not able to check it manually from console ...
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
My apologies TaC:(

I edited my post and thanks for being nice instead of getting mad. Work should always be accreddited to those who actually contributed so my bad. :o
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Try freeing up some free space on your phone memory. That might help. Otherwise turn your phone into airplane mode and see what happens from there.

Also i'm not sure if this really affects android and how it boots, but which ROM OS are you running? custom or stock?

"it is still sitting with job control turned off message"

Is that under the Android title thingy in boot sequence if it is then you are where you're meant to be.

After that it usually loads into android and should show the first setup page which was interesting.

VIDEO: this is my raph100 touchpro running the music app in android

http://www.youtube.com/watch?v=alVZzLDSIWY
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
I have a suggestion to discuss:

moving the cursor by the sensor wheel often deals many mistakes and wrong selections when using d-pad as usual. Maybe, it's better to disable sensor wheel support in future kernel builds or use it in another way, but not for up and down keys?
[Touch Diamond, MDA Compact IV ROM Development] haaibaa2:
Touchscreen calibration is also off for me. I use the 'ring' to navigate through Android. Also, the HaRet keyboard is somewhat in the way.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
i try to clean memory, airplane mode, no help, but i found out that small virtual keyboard is working, so i was able to type commands.

Whole booting process end in console, i was able to mount /dev/block/mmcblk0p1 ( storage card ) into /tmp folder, i can see all files on card including system, rootfs etc, but without real keyboard i can't really do anything, that small virtual keyboard is for nothing, badly aligned so it took me 5 minutes to type few commands and my fingers are in pain :-)

Does anyone know where should be card mounted, if -t loop is working in mount and where exactly should i mount /data and how to make boot process to continue from that place ?

thanks
[Touch Diamond, MDA Compact IV ROM Development] Erik_PLD:
It just works perfectly on my diam100. Well, only the "not wake up" problem stills there... But playing music on android is superb! Good job guys!

One more time, congratulations for your hard work!
[Touch Diamond, MDA Compact IV ROM Development] haaibaa2:
I use this cmd= line in my default.txt now for my raph. And it seems the calibration is better, and also the keyboard is hidden by default, which I like better.

set cmdline "root=/dev/ram0 init=/ console=tty0 mem=76M msmsdcc_id=3 zmgdevname=/dev/mmcblk0p1 imgdevnum=1 imgdir=/ msmts_calib=0x6D.0x5D.0x340.0x375 msmvkeyb_toggle=hide "
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
hey haaibaa2 have you checked my previous posts? It mentions all the things that were missing. But glad you figured them out:D
[Touch Diamond, MDA Compact IV ROM Development] haaibaa2:
Sorry, no. I didn't check all the posts. Just playing with Android, and no time for anything else :D
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Really you shouldn't really typing anything into the command prompt. It should just work like many others have posted. It could just possibly be your SD card or rom. We'll never know until you get those things. But good luck in your en devour

Is anyone able to add more content to the SD card? I've added heaps of songs and pictures but android doesnt resfresh or search for them. All i can see is the files i put on on the second time i booting into android...
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
its working :-)

card was bad ... with 8gb emgeton it is working fine ...

strange is that that 4gb ADATA is working ok with windows mobile and in my notebook ... thanks for help boys and to all developers good work !!!
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
good to hear bxmatus :D

Enjoy audio and vibrating goodness on your raph
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
yeah, i will, right now i need gprs/3g support to be completly happy and then good bye wm :) yeah and little stability will be usefull too but it is just a matter of time ... so far it was working ok ...
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
dont forget microphone support :p
[Touch Diamond, MDA Compact IV ROM Development] principedisavoia:
help

can someone help me, i follows the istruction step by step but does'nt work. do you have a file rar wich all the file i can download?

thank's
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
i dont need a phone :) for me is htc for 99% mobile access to the internet

principedisavoia: what phone are you using ?
[Touch Diamond, MDA Compact IV ROM Development] druidu:
You have a typo in there, you wrote zmgdevname.

@bxmatus: yes, mount works with -loop (but only if the initrd image creates the proper /dev/loopX devices). Here's the mount code I have (similar the one found in other images, but changed /mmc to /sdcard so that android can see the sdcard):

mknod /dev/loop0 b 7 0
mknod /dev/loop1 b 7 1
mknod /dev/loop2 b 7 2
mknod /dev/loop3 b 7 3
mknod ${imgdevname} b 179 ${imgdevnum}
mkdir /sdcard
chmod 0777 /sdcard
mount -t vfat ${imgdevname} /sdcard

mount -t ext2 -o loop /sdcard${imgdir}/system.e2img /system
mount -t ext2 -o loop /sdcard${imgdir}/data.e2img /data
mount -t ext2 -o loop /sdcard${imgdir}/cache.e2img /cache

All the ${foo} vars are replaced to values from the cmdline. If initrd image has usbnet enabled and runs a telnet/ssh daemon, you can try stuff much easier.

Note for everybody: you can get calibration data from here or you can delete the msmts_calib option from the command line, and you'll get to calibrate the touchscreen on boot using these steps (you may wanna do it when stuff is not scrolling on the console so you can write down the values):

1. Tap screen anywhere, you'll get the message: Calibration step 1: tap red dot in upper-left corner and two red dots

2. Tap screen in the upper-left corner of the red dot (inside the dot)

3. Tap screen in the bottom-right corner of the red dot (again, inside)

After each of steps 2 & 3 you'll get a message with the calculated calibration values (like msm_ts: maxx=aaaa miny=bbbb then minx=cccc maxy=dddd). For next time, you can put the correct option in the cmdline: msmts_calib=cccc.bbbb.aaaa.dddd (careful with the order: minx.miny.maxx.maxy).

Just remember that if you don't put the calibration option in the command line, first 3 taps after boot are for calibration -- if you get them wrong, touchscreen is unusable.
[Touch Diamond, MDA Compact IV ROM Development] karlanal:
android booting up nicely but if i play music

it starts reproducing, cant hear any sound and after 15 seconds it freezes

my diamond does that every time

every time exactly afetr 15 seconds, FREEZE

but great to see things are getting done

greetings
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Which device and type do you have?

Also has anyone notice GPU support?

I've tried the Opengles api but they dont seem to work

On my old official raph 21/6 builds they run. But they dont now
[Touch Diamond, MDA Compact IV ROM Development] druidu:
We're not that close to a production version. We have very little power management at the moment, it'll drain the battery really quickly. But we're getting there.
[Touch Diamond, MDA Compact IV ROM Development] principedisavoia:
help

htc diamond
[Touch Diamond, MDA Compact IV ROM Development] c4software:
Can you explain a little bit more ?
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
I've managed to connect to gprs/edge, but it's very unstable. After 5-10 seconds of using internet connection, phone disconnects from network.

It seems that it depends on the base station or signal strength or somewhat, maybe 3G makes it unstable.

UPD: Currently, I synchronized my contacts, gmail and even installed a pair of applications from market without interruptions of service! It's soooooo exciting!!!
[Touch Diamond, MDA Compact IV ROM Development] mhndk14:
not booting...

i tried all the instructions given but i get this error message and it stuck there

mmc1: new high speed MMC card at address 0001

mmcblk0: mmc1:0001 XEE0AM 3932160KiB

mmcblk0: p1 < p5 >

Running an fsck on the SD card

dosfsck 3.0.1, 23 Nov 2008, FAT32, LFN

Logical sector size is zero.

mount: mounting /dev/block/mmcblk0p1 on /sdcard faild: Invalid argument

Failed

Failed to mount the SD card. Cannot continue.

/bin/sh: can't access tty; job control turned off

/#

please help.

thanx in advanced.
[Touch Diamond, MDA Compact IV ROM Development] crakoucas:
how did you do that ?
[Touch Diamond, MDA Compact IV ROM Development] c4software:
@Marcellus_pnz Im curious what is the version of your radio rom ?
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
I don't know, first of all, in the first half of the day it refused to save my APN settings. When tried to do it at my university, it's just saved and appeared in the list.

I tried to open browser, it loaded the google homepage and then the signal disappeared. This situation happened every time i tried to do something, that required connection. But when I was back at home, I continued my attempts, and suddenly I got the stable internet! But only EDGE, not 3G.

1.15.25.14
[Touch Diamond, MDA Compact IV ROM Development] principedisavoia:
Ok now i found a all the file on htcmania and start but after few minute the system crash.

thank's for your help
[Touch Diamond, MDA Compact IV ROM Development] crakoucas:
I test with this rom radio on my diam100 and it don t works for me
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
yeah :-) i know that, im just happy that there is a hope at the end of the tunnel.
[Touch Diamond, MDA Compact IV ROM Development] liamhere:
just passing

glad to see things are moving forward

i wish you all the best with the project

good luck guys....

android is the way forward....my hero has proven this to me!
[Touch Diamond, MDA Compact IV ROM Development] :
Hey guys are you setup's still freezing?, sometimes i can use android for hours without freezing, but some other times i just boot and after it finishes booting 2 min into the UI it freeze up..o well i guess something's wrong in the kernel, something's trying to turn on when is not supposed to ><.
[Touch Diamond, MDA Compact IV ROM Development] gt500:
same with me, i have diam100 and it freezes like your too :mad:
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
yes, freezing ... right now im fighting with internet settings

for example disconnecting and connecting to phone network will kill my phone for 100% ...
[Touch Diamond, MDA Compact IV ROM Development] :
Ive been trying to save my APN setting's for more than an hour, they wont save lol
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
me too :) and no luck :-(
[Touch Diamond, MDA Compact IV ROM Development] dzo:
The reason that data doesn't work is that we're using a RIL (Radio Interface Library) designed for Vogue and Kaiser and there is something that must have changed for Daimond/Raph etc.. I don't have any time to fix this right now but if someone wants to look at it, the source is here:

http://github.com/vilord/android-htc-ril/tree/master

and it goes into this rootfs:

http://github.com/vilord/android-initrd/tree/master

You can replace it in a running system by remounting the rootfs as rw, copying the library to /lib and then killing rild.

Send me any patches you have to this code and I will push it (but try to make sure you don't break vogue/kaiser).

Thanks
[Touch Diamond, MDA Compact IV ROM Development] adewidt:
On my Diamond data was working fine. I was able to download and install some marketplace programs. Device was working for over 2 hours till I pressed the end call button. Even 3g data connection worked, but was less stable. I managed this with your zImage from 3rd September (and all other files you posted).

I only included ppp.username, ppp.password and ppp.apn in the default.txt and followed this tutorial http://www.androidonhtc.com/setup_data .

Great job so far ;)
[Touch Diamond, MDA Compact IV ROM Development] donald-c:
OMG, looks like so much more has been achieved in the short while since the devs came back :| Android is really awesome on my Diamond :D with working sound and the hardware button lights lighting up when they are touched... It's so much cooler lol.

Just noticed the screen doesn't turn back on when it goes off, oh well it's still really good :D
[Touch Diamond, MDA Compact IV ROM Development] mdrobnak:
On RAPH110: EnergyRom 3.0 WinMo ROM

Not sure of Radio Version.

Booted using Diamond Android.rar files, with the Raphael default.txt and the ppp.username and password settings for at&t.

First time, got sound without dialing out.

Tried to do APN settings, but didn't disable 3G, so no go.

Panel went off, so had to reboot.

Trying again.

-Matt
[Touch Diamond, MDA Compact IV ROM Development] mdrobnak:
Froze upon attempting a call.

No sound again.

APN wouldn't save (hit save and it disappeared, even though it was there, though without the MCC or MNC), though this time the carrier name came up, but not the MNC or MCC.

-Matt

Radio: 1.12.25.19, I think.
[Touch Diamond, MDA Compact IV ROM Development] :
Guys if your screen's go off, hit home twice and will turn back on.
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
For my when i leave my phone and the screen goes off, when i hit the home button the device turns back on and the capacitibe hw buttons light up but the screen lights up but only display black:(:confused:

Does anyone know how to enable hardware keyboard for this diamond build? Too hard using the onscreen small keyboard.

Thanks
[Touch Diamond, MDA Compact IV ROM Development] cr2:
CDMA diamond (and raphael) users: please keep in mind, that you are not expected to have

working sound :) yet.
[Touch Diamond, MDA Compact IV ROM Development] cr2:
You have a raph, and its LCD wakeup handling is completely fscked up.

Wait some time for it being fixed ;) Diamond is not much better, but it still works

by some magic spell :confused:
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Ah k. Thanks for the tip cr2 :)

Can anybody suggest any good android apps, mainly games?

Opps nvm. I'll find a thread for it.
[Touch Diamond, MDA Compact IV ROM Development] :
Can someone with a working data default.txt post it here, i can get the apn settings correctly into my default.txt ><
[Touch Diamond, MDA Compact IV ROM Development] adewidt:
This one is working for me

set RAMSIZE 0x08000000
set MTYPE 1805
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.username - The username used to connect to the network when dialing #777
# ppp.password - The password used to connect to the network when dialing #777
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 3, use 0 for best power savings
# board-htcvogue.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Hitachi 2=Topoly 3=Samsung
# mddi.width - width of the scaled display
# mddi.height - height of the scaled display (these should be multiples of 16 for the camera to work I think)
set cmdline "msmts_calib=115.105.863.911 msmvkeyb_toggle=off lcd.density=240 no_console_suspend ppp.apn=internet ppp.username=KPN ppp.password=gprs"
#set cmdline "no_console_suspend"
# fbcon=rotate:1
# console=ttyMSM0"
boot
[Touch Diamond, MDA Compact IV ROM Development] |Jason8|:
So I have a RAPH110 (Fuze).

I threw everything together, patched up a default.txt, and everything booted first try.

The problem? After it boots... pushing Menu (the home key) doesn't unlock it! So I can't go beyond where I am right now.

Something interesting though... at the lock screen, the LCD turns off completely. A push of the left panel keys turns the screen on again. I don't know if the phone is actually going into and coming out of standby, but it is rather interesting.
[Touch Diamond, MDA Compact IV ROM Development] MrPippy:
I'm pretty close to getting WiFi working--the driver now loads (thanks to patches from the Kaiser guys), I found out how to extract the calibration data from the MSM nvram (which I'll probably add to a wiki if I can), and wlan_loader successfully loads everything (although it takes a very long time--I need to bring the updated msm_sdcc over from the htc-vogue tree).

Right now, I'm figuring out how to get android to use it. Using my own generic build, Android resets when I check the box to turn on wifi. The last logcat message is:
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
I had the same problem with Menu buton but after i change calibration data to right one ( sugested on wiki page ) it start to work perfectly - btw after boot you have to wait like 20 - 30 second before it start to respond to keyboard.
[Touch Diamond, MDA Compact IV ROM Development] cr2:
The commit message says that it's a 2.6.27 backport. So, what is the real point ?
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
How did you get the keyboard working bxmatus?

Also does your screen rotate to landscape when you slide the keyboard open?
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
oh, i'm sorry, i didnt use right word, i mean hw keys start to respond/react - keyboard is dead all the time ...

btw i was playing with it yesterday for 2 hours and it didn't crash. Problem is so far network ( disconnecting and reconnecting

to gsm network is crashing in 50% ) and whole interface is little laggy so when i press too many buttons or too fast it freeze.
[Touch Diamond, MDA Compact IV ROM Development] wrsg:
hi, i found a cupcake rom for diam that works very well, makes calls, feels stable, solid, recent build date 3/09/09 (yesterday), i got it from a magaupload link, but if anyone wants it, i will upload it from home later, i am at work behind a stupid firewall now
[Touch Diamond, MDA Compact IV ROM Development] kailashnj:
Hi warsng,

It would be good if you can upload the cupcake that you have.

I am waiting for someone to develop the microphone driver and the day that is done, bye bye WM.

Regards,

Kailash
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
i thought that there is no ROM development for this project and only haret is used for booting android on HTC touchpro/diamond. Did i miss something ?
[Touch Diamond, MDA Compact IV ROM Development] H3x:
No you are not. People are just confusing their words.
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Haret is used to boot the linux kernal and thus we use android on top of that. Correct me if i'm wrong:p
[Touch Diamond, MDA Compact IV ROM Development] aniseto:
HTC Diamond DIAM100 Hangs

Hello Mates,

I'm just testing Android on my HTC Diamond DIAM100, this are my results:

Original Rom: BSBr WM 6.5

R: 1.09.25.23

G: 52.51.25.26H

D: 2 Bsb6.5 R

Testing: Android 1.5

Default.txt:

Testing with Zimage: 02/09/2009

Results: It boots ok, but in a few seconds it freezes on the Click Here Android Icon. No error message.

Testing with Zimage: 03/09/2009

Results: It boots ok, but in a few seconds it freezes on the same screen saying:

The applicacion Google Parner Setup ( process com.google.android.gogglepartnersetup) has stopped unexpectedly. Please Ty Again.

There is a "Force Close" button but it doesn't run, i have to do a Reset.
[Touch Diamond, MDA Compact IV ROM Development] Chatty:
So you don't need BT, WLAN, camera, ... I wonder why you bought that Diamond.
[Touch Diamond, MDA Compact IV ROM Development] fliggygeek:
boot loader news

I saw somewhere that the next release of android,donut, is apparentlygoing to be too big for the rom on the dream/magic. while this may seem unimportant now, the diamond has the same amount of rom memory as the magic. this means that if/when we build a rom,we need to work out how to boot from an external storage area.