yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
No it does "wait for interrupt and ramp clock" which isn't totally bad. The one which does nothing is pm.sleep_mode=5 (but idle will do wait for interrupt anyway)

4 will do "wait for interrupt", no change in arm11's clock or voltage

3 will do "wait for interrupt and ramp clock", the arm11's clock is lowered to 20MHz instead of 300-500, and voltage is lowered too.

2 will do "app sleep", arm11 is still on, but putted into low power mode (registers are still saved)

1 and 0 will totally power the arm11 off (so we have to restore registers and things ourself), don't know the differences between them.

Currently 4,3 and 2 are known to work, and 0 known not to work, i haven't tried the other ones yet.

I use the 2 daily and i had only two reboot/freezes in 3 days of use.

I update the wiki to add these informations.
[Touch Diamond, MDA Compact IV ROM Development] 00hero00:
Is there a data traffic app on the market which is working with our android ports? Because Net Counter isn't working for me..
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
this: "Android-DIAM-20091103-UTB"

at this moment the link http://www.connect-utb.com/ doesn't work..
[Touch Diamond, MDA Compact IV ROM Development] klinux:
use the build in the wiki page it's better at least for me(look at my signature) with connect utb's build I faced BT pbs

with the latest kernel it's realy amazing !

@phhusson : tried pm.sleep_mode=1 doesn't work I'm stick to 2 for now
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
I've done some other tests about sleep issue:

If you intent to really use your phone (meaning with more than 2hours.), don't activate wifi and bluetooth, as having these activated (event if disactivated afterwards), prevent sleeping from working (system wakes up as soon as it enter sleep).

Also I tried phone and SMS with system sleeping, it just works, but android takes ~ 3 seconds to start ringing, and 5 more to show infos on the screen. After this first call (since the last reboot), it shows and rings in less than 1second after network is ready.
[Touch Diamond, MDA Compact IV ROM Development] Kurley:
Hi all,

I've downloaded the latest android build for diamond from connect-utb. It runs really great, but I can't get the data connection to work.

I added the vodafone live apn and I can see a G with two arrows next to the reception bars, but I can't browse or use anything that uses the data connection. What can be the problem? I use the following APN settings:

* Name: Vodafone live!

* APN: live.vodafone.com

* Proxy:

* Port:

* Username: vodafone

* Password: vodafone

* Server:

* MMSC: http://mmsc.mms.vodafone.nl

* MMS proxy: 192.168.251.150

* MMS port: 8799

* MCC: 204

* MNC: 04

* APN type:
[Touch Diamond, MDA Compact IV ROM Development] klinux:
I didn't try this build enough to say if it's ok with connexion but phhusson/leobaillard last build is great 3g is ok bt a2dp and wifi are ok at least for me diam100 u can give it a try look at my signature
[Touch Diamond, MDA Compact IV ROM Development] Kurley:
Thnx for your quick reply :)

downloading right now :P

I'll let you know if it works or not.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
little contribution ;)

for those who are tired from waiting winmo to run just to launch android I did a little mortscript file that launch android

extract the zip file in the windows\startup folder

reboot phone a popup message will asks u if u want to launch Android u have just to click the action button then keyboard initialization is done !

after 15s (u can adjust it) haret launchs

of course click no did nothing :)

hope it'll be useful

cheers

I noticed that the trick with keyboard initiation is the backlight should be off before haret launchs

EDIT:

this one works better for me diam100 winmo 65 energyRom
[Touch Diamond, MDA Compact IV ROM Development] Kurley:
I tried the phhusson/leobaillard build, but I get the same result as with the connect-UTB build:

A G or 3G shows up next to the reception bars, but I can't browse or use any program using a data connection. Maybe it is the radio version I am using (1.13.25.24)
[Touch Diamond, MDA Compact IV ROM Development] silex:
This thread is so long. Is there a how-for the DIAM500?

EDIT: Crap, my Diamond won't boot past the Touch Diamond screen with ROM info. How do I fix it?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
I just tried an autonomy test for my android. My battery was fully charged, and i waited 3hours, i then rebooted into windows to see its battery meter and .... 93% ! :-)

