yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] hillsdale:
High hopes, but same problem - HaRET hangs most of the way across. Brand new phone, fwiw - stock Sprint rom, no registry changes, etc. Bootup screen claims: P DCBAPZM-615010, R 1.03.15F, D1.03 if that means anything useful. :)
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
Sounds like a HaRET problem. Can you make an empty file named "earlyharetlog.txt" in the same directory as the executable? After running the .exe you should have a haretlog.txt. Please share it.
[Touch Diamond, MDA Compact IV ROM Development] mclein:
Now it can put the Android in the diamond¿?¿?¿?¿? :confused::eek:?
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Yes, get a ball of Andriod, open Diamond and put it in there, can always be done.
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Thanks - the few differences between our files seems to have helped. I'm getting some data action but still nothing going upstream. What zImage build are you using?

Appreciate the help :)
[Touch Diamond, MDA Compact IV ROM Development] shark1987:
So I haven't tried a new version since back in June, but I've tried using the android pack from megaupload, and the newest zImage (10-13) from DZO and it doesn't even get into linux correctly on my RAPH800 (I'm guessing this isn't supported?) .

What's the newest version that will work on the RAPH800?

Thanks
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
if I can ask one question (it is stupid I think:o)

which is the difference between "Linux kernel zImages for HTC Touch Diamond" and "Linux kernel zImages for HTC Touch Diamond with SquashFS"?

thanks

Fabio
[Touch Diamond, MDA Compact IV ROM Development] boas:
http://connect-utb.com/ Read babijoes post :p

