PDA

View Full Version : [PRJ][OS]Linux and Android on HTC Diamond "NOT YET WORKING"


Pages : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 [21] 22 23 24 25 26

brachialis
27th October 2009, 08:58 PM
great job!thanks, wifi is working for me with WPA2 encryption!

phhusson
27th October 2009, 09:17 PM
If you have an accelerometer/orientation based application that doesn't work, please report.
Current sensor code is really ugly, hasn't been widely tested, and has been made without clear understanding of what is expected by android from the driver. There is no doc about it in android !
So it's most likely some applications won't work.
By the way, even if i implemented an "orientation" sensor, diam/raph have no compass, so azimuth always answers 0.

bubert
27th October 2009, 09:24 PM
Rename it to .rar

Thx :) .. i`ve managed to download the files, copied them to internal storage, started the "haret.exe" to boot, but in the end it says "unable to bundle Kernel null pointer dereference" or something like that and my device restarts . Any ideea why?:|

c4software
27th October 2009, 09:26 PM
Really Really great. Really impressive. Wifi seems working great. and accelerometers too. And its really really fast.

adilkhan1214
27th October 2009, 09:40 PM
Diam 100

apparently the front panel stopped being responsive for me. IT works in most situations but before during the Haret boot, the keys would light up when I put my finger on it. Now they don't do that and it stops me from getting past the lock screen.

wondering if anyone else has this problem

Nakebod
27th October 2009, 09:40 PM
So far, it works great, but am I right if the device is slower with WIFI enabled?

WIFI works, sound works, haven't tested accelerometer yet, will check it soon :)

Edit: Tested accelerometer, it works.

If you have an accelerometer/orientation based application that doesn't work, please report.

I have tested "Flyer", and "Tilt Lander", they both work, although not very smooth as mentioned already.
The program "Accelerometer" however doesn't seem to read anything.

Oh, and Android 2.0 "Eclair" SDK is available!
http://developer.android.com/sdk/index.html / http://developer.android.com/sdk/android-2.0.html

Zänker
27th October 2009, 10:32 PM
I've uploaded a new version of phh and I build which corrects the sound in android. Thanks to babijoee for this contribution.

The link is still http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-27-10-09.7z

PS : hehehe page 500 !
Music playback now works. However, if I use my bluetooth headset, the music still stutters very much. I would really like to be able to use my diamond with android as a media player. Hope you can fix this! Anyway, you are making great progress.

phhusson
27th October 2009, 10:58 PM
Music playback now works. However, if I use my bluetooth headset, the music still stutters very much. I would really like to be able to use my diamond with android as a media player. Hope you can fix this! Anyway, you are making great progress.
cr2 already tried a lot, and got no luck yet. Anyway that's the next thing i want to do, until i get my data connection back.

Willis111
27th October 2009, 11:25 PM
double post, am I not seeing the "delete post" link or is it not there?

Willis111
27th October 2009, 11:25 PM
MrPippy, newest zimage gets me to the android splash screen but then reboots. I've tried w/my old data.img and removing the one created repeatedly. Same default.txt that I was using to boot your last kernel.

phhusson
27th October 2009, 11:39 PM
MrPippy, newest zimage gets me to the android splash screen but then reboots. I've tried w/my old data.img and removing the one created repeatedly. Same default.txt that I was using to boot your last kernel.
Can you try my (posted by leobaillard) latest release please ?
I tried to activate what's necessary for CDMA, don't know if this will be enough.

gordonnorth
28th October 2009, 12:04 AM
Hi There!

Amazing what you have done so far. Have periodically tested builds, and the last one surely is the best.

Wonder if anyone has the same symptom I have:
Wifi seems to work (Google Maps and Browser work) but I cannot log in to my Google account. Is this impossible from Wifi? (cannot imagine...)

details: DIAM 100

other observations:
Wifi works, Accelerometer works, battery still drains fast, enabling GPS does NOT freeze the phone

keep up the good work!

GlemSom
28th October 2009, 12:25 AM
I'm currently working on getting phh's wifi and bluetooth setup into my autobuild-service.

The idea is to have a tar archive, containing kernel and related modules.
I'm NOT done yeat - but you can test the progress here:
http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth/index-new.php

boas
28th October 2009, 12:41 AM
Since I love this project soo much, and since I'm in the process of making an old laptop to some usage.. I could give some special people that upload stuff an offer.

I have a very fast uplink and that to say, a lot of bandwidth to no usage. If some of you want me to, I could set up an FTP for you to upload to, that people will be able to download from directly (this will remove the annoying slow hosts)

Contact me if this is interesting. :rolleyes:

over_limit
28th October 2009, 12:46 AM
on my diamond stops runing the command port...

:(

and i rename de startup file.

help plz

jaellis
28th October 2009, 01:08 AM
OK so this works for the Verizon Diamond DIAM400 at least the 09-09-09 build I am testing out the latest build tonight I'll let you know of the progress. Thanks guys for your hard work.


Startup.txt for DIAM400
set RAMSIZE 0x08000000
Set ramaddr 0x10000000
set MTYPE 2040
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.username - The username used to connect to the network when dialing #777
# ppp.password - The password used to connect to the network when dialing #777
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 3, use 0 for best power savings
# board-htcvogue.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Hitachi 2=Topoly 3=Samsung
# mddi.width - width of the scaled display
# mddi.height - height of the scaled display (these should be multiples of 16 for the camera to work I think)
set cmdline "msmts_calib=0x81.0x393.0x358.0x7D msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=sprint ppp.username=username ppp.password=password no_console_suspend"
#set cmdline "no_console_suspend"
# fbcon=rotate:1
# console=ttyMSM0"
Boot
\init.android

over_limit
28th October 2009, 01:39 AM
can same one post the DIAM100 startup

(diamond 100)

helps :)

ydoucare
28th October 2009, 01:43 AM
Can you try my (posted by leobaillard) latest release please ?
I tried to activate what's necessary for CDMA, don't know if this will be enough.

Tried it on my DIAM500 (changed mtype to 2040) and it freezes on this line:
[8.800048] pc_clk_disable: FIXME! disabling a clock that (cuts off here)

over_limit
28th October 2009, 01:53 AM
i have this message;

failed to find rootfs.img on sd card. you need to unzip a rootfs zip file to the root of your sd card.
canīt acess tty; job control turned off

:mad::(

c4software
28th October 2009, 01:55 AM
For who want to see i have made a sample video

http://www.youtube.com/watch?v=EuLYD_8N11U (you can find it here, System is in french my native language of course :))

c4software
28th October 2009, 01:56 AM
Double post sorry...

over_limit
28th October 2009, 02:09 AM
For who want to see i have made a sample video

http://www.youtube.com/watch?v=EuLYD_8N11U (you can find it here, System is in french my native language of course :))

plz post the link of this version plz...

c4software
28th October 2009, 02:14 AM
@over_limit ... simply few page before (3 or less)

http://forum.xda-developers.com/showpost.php?p=4825283&postcount=4971

read, read before ask...

over_limit
28th October 2009, 02:18 AM
@over_limit ... simply few page before (3 or less)

http://forum.xda-developers.com/showpost.php?p=4825283&postcount=4971

read, read before ask...

im a Noob i no, but i get this error message

failed to find rootfs.img on sd card. you need to unzip a rootfs zip file to the root of your sd card.
can´t acess tty; job control turned off


and i have this version
sorry, bud i dont no what is
wrong:(

boas
28th October 2009, 02:44 AM
It would seem that this last amazing release don't want to work on my Raph.

It seems to boot fine until the the console prints "Android" then the underscore just stands flashing and nothing happens. And yes, I have waited, approx 20 mins and nothing happens still..

Any suggestions? Using the default raph100.txt that came with the pack.

Oh, I see that there are plenty of "mkdir" that fails.. Will try to dl a new pack and see if that works, but this failed before the last pack too..

EDIT: Tried a new download, still same problem. Plenty of errors really, invalid modules and several fails to create different dirs :(

klinux
28th October 2009, 03:37 AM
Thx :) .. i`ve managed to download the files, copied them to internal storage, started the "haret.exe" to boot, but in the end it says "unable to bundle Kernel null pointer dereference" or something like that and my device restarts . Any ideea why?:|

same here I use DIAM100 too, need help plz

babijoee
28th October 2009, 04:35 AM
Good to hear people are having much success with this build. :D

karlanal
28th October 2009, 05:08 AM
just have the need to say

THANK YOU
THANK YOU
THANK YOU

this is the first build that is actually usable for every day use
actually, it is not usable, it makes really fun to use it
slowly the diamond is becoming the best device on the market
wanted to buy a hero a few days ago, but now

well now im going to buy another diamond
thx again

PlackSlayer
28th October 2009, 06:12 AM
Has anyone successfully gotten this to work on a RAPH800 ? The latest pack that is - not in general.

--PS

toastcfh
28th October 2009, 06:18 AM
Can you try my (posted by leobaillard) latest release please ?
I tried to activate what's necessary for CDMA, don't know if this will be enough.

i know this isnt directed at me but i tried it on my diam500 and with mrppys kernel it boots and runs like a dream. it starts wifi but cant find a network. it says unable to scan for networks. idk but yeah it boots and runs. thank u. so.... how to use wifi?:D i cant get anyof the oder builds to boot. am i screwed?

babijoee
28th October 2009, 06:41 AM
Is anyone Panel completely shutting off :D
I'm testing the battery life and will be posting up results later today

xaoc747
28th October 2009, 08:36 AM
Not working on my Diamond!!! After calibration Soft Reset!

moffe
28th October 2009, 09:54 AM
How are the buttons on diamond defined? Back button doesn't work at least... So if you go in to some settings or something like that you can't get out from that window.

If the screen get locked, how do I unlock it. It says press menu button to unlock. But no button seems to work.

Dbdj
28th October 2009, 10:10 AM
You can find them inside the wiki:

* On/Off = Rotates Android display orientation between portrait and landscape mode (DIAM100)
* Home = Menu
* Up = Up
* Left = Left
* Right = Right
* Back = Back
* Center = Enter/Select
* Send = Send
* Down = Down
* End = End (Home, configurable in spare parts app)
* Volume Up/Down = Volume Up/Down

bubert
28th October 2009, 10:12 AM
i have this message;

failed to find rootfs.img on sd card. you need to unzip a rootfs zip file to the root of your sd card.
canīt acess tty; job control turned off

:mad::(

yup....mine too :|

moffe
28th October 2009, 10:26 AM
Dbdj: Ok... then there is some problem. Because home, back, answer and end button doesn't work. All other does.

sorrowt
28th October 2009, 10:31 AM
Dbdj: Ok... then there is some problem. Because home, back, answer and end button doesn't work. All other does.

Same Problem here, DIAM300

Marcellus_pnz
28th October 2009, 10:34 AM
There is a great progress in the latest build.
At last, the touchscreen is near to usable - less misclicks.
For me (DIAM100), accelerometer seems to be vertically inverted (android thinks top of the screen is the bottom). Maybe horizontally too, i don't know - it rotates the screen when I rotate the phone to the left (d-pad is on the right).
Can't connect to my WPA2 wi-fi network. Nothing happens when i hit Connect.

Thank you guys, for you effort!

ydoucare
28th October 2009, 10:42 AM
i know this isnt directed at me but i tried it on my diam500 and with mrppys kernel it boots and runs like a dream. it starts wifi but cant find a network. it says unable to scan for networks. idk but yeah it boots and runs. thank u. so.... how to use wifi?:D i cant get anyof the oder builds to boot. am i screwed?

man, how are you getting this to work on diam500? mrpippy's kernel just powers off after the android logo for me. tried everything, i don't get it.

Dbdj
28th October 2009, 10:44 AM
Dbdj: Ok... then there is some problem. Because home, back, answer and end button doesn't work. All other does.

Ok, sorry I didn't understand your request...

This build doensn't work on my Diamond... it soft reset after an error with a pointer reference of the kernel :mad:

IceBone
28th October 2009, 10:51 AM
babijoee: this latest build is the first one what won't boot for me. It just reboots a few seconds into the linux boot. :/

xaoc747
28th October 2009, 10:53 AM
Ok, sorry I didn't understand your request...

This build doensn't work on my Diamond... it soft reset after an error with a pointer reference of the kernel :mad:

+1 what to make???

babijoee
28th October 2009, 11:02 AM
babijoee: this latest build is the first one what won't boot for me. It just reboots a few seconds into the linux boot. :/

What device are you using? I didnt make this for diamond so you'll have to change the startup.txt and zImage accordingly.
With the wifi pack only the startup.txt should be modified.

xaoc747
28th October 2009, 11:06 AM
What device are you using? I didnt make this for diamond so you'll have to change the startup.txt and zImage accordingly.
With the wifi pack only the startup.txt should be modified.

I'm using Touch Diamond! Please give me startup.txt and zImage! Thank you very much!!!

karlanal
28th October 2009, 11:18 AM
and that from a senior member:rolleyes:

it is all there, you just have to read a bit

xaoc747
28th October 2009, 11:23 AM
and that from a senior member:rolleyes:

it is all there, you just have to read a bit

I'm usind Android 1st time on Diamond and Diamond just a half month in my hands!

boas
28th October 2009, 11:58 AM
Anyone having problems that no data.img is created?

This release dose not work for a Raph100..

xaoc747
28th October 2009, 12:29 PM
Which Rom is stable and working on Touch Diamond??? Give me please a link and instruction how to use it! Thx guys!

AndroHQUist
28th October 2009, 12:35 PM
Anyone having problems that no data.img is created?

This release dose not work for a Raph100..

I have a Raph100 and mine is working..

boas
28th October 2009, 12:39 PM
I have a Raph100 and mine is working..

Babijoe too but, and I'm happy for you neighbour.. But mine is not booting, so many errors that displays in console during boot, and can't even tell if they are normal or not.

I guess that on your first boot, the datastorage was created successfully?

MarcLandis
28th October 2009, 12:43 PM
Which Rom is stable and working on Touch Diamond??? Give me please a link and instruction how to use it! Thx guys!

PLEASE read into the whole topic. There is no point in demanding instructions. This might sound a bit harsh but if you are not able to understand how to get it working then Android for Diamond in it current state is nothing for you.

rpgman
28th October 2009, 12:48 PM
Boas, have you extract the file 7z in the root of your external storage/storage?

The previous releases were in /tmp, i do the same with recent one and had been stuck under linux booting (error messages with .img, i copy it at root of SD then one other file that i copy too then on not finding other stuff on SD cards ....), i then test it on the root directory of storage (SD 4Gb) and that works i can boot on Android

MarcLandis, the problem is that if we search on internet (google it :p) we find old instructions, if i'm not wrong the first post here does not containt last information. Most of the Web site we found refer to /tmp folder, the Web site where we can find release contain only last release or zImage. Someone who starts testing it or who had only test it six month ago is easily lost :)

xaoc747
28th October 2009, 12:49 PM
PLEASE read into the whole topic. There is no point in demanding instructions. This might sound a bit harsh but if you are not able to understand how to get it working then Android for Diamond in it current state is nothing for you.

I see you helluva lot of clever writing here all that! But explain to me weak??

MacWell
28th October 2009, 12:54 PM
Hi all!

I have a question.
Some people on this forum made movies about there Diamond with andriod on it, when i watch them i see they gave a network connection, is there a trick to make this work becouse i have been testing since the build from babbijoee with the wifi and i took the time to read the Whole forum (took some time:eek:)

When i go to Settings>Call settings>GSM call settings i get an error:
"Network or sim car error" no problem by me but the strange thing is when i go to Settings>Wireless settings>Mobile networks>network operators It starts to search and finds serveral providers:confused:(2 bad mine isn't in there) but when i connect to an other provider it doesn't get a signal but it still says "registered on network

Help??

(sorry for my bad english)
if this is normal i will wait for a working version

i run the latest version from UTB on my Diam100

Grtz MacWell

maubuntu
28th October 2009, 01:02 PM
ENG :the startup file for diamond100 are:
ITA: il file startup per diamond100 funzionante e testato č


set RAMSIZE 0x08000000
set MTYPE 1805
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=115.105.863.911 msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=movistar.es ppp.username=MOVISTAR ppp.password=MOVISTAR no_console_suspend"
#set cmdline "no_console_suspend"
# fbcon=rotate:1
# console=ttyMSM0"
boot

boas
28th October 2009, 01:02 PM
Boas, have you extract the file 7z in the root of your external storage/storage?

The previous releases were in /tmp, i do the same with recent one and had been stuck under linux booting (error messages with .img, i copy it at root of SD then one other file that i copy too then on not finding other stuff on SD cards ....), i then test it on the root directory of storage (SD 4Gb) and that works i can boot on Android

Thanks for the help rpgman!

I just found the likely reason for it not to work, and it would seem that the cause was charging the battery.. When disconnected to a power source, then I can boot Android without issues! But wlan is not really working, it is activated but can't find networks (and I have the calibration file).. Im rebooting the phone now, so perhaps wlan will work at a new boot :)

Still wifi issues, it now finds wlan but having difficulties connecting them regardless of the security of the AP. Also Dpad is not working as it should, back, home, hang up, and ring keys don't react at all =)

xaoc747
28th October 2009, 01:09 PM
Why Raphael Android in the thread of Diamond Android?
This is DIAM-20091027-UTB working?
I must unrar this to internal storage or must make a folder?

maxxxy
28th October 2009, 01:12 PM
hello guys I read on a blog that finally there android 1.6 for diamond ....

1) Where can I find the file to install?

2) simple the procedure?

