yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] Tenny:
I did delete data.img, just dont think his zImage will work with it

here is my startup, same as you posted earlier

set RAMSIZE 0x08000000

Set ramaddr 0x10000000

set MTYPE 2040

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=0x81.0x393.0x358.0x7D msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=sprint ppp.username=username ppp.password=password no_console_suspend"

#set cmdline "no_console_suspend"

# fbcon=rotate:1

# console=ttyMSM0"

Boot

mkdir /proc

mkdir /sys

mount -t proc proc /proc

mount -t sysfs sysfs /sys

mount -t tmpfs tmpfs /dev

mdev -s

"ls -l /dev/mmc*"
[Touch Diamond, MDA Compact IV ROM Development] pauldgroot:
Here's a mirror to phhusson's latest build from this post.

Here's the link: Click me!

Good night.
[Touch Diamond, MDA Compact IV ROM Development] custommsp:
Is it me or has the screen resolution been reduced to the native android phone's in the latest babijoee's release?

Keep up the great work, everybody!

Thanks.
[Touch Diamond, MDA Compact IV ROM Development] suksanto:
Thanks for the great work !
[Touch Diamond, MDA Compact IV ROM Development] Homeryz:
Yes

I sure wish you would.

Homer
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
You can change it to default resolution by modifying mddi.width=480 mddi.height=640 and remove lcd.density.
[Touch Diamond, MDA Compact IV ROM Development] MrPippy:
Sorry I've been out of town for a few weeks, and haven't done any work lately on DIAM500. I'll get back on it next week, but until then, I'll attach my patchset and the tree I used it with.

This works with commit ccc405498e03e49bd4dd78f1cd00c0cfcd7a2b39

from Wed Sep 2 23:11:12 2009 +1200

description: Sleep for 10ms between ts reads.

The patch changes the SD controller behavior to work, disables rfkill (which caused problems with usbnet for some reason), disables the battery driver (which caused kernel panics), and enables smd_7500 on CDMA. Use this with mtype=2040, and it should be equivalent to the zImage I posted before. Next week I'll start back on this and try to bring in some of the newer changes.
[Touch Diamond, MDA Compact IV ROM Development] custommsp:
I actually prefer the 320 x 480. I'm assuming that's part of the reason it's that much smoother.
[Touch Diamond, MDA Compact IV ROM Development] PlackSlayer:
RAPH800 - any news with 1.6 on it? I have been playing with different zImages and whatnot and so far it picks up as a GSM phone and then says VOGUE later...

So confused.

Looking forward to 1.6, the potential is very there.

--PS
[Touch Diamond, MDA Compact IV ROM Development] eccles01:
DIAM 130 / Donut 1.6 Build

DIAM130, running Donut/1.6 build (Diamond kernel and startup.txt)

- Most notable issue is that on hanging up from some calls, the screen goes black and phone reboots.

- Success with charging, SMS, send/recv. calls.

- With no calls, stabile for hours.

- As per release notes, no gprs, crackly sound, hard-keys fail 2/3 boots (seems significantly worse when USB cable is plugged in).

Seems like testing and debugging is somewhat a bit of hit/miss amongst the community.

Are there a set of files, parameters and details that would help developers pinpoint what is causing a crash (or hang) ?
[Touch Diamond, MDA Compact IV ROM Development] toastcfh:
THANK GOD!!!!!!!!!! sorry for that... any how thank you mrpippy..
[Touch Diamond, MDA Compact IV ROM Development] ElCondor:
Yeah removing the data image worked. This is a very good pack (I mean from babijoe)

I like the wallpaper with the woman on the beach:p

Good work!
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
I have been trying to boot phussons new build for about 2 hours without avail. I decided to give up and use my normal day to day use microSD. So i gave it 1 last try and the build booted on first attempt. I had many errors from waiting for SD, job control errors. I think everyone should try builds on other microsd if avaliable then post if you are then still unable to boot. :)

Will post results soon. :D

So far wifi isnt loading

Bluetooth on the other hand is up and running.
[Touch Diamond, MDA Compact IV ROM Development] rl2000:
Hi

