yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
I just tried your system-zenmagic.sqsh dated October 19th. Didn't boot with that one. I'll try your v2 build now.
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
whats it doing?
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Whenever I try any of the Hero builds on Raph (110) it gets to the blank black screen and sits there forever... have waited about 20 minutes. Tried v2 with the Diamond rootfs you just posted as well, and the startup settings you suggested for the Diamond user.

The screen is partially backlit and front panel is responsive to touch

Just FYI
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
so can you guys do that resolution mddi.width=320 mddi.height=480 lcd.density=160 in your startup.txt.? and are there any errors that come up at boot? how about running logcat through adb to see if android is running.
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Resolution works well in 1.5, no errors that I can eyeball on hero boot but I'm not running logcat... Does that require a Linux shell running?
[Touch Diamond, MDA Compact IV ROM Development] jooprzol:
SMS Config?

Has anyone on the at&t network been able to send a text message? What needed to be changed to do so?
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
i don't know how it works for the diamond but for my vogue i use adb from the android sdk in a linux terminal. whats the best running cupcake/1.5 build for the diamond including all files needed to boot?
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
I didn't see any errors when I booted into your v2 build. This time, the keypad acts like it should and lights up in response to touch (the first version forced the keypad on as soon when it came to the blank screen). I've just left it for 5 mins, but it hasn't booted yet.

For Android 1.5: I think the package that runs best is the 09/09/09 package from Connect-UTB.

For Android 1.6: I haven't tried Connect-UTB's bundle, but I'm guessing that's the most stable and the fastest.
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
You mean from your pc through a data cable, right? Or from your device?
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
usb connected to the computer.
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Actually I've had the best luck with vilords ion 1.5 build (Oct 10th), dzo's rootfs posted here on the board Oct 13th or 14th and the latest glemsom zimage.

For 1.6, the new build works good but data freezes/restarts the device. I've stuck with 1.5
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
have a link to that rootfs.img? also that 1.6 build is mine we had to modify the ril to work with donut so thats prob why it isn't working for you guys. i looked at the package for it at connect-utb and it's still using the donut ril for vogue.
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Here's the rootfs that he posted. I would try the logcat approach if I had a miniusb handy...
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
cool i'll look at it. your using this with vilords ion? and can run the resolution i stated a couple posts back? i'll take a look at that rootfs.img and see whats needed to run hero.
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Running ion and hero resolution right now... Data works, landscape/keyboard works, pretty smooth although not as nice as your 1.6 :)
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
ok i uploaded a new version of the rootfs at vogue-android. it's hero only it won't boot any other versions of android.
[Touch Diamond, MDA Compact IV ROM Development] H3x:
Awesomeness! Which build should I use with this? system-zenmagic-102309.sqsh you posted over at vogue-hero? Or am I totally amiss?
[Touch Diamond, MDA Compact IV ROM Development] herpez:
Hi. In connect last diam package, what should we do to make wifi working?

Thanks

EDIT - figured out.
[Touch Diamond, MDA Compact IV ROM Development] SparcoNL:
who is willing to post the actual WORKING WIFI android .

all the file's that you have on diamond.

My diamond runs android perfectly ( the version from utb )

But i have no gprs ( 3g ) and no wifi. So i'm not able to go online what so ever. I have an 3g provider.

And i realy realy want to go online with android. Go to marketplace, try the browrser, and do more testing.

Who WITH a working wifi and gprs (3g) want to post the file's they have on their internal memory

Greetz from a Dutch ( holland ) tester

ps. DIAM100
[Touch Diamond, MDA Compact IV ROM Development] nGm@ze:
Hi guys

I have been redirected to this thread from the Raphael Android thread "http://xdaforums.com/showthread.php?t=577736&page=4" and got told that theres tutorial on how to install Hero android build(Sense UI+Android) in here, would anybody guide me to the right place please:o? Thanks in advance.

nGm@ze
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
you can try the zenmagic v2 with the rootfs.img i uploaded at vogue android. i booted hero with it on the vogue but its using the diamond ion init.rc modified to run hero.
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
Great work! Are there any other required things to use with this? I've tried it with the latest donut build (build-update_donut-1.6_a2dp.7z) with the new rootfs and zenmagicv2, but the build got to the black screen and stayed there for about 20 mins - I gave up after that.
[Touch Diamond, MDA Compact IV ROM Development] H3x:
Whoever told you that was smoking something.

With lead in it.