thanks




ITA:

ciao ragazzi ho letto su un blog che finalmente c'č android 1.6 per diamond....


1)dove posso trovare il file da installare?

2) č semplice la procedura?

grazie

maubuntu
28th October 2009, 01:22 PM
my wifi works but don't search the hotspot

killzusall
28th October 2009, 01:34 PM
btw this is just an idea, if you don't like it please don't flame me.

Seeing as this thread is now 500+ pages alot of people are getting lost when they try to start out, and also the first page just says about linux on the diamond and not alot about android. Would a new android on diamond/raphael thread be an idea? so that the first post that everyone will initially see can be updated to show a summary of the latest developments and links to the latest builds, and the second post a quick guide on how to install android, i.e. download build, extract to internal memory root, how to replace zimage, edit mtypes etc.... As at the moment to find out what's going on takes a lot of sifting through the millions of posts that appear daily (slight exageration). Connect-utb isn't updated frequently enough to include all the little developments, and if it was it would make it a bit messy.

boas
28th October 2009, 02:23 PM
More issues:

1: Phone shutsdown if not used.
2: Difficulties connecting to w-lan, sometimes difficulties searching for them.
3: Dpad is not working from boot to boot.

But this is getting very interesting! Wonderful job!!:D

AndroHQUist
28th October 2009, 02:44 PM
More issues:

1: Phone shutsdown if not used.
2: Difficulties connecting to w-lan, sometimes difficulties searching for them.
3: Dpad is not working from boot to boot.

But this is getting very interesting! Wonderful job!!:D

I have only experienced one reboot but I haven't tested the build that much.
None of the more recent builds will let me shutdow or reboot the phone. It just stops in the process but it doesn't hang. I can let it blank the screen and wake it up but not exit the "reboot or shutdown" progress indicator.

toastcfh
28th October 2009, 02:53 PM
man, how are you getting this to work on diam500? mrpippy's kernel just powers off after the android logo for me. tried everything, i don't get it.

okay man,let it shutdown with the battery thing.then when ur device restarts dont erase anything ie. data.img or fsk0000000 and reboot haret again. at that point it should boot fine. i had this issue before. i think it spazzes out about the battery fake idk. anyhow, second boot worked for me. good luck

rpgman
28th October 2009, 02:56 PM
More issues:

1: Phone shutsdown if not used.
2: Difficulties connecting to w-lan, sometimes difficulties searching for them.
3: Dpad is not working from boot to boot.

But this is getting very interesting! Wonderful job!!:D

1: Did you change the settings for the screen, i think you have to disable the screen goes off in x minutes thing in Settings and then in "Sound and Display" i thing (in the end of choises, down) , sorry i try last release and now it's in french :p :)

3: happens to me too with older release with hardware buttons, soft reset and hope that next time hardware buttons react. I'll see if that happens again in this one.

s-diamond
28th October 2009, 03:17 PM
I've uploaded a new version of phh and I build which corrects the sound in android. Thanks to babijoee for this contribution.

The link is still http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-27-10-09.7z

PS : hehehe page 500 !

how can i install it on my diamond????
i lose all my files???????
after i can reinstall windows mobile 6.5?????
thanks

r_aymond
28th October 2009, 03:41 PM
babijoee's new package (babijoee donut 1.6 27-10-09) is pretty good!
Hasn't crashed/rebooted yet.
Pattern Lock doesn't seem to work though? I can activate it, but it does not ask for the pattern when I unlock/wakeup the phone.

Keep up the awesome work!!
--lovin' it--

lucxxx
28th October 2009, 03:55 PM
Hello,

for people with hi resolution and small icons, just modifi in startup.txt this line lcd.density=190 with lcd.density=250 .

kholk
28th October 2009, 03:59 PM
It won't delete your flash, this is just an archive that contains FS images, kernel and modules.... and HARET.
HaRET is only a bootloader that runs from Windows Mobile, it will load the linux kernel in RAM and jump to the memory location where the kernel is located.
Then it boots automatically.
If you reboot your device, you'll reboot into WindowsMobile.

It won't delete anything.

rpgman
28th October 2009, 04:26 PM
Thanks a lot for this last release.

I can use after a lot of tries the Wifi (i've got the calibration file), it's seem that now it remembers my wifi key (long to re insert at each tries :p :))

Too bad that it alerts me for battery under 15% then under wm6.5.1 i can see that it remain 52%. I had the screen rotation but that's not following my moves or not "smoothly". I'll try in games if i remember whitch one to download from the market :)

Cheers for the next step ^^

A quick how-to for Diamond :

1- Disable Code PIN under Windows
2- Download the release page 500 and extract it at the root of SD cart
3- Go to "startup-configs" and copy "diamond.TXT" in root directory
4- Delete in root directory "STARTUP.TXT" and rename "diamond.TXT" in "STARTUP.TXT"
5- Double-tap Haret.exe (in root directory of SD card), the phone will reboot under linux witch leave you after some times under Android.
6- go to Setting (push up the button who is on the botom) then "Sound and display" and in one of the last choises : disable the power off of the screen, that's avoid some problem of reboot.

To stop it do a soft reset, you'll gain access to windows mobile.

For Wifi, for now you'll have to let the calibration file in the root of SD card.
How to get one calibration file : you'll have to do the same steps as above with an older build in witch you had to activate wifi and bluethooth under windows before lauching Android, then use Wifi (activation under Settings) that's create the file "calibration"

Enjoy :p :)

moffe
28th October 2009, 04:28 PM
Is mobiledataconnection(3g/gprs) working in this build? At least for me it doesn't work...

Zeman4323
28th October 2009, 04:31 PM
Tried it on my DIAM500 (changed mtype to 2040) and it freezes on this line:
[8.800048] pc_clk_disable: FIXME! disabling a clock that (cuts off here)

I experienced this as well on my Diam500. If I leave the pack untouched though (not changing mytpe to 2040 it actually did boot, but the colors were all off.)

I am however not experiencing the SD card looping issue after formatting my drive to only be a single primary partition.

Just though I would post my results

lucxxx
28th October 2009, 04:37 PM
Hello,

i'am unable to activate the wireless, here is my dmesg

wlan: version magic '2.6.29-00479-g3c7df37 preempt mod_unload ARMv6 ' should be '2.6.27-00578-gc0d80ba-dirty preempt mod_unload ARMv6 '
[ 306.584136] mmc0: Data timeout
[ 306.584320] wl1251: ERROR sdio write failed (-110)
[ 308.076385] mmc0: Data timeout
[ 308.076507] wl1251: ERROR sdio read failed (-110)
[ 308.076568] wl1251: WARNING WLAN not ready
[ 308.076690] firmware: requesting wl1251-fw.bin
[ 308.199127] firmware: requesting wl1251-nvs.bin
[ 308.205902] init: untracked pid 1522 exited
[ 308.206054] init: untracked pid 1523 exited
[ 309.071929] mmc0: Command expiry misfire
[ 309.367645] [BATT] e01fc110: 000d 0bf1 0cd0 05d9 0002 v=3239 c= 99
[ 310.481506] select 1314 (app_process), adj 14, size 2357, to kill
[ 310.481567] select 1373 (app_process), adj 14, size 2668, to kill
[ 310.481597] send sigkill to 1373 (app_process), adj 14, size 2668
[ 319.376708] [BATT] e01fc110: 0000 0bf2 0ccf 0507 0002 v=3244 c=100
[ 329.386688] [BATT] e01fc110: 0000 0bf3 0cd0 0529 0002 v=3244 c=100
[ 339.396667] [BATT] e01fc110: 000d 0bf4 0ccf 0520 0002 v=3243 c= 99
[ 349.406921] [BATT] e01fc110: 000d 0bf5 0ccf 0509 0002 v=3244 c=100
[ 359.416748] [BATT] e01fc110: 000d 0bf7 0ccf 053d 0002 v=3242 c= 99
[ 368.194305] wl1251: ERROR could not get nvs file: -2

jaellis
28th October 2009, 04:56 PM
btw this is just an idea, if you don't like it please don't flame me.

Seeing as this thread is now 500+ pages alot of people are getting lost when they try to start out, and also the first page just says about linux on the diamond and not alot about android. Would a new android on diamond/raphael thread be an idea? so that the first post that everyone will initially see can be updated to show a summary of the latest developments and links to the latest builds, and the second post a quick guide on how to install android, i.e. download build, extract to internal memory root, how to replace zimage, edit mtypes etc.... As at the moment to find out what's going on takes a lot of sifting through the millions of posts that appear daily (slight exageration). Connect-utb isn't updated frequently enough to include all the little developments, and if it was it would make it a bit messy.

Here! Here! I vote yes on this.

and BTW I am having issues with the latest build on my diam400. it freezes at

[x.xxxxxx] mmcblk0: mmc1:d555 SU04G 3979776KiB
[x.xxxxxx] mmcblk0: p1

Not sure of the issue here, I have cleared all linux stuff off and tried a fresh boot no luck. And has anyone come across a CDMA build that works for calls and whatnot. I had the vogue before and it worked fine I could basically use android as an everyday OS, I am hoping that we can get there for the diamond.

Thanks,
John

s-diamond
28th October 2009, 04:59 PM
the file must be extracted?????
if yes, why when i launch haret it reset my device???????
i must pick it in main memory or internal storage????

babijoee
28th October 2009, 05:02 PM
Quite honestly i'm getting abit tired of the same questions being asked on this thread. I'm going to write a very detailed guide on post it upon connect-utb sometime tommorow.

I also going to link it in my signature and hope many others will also link it to prevent more useless posts.

It would be very helpful if people had their device models in their signature or even post it so that we are able to help you specifically ;)

babijoee
28th October 2009, 05:05 PM
More issues:

1: Phone shutsdown if not used.
2: Difficulties connecting to w-lan, sometimes difficulties searching for them.
3: Dpad is not working from boot to boot.

But this is getting very interesting! Wonderful job!!:D

So your dpad works from time to time or not at all?
I would think that simply copy/paste should of my pack and nothing edited should run smoothly.

What memory stick are you using?

boas
28th October 2009, 05:24 PM
So your dpad works from time to time or not at all?
I would think that simply copy/paste should of my pack and nothing edited should run smoothly.

What memory stick are you using?

Since the android shutsdown after a while you want to boot it again. There comes the problem, dpad keymap seems to get screwd on the second boot. The only thing I ever edited was the startup.txt.

Right not the hangup button is glowing continually without any interaction and no keys respond to anything. When it has been in this stage for a couple of minutes the phone reboots to winmo.

This is a ctrl+c, +v copy, unedited except the startup.txt to a 4gb sandisk card. :)

jaellis
28th October 2009, 05:52 PM
Quite honestly i'm getting abit tired of the same questions being asked on this thread. I'm going to write a very detailed guide on post it upon connect-utb sometime tommorow.

I also going to link it in my signature and hope many others will also link it to prevent more useless posts.

It would be very helpful if people had their device models in their signature or even post it so that we are able to help you specifically ;)


This is why we need a new tread with all this info at the beginning first 5 - 10 posts reserved for updates and howto's.

amarullz
28th October 2009, 06:26 PM
This is why we need a new tread with all this info at the beginning first 5 - 10 posts reserved for updates and howto's.

Agree :).. It's become too hard for me to search something what I need, and I don't want to ask the questions that already asked... :)

c4software
28th October 2009, 06:40 PM
@babijoee @boas the dpad seems less buggy if you boot android with USB plugged in. Without USB its doesn't work all the time

Untouchab1e
28th October 2009, 07:18 PM
Quite honestly i'm getting abit tired of the same questions being asked on this thread. I'm going to write a very detailed guide on post it upon connect-utb sometime tommorow.

I also going to link it in my signature and hope many others will also link it to prevent more useless posts.

It would be very helpful if people had their device models in their signature or even post it so that we are able to help you specifically ;)

Good idea! If you manage to write a detailed article (I can contribute to it) I think it would be useful if we manage to spread it :)

Looking forward to reading it! Keep up the great work!

phhusson
28th October 2009, 08:35 PM
Hello,

i'am unable to activate the wireless, here is my dmesg

[ 368.194305] wl1251: ERROR could not get nvs file: -2

For the third (fourth?) time, YOU MUST HAVE THE CALIBRATION FILE IN THE ROOT OF YOUR SDCARD/INTERNAL STORAGE

phhusson
28th October 2009, 08:35 PM
btw this is just an idea, if you don't like it please don't flame me.

Seeing as this thread is now 500+ pages alot of people are getting lost when they try to start out, and also the first page just says about linux on the diamond and not alot about android. Would a new android on diamond/raphael thread be an idea?


Thread ?
I would think about an android/linux subsection ! :p

jaellis
28th October 2009, 08:41 PM
the file must be extracted?????
if yes, why when i launch haret it reset my device???????
i must pick it in main memory or internal storage????

Yes files must be extracted to the internal storage, to answer your question. I think people forget that everyone has to start somewhere, they asked the same questions at some point.

yes it does a soft reset into linux/Android.

put in in the internal storage/sdcard depending on the device you have.

But a tip also is to search the thread it is up near the to of the page just above the first post on any page.

karlanal
28th October 2009, 08:59 PM
not true, so not true
a bunch of guys come and ask a questions that have allready been answered at least 20 times, these guys dont want to learn and they dont want to know, they are just lazy to read and want that other people solve their "problems"

qumani
28th October 2009, 09:34 PM
As you can tell, I dont post often (working on that now), but when I do I feel like I have something to say. I started using this forum a few years back when I got my first HTC device, I have cycled through a few devices since then, but the main thing that I want to say is this.....

If you have an issue, I am sure that someone here will help you out if they can, but you have to be a little self motivated. Look around, I can guarantee that 90% of the time whatever question you have has already been answered. if there is someone on the forum that seems to be one of the main ppl developing then look in their signature, there are probably links to other places that you can find the information.