EDIT: Seriously, doesn't anyone have time to write a FAQ? I would if I had time! But won't have that until next summer =(
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
I don't understand the difference :(
[Touch Diamond, MDA Compact IV ROM Development] boas:
Then perhaps you should read from approx 30 pages back in this thread up till this page. Or google, or read on connect-utb's forum. Or read the wiki? Your questions has it answer somewhere in there, go find it ;)
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
mmm.. thanx for the explaination
[Touch Diamond, MDA Compact IV ROM Development] magicman0:
can someone help me?

DEVICE: HTC Fuze(Raph 110?)

i've had android working before perfectly. Now, when I boot into android, there is no top bar, and the display goes on and off, but the backlight is always on.
[Touch Diamond, MDA Compact IV ROM Development] magicman0:
EDIT: Sorry, internet problems caused me to double post
[Touch Diamond, MDA Compact IV ROM Development] magicman0:
also, i was wondering if getting android to work is easier now because the sprint version of Hero has a 7201A
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Anyone developing on Windows7? It doesn't want to accept the driver provided in Android SDK.. Just curious...I am not expected to contribute alot beacuse of my lack of knowledge in low level programing...(did some last year, beacuse i had to do it...school). But i'm willing to give it a try... Or at least do some starring at the code on my own :D (most possible option). So..win7 drivers anyone? (or a way to force these ones..?)
[Touch Diamond, MDA Compact IV ROM Development] Tenny:
I just did a VirtualBox of Ubuntu 9.10. Worked for a while till I messed with the resolution. Now i just run dual boot.
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Oh god...have been running dual boot until last week (vista:mad: + fedora). But the "all famous" lack of headphones-switch support in linux drove me crazy. Now i'm running Win7...and frankly, don't want to format again as i just got it set up as i want. Well...i guess i'll have to wait... Unless anyone has any other suggestions.
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
Install ubuntu, backtrack etc to a usb stick with a bootloader on it or just run them off the live cd and make a linux partition or two. You should be able to find info on that from google.

Android/*nix are slightly more advanced operating systems. IMO a pre-req to posting in this forum like knowing what mount is at least, knowing what the output of uname -r is, knowing what squashfs is, etc etc .... I don't know, maybe I'm just rambling but at the point that android is at know, needing user input from a prompt or via telnet/usbnet is a little beyond what I would consider that average "Windows Only User" capable of. Not trying to trash anyone by saying that. Best advice if you want to run android at this point and are having trouble with the linux end (helping people out with different default.txt problems, trouble with sdcard structure etc is more in scope here I think) might be to read some man pages or have all your questions answered by google.
[Touch Diamond, MDA Compact IV ROM Development] Homeryz:
That's the one, thank you Oliwan. :D
[Touch Diamond, MDA Compact IV ROM Development] Tenny:
In Vista / Win7 you can resize the partition... (that's what I ended up doing)
[Touch Diamond, MDA Compact IV ROM Development] Homeryz:
Thanks, & Sound in Xrom

Thanks Rafy, I'm going to give that a try, asap.

Also for those using the Xrom from

http://connect-utb.com/

http://glemsom.anapnea.net/android/

and have not been able to get sound working, I found out if you get a program called "Mabilo" from the market, you can set ringtone and a tone for incoming messages.

Homeryz
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
Since SquashFS is now in the current kernel, there's no difference on those two builds.

The SquashFS page remains there for reference only!

The automated build system will discontinue to build squashfs-diamond images whenever I get the time to change it ;)

The SquashFS-raphael builds are still needed, as the default configuration in the kernel does not enable SquashFS.
[Touch Diamond, MDA Compact IV ROM Development] sorrowt:
hey,

Is the phone working? iam having always "No service"!

Iam using the kernel of "Wed Oct 14 07:18:05 2009 +0200" and android from babijoee.
[Touch Diamond, MDA Compact IV ROM Development] sorrowt:
REQUEST

I have also a request to you guys:

can you modify the paths so that all android files are moved to a folder on the card like under "Android" folder, rather than having them spread out on the root of the card!
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Nevermind guys...got it working on Win7..:)
[Touch Diamond, MDA Compact IV ROM Development] stefand:
Yes, it would be possible to modify the paths by changing the init files in initrd.gz and rootfs.img. But I don't think it would be a good idea to change this at the moment. If someone else would create a new rootfs that uses another structure than the initrd, everything would stop working.

I agree with you that it is a mess at the moment, but remember that this is still a project. If you really want something like this at the moment, just create your own initrd and rootfs. (I also create my own and it's really easy)
[Touch Diamond, MDA Compact IV ROM Development] prinex:
just a question - how do you use the user.conf, donut.user.conf ? I don't understand which one is used (if used at all) - is this always user.conf ?
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
ok thanks for this answer GlemSom :cool:
[Touch Diamond, MDA Compact IV ROM Development] mmone3:
Rafyvitto, I was wondering if you are still running radio 1.14.25.05 ? I still cant get any data from my GPRS connection, it shows the edge icon with activity. I tried almost all the Donut packs and latest zimages and now I'm wonder if its the radio im using?

Also do you have RAPH110?
[Touch Diamond, MDA Compact IV ROM Development] techtim:
Auto Build Idea

Any thought about putting the changelog entry in the table with the zImage it relates to and removing it from the bottom of the page?
[Touch Diamond, MDA Compact IV ROM Development] rattenfanger:
When you hover your mouse over "zImage build log" you can already see the changes for that build. They are listed on two places at this time. I like the list on the bottom for a quick overview :)
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Donut Data

Can everyone with working data on Donut explain what zImage build they are using? I've tried with just about every one (with 10-13-09 rootfs) and it keeps freezing up my Raph 110.

I got MotoBlur to work, but only partially so far... data is working but build is very slow - also speaker is not working, so no incoming/outgoing calls. It's got some nice interface options and I could see using it when it is closer to complete. The key to getting data to work here appears to be the HSUPA/HSDPA enabled mode within WinMO - for some reason the EnergyROM I use disables HSUPA by default, so nothing was going upstream on UMTS... even though normally it would default to R99.
[Touch Diamond, MDA Compact IV ROM Development] DSF:
I've deleted data.img file (which had 128MB) and the same: the device restarts while trying to get a data connection (i can see the 3G/E simbol on the topbar) :(

same android version

same rootfs (dzo)
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
What do you have in your startup.txt?
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Marc - can you also post your zImage build, or are you using the zImage from the original donut package from babijoee?
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
it is the latest squashfs zImage from the autobuild
[Touch Diamond, MDA Compact IV ROM Development] mmone3:
What radio are you running? im in the same boat with data not working and reboots from time to time.

I'm running the latest donut and squashfs zImage too.
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
Radio v1.13.25.24 from this thread: http://xdaforums.com/showthread.php?t=521941
[Touch Diamond, MDA Compact IV ROM Development] nearlybritish:
Ha - well apparently the Diamond Squashfs works a lot better than the Raph one for Raph 110. Data connection not freezing so far... but not yet able to make a true connection. Shows 3g connection, but nothing going up/down that I can see.

It seems closer to what was working on the older builds though... I'm going to play with it some more.
[Touch Diamond, MDA Compact IV ROM Development] DSF:
set ramsize 0x6000000
set ramaddr 0x10000000
set mtype 1910
set FBDURINGBOOT 0
set KERNEL zImage
set initrd initrd.gz
set cmdline "init=/ console=tty0 mem=76M msmsdcc_id=3 imgdevname=/dev/mmcblk0p1 imgdevnum=1 imgdir=/ msmts_calib=0x7a.0x5e.0x35a.0x37f mddi.width=320 mddi.height=480 lcd.density=210 msmvkeyb_toggle=off"
boot

I've removed ppp.autostart = 1
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
This is mine for diam100

set ramsize 0x08000000
set ramaddr 0x10000000
set mtype 1805
set FBDURINGBOOT 0
set KERNEL zImage
set initrd initrd.gz
set cmdline "init=/ console=tty0 mem=76M imgdevname=/dev/mmcblk0p1 imgdevnum=0 imgdir=/ msmts_calib=0x7a.0x5e.0x35a.0x37f mddi.width=640 mddi.height=480 lcd.density=210 msmvkeyb_toggle=off pm.sleep_mode=1"
boot
[Touch Diamond, MDA Compact IV ROM Development] dimzy_05:
hi i have some question..

how do i boot a squash system?do i need a a squashfs zImage to boot it?i just got the last

09.09.09 working build from connect-utb and i want to use this new system-motoblur 0.6.sqsh,when i boot with this new systen it hang..can someone help me with this problem?

thanks in advance
[Touch Diamond, MDA Compact IV ROM Development] cyclo0n:
Android keeps haning on bootscreen

I got the latest build of the connect-utb website. Did al the steps as described, but everrytime I want to boot my screen hangs on msmfb_start_dma 90/91.x ms after vsync request. and at the front of this line there is a sort of counter which counts the seconds?

anyway, Does someone else experience this problem, and is there any solution for this?

thanks!
[Touch Diamond, MDA Compact IV ROM Development] magicman0:
can someone help me? Raph 110:

i've had android working before perfectly. Now, when I boot into android, there is no top bar, and the display goes black but the backlight is always on.
[Touch Diamond, MDA Compact IV ROM Development] gleng:
I compiled the latest kernel with MrPippy's changes for DIAM500.

With MTYPE=2040 it gets to the android logo but then I get a black screen. It's still further than without the modifications so I'll attach it for anyone who's interested.

As described by MrPippy, the changes are:

"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."

Thanks MrPippy! Hope you are back soon to help us DIAM500 users some more :)
[Touch Diamond, MDA Compact IV ROM Development] magicman0:
I can't get android to work.

When I boot into linux and android, the lock screen comes up, but after a few seconds, the the screen turns black, but the backlight was still on.
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
Hit the back key a few times and the home key once, works for me. Trying this new zimage w/mrpippy's patch. I started to manually port it in to the 2.6.27 kernel the other day but had a power outage, hopefully this will work so I don't have to finish, even though it's only like 3 lines of code per file.
[Touch Diamond, MDA Compact IV ROM Development] techtim:
Reason the Raph800 isn't booting.

After playing with the .config file for a few days I found the options that are causing the Raph800 to power off during the boot process using the autobuild kernel for the raphael

If I unset these 5 options the kernel boots on the Raph800

CONFIG_RFKILL=Y

CONFIG_RFKILL_PM=Y

CONFIG_RFKILL_INPUT=Y

CONFIG_RFKILL_LEDS=Y

CONFIG_MSM_SMD_7500=y

If I have either CONFIG_RFKILL or CONFIG_MSM_SMD_7500 it seems to lock up at different places on the kernel.

If I unset all 5 it then it boots just fine. I hope this is useful information to somebody to help track down why its happening.
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
Was just looking for the original post because I couldn't remember but ... I'm wondering what commit was causing these kernels not to boot on our cdma diamonds and if it's in the current tree. Perhaps someone w/a little more experience at stuff like this could regress the commits during those ?8 days? on the 2.6.27 tree and compile an image for the diam500, is that even possible? OMG, I would have to read to do this and maybe get it booting for myself :S Basically, I think this is the behaviour I was getting when I would run a zimage for diam100-300 with mtype set to 1805 on my diam500.
[Touch Diamond, MDA Compact IV ROM Development] gizz68erz:
hello guys..one question....i have a DIAM300 and i want to try this:

http://www.androidonhtc.com/diamond/installing_android

is there only a possibility to do this with DIAM100, DIAM130 or DIAM500?
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
This works for DIAM300 too. Please read this thread to understand the current status of Android for Diamond.
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
Hey, I was wondering if your ported in the part of the patch that was failing. I think it was this section, it seems to modify an if statement and I know when I tried patching my source it was failing. Like I said, I started to just port in the few lines the other day but power went out for 4 hours and it's been windows ever since ^^.

diff --git a/arch/arm/mach-msm/board-htcraphael-mmc.c b/arch/arm/mach-msm/board-htcraphael-mmc.c
index 83c1875..75de9e2 100644
--- a/arch/arm/mach-msm/board-htcraphael-mmc.c
+++ b/arch/arm/mach-msm/board-htcraphael-mmc.c
@@ -445,11 +445,11 @@ int __init htcraphael_init_mmc(void)

sdslot_vreg_enabled = 0;

-
if (machine_is_htcraphael_cdma() || machine_is_htcdiamond_cdma()) {
-	htcraphael_mmc_pdata = htcraphael_cdma_mmc_pdata;
-	} else {
+	//if (machine_is_htcraphael_cdma() || machine_is_htcdiamond_cdma()) {
+	//	htcraphael_mmc_pdata = htcraphael_cdma_mmc_pdata;
+	//} else {
htcraphael_mmc_pdata = htcraphael_gsm_mmc_pdata;
-	}
+	//}

vreg_sdslot = vreg_get(0, "gp6");
if (IS_ERR(vreg_sdslot)

Like I said, I started to just port in the few lines the other day but power went out for 4 hours and it's been windows ever since ^^. The code is there but I think the index has been put off by a line or two.

Edit: I finished patching the raph mmc file but still stalling @ black screen. I think we need some info on what commits took place during those 8 days that could be causing this.

At this point my lack of technical details comes into play. I'll read up a bit and see if I can find any additional info but ...
[Touch Diamond, MDA Compact IV ROM Development] giangy11:
hi,

is there a recent kernel for diamond that doesn't boot when put android to sleep?
[Touch Diamond, MDA Compact IV ROM Development] gleng:
I did all the patching manually by hand so the index being off didn't matter.

I see you've got to the same place as me and still no luck :(.

Someone mentioned disabling CONFIG_MSM_SMD_7500 so I also tried compiling without that part of MrPippy's patch (iirc his patch enabled that), but still no luck - just get a reboot.

I'm just gonna wait for the smarter people to figure this out :P

If I can be of any help though let me know.
[Touch Diamond, MDA Compact IV ROM Development] toastcfh:
well i was able to revert to the commit mrpippy was speaking of and used the fix with no problems. i tested it and it worked. then proceeded to use the squashfs patch and it patched everything without a hitch. except at the time of the commit there wasnt a htcdiamond_android_deconfig. so i just skipped that and compiled usin raph_deconfig. everything went smooth till i loaded it on the diamond. then all i was able to get is the android splash then it would crash. tried it with soe of the other sqsh builds arround and still no event. i did notice in one of the system builds i was getting a warning bus is busy error instead of the splash. still alot of work to do. i hope to get a chance this weekend. i got some ideas. but yeah... mrpippy's patch and that commit= mrpippy's zimage he posted. im not sure but it seemed to be no diff.
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
Newer kernel? Did you apply the patches to the current kernel in git(2.6.27) or to v2.6.25? If we can't even manually port the patches into the current kernel perhaps there's something else we're missing besides the committed differences etc...
[Touch Diamond, MDA Compact IV ROM Development] toastcfh:
i was able to manually aply the patch with the newer commit. i was able to get to the android spash screen then it would crash.a user has been able to patchthe latest commits and boot all the way without the crashing. . im not sure how he did it though. still waiting to hear back from him.
[Touch Diamond, MDA Compact IV ROM Development] blutz:
anything i can contribute to help make WIFI work on more DIAM100 devices ? (like mine..)
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Have you got a working wifi connection that doesnt freeze? Are you using my pack and if you made changes what changes did you make?
[Touch Diamond, MDA Compact IV ROM Development] blutz:
I meant mine doesn't work :) now downloading your wifi pack
[Touch Diamond, MDA Compact IV ROM Development] killzusall:
I downloaded your wifi pack and got it to connect to my router but then as you mentioned it froze up, i'm interested in trying to get it to work, which particular files should I be looking at? zImage? and do I just use a hex editor?

sorry for being a total noob but I'd love to get this working, i wanted a G1 when it came out but wanted the screen res and size of the diamond. I have a DIAM100 btw.
[Touch Diamond, MDA Compact IV ROM Development] blutz:
same as the post above, using your wifi pack i can connect to my router, but can't access websites (or anything else)
[Touch Diamond, MDA Compact IV ROM Development] beboxed:
I have a DIAM100 device and used your package to test wifi. When i enable it from the settings menu it gives the message 'unable to start wifi'. It makes no difference when i start bluetooth first en then wifi or the other way around. Bluetooth works perfectly btw and the device recovers perfectly from standby
[Touch Diamond, MDA Compact IV ROM Development] hermitek:
there's a problem with dhcp, you do this (but android will freeze few minutes later, probably) :
[Touch Diamond, MDA Compact IV ROM Development] iceheat:
MTYPE for different Diamond Models

It would be very useful if someone can compile a list of diamond models and their corresponding MType numbers. I have a DIAM200 (UK T-Mobile Victor) and I cannot figure out the correct Mtype for it. so far 1805, is the closest that got me to boot android. Unfortunately, regardless of the zImage I use, it would not last more than 5 minutes before restarting. Also, the top and lower buttons are flipped. e.g. When I put my finger on the home button, the call button would light and vice versa. also the functionality is flipped.

I have tried a few zImage builds for DIAM100, DIAM500 and raphael ones. varied results. Would anyone know what is the closest one to DIAM200?
[Touch Diamond, MDA Compact IV ROM Development] vkarras:
sorry for the question but where can i find anroid for htc diamond?
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
I don't know about diam200.

But the wiki contains a list of mtypes:

http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux

(section: Hardware differences and configurations)
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
Have you tried running "dhcpcd wlan0" or firing up whatever dhcp client(pretty sure it's dhcpcd) come's w/android to get an IP?

@toastcfh

People need to upload their zimages, especially if they're working. I patched 2.6.27 source w/all the commits and ... blackscreen like I was booting w/wrong mtype or something.
[Touch Diamond, MDA Compact IV ROM Development] oliwan:
Hi, I have diam200. It is basically identical to a diam100 except for a different shaped case so you can use all builds for 100.

The problem with rebooting (after the phone goes to sleep) is something all diamond users have. You can stop it happening by adding these paramaters to your command line in the startup.txt (near the ppp settings).

"pm.sleep_mode=4 board-htcdiamond.panel=0"

Don't expect the battery to last very long though :D

The flipped buttons is also quite annoying but regular diamonds are the other way around...
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
I've been digging into donut's release and found some sources of problem.

First for wifi, the wifi "driver" for android is really *bad*, i'll try to "fix" it or do some workarounds, but i guess this will need some changes in systems. Also there is some dhcp problems i don't get: if i run the whole wifi connection by hand (using wpa_cli), it just works at every time. If i run it through android's gui, doing the exactly same thing it seems, dhcpcd just won't get answers ....

For general freezes: it seems there are some major memory problems, i'll try to build compcache to see if this helps, i'm also waiting for some reports on using extra memory available on (some/most) phones.

I also made a quick and dirty accelerometer android's driver: http://husson.hd.free.fr/sensors.default.so (source code in http://husson.hd.free.fr/sensors.c ). You'll need to have chmod 666 to /dev/input/event3, /sys/bus/i2c/devices/0-0018/enable, /sys/bus/i2c/devices/0-0018/rate, and (still not managed actually) /sys/bus/i2c/devices/0-0018/scale and then copy sensors.default.so to /system/lib/hw/

Don't expect the values to be correct (i think it's /1.2 to actual values), but the direction should be ok.
[Touch Diamond, MDA Compact IV ROM Development] mmone3:
Still cant find a donut/zimage/startup combo that works with GSM data on my rapt110. It shows the edge connect icon but cant pull up a website.