yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] MrPippy:
Early WiFi steps on DIAM500

Using a slightly hacked kernel (to use DIAM100-style SD controller behavior when mtype=2040), I've compiled the TI WLAN module (from the Android sources) and successfully loaded it on my DIAM500:

<6>[ 263.658962] TIWLAN: Driver loading
<4>[ 263.666378] trout_wifi_power: 1
<4>[ 263.682186] trout_pwrsink_set:STUB!
<4>[ 263.806453] trout_wifi_reset: 0
<4>[ 263.871547] trout_wifi_set_carddetect: 1
<7>[ 263.878353] mmc0: card_present 1
<6>[ 263.893276] mmc0: Slot status change detected (0 -> 1)
<4>[ 263.911159] pc_clk_enable: FIXME! enabling a clock that doesn't have an ena bit or ns-only offset: 20
<4>[ 263.932003] trout_pwrsink_set:STUB!
<4>[ 263.949764] trout_pwrsink_set:STUB!
<4>[ 263.967495] trout_pwrsink_set:STUB!
<3>[ 263.984859] mmc0: Command timeout
<4>[ 263.997524] mmc0: card claims to support voltages below the defined range. These will be ignored.
<4>[ 264.017727] mmc0: SDIO card claims to support the incompletely defined 'low voltage range'. This will be ignored.
<4>[ 264.038692] trout_pwrsink_set:STUB!
<4>[ 264.047634] trout_pwrsink_set:STUB!
<7>[ 264.063503] clock-wince: pc_clk_set_rate: id=19 rate=11000000
<7>[ 264.084194] clock-wince: set mdns: 19, 11000000; bitidx=7, offset=a4, ns=0
<7>[ 264.104732] clock-wince: set_mdns_host_clock: 19, freq=7372800
<4>[ 264.117611] trout_pwrsink_set:STUB!
<4>[ 264.126796] trout_pwrsink_set:STUB!
<6>[ 264.133876] mmc0: new SDIO card at address 0001
<6>[ 264.151821] TIWLAN: Found SDIO controller (vendor 0x104c, device 0x9066)
<6>[ 264.174038] TIWLAN: Driver initialized (rc 0)
<4>[ 264.197322] TIWLAN: 1251 PG 1.2
<6>[ 264.213222] TIWLAN: Driver loaded
<6>[ 265.190303] mmc0: Command expiry misfire

Now I need to find binaries of the userland utilities (wlan_loader) to try loading the firmware in

UPDATE: Using wlan_loader, tiwlan.ini, and Fw1251r1c.bin from a Kaiser rootfs, I tried loading firmware, with no result:

# ./wlan_loader -e /proc/calibration -i tiwlan.ini -f Fw1251r1c.bin
===IPC_DeviceIoControl('tiwlan0', cmd=2242612 (SET), data=0x40001008 (0), size=202421, sizeRet = 0x0(ffffffff))
===== send_ioctl: socket=4, cmd=35312, &req=0xbefe3bdc
===== send_ioctl: req={name='tiwlan0', sub_cmd=2242612, size=202421 (max=4), data=0x40001008
Printing memory dump:
TI_CU:0xbefe3bdc: 74 69 77 6c 61 6e 30 00 00 00 00 00 00 00 00 00
TI_CU:0xbefe3bec: 34 38 22 00 02 00 00 00 b5 16 03 00 08 10 00 40

And wlan_loader just hangs there. I'm going to look next at what changes the Kaiser guys have made to get their wifi working.

Also, the biggest hurdle so far was figuring out how to mount /proc when in single-user mode. Busybox's 'mount' won't do it and gives this error:

# mount -t proc proc /proc
ioctl LOOP_SET_FD failed: Bad file number

I had to statically compile a C file containing mount("proc", "/proc", "proc", 0, NULL) and run it on the device to mount proc.
[Touch Diamond, MDA Compact IV ROM Development] brushbailey:
Is there any way to donate to the development? I may not be able to contribute code, but if contributing money will help I am more than ready to donate.
[Touch Diamond, MDA Compact IV ROM Development] jaymit:
hi everyone, ive done a search and cant find an answer to my question - why are the diamond android port files organised differently to those of other ports (e.g. kaiser has all the files directly in the root of internal storage, whereas diamond has different but similar files names arranged in folders within a tmp folder)?
[Touch Diamond, MDA Compact IV ROM Development] :
Hey bro, you should visit the IRC chat #htc-linux on Freenode, and talk to tmtz,cr2, tuxhero and the other members, i think you have the necessary skill's to help the team port android to our devices, anyways nice to hear that someone besides the developers team is trying to get the hardware on our devices working, anyways good luck my friend.
[Touch Diamond, MDA Compact IV ROM Development] strilus:
HTC Diamond Touch DIAM100

Hi

Ive downloaded the builds from http://www.connect-utb.com and installed on my HTC Diamond Touch DIAM100. The only build Ive managed to run was the first DIAM500 with the default.txt settings from the other builds. When Android starts I need to unlock my sim. But when I type my correct pin code it claims its the wrong pincode. Also the shut down button doesnt work. Ive managed to get the shutdown button and when I confirme the shytdown command the OS freezes.

Any one have an idea about what can be wrong?
[Touch Diamond, MDA Compact IV ROM Development] Erik_PLD:
The problem that you have is that you didn't read anything of the other posts and obviously nothing of the first one.

A part of this, you should disable the pin code request first in winmo, then android will run ok.

This is explained in all the pages of the thread and almost nobody reads...
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
just wondering any new changes/breakthroughs or features implemented yet?:confused:
[Touch Diamond, MDA Compact IV ROM Development] c4software:
I don't know if its can be helpfull but HTC have release some parts of kernel of Magic/Magic and ADP1

You can find file here :

http://developer.htc.com/
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
For anyone who doesnt know, The android port coders are back at it :D

Check out the git also linked on first post for details

http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.27

Hopefully we'll see a new build soon and dare i say audio support?

fingers crossed :D
[Touch Diamond, MDA Compact IV ROM Development] silwer:
I have installed and Android for Diamond, a few conclusions:

- very easy installation but is not final, after restart go back to WM

- many applications do not go, but I guess it still works in

- I expect move better than WM because it is a Linux, but gave me the feeling that moves more difficult

- the design looks good, especially that of a near complete control keys on the application.

If you have questions, wait.
[Touch Diamond, MDA Compact IV ROM Development] mbg19:
Is anyone working on the port for the Touch PRO??
[Touch Diamond, MDA Compact IV ROM Development] c4software:
The HTC Touch Pro is The HTC Raphael.
[Touch Diamond, MDA Compact IV ROM Development] dzo:
I've just got a diamond and managed to get the audio working. It's still very preliminary and may not work for you but if you want to try it, do the following:

go here: http://code.google.com/p/vogue-android/downloads/list

and get initrd-01-09-09.gz, rootfs-01-09-09.img, haret.exe and system-2009-08-08.img

from here: http://cs-alb-pc3.massey.ac.nz/vogue/files/ get zImage-diamond and default-diamond.txt

rename them to initrd.gz, rootfs.img, system.img, zImage and default.txt and copy them all to the root of your Internal Storage (can't be in a folder or anywhere else)

Run haret.exe on the phone from the file manager and click run.

This is still very experimental but it's getting there, thanks to everybody who's been working on this.

Phone audio and the GPU also work on this kernel.

Major things that still need fixing are:

panel power on/off

power collapse
[Touch Diamond, MDA Compact IV ROM Development] imfloflo:
Nice to see you here too dzo.

How many different device have you got running android now :p
[Touch Diamond, MDA Compact IV ROM Development] c4software:
Nice to see you here dzo, i currently downloading all file needed. i will test it.
[Touch Diamond, MDA Compact IV ROM Development] c4software:
- First boot ok. but android have freeze after 1 i don't know why.

- Second boot again. system freeze.

But before the system hang up i have seen the vibrator seems working too.

My radio rom is : 1.08.25.08
[Touch Diamond, MDA Compact IV ROM Development] ftdm.mav:
Good to see some progress again ;)

Good work
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
crash on touch pro raph100 ... never pas harret loading screen :-(
[Touch Diamond, MDA Compact IV ROM Development] gurkmacka:
I've got this thing running but when it starts it says that my sim is locked and i have to press menu to unlock but i don't see any menu button i've clicked everywhere but nothing happens.

I know that prevoius posts says that you need to disable the pin code function i wm before starting android but on connect-utb i didn't say anything about that so i thought it might work anyway.

So do i have to disable the pin code function in wm before starting android or am i just doing some newbie mistake ?

And how do i check if i have a diam500 or a diam100 ?
[Touch Diamond, MDA Compact IV ROM Development] druidu:
Crashes after android begins to load. Also crashes with my own zImage, I'm suspecting this Android setup tries to enable certain services that don't work yet, maybe gprs?

[ 46.410461] SMD: ch 0 CLOSING -> OPENING
[ 46.417022] SMD: ch 0 OPENING -> OPENED
[ 46.711120] ARM9 has CRASHED
[ 46.717315] smem: DIAG ''
[ 58.929748] msm_proc_comm_wince: DEX cmd timed out. status=0x0, A2Mcntr=7, M2Acntr=6

@c4software: I modified the g1 vibrator driver to work with diamond/raphael, so Android knows how to use it now
[Touch Diamond, MDA Compact IV ROM Development] :
Its working on my raph110, going to be testing stuff out and reporting whats functioning and what not.
[Touch Diamond, MDA Compact IV ROM Development] c4software:
@druidu on my device the Setup has working but now if i start android the system works correctly less than a minute, and its hang.
[Touch Diamond, MDA Compact IV ROM Development] asticinzano:
It seems more stable to me when I disable 3G. I can call and hear audio but microphone is not working yet.

Nevertheless a huge success.

Diamond 300 here...
[Touch Diamond, MDA Compact IV ROM Development] :
On my raph110 audio dosnt seem to work and also the system is freezing and after it frezees it crashes, and most of the aplicattions are force closing, also when i try to execute the open GL test in the api demos android goes completely black and i have to reboot.
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
good work dzo :eek:

this is a step forward now. Hoping connect-utb will make a beta build for raph soon :rolleyes:

audio and GPU is what i've been waiting to test :p
[Touch Diamond, MDA Compact IV ROM Development] karlanal:
at last we are getting somewhere

too bad it crasher after a minute or two, but still a huge step in the right direction

great work guys

thx
[Touch Diamond, MDA Compact IV ROM Development] ice8lue:
I can't agree to the crash you are talking about, it's running quite nice for me, following the instructions from above. I'm missing a lot of messages and it can't be re-activated after being sent to standby by pushing the end-call-button, but all in all it works, starting with no crash from the beginning.

I'm currently uploading my files
[Touch Diamond, MDA Compact IV ROM Development] :
I manage to run all the opengl test on the api demos folder, still the sound is no go.
[Touch Diamond, MDA Compact IV ROM Development] ice8lue:
agree, no sound
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Can you try running neocore and see what kind of results you get? Also i noticed your also on the fpsece forums :D cant wait for its release tooooooooooo
[Touch Diamond, MDA Compact IV ROM Development] :
Confirming power off is working, the power off secunce actually turn's off the device, it dosnt crash like the older build's.
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
The build doesnt work for me :( raph100

Did you put the files on the main storage or sd card rafyvitto:confused:
[Touch Diamond, MDA Compact IV ROM Development] :
I put all my files on the root of my storage card, and it boots perfectly, hope you can get it working, good luck :)
[Touch Diamond, MDA Compact IV ROM Development] dzo:
I just updated the diamond zImage and default.txt here:

http:/cs-alb-pc3.massey.ac.nz/vogue/files/

Audio should have more chance of working now but it's still not ideal.

The panel powers off and on, but it's still using lots of power with the panel off so not really usable yet.
[Touch Diamond, MDA Compact IV ROM Development] c4software:
Hi have test your new version, right now so the new resolution seems better to use Android every day on the diamond.

But, on my diamond the sound still missing, and the system always hang after a minute.

Edit :

I have try to put my diamond in sleep on android, the screen gone dark but after i can't awake it.

And nice work dzo ;)

After investigate, i have maybe found the reason of the system hang, the system hang when the system try to read my Internal Storage (but i'm not sure)
[Touch Diamond, MDA Compact IV ROM Development] ice8lue:
sound IS working now, gives me beeps on some actions.

screen re-activation is still not working. keys are working but the screen stays off.

camera gives me pink flimmerings
[Touch Diamond, MDA Compact IV ROM Development] :
Still no sound with the new zimage, but awasome work dzo, best of luck for ya.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
i move everything to root on card, change:

set ramsize 0x6000000

set ramaddr 0x10000000

set mtype 1910

to raph100 settings in default.txt and try to boot.

result is:

mounting /dev/block/loop0 on /data failed: invalid argument

Failed to mount /data

/#

I assume that problem is in mounting /root structure but keyboard is dead so i cannot try to do it manually.

Before that error message i can see mmcblk0: p1 message so card and partition is detected.

Thanks for help

Matus
[Touch Diamond, MDA Compact IV ROM Development] c4software:
I maybe found a solution for the sytem crash.

- Before start Android, put your phone in flight mode.

- Start Android, Android should be switch on your radio.

And for the moment no system freeze. But if you receive on call, your System will hang up.

But in my case i don't have any sound...
[Touch Diamond, MDA Compact IV ROM Development] jobarjo:
I followed dzo instructions and could boot and get the nice gui.

I don't think I had the sound on my diam 100

But the biggest problem is to get the wifi working. It says can't activate wifi.

Android without internet access is not the same...

Is there any people working on the wifi access?

It also freezed when I tried to make a call.

Keep up the good work!
[Touch Diamond, MDA Compact IV ROM Development] TaC:
DZO, i'm really happy to see you in here. Now i'm sure we will get android in Diamond soon. :)
[Touch Diamond, MDA Compact IV ROM Development] TaC:
ok, i tried it.

Sound works. I call myself with another phone and i can hear the ring and the voice, but it seems the other phone can not hear me. Touch screen works perfect, but i have the "no wake up" problem.

Thanks for your work.
[Touch Diamond, MDA Compact IV ROM Development] c4software:
@tac, in my case the sound doesn't work, the phone hang up when i receive a call...

What is your Radio rom ?
[Touch Diamond, MDA Compact IV ROM Development] TaC:
Last one original from HTC, radio and ROM. Spanish.

BTW, i can use the music app to play songs from my internal storage. :)
[Touch Diamond, MDA Compact IV ROM Development] dzo:
I just put another kernel in the same place, this might work better for audio.