And got dropped as a baby.

On the head.

Just kidding... but there is definitely no "tutorial". We are literally just getting to TRYING to run a sense/Hero build on the Diamond. If you want to help us, here's what you need to do:

1) Get a Linux kernel image, the latest one has wi-fi and bluetooth drivers packaged with it as well. Note that the kernel is still very much under-construction. Data connections are shaky, and SOME people are getting wi-fi/bluetooth to work.

2) Get 'n Hero/Sense Android build to run ON linux. None have been tested so far, but I'm going to try the zenmagic v2 taiwan magic sense ui build. You could try that one or maybe test another one listed at vogue-hero (look for uploads that are listed as "SenseUI", "Image" in the type column) so that we can get through testing different combo's quicker.

3) You'll also need a device-specific footfs.img like the one zenulator has just posted.

4) Download all the files and then extract/copy all of these files to the ROOT of the Internal Storage of you Diamond.

5) Now edit the startup.txt (in Int Storage root) file or use this one from glemsom (overwrite the startup.txt in your Int Storage). Note that for Hero/Sense certain variables have to be set accordingly (mddi.width=320 mddi.height=480 lcd.density=160).

6) Navigate to your Int Storage ROOT and run Haret.exe

(I think I've covered everything; anyone else please feel free to correct me)

This HAS NOT been tested AT ALL so there's no saying if it will work. You needn't worry about damaging your phone, though, as no files are being written to flash and no permanent changes being made. If the boot fails, just soft reset your phone.
[Touch Diamond, MDA Compact IV ROM Development] H3x:
No joy using kernel "zImage pack with addtional drivers" from Connect-utb, zenmagic v2 and rootfs-diamond-hero.img.

Loads Android then blank screen with (SLOW) flashing promt (underscore) top left.
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
well from what dzo says the diamond doesnt scale the display. so until that can happen sense ui builds wont boot. it needs to be implimented in kernel. this is most likely why you have a black screen.

if someone could post some logcat output i could be sure this is the case because surfaceflinger will be crashing.
[Touch Diamond, MDA Compact IV ROM Development] herpez:
Hi. I tried this package

http://www.connect-utb.com/index.ph...=file&Itemid=68&id=47:android-for-htc-diamond (20091027)

with a calibration file i made with other package.

However, it boots and hangs on the initial lock screen (press menu to unlock) and never unlocks (i tried not only the regular unlock combination but also many other). I have a DIAM100

Anyone can recommend me a good package please?

Thanks
[Touch Diamond, MDA Compact IV ROM Development] H3x:
I'm no Linux expert, but I'll attempt to get a logcat output. If I'm correct I need to download the SDK and the USB driver, boot Android, connect phone to PC via USB and then run ADB shell and issues a the command "logcat". Is this correct? Any parameters I should add to the logcat command? Sorry for being such an uber linux n00b.
[Touch Diamond, MDA Compact IV ROM Development] H3x:
Are you pressing the Menu button? Sometimes my DPAD buttons (incl. menu) don't work. Make sure the back lights are lighting when you swipe over/press a DPAD button. If not, try booting again (make sure you execute a DPAD button press before running haret).
[Touch Diamond, MDA Compact IV ROM Development] nGm@ze:
Do i do the same for Raphael? Because im using a Raphael device not Diamond.
[Touch Diamond, MDA Compact IV ROM Development] H3x:
Will try getting an output. Insofar display scaling goes - there's definitely a change in element size when I change lcd.density... not sure about whether changing the virtual/scaled display (mddi) actually does anything so dzo may be right
[Touch Diamond, MDA Compact IV ROM Development] H3x:
As far as I know you'd only need to change the startup.txt contents. I've only been using Diam100 so not sure what Raph parameters are. Try searching this thread for a Raph user's startup.txt

However, I should warn you that Hero still isn't working. You'll probably be able to get the standard UI running (codenamed "Rosie") as far as I know, but there are some pretty good Hero-esque theme available for that
[Touch Diamond, MDA Compact IV ROM Development] rpgman:
I try the 4 system files with this rootfs, screen stay black and sometime a "-" or "_" in the top left corner (when i change the system file i let the same rootfs that i copied)

I wish a surprise ^^
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
well then thats the key to getting hero/sense ui on your diamonds. htc pretty much locked in that 480*320 resolution@lcd.density=160 for sense ui. tattoo is different and might run at your native resolution but htc also scaled all the png's for the tattoo sense ui for qgva so even if you got it up and running it would look out of proportion because it's made for 320x240@lcd.density=120.

thats all i can do for now. i'm not a kernel developer and i don't even know if it's possible to implement display scaling on your hardware.
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
I don't really know much about linux at all, but couldn't the kernel be compiled with the sprint hero's code to get this to work? Also, I'll try to get that logcat data for you.

Thanks for all the work you put in, even though you don't have the diamond.
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
read my post above. i'm not sure what the sprint hero resolution is but the sprint hero port is locked away in depreciated at vogue-hero and the rootfs i posted won't work with it on the diamond. it uses a custom init.rc that gets pulled from the system image and is meant for vogue/kaiser. i could give it one last try for the diamond tomorrow or later tonight if you want. your best bet is when the hero goes to android 2.0 then resolution shouldn't matter.
[Touch Diamond, MDA Compact IV ROM Development] herpez:
Thanks!!

I will try and give feedback
[Touch Diamond, MDA Compact IV ROM Development] rpgman:
After these testing, when i put back my rootfs and system (i renamed them before testing), i reboot under Android, i loose the hardware button and i noticed that wifi was ON i wait a little and see the notification that i have a new mail ^^ but not harware button :p :) i'll reboot