You cant just roll up in here and say "Android wont boot, can I have all the files I need, personalized instructions, and can you customize everything for MY device".... come on, really? Half of the fun in all of this is the tweek of getting it to work. if you want it done for you, then get in your car, drive to the nearest carrier that has android devices, and BUY ONE. Otherwise, quit being lazy and look.

It pisses me off to check the forum for new info and I see there are 3-5 pages added daily, and then when I get happy thinking that there are new developments.... its only repetitive questions. You wouldnt have to look through 500pgs of a thread if you looked for your own answers.

Sorry for the rant fellas, just peeved.

jooprzol
28th October 2009, 09:41 PM
I don't know how pertinent or important this information is, but here are the results that I've had on a HTC Fuze using the following setup:

system image - system-tmo-ota-drc92.sqsh from http://code.google.com/p/vogue-android/downloads/list
(Image from a T-Mobile G1, so keyboard slider/rotate support seems to be pretty responsive. Better than other releases that I've tried. Don't know if it's the placebo effect, or just truly better.)

Kernel Image - the October 25 build from http://glemsom.anapnea.net/android/squashfs-raphael/

Rootfs Image - rootfs-23-10-09.img from http://code.google.com/p/vogue-android/downloads/list
(This release fixes audio and camera support on the Vogue. On the Raphael, audio is fixed, and the camera app opens, but all you get on screen is fuzz like on a dead TV channel)

All the other config files came from the 09-09-09 Raphael release over at connect-utb. Although, I just noticed that there's a new 10-27-2009 release over there. Hmmm.
With this setup, gprs data works quite well, wireless doesn't, the interface is pretty responsive... for a little while. Things start slowing down and errors popping on screen (usually saying processes are unresponsive, giving me the option force quit or wait) when multiple processes are running, say browsing the market place, syncing contacts, downloading an app or two and newsrob updating in the background. Although, this varies from boot to boot. Sometimes the smallest CPU load (I imagine that's the cause, but I don't know for sure) causes the phone/OS to croak, other times it seems to handle a decent load pretty well.
Oh, an oddity that I noticed. I was running a WinMo 6.5 release from Timolol with the 1.14.25.35 Raphael radio, but I reflashed my phone to the latest stock WinMo 6.1 HTC image for the touch pro with radio 1.11.25.01. After doing so, I started getting the Android splash screen whenever I boot into Android. Never got the splash screen before that.
Battery life. around 6 hours from full to completely dead, I was downloading apps or using the data connection most of the time.
Anyways, I hope that can be used for something. I'm not a programmer, but I can test stuff pretty well. :-P

ElCondor
28th October 2009, 10:05 PM
As you can tell, I dont post often (working on that now), but when I do I feel like I have something to say. I started using this forum a few years back when I got my first HTC device, I have cycled through a few devices since then, but the main thing that I want to say is this.....

If you have an issue, I am sure that someone here will help you out if they can, but you have to be a little self motivated. Look around, I can guarantee that 90% of the time whatever question you have has already been answered. if there is someone on the forum that seems to be one of the main ppl developing then look in their signature, there are probably links to other places that you can find the information.

You cant just roll up in here and say "Android wont boot, can I have all the files I need, personalized instructions, and can you customize everything for MY device".... come on, really? Half of the fun in all of this is the tweek of getting it to work. if you want it done for you, then get in your car, drive to the nearest carrier that has android devices, and BUY ONE. Otherwise, quit being lazy and look.

It pisses me off to check the forum for new info and I see there are 3-5 pages added daily, and then when I get happy thinking that there are new developments.... its only repetitive questions. You wouldnt have to look through 500pgs of a thread if you looked for your own answers.

Sorry for the rant fellas, just peeved.

Exactly my 2 cents too. This is going nowhere. We NEED to get some more structure to this.
A new thread with at least 5 posts about getting Android working on all DIAM and RAPH devices. So, someting like this:
Post 1: summary, main information about Linux and Android.
Post 2: Download links
Post 3: The most important information, such as data settings. Also, a punctual scene of all kinds of devices (DIAM100, 200, RAPH100 etc.) corresponding properties.
Post 4: Description of every file downloaded in the packages, so everyone has got a clear explanation of what use very file is.
Post 5: More detailed troubleshooters, guides, etc.

Just how I should do it. I don't want to make the thread, because my knowledge of Android and Linux is very small.

phhusson
28th October 2009, 10:21 PM
Oh, an oddity that I noticed. I was running a WinMo 6.5 release from Timolol with the 1.14.25.35 Raphael radio, but I reflashed my phone to the latest stock WinMo 6.1 HTC image for the touch pro with radio 1.11.25.01. After doing so, I started getting the Android splash screen whenever I boot into Android. Never got the splash screen before that.
This bootsplash uses OpenGLES (for an unknown reason), so it needs 3D hardware to be up, and currently we don't have 3D initialisation code, so it needs to be used in WiMo, with something like Touch Flo :)
You can also try some 3D games (like neocore or armadillo roll), and compare neocore's benchmark against google phones, to see that diamond is far from being old :)

s-diamond
28th October 2009, 10:31 PM
Yes files must be extracted to the internal storage, to answer your question. I think people forget that everyone has to start somewhere, they asked the same questions at some point.

yes it does a soft reset into linux/Android.

put in in the internal storage/sdcard depending on the device you have.

But a tip also is to search the thread it is up near the to of the page just above the first post on any page.

i have a diamond.
and...sorry i have wronged the question.
i say that.
after i launch HARET it restart my device and start windows normally.
how do i start android?????????

sorrowt
28th October 2009, 11:04 PM
;4835090']Exactly my 2 cents too. This is going nowhere. We NEED to get some more structure to this.
A new thread with at least 5 posts about getting Android working on all DIAM and RAPH devices. So, someting like this:
Post 1: summary, main information about Linux and Android.
Post 2: Download links
Post 3: The most important information, such as data settings. Also, a punctual scene of all kinds of devices (DIAM100, 200, RAPH100 etc.) corresponding properties.
Post 4: Description of every file downloaded in the packages, so everyone has got a clear explanation of what use very file is.
Post 5: More detailed troubleshooters, guides, etc.

Just how I should do it. I don't want to make the thread, because my knowledge of Android and Linux is very small.

Id rather say we need a sub-forum under the diamond forum for Android were all the guides, questions, android builds and Linux builds go, with separate threads. this makes life more easier, and dont mess up with the other sub-forums!

karlanal
28th October 2009, 11:07 PM
i have a diamond.
and...sorry i have wronged the question.
i say that.
after i launch HARET it restart my device and start windows normally.
how do i start android?????????


my advice would be

EITHER
try some roms
OR
change with HD2

phhusson
28th October 2009, 11:43 PM
i have a diamond.
and...sorry i have wronged the question.
i say that.
after i launch HARET it restart my device and start windows normally.
how do i start android?????????

Change the mtype. In this build, mtype is setted by default for raphael.
Edit startup.txt and replace 1910 by 1805

s-diamond
29th October 2009, 12:23 AM
Change the mtype. In this build, mtype is setted by default for raphael.
Edit startup.txt and replace 1910 by 1805

ok now works.
thanks

killzusall
29th October 2009, 01:10 AM
Ok, so I and many other people said about a new thread, phhusson and a few others said about a subsection instead, people are saying they need a guide, people are moaning about seeing people asking for help (wonder how many of the moaners have never asked for help), but if you want to start out and you're faced with 510 pages of jargon you're gonna ask questions, because the first post which could be updated to give info doesn't even want to talk android.

Anyway, a subsection sounds like a good idea.

-Android for Diamond/Raphael
|
+-Project summary (what android is, aims, progress etc...)
|
+-Guide (also explaining different startup.txt's and how to sort out wifi calibration file etc....)
|
+-FAQ
|
+-Request Help
|
+-Device configurations (DIAM100, DIAM400, RAPH800 etc....)

sorry if the formatting looks bad did it on my phone

kistler82
29th October 2009, 01:14 AM
I totally agree - while it's easy to say "rtfm" (can i say that here?) There isn't really a manual to read.. a quickstart guide with a good FAQ would be very nice and would cut down on the flood of the same questions over and over.

On another note - anyone heard any news on develoment - it's been 10 days since I've seen a commit to http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.27 ...

Ok, so I said about a new thread, phusson said about a subsection instead, people are saying they need a guide, people are moaning about seeing people asking for help (wonder how many of the moaners have never asked for help), but if you want to start out and you're faced with 510 pages of jargon you're gonna ask questions, because the first post which could be updated to give info doesn't even want to talk android.

Anyway, a subsection sounds like a good idea.

-Android for Diamond/Raphael
|
+-Project summary (what android is, aims, progress etc...)
|
+-Guide (also explaining different startup.txt's and how to sort out wifi calibration file etc....)
|
+-FAQ
|
+-Request Help
|
+-Device configurations (DIAM100, DIAM400, RAPH800 etc....)

sorry if the formatting looks bad did it on my phone

ydoucare
29th October 2009, 01:27 AM
okay man,let it shutdown with the battery thing.then when ur device restarts dont erase anything ie. data.img or fsk0000000 and reboot haret again. at that point it should boot fine. i had this issue before. i think it spazzes out about the battery fake idk. anyhow, second boot worked for me. good luck

It shut down again on the 2nd boot (didn't touch anything)....i'll go for a third...
edit: no go on 3rd boot either. *sigh* ultra frustrating

What does your startup look like? Are you using the one MrPippy posted a while back, or the one that came with the package?

So it finally worked. I had it connected via activesync, copied over everything fresh, went ahead and booted with the default mtype and it froze. Restarted, changed mtype to 2040, disconnected from computer, then started haret and it booted fine. I think the problem has to do with it not detecting the battery, so it instantly powers off. Somehow it thinks it is plugged into a charger now, which is why it's working.

manekineko
29th October 2009, 01:35 AM
I've uploaded a new version of phh and I build which corrects the sound in android. Thanks to babijoee for this contribution.

The link is still http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-27-10-09.7z

PS : hehehe page 500 !

As reported by others, without any modification, just unzipping this to my internal storage, this starts up on my Sprint Diam500, but the colors are all weird.

I think it may have also froze on the tutorial prompt, but it was hard to tell because responsiveness was really bad too.

Edit: Thanks ydoucare!
Fixed the touch screen weirdness by changing startup.txt to msmts_calib=0x81.0x393.0x358.0x7D

First time I booted I got a Wait or Force Quit screen on the soft keyboard, and on subsequent boots, it just doesn't seem to be available at all. Even if I hold down the ok button, and select Android keyboard while selecting a text field, nothing ever happens.

karlanal
29th October 2009, 01:58 AM
I totally agree - while it's easy to say "rtfm" (can i say that here?) There isn't really a manual to read.. a quickstart guide with a good FAQ would be very nice and would cut down on the flood of the same questions over and over.

On another note - anyone heard any news on develoment - it's been 10 days since I've seen a commit to http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.27 ...


:eek::eek::eek::eek::eek::eek::eek:
no manual, i bet you were one of those kids which rolled on the ground and cried when they didnt get what they wanted:mad::mad:
http://www.androidonhtc.com/boot_options
and there are dozens of them, but thenagain, why bother, it is easier thisway
there is no excuse for questions like theese

btw
didnt have one crash since yesterday

manekineko
29th October 2009, 02:13 AM
:eek::eek::eek::eek::eek::eek::eek:
no manual, i bet you were one of those kids which rolled on the ground and cried when they didnt get what they wanted:mad::mad:
http://www.androidonhtc.com/boot_options
and there are dozens of them, but thenagain, why bother, it is easier thisway
there is no excuse for questions like theese

btw
didnt have one crash since yesterday

Not to get into a discussion of whether that really works as a manual for beginners, but are you really suggesting that it's NOT a good idea to create a subforum or at least an organized thread header that contains the proper links to manuals and FAQs?

It's seriously small wonder people are filled with so many questions when the first posts of this thread are so out of date. People are not going to read 500+ pages before they give up and ask, and it's pretty tough at times to find the right keywords to search this monster thread for things that are basic.

I mean, seriously, the title of this thread is: Linux and Android on HTC Diamond "NOT YET WORKING", while the first post states "We are not trying to make android work. But we are making the linux kernel work well on our phones. Gogle Android (tm) already works." The link to the new wiki only contains very technical information of no use to someone just trying to get things to work. Talk about confusing.

I wholeheartedly agree with others that say that there should be a new subforum made to make information more easily accessible, or at the very least a new, better organized thread. There's nothing wrong with making information easy to find. Even if we had to walk 9 miles uphill to school in the snow each day when we were kids doesn't mean that we shouldn't try and make things easier for new people. If nothing else, it would seriously cut down on the amount of clutter and redundant questions, which is something everyone could appreciate.

ydoucare
29th October 2009, 02:15 AM
As reported by others, without any modification, just unzipping this to my internal storage, this starts up on my Sprint Diam500, but the colors are all weird.

I think it may have also froze on the tutorial prompt, but it was hard to tell because responsiveness was really bad too.

Edit: Actually not sure if it's a responsiveness problem, seems like maybe my touch screen is just totally miscalibrated such that I can't hit anything I want. Also, the software keyboard seems to be freezing, and a window pops up asking me if I want to wait or kill it.

That is because the mtype and calibration strings in startup.txt are not setup for the DIAM500. To get correct color, I think you need mtype 2040 (the wiki says 1805 though so i'm not sure), and the calibration should be 0x81.0x393.0x358.0x7D
However, I cannot get it to do anything but power off after it sits on the android logo for a bit.

karlanal
29th October 2009, 02:24 AM
now you are talking
seriously, i found in about 2 days at least 10 different pages that are as good as thatone, and im not smarter than "these guys"
than anyone can, but ant this is a big BUT
if people arent ready to sarifise a bit of their time, and try to learn and understand
than, at this point, android is nothing for them

magicman0
29th October 2009, 02:36 AM
+1 for new thread

anyway to get a working data connection?
also, is it okay to delete the FSCK files?

manekineko
29th October 2009, 03:04 AM
That is because the mtype and calibration strings in startup.txt are not setup for the DIAM500. To get correct color, I think you need mtype 2040 (the wiki says 1805 though so i'm not sure), and the calibration should be 0x81.0x393.0x358.0x7D
However, I cannot get it to do anything but power off after it sits on the android logo for a bit.

Thanks on the touch screen fix, worked like a charm!

Regarding changing the mtype, that indeed fixes the colors for me (the penguin on the bootloader now looks much better) but causes it to crash at the pc_clk_disable step that others have reported. Guess it's still 1910 and the bad colors for me.

Also, the soft keyboard doesn't seem to work.

Have you tried booting it plugged in? Mine shutsdown unless I boot it plugged in. Or at least that's the trend I've seen so far.

Willis111
29th October 2009, 04:37 AM
That is because the mtype and calibration strings in startup.txt are not setup for the DIAM500. To get correct color, I think you need mtype 2040 (the wiki says 1805 though so i'm not sure), and the calibration should be 0x81.0x393.0x358.0x7D
However, I cannot get it to do anything but power off after it sits on the android logo for a bit.

I think the 2040 mtype is something that MrPippy patched together for a specific kernel. I think for regular(unpatched specifically for diam500) zimages diamond is 1805.
now you are talking
seriously, i found in about 2 days at least 10 different pages that are as good as thatone, and im not smarter than "these guys"
than anyone can, but ant this is a big BUT
if people arent ready to sarifise a bit of their time, and try to learn and understand
than, at this point, android is nothing for them

+1 for this

manekineko
29th October 2009, 05:11 AM
I think the 2040 mtype is something that MrPippy patched together for a specific kernel. I think for regular(unpatched specifically for diam500) zimages diamond is 1805.


+1 for this

1805 doesn't boot on my DIAM500.

jaellis
29th October 2009, 07:05 AM
:eek::eek::eek::eek::eek::eek::eek:
no manual, i bet you were one of those kids which rolled on the ground and cried when they didnt get what they wanted:mad::mad:
http://www.androidonhtc.com/boot_options
and there are dozens of them, but thenagain, why bother, it is easier thisway
there is no excuse for questions like theese

btw
didnt have one crash since yesterday

Before you get all worked up, no one is saying that there aren't guides available, what people are saying is that there isn't one here, which is generally seen as the repository of information for all HTC Devices.

And that website that you linked to is not complete and has no information for anything CDMA in the boot options page it leaves out the mtype 2040 which is part of most of the current diamond/Raphael builds, this would leave out anyone using Sprint and Verizon.

We are just having a conversation and whenever someone says there is not a guide they are saying there is not a unified guide for ALL diamond and Raph stuff relating to android.

ydoucare
29th October 2009, 07:19 AM
I think the 2040 mtype is something that MrPippy patched together for a specific kernel. I think for regular(unpatched specifically for diam500) zimages diamond is 1805.


When I use 1805 on the non-MrPippy kernels I get messed up colors.

I got this working with mtype 2040:
http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-27-10-09.7z

Never got it to boot past the android logo with 1805, and the colors were messed up on the android logo.

There's still something going on with the DIAM500 where it's either not recognizing the battery or cannot get the bat level so it thinks the battery is dead and powers off right after it boots. Somehow I got it to boot thinking it was plugged into the charger (it wasn't plugged in at all) and it worked fine. It could be something else though, and maybe someone in the know can correct me, but this is what it seems like it's doing to me. I wish we had some more organization here in regards to CDMA vs GSM development.

gleng
29th October 2009, 08:45 AM
I got this working with mtype 2040:
http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-27-10-09.7z


So you got it running just using that package with the included kernel? Or did you use some other kernel. Using just that package and mtype 2040 it hangs at "FIXME! disabling a clock that doesn't have an ena bit: 24"

using DIAM500

diamond_lover
29th October 2009, 09:48 AM
Ok, so I and many other people said about a new thread, phhusson and a few others said about a subsection instead, people are saying they need a guide, people are moaning about seeing people asking for help (wonder how many of the moaners have never asked for help), but if you want to start out and you're faced with 510 pages of jargon you're gonna ask questions, because the first post which could be updated to give info doesn't even want to talk android.

Anyway, a subsection sounds like a good idea.

-Android for Diamond/Raphael
|
+-Project summary (what android is, aims, progress etc...)
|
+-Guide (also explaining different startup.txt's and how to sort out wifi calibration file etc....)
|
+-FAQ
|
+-Request Help
|
+-Device configurations (DIAM100, DIAM400, RAPH800 etc....)

sorry if the formatting looks bad did it on my phone

We can edit the WIKI and insert all this information :)

xaoc747
29th October 2009, 10:14 AM
Make please new thread and just for Diamond!!! New build, new instruction, etc... And no more longer redundant and silly questions!

killzusall
29th October 2009, 10:16 AM
We can edit the WIKI and insert all this information :)

However it is done, it needs to happen. People are being slated for wanting help which isn't fair to them, agreed some people are to lazy too look, but some are easily confused and need guidance, so why not make a new thread with links to the guides or update the wiki and point to that.

I know it's not the same but it's like getting mad when you're stuck behind a learner driver and you're cursing that they've got the instructor there so they have all the help they need, but are still going slow, signalling wrong etc..... But fail to remember alot of drivers felt the same about you, when they were stuck behind you, when you were learning.

phhusson
29th October 2009, 01:29 PM
On another note - anyone heard any news on develoment - it's been 10 days since I've seen a commit to http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-msm-2.6.27 ...

Git's broken :(

rpgman
29th October 2009, 03:26 PM
Searching to test the losck screen i activate the screen "blackout" in 30s of inactivity, i activate the lock screen with gesture and it's work good. No reboot.

If i don't activate Wifi, i can use 2 3h android.

With wifi that's too fast before the warning for battery.
I use the market (and so doing gmail ^^) send receive some text message too. I tryed to launch a video (wmv) from an email : after the download i've got only the sound and after a while : an error saying that video can not be played.

Have a soft that don't work (the game card Klondike Solitaire) it crash when i click on start.

I hesitated to buy a HTC Hero or wait for the Leo or Dragon, using the BSB 6.5.1 rom helped me for waiting ^^ testing this build of android makes me want a google android phone again and stronger :)

Thanks for you time and work ;)

patrikbarden
29th October 2009, 04:01 PM
I just got my Diam100 to boot Android, after numerous failed attempts. The error message I got while booting went somthing like this:

Failed to mount the SD card. Cannot continue
/ibn/sh: can't access tty; job control turned off
/ # _

Finally i read somewhere that the Internal Storage had to be formatted as a primary partition. Followed the guide on that webpage on how to do this, but it didn't work. I could no longer find the internal storage from within my phone. After hours of struggeling I finally got it back, but still formated as a logical drive.

This is how I converted the internal storage to be a Primary patrition:
1: connect your phone to your pc in Disc Drive mode
2: On your PC, click start and then run. Enter "Diskpart" and click OK
3: in the diskpart terminal type "list disk". This will show all the discs connected to your computer.
4: type "select disk X", where X is the number representing your phone's internal storage.
MAKE SURE THE RIGHT DISK IS SELECTED BEFORE CONTINUING!
5: type "clean", this will wipe all the data on the selected disk
6: type "create partition primary". No explaination needed for this command I think.
7: close the disc part console, or type exit. Now open "Computer" on your PC, right click your internal storage and choose "format".
8: Select FAT32 as your filesystem, and uncheck "quick format" to do a full format of your disk. Wait until format is completed
9: Disconnect your drive, and hopefully your phone will now be able to boot android.

nearlybritish
29th October 2009, 06:13 PM
Can anyone on AT&T with a Fuze actually get data working on the new package? Mine freezes every time, whether I use the carrier information in Startup.txt or leave it out.

This was the same problem I was having with other 1.6 builds, only 1.5 has been working for me so far.

dzo
29th October 2009, 10:05 PM
Git's broken :(

Yes, I just emailed Kevin about this and it should be fixed now.

GlemSom
29th October 2009, 10:05 PM
Thanks to phh and babijoee, my autobuild-service will now contain a rather special build. :D
Buildname: "special-diamond-raphael-wifi-bluetooth"

This is actually a tar package, containing a zImage (using special configurations file), and a tar.gz package containing wifi and ramzswap modules.
Unpack the package on your sdcard, and edit startup.txt accordingly.

As the buildname indicates; this build contains wifi modules - which can be used with the latest Android build: http://forum.xda-developers.com/showpost.php?p=4826791&postcount=4991

This package is currently tested on diam100 ONLY, please give feedback on other devices!

NOTE: You'll need your calibration-file placed in /sdcard/calibration for wifi to work!


Direct link: http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth

BobLC
29th October 2009, 10:50 PM
Hi Glemson,

Do I need a calibration file with your build ?
Just try on me DIAM100, manage to activate wifi but the networks can't be search.

Well, in fact, I don't know how find the calibration file... In which build can I find it ?
Thanks for your help.

boas
29th October 2009, 10:56 PM
Hi Glemson,

Do I need a calibration file with your build ?
Just try on me DIAM100, manage to activate wifi but the networks can't be search.

Well, in fact, I don't know how find the calibration file... In which build can I find it ?
Thanks for your help.

Download this pack http://www.cobaltcode.com/fileupload/data/Android/AllInOne/babijoee-wifi.7z
(use save target as)
Can be read about at http://connect-utb.com/index.php on the second page the post by Babijoee.

If you boot that release you will get a calibration file.

EDIT. On an other notice, I have now have time to test the last build even more. And if I don't use the device it will reboot the phone with in 1 minute. But w-lan works, and the release is quite nice. Then again, if I boot Android with an already working data.img, then Dpad won't work and Android won't boot properly, phone reboots before even entered android completely (during ANDROID screen).. :)

BobLC
29th October 2009, 11:08 PM
Thanks Boas, but the link is broken. Try to google for mirror, without chance.
Another way to obtain the calibration file ?

EDIT : i will try with babijoee-wifi in the same post on connect-utb

Untouchab1e
29th October 2009, 11:11 PM
I just stumbled across this (http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth/) package and I am going to organize full testing of it (hopefully including all RAPH and Diamond models).

The feedback will be collected here (http://htc-android.com/viewtopic.php?f=5&t=380&p=3421#p3421) and I am pushing this out to my testing group so hopefully, the feedback will come in pretty soon.

IN other matters, I havent been working much on the CDMA issue but I constantly get questions regarding it. Why cant we get cellular network coverage on CDMA devices? I know CDMA is hardware based so I am guessing that is the basic issue, but does anyone else have anymore insight?

rpgman
29th October 2009, 11:16 PM
Thanks to phh and babijoee, my autobuild-service will now contain a rather special build. :D
Buildname: "special-diamond-raphael-wifi-bluetooth"

This is actually a tar package, containing a zImage (using special configurations file), and a tar.gz package containing wifi and ramzswap modules.
Unpack the package on your sdcard, and edit startup.txt accordingly.

As the buildname indicates; this build contains wifi modules - which can be used with the latest Android build: http://forum.xda-developers.com/showpost.php?p=4826791&postcount=4991

This package is currently tested on diam100 ONLY, please give feedback on other devices!

NOTE: You'll need your calibration-file placed in /sdcard/calibration for wifi to work!
You can use this build to generate a calibration-file: http://husson.hd.free.fr/Android-diam-bt-wifi.7z


Direct link: http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth


"This is actually a tar package, containing a zImage (using special configurations file), and a tar.gz package containing wifi and ramzswap modules.
Unpack the package on your sdcard, and edit startup.txt accordingly."

I do that, take your STARTUP.TXT, change in it the name of zImage file, boot, test the wifi without and with bt activate, wifi become activate, it's searching for netword and desactivate itself. > When i do that i had my calibration file, and it's been working before this kernel and files from tar.gz. If i'm not wrong i see some errors on module wl.... not loading in boot stage

I can try to get back the dmesg from it if you want

bojkic
29th October 2009, 11:19 PM
new wifi bluetooth build is great! props to phh and bj!!!

here are the things I've noticed on my RAPH100:

1) wifi works nicely, a bit weaker signal and it is kinda slow, but works!!! :D when connection is lost you cannot reconnect until you turn off wifi and then turn it back on again. it remembers passwords.
all in all, awesome!!! :D thx!
2) you cannot turn off the phone by holding end button and choosing shut down, and you could with bj's last build
3) it seems my screen is off, when in sleep!! :D however bluetooth and wifi combo drains battery extremely fast :D
4) hard keys still dump up sometimes
5) over all phone is slower when wifi is on :D
6) sounds working. discovery of multimedia files is perfect too. calls not so much :D