zImage-diamond-03-09-09

To switch the panel on, press menu (the home button) a few times.

This one has more free memory.
[Touch Diamond, MDA Compact IV ROM Development] TaC:
I just uploaded the pack i'm using. Put all files in the root of internal storage and run haret.

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

It doesn't include the last kernel from dzo (posted a few seconds ago... :D)
[Touch Diamond, MDA Compact IV ROM Development] c4software:
I have try it, but the screen awak a few second and it gone dark, like a screen problem.

But, i have sound on Android, System bip, media player, etc...
[Touch Diamond, MDA Compact IV ROM Development] crakoucas:
the last image from dzo works on my diamond 100, i can hear sound in media player but when i give a call i can hear the other person but he can't hear me so the microphone doesn't works.

Good work ..
[Touch Diamond, MDA Compact IV ROM Development] irusul:
Hope to see new build for Diamond 100.
[Touch Diamond, MDA Compact IV ROM Development] rayman18:
I have try zImage-diamond-03-09-09 on my DIAM100 and sound works fine, but when puss the off call buton the screen gets black and cant return. The battery sensors works fine.....im really happy :)

i hope soon a android based rom for diamond.

Thanks to all that make this possible
[Touch Diamond, MDA Compact IV ROM Development] kosmodisk:
please, could someone reupload latest kernel from dzo? link is dead :)
[Touch Diamond, MDA Compact IV ROM Development] :
Heres the link, hey guys anyone having a white screen after hitting "run" on haret?? this is happening with the latest dzo zimage.
[Touch Diamond, MDA Compact IV ROM Development] rayman18:
Try this package of Tac with the latest image of dzo:

;)
[Touch Diamond, MDA Compact IV ROM Development] :
Its not the build its the zimage that im having problems with, if i used the zimage-diamond it boots ok.
[Touch Diamond, MDA Compact IV ROM Development] rayman18:
Ok, so sorry ;)
[Touch Diamond, MDA Compact IV ROM Development] kosmodisk:
hi, i followed dzo's instructions and android boots great, it seems to be very fast but i have serious problem, pda completely freezes after cca 1-2 minutes

does anyone else have this bug?

btw it finaly starts looking usable, and there's very nice interface

edit: read previous posts... hope there will be new version soon :-)
[Touch Diamond, MDA Compact IV ROM Development] :
Update: Sound is working on my raph110, incall audio/mp3's/ringtones , omg this is so exiting LOL.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
Can you show your default.txt file ? Do you have all files in root in storage card or in internal memory ? My raph100 is still showing some unable to mount loop error message :-(

thanks

Matus
[Touch Diamond, MDA Compact IV ROM Development] :
All my files are in the root of my storage card, do this and it will boot, hope it help mate good luck.
[Touch Diamond, MDA Compact IV ROM Development] herpez:
Hi,

I have a diam100 and i downloaded this pack:

"I just uploaded the pack i'm using. Put all files in the root of internal storage and run haret.

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

It doesn't include the last kernel from dzo (posted a few seconds ago... ) "

and i replaced the file zImage in the pack with this zImage-diamond-03-09-09 (in http://cs-alb-pc3.massey.ac.nz/vogue/files/?C=M;O=D). I renamed zImage-diamond-03-09-09 to zImage.

However it doesnt boot, it hangs on the loading with several errors in the CLI (i can't even see the GUI)

Am i doing something wrong?

Thanks
[Touch Diamond, MDA Compact IV ROM Development] pykoe:
You have to put all file in the root folder. It work for me:)
[Touch Diamond, MDA Compact IV ROM Development] herpez:
i put in /tmp

I will try.

Did you also replaced zImage from the pack with diamond-03-09-09 renamed to zImage?

EDIT - put the file in root and worked

:D
[Touch Diamond, MDA Compact IV ROM Development] pykoe:
yes, i did. The sound work well, put i dont know why, the sometime the screen get dark and then i have to reset.

Any suggestion...
[Touch Diamond, MDA Compact IV ROM Development] MGA2009:
Great work!! It's nice to see some advance!! Keep up the good work!!!

DIAM100 here.

Radio 1.09.23.25.

Android boots ok with the previous and last zimage.

With the last zimage sound works OK. The problem is that when screen goes off I can't recover it and i have to reset the phone.

If I make a call I can hear the other person but they can not hear me.

Best Regards.
[Touch Diamond, MDA Compact IV ROM Development] fliggygeek:
Random Requests etc

Ok, great to see stuff happening, i have a few requests:

1) can whoever is the owner of connect-utb update the builds and FAQ for things like pin codes? possibly even include a README.txt in eache build with some basic instructions.

2) can ppl check the androidonhtc.com site and verify the port status for me? I did all the stuff on there relating to the current build but im just going on whats been said here.

