yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
I've tested the version I was using previously quite a bit but am now about to upgrade to the 5/11/09 version as there isn't much point bugrepping old versions.

The only *major* problems I found with the previous ones were that every time I tried to enable 3G I'd hit massive problems. The unit would freeze up on the lock screen and be unresponsive. On one occasion the diamond's 'Back' button lit up...not sure why.

Fixing this, for some reason, required the sacrificing of my data.img file - a shame as I had some texts on it I wanted but hey I'm testing so you expect that kind of thing to happen.

Couldn't test wifi as I was stuck on a placement but I'll be doing it this evening with the new build.

Is it true that I nolonger need to alter startup.txt to be able to setup 3G?

Also is there a best WM ROM to be using? I'm still using my diamond's original and I'm a little loath to change it because I've installed a *lot* of programs that will take a *long* time to reinstall...but I might be willing to (I'm getting a huge number of .net framework errors on startup anyway due to having had to uninstall and reinstall it to fix an earlier problem.....)

Also should I be obtaining my android builds from 'connect-utb.com' or is there a central repository that's likely to be more uptodate?

PS if anyone has any tips/has the edited files I need to get UK Orange 3G service (i'm a contract customer) working on Android please please please PM me :-)

Also I await all advice from the comunity as to what testing they wish done as I'm happy to help in whatever way I can. :-)

Thanks again all!
[Touch Diamond, MDA Compact IV ROM Development] brachialis:
encryption works fine, using WPA2 encrypted network without problems!
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
Here is the solution:

http://xdaforums.com/showpost.php?p=4840005&postcount=5115
[Touch Diamond, MDA Compact IV ROM Development] mengsuan:
Oh really? Well, running my home network without encryption did not bother me in anyway.

Update:
[Touch Diamond, MDA Compact IV ROM Development] akil3x:
Hello Android people :)

I'm gone give a try In the new build I see in her :http://www.connect-utb.com/...

If some one can help me with the startup.txt for my Diamond 100 I appreciate ;)

Thanks for the hard work to make this project possible
[Touch Diamond, MDA Compact IV ROM Development] klinux:
look at post #5402 I did a little howto for diam100
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Ok, because of so many times the same questions, I made a little wiki page:

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

I'll try to update it as soon as other questions arise.

You can also complete (and correct?) it if you want.
[Touch Diamond, MDA Compact IV ROM Development] jooprzol:
Thanks phhusson, that's some good information. Something I've noticed while using the build that you have listed on the wiki page is that if the panel buttons quit responding, I can usually slide open the keyboard, and then close it again, and that causes the buttons to become responsive again. Most of the time it works, but sometimes you really do have to reboot to fix it.
[Touch Diamond, MDA Compact IV ROM Development] mchh:
What Radio Rom do you have on your DIAM?Did you ever update it ?

I just read that there is a radio 1.17 which is supposed to fix some smsc editing in WM, it could maybe help...

http://xdaforums.com/showthread.php?t=580490"

I use the radio 1.09.25.23
[Touch Diamond, MDA Compact IV ROM Development] klinux:
well done man that prevent repeating replies

I suggest u to add the sms pb and add the link to ur signature (I did it before u don't bother me ;))

can u please modify the zimage to have the state charging always ? cause battery meter is not accurate and this will prevent from the battery warnning issue

thx in advance

cheers
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
That's not how you understand it, but i added a PM section which explains it.
[Touch Diamond, MDA Compact IV ROM Development] _-1g1-_:
Strange i updatet today to the newest built but the same error as usual ..

Diam300

Cheers :)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Currently i just don't know anything about this problem. And it seems only one person had this problem. But if you want to add anything, feel free to do it :)

I'd prefer fixing the battery meter :p

But i'll make a kernel parameter.

Edit: ok i did a quick and dirty thing for that, here is binary:

http://phhusson.free.fr/zImage-2.6.27-00605-g362bbd1-dirty use with http://phhusson.free.fr/modules-2.6.27-00605-g362bbd1-dirty.tar.gz