EDIT: and yes, it turns off when in sleep for some time.

jaellis
29th October 2009, 11:44 PM
IN other matters, I havent been working much on the CDMA issue but I constantly get questions regarding it. Why cant we get cellular network coverage on CDMA devices? I know CDMA is hardware based so I am guessing that is the basic issue, but does anyone else have anymore insight?

Maybe Martin/DZO has some insight, I know he got CDMA working well on the vogue, but not sure with the diamond. Just a thought. I used it for 2 months before mine dropped in water, it was great. That was also Android 1.0 though

jaellis
30th October 2009, 12:08 AM
So I am having trouble getting any of the newer builds to run on the DIAM400. The 090909 UTB build works everything that is supposed to work seems to but all the newer builds freeze on the mmcblk0: p1 in the start up. Any ideas?? yes I tried editing startup.txt but for some reason I'm getting frozen there. Can anyone explain the difference between the old UTB build and the Newer ones why it would act this way? I know that this is on the sqsh filesystem, how is this different and why would the system.img file have no problem but the system sqsh not run?

ydoucare
30th October 2009, 01:01 AM
So you got it running just using that package with the included kernel? Or did you use some other kernel. Using just that package and mtype 2040 it hangs at "FIXME! disabling a clock that doesn't have an ena bit: 24"

using DIAM500

Yes, it booted with both the included kernel and MrPippy's kernel. I found out if I had it connected via activesync when trying to run haret, it would freeze at that line, but when just connected to the charger it booted.

aussiewan
30th October 2009, 01:04 AM
I just tried Android 2.0 Eclair System.sqsh file from http://code.google.com/p/vogue-hero/downloads/ on the off chance that it works... and it does boot! I was using http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-27-10-09.7z with zImage.20091018_114250 from glemsom's site and the Diamond startup.txt. I just put the new .sqsh file in, and it booted! It's nowhere near as smooth as 1.5/1.6, but is usable for having a look :)
I found I had to hold down the hardware keys for a fraction of a second longer than normal sometimes to get it to do what I asked.
It could not connect to any network - it fails when searching.
According to the download link, it does not support calls/data/audio yet.
Calibration and colour seem fine.
Shutdown works.
Setting an unlock pattern works - it prompts for it on subsequent startup. Pressing power comes up with a task manager. Volume, dial, end, back and home buttons work as expected, except pressing the End button did not make it sleep even though I set it to go home and sleep.
Bejeweled is playable but laggy.
Camera app loads but shows the moving checkerboard instead of the image.
Music player loads and looks like it's playing but no sound comes out.
If I leave it for a minute or so it restarts itself. I think this is when it normally goes to sleep.
This is all on my DIAM130.

gleng
30th October 2009, 01:37 AM
IN other matters, I havent been working much on the CDMA issue but I constantly get questions regarding it. Why cant we get cellular network coverage on CDMA devices? I know CDMA is hardware based so I am guessing that is the basic issue, but does anyone else have anymore insight?

Using MrPippy's old kernel I did have CDMA service (voice and txt messaging at least). I don't remember exactly but I think he enabled some kind of CDMA initialization code. He would be able to provide better insight into this of course.

Yes, it booted with both the included kernel and MrPippy's kernel. I found out if I had it connected via activesync when trying to run haret, it would freeze at that line, but when just connected to the charger it booted.

Hmmm..strange. I tried different combinations (activesync, connected to computer with charge-only cable, connected to charger, not connected at all) but still no luck...always get the same message.

ND4SPD
30th October 2009, 02:49 AM
I just tried Android 2.0 Eclair System.sqsh file from http://code.google.com/p/vogue-hero/downloads/ on the off chance that it works... and it does boot!

Which rootfs are you using? For me, it keeps repeating the Android boot splash screen.

babijoee
30th October 2009, 03:11 AM
After some thought I've decided to work together with Glemsom and setup a Diamond and Raphael specific google code page.
It will have many instructions and faqs noted by many people here.

I'll try to get into this within the busy weekend, but hopefully finish it early next week.

I will also post a mirror faq on for connect-utb site aswell as this will save Untouchable time and hair pulling :p from the ongoing questions.

AndroHQUist
30th October 2009, 03:20 AM
After some thought I've decided to work together with Glemsom and setup a Diamond and Raphael specific google code page.
It will have many instructions and faqs noted by many people here.

I'll try to get into this within the busy weekend, but hopefully finish it early next week.

I will also post a mirror faq on for connect-utb site aswell as this will save Untouchable time and hair pulling :p from the ongoing questions.

And put yet another link in your signature ;)

aussiewan
30th October 2009, 03:40 AM
Which rootfs are you using? For me, it keeps repeating the Android boot splash screen.

As I said, I used android-donut_diam-raph-27-10-09.7z. The only files I replaced were zImage (zImage.20091018_114250), startup.txt (for Diamond) and system.sqsh. It did sit on the android splash screen for a couple of minutes... but the hardware keys continued to respond to touch so I let it keep going. I did actually boot with the system.sqsh file that came in that pack first, then deleted the data.img and fsck files and replaces system.sqsh - I don't think that would have made a difference, but perhaps it did... also I do not have a wireless calibration file because I haven't been interested in wireless enough to invest the time in it.