I just ran it on my Diamond, it works :)
[Touch Diamond, MDA Compact IV ROM Development] brainbubble:
@druidu: I tested on my diamond, works without problems so far....
[Touch Diamond, MDA Compact IV ROM Development] jeforce:
Work without problems on my Diamond , nice works.
[Touch Diamond, MDA Compact IV ROM Development] Pixel du Rezo:
I just copy the exe to my internal storage, and run it.

My WM OS is already running good after resetting the device...
[Touch Diamond, MDA Compact IV ROM Development] Addicteddddd:
gonna try it now as im really interested :D
[Touch Diamond, MDA Compact IV ROM Development] skiwithpete:
I'm at work, and can't play until tonight.

Please someone post a pic and a youtube vid.

Can't wait to see! Congrats!
[Touch Diamond, MDA Compact IV ROM Development] druidu:
It will just hijack windows and start Linux over it, everything goes back to normal once you reset. A Raphael version is coming very soon (NetRipper compiled one using my patches and his Raphael config).
[Touch Diamond, MDA Compact IV ROM Development] raymondw:
I tried the Diamond_Linux.exe and it "blanks" at "console handover: boot ......(something)"
[Touch Diamond, MDA Compact IV ROM Development] sibbor:
Wow, amazing work druid!! Nice to finally see some great progress. Have yet to test it on my Diamond though... USB cable is at home and I'm at work. Typical :X!
[Touch Diamond, MDA Compact IV ROM Development] druidu:
*Updated*: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux

You don't need an usb cable, just download the file on your device and run it :)

PS: check the above page for a Raphael version and pics.
[Touch Diamond, MDA Compact IV ROM Development] Thom4s:
if linux works would that mean that we coul install a very light window manager and install like any ligt desktop applicatin? the diamond has a 500mhz cpu with 128mb ram, i remember running fluxbox and firefox running on much wors hardware! or is this haedware not comparable? with 640.480 screen it would work great (if you have good glasses)
[Touch Diamond, MDA Compact IV ROM Development] sibbor:
We've no WiFi spot at work, so it's a bit difficult I must say. Just reminded myself that I've got BT on my laptop, so I'll transfer the file that way.

Hold on for test report.

EDIT: here's the test report:

It works out well on my Diamond too. Just like Pixel Du Ruzo and chemical1978 I get spammed with "gpio_keypad_scan_keys: unmapped key, 4-5 (31-37) changed to 1", but afterwards I can successfully calibrate the screen, and I can enter the console, typing commands with the onscreen keyboard. Too bad I don't have a camera working, but I draw a heart with "Tux" in it and then entered the "clear" command, and the console cleared (incl. my drawing).

NEAT!
[Touch Diamond, MDA Compact IV ROM Development] quark1980:
on my diamond i boots nicely into linux...

only sidenote is that when i insert my stylus at the time of booting the stylussensor is picked up as some key..

next step is android ;)
[Touch Diamond, MDA Compact IV ROM Development] chemical1979:
I second that. It boots and enters a telnet shell! First step, well done :-)

I'm excited!!

The gpio_keypad_scan_keys print loop occurs when you insert the stick back into the case (theres a magnetic switch in the diamond that registers whether the stick is present or not).

Hooray :-)
[Touch Diamond, MDA Compact IV ROM Development] TripleQ:
I confirm that the Raphaeal version which is on the Wiki is also working now :)

Looking great!

Was only looking for a minute too the red dots :) couldnt find it..haha
[Touch Diamond, MDA Compact IV ROM Development] mfauveau:
Working fine on my Diamond too. Way to go guys ! I'm looking forward to see Android running on it.

Keep up the good & amazing work and don't hesitate to ask for donations. I'd be more than happy to help you out.

Let's get rid of Windows Mobile !
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Great!

Any chance of loading 'any' GUI?

Like any of these universal-versions?

http://www.linuxtogo.org/~htcpxa/htcuniversal/index.html
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
We're not that far yet. Most important issue for that is that we can't use SD card yet and we cant make the initrd too large. Though, technically we might get a GUI already, as framebuffer is working.
[Touch Diamond, MDA Compact IV ROM Development] qetuR:
Well, if you think that you could run a windowmanager like xfce or something like that you're wrong. Since xfce and other windowmanagers are compiled for a totaly different architecture.
[Touch Diamond, MDA Compact IV ROM Development] keerttttt:
Very nice work, good to see that there's still much progress!