Add the htc_battery_smem.fake=1 kernel parameter to fake charger presence.

But this kernel breaks accelerometer.
[Touch Diamond, MDA Compact IV ROM Development] klinux:
did u try a android before or is it the 1st time

I mean try a previous android kernel with the last system.sqsh look at cobaltcode website or connect-utb website for ex

cheers
[Touch Diamond, MDA Compact IV ROM Development] geh:
About SMS problem :

I'm suffering this problem too (diam 100). About 10 seconds after sending a SMS, I got a warning message : the SMS can not be send.

I checked the SMSC number as suggested, and it is correct.

A "funny" thing now :

- Android builds downloaded recently from this forum (from babijoee, leobaillard and yours) : wifi works.

- Android builds from connect-utb : wifi fails (cannot activate).
[Touch Diamond, MDA Compact IV ROM Development] zapol:
version magic mismatch

Hi, I am following this thread for some time now, but I haven't posted yet. I tried many builds, even compiled a kernel myself with success.

There is one problem I encountered in almost all wifi-enabled builds. If I don't delete all the files before from SD card before installing a new pack, sometimes system.sqsh is unable to mount (system is complaining about missing system.img). Is there any particular file I should consider deleting to fix it? Because after deleting all the files and copying same files again work fine. I just don't like the idea of deleting everything every time.

Another problem is wifi modules. There is always a version magic mismatch. For example in the most recent kernel (2.6.27-00605-g362bbd1-dirty) there are errors during boot saying:

invalid module format ..... version magic '2.6.27-00563-g1b0d655-dirty preempt mod_unload ARMv6 ' should be '2.6.27-00605-g362bbd1-dirty preempt mod_unload ARMv6 '

And that was after formatting the card so I am sure there are no old files remaining.

One last thing - since the git repository wasn't updated for a long time (down or something?), would it be a problem to upload current sources, or just patches somewhere? I don't feel smart enough to help with current development, but I could try some simple changes myself instead of bothering the devs.

I'm using RAPH100 - if it's somehow important.

Anyway, thanks for the great effort you're putting int getting linux running on our tiny capable toys. Great great thanks!!!
[Touch Diamond, MDA Compact IV ROM Development] klinux:
I faced this pb too, but don't know exactly which file causes this,

invalid modules thing is just errors displayed in the boot phase, modules are working u can test it with lsmod in terminal u should see the modules working
[Touch Diamond, MDA Compact IV ROM Development] zapol:
You're right, the modules are loaded (but I have no idea how, because error message said "insmod cannot insert..."). Anyway, wifi does not work for me.

The first time I tried enabling it in android, it looked ok, but then "unable to scan for networks". Sometimes it tells me "unable to start wifi" (like just now, for a couple of reboots).
[Touch Diamond, MDA Compact IV ROM Development] klinux:
wifi

that's my case too, I'm unable to use wifi it switches off alone, even if I change the zimage to a previous one it doesn't work, this is a known issue hope that it'll be fixed.

I'll try to use previous modules with the new system.sqsh may be it'll works.

Edit: it doesn't work
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
Finally confirmed I have a Diamond 100. I'm downloading your prescribed files save for the fact that I'll try putting them in the 5/11/09 20091103 based build from usbconnect....I'll revert to your previous version listed if the one above fails to work for data and wifi...

Only one question....what do we do with the config file you've linked?

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

You've said download it....?then what?

Thanks again for all your help. And thanks to all the people that made this great project possible :-)
[Touch Diamond, MDA Compact IV ROM Development] adilkhan1214:
Startup problems

I was wondering if anybody else was having start up issues where it stops at the :

can't access tty; job control turned off

and then before this it just restarted back to windows before. I tried formating the root and putting the clean builds on but for some reason ever since I flashed into the new Energy rom, it hasn't work

does the WM rom influence whether android boots up?
[Touch Diamond, MDA Compact IV ROM Development] mengsuan:
I am using 2nd November build. Any newer build that I can update?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
Copy this file in the root of the sd card this file is used to enable wifi