karlanal
30th October 2009, 03:57 AM
wtf
i came all happy in good mood and now this
first, since i installed the 1.6 build with enhanced sound, yesterday
i havent had a crash, not one, and ive been playing with him the whole
day yesterday and today, nothing, rock solid
when i get too hasty, and push 2-3 buttons at once he needs 5-10 seconds to remember what was pushed, but still, im now happier with the phone then i was when i got my first stock diamond
as i said, came all happy and now
i see wifi package, i instantly got a boner
damn, is this thay good or what, what is next, my girlfriend leaving me
not beore the job is done, or even better while she is doing her job ill install wifi

guys i dont know what to say
tha....naaah, what startup.txt is for my diamond, or even better,
can anyone send me config file:confused::confused:

guys im bowing to you and your work
http://www.imagesforme.com/upload/3d702ab3.jpg

karlanal
30th October 2009, 04:20 AM
oh dear god, what a gay picture i chose, thisone is more apropriate

sifu

http://www.diamondway-buddhism-university.org/IMAGE/Lopon_Tsechu/catalog_ltr/LTR_Images/LTR_bowing_respectfully_bw.jpg

Marcellus_pnz
30th October 2009, 10:05 AM
yesterday, with zimage and modules from glemsom, i was able to connect to my home wifi network. browser worked fine, but why google account setup doesn't use it? it requires data connection over edge/3g.
i tried it today and it doesn't work again.

BobLC
30th October 2009, 11:56 AM
Well, that's ok with the babijoe-wifi, the calibration file is created.

The wifi connection is ok on a secured network, but i have to try many times before having a successful connection.

The Google account setup (with existing account) is ok over wifi, all emails have been retrieved.

Having some problems with the battery status... Seems to be a well-known problem...

kholk
30th October 2009, 03:18 PM
Android 2.0 squashfs reporting - DIAM300:
*- Bluetooth not working.
*- WiFi not working.
*- Telephone not working. (No signal)
*- System is much slow.
*- Buttons not recognized (apart the upper button) and mapped differently than other builds.

leobaillard
30th October 2009, 03:27 PM
Hi there ! A good news for you, we (as a team because it wasn't the work of one of us, and chance helped a lot...) managed to make A2DP work ! So I offer you an update for the last build (posted by me on page 500) which contains a modified version of rootfs.img and system.sqsh. Just replace them on your sd card (or internal storage).

Just to remind you and for those ignore it, A2DP is a bluetooth profile that allows you to listen to music and sound from android into a bluetooth headset for example.

Here's the build update : http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/build-update_donut-1.6_a2dp.7z

klinux
30th October 2009, 08:25 PM
I don't know why but modules are not loaded in the initialization of android, there something like module xx magic should be xx invalid module ... I tried everything changed zimage, rootfs, system to 1.5 nothing worked :(
Help please

phhusson
30th October 2009, 08:57 PM
I don't know why but modules are not loaded in the initialization of android, there something like module xx magic should be xx invalid module ... I tried everything changed zimage, rootfs, system to 1.5 nothing worked :(
Help please

Have you checked that with lsmod or just because of messages ?
Theses messages are normal. It needs to be cleaned.
But it doesn't mean it won't work. The only real way to know that is to do cat /proc/modules or lsmod in a shell.

kholk
30th October 2009, 09:22 PM
Hi there ! A good news for you, we (as a team because it wasn't the work of one of us, and chance helped a lot...) managed to make A2DP work ! So I offer you an update for the last build (posted by me on page 500) which contains a modified version of rootfs.img and system.sqsh. Just replace them on your sd card (or internal storage).

Just to remind you and for those ignore it, A2DP is a bluetooth profile that allows you to listen to music and sound from android into a bluetooth headset for example.

Here's the build update : http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/build-update_donut-1.6_a2dp.7z

Installing this update, my Android won't boot anymore.
While executing the linux kernel, the device reboots to windows mobile!

I've tried to boot many times but with no luck: it still reboots.

phhusson
30th October 2009, 09:27 PM
Installing this update, my Android won't boot anymore.
While executing the linux kernel, the device reboots to windows mobile!

I've tried to boot many times but with no luck: it still reboots.
Have you tried only once ?
We got one case during testing of such things, but it works after the reboot.
If it does so at every try, it's most likely mtype or ram* is wrong.

kholk
30th October 2009, 10:06 PM
The STARTUP.txt is the Diamond one, the one who ever booted any release, so it's all correct.
I've tried to boot it after many reboots, but nothing... it still won't boot.



EDIT: Reuploaded all the files on the device. Now it works.
I think that happened an error during the copy... but the important is that it works.
Sorry for the wrong report.

I take this possibility to ask a question:
I see much users that are saying that their devices won't reboot after device sleep on Android.
For me this happens only when formatting NAND and loading a clean Android build (DIAM300), even if I don't install anything on Android.
Is there any solution to the problem?

I know that if I don't shutdown the LCD panel the device won't reboot.. but at first boot it shuts down it and resumes successfully without any reboot!

craz2u
30th October 2009, 11:20 PM
hello i tried ((initrd--zImage android))..... but there is no wireless and other connections :( i tried to update but i cant update . help plss.....

jaellis
31st October 2009, 12:11 AM
Sometimes I get frustrated with the lack of understanding or care that people have for noobs, not that I am one, but if you know an answer to a question or know where to look point people there we want to get people interested in this project and wanting to contribute what they know in an open friendly environment. Sometimes people just get stumped and overwhelmed by the shear amount of information contained in 515 pages. Lets encourage people rather than deride them for not knowing an answer or where to look.

ANYWAYS off my soapbox.

So I have had some success using a Raph Kernel for the DIAM400, my guess is that people aren't compiling kernels for the folks that have a DIAM400 that uses an sd card. I have an 8GB and a 4 GB card this works on both.

My Issue was that it was stopping on mmcblk0: p1, this is a solution to get android to boot.

It froze here no matter what I did.
[x.xxxxxx] mmcblk0: mmc1:d555 SU04G 3979776KiB
[x.xxxxxx] mmcblk0: p1


Since this was a memory card issue, and most diamonds dont have an SD Card I figured I would look the the Raph which does.

IF YOU HAVE A DIAMOND400:

Use This Startup.txt

set RAMSIZE 0x08000000
set MTYPE 2040
set KERNEL zImage
set initrd initrd.gz
#
# The following kernel parameters are useful
# ppp.username - The username used to connect to the network when dialing #777
# ppp.password - The password used to connect to the network when dialing #777
# msm_sdcc.msmsdcc_fmax - The maximum frequency (in Hz) used by the SD controller
# pm.sleep_mode - The mode used when the phone is off
# 0=Power Collapse Suspend, 1=Power Collapse, 2=Apps Sleep,
# 3=Slow Clock and Wait for Interrupt 4=Wait for Interrupt
# Default is 3, use 0 for best power savings
# board-htcvogue.panel_type - Panel type used to power the panel off and on
# 0=Don't power off the panel (Default)
# 1=Hitachi 2=Topoly 3=Samsung
# mddi.width - width of the scaled display
# mddi.height - height of the scaled display (these should be multiples of 16 for the camera to work I think)
set cmdline "msmts_calib=0x81.0x393.0x358.0x7D init=/ msmsdcc_id=3 imgdevname=/dev/mmcblk0p1 imgdevnum=1 imgdir=/ msmvkeyb_toggle=off mddi.width=320 mddi.height=480 lcd.density=240 ppp.apn=vzw ppp.username=0000000000@vzw3g.com ppp.password=777 clock-7x00.a11=500 root=/dev/ram0 no_console_suspend"
#set cmdline "no_console_suspend"
# fbcon=rotate:1
# console=ttyMSM0"
boot

The latest Diamond package from here (http://connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=47:android-for-htc-diamond)

Use the Kernel found here (http://bertramland.com/htclinux/files/)

So my guess is that for the latest build something got messed up for those that have an SD Card.

I can't take the full credit for this the folks over at the connect-UTB forum (http://www.htc-android.com/viewtopic.php?f=5&t=337&p=3423&hilit=mmcblk0#p3423) in the Raph section were having similar issues with the latest build.

Hope this helps.

Radio(Network, wifi, bt) and Sound still does not work, and it is a bit buggy, but it gets you into android, that is sort of usable with the latest build except for the Kernel.

qumani
31st October 2009, 01:58 AM
Well I am testing this: http://connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=48:zimage-pack-with-addtional-drivers and I am able to turn my data on, get the 3G logo in the taskbar and no freezing, button lockups, restarts or anything (including connectivity). I think that this is definitely a step in the right direction. I am just not sure if it was the additional drivers or the kernal that are helping. I will go back to the last few builds and try them with the new drivers, (even though I dont believe that will work) F' it dont have anything to lose other than a little time right ;)

Oh and noticed as I was typing this if screen times out then you have to restart.

klinux
31st October 2009, 02:41 AM
Have you checked that with lsmod or just because of messages ?
Theses messages are normal. It needs to be cleaned.
But it doesn't mean it won't work. The only real way to know that is to do cat /proc/modules or lsmod in a shell.

thx for u r reply, checekd with lsmod everything iis ok, that was my fault, I cleaned my internal storage from ALL files related to previous versions and copied files again with a2dp pack, things begans to work one by one:

- BT a2dp works fine, headset no
- accelerometer works fine with some shaking :D
- WIFI works fine

I'm really impressed guys u r doing a very good job !! my diamond has a new rebirth !
it's allready for daily use , I just miss headset profile and it'll be perfect :D

chaelli
31st October 2009, 09:41 AM
@klinux: can you tell us what type of diamond you have, which startup.txt and which package? I don't even need bluetooth or wifi.. just a stable working system..
my diamond freezes all the time since the upgrade to the 1.6 version.. :(

I'd loove to have an android system stable enough for daily usage!

Dun74
31st October 2009, 12:51 PM
Well, that's ok with the babijoe-wifi, the calibration file is created.

The wifi connection is ok on a secured network, but i have to try many times before having a successful connection.



Hi, I never manager to get that calibration file created. I extracted the babijoe-wifi release, start Wifi and Bluetooth on WM6.5, start android and try to enable wifi, but it always failed. Bluetooth works (is activated), but no wifi. It is not a problem of network discovery because it happens before. I've got a DIAM100, I use the right startup.txt do you have an idea ?
I've got android running since august, I always managed to get things running (data connexion, accelerometer etc..) wifi is the last one and not the least !.
Thank you for your help

MrVarioII
31st October 2009, 01:06 PM
I've been watching and waiting for this project to get to this stage for quite some time. If only I had the skills to help you all :-)

Anyway a serious well done if we now have wifi and GPRS working. That was the main thing holding me back from using it. I assume that apps that use wifi/GPRS are also functioning?

Also I assume the market place is still a no no? Course give it time we had to crack the connectivity issues first, right?

Anyway very well done all and a heartfelt thanks. I'll be downloading android for my diamond this evening (as I'm not going to use my orange mobile connection for downloading - they'd linch me if I went over 500mb...so I've heard anyway).

chaelli
31st October 2009, 01:17 PM
I could not agree more with MrVarioII - great work!

@MrVarioII: market place works.. at least for free apps (I downloaded some of them and they were running perfectly)

phhusson
31st October 2009, 01:46 PM
thx for u r reply, checekd with lsmod everything iis ok, that was my fault, I cleaned my internal storage from ALL files related to previous versions and copied files again with a2dp pack, things begans to work one by one:

- BT a2dp works fine, headset no
- accelerometer works fine with some shaking :D
- WIFI works fine

I'm really impressed guys u r doing a very good job !! my diamond has a new rebirth !
it's allready for daily use , I just miss headset profile and it'll be perfect :D

Thanks for the report !
Headset's support isn't planned yet, so don't expect it before weeks.

Current work is focused on GPS/FM.
I might also try to do some things for proximity sensor, gyroscope and stylus detection, but android is really not helpful.

klinux
31st October 2009, 03:07 PM
@klinux: can you tell us what type of diamond you have, which startup.txt and which package? I don't even need bluetooth or wifi.. just a stable working system..
my diamond freezes all the time since the upgrade to the 1.6 version.. :(

I'd loove to have an android system stable enough for daily usage!

I have a diam100 mtype working for me now is 1805
with 19xx android won't boot with new kernel
First of all clean your internal storagefrom ANY previous android pack it's important to skip any strange issues
install the WiFi pack to generate calibration don't forget to activate wifi in winmo
overwrite with 10 27 pack to have modules working
and overwrite with the a2dp pack if u want a2dp
that's all what I did now I use winmo as boot to android only :D
from the morning it's still working with 0 reboot
hope that it'll help
feel free to ask more details that's how I learned from xda !

klinux
31st October 2009, 03:16 PM
Thanks for the report !
Headset's support isn't planned yet, so don't expect it before weeks.

Current work is focused on GPS/FM.
I might also try to do some things for proximity sensor, gyroscope and stylus detection, but android is really not helpful.

really it's a pleasant to contribute even as a tester to this project
I still have 3g connexion issue whenever i try to connect problems begins 3g icon comes and goes alone modem freeze if i try to reset it
is there a line command to do it ? I'm still not familiar to the android shell
thx in advance
adhoc wifi are not detected that prevent me from using my hd as a wifi router any help is apreciated too :D

phhusson
31st October 2009, 03:16 PM
I have a diam100 mtype working for me now is 1805
with 19xx android won't boot with new kernel
First of all clean your internal storagefrom ANY previous android pack it's important to skip any strange issues
install the WiFi pack to generate calibration don't forget to activate wifi in winmo

Thanks for the micro howto.
Just a quick note for this last sentence:
To generate calibration, you don't have to get wifi working in the previous build. You just have to try to start it, and no need to activate it in winmo. The calibration file is created as soon as you select the start wifi thing in android, but if wifi doesn't start, it's most likely because there is an error with zImage/rootfs. Anyway, if wifi doesn't start on older releases, don't loose your time on it, see if it creates a calibration (should be around 760Bytes) file in your SD/Internal Storage, if so you can switch to current build.

I still have 3g connexion issue whenever i try to connect problems begins 3g icon comes and goes alone modem freeze if i try to reset it
is there a line command to do it ? I'm still not familiar to the android shell
There are still many bugs with it. I'll do a Q&D release soon, but because of DNS problems, it will use OpenDNS, which might cause problem for some users. (ISPs not providing external DNS access)


adhoc wifi are not detected that prevent me from using my hd as a wifi router any help is apreciated too :D
Oh tough one, i have no idea where this can be a problem, we would need an iwlist and iwconfig.

As a first try you can run (with adb shell and run bash for instance), with wifi activated (you have to be quick since android disactive it often), wpa_cli -p /data/system/wpa_supplicant/
In the wpa_cli prompt, do scan and then scan_results.
If it doesn't show there, then it's not an android problem (which will be really helpful because debugging android is a real pain.), if it does show, then good luck, but i won't play with it :p.
Anyway please report the result.

c4software
31st October 2009, 05:24 PM
@phhusson if my memory is good, when i have an G1 android doesn't show adhoc wifi.

stevebrush
31st October 2009, 05:44 PM
...
- accelerometer works fine with some shaking :D
...
the problem is that the sensor detection is inverted :
in landscape mode, to return in portrait mode, I have to flip my diamond one more time in the same way ;-) then my phone is flipped with the buttons upside :-) (sorry, it's hard to translate)
but it works!

phhusson
31st October 2009, 06:00 PM
the problem is that the sensor detection is inverted :
in landscape mode, to return in portrait mode, I have to flip my diamond one more time in the same way ;-) then my phone is flipped with the buttons upside :-) (sorry, it's hard to translate)
but it works!

That's strange, can you check the behaviour with some apps ? For instance with abduction.
Please also give your phone model

zenulator
31st October 2009, 06:04 PM
if any of you guys can get me a cdma diamond i'll make all my android ports for it. i see your already running several of them. send me a pm and let me know. i've pretty much decided to move to diamond development once i can get a phone to test on.

chaelli
31st October 2009, 06:44 PM
@klinux: thx a lot... I used the same package just without wifi and bluetooth.. and I cleaned from previous versions.. freezes after about 1 min... I try to add wifi tomorrow... maybe it helps ;) who knows..

mssmison
31st October 2009, 06:57 PM
you guys need a couple good dev's on this project. Someone hit zenulator up on his offer, he did some great work for the vogue port of android.
Should be easy enough to get all the current android builds that are floating around the dream forums running.

klinux
31st October 2009, 07:01 PM
@klinux: thx a lot... I used the same package just without wifi and bluetooth.. and I cleaned from previous versions.. freezes after about 1 min... I try to add wifi tomorrow... maybe it helps ;) who knows..

but after freezes did it works ok or no ?? hope it's OK !
anyway happy that it helps
cheers

H3x
31st October 2009, 07:11 PM
Just saw that Android 2.0 got released. How hard would it be to integrate this into the current builds? Would there be any incompatibilities? Or are there new features that might help us?

phhusson
31st October 2009, 07:17 PM
Just saw that Android 2.0 got released. How hard would it be to integrate this into the current builds? Would there be any incompatibilities? Or are there new features that might help us?

Only the SDK has been released, not the source code yet, so even if it is "portable" (see previous pages this has already been tried), we can't fix what has been broken.

zenulator
31st October 2009, 07:29 PM
as soon as i get a diamond i'll get 2.0 and the new sense ui builds ported over. you should already be able to run the hero/magic sense ui builds with the right settings like you do with my xrom and donut builds.

klinux
31st October 2009, 07:30 PM
Thanks for the micro howto.
Just a quick note for this last sentence:
To generate calibration, you don't have to get wifi working in the previous build. You just have to try to start it, and no need to activate it in winmo. The calibration file is created as soon as you select the start wifi thing in android, but if wifi doesn't start, it's most likely because there is an error with zImage/rootfs. Anyway, if wifi doesn't start on older releases, don't loose your time on it, see if it creates a calibration (should be around 760Bytes) file in your SD/Internal Storage, if so you can switch to current build.


There are still many bugs with it. I'll do a Q&D release soon, but because of DNS problems, it will use OpenDNS, which might cause problem for some users. (ISPs not providing external DNS access)


Oh tough one, i have no idea where this can be a problem, we would need an iwlist and iwconfig.

As a first try you can run (with adb shell and run bash for instance), with wifi activated (you have to be quick since android disactive it often), wpa_cli -p /data/system/wpa_supplicant/
In the wpa_cli prompt, do scan and then scan_results.
If it doesn't show there, then it's not an android problem (which will be really helpful because debugging android is a real pain.), if it does show, then good luck, but i won't play with it :p.
Anyway please report the result.

Good news I think :)
scan results
<2>CTRL-EVENT-SCAN-RESULTS
OK
it's not showing ad-hoc in the scan results
I will try a scan somewhere else where there are other wifi points to see if wifi is ok (don't know after switching wifi on/off many times maybe it's unable to scan !!)

phhusson
31st October 2009, 07:33 PM
Good news I think :)
scan results
<2>CTRL-EVENT-SCAN-RESULTS
OK
it's not showing ad-hoc in the scan results
I will try a scan somewhere else where there are other wifi points to see if wifi is ok (don't know after switching wifi on/off many times maybe it's unable to scan !!)

