yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] leobaillard:
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
[Touch Diamond, MDA Compact IV ROM Development] klinux:
modules are not loaded ?! :(

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
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
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.
[Touch Diamond, MDA Compact IV ROM Development] kholk:
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.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
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.
[Touch Diamond, MDA Compact IV ROM Development] kholk:
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!
[Touch Diamond, MDA Compact IV ROM Development] craz2u:
how to update

hello i tried ((initrd--zImage android))..... but there is no wireless and other connections :( i tried to update but i cant update . help plss.....
[Touch Diamond, MDA Compact IV ROM Development] jaellis:
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

Use the Kernel found here

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 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.
[Touch Diamond, MDA Compact IV ROM Development] qumani:
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.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
everything is OK !!! :D

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
[Touch Diamond, MDA Compact IV ROM Development] chaelli:
@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!
[Touch Diamond, MDA Compact IV ROM Development] Dun74:
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
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
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).
[Touch Diamond, MDA Compact IV ROM Development] chaelli:
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)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
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.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
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 !
[Touch Diamond, MDA Compact IV ROM Development] klinux:
3g connexion issue

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
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
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.
[Touch Diamond, MDA Compact IV ROM Development] c4software:
@phhusson if my memory is good, when i have an G1 android doesn't show adhoc wifi.
[Touch Diamond, MDA Compact IV ROM Development] stevebrush:
accelerometer

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!
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
That's strange, can you check the behaviour with some apps ? For instance with abduction.

Please also give your phone model
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
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.
[Touch Diamond, MDA Compact IV ROM Development] chaelli:
@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..
[Touch Diamond, MDA Compact IV ROM Development] mssmison:
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.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
but after freezes did it works ok or no ?? hope it's OK !

anyway happy that it helps

cheers
[Touch Diamond, MDA Compact IV ROM Development] H3x:
Android 2.0

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?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
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.
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
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.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
re ad-hoc wifi

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 !!)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
it's scan_results not scan results, notice the underscore.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
it's detected !

scan_results

bssid / frequency / signal level / flags / ssid

02:22:fa:03:b9:73 2462 204 [WEP][IBSS] Energy ROM
[Touch Diamond, MDA Compact IV ROM Development] H3x:
I was mistaken in thinking that the source was already released. However, a ROM dump of Droid seems to be available here which might help.

Having 2.0 would (obviously) be very cool.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
So android's fault! Good luck :D
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
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.
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
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.
[Touch Diamond, MDA Compact IV ROM Development] manekineko:
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.
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
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 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.
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
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.
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
good deal! Will definitely try that right now. It's supposed to take ~10 mins to boot first time, right?
[Touch Diamond, MDA Compact IV ROM Development] dragonking88:
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!
[Touch Diamond, MDA Compact IV ROM Development] zenulator:
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.
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
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
[Touch Diamond, MDA Compact IV ROM Development] NikPraskaton:
Im not lasy to read.. as Im reading this topic for some time but for fresh readers.. it would be great to have all the newest infos, updates etc.. on the first post.. Can someone do that? Thanks..
[Touch Diamond, MDA Compact IV ROM Development] sorrowt:
great work!! it runs perfectly on mz diamond!!!

I have ques, where can i find the Haretlog on the device?
[Touch Diamond, MDA Compact IV ROM Development] marios96:
Wiki page, that gets updated: http://wiki.xda-developers.com/index.php?pagename=RaphaelLinux
[Touch Diamond, MDA Compact IV ROM Development] NikPraskaton:
Works on mine Diamond too. I get to the keyboard thingy :)

<0>Kernel panic - not syncing: Attempted to kill init!

Rebooting in 3 seconds...

LOL
[Touch Diamond, MDA Compact IV ROM Development] milfadoodle:
Awesome job druidu and netripper. I keep checking this thread way to often for what's good for me. Do you have a repository or something where we can follow the work more in detail and get the source code?
[Touch Diamond, MDA Compact IV ROM Development] n.mowberry:
I just watched a video on android in action, http://www.youtube.com/watch?v=ePc6pSdn3vQ