U can take a look at the link in my signature phhusson did a tutorial well described cheers
[Touch Diamond, MDA Compact IV ROM Development] klinux:
Change mtype in startup.txt if u have diam100 put 1805 instead of 19xx

It should work
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Can you provide some logs of adb logcat -b radio ?

I don't know who/how have built this build, but I had to change the libhardware_legacy.so, maybe connect-utb's haven't changed that yet.

Maybe the "replace" thing of your system is not going correctly. Is there any other messages ? Have you tried deleting just system.* and then extract new pack ?

That's normal, i've just been too lazy to fix it :D

As stated above, this doesn't prevent anything from working.

I currently push to http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm, but i still hope linuxtogo will get fixed.

For the record it's /system/lib/modules/wlan.ko, but unless you really care about wrong errors there is no point to touch it.

it does that only once or three times in a row ?

If it's only once, it's normal, it's just because wpa_supplicant is too slow to start.

Hu ? If modules and zImage are correct, this shouldn't happen. Anything in dmesg ?

You mean that when going into sleep the wifi no longer works ? If not, i don't think i know this issue.

Put it in the root of your sdcard or Internale Storage

Any other messages maybe ? Most likely it's because you placed rootfs or system.sqsh in the wrong place.

I use energy rom too, it doesn't seem to change anything :)
[Touch Diamond, MDA Compact IV ROM Development] ElCondor:
With the latest pack from connect-utb (5 october), the hardware buttons aren't working. Any solution for this?

Thanks:)

And great work!
[Touch Diamond, MDA Compact IV ROM Development] chnapsy:
Last release

Hello,

I tested last release and wooowww great job, nearly everything is working.

I just wanted to list the last enoying issues :

-Cannot calibrate screen (mine is not really easilly usable to write a text message)

-Cannot force to use only 2g network after 3G connection has been set (with full battery in a zone with 5 bar of network my diamond lives 4-5 hours ...)

-The screen just turn offs the backlight but still stay "on".

-The screen rotation only works when I rotate the diamond in anti-clockwise way.

-But finaly 3G connection for french sl2sfr finaly works ; GREEATTTT :)

Wonderfull job all, continue like that !

-Chnapsy
[Touch Diamond, MDA Compact IV ROM Development] chnapsy:
Additionnal features

Just a last question concerning the "core system"

Is there a kind of package manager on android like apt on debian or yum on centos as I can add easilly network tools as host, ssh or life savers like that ?

Thanks

-Chnapsy
[Touch Diamond, MDA Compact IV ROM Development] _-1g1-_:
Not the first time. The last time i took a package from connect-utb start haret (disable sim check) and there you are Android.

Now i've got a package from there to the 5th November Pack (I think) but always get the error with system.img

Cheeers
[Touch Diamond, MDA Compact IV ROM Development] aasdd:
Hey Guys,

the last time i tryed android on diamond is months ago.

now i tryed the build from the 5. november, and im really impressed.

Amazing work!!!!

But i have some problems:

- Very important. Battery ;) The Display light is out, but the display is still on

- i cant callibrate the display brightness.

- i can only charge the battery when i start android with a connected usb cable

- the camera does not work

Any workarounds for this problems ?

Anyone using the Android on Diamond permanently ?

Thanks a lot!! i love android ;)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Almùost everything is answered here.

And i use Android most of the time when it doesn't run out of battery :p
[Touch Diamond, MDA Compact IV ROM Development] kholk:
For now it is not possible to use Android permanently on DIAM devices because of these already known problems.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Hu ?

Which bug really prevent you from using Android permanently ?

I might focus on these ones first before working on cosmetics.
[Touch Diamond, MDA Compact IV ROM Development] zapol:
Great, I'll try it after the weekend!

It was more than 3 times in a row.

Checked dmesg, and nothing interesting about wireless.

However I found out that I forgot putting my calibration file to card after formatting it. I guess it caused most (if not all) the problems mentioned above.