Works fine here on my diamond.
[Touch Diamond, MDA Compact IV ROM Development] |Jason8|:
Something interesting that I just discovered...

My capacitive panel keeps dying... but if I hold the end key, it comes back to life for a little bit. Response with the lights is very laggy and sporadic, too.

But wow. Holy **** is the SquashFS version FAST!
[Touch Diamond, MDA Compact IV ROM Development] c4software:
dzo, seems do not follow this thread anymore... since he got the polaris. Too bad i have send to him some informations to try to fix the panel suspend of Sharp Model. hmm
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
He said he'll be away for a week or so. So just sit tight guys ;)

I'm sure when he comes back there will be an explosion on functionality :eek:
[Touch Diamond, MDA Compact IV ROM Development] rattenfanger:
Certificate error in WM after running babijoeeDonut1.6pack

Hello all!

I'm using babijoeeDonut1.6pack and I'm very impressed by the speed! However, after running this build and returning to WM (:() I get a strange problem. Applications wont start as I get a certification error. Its exactly the same problem as described in http://xdaforums.com/showthread.php?t=389377 but with the difference that I can launch some applications (SPB Backups, thank god ;)).

First I thought it was not caused by running Android, but after I restored WM from a backup and started Android again, the same problem occurred when I got back to WM!

Is it possible that this build writes something to the internal storages en so crashes WM?

René
[Touch Diamond, MDA Compact IV ROM Development] rattenfanger:
I tried the 320x640 resolution and it ran as fast as 320x480! But I like the 320x480 resolution better because with that resolution I don't have to use a magnifier to look at the screen :P ;)
[Touch Diamond, MDA Compact IV ROM Development] HTCDiamond22:
latest with SenseUI when? :)
[Touch Diamond, MDA Compact IV ROM Development] dzo:
I am reading this thread but I've spent the past few days getting audio in and the camera working on kaiser/polaris. I'll probably take another look at diamond next week but it seems there are plenty of people doing diamond work now.

I looked at your panel traces and the Sharp panel code seems correct, i'm sure it's very close to working.
[Touch Diamond, MDA Compact IV ROM Development] chemical1979:
I removed all old files from my Internal Storage (DIAM300), extracted your files and started. The first time there was a MMC Timeout during creation of the 128M base system. Soft-Reset to Windows, I deleted the partially created data.img (44M).

Started haret again and it went straight into a kernel oops (enabled WiFI in WM before) with trace that floods the screen and I only could see "the end".

Would it be of help to make a picture of this?

EDIT: The Oops is a consequence of the MMC timeout. After about 1 Minute the kernel crashes every further minute.
[Touch Diamond, MDA Compact IV ROM Development] IceBone:
^^ I'd love to have phone wake up on the hero. That way I can let the screen time out without having to reset it. :P

