yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] silex:
#2 wasn't really an issue. It was just running so slow that the power button appeared to not do anything. Trust me guys, it was real sloooooooooooooow. I plan to create an ext2 partition and locate a cupcake build and retest.

Sorry guys for taking so long to get back to the other DIAM500 owners. Here is my startup.txt:

set RAMSIZE [b]0x008000000[/b]
Set ramaddr 0x10000000
set MTYPE [b]2040[/b]
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=[b]0x81.0x393.0x358.0x7D[/b] 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*

I bolded the areas of more importance. An MTYPE of 2040 is required on our devices still since we need to run the DIAM500 compiled zimage. I read somewhere in the git repository that using a memory address of 008000000 (extra zero) makes a speed difference but I tried it both ways and didn't see any improvements so leave it off if you like.

I'm not sure what makes ours different than the DIAM100/200, but it's hampering the development for us. We need MR. Pippy to chime in as we need more dev's to factor this into their test releases.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Have you actually tried it .... ?

Following the rules in the wiki you get a working day autonomy (meaning >10hours)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
To save a bit more power, you can add board-htcdiamond-panel.type=1 or 2 (try suspending, if one doesn't work, then it's the other, for my diam100 it's 2).

If both work, this means you aren't going into deepsleep, try to kill all your applications.

This works only on diamond, not on blac or raph.
[Touch Diamond, MDA Compact IV ROM Development] kholk:
Yes, but I'm getting about 5 hours of autonomy...

Anyway, I've tested the new build.

*- In the previous build the device will charge the battery only if connected to a PC via USB, now it won't even connect to a PC (and doesn't charge battery).

WiFi range is higher, but still won't connect to an AP (detects it and won't connect to).

*- Going to sleep (parameter set to 3), on my device the back button is backlighted. Resuming the device won't backlight the end call button and the back button is still backlighted.

*- The device seems more responsive, and it seems that the performance is higher.

Now I'm trying a completely clean boot.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
It's most likely because some app prevent the phone from sleeping.

?!? For which phone ?

Read history, i already explained what's the best way to get it working.

This means the phone is NOT going to sleep!, since the leds are powered off when going to sleep. As said before, kill every application and disactivate BT then reboot before trying to sleep.

There is no reason for this to happen.
[Touch Diamond, MDA Compact IV ROM Development] akil3x:
Hello people I need your help please...

My DIAM100 with this news builds are great but I never had the luck to have the function of sending SMS working, what I'm doing wrong???

Thanks in advance
[Touch Diamond, MDA Compact IV ROM Development] zappit:
see page 534, post #5337. it worked for me
[Touch Diamond, MDA Compact IV ROM Development] celoni:
hi at all i want to know some question about android:

1-it works on diamond?

2-how?

3-if i want android what i've to do?

thank's and sorry for the english
[Touch Diamond, MDA Compact IV ROM Development] klinux:
1 yes

2 look at the link in my signature

3 same as 2

cheers
[Touch Diamond, MDA Compact IV ROM Development] celoni:
thank's i will try it.

but there are risks of brick the phone???or there are other risks?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
no risk cause it's not a rom which should be flashed, it boots from windows mobile
[Touch Diamond, MDA Compact IV ROM Development] silex:
I recommend any dev's interested in the CDMA Diamond work with the Vogue dev's to have a good base port to start from. The Vogue is rock solid right now with 1.5 and 1.6 so starting with their kernel would alleviate any repeat work. I will be doing the same so hopefully I can get a few of the GSM Diamond (DIAM100/200) dev's to jump on board with me and at least get the CDMA Diamond (DIAM500) to a working level and incorporated into their test releases.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
As far as i know the problem is not about radio communication, but about the hardware, which has nothing related to Vogue.

Anyway, for blackstone all i needed was testers. I'm pretty sure that for CDMA some testers available at #htc-linux would be enough, but actually noone has came.
[Touch Diamond, MDA Compact IV ROM Development] akil3x:
Tell me this semi-tutorial to arrange SMS I have too do in ANdroid or WM????