And also using the november 5 bundle from ConnectUTB did not work for me. No modules were loaded (checked lsmod), but enabling wireless somehow worked, just was unable to scan :confused:.

Updating to your kernel with dummy charger workaround did the job just fine.

Now after a few tries (problems with dhcp, dns) I connected and even got market running.

Great stuff :D
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Most likely means the interface didn't go up, so either calibration or modules are missing

Warning, I might bite.

As said before, i just don't know what this release do.

Cool
[Touch Diamond, MDA Compact IV ROM Development] zapol:
Done that myself... no more trying to run android after midnight :p
[Touch Diamond, MDA Compact IV ROM Development] Dayd:
for me the first thing to do is to improve the power management.

thanks :p

Edit: I do not know if disconnected and reconnected the usb cable can continue to charge the battery? I feel that not (Edit2: Ok, it works :))
[Touch Diamond, MDA Compact IV ROM Development] klinux:
I use android permanently :D too

yes it continue charging

battery thing waiting phhusson to f

ix this or at least keep the charging status permanently ;)

this is really ignoying when u have a call it shutdown the phone after 5min
[Touch Diamond, MDA Compact IV ROM Development] Eligos4ever:
phhusson, I downloaded the latest build here :

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

Installed it on my Diam 500. Changed the STARTUP.TXT file to the Diam file.

It boots under Haret but never finishes the boot.

Any thoughts?

Merci!
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
1. Stability

2. Speed

3. Power management (heat)

The camera, GPS and radio I can wait for

Also the accelerometer is not working all that well but that's not the most important thing as well so I don't mind

But it is those 3 that are holding me back from using it permanently

Oh and, I've got the Concise Oxford English Dictionary from the Marketplace and when I first launch it, it asks to download the database and asks you whether you want it to be in the SD card or on the phone memory

No matter which one I choose, it says that it has failed downloading it (this is with WLAN on)

I know this is a very specific issue, but thought I should post it just as well.
[Touch Diamond, MDA Compact IV ROM Development] rocjoh:
calibrate screen....

I would really appreciate if you would fix the calibrate screen issue...

My touch screen seems to have positioning issue and cannot even type some letters on software keyboard without the screen calibration.

I tried to set up the android using D-pad only but diamond doesn't have the hardware keyboard,

so software keyboard is a must for some settings...

Anyway, thank you very much for your great effort/support =)