I want to share another thing, today i was testing the "Kisja_SUN_Y_6_1_TF3D_2_5_BETA_3_WWE" rom before going back to BSB 6.5.1D.

Under the Kisja rom i used MyPhone and thinking it would be great if i do something like that for Android, so i search a little and found Google Sync i uncheck E-mail and made a sync :p and it works ^^

I check in my gmail account on laptop and see my contacts, only some info are wrong (like notes for door entrance code) but almots everything else in place.

I put a new unused android on the root of the SD card, i connect Wifi, setup gmail account and it sync and i've got all my contacts with pictures in place in Android :p

Google sync is in beta stage so beware.

Data connection and battery normal and i'd like to have a rom with it ^^

For info, it'seem that Android's battery take the charge only when i start it pluged in usb, if i connect after : no reaction :p and always the warning of being under 15%
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Hi guys a fellow member has PM a moderator to pass this thread onto a more active member and has requested me as a candidate. Hopefully I'll will be updating and posting links and FAQs for all specific version of Diamond's and Raphael's so that new users to android will have some clue of the porting development and status. :)

This will keep this thread a bit cleaner and will make this thread a lot more productive.

Hoping to work with other followers of this thread and get android working for everyone.

It is however for me exam period, so i'd like to not lurk these forums than study but i still do from time to time. So I wont be on so much lately, but i do finish soon on the 11th and then i'll come strong back into the scene.

On another note, I'd like to say that my builds are using many peoples hard work and time and I would like to thank and give credit to.

-Zenulator - for his Donut images and basefiles

-Glemsom for his zImage kernels and squashfs autobuilds

-dzo for all his work on functionality and getting Android working

-phhusson & leobaillard - wifi, bluetooth and headset

-Untouchable for his builds and compassion on getting android running and support on connect-utb
[Touch Diamond, MDA Compact IV ROM Development] slovoflud:
Oh, that's great news!
[Touch Diamond, MDA Compact IV ROM Development] chaelli:
@klinux: nope.. it doesn't .. stays freezed until I soft reset... anyways.. I'll wait for a new package.. maybe I've got more luck then ;)
[Touch Diamond, MDA Compact IV ROM Development] sorrowt:
hello guys,

I have 3 questions:

1. when in android I connect the USB to the PC, nothing happens! no new device! how to enable it?

2. is USB charging working?

3. what is status of power management? sleep working?

thanks
[Touch Diamond, MDA Compact IV ROM Development] betacheer:
Wifi....

I seen how-to run wifi. So i tried to turn on BT and Wlan on WM and than boot to android and turn on wifi in android several times but wifi dont start and dont create "calibration"? What i AM doing wrong...
[Touch Diamond, MDA Compact IV ROM Development] kholk:
The USB to PC connection doesn't work even for me. I've tried only using Windows 7, but I think that using Linux will be the same because Windows doesn't find any device, it's like a not connected cable, so... I think that the necessary modules aren't implemented yet in our Linux kernel compiled for MSM.

USB charging works with some glemsom's zImages.

The zImages that works are the ones that won't include the WiFi & BT modules, at least for me.