I don't understand entire what I have too do :( There is some other Tutorial??

Thanks
[Touch Diamond, MDA Compact IV ROM Development] celoni:
HELP..!!

i decide to try it and go here-->http://wiki.xda-developers.com/inde...dwarex20.differencesx20.andx20.configurations

and do the procedure indicate at the 2008-12-30 09:36 but when i lunch HARET from my diamond and press

run

on it an error says:failed to load file initrd.droip.cpio.gc

can anyone help me??

sorry the english
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
I suggest you read this as well

2008-12-30 is quite old

http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
For raphael users, i added power button (as home button, short press close current application, long press show latest apps launched) support in latest glemsom's kernel.
[Touch Diamond, MDA Compact IV ROM Development] celoni:
ok yes but how can download it???

to me appears only a page with strange symbol..:confused::confused:
[Touch Diamond, MDA Compact IV ROM Development] Mashadar:
use "save link as" for downloading the file. The browser tends to opens the 7z compressed file as text (annoying).
[Touch Diamond, MDA Compact IV ROM Development] celoni:
thanks...:D
[Touch Diamond, MDA Compact IV ROM Development] qumani:
I have tried that, I have also tried to change it to other ones that I have =found on the internet for ATT. Nothing will work for me, I guess that it is just an issue w/ android for the time being. I am looking into different possible solutions, so if I find one, I will be sure to post it for others.

Another question that I have.... is it possible for me to implement the solution that allows for anytime charger connection with any of the new kernels?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Update your rootfs.img with this one:

http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/rootfs.img-15-11-09.7z
[Touch Diamond, MDA Compact IV ROM Development] akil3x:
Well I try every thing I read and appear the same thing "MESSAGE NOT SENT" , no SMS for me :(

The rest is working great. Good job guys
[Touch Diamond, MDA Compact IV ROM Development] silex:
I'm pretty sure they both run the same Qualcomm chipset. If anybody is interested in furthering the development of CDMA Diamonds feel free to post in this thread. I haven't used IRC in awhile, but I will gladly participate in any way I can if it helps the cause.
[Touch Diamond, MDA Compact IV ROM Development] celoni:
why when is in bootloader of android says:

failed to find rootfs.img on sdcardyou need to unzip a ro/bin/sh! can't access tty;job control turned off/#_

what i have to do??

can someone pass me the files all ready in a folder so that I should just copy it into diamond and start the procedure with Haret??
[Touch Diamond, MDA Compact IV ROM Development] qumani:
Thanks bro, appreciate it. I lost the one that worked in the pile of files and kernels that I moved to a development library.
[Touch Diamond, MDA Compact IV ROM Development] slovoflud:
Gogle Wave

Hi Everyone!

If anyone's Waving on google wave I've just made a Wave about Android on Diamond / Raphael.

Everyone's invited to edit and discuss.

you can find it by searching:

"with:public Android on diamond"
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
android

its very good use this rom but battery problem not let me use this . so i will wait until battery and the other problems solve . thanks for all helpers..... iam watching android ...
[Touch Diamond, MDA Compact IV ROM Development] slovoflud:
and Android watches you..... :cool:
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
This happens because you need to read first before trying to run Android.

http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut
[Touch Diamond, MDA Compact IV ROM Development] kemucc:
did you unzip all items to the sdcard root?or the startup.txt does not match your device?
[Touch Diamond, MDA Compact IV ROM Development] stasgl:
Is there a way to disable GPRS auto-connect in the latest build for Diamond or even to disable it at all, because I dont need it and it is quite expencive. I've tried but i wasnt able to find a way how to do it.

I use this build http://connect-utb.com/index.php?op...=file&Itemid=68&id=50:android-for-htc-diamond
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
Which Rom is more stable at this moment for Diamond to everyday use???
[Touch Diamond, MDA Compact IV ROM Development] celoni:
yes i do...but it doesn't start:mad:

i've a diam100 and this is the startup.txt that is in the package...it's correct or i've to change something???
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
The latest found on the Wiki: http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
I've heard that the Eclair (2.0) source codes have been released :D
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
autobuild service updates

The autobuild service has been updated.

Some of the major changes:

* All previous builds are now discontinued!

* Added a new build, htc-msm-android, which is a combined build for Diamond, Raphael and Blackstone.(Includes WiFi modules).

This build is using the WiFi modules from the same GIT repository!

* Packages (well, only one atm) will be recompiled if:

- 1: A change is detected in the kernel code

OR

- 2: A change is detected in the WiFi code.

* Old discontinued builds can still be downloaded. But this might change in the future!

* Commit-log for both Kernel and compat-wireless is displayed, if found.

There's still a few bugs when pushing out the logfiles... But I guess I'll have this fixed tonight! :)