Also, I found out something about the battery last night. I let the phone sit on my desk with the screen on and data connection established for more than an hour, the battery dropped to 75%, no fluctuations in the readout, but as soon as I picked it up and started an application, the readout dropped to 0%, forced a shutdown, then jumped back to 75%... :S
[Touch Diamond, MDA Compact IV ROM Development] c4software:
@dzo Thanks for the reply ;). I'm looking a bit inside the Panel code, but i really don't have skill to do this. I don't want to break my panel with a wrong Init code.
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
Will your wifi and bluetooth patches go upstream?
[Touch Diamond, MDA Compact IV ROM Development] imrock:
i still get unable to start wi-fi after 1 min in android:(:(..but the bluetooth's working fine..dont know how to use the console to unload wl1251_sdio driver..can any1 help??:confused::confused:
[Touch Diamond, MDA Compact IV ROM Development] suksanto:
Wifi disconnect

Dear phhusson

Wifi In My DIAM100 started OK, However when I try to connect to network it always disconnected. And it will not scan for available network again.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
The fabulous thing, is that there is nearly none ! :p (and absolutely none for bluetooth)

I "just" had to build wl12xx, extract calibration, load modules, run some initialisation script . For all these steps, look at htc-linux's wiki. For the current script (which isn't the on in htc-linux's wiki actually), look in rootfs.img /initetc/wifi/loadit.

Now the real hard part is for android, but i don't know what 'upstream' is for it.

But right i'm lacking 3 lines for wifi in kernel.

This might be the problem of random unsuccessful start, have you tried many times or only once ?

And if you can, please give dmesg result.
[Touch Diamond, MDA Compact IV ROM Development] suksanto:
I tried many times, still trying no success so far, any way good progress, hope you can get it sorted out.
[Touch Diamond, MDA Compact IV ROM Development] suksanto:
For my DIAM100, I have to turn on BT then the WIFI will scan and detect networks. Other wise it will stop scanning for networks. However still cannot connect to network. IT always stop and disconnect while obtaining IP address.
[Touch Diamond, MDA Compact IV ROM Development] toastcfh:
ok... i compiled the latest resp, making the hacks mrpippy posted a few pages back and was able to get through most the bot. but it frooze up at the screen where u would normally get the tap the android to start. it just stayed black. i think i may have done something wrong. im goin back now to correct it and compile again. will report back soon. thanx pippy. some of these hacks i managed on my own. but the bat issue i was just stuck on. great work

edit/ it didnt help..but its close.
[Touch Diamond, MDA Compact IV ROM Development] 00hero00:
DIAM100: Booted with no problems.. I can connect to a wireless network if blutooth is enabled. Wireless status is "connected" but if i open up a web browser, i am not able to load a website..

Any Ideas?

Also i cant find any other Bluetooth devices and they cant find me, too.
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Got working Wifi and bluetooth here :D Thanks for all your hard work phhusson :D

I'll post up a detailed guide soon. Wow functionality is coming along very smoothly

So far:

Wifi:

Device heats up very fast and is very concerning.

Once you have you wifi connected in android next boots doesn't require you to turn on wifi in wince.

You must enter passwords each time if your network has security measures.

Boot up takes abit longer than usual.

Entering a wrong password will not allow you to retry and fail loading wifi. Needs reboot to attempt again.

Bluetooth:

I'm able to connect to another mobile phone. The distance is very little and is very hard to connect.
[Touch Diamond, MDA Compact IV ROM Development] djvinz:
Great to see the pretty damn fast advances in the whole diamond-android thing!

I was wondering if there's an image which doesn't have the rebooting to WM, or freezing when going to sleep issue?

All images I've tried till now, have this kind off issues.

Are there any clues pointing to what the cause of this problem is?

Best regards,

and: keep up the good work!
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Diamonds have this bug due to power management. Its not 100% functional as of yet.

I believe changing or inputing this into default / startup.txt should fix this

board-htcdiamond.panel_type=0
[Touch Diamond, MDA Compact IV ROM Development] Tenny:
wow... I was having a ton of issues... none of my changes were taking place when i rebuilt the kernel... finally figured out my problem...

The way i was transferring it to the device was flawed, and I kept getting the same zImage... DUH

Lets see if I can make any progress now! Only wasted about 4 hours on that... :-\

Ok I think we are stuck at the same point now. I can get to the blank screen well... but nothing past that. Are you using 1.5 or 1.6?

Edit2: I figured out my problem, and now have it booting thanks to MrPippy just questioning me... heh The only problem is now when it boots, it starts at a "power off" screen... LOL; second boot was fine though
[Touch Diamond, MDA Compact IV ROM Development] leobaillard:
If you don't want WiFi and BT, you can still use the 09/13 zImage which is working quite correctly on my DIAM100 including sleep.

>> http://cs-alb-pc3.massey.ac.nz/vogue/files/zImage-diamond-13-09-09
[Touch Diamond, MDA Compact IV ROM Development] geckojohn:
Has anyone got this working on a CDMA (code division multiple access) HTC Diamond? I keep running the Hariot and it hangs and says something about a SD card... well, I don't have an SD card in my CDMA diamond.

Any help would be greatly appreciated.... and I did use the search function.
[Touch Diamond, MDA Compact IV ROM Development] Tenny:
You have a DIAM500. Search this thread, with that as the subject and you should find tons.

Here's a hint: use MrPippy's zImage, with 1.5. That's the furthest the DIAM500 progress has been.
[Touch Diamond, MDA Compact IV ROM Development] Ronnieole:
So you say that if the power management is getting to work, we could actually use it day to day :)

I cant wait to see that happen. I have tried almost every build now and they are all awesome. Some running better than others but still, Great job to all of you making this happen.

Is there anyhow we can help your progress even if we dont know how to code?. I know alot of people would help if they could.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Enjoy babijoee's build with wifi and bluetooth !

http://dl.free.fr/a2A8ty9YB

As usual mirror please.

Same problems with BT and wifi than previous version. But i made a quick and dirty "fix" for panel (to be commited as soon as possible): now it will no longer suspend, so it can wake up without any problem. This causes some battery drain, but less than having both panel and backlight up :)