As specified in the wiki, it needs no BT, no wifi, no accelerometer to get real suspend working, and pm.sleep_mode=2.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
can u describe what u did may be we can help u
[Touch Diamond, MDA Compact IV ROM Development] c4software:
no accelerometer ? you have disable it ? or you never activate it/use it on Android ?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
As said on wiki (again.), no app use it even in background, (I had to kill abduction for example).
[Touch Diamond, MDA Compact IV ROM Development] c4software:
@phhusson, sorry... i don't have seen any information about the accelerometer on the wiki. Thanks for the information.

The only bad point with the pm.sleep_mode=2 its with the dpad sometimes led under home/back/hangup/call stay on.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
No problem, i'm still updating it very often and it isn't very short :D

Right. Added to the todolist.
[Touch Diamond, MDA Compact IV ROM Development] silex:
I fixed it by doing a power+volup+reset into the bootloader and flashing the OEM Sprint ROM to it. I'm back in and ready to try some Android action!

Does the DIAM500 need certain startup.txt parameters that other models don't? Still needs to be connected to ActiveSync while running haret? We really need a how-to for each model.
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Testing pm.sleep_mode=2 over night.

So far working nice, no reboots (BT and Wifi disabled, no apps using the accelerometer). Will see in the morning :) Hope it still wakes up.
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
I don't find it, can you give me the link?

I've dowloaded the "calibration" file..but..I don't understand what I've to do!

please, someone help me :p

bye, peace
[Touch Diamond, MDA Compact IV ROM Development] klinux:
OK u didn't see the link in my signature :D

now it's better ?=> http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut

cheers
[Touch Diamond, MDA Compact IV ROM Development] tygold:
After a long time without testing the new Android build i have tried the current one and its awesome - great work :)

I am almost tempted to get rid of winmo right now and thus pray that you get the charging an energysavings to work :)

Keep up the great work,

Tobi

p.s. right now i am running with pm.sleep_mode=2 and it looks promising :)
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
ok..

and to enable wifi? what I have to do with calibration file?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
Just copy it to the root of your sdcard
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
wow ok, I thought to rename this file. Thanks for the infos, bye
[Touch Diamond, MDA Compact IV ROM Development] klinux:
Did someone tried my little mortscript file in post #5489 ? it realy resolved the keypad initialization pb at least for me
[Touch Diamond, MDA Compact IV ROM Development] silex:
Success!

Android 1.6 is now running on the DAIM500. Some caveats:

1) Must be booted Activesync and remain plugged in after Android logo otherwise phone turns off.

2) Appears there is not a 'Menu' button assigned so make sure you don't accidentally screen lock the phone...

I used Mr. Pippy's 'diam500_android_config.zip' file renamed to 'config' in root and 'android-donut_diam-raph-01-11-09.7z' updated with 'build-update_donut-1.6_2-11-09.7z'. Unfortunately it runs real slow and still isn't very usable.
[Touch Diamond, MDA Compact IV ROM Development] gleng:
Isn't "diam500_android_config.zip" the config file for compiling the kernel (zImage file)?

Besides that, are you using the included kernel? What mtype are you using? Is the colour correct and do you get hardware acceleration (can you run the neocore benchmark)?

Thanks in advance
[Touch Diamond, MDA Compact IV ROM Development] zappit:
Im verry happy with currect build.

I got working phone, data connection, wi fi, bluetooth. if only i could send SMS i would used it as main OS