(I tried phhusson/leobaillard's Nov 2nd build and Connect-UTB Nov 5th build)
[Touch Diamond, MDA Compact IV ROM Development] klinux:
I suggest u to disable Bt and WiFi if u don't need them this will prevent phone from heating and let Android be more responsitive
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
autobuildsystem updates

As you might have noticed - the autobuild system haven't recompiled any kernels for quite some time now.

This is because the GIT repository is broken - and no-one is able to make any commits. (no commits = no recompiles)

phhusson has taken the initiative to cloned the repository to a new host: http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm. (This even includes the history! :D ).

The autobuildsystem will rely on the new host!

(as I'm writing this, I see new kernels being compiled!) ;)

If you have any suggestions - please contact me
[Touch Diamond, MDA Compact IV ROM Development] Nakebod:
Ah, so that was why :P

I always love to read the changelogs to see the improvements.

BTW, you have a small typo @ "no comments yeat". It's: yet
[Touch Diamond, MDA Compact IV ROM Development] klinux:
last phhusson zimage

@phhusson I tried your latest zimage on glemsom website

1st the file is smaller than the previous don't know if it's related to the report

fake charge status is not wrking if I unplug usb battery status is not charging

shutdown when sleep

hope u fix that

thx for your hard work
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Sorry to say that, but for me it works ...
[Touch Diamond, MDA Compact IV ROM Development] klinux:
can u explain what should I do

is there a modification in startup.txt? need a new data.img ?

I did lsmod it gives nothing

thx for help
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Same things as previous kernel, just add htc_battery_smem.fake=1 to cmdline ...

is there a modification in startup.txt?

No

because it's absolutely not related to modules.
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
Hey bro,

Just to remind you Diam100

Tried with the latest build from connect as I said - it failed the same way as every attempt at loading android with data connected in WM always does with me for every build I try. It gets to the stage of booting just before the android comes up then the screen goes blank and the phone resets back to the Touch Diamond screen and the phone boots into WM....

I then followed your instructions exactly from 5402 (is that he right post number?). Downloaded the build you suggested, downloaded and copied accross the update you suggested, replaced the startup.txt with the diamond.txt file (renamed obviously), downloaded the config file you linked and popped it on the Internal Storage root directory ...

And when I started Android with a 3G connection made (I established it using the update weather option). Exactly the same thing as before happened.

Is there a log file somewhere I can post up? Is anyone else hitting this problem?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
thx that did the fake charging state

reboot when sleep is resolved with pm.sleep_mode=3

thx man

now waiting for modules to be integrated to this new kernel

cheers
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
adb logcat / adb logcat -b radio

Default configuration set it to 0 which doesn't work yet yes :/

You mean like here ?
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
I'm assuming you're meaning type this into the console in android?

Can't do that considering android fails to boot if data is connected when it's loaded. :-/

Hence the times I wish a log i can't create one....?

Any idea what's going on or how to fix it?
[Touch Diamond, MDA Compact IV ROM Development] H3x:
adb is run from your PC. There is a guide to set it up here. It basically involves you

downloading and installing the Android SDK

booting into Android at least once while connected to the PC via USB to pick up the device and then to install the drivers

running logcat via the command prompt and then booting Android with your phone connected via USB
[Touch Diamond, MDA Compact IV ROM Development] klinux:
everything is OK !!! :D

that's exactly what I mean thx man your my hero ! ;)
[Touch Diamond, MDA Compact IV ROM Development] MrVarioII:
Thanks again. Just downloading the required programs/drivers now. I can however forsee a problem connected entirely with Windows Mobile.......

In windows mobile I cannot (and have never been able to in my memory) obtain a data connection while connected via USB - I just get a dialing error. Might be something to do with WM's network connection settings?

In either case I'll give it a shot and post back (I anticipate I'll be unable to connect to 3G before booting android).

Oh and stop press huge thanks to the developers.........Although data doesn't work for me currently (and this is very important for me) :-( ........

Wifi WORKED!

Market Place then worked!

And I was successfully able to search for download and install programs and browse the web. So HUGE thanks to the developers. This project is awesome....If only 3G would start to work now.

(PS -everything was working very slowly when Wifi was active as I think others have reported too - interface was laggy, I got quite a number of not responding errors asking me if I wished to wait or close the program).

Anyway lets give this debugging a shot and see if we can work out how to get 3G going too :-D (does 3G make the interface as laggy as wifi?)
[Touch Diamond, MDA Compact IV ROM Development] H3x:
This is due to an ActiveSync setting. While your device is NOT connected via USB, go to Windows Mobile Device Center -> Mobile Device Settings -> Connection Settings and tick "Allow data connections on device when connected to PC". ActiveSync should then allow your phone to establish and use data connections.
[Touch Diamond, MDA Compact IV ROM Development] c4software:
For me its seems working (without set the option to 0). in the last release i don't have any reboot on suspend.
[Touch Diamond, MDA Compact IV ROM Development] fabius88:
OMG the latest port for diamond is awesome!
[Touch Diamond, MDA Compact IV ROM Development] klinux:
I was playing with the latest phhusson's kernel u can try it here

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

u need to add to startup.txt this under cmdline pm.sleep_mode=3 htc_battery_smem.fake=1

u'll have battery status charging always even if u run haret without usb plugged in !

this prevent android from shutdown the phone and battery low messages :D

thx to phhusson
[Touch Diamond, MDA Compact IV ROM Development] c4software:
the pm.sleep_mode=3, disable all power management (if my memory is good), its maybe why you don't have any reboot probleme after set this option.
[Touch Diamond, MDA Compact IV ROM Development] mengsuan:
which build did you mean?