As for the APM, uh, that's funny... on my DIAM300 it works only at first boot. If I reboot, starting from second boot of android, it reboots at resume from sleep.

I'm not sure of that, but some DIAM100 users have reported that APM is fully working.

P.S.: I'd like to help this project, but for some reasons (never happened on my machines!), the Linux kernel boots, but when starting X my system freezes!

It happened when I swapped my mainboard with an AMD 790X chipset mainboard... even trying to do a clean install with an updated kernel and VESA compatibility drivers will freeze all...

I've got a Phenom9850BE @ 3.6GHz, so I can compile a Linux kernel in a few seconds... If someone can help me, please PM! ;)
[Touch Diamond, MDA Compact IV ROM Development] littlej:
i'm facing the same problem with bt and wifi, can any one share a calibration file or ? i dont understand how to create it...
[Touch Diamond, MDA Compact IV ROM Development] 9600xt:
you can create it installing an old version with the wi-fi support, i can share my calibration file with you, but i do not know if will work...

anyway it is there...

http://rapidshare.com/files/300846415/calibration.html
[Touch Diamond, MDA Compact IV ROM Development] BobLC:
Littlej, betacheer, you have to use an older release for the creation of the calibration file.

I have used this one babijoee-wifi.7z.

- remove all previously installed files;

- extract all the archive in the root of the internal storage;

- modify the startup.txt according to your device;

- start haret and wait android boots;

- start the wifi. Stop playing with this release as soon as the calibration file is created in the internal storage root;

- remove all previously installed files, except the calibration file;

- install the newest release (I use this one from GlemSom special-diamond-raphael-wifi-bluetooth/)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
If someones can gives feedback, it would be appreciated. calibration files are meant, by TI, to be device dependant, but maybe devices aren't that different and this might work. If it does it will make wifi easier to setup.
[Touch Diamond, MDA Compact IV ROM Development] flymanj:
I tried to download it but it is not possible because there is an error message that the file can be downloaded just 10 times.:(
[Touch Diamond, MDA Compact IV ROM Development] Tamille:
sorry, maybe thats a stupid question.

I'm not the technically expert in things like that.

I got my andorid on my touch diamond running.

but now there is comung up "enter pin code" and i dont have a keyboard on screen and cause of my diamond i dont have a hardware keyboard.

how can i continue with android on my phone?

sry for my bad english
[Touch Diamond, MDA Compact IV ROM Development] whistler-nl:
Turn off the pincode in windows mobile. Thats the only way to get around it for now. :)
[Touch Diamond, MDA Compact IV ROM Development] sorrowt:
And here is the confirmation...

I copied the files to the root of the card, enabled BT in Android then enabled Wifi and it works... :) iam using the latest build with the BT wifi drivers
[Touch Diamond, MDA Compact IV ROM Development] Tamille:
Okay, thx for that fast reply!

ill try it

Edit: it's now working. Thanx a lot!
[Touch Diamond, MDA Compact IV ROM Development] toastcfh:
can u mirror the file? im getting the download limit error. says it can only be downloaded 10 times
[Touch Diamond, MDA Compact IV ROM Development] 9600xt:
sorry for the download limit, i did not know thet rapidshare will have this type of limit.....

here is a new mirror:

http://www.mediafire.com/file/gjz21z0mzhj/calibration
[Touch Diamond, MDA Compact IV ROM Development] klinux:
test calibration ok

u know u can do easier ! see attachments

u have just to extract it in the root of the sdcard

by the way it's working
[Touch Diamond, MDA Compact IV ROM Development] klinux:
can u please give more details which diamnd u have what u did and where it freezes exactly may be we can help u
[Touch Diamond, MDA Compact IV ROM Development] klinux:
howto use adb usb connexion over windows

for those who want to test command lines over usb throw windows pcs i'll try to explain howto (fell free to correct me if I miss something :D):

download android sdk 1.6 extract it somewheere in preference in root of ur hard drive

add ~\tools pathname to variables path of windows

connect ur diamond under winmo and run haret windows detect msm usb when kernel boots ignore drive installation at this stage

when android boots it's detected again as usb composite and msm usb install the driver located at androsdk\usb driver

now u r reaady to use it

fire comand line under windows and tap adb shell

tap bash

u have a remote shell to android I assume that u know how to use it ;)
[Touch Diamond, MDA Compact IV ROM Development] klinux:
@kholk

to install linux on u r pc u can do it over virtualbox as a virtual machine I tnink that is should works under windows 7