EDIT: fixed SMS , Android rulez
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Well...it died somewhere in the middle of the night. :(
[Touch Diamond, MDA Compact IV ROM Development] klinux:
battery test

with diam100 bt wifi off accelerometer don't know how to shut it down pm.sleep_mode=2

still working from yesterday 13hours without any pb !

6h from full charge android battery indicates 34%

will post any changes tonight

cheers
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Do you have 3G/EDGE connection running?
[Touch Diamond, MDA Compact IV ROM Development] kholk:
Fast as hell, almost perfect build, except PM.

Battery doesn't charge.
[Touch Diamond, MDA Compact IV ROM Development] clownfish:
great build

I watched this project for a while now, and I must say; you guys are great! I'm not really a fan of windows mobile, I bought the touch diamond because you can change so much about it (almost every little software detail). And so I'm very happy with android comming to the touch diamond.

I tested the latest build on my phone, and it works great. There are a few little things that still don't really work, like the battery and the camera, but I suppose they will be allright soon.

The only question I still have is;

Android is now booting through haret, and haret needs to be started from windows mobile. Is there a chance that android will be available as a rom, so you can use it instead of wm? Or do you guys thing android will stay a toy on the touch diamond and will not become a real os?
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
It has been said that an Android ROM will only be discussed after everything is working through Haret.

So we won't see it soon.

And even if it does not become a ROM, there is no reason for not using it as a real OS once we have everything working. We'll just need to see WM when we reboot the device, which would rarely happen anyway.
[Touch Diamond, MDA Compact IV ROM Development] _-1g1-_:
Can somebody help with the System.img issue.

I tried so many builds now (this included http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut) but nothing worked. Every build each error message ..

Would be awesome :)

Cheers
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
What error message?
[Touch Diamond, MDA Compact IV ROM Development] :
about which build do you talk? where can i find it? because there is no new kernel on utb an glemsom..!

ty

lukas

ps: i would even pay for android on htc diamond...
[Touch Diamond, MDA Compact IV ROM Development] clownfish:
Yes that's right, I know. But it costs you a bit of your storage memory to have wm and android on one phone. Not that that is the biggest problem, but I hope android once will be a real OS on the diamond.

If there's anything I can do to help you guys in develloping, than I would like to do that. The only thing is that I don't have experience in that, only in wep-develloping.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
I plaid with my phone 2 hours, and it had enough battery for the whole day ! (7.30am to 7pm). It's still not as good as WM, but android is really usable now in the autonomy point of view !

PS:Ok i cheat a bit, i'm using my 1350mAh battery.
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
I would assume from the info that he's given that he go ph's newest build booting on his diamond500. Something I haven't been able to do yet (stalls out @ activating a clock or something), I'm also curious about what mtype you're using etc etc. Yes, the diam_android_config file is the .config file used to compile the kernel. I've tried with my phone plugged into chargers, computers etc but same results all the time. Anyone else have any success booting any of these newer zimages on their diam500's?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
Realy satisfied ! :D

Final result with 900mAh battery it lasts from 8a.m to 7p.m which is great !

P.s: I didn't do the battery test with 3G on even on winmo :D with stock battery wifi & 3G drains battery like hell !
[Touch Diamond, MDA Compact IV ROM Development] klinux:
IMO I prefer to have two OS and I choose which one to use, even if we can use it as a ROM, I can save data.img (and even use it with my hd ! :D) even if I prefer android, I'm still more familiar with winmo

add to this I did a little mscr file which give me the choice of running android or stay under winmo

If u consider android a toy I consider it OS which is as flexible as winmo (even better) and as fast as iphone OS !

cheers
[Touch Diamond, MDA Compact IV ROM Development] klinux:
look at my signature there a link to a wiki page where everything is explained

cheers
[Touch Diamond, MDA Compact IV ROM Development] klinux:
did u run it with usb plugged in ?

it works fine for me
[Touch Diamond, MDA Compact IV ROM Development] klinux:
sorry double post
[Touch Diamond, MDA Compact IV ROM Development] klinux:
I use it as main OS today had 15min calls 2sms it was off at 7p.m.

more important : no reboot at all ! on standby phone is as cold as ice :D

I added pm.debugxxx=2 to cmdline my phone continue to vibrate even if I killed all processes that uses accelerometer

PS: I'm cheating too I had 2 900mAh batteries. ;)

I'm using the second one now

cheers
[Touch Diamond, MDA Compact IV ROM Development] _-1g1-_:
losetup: /dev/block/loopi: No such file or directory

Failed

Failed to find system.img on SD Card

/bin/sh: can't acces ty; job control turned off

Dunno where to find system.img ...

Cheers and thanks :)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
The strange thing is for me that it reboots during night, but not during the day.