NOTE: compcache module are NOT included atm. I will work on that tomorrow.
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
Thx for your great work!!! Possible to upload full working Rom with screenshots and description.
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
No, there's currently no "Android ROM" for this project.

Please read: http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut for details.
[Touch Diamond, MDA Compact IV ROM Development] xaoc747:
I read this wiki, thank you, but possible gather all in one and upload here ANDROID for Touch DIAMOND, cause you change some "little item" and upload here part of Android, and NO 1 (one!) full Android like in Blackstone thread!!!
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
They are all 'gathered' now

They are just updated very frequently
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Big thanks to GlemSom for the update of the autobuild service !

So with this build, the wifi MAC won't change after a suspend, which should help a bit wifi to resume after suspend, but it still isn't kept after a reboot.
[Touch Diamond, MDA Compact IV ROM Development] SonicPower:
I apologize in advance because this might sound rude or insensitive.

Is there no working DATA/Phone for DIAM500 (CDMA) users? I know Google released their Android 2.0 package for everyone to see. Wouldn't some of this code work if incorporated in the builds we have right now?

Sorry for my naivete.
[Touch Diamond, MDA Compact IV ROM Development] aussiewan:
Android is very popular!

Hi all,

I have not known how much interest there is in Android for Diam/Raph/Blac until I looked at my web hosting traffic (cobaltcode.com) a little while ago... Just since November 1, there has been over 4.5 terrabytes of information going to/from cobaltcode.com! There are only a few hundred megabytes of data that people can see (I sync personal data to it for backups but they are not web-accessible. The hosting is not used for anything else). Assuming each "release" is around 70Mb or so, that means over 64,000 dowloads! :eek: I'm not completely sure that is accurate... I think there may be something not quite right with the traffic monitoring, or someone is attacking my site... but I'm still well below my allowance, so I'll compare traffic over the coming weeks. If it is accurate, however, how awesome is that!? There have been only 2 or 3 releases this month, so even if everyone had downloaded every copy, that means there could well be 20,000 devices out there making use of the fantastic work done by PHHusson, cr2, GlemSom and others! Sorry for not mentioning more names - I have a terrible memory and just skimmed over the kernel change logs :) Awesome work, guys! I am really looking forward to the time when I can give WM the one-fingered salute :D
[Touch Diamond, MDA Compact IV ROM Development] Horo86:
Hi Everybody!

I have downloaded this afternoon the latest image of Android for Diamond dated 15-11-09.

I'm start to try it, I'm very interested about that! I've noticed a possible bug, when I try to connect to my home Wi-Fi and scan the network I can see my WLAN, in the next step I insert the WPA key but anything happens! Seams that the system don't connect to my WLAN. Is that a know bug?

I have try to set up the connection manually but is the same.

Thanks for your great work!
[Touch Diamond, MDA Compact IV ROM Development] aussiewan:
Hi Horo86,

Please check http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut

It says under known issues: Wifi use is still random. Prefer fixed address if you can.