hope it'll help

cheers
[Touch Diamond, MDA Compact IV ROM Development] Dun74:
Hi, I did the same : using the provided calibration file. Wifi is starting, network discovery is working, WEP key ok. But Dhcp failed.

DhcpHandler : DHCP request failed : timed out waiting for dhcpd to start.

Using adb shell, and launching dhcpcd wlan0 i receive :

dhcpcd wlan0
wlan0: dhcpcd 4.0.1 starting
wlan0: host does not support a monotonic clock - timing can skew
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: timed out

Any idea ?

BR

Dun

EDIT : I did almost the same sorry.. I did not notice I had to start the bluetooth before. NOW it is connected. BUT is still can use the wifi. As if the routes were not defined. I tried to diagnose using adb shell but the root is ok, the dns seems to be configured..
[Touch Diamond, MDA Compact IV ROM Development] rayman18:
the calibration file works well for me :)

but i have set in the wifi options the ip, the gateway and the DNS
[Touch Diamond, MDA Compact IV ROM Development] mssmison:
DDMS which is included in the sdk tools is a very powerful tool for working with android. It can help you figure out what's causing android not to boot, what's causing force closes etc.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
android sometime kills dhcpcd way too soon (because wpa_supplicant says disconnect before connection...), i've two (dirty.) ways to "fix" it, fixed ip address, or

while true;do setprop dhcp.wlan0.result ok;done

this will make android think dhcp successed so he will maybe not kill dhcpcd (it will still half of the times, but the other half works ...).

I haven't got better ideas yet :/
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
Interesting...

I have my own calibration file - which seems to work fine.

I've tried phh's calibration file - which seems to work fine as well.

(I should point out, I have a diam100 phone)

Though, the two files are NOT the same.

I hexdump'ed the two files - here's the diff:

diff -Naur calibration.phh.hex calibration.glemsom.hex
--- calibration.phh.hex	2009-11-01 18:37:17.000000000 +0100
+++ calibration.glemsom.hex	2009-11-01 18:37:27.000000000 +0100
@@ -1,18 +1,18 @@
0000000 1102 0656 061c 1601 0360 0107 5609 0012
-0000010 0000 0d01 4056 0000 0200 546d 431f 418a
+0000010 0000 0d01 4056 0000 0200 546d fa17 4194
0000020 0018 0000 1501 a458 0000 0100 5631 0201
0000030 0000 3501 0456 13d1 0000 0000 0000 0000
0000040 0010 0062 0064 0076 00ae 00d4 012a 0133
0000050 0135 014b 020d 023f 025b 026d 0279 02a3
0000060 02ae 0000 1001 0000 0000 0000 0000 0000
-0000070 0000 0000 0000 021b 0000 003e 007b 00b7
-0000080 00cb 00e1 00f9 0000 003c 0078 00b4 00f0
+0000070 0000 0000 0000 021b 0000 003e 007b 00b5
+0000080 00c9 00de 00f7 0000 003c 0078 00b4 00f0
0000090 0000 003c 0078 00b4 00f0 0000 003c 0078
00000a0 00b4 00f0 0000 003c 0078 00b4 00f0 0409
00000b0 1044 0000 1045 0000 0000 0000 0000 0000
00000c0 0000 0000 0000 0000 0000 0000 0000 0000
-00000d0 0000 0000 0e06 0108 0044 0024 0478 005a
-00000e0 06b0 098a 00a0 003c 0024 04ca 0050 06c7
+00000d0 0000 0000 0e06 0108 004f 0024 0478 0078
+00000e0 06bf 098a 00a0 003c 0024 04ca 0050 06c7
00000f0 1360 00d0 003c 0024 04ca 0050 06c7 148c
0000100 0108 003c 0024 04ca 0050 06c7 15b8 0108
0000110 003c 0024 04ca 0050 06c7 1644 00b5 0052
@@ -24,7 +24,7 @@
0000180 0f0f 0000 0f0f 0000 0f00 0000 0f00 0000
0000190 0f00 0000 0f00 0000 0f00 0000 0f00 0000
*
-00001c0 7ddc 2a54 0305 6d00 0f00 0000 0f00 0000
+00001c0 d288 a159 0305 6d00 0f00 0000 0f00 0000
00001d0 0f00 0000 0f00 0000 0f00 0000 0f00 0000
*
0000210 3000 0001 0000 0000 0000 0000 0000 0000