Anyway the "cold as ice" thing is really strange, during my tests i was wondering if it crashed or what, but no it just do its job well :)

Well it vibrates around once every 30 seconds, which means the system is awake for <200ms every 30seconds. I don't know windows mobile stats, but this seems really fair. (and i don't know how to check whose responsible of the wakeup anyway :rolleyes: ).

Next step to improve autonomy will be to stop the panel (currently it's still up by default unless setting board_htcdiamond_panel.type=1 or 2, but resume is unlikely to work.)
[Touch Diamond, MDA Compact IV ROM Development] klinux:
one thing is sure that's android works 18hours with no problem at all, I plugged in the whole night and use all the day. pm.sleep_mode is set 2

no 3g connexion of course, I use it as a phone.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Fixed in last git. Wait some times for GlemSom to rebuild (i flooded him with pushes :D).

If you want to debug sleep or have fun (or both :p), you can do things like echo 2048 > /dbgfs/micropklt_dbg/sleep_leds . You'll get the "CCW leds effect" when system is in sleep. You can look at http://htc-linux.org/wiki/index.php?title=RaphaelMicroP for other bits you might want to set. (1024 is cool too)
[Touch Diamond, MDA Compact IV ROM Development] klinux:
@phhusson f5ing :D

this is my startup.txt if it could help someone ;)
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
The recompile is now done. (And yes, he DID flood with commits!) ;)

On another note, "special-diamond-raphael-wifi-bluetooth" now uses a defconfig commited to the tree today. (Thanks to phh!).

I will keep using this defconfig - as it's maintained IN the tree now!

I guess we can soon drop the diamond-only and raphael-only builds - in favor for the new combined diamond/raphael builds.

Which, in this case will be supplied with wifi modules as well. :)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Speaking about that, please report any regression between this diam+raph build and the diam XOR raph build (for the same patchset.)
[Touch Diamond, MDA Compact IV ROM Development] kholk:
I was meaning that on (so much) older builds, I can charge the battery while Android is running and without having to reboot to WindowsMobile.

However, even if I run it with USB plugged in, it won't charge.
[Touch Diamond, MDA Compact IV ROM Development] matrix77:
How can we take a screenshot on android and how to run programs that need rooted Android?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
realy strange, I tried both usb>pc and usb charger they are ok even if unplug and replug usb it continue charging

did u tried the previous kernel ? I mean which is on the 11/1 package, with this one charging status was ok if u launch haret with usb plugged in and if u unplug usb android gives no charging status

@phhusson I'd prefer the echo 1024 effect ;), how can I create batch in android ?

I tried *.sh file extension it wouldn't execute

cheers
[Touch Diamond, MDA Compact IV ROM Development] killzusall:
I've just installed ubuntu 9.10 and followed the instructions on source.android.com to try and setup an environment to play around with android development. I've cloned the git at

git://gitorious.org/linux-on-qualcomm-s-msm/linux-msm.git

but it goes on about "repo" and I can't it to do anything, it just says repo is an unrecognised command. and I can't get JDK 5.0.

Any suggestions to fix these problems?
[Touch Diamond, MDA Compact IV ROM Development] manekineko:
Any chance you can post up the files you're using? Or a walk through of how you've gotten it to work?
[Touch Diamond, MDA Compact IV ROM Development] sibbor:
That will most definatly be the best! In this case lots of problems because of wrong configs should go away, and proper bug reporting can be provided from the users.