it's scan_results not scan results, notice the underscore.

klinux
31st October 2009, 07:51 PM
it's scan_results not scan results, notice the underscore.

scan_results
bssid / frequency / signal level / flags / ssid
02:22:fa:03:b9:73 2462 204 [WEP][IBSS] Energy ROM

H3x
31st October 2009, 07:53 PM
Only the SDK has been released, not the source code yet, so even if it is "portable" (see previous pages this has already been tried), we can't fix what has been broken.

I was mistaken in thinking that the source was already released. However, a ROM dump of Droid seems to be available here (http://forum.xda-developers.com/showthread.php?t=577291) which might help.

Having 2.0 would (obviously) be very cool.

phhusson
31st October 2009, 07:58 PM
scan_results
bssid / frequency / signal level / flags / ssid
02:22:fa:03:b9:73 2462 204 [WEP][IBSS] Energy ROM

So android's fault! Good luck :D

zenulator
31st October 2009, 08:07 PM
I was mistaken in thinking that the source was already released. However, a ROM dump of Droid seems to be available here (http://forum.xda-developers.com/showthread.php?t=577291) which might help.

Having 2.0 would (obviously) be very cool.

2.0 has already been ported we just need the source to be released to get it fully functional. The sholes dump isn't going to help much since its different hardware and 2.0 has a different egl setup.

ND4SPD
31st October 2009, 08:15 PM
as soon as i get a diamond i'll get 2.0 and the new sense ui builds ported over. you should already be able to run the hero/magic sense ui builds with the right settings like you do with my xrom and donut builds.

What kinds of settings? I've tried tons of combinations of system.sqsh with different rootfs as well as pre-built data.img. The closest two that I got were the Sprint Hero rom which kept repeating the Sprint splash screen and the Tattoo build which shows the notification bar at the top and then freezes. With any hero build, there is that problem reading the init.rc file. However, I have been able to get your xRom builds and the donut builds to work.

manekineko
31st October 2009, 08:26 PM
if any of you guys can get me a cdma diamond i'll make all my android ports for it. i see your already running several of them. send me a pm and let me know. i've pretty much decided to move to diamond development once i can get a phone to test on.

What would you need? Would it need a clean ESN I assume? Just mail it without service to you and you'd take care of the rest?

If no one has a spare maybe we could start up a collection.

zenulator
31st October 2009, 08:30 PM
What kinds of settings? I've tried tons of combinations of system.sqsh with different rootfs as well as pre-built data.img. The closest two that I got were the Sprint Hero rom which kept repeating the Sprint splash screen and the Tattoo build which shows the notification bar at the top and then freezes. With any hero build, there is that problem reading the init.rc file. However, I have been able to get your xRom builds and the donut builds to work.

did you set your resolution to 480*320 lcd.density=160.thats what we do on the vogue for hero. tattoo isnt going to work for diamond its made to run in qvga. but hero should run at 480*320.

i just uploaded a rootfs.img for diamond users at vogue-android (http://vogue-android.googlecode.com/files/rootfs-diamond-hero.img) to see if you can get hero running with it. put mddi.width=320 mddi.height=480 lcd.density=160 in your startup.txt.

good luck.

zenulator
31st October 2009, 08:47 PM
What would you need? Would it need a clean ESN I assume? Just mail it without service to you and you'd take care of the rest?

If no one has a spare maybe we could start up a collection.

doesn't need a clean esn but it would be helpfull if it did. i can always swap the esn. just working condition no service. cdma verizon branded preferred but sprint branded should work. if i can't get service on it i can still at least make the builds boot and run right.

ND4SPD
31st October 2009, 08:57 PM
did you set your resolution to 480*320 lcd.density=160.thats what we do on the vogue for hero. tattoo isnt going to work for diamond its made to run in qvga. but hero should run at 480*320.

i just uploaded a rootfs.img for diamond users at vogue-android (http://vogue-android.googlecode.com/files/rootfs-diamond-hero.img) to see if you can get hero running with it. put mddi.width=320 mddi.height=480 lcd.density=160 in your startup.txt.

good luck.

good deal! Will definitely try that right now. It's supposed to take ~10 mins to boot first time, right?

dragonking88
31st October 2009, 09:16 PM
hy guys, i got a problem when installing wifi. i followed the instruction here http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth and i can get my wifi work well, connect to my network and get some app from the market.
but the problem is i can not use diamond button (home, call, end call) anymore after i got wifi work???it means that at the 1st boot, i can use these button without wifi, but after enable wifi, i cannot use these one anymore. event reboot -> it lead me to another problem:at next boot, i can not unlock for diamond because cannot use button. Any one have any idea about that? Can any one check it out and give me some advice. Thank you in advance.
p.s sorry for my bad English!

zenulator
31st October 2009, 09:19 PM
good deal! Will definitely try that right now. It's supposed to take ~10 mins to boot first time, right?

5-10 depending on the build. which one are you using? you should try the magic sense ui v2 at vogue-hero. thats the latest sense ui.

butterdori
31st October 2009, 09:22 PM
Finally got wifi working and managed to install some stuff :)

One thing though, in some places (like email), I can't get portrait keyboard. Is this a known error? Also, sometimes the menu button (home on diamond) doesn't work so I can't get past the lock screen. If I reset it, it works again. And if I reset once more, it doesn't. Reset once more, it does.....

Besides that, now that we have most of the vital stuff working (except 3G data), the only thing left, it seems, is optimization! (Oh and Eclair port)

Truly tremendous effort by everyone in the community.. can't thank enough

ND4SPD
31st October 2009, 09:29 PM
5-10 depending on the build. which one are you using? you should try the magic sense ui v2 at vogue-hero. thats the latest sense ui.

I just tried your system-zenmagic.sqsh dated October 19th. Didn't boot with that one. I'll try your v2 build now.

zenulator
31st October 2009, 09:34 PM
I just tried your system-zenmagic.sqsh dated October 19th. Didn't boot with that one. I'll try your v2 build now.

whats it doing?

nearlybritish
31st October 2009, 09:54 PM
whats it doing?

Whenever I try any of the Hero builds on Raph (110) it gets to the blank black screen and sits there forever... have waited about 20 minutes. Tried v2 with the Diamond rootfs you just posted as well, and the startup settings you suggested for the Diamond user.

The screen is partially backlit and front panel is responsive to touch

Just FYI

zenulator
31st October 2009, 10:02 PM
Whenever I try any of the Hero builds on Raph (110) it gets to the blank black screen and sits there forever... have waited about 20 minutes. Tried v2 with the Diamond rootfs you just posted as well, and the startup settings you suggested for the Diamond user.

The screen is partially backlit and front panel is responsive to touch

Just FYI
so can you guys do that resolution mddi.width=320 mddi.height=480 lcd.density=160 in your startup.txt.? and are there any errors that come up at boot? how about running logcat through adb to see if android is running.

nearlybritish
31st October 2009, 10:19 PM
so can you guys do that resolution mddi.width=320 mddi.height=480 lcd.density=160 in your startup.txt.? and are there any errors that come up at boot? how about running logcat through adb to see if android is running.

Resolution works well in 1.5, no errors that I can eyeball on hero boot but I'm not running logcat... Does that require a Linux shell running?

jooprzol
31st October 2009, 10:21 PM
Has anyone on the at&t network been able to send a text message? What needed to be changed to do so?

zenulator
31st October 2009, 10:24 PM
Resolution works well in 1.5, no errors that I can eyeball on hero boot but I'm not running logcat... Does that require a Linux shell running?

i don't know how it works for the diamond but for my vogue i use adb from the android sdk in a linux terminal. whats the best running cupcake/1.5 build for the diamond including all files needed to boot?

ND4SPD
31st October 2009, 10:30 PM
whats it doing?

I didn't see any errors when I booted into your v2 build. This time, the keypad acts like it should and lights up in response to touch (the first version forced the keypad on as soon when it came to the blank screen). I've just left it for 5 mins, but it hasn't booted yet.

i don't know how it works for the diamond but for my vogue i use adb from the android sdk in a linux terminal. whats the best running cupcake/1.5 build for the diamond including all files needed to boot?

For Android 1.5: I think the package that runs best is the 09/09/09 package from Connect-UTB.
For Android 1.6: I haven't tried Connect-UTB's bundle, but I'm guessing that's the most stable and the fastest.

nearlybritish
31st October 2009, 10:34 PM
i don't know how it works for the diamond but for my vogue i use adb from the android sdk in a linux terminal. whats the best running cupcake/1.5 build for the diamond including all files needed to boot?

You mean from your pc through a data cable, right? Or from your device?

zenulator
31st October 2009, 10:41 PM
You mean from your pc through a data cable, right? Or from your device?

usb connected to the computer.

nearlybritish
31st October 2009, 10:44 PM
For Android 1.5: I think the package that runs best is the 09/09/09 package from Connect-UTB.
For Android 1.6: I haven't tried Connect-UTB's bundle, but I'm guessing that's the most stable and the fastest.

Actually I've had the best luck with vilords ion 1.5 build (Oct 10th), dzo's rootfs posted here on the board Oct 13th or 14th and the latest glemsom zimage.

For 1.6, the new build works good but data freezes/restarts the device. I've stuck with 1.5

zenulator
31st October 2009, 10:50 PM
Actually I've had the best luck with vilords ion 1.5 build (Oct 10th), dzo's rootfs posted here on the board Oct 13th or 14th and the latest glemsom zimage.

For 1.6, the new build works good but data freezes/restarts the device. I've stuck with 1.5

have a link to that rootfs.img? also that 1.6 build is mine we had to modify the ril to work with donut so thats prob why it isn't working for you guys. i looked at the package for it at connect-utb and it's still using the donut ril for vogue.

nearlybritish
31st October 2009, 10:58 PM
I've built a new rootfs that should give a more reliable data connection.

http://vogue-android.googlecode.com/files/rootfs-14-10-09.img

All credit for this goes to mdrobnak, he's spent a long time figuring out how to fix the ril for diamond.

Source for this is here:
http://github.com/vilord/android-htc-ril (in the diamond branch)
and here:
http://github.com/vilord/android-initrd

Here's the rootfs that he posted. I would try the logcat approach if I had a miniusb handy...

zenulator
31st October 2009, 11:04 PM
Here's the rootfs that he posted. I would try the logcat approach if I had a miniusb handy...

cool i'll look at it. your using this with vilords ion? and can run the resolution i stated a couple posts back? i'll take a look at that rootfs.img and see whats needed to run hero.

nearlybritish
31st October 2009, 11:12 PM
cool i'll look at it. your using this with vilords ion? and can run the resolution i stated a couple posts back? i'll take a look at that rootfs.img and see whats needed to run hero.

Running ion and hero resolution right now... Data works, landscape/keyboard works, pretty smooth although not as nice as your 1.6 :)

zenulator
31st October 2009, 11:49 PM
ok i uploaded a new version of the rootfs at vogue-android. it's hero only it won't boot any other versions of android.

H3x
31st October 2009, 11:55 PM
Awesomeness! Which build should I use with this? system-zenmagic-102309.sqsh (http://vogue-hero.googlecode.com/files/system-zenmagic-102309.sqsh) you posted over at vogue-hero (http://code.google.com/p/vogue-hero/downloads/list)? Or am I totally amiss?

herpez
1st November 2009, 12:14 AM
Hi. In connect last diam package, what should we do to make wifi working?

Thanks

EDIT - figured out.

SparcoNL
1st November 2009, 12:36 AM
who is willing to post the actual WORKING WIFI android .
all the file's that you have on diamond.
My diamond runs android perfectly ( the version from utb )
But i have no gprs ( 3g ) and no wifi. So i'm not able to go online what so ever. I have an 3g provider.
And i realy realy want to go online with android. Go to marketplace, try the browrser, and do more testing.

Who WITH a working wifi and gprs (3g) want to post the file's they have on their internal memory


Greetz from a Dutch ( holland ) tester

ps. DIAM100

nGm@ze
1st November 2009, 01:27 AM
Hi guys

I have been redirected to this thread from the Raphael Android thread "http://forum.xda-developers.com/showthread.php?t=577736&page=4" and got told that theres tutorial on how to install Hero android build(Sense UI+Android) in here, would anybody guide me to the right place please:o? Thanks in advance.

nGm@ze

zenulator
1st November 2009, 01:45 AM
Awesomeness! Which build should I use with this? system-zenmagic-102309.sqsh (http://vogue-hero.googlecode.com/files/system-zenmagic-102309.sqsh) you posted over at vogue-hero (http://code.google.com/p/vogue-hero/downloads/list)? Or am I totally amiss?

you can try the zenmagic v2 with the rootfs.img i uploaded at vogue android. i booted hero with it on the vogue but its using the diamond ion init.rc modified to run hero.

ND4SPD
1st November 2009, 01:53 AM
you can try the zenmagic v2 with the rootfs.img i uploaded at vogue android. i booted hero with it on the vogue but its using the diamond ion init.rc modified to run hero.

Great work! Are there any other required things to use with this? I've tried it with the latest donut build (build-update_donut-1.6_a2dp.7z) with the new rootfs and zenmagicv2, but the build got to the black screen and stayed there for about 20 mins - I gave up after that.

H3x
1st November 2009, 01:56 AM
Hi guys

I have been redirected to this thread from the Raphael Android thread "http://forum.xda-developers.com/showthread.php?t=577736&page=4" and got told that theres tutorial on how to install Hero android build(Sense UI+Android) in here, would anybody guide me to the right place please? Thanks in advance.

nGm@ze

Whoever told you that was smoking something.
With lead in it.
And got dropped as a baby.
On the head.

Just kidding... but there is definitely no "tutorial". We are literally just getting to TRYING to run a sense/Hero build on the Diamond. If you want to help us, here's what you need to do:
1) Get a Linux kernel image, the latest one (http://connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=48:zimage-pack-with-addtional-drivers) has wi-fi and bluetooth drivers packaged with it as well. Note that the kernel is still very much under-construction. Data connections are shaky, and SOME people are getting wi-fi/bluetooth to work.

2) Get 'n Hero/Sense Android build to run ON linux. None have been tested so far, but I'm going to try the zenmagic v2 taiwan magic sense ui build (http://code.google.com/p/vogue-hero/downloads/detail?name=system-zenmagic-102309.sqsh&can=2&q=&sort=-uploaded). You could try that one or maybe test another one listed at vogue-hero (http://code.google.com/p/vogue-hero/downloads/list?can=2&q=&sort=-uploaded&colspec=Type%20Filename%20Summary%20Uploaded%20Siz e%20DownloadCount) (look for uploads that are listed as "SenseUI", "Image" in the type column) so that we can get through testing different combo's quicker.

3) You'll also need a device-specific footfs.img like the one zenulator has just posted (http://code.google.com/p/vogue-android/downloads/detail?name=rootfs-diamond-hero-v2.img&can=2&q=&sort=-uploaded).

4) Download all the files and then extract/copy all of these files to the ROOT of the Internal Storage of you Diamond.

5) Now edit the startup.txt (in Int Storage root) file or use this one from glemsom (http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth/logs/STARTUP.TXT) (overwrite the startup.txt in your Int Storage). Note that for Hero/Sense certain variables have to be set accordingly (mddi.width=320 mddi.height=480 lcd.density=160).

6) Navigate to your Int Storage ROOT and run Haret.exe