I cannot wait, this OS is everything that Windows is not.
[Touch Diamond, MDA Compact IV ROM Development] Vector-SS:
Nice, loaded up very nicely and quickly all the way to the virtual KB.

I'm probably going to get flamed for this, but I'll give it a go anyway :D

What is the relation between Linux and Android? I don't get it? I read some people saying Android is now a reach away - how come?
[Touch Diamond, MDA Compact IV ROM Development] Riel:
Android runs on Linux :)
[Touch Diamond, MDA Compact IV ROM Development] NikPraskaton:
Android looks promising... but I really dont like that white backgrnd :)
[Touch Diamond, MDA Compact IV ROM Development] Vector-SS:
LOL Thanks. That was quite easy.
[Touch Diamond, MDA Compact IV ROM Development] Vector-SS:
That's not good news at all. Guess my yellow spots will be visible in every single menu. :mad:
[Touch Diamond, MDA Compact IV ROM Development] skiwithpete:
Just like to say, I tried it, and works a treat. Well done getting this far chaps.

A couple questions

a) Will we always need to boot Windows Mobile, then load haret? Or will there be a way to load straight into Linux.

b) What steps are needed to load a gui? Is that next?

Cheers,

P
[Touch Diamond, MDA Compact IV ROM Development] Vector-SS:
^^ You mean completely eliminate WM? :D

I just read that the G1 does not support video recording, exchange support, and stereo bluetooth. Are those device limited or software?
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
a) For now, yes, perhaps in the future, no. Let's concentrate on getting it to work first... when wince isn't booted first, a lot of things have to be initialized by the linux kernel - we're currently benefiting from a lot of initialization done by wince... which makes it easier to make steps.

b) That's also where 'the next step' comes in, we need to start initializing things properly to be able to continue in a proper way. A gui would be nice and if i see it's possible, i'll certainly try, but in fact it's just being way ahead of where we should be ;)

Many things need to be done, that don't produce visible results directly. Drivers need to be written, but also the layer above that: drivers to make it possible for drivers to interact with hardware (such as i2c/proc_comm/smd drivers).

Anyway, as always, we'll report when there's progress ;)
[Touch Diamond, MDA Compact IV ROM Development] skiwithpete:
Thanks for the quick reply Netripper. Best of luck in the coming hours and days, hope you're enjoying the process as much as the results. And respect to Druidu too.

You boys are really putting it out there for this small community, and by golly, we appreciate the hell out of you (and anyone who has helped and I don't know about too).

Cheers,

P
[Touch Diamond, MDA Compact IV ROM Development] milfadoodle:
You have your sources up on the web somewhere, I'd like to take a peek in them?
[Touch Diamond, MDA Compact IV ROM Development] NetRipper:
Please be patient for just a little while, a git repository is being setup.

An ugly hack is here, but will be improved with ifdef's (or so) later on:

http://netripper.pastebin.com/f32811bc

To get you going (for raphael, may work on diamond too)... Using the git.android.com repository, the android-msm-htc-2.6.25 branch and the above patch, you should be able to boot when you set mtype to 1439 (halibut). There are some other hacks, such as disabling proc_comm and removing some annoying error messages in smd, but without that you should get at least console with just the irq patch.

For everything else, wait until git is up :)
[Touch Diamond, MDA Compact IV ROM Development] milfadoodle:
Thanks a lot man. Are you setting up a proper project page somewhere with bug reporting and all or just a repo?

EDIT: What I'm trying to say is: make it easy for people to contribute =) Thanks a lot for the job you guy have put in for the community!
[Touch Diamond, MDA Compact IV ROM Development] doc31:
NetRipper any idea about the above....
[Touch Diamond, MDA Compact IV ROM Development] nashmage:
so from what im reading does none of this work on the sprint diamonds/touch pros?