Sad my DIAM100 is dead (fooling around with my gf's DIAM100 now and then), because of all the great spirit that's been put into this/these project/-s! Awesome, really awesome!

GlemSom, glad to see that you decided to come along on our journey. You've been to great help!
[Touch Diamond, MDA Compact IV ROM Development] flymanj:
Buttons are messing

Hello,

First of all I have to say that the last build is really GREAT. So great work guys.

The Data Connection is working, the Wireless also works (I've noticed that there is most probably a problem with the AES encryption of the WPA).

It is really responsive.

The only annoying thing is that from one moment it starts messing which key is pressed. I feel that the keys are preset and when I press the backslash it thinks that I pressed the close button. And it is hard to Unlock the phone.

When I start pressing all the keys from one moment (I don't know still when but it starts working again fine). I feel that the keys are messed after the going to sleep of the phone.

Do you have the same problem and do you have an idea how to fix it.

Basically I feel that the Android is almost ready for everyday use (when I manage to fix that issue I think to try to use it). I really prefer it to WM.

Thanks and Best Regards
[Touch Diamond, MDA Compact IV ROM Development] yann79:
No key maped

I have the same problem with diam 100 but from the starting of the android OS. It boots properly, but i cannot unlock the screen. It feels like no key is maped. I have then to reset the phone. Wereas it was working with previous versions...

Using Android Donut1.6 from 11/2/2009.
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
What device do you have? Please make sure that you use the keys in WinMo before you boot into Android.
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
Please make sure that you use the keys in WinMo before you boot into Android.
[Touch Diamond, MDA Compact IV ROM Development] divxmaniak:
Which button? :confused:
[Touch Diamond, MDA Compact IV ROM Development] rattenfanger:
I have a similar problem. When the phone went to sleep and I try to wake it up it sometimes doesn't respond the way it has to. When I press every button it wakes up after some time. I tried some times but can't reproduce exactly how I got it awake. The problems does not occur every time. Maybe once a hour or something.

Rene
[Touch Diamond, MDA Compact IV ROM Development] flymanj:
My Device is DIAM100.
[Touch Diamond, MDA Compact IV ROM Development] divxmaniak:
Not yet a solution for using Diamond with headphones?
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
The latest kernel has some support for headset. However it might not work completely.
[Touch Diamond, MDA Compact IV ROM Development] matrix77:
So nobody knows how to do this? :(
[Touch Diamond, MDA Compact IV ROM Development] klinux:
download picme from the market
[Touch Diamond, MDA Compact IV ROM Development] Nakebod:
A while ago I reported the high load on Android. My current load: 4.13 5.40 5.48. Although the device in general is responding very fast, I still think that this load is still quite high. In idle state it should be near 0, but even a load of 1 should be better :+

So I decided to watch "top" for a while. My 4 "suspects" at the moment are:

system_server Possible cause

android.process.media

com.android.phone

mmcqd

These 4 processes pop-up on a regular base.

I don't know if there is a clear cause for this, but just reporting this to you guys, maybe that we are able to get Android even better/faster then it is right now :)
[Touch Diamond, MDA Compact IV ROM Development] iullian:
Unlock Screen

I simply cannot unlock the screen. I succeeded only one time to unlock and that's it! How can I unlock the screen? How can I make the screen not to lock?

Another problem. When I receive a call, I don't get any buttons for answering / rejecting the call. Is it normal?
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
from the Wiki . http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut

Known bugs are:

* PIN code is always incorrect. You must disable PIN security in windows mobile. (fixed ?)
* Wifi use is still random. Prefer fixed address if you can.
* If android disable wifi by himself, and the interface says "disconnected", then the phone heats up and consumes a lot.
* Camera and GPS not suppported. Using GPS will most likely freeze the system.
* To let android set the screen brightness, you must set windows mobile's backlight to anything else than auto.
* Accelerometers axes inverted in some apps
* Bluetooth is really low range
* No stylus detection management
* No wired headset support
* HSF,AVRCP profiles are not supported (but A2DP is)
* [B][COLOR="Red"]Sometime the panel buttons aren't responding. Just reboot. It seems you have most chances to get it working by using it in WM, but not to start haret.)[/COLOR][/B]
[Touch Diamond, MDA Compact IV ROM Development] qumani:
Slight problem

okay I have tried various builds throughout the last few months but havent experienced this before.....

If I use the 11-5 connect utb for RAPH (fuze specific supposedly, however I dont see how they say that other than the unnecessary inclusion of the apn info in the startup text) I am fine and can boot/ use android w/o issue, however when I try to include the package w/ charger connect/disconnect I get non responsive buttons.... have tried to boot several times and get not better results. I even went as far as flashing my ROM thinking that it was a incompatibility issue.

Not asking for anyone to fix my device =), just simply an observation. I will try a few different combination and let you know how it works out