(I think I've covered everything; anyone else please feel free to correct me)

This HAS NOT been tested AT ALL so there's no saying if it will work. You needn't worry about damaging your phone, though, as no files are being written to flash and no permanent changes being made. If the boot fails, just soft reset your phone.

H3x
1st November 2009, 01:45 AM
No joy using kernel "zImage pack with addtional drivers" from Connect-utb, zenmagic v2 and rootfs-diamond-hero.img.

Loads Android then blank screen with (SLOW) flashing promt (underscore) top left.

zenulator
1st November 2009, 02:15 AM
No joy using kernel "zImage pack with addtional drivers" from Connect-utb, zenmagic v2 and rootfs-diamond-hero.img.

Loads Android then blank screen with (SLOW) flashing promt (underscore) top left.
well from what dzo says the diamond doesnt scale the display. so until that can happen sense ui builds wont boot. it needs to be implimented in kernel. this is most likely why you have a black screen.
if someone could post some logcat output i could be sure this is the case because surfaceflinger will be crashing.

herpez
1st November 2009, 02:41 AM
Hi. I tried this package
http://www.connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=47:android-for-htc-diamond (20091027)

with a calibration file i made with other package.

However, it boots and hangs on the initial lock screen (press menu to unlock) and never unlocks (i tried not only the regular unlock combination but also many other). I have a DIAM100

Anyone can recommend me a good package please?

Thanks

H3x
1st November 2009, 02:47 AM
I'm no Linux expert, but I'll attempt to get a logcat output. If I'm correct I need to download the SDK and the USB driver, boot Android, connect phone to PC via USB and then run ADB shell and issues a the command "logcat". Is this correct? Any parameters I should add to the logcat command? Sorry for being such an uber linux n00b.

H3x
1st November 2009, 02:49 AM
Hi. I tried this package
http://www.connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=47:android-for-htc-diamond (20091027)

with a calibration file i made with other package.

However, it boots and hangs on the initial lock screen (press menu to unlock) and never unlocks (i tried not only the regular unlock combination but also many other). I have a DIAM100

Anyone can recommend me a good package please?

Thanks

Are you pressing the Menu button? Sometimes my DPAD buttons (incl. menu) don't work. Make sure the back lights are lighting when you swipe over/press a DPAD button. If not, try booting again (make sure you execute a DPAD button press before running haret).

nGm@ze
1st November 2009, 02:52 AM
Whoever told you that was smoking something.
With lead in it.
And got dropped as a baby.
On the head.

Just kidding... but there is definitely no "tutorial". We are literally just getting to TRYING to run a sense/Hero build on the Diamond. If you want to help us, here's what you need to do:
1) Get a Linux kernel image, the latest one (http://connect-utb.com/index.php?option=com_rokdownloads&view=file&Itemid=68&id=48:zimage-pack-with-addtional-drivers) has wi-fi and bluetooth drivers packaged with it as well. Note that the kernel is still very much under-construction. Data connections are shaky, and SOME people are getting wi-fi/bluetooth to work.

2) Get 'n Hero/Sense Android build to run ON linux. None have been tested so far, but I'm going to try the zenmagic v2 taiwan magic sense ui build (http://code.google.com/p/vogue-hero/downloads/detail?name=system-zenmagic-102309.sqsh&can=2&q=&sort=-uploaded). You could try that one or maybe test another one listed at vogue-hero (http://code.google.com/p/vogue-hero/downloads/list?can=2&q=&sort=-uploaded&colspec=Type%20Filename%20Summary%20Uploaded%20Siz e%20DownloadCount) (look for uploads that are listed as "SenseUI", "Image" in the type column) so that we can get through testing different combo's quicker.

3) You'll also need a device-specific footfs.img like the one zenulator has just posted (http://code.google.com/p/vogue-android/downloads/detail?name=rootfs-diamond-hero-v2.img&can=2&q=&sort=-uploaded).

4) Download all the files and then extract/copy all of these files to the ROOT of the Internal Storage of you Diamond.

5) Now edit the startup.txt (in Int Storage root) file or use this one from glemsom (http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth/logs/STARTUP.TXT) (overwrite the startup.txt in your Int Storage). Note that for Hero/Sense certain variables have to be set accordingly (mddi.width=320 mddi.height=480 lcd.density=160).

6) Navigate to your Int Storage ROOT and run Haret.exe

(I think I've covered everything; anyone else please feel free to correct me)

This HAS NOT been tested AT ALL so there's no saying if it will work. You needn't worry about damaging your phone, though, as no files are being written to flash and no permanent changes being made. If the boot fails, just soft reset your phone.

Do i do the same for Raphael? Because im using a Raphael device not Diamond.

H3x
1st November 2009, 02:57 AM
well from what dzo says the diamond doesnt scale the display. so until that can happen sense ui builds wont boot. it needs to be implimented in kernel. this is most likely why you have a black screen.
if someone could post some logcat output i could be sure this is the case because surfaceflinger will be crashing.

Will try getting an output. Insofar display scaling goes - there's definitely a change in element size when I change lcd.density... not sure about whether changing the virtual/scaled display (mddi) actually does anything so dzo may be right

H3x
1st November 2009, 03:05 AM
Do i do the same for Raphael? Because im using a Raphael device not Diamond.

As far as I know you'd only need to change the startup.txt contents. I've only been using Diam100 so not sure what Raph parameters are. Try searching this thread for a Raph user's startup.txt

However, I should warn you that Hero still isn't working. You'll probably be able to get the standard UI running (codenamed "Rosie") as far as I know, but there are some pretty good Hero-esque theme available for that

rpgman
1st November 2009, 03:09 AM
2) Get 'n Hero/Sense Android build to run ON linux. None have been tested so far, but I'm going to try the zenmagic v2 taiwan magic sense ui build (http://code.google.com/p/vogue-hero/downloads/detail?name=system-zenmagic-102309.sqsh&can=2&q=&sort=-uploaded). You could try that one or maybe test another one listed at vogue-hero (http://code.google.com/p/vogue-hero/downloads/list?can=2&q=&sort=-uploaded&colspec=Type%20Filename%20Summary%20Uploaded%20Siz e%20DownloadCount) (look for uploads that are listed as "SenseUI", "Image" in the type column) so that we can get through testing different combo's quicker.

3) You'll also need a device-specific footfs.img like the one zenulator has just posted (http://code.google.com/p/vogue-android/downloads/detail?name=rootfs-diamond-hero-v2.img&can=2&q=&sort=-uploaded).

5) Now edit the startup.txt (in Int Storage root) file or use this one from glemsom (http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth/logs/STARTUP.TXT) (overwrite the startup.txt in your Int Storage). Note that for Hero/Sense certain variables have to be set accordingly (mddi.width=320 mddi.height=480 lcd.density=160).

I try the 4 system files with this rootfs, screen stay black and sometime a "-" or "_" in the top left corner (when i change the system file i let the same rootfs that i copied)

I wish a surprise ^^

zenulator
1st November 2009, 03:09 AM
Will try getting an output. Insofar display scaling goes - there's definitely a change in element size when I change lcd.density... not sure about whether change the virtual/scaled display (mddi) actually does anything so dzo may be right
well then thats the key to getting hero/sense ui on your diamonds. htc pretty much locked in that 480*320 resolution@lcd.density=160 for sense ui. tattoo is different and might run at your native resolution but htc also scaled all the png's for the tattoo sense ui for qgva so even if you got it up and running it would look out of proportion because it's made for 320x240@lcd.density=120.
thats all i can do for now. i'm not a kernel developer and i don't even know if it's possible to implement display scaling on your hardware.

ND4SPD
1st November 2009, 03:10 AM
well from what dzo says the diamond doesnt scale the display. so until that can happen sense ui builds wont boot. it needs to be implimented in kernel. this is most likely why you have a black screen.
if someone could post some logcat output i could be sure this is the case because surfaceflinger will be crashing.

I don't really know much about linux at all, but couldn't the kernel be compiled with the sprint hero's code to get this to work? Also, I'll try to get that logcat data for you.

Thanks for all the work you put in, even though you don't have the diamond.

zenulator
1st November 2009, 03:17 AM
I don't really know much about linux at all, but couldn't the kernel be compiled with the sprint hero's code to get this to work? Also, I'll try to get that logcat data for you.

read my post above. i'm not sure what the sprint hero resolution is but the sprint hero port is locked away in depreciated at vogue-hero and the rootfs i posted won't work with it on the diamond. it uses a custom init.rc that gets pulled from the system image and is meant for vogue/kaiser. i could give it one last try for the diamond tomorrow or later tonight if you want. your best bet is when the hero goes to android 2.0 then resolution shouldn't matter.

herpez
1st November 2009, 03:30 AM
Are you pressing the Menu button? Sometimes my DPAD buttons (incl. menu) don't work. Make sure the back lights are lighting when you swipe over/press a DPAD button. If not, try booting again (make sure you execute a DPAD button press before running haret).

Thanks!!

I will try and give feedback

rpgman
1st November 2009, 03:38 AM
After these testing, when i put back my rootfs and system (i renamed them before testing), i reboot under Android, i loose the hardware button and i noticed that wifi was ON i wait a little and see the notification that i have a new mail ^^ but not harware button :p :) i'll reboot