It's still a work in progress, so enjoy what you can and wait for the rest :)
[Touch Diamond, MDA Compact IV ROM Development] aussiewan:
Ooops my bad... I have a few other files on there that people have been grabbing... found some more specific figures tho:

Android-Donut-htclinux-15-11-09.7z has had 5486 hits

build-update_donut-1.6_2-11-09.7z has had 4778 hits

android-donut_diam-raph-01-11-09.7z has had 3365 hits

So not quite the 20,000 mark, lol...

It's quite entertaining seeing what sites have had links to the files... XDA and GlemSom of course, plus quite a few other PDA/PPC/HTC sites. I won't mention any names because I'm not sure if that is allowed here. Suffice to say, there are a lot of people interested in this project.
[Touch Diamond, MDA Compact IV ROM Development] stasgl:
Is there a way to disable GPRS auto-connect in the latest build for Diamond or even to disable it at all, because I dont need it and it is quite expencive. I've tried but i wasnt able to find a way how to do it.

I use this build http://connect-utb.com/index.php?opt...or-htc-diamond
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
Yes, Android/Linux for our HTC Phone IS quite popular.

According to google analytics, I have 17.318 users visit my site. And a total 38.403 pageviews. (6.962 absolute uniq visitors)

I don't have any statistics for the amount of downloads... But I guess it's quite alot! :D
[Touch Diamond, MDA Compact IV ROM Development] brachialis:
just remove the apn settings, then it won't be possible for the phone to connect to GPRS
[Touch Diamond, MDA Compact IV ROM Development] kholk:
Got a problem. (DIAM300)

Using pm.sleep_mode=2 makes my device unusable, due to the non-recognization of what I touch on the multitouch board (home, back, send call, reject call buttons), while using pm.sleep_mode=3 does recognize all.

At the moment I'm using this parameter set to 3, but I can't understand why if this is set as 2 it bugs the multitouch board...

Setting board-htcdiamond-panel.type=1 the multitouch board is not recognized, even if pm.sleep_mode is set as 3 (and as 2).

Setting board-htcdiamond-panel.type=2 the multitouch board is recognized with pm.sleep_mode=3, but if I try to resume the device from sleep, it shows a black screen and doesn't resume. I've also tried to resume for 5-6 times, even pressing the home button while the screen is black, but it still doesn't resume.

If I don't use the board-htcdiamond-panel.type function, I can resume normally the device from sleep but while sleeping, the BACK button blinks randomly, as other buttons too!

So... what the hell is happening?!?

My Diamond needs an exorcist. XD
[Touch Diamond, MDA Compact IV ROM Development] rayman18:
To everyone who cant make te wifi work, are you sure that your wifi router havent got a MAC filter?¿? it the router has one, try to disable or include the MAC of the android sesion in you router list.

NOTE: as phh said, every time you reboot android, the MAC in linux change, so every time you have to include the MAC in the router exception list.
[Touch Diamond, MDA Compact IV ROM Development] imrock:
i am using this android after a long time, i used the sept 18 version which worked great but now even that does not load up..i am gettin this error :

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

Failed

Failed to mount the sd card. cannot continue.

i know many people reported but i couldn't find any soltion..
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
Ok, compcache modules are now a part of the modules package. (This includes ramzswap and xvmalloc)

Modules are based on version 0.5.4 of compcache.

A new fresh build is available on my site. :)
[Touch Diamond, MDA Compact IV ROM Development] Horo86:
I did not know this thing, probably is this my problem! I though that the MAC don't change from the session of WM!

You think that is possible to fix this problem by fix the MAC address of Linux session? I think that is good to insert(if is possible) this fix in the next release.

Bye
[Touch Diamond, MDA Compact IV ROM Development] stevebrush:
First, Thanks a lot for the autobuild service and Thanks a lot again to all people working on this Android project...

My question is : How best tweak /conf/donut.user.conf to use compcache, ramzswap or swapfile?

I try to use a 128MB swapfile, it works great but I don't understand the difference between this 3 elements.