3) can ppl also keep updating androidonhtc.com to put links to the latest builds on it?

4) can the androidonhtc.com webmaster plz fix the permissions on the wiki?

5) i can set up a high-bandwith file server if you guys need it, fliggygeek@gmail.com if you want me to do it, ive got a co-located server in a Sydney, Australia Datacentre available to use.

6) can everyone new to the site PLEASE read the previous posts and FAQs before they ask what to do about things like PIN codes and failed boots

Otherwise its great to see whats happening here, good to see some extra expertise with dzo on board, and good luck.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
Are you doing any changes in default.txt ? Or you using one with diamond pack ?
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
ConnectUTB has already done FAQ for Android. You should thoroughly go through the site before asking such things. And most developers and people involved in updating sites etc are either on holidays or are just coming back into this project strong, so have a little patience :p
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
There currently is not a driver for the microphone input. Thats why the other person cannot hear you. But we now have audio which is a huge milestone and one step closer to abandoning wm;)

Edit: I have tried all and none seem to avail. I guess raph100 is too much diff than raph110. Hopefully we'll see a build for 100 soon

The latest i can go is see the green status bar reach the end and my device freezes :(
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
I im able to boot kernel, you have to change this values in default.txt to boot:

set ramsize 0x6000000

set ramaddr 0x10000000

set mtype 1910

but there is some problem with loopback device or mounting data partition - at least on my device ( raph100 too )
[Touch Diamond, MDA Compact IV ROM Development] kailashnj:
Hi Guys,

i installed android on my diamond and was able to boot sucessfully, everything seems to work fine. I could even receive a call, but only issue is that the microphone is still not working. Is there a workaround for the microphone to make it work.

Another issue is with Internet. I try to set the APN and able to save it too, but then it does not work. Any idea.

By the way, I loved the android GUI and was very much satisfied with the looks, hope to see a full workind version soon, with Wifi, bluetooth, voice and everything else working fine.

Regards,

Kailash
[Touch Diamond, MDA Compact IV ROM Development] Marcellus_pnz:
BTW, about setting the APN, as for me, i can't save it, when i hit save, it's just not apppearing in the list.

Is GPRS/EDGE/3G working for DIAM100? I can't find it out.
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
sound support is not done, microphone is not working yet, same as wifi, edge/gprs etc .. READ ty vole !!!
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Thanks it actually worked :D
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
so you can get to gui ?
[Touch Diamond, MDA Compact IV ROM Development] haaibaa2:
This is the default I use on a Vario IV (Raph500):

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=/ "

boot
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Nope i coudlnt get in to the GUI but its progress into the booting linux blackscreen and then it hangs there in prompt. ;) Hopefully someone will be able to shed some light on this
[Touch Diamond, MDA Compact IV ROM Development] haaibaa2:
Babijoe, try and use my default.txt. And don't use the latest z-image. The one from 02-09 should work.
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
hey it worked man ;) nice work haaibaa2 :D
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
not for me :-( i receive lot of IO errors during card accessing and then it die ...