I want to share another thing, today i was testing the "Kisja_SUN_Y_6_1_TF3D_2_5_BETA_3_WWE" rom before going back to BSB 6.5.1D.
Under the Kisja rom i used MyPhone and thinking it would be great if i do something like that for Android, so i search a little and found Google Sync (http://www.google.com/support/mobile/bin/answer.py?answer=138636&topic=14299) i uncheck E-mail and made a sync :p and it works ^^
I check in my gmail account on laptop and see my contacts, only some info are wrong (like notes for door entrance code) but almots everything else in place.
I put a new unused android on the root of the SD card, i connect Wifi, setup gmail account and it sync and i've got all my contacts with pictures in place in Android :p

Google sync is in beta stage so beware.

Data connection and battery normal and i'd like to have a rom with it ^^

For info, it'seem that Android's battery take the charge only when i start it pluged in usb, if i connect after : no reaction :p and always the warning of being under 15%

babijoee
1st November 2009, 03:39 AM
Hi guys a fellow member has PM a moderator to pass this thread onto a more active member and has requested me as a candidate. Hopefully I'll will be updating and posting links and FAQs for all specific version of Diamond's and Raphael's so that new users to android will have some clue of the porting development and status. :)
This will keep this thread a bit cleaner and will make this thread a lot more productive.
Hoping to work with other followers of this thread and get android working for everyone.

It is however for me exam period, so i'd like to not lurk these forums than study but i still do from time to time. So I wont be on so much lately, but i do finish soon on the 11th and then i'll come strong back into the scene.

On another note, I'd like to say that my builds are using many peoples hard work and time and I would like to thank and give credit to.
-Zenulator - for his Donut images and basefiles
-Glemsom for his zImage kernels and squashfs autobuilds
-dzo for all his work on functionality and getting Android working
-phhusson & leobaillard - wifi, bluetooth and headset
-Untouchable for his builds and compassion on getting android running and support on connect-utb

slovoflud
1st November 2009, 07:58 AM
Hi guys a fellow member has PM a moderator to pass this thread onto a more active member and has requested me as a candidate. Hopefully I'll will be updating and posting links and FAQs for all specific version of Diamond's and Raphael's so that new users to android will have some clue of the porting development and status. :)
This will keep this thread a bit cleaner and will make this thread a lot more productive.
Hoping to work with other followers of this thread and get android working for everyone.



Oh, that's great news!

chaelli
1st November 2009, 09:28 AM
@klinux: nope.. it doesn't .. stays freezed until I soft reset... anyways.. I'll wait for a new package.. maybe I've got more luck then ;)

sorrowt
1st November 2009, 09:35 AM
hello guys,

I have 3 questions:

1. when in android I connect the USB to the PC, nothing happens! no new device! how to enable it?
2. is USB charging working?
3. what is status of power management? sleep working?

thanks

betacheer
1st November 2009, 09:57 AM
I seen how-to run wifi. So i tried to turn on BT and Wlan on WM and than boot to android and turn on wifi in android several times but wifi dont start and dont create "calibration"? What i AM doing wrong...

kholk
1st November 2009, 10:00 AM
The USB to PC connection doesn't work even for me. I've tried only using Windows 7, but I think that using Linux will be the same because Windows doesn't find any device, it's like a not connected cable, so... I think that the necessary modules aren't implemented yet in our Linux kernel compiled for MSM.

USB charging works with some glemsom's zImages.
The zImages that works are the ones that won't include the WiFi & BT modules, at least for me.

As for the APM, uh, that's funny... on my DIAM300 it works only at first boot. If I reboot, starting from second boot of android, it reboots at resume from sleep.
I'm not sure of that, but some DIAM100 users have reported that APM is fully working.


P.S.: I'd like to help this project, but for some reasons (never happened on my machines!), the Linux kernel boots, but when starting X my system freezes!
It happened when I swapped my mainboard with an AMD 790X chipset mainboard... even trying to do a clean install with an updated kernel and VESA compatibility drivers will freeze all...
I've got a Phenom9850BE @ 3.6GHz, so I can compile a Linux kernel in a few seconds... If someone can help me, please PM! ;)

littlej
1st November 2009, 11:00 AM
i'm facing the same problem with bt and wifi, can any one share a calibration file or ? i dont understand how to create it...

9600xt
1st November 2009, 11:14 AM
you can create it installing an old version with the wi-fi support, i can share my calibration file with you, but i do not know if will work...

anyway it is there...

http://rapidshare.com/files/300846415/calibration.html

BobLC
1st November 2009, 12:01 PM
Littlej, betacheer, you have to use an older release for the creation of the calibration file.
I have used this one babijoee-wifi.7z (http://www.cobaltcode.com/fileupload/data/Android/AllInOne/babijoee-wifi.7z).
- remove all previously installed files;
- extract all the archive in the root of the internal storage;
- modify the startup.txt according to your device;
- start haret and wait android boots;
- start the wifi. Stop playing with this release as soon as the calibration file is created in the internal storage root;
- remove all previously installed files, except the calibration file;
- install the newest release (I use this one from GlemSom special-diamond-raphael-wifi-bluetooth/ (http://glemsom.anapnea.net/android/special-diamond-raphael-wifi-bluetooth/))

phhusson
1st November 2009, 02:58 PM
you can create it installing an old version with the wi-fi support, i can share my calibration file with you, but i do not know if will work...

anyway it is there...

http://rapidshare.com/files/300846415/calibration.html

If someones can gives feedback, it would be appreciated. calibration files are meant, by TI, to be device dependant, but maybe devices aren't that different and this might work. If it does it will make wifi easier to setup.

flymanj
1st November 2009, 03:00 PM
If someones can gives feedback, it would be appreciated. calibration files are meant, by TI, to be device dependant, but maybe devices aren't that different and this might work. If it does it will make wifi easier to setup.

I tried to download it but it is not possible because there is an error message that the file can be downloaded just 10 times.:(

Tamille
1st November 2009, 03:17 PM
sorry, maybe thats a stupid question.
I'm not the technically expert in things like that.
I got my andorid on my touch diamond running.
but now there is comung up "enter pin code" and i dont have a keyboard on screen and cause of my diamond i dont have a hardware keyboard.
how can i continue with android on my phone?

sry for my bad english

whistler-nl
1st November 2009, 03:31 PM
sorry, maybe thats a stupid question.
I'm not the technically expert in things like that.
I got my andorid on my touch diamond running.
but now there is comung up "enter pin code" and i dont have a keyboard on screen and cause of my diamond i dont have a hardware keyboard.
how can i continue with android on my phone?

sry for my bad english

Turn off the pincode in windows mobile. Thats the only way to get around it for now. :)

sorrowt
1st November 2009, 03:31 PM
If someones can gives feedback, it would be appreciated. calibration files are meant, by TI, to be device dependant, but maybe devices aren't that different and this might work. If it does it will make wifi easier to setup.


And here is the confirmation...

I copied the files to the root of the card, enabled BT in Android then enabled Wifi and it works... :) iam using the latest build with the BT wifi drivers

Tamille
1st November 2009, 03:33 PM
Okay, thx for that fast reply!
ill try it

Edit: it's now working. Thanx a lot!

toastcfh
1st November 2009, 03:40 PM
And here is the confirmation...

I copied the files to the root of the card, enabled BT in Android then enabled Wifi and it works... :) iam using the latest build with the BT wifi drivers

can u mirror the file? im getting the download limit error. says it can only be downloaded 10 times

9600xt
1st November 2009, 04:21 PM
sorry for the download limit, i did not know thet rapidshare will have this type of limit.....

here is a new mirror:
http://www.mediafire.com/file/gjz21z0mzhj/calibration

klinux
1st November 2009, 04:43 PM
sorry for the download limit, i did not know thet rapidshare will have this type of limit.....

here is a new mirror:
http://www.mediafire.com/file/gjz21z0mzhj/calibration

u know u can do easier ! see attachments
u have just to extract it in the root of the sdcard
by the way it's working

klinux
1st November 2009, 04:52 PM
@klinux: nope.. it doesn't .. stays freezed until I soft reset... anyways.. I'll wait for a new package.. maybe I've got more luck then ;)

can u please give more details which diamnd u have what u did and where it freezes exactly may be we can help u

klinux
1st November 2009, 05:15 PM
for those who want to test command lines over usb throw windows pcs i'll try to explain howto (fell free to correct me if I miss something :D):

download android sdk 1.6 extract it somewheere in preference in root of ur hard drive
add ~\tools pathname to variables path of windows
connect ur diamond under winmo and run haret windows detect msm usb when kernel boots ignore drive installation at this stage

when android boots it's detected again as usb composite and msm usb install the driver located at androsdk\usb driver
now u r reaady to use it
fire comand line under windows and tap adb shell
tap bash
u have a remote shell to android I assume that u know how to use it ;)

klinux
1st November 2009, 05:23 PM
@kholk

to install linux on u r pc u can do it over virtualbox as a virtual machine I tnink that is should works under windows 7
hope it'll help
cheers

Dun74
1st November 2009, 06:05 PM
And here is the confirmation...

I copied the files to the root of the card, enabled BT in Android then enabled Wifi and it works... :) iam using the latest build with the BT wifi drivers

Hi, I did the same : using the provided calibration file. Wifi is starting, network discovery is working, WEP key ok. But Dhcp failed.
DhcpHandler : DHCP request failed : timed out waiting for dhcpd to start.

Using adb shell, and launching dhcpcd wlan0 i receive :

dhcpcd wlan0
wlan0: dhcpcd 4.0.1 starting
wlan0: host does not support a monotonic clock - timing can skew
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: timed out

Any idea ?
BR
Dun


EDIT : I did almost the same sorry.. I did not notice I had to start the bluetooth before. NOW it is connected. BUT is still can use the wifi. As if the routes were not defined. I tried to diagnose using adb shell but the root is ok, the dns seems to be configured..

rayman18
1st November 2009, 06:06 PM
If someones can gives feedback, it would be appreciated. calibration files are meant, by TI, to be device dependant, but maybe devices aren't that different and this might work. If it does it will make wifi easier to setup.



the calibration file works well for me :)
but i have set in the wifi options the ip, the gateway and the DNS

mssmison
1st November 2009, 06:28 PM
for those who want to test command lines over usb throw windows pcs i'll try to explain howto (fell free to correct me if I miss something :D):

download android sdk 1.6 extract it somewheere in preference in root of ur hard drive
add ~\tools pathname to variables path of windows
connect ur diamond under winmo and run haret windows detect msm usb when kernel boots ignore drive installation at this stage

when android boots it's detected again as usb composite and msm usb install the driver located at androsdk\usb driver
now u r reaady to use it
fire comand line under windows and tap adb shell
tap bash
u have a remote shell to android I assume that u know how to use it ;)

DDMS which is included in the sdk tools is a very powerful tool for working with android. It can help you figure out what's causing android not to boot, what's causing force closes etc.

phhusson
1st November 2009, 06:32 PM
Hi, I did the same : using the provided calibration file. Wifi is starting, network discovery is working, WEP key ok. But Dhcp failed.
DhcpHandler : DHCP request failed : timed out waiting for dhcpd to start.

Using adb shell, and launching dhcpcd wlan0 i receive :

dhcpcd wlan0
wlan0: dhcpcd 4.0.1 starting
wlan0: host does not support a monotonic clock - timing can skew
wlan0: broadcasting for a lease
wlan0: carrier lost
wlan0: timed out

Any idea ?
BR
Dun
the calibration file works well for me :)
but i have set in the wifi options the ip, the gateway and the DNS
android sometime kills dhcpcd way too soon (because wpa_supplicant says disconnect before connection...), i've two (dirty.) ways to "fix" it, fixed ip address, or
while true;do setprop dhcp.wlan0.result ok;done
this will make android think dhcp successed so he will maybe not kill dhcpcd (it will still half of the times, but the other half works ...).
I haven't got better ideas yet :/

GlemSom
1st November 2009, 06:44 PM
If someones can gives feedback, it would be appreciated. calibration files are meant, by TI, to be device dependant, but maybe devices aren't that different and this might work. If it does it will make wifi easier to setup.

Interesting...
I have my own calibration file - which seems to work fine.
I've tried phh's calibration file - which seems to work fine as well.
(I should point out, I have a diam100 phone)

Though, the two files are NOT the same.

I hexdump'ed the two files - here's the diff:
diff -Naur calibration.phh.hex calibration.glemsom.hex
--- calibration.phh.hex 2009-11-01 18:37:17.000000000 +0100
+++ calibration.glemsom.hex 2009-11-01 18:37:27.000000000 +0100
@@ -1,18 +1,18 @@
0000000 1102 0656 061c 1601 0360 0107 5609 0012
-0000010 0000 0d01 4056 0000 0200 546d 431f 418a
+0000010 0000 0d01 4056 0000 0200 546d fa17 4194
0000020 0018 0000 1501 a458 0000 0100 5631 0201
0000030 0000 3501 0456 13d1 0000 0000 0000 0000
0000040 0010 0062 0064 0076 00ae 00d4 012a 0133
0000050 0135 014b 020d 023f 025b 026d 0279 02a3
0000060 02ae 0000 1001 0000 0000 0000 0000 0000
-0000070 0000 0000 0000 021b 0000 003e 007b 00b7
-0000080 00cb 00e1 00f9 0000 003c 0078 00b4 00f0
+0000070 0000 0000 0000 021b 0000 003e 007b 00b5
+0000080 00c9 00de 00f7 0000 003c 0078 00b4 00f0
0000090 0000 003c 0078 00b4 00f0 0000 003c 0078
00000a0 00b4 00f0 0000 003c 0078 00b4 00f0 0409
00000b0 1044 0000 1045 0000 0000 0000 0000 0000
00000c0 0000 0000 0000 0000 0000 0000 0000 0000
-00000d0 0000 0000 0e06 0108 0044 0024 0478 005a
-00000e0 06b0 098a 00a0 003c 0024 04ca 0050 06c7
+00000d0 0000 0000 0e06 0108 004f 0024 0478 0078
+00000e0 06bf 098a 00a0 003c 0024 04ca 0050 06c7
00000f0 1360 00d0 003c 0024 04ca 0050 06c7 148c
0000100 0108 003c 0024 04ca 0050 06c7 15b8 0108
0000110 003c 0024 04ca 0050 06c7 1644 00b5 0052
@@ -24,7 +24,7 @@
0000180 0f0f 0000 0f0f 0000 0f00 0000 0f00 0000
0000190 0f00 0000 0f00 0000 0f00 0000 0f00 0000
*
-00001c0 7ddc 2a54 0305 6d00 0f00 0000 0f00 0000
+00001c0 d288 a159 0305 6d00 0f00 0000 0f00 0000
00001d0 0f00 0000 0f00 0000 0f00 0000 0f00 0000
*
0000210 3000 0001 0000 0000 0000 0000 0000 0000

9600xt
1st November 2009, 06:49 PM
android sometime kills dhcpcd way too soon (because wpa_supplicant says disconnect before connection...), i've two (dirty.) ways to "fix" it, fixed ip address, or
while true;do setprop dhcp.wlan0.result ok;done
this will make android think dhcp successed so he will maybe not kill dhcpcd (it will still half of the times, but the other half works ...).
I haven't got better ideas yet :/

i can't write the '0' char in the "setprop dhcp.wlan0.result ok" command in the terminal emulator, my keyboard DO NOT TYPE NUMBERS in the terminal.... help me!!

phhusson
1st November 2009, 06:50 PM
Interesting...
I have my own calibration file - which seems to work fine.
I've tried phh's calibration file - which seems to work fine as well.

That's not mine :p

(I should point out, I have a diam100 phone)

Though, the two files are NOT the same.

I hexdump'ed the two files - here's the diff:

That little differences wasn't expected at all, so i assume calibrations aren't redone for every phone.
Can you make any relations with these differences and your MAC in WiMo ? (in linux it's randomly generated)

Dun74
1st November 2009, 06:50 PM
android sometime kills dhcpcd way too soon (because wpa_supplicant says disconnect before connection...), i've two (dirty.) ways to "fix" it, fixed ip address, or
while true;do setprop dhcp.wlan0.result ok;done
this will make android think dhcp successed so he will maybe not kill dhcpcd (it will still half of the times, but the other half works ...).
I haven't got better ideas yet :/

Ok, finally I'am connected and I've got an IP adresse (tried dhcp and fixed ip). But no data seems to transmit. I even tried telnet on ip from adb.
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0

wlan0 Link encap:Ethernet HWaddr 00:1F:DF:D8:2E:A1
inet addr:192.168.2.9 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:158 errors:0 dropped:0 overruns:0 frame:0
TX packets:1533 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41903 (40.9 KiB) TX bytes:131567 (128.4 KiB)

phhusson
1st November 2009, 06:53 PM
Ok, finally I'am connected and I've got an IP adresse (tried dhcp and fixed ip). But no data seems to transmit. I even tried telnet on ip from adb.
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 * 255.255.255.0 U 0 0 0 wlan0
default 192.168.2.1 0.0.0.0 UG 0 0 0 wlan0

wlan0 Link encap:Ethernet HWaddr 00:1F:DF:D8:2E:A1
inet addr:192.168.2.9 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:158 errors:0 dropped:0 overruns:0 frame:0
TX packets:1533 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:41903 (40.9 KiB) TX bytes:131567 (128.4 KiB)
If you just can't resolve names, look at
getprop |grep dns
If you get empty strings for net.dns1, set it (you can use net.wlan0.dns1 values)

You'll have to increase net.dnschange after having set dns.

Dun74
1st November 2009, 07:10 PM
If you just can't resolve names, look at
getprop |grep dns
If you get empty strings for net.dns1, set it (you can use net.wlan0.dns1 values)

You'll have to increase net.dnschange after having set dns.

Thank you for your help.. I did it

getprop |grep dns
[net.change]: [net.dnschange]
[net.dnschange]: [41]
[dhcp.wlan0.dns1]: [192.168.2.1]
[dhcp.wlan0.dns2]: [192.168.1.1]
[dhcp.wlan0.dns3]: []
[dhcp.wlan0.dns4]: []
[net.dns1]: [192.168.2.1]
[net.dns2]: [192.168.1.1]

No differences.

EDIT: funny to have to speak in english, even if we both speak french I mean... :-)

phhusson
1st November 2009, 07:22 PM
Thank you for your help.. I did it

[CODE]getprop |grep dns
[net.change]: [net.dnschange]

I guess you did setprop net.change net.dnschange
Haven't you ?
It's more something like setprop net.dnschange 4242

Dun74
1st November 2009, 07:27 PM
I guess you did setprop net.change net.dnschange
Haven't you ?
It's more something like setprop net.dnschange 4242

I did :# setprop net.dnschange 41
was 40 before.
But both net.dns1 and dhcp.wlan0.dns1 were already defined.

Is this command should return a valid ip ?
#nslookup www.google.com
here is my result :

# nslookup www.google.com
nslookup www.google.com
Server: 0.0.0.0
Address 1: 0.0.0.0

nslookup: can't resolve 'www.google.com'