Witch is better to use? compcache, swapfile, ramzswap (May be a standard swap partition could work too but I don't want to partition the Internal Storage of the diamond :-)

The diamond has limited memory and without this, android become very slow when many app are open, I had to close them with a task manager, so I hope a good use of swap will benefit a lot.
[Touch Diamond, MDA Compact IV ROM Development] rayman18:
I dont know if it is possible, i think its not easy, we had the problem of the MAC changed after suspend in android which has been solved, but i dont know more, sorry :)

maybe phh could answer you
[Touch Diamond, MDA Compact IV ROM Development] stevebrush:
boot options

Is there a way to have in the wiki a list and description of boot options passed in startup.txt cmdline like pm_debug, board-htcdiamond-panel.type and default options if nothing is specified ?
[Touch Diamond, MDA Compact IV ROM Development] imrock:
ok..so i found this, formatting right now!!
[Touch Diamond, MDA Compact IV ROM Development] christine600:
On my Debian box I do it like this: (full explanation here: http://www.debian-administration.org/articles/501)

If you wish to explicitly set your MAC address upon a Debian system you can do so by adding an entry to your /etc/network/interfaces file.

Beneath each interface you wish to setup add "hwaddress ether xx:xxx..". For example:

auto wlan static
iface wlan inet static
address 1.2.3.4
gateway ...
broadcast ...
hwaddress ether 02:01:02:03:04:08

I cannot start Android on my HTHD now since I am waiting for a call, but perhaps you can see if this file exists or write your own in Android and see if it works?

EDIT: Added another way if Android has the ip command:

And here is how to do it with ip(8).

Let's check what we have:
# ip l sh eth0
17: eth0: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:c0:9f:55:6e:e5 brd ff:ff:ff:ff:ff:ff

You can not change MAC of interface if it is UP, so let's shutdown the interface:
#ip l s eth0 down

and change it:
#ip l s eth0 a 00:11:22:33:44:55

have a look at what we have done:
# ip l sh eth0
17: eth0: <BROADCAST,MULTICAST> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:11:22:33:44:55 brd ff:ff:ff:ff:ff:ff

Voilla!! It works! :) Now let's bring interface up:
#ip l s eth0 up
[Touch Diamond, MDA Compact IV ROM Development] amirseni:
Disable auto-connect

I think what you want is to stop automatic email, contacts updating when you load android.

If that is the case go to settings-> data synchronization

Uncheck Auto-sync and Background Data.
[Touch Diamond, MDA Compact IV ROM Development] stefand:
Clone wifi mac address

I created an updated rootfs.img that let you change the wifi mac address to whatever you like so people with mac filtering on there router don't have the reboot issue anymore.

I added a new option to startup.txt: mac_address=xx:xx:xx:xx:xx:xx

Download rootfs.img-17-11-09-clone-mac.zip.

Extract the rootfs.img to the root of your sdcard.

Edit your startup.txt file and add etc "mac_address=00:1F:DF:0C:00:C3" (without quotes) to your "set cmdline"

Ofcourse you can change the mac address to whatever you like.

There is still a little bug, you always have to enable wifi 2 times, the first time always failed for me.
[Touch Diamond, MDA Compact IV ROM Development] AndroHQUist:
one reason maybe ?

Since the server sends binary files as text, I´m pretty sure most people start a download and a few seconds later (if lucky) they notice the error and then try again with "save as".. I have this "problem" and i guess most other people have too. This might be one reason traffic is that high.

Just my 4 cents :-)
[Touch Diamond, MDA Compact IV ROM Development] stamppot:
Charger detection works!

On the latest image on GlemSom's site USB detection works without the phone being connected to a charger when booting. I booted Android and after it was fully booted hooked it up to my computer. After 10 seconds or so it indicated that a USB connection was present and started to charge.

Awesome stuff! Next, I'll try and verify if PIN-code entry works...

On a related note: I do get a lot of 'not responding' prompts. Is this the same for everyone?