Edit: Oops, i forgot a little part in the build, you'll have to manually create /data/misc/wifi/sockets/ and maybe chmod it to 777

Edit2: Previous Edit bug should be fixed. I also tried to get data working, but still no luck.

Edit3: Wrong URL
[Touch Diamond, MDA Compact IV ROM Development] HTCDiamond22:
http://www.youtube.com/watch?v=uSWUChiOEVs

http://www.youtube.com/watch?v=4HKAaxTIGZY

where do i find Sense UI?:cool:
[Touch Diamond, MDA Compact IV ROM Development] imrock:
he's asked this too many times:D:D...now does any1 has any idea:p:p
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
Do you think you could upload this to mediafire? From your site, the download speed is .1 or less kb/s

Thanks
[Touch Diamond, MDA Compact IV ROM Development] Dexter_nlb:
I tried to make some updates to the "tattoo" edition, and with small updates

like changing build prop from bahamas to sapphire

and copying some /libs/hw , i get to the front menu of hero now.. but its not anywhere complete.. i dont see clock but only "theme" with lock screen and most widgets working.

drivers for everything is messed up or incompatible, as niether audio,phone,bt,wifi works, gps seems to enable fine and does not crash phone.

but i tried, and i got a "sense" of what the menus could look like on Raphael!

(Same tested on diamond, but screen driver fails badly after coming back from standby)

Question:

Trying to add htc apk's with appinstaller, complaints are seen "not made for your model" ? any way to get around this or different appinstaller?
[Touch Diamond, MDA Compact IV ROM Development] chowdarygm:
link not working :(
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Yes, as noone was mirroring, but someones complaining, i droped it. I'll upload it to another site soon.

Edit:done, see previous post
[Touch Diamond, MDA Compact IV ROM Development] mutokenji:
keep a good job guys.. sorry, i don't know about linux.. but i'll waiting for android on my diamond..

btw, how is the progress of this project?? about 90% maybe? or less? or more? :D
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
There is no "rate" for such things (or i'd say android is ported on dream at only 80% actually.).

The totally non-working things currently are GPS, camera, stylus detection, and that's it, everything else, (almost) works.

The unstable things are... well... almost everything. Wifi is unstable, BT is lacking full speed, data connection lacks good RIL (for the one wondering, data works really good in angstrom, it's only in android that it doesn't), panel can't be suspended yet, battery management is really bad (currently it only reads voltage to estimate battery life, which is totally wrong). Soft-hard keys, sometimes work, sometimes not, the H2W (thing to be able to actually route the sound from headspeaker or headset), has yet to be fixed.

But many things are supported in linux not android, like leds, accelerometer, usbnet.

And even if some people are really doing really great job to get things working in linux, no good coders actually care of android (that's why i have to make a wifi release for example). So, gps should be working pretty soon, but because of google's dirty (and non-understandable) code, you won't have it in android for a while i think.
[Touch Diamond, MDA Compact IV ROM Development] chowdarygm:
hmmmm i can mirror it dude....but first of all it has to get downloaded na..... gng with (downloading @ 5-10KB/s speed) :eek:
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Well it's no longer on my own internet connection, so at least you won't have to share it with others.
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Thanks for adding bt and wifi support to my pack phhusson :D

I'm just got off work and dl it now. lets see how it goes

Also has anyone else managed to get a working wifi / bluetooth connection or am i the only one who has and actually posted. I'm just curious if any diamond users have got it connected. :confused:
[Touch Diamond, MDA Compact IV ROM Development] chowdarygm:
mirror updating....will update soon....
[Touch Diamond, MDA Compact IV ROM Development] rayman18:
how wifi works?¿ i cant turn it on in android :(