yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] bigstoo:
I try to use it daily. GPS and Camera aren't an issue for me and if I do need to use them I just drop back into WM.

The only BIG issue I have is the problem with waking it from standby. Shortly after boot, it works perfectly but as the day goes on it gets more and more difficult until eventually it won't wake.

It seems the menu key (the one with a little house on) only works when it is lit up. And as the processor gets more and more busy it fails to activate the hardware keys. Is there any way you can map wake-up to another hardware button?

I'm running a RAPH120, by the way.
[Touch Diamond, MDA Compact IV ROM Development] yann79:
To wake up the phone from standby

To wake up the phone from standby:

On DIAM100 I use two times the Top button. Then it back light the screen (but the screeen is dark). Finally I push two times Home button. It works 100% percent on my phone.

On RAPH it might be the same...?? :rolleyes:
[Touch Diamond, MDA Compact IV ROM Development] stefand:
Here is my working udev file for ubuntu 9.10 .

My /etc/udev/rules.d/51-android.rules contains:

SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c01" ,MODE="0666"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="0c02" ,MODE="0666"

Don't forget to restart udev or to reboot.
[Touch Diamond, MDA Compact IV ROM Development] bigstoo:
Unfortunately it doesn't work for me on my RAPH120. In fact, pressing the top button seems to stop everything else working when in standby.
[Touch Diamond, MDA Compact IV ROM Development] Razzee:
somethings really wrong with the battery detection. every 5-10mins I get a warning because the battery drops under 15% and then after a few secounds its back up, to a higher point. it probably shutups early due to this bug...
[Touch Diamond, MDA Compact IV ROM Development] catfishk:
on my RAPH800 i can wake it up by pressing the Home button, usually twice in a row (slowly ;) ). the first press turns on the back light, the second press the screen wakes up every time
[Touch Diamond, MDA Compact IV ROM Development] axelo:
RAPH100 using zImage-modules-20091210_235310

i'm currently testing Android using the package from UTB-Connect with the latest kernel from http://glemsom.anapnea.net/android and I'm having some mixed results. Pretty much all the hardware is working incl. GPRS, SMS, Wifi, BT, etc. There are issues with the Wifi, but the major issue is the power management - both the battery indicator (unusable) and standby (unusable). Overall the android on raph is definitelly a better way to go than hoping for a miracle windows rom, as the android is already faster and more user friendly and i'm really hoping for a perfect kernel to come soon.

my startup config is "msmts_calib=0x6D.0x5D.0x340.0x375 lcd.density=210 msmvkeyb_toggle=off wifi.mac=00:18:41:C9:7E:B1 board-htcraphael-navi.wake=1 pm.sleep_mode=2 pm.debug_mask=2" and debug of pm results in vibrations each second, with a long vibration apx every 10-15 sec resulting in major heating of the phone. when pm.sleep_mode=3 the vibrations are similar. the phone does correctly adjust the backlight to save power and it does switch off after preset time, but as soon as it goes into standby it starts to vibrate.

usualy after few hours of using the phone its impossible to wake it from standby... in most cases having the phone frozen on the home lock-screen not responding to any keypresses (yet the buttons do respond with backlight).

i have also noticed that there is no support for Sim Toolkit Applications (STK), but i haven't found any notes regarding this anywhere - is this a known problem, or is there any hack to get specific STK application to show up in the menu?

p.s. if there is a better forum to post my comments, just please let me know.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
It's not clear wether you know it or not: the pm.debug_mask=2 thing is the option which tells the kernel to vibrate on suspend, to delete the vibrate on suspend just remove that option ... But this option is useful to debug sleep. So what you're saying is that the phone come back from sleep every 10seconds, which is not too bad (but I get something like 40s...). But I don't understand how the fun can be stay vibrating when system's sleeping...

Most likely it's the mmc access which is frozen, I'm trying to fix that, but it's really tough.

Hum I don't know how useful these apps are actually, I'm not even sure of what this is -_-

Any infos somewhere ?

This one is right, you can also post on the bugtracker link in my signature.
[Touch Diamond, MDA Compact IV ROM Development] axelo:
power management issues & stk support

nono...its vibrating shortly every second and there is a longer vibration every apx 10sec... it's like its trying to wake up every second, but every 10 seconds it tries harder :-) i enabled the vibrations on purpose to be able to provide debug info. i can make a video for you :rolleyes:

i'll try to find an exact procedure to replicate this. there is actually a procedure to shut-off the button backlights by touching them without pressing... in my case the backlight stops after apx 20-30 touches. after that it becomes trickier to wake up the damn thing and i have to try various combinations of 2xend, 2xhome, 2xpower to wake it up.

Beside the usual crap provided by the operator, there are important STK apps like banking access applications... in my case - i need STK to acces my bank account... without it, i have 0 chance of getting the AUTH keys to access my accounts. i found this info about STK on android http://pdk.android.com/online-pdk/guide/stk.html - not sure this is usefull for you.
[Touch Diamond, MDA Compact IV ROM Development] beblioy:
can i change the theme of android

can i change the theme of android ? I want look like HTC hero please help!

I have HTC diamond... (sorry for my English)
[Touch Diamond, MDA Compact IV ROM Development] beblioy:
please help me ... :(:(
[Touch Diamond, MDA Compact IV ROM Development] axelo:
Hero uses Sense UI, which is not ported. It's not a theme but a special APP from HTC.
[Touch Diamond, MDA Compact IV ROM Development] WenWM:
The Progress on this is so!!! Fast
[Touch Diamond, MDA Compact IV ROM Development] beblioy:
is there a general themes of this Android ??
[Touch Diamond, MDA Compact IV ROM Development] beblioy:
how to get the camera to work ??

(sorry for my English)
[Touch Diamond, MDA Compact IV ROM Development] Nakebod:
Write a driver, load it, and if it works, share the source with us.

Simple.
[Touch Diamond, MDA Compact IV ROM Development] beblioy:
where i can download this driver ? i have htc diamond some help please
[Touch Diamond, MDA Compact IV ROM Development] beblioy:
and how to connect to a PC while in Android
[Touch Diamond, MDA Compact IV ROM Development] chemical1979:
beblioy, please. stop updating this thread with useless questions. Android is NOT YET WORKING and that basically means: FOR DEVELOPERS ONLY.

Please read (and try to UNDERSTAND what you read) on this page: http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut
[Touch Diamond, MDA Compact IV ROM Development] beblioy:
ok i'm so sorry
[Touch Diamond, MDA Compact IV ROM Development] Razzee:
so is anybody working on android 2.0?

or are we just pushing 1.6 to perfection? :)

anyway working great so far. I'm sure we get the other things sorted out.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
He said write
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
There is no real point in porting to android 2.0 (well backlight and proximity sensor use could be nice), still i'll try when I have enough time
[Touch Diamond, MDA Compact IV ROM Development] pik0n:
sms (n)

Hey boys, i'm crazy with the sms sending. Well, I can recive but i can not send. I've tried all of this forum and i've the build of Sat 12 December from this page:

http://glemsom.anapnea.net/android/htc-msm-android/

It's supouse to work with this zImage.

My config in WM is 0034(numberservice) i've tried with +34(numberservice)

But no luck i don't know what to do. Help me please

Thanks in advantage

Jordi

Spain
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
IT'S NOT LINKED WITH THE ZIMAGE AT ALL.

And to everyone, stop spamming glemsom's comments with that, THERE IS NO LINK AT ALL.

Maybe try with the "assuming local" number (for france it means +33XXXX or 0033XXX gets 0XXXX, don't know for other countries)
[Touch Diamond, MDA Compact IV ROM Development] _-1g1-_:
Might be interesting dzo managed to flash Linux on the htc Vogue (http://xdaforums.com/showthread.php?t=593786) and currently there is a Bounty about $1270 to get this thing working on Rhodium. (http://xdaforums.com/showthread.php?t=596370)

Cheers keep up your good work :-)
[Touch Diamond, MDA Compact IV ROM Development] pik0n:
hy. I said that i've tried with 0034xxxxxxxxx, 34xxxx and +34xxx and only works with windows mobile, i'vealso tried with atcomander and puttiing 129 and 145. But nothing. Some suggestions?

Thanks
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Well...it has been said in this thread, that there will be no bounty...but frankly, i think, that makes all the difference. For example, dzo has no Rhodium, and he did most of the work on the rhodium port... Now he's got someone to send him his rhodium, so he can port stuff more efficiently.

The diamond thread has no bounty and it's clear to me, that's why we lost some developers. The greatest respect to phusson (and glemsom for his webpage ofcourse), who are still keeping it up.

Heck...these people are doing it practicaly for free. Anyone can download it and use it. And all people do is nag, how this and that isn't working. At least there could be a bounty.. and if just couple of users contribute 10$/10€, well it's better than nothing, and it sure as hell is keeping the motivation up. I think it should be best, to take the bounty back into consideration...

My 2 cents.. (well...i'm willing to contribute more ofcourse :) )
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Well I got around 100€ of donations, all from blackstone users afaik. But users won't keep complaining, asking noob questions, noone is able to make good bug reports (not even speaking about helping (just some CDMA users), I have not much free time now (thanks studies.) and current status of android on diamond is enough for my use, so it's likely I'll stop soon too.
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
I totally understand you. I study too (computer & information science), and i would very much like to develop for android, but i'm affraid i don't have the knowledge nor the time. But hypothetically, wouldn't you (or any developer) be more motivated, if there was a bounty? I know i would... and i think cr2, dzo and all others would be still developing for diamond.

This port has gone a long way, and its already in its usable stage. But there's still alot to do (i think we all agree on that).

I don't mean to offend anyone, it's just my observation, that this project is slowly dying. It has come to sort of a BETA stage...and now it's halted. Well...we'll see... I always like reading this thread (and will continue to do so).
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
There is no big problem about knowledge. I knew only standard desktop linux until september 2009, I never worked in kernel before either, and I first got a smartphone on july.

That's always the biggest issue :)

I'm already giving as much time as I'm able to, a bounty won't be enough for me to give even more time on this.

I think so

As I stated earlier, for me it is really usable, it's as stable as WM, or even more stable ...

The only problem for me is some lacking features.

Speaking about that, whatever was said before, here are my bounties, I'll give:

- 10€ for working GPS in Linux (porting to android can be done easily after that),

- 5€ for rear camera (driver already exists, it's just a matter of initialisation)

- 5€ for front camera,

- for really working wifi (like roaming without restart it, low power mode, etc) using TI's driver 5€, using wl1251 driver 10€

- 5€ for working power collapse (and I'll double check this time, not like my previous commit :rolleyes:)

- 5€ for using system/rootfs from NAND shared with wince

- 5€ if there is a fix for more stable MMC (don't know if this is even possible)

- 10€ for global power management optimisations (more devices shut off during sleep, without killing BT and wifi)

- 5€ for blackstone's panel management.

Even if I can use android without these things, I think it's the most important things to do, and I don't feel like doing it by myself.
[Touch Diamond, MDA Compact IV ROM Development] axelo:
BOUNTY

I'm definitelly on for the BOUNTY. Right now phhusson got it pretty far, but as I'm an RAPH owner, I can't use the current version as my primary OS mostly because of the terrible power management (and i don't want the phone to burn a hole thru my pocket)...

I will definitelly get myself a new HTC Bravo when it's released in 2Q/10 but untill then i'm gonna stick with my RAPH100 and having a fully usable Android would be awesome. Count me in for 100eur...

I'm definitelly in and I already told phhusson that I want to help and do my part of testing.
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Well, then i might just give it a try. Just not right now, have some stuff to do at the university, but next year maybe.. Might i PM you, if i get stuck anywhere in the preparation stage?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
No problem.
[Touch Diamond, MDA Compact IV ROM Development] Razzee:
can you provide us with some links to get started?

I found an article but it's not finished....

http://www.htc-linux.org/wiki/index.php?title=QuickDeveloperStartGuide

:/
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
First build a kernel with the help of http://wiki.xda-developers.com/index.php?pagename=BuildTheRaphaelKernel

Please note that current branch is no longer 2.6.25 but 2.6.27, and recommanded kernel defconfig is htc_msm_android_defconfig

Then read and understand kernel sources, mostly in arch/arm/mach-msm, you might first read board-htcraphael-navi.c, should be one of the easiest file to read and understand, and smd*, proc_comm* and clock* are the hardest one to understand. You might also read htc-linux's wiki in the meanwhile, and comparing code to doc. For user space, you can read /init file in rootfs.img and /init.donut.rc, maybe aslo the /init of the initramfs to what start do.

For user land part, download android sources (donut's one preferably, but another one would be fine too), check adb logcat to see what's going on, and check sources (grep is your friend.), to see what's actually doing.
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
The problem I see with a bounty is that there is no "one guy" who gets it all done. There are a lot of people who have contributed to this. So who would the bounty go to? Would be rather lame if the guy who got the final piece of the puzzle together got all the glory, while all those who placed the other pieces get nothing..

And again, I refuse to believe that people are working on this for money. But I may be wrong...
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
That's why I give bounties for precise things, not just for "working android on diamond as a ROM", theses tasks can't be shared by many peoples, maybe two, but most likely only one.

This can be a huge incitative.
[Touch Diamond, MDA Compact IV ROM Development] axelo:
Power management info

so i did a test of power management on RAPH100 with todays kernel and its interresting what the battery usage displays after 60 minutes of phone being suspended:

Display: 43%

Android System: 34%

Media:10%

Cell standby: 5%

Android OS: 4%

Android Core Apps: 3%

Phone Idle: 2%

During these 60 minutes the clock got 30 minutes off and battery got from 100% (charger disconnected when android was completelly running) to 56% (reading done in Android before reset showing 56% max and checked with tBattery in WinMo after restart). There were NO phone calls made during this time, no SMS sent, WiFi was disabled, Background data disabled.The phone was pretty much absolutelly idle.
[Touch Diamond, MDA Compact IV ROM Development] axelo:
ok, then my 50eur will go to the developer who will get the power management fixed to the point, that i could actually use Androidon my RAPH100 for 1 full day :-)

another 50eur for getting STK services working with android.

an extra 25eur for stable WiFi

this makes it 125eur from me. anyone else to join?

HARET is not a problem for me and I don't need ROM. I'd like to have a usable phone
[Touch Diamond, MDA Compact IV ROM Development] suksanto:
I've already donated a small amount to PHH, I'm willing to offer 50 EUR for a working GPS
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
Maybe it would be worth starting a separate "donations" thread at: http://pjottrr.no-ip.org:81/redmine/projects/androidphh/boards ?

Currently there's very few developers on this project - I guess it would be nice if we could have more!

My contributions is on form of the autobuild service - which I'll keep hosting for quite some time! (Even though it costs me money every month... server costs... electrical bill... etc)

Every kind of contribution is welcome here! If we all pitch in a little, I have no doubt we'll succeed in this project!

I really like the idea of bounty-prices! I DO believe it can motivate other developers to help out! :)
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
Ive managed to compile a kernel image and will do some testing this week.. Hopefully I will be able to contribute something..
[Touch Diamond, MDA Compact IV ROM Development] Nakebod:
Coolio :)

Good luck, and hopefully we will see some nice stuff from you :D

Just had a LOL moment when I was reading the comments @ Glemsom's site. When there are is a new release, the default comment is always something like "faster" and "more stable" every new release.. So I'd think that we currently have a rocket powered Android release which can't crash :D
[Touch Diamond, MDA Compact IV ROM Development] Razzee:
I failed at compiling :/
[Touch Diamond, MDA Compact IV ROM Development] Untouchab1e:
If you follow this guide, it should work out just fine!
[Touch Diamond, MDA Compact IV ROM Development] babijoee:
Over at the Vogue forums, Zenulator has released a generic Eclair build for the Vogue. The system boots all the way upto the Android setup screen but then completely freezes. I've attempted to modify the rootfs.img and add support for Raph/Diamond but with no success. Perhaps someone who has worked with rootfs can try and see what they can do.

Polyrythmic has done so for the Kaiser and has got it working. It lists what changes he applied so hopefully someone can try this for raph/diam/ :)

http://xdaforums.com/showthread.php?p=5144644
[Touch Diamond, MDA Compact IV ROM Development] Ronnymes:
Found machine Gereric ARM v6
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Errors:

Unexpected input =1439

Expected numeric

Undefined MTYPE
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Remove the = from default.txt

It asks for Start of ram (RAMADDR)
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Tried HaRet 0.5.1 and still freezes at green 'booting linux' bar.

The newer HaRet I will try when I know how to enter the RAMADDR command for start of ram in Default.txt for Diamond.
[Touch Diamond, MDA Compact IV ROM Development] Kisja:
Found machine Generic ARM v6

Still fails to start (RAMADDR Error)

Should it look like this?

set MTYPE 1439
set KERNEL zImage
boot
[Touch Diamond, MDA Compact IV ROM Development] marbalon:
Try to set RAMMSIZE and RAMADDR, these are values for Kaiser, so try to setup correct for you device, or try this one.

default.txt:

set MTYPE 1439

set KERNEL zImage

set RAMSIZE 0x7800000

set RAMADDR 0x10000000

bootlinux
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Freeze at booting linux ;)
[Touch Diamond, MDA Compact IV ROM Development] marbalon:
I've just raplace kernel image in attachment above. Try this one.

If not booting try to add empty file earlyharetlog.txt. It enable logging for kaiser and attach it to next reply. I think haret should found generic msm machine not ARMv6. So maybe this is a problem.
[Touch Diamond, MDA Compact IV ROM Development] Kisja:
Same problem here, freeze on booting Linux
[Touch Diamond, MDA Compact IV ROM Development] marbalon:
Like I said. We need patch haret sources. Haret should detect msm machine. But I dont have cegcc instaled on my sysytem. Give me a little time to do that and maybe I can fix that.
[Touch Diamond, MDA Compact IV ROM Development] Kisja:
Good news! Looking forward ...

Btw, its only the kernel. What about android itself? What to do when the kernel boots?
[Touch Diamond, MDA Compact IV ROM Development] Riel:
I think ROOT = /dev/

needs to be where Internal Storage is at.

CMDLINE='root=/dev/ram0 ro console=tty0'

I read that somewhere on HaRet site?
[Touch Diamond, MDA Compact IV ROM Development] teddyen66:
Mine shows: Found machine Generic MSM7500
[Touch Diamond, MDA Compact IV ROM Development] marbalon:
Try to run it and attach logs like others.
[Touch Diamond, MDA Compact IV ROM Development] teddyen66:
It freezes on boot.

Here is the log file.
[Touch Diamond, MDA Compact IV ROM Development] marbalon:
Put empty file "earlyharetlog.txt" in the same directory where haret.
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Version 0.5.1 says that indeed.
[Touch Diamond, MDA Compact IV ROM Development] pof:
Download newest haret from here:

http://handhelds.org/~koconnor/haret/

Latest one is 2008-07-26, version 0.5.1 is from 2007.
[Touch Diamond, MDA Compact IV ROM Development] marbalon:
Haret in my package is http://handhelds.org/~koconnor/haret/haret-20080726f.exe so it is newest.
[Touch Diamond, MDA Compact IV ROM Development] clovis:
maybe (some drivers can be built within kernel), but (suppousing you can) you will be stuck with this G1 version.

if they can build own kernel for diamond/raphael, then we can evolve with android.
[Touch Diamond, MDA Compact IV ROM Development] jaduvet:
developer basics

Hi all,

I really would like to help out with this task of getting the Android up and running on our Diamonds. Unfortunately i guess it will not be so - this time - since I have not done any development for handhelds before.

But as you understand of this post I really like to get in to it. I have some university skills from programming in c, c++, Java and PHP - and i hope to get some use of those.

Is there any of you experienced :cool: programmers that would like to publish some useful links on where to start? I need ALL the basics :)

Maybe there is a discussion on this somewhere else? I am specifically interested in development of Android on the diamond, therefore the post here.

FYI:

I got a Swedish "3" Tuch diamond that I have not dared to do anything with yet... So basically - where do i start? Now when i have decided to try out to be useful to the Android community?

Questions I have is for example: What development environment do you use?

What are the risks for the hardware / and existing software? And how do i reset it if i mess it up?

Ps. Please be patient with noobs like me :D and I hope we see the Android up and running soon on our Diamonds

EDITED:

FYI I have read the thread - ALL posts(!) And YES i know one could find lots of posts with some info on what I could need to get started. But I still very much would like some nice :cool: programmer to sum up where to go to get the basics. Reading all 583 posts to understand where it is best to start is not the easy way to start being useful (that was my conclusion by reading ALL posts).
[Touch Diamond, MDA Compact IV ROM Development] liamhere:
start reading the thread...that may be a start....most things you need are here