yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] stasgl:
Quote:Originally Posted by stasgl

Is there a way to disable GPRS auto-connect in the latest build for Diamond or even to disable it at all, because I dont need it and it is quite expencive. I've tried but i wasnt able to find a way how to do it.

I use this build http://connect-utb.com/index.php?opt...or-htc-diamond

just remove the apn settings, then it won't be possible for the phone to connect to GPRS

You cant delete the settings for the APN you can only edit them, but even if I change the settings it still be able to connect.
[Touch Diamond, MDA Compact IV ROM Development] stamppot:
Hmmm, that doesn't work, unfortunately. I get the incorrect pin code message.

Ah well...
[Touch Diamond, MDA Compact IV ROM Development] imrock:
i tried just about everything posted, fixed the MAC address n used this rootfs.img n startup trick but with no luck

i always get unable to scan for networks error

any help would be appreciated, n thankyou all for this very beautiful n fast OS portation, i have finally dumped Winmo n will use android on day to day basis!!:p:p
[Touch Diamond, MDA Compact IV ROM Development] jooprzol:
I get a lot of 'not responding' prompts as well. Another thing I've noticed is that almost every time that someone calls me when I'm running android, and the phone is in sleep mode, the phone starts ringing, but android hangs on a blank screen trying to bring up the phone app, and I am unable to answer the phone call. Anyone else have this behavior?
[Touch Diamond, MDA Compact IV ROM Development] Zy':
You actually can.

When you're at the APN List, press HOME Buttom and then "Reset to default". The connection will be gone after some time.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
omfg, that's a huge amount of data ! Thanks for your server then ! :p

First thing, the board-htcdiamond-panel is for the SCREEN ! NOT the multitouch board at the bottom of the phone (which is also called panel sometimes, which is confusing i must admit.). If your "board" doesn't work, it's only because of the randomness, not linked to this option. Also pm.sleep_mode shouldn't change anything of that either. Well until the full start at least, it might after (even if i had no trouble at all with it.).

If it shows a black screen (with backlight on i suppose?) it means android's thinking

I did it dirty, so basically ramzswap options doesn't work, whatever you set, it will take 25% of the available RAM. Also compcache is exactly the same thing as ramzswap.

Also for swap file, i advise not to use it, as this consumes a lot of I/O access, and the MMC has only a 1MB/s bus, so it will be slow, and might kill your MMC.

But check if ramzswap is activated (with the free command for instance), i don't have many memory problems when activated. I could even get more than 8 apps running at the same time.

Have you actually tried it ? I mean, read from your access point the actual mac address ? (don't ever trust android.). I read your changes, and i'm pretty sure it shouldn't work seeing the driver's source code. But i can be proven wrong.
[Touch Diamond, MDA Compact IV ROM Development] stefand:
@phhusson

No, I didn't really checked it at the access point side. just using adb to check the mac address with ifconfig. (And I know 'Don't trust android :-)' )

I'll do some more tests tomorrow (and first talk over irc)

Did it work for someone btw?
[Touch Diamond, MDA Compact IV ROM Development] sllyname:
This doesn't work for me, mac address is still randomly generated.
[Touch Diamond, MDA Compact IV ROM Development] stefand:
Then phhusson problably right to not trust android, but how did you check? With ifconfig or your access point logging? (If it's your access point log I'll give up for the moment)
[Touch Diamond, MDA Compact IV ROM Development] sllyname:
ifconfig, my AP won't log anything unless the client associates, which won't happen unless the mac is set to the value in the calibration file.

Wifi is working, but not with the address specified in the startup.txt
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Don't hurt your head on that, it's on top of my todolist, and I'll do it on wednesday or earlier. It has been a "long" time I have done nothing for my own phone :D
[Touch Diamond, MDA Compact IV ROM Development] Horo86:
Thank you very much! This works fine. I have put in the default.txt the MAC that is possible to read from WM and in this way I have no problem too.

I think is possible to add this "fix" to the future release?!?

Can I have one explanation? I haven't understand one question, the work that you are doing to port Android on Diamond is for permit to linux kernel to correctly recognize all the hardware of Diamond... correct?

I apologize in advance for my english... :D
[Touch Diamond, MDA Compact IV ROM Development] stevebrush:
thanks for this answer. ramzswap is well enabled...

If I understand, enabling cc_backingswap in donut.user.conf will not works too (hardcoded) and with the slow bus of the internal storage, it won't be benefit (and could kill the nand)?

So the only way to keep android quite fast is to kill applications we don't use :)

Another question : The diamond has 192MB of RAM and 256MB of ROM right? free report only about 125MB (100MB + 25MB ramzswap) :

[FONT="Courier New"] total
mem 104484
swap 26112
Total 130596[/FONT]

so my question is where is the rest?
[Touch Diamond, MDA Compact IV ROM Development] fbepyon:
CDMA

Hello,

I have been working on trying to get the DIAM400 (XV6900) working for a few days now and I think I found a few things in the kernel that make me think we can get this working.

1) When the system loads it works fine with http://bertramland.com/htclinux/files/zImage-RAPH800-2009-10-14.

2) I did notice a error well reading the loading screen flash by saying something about not being able to create folder for the charging system.

I had a XV6900 that work great with android, but it didn't work very hot after the Verzion update kept crashing so VZW sent me a DIAM400 instead, but if there was a way I could get ahold of the source and see what is going on along with a copy of the XV6900 droid source then I think we can get this working, because my XV6900 is CDMA and it worked great.

Vogue Droid - http://code.google.com/p/vogue-android/ this works on the XV6900...
[Touch Diamond, MDA Compact IV ROM Development] fwonz:
Diamond 300

Hi guys,

i use a htc diamond 300.

The last utb-build works really good for me. Good speed, smooth handling, sometimes a little bit laggy.

The only problem i have is the data connection. I don't get it running.

No GPRS or 3G... Provider is o2germany....

Are there any known bugs/problems with o2germany or with the diamond 300?

So far really great work by you guys.

Next year i want to buy a android device(maybe motorla milestone/droid) but my contract is running till july .. so it would be nice if i could use android on my diamond until then..
[Touch Diamond, MDA Compact IV ROM Development] MacWell:
I got a quick question.. (i couldn't find this with the search button)

is it possible to turn of the 3G connection(i don't have an Internet subscription(i hope it is the right word:P)on my phone)

i found the "use only 2G networks" thing but if i click on it the check appears but when i look again after 10 seconds it is gone...

hope you guys can help me!

Edit:

i have the Diam100 and i run the build from 16-11-09
[Touch Diamond, MDA Compact IV ROM Development] mmone3:
I must say the latest build is working pretty good on my raph110 (still eats the batt pretty quick), but has anyone noticed that the accelerometer axes are inverted, up/down is left/right. Is there a quick fix?

I did find this in the kernel code, module kionix-kxsd9.c,function kxsd9_work

x = 0x800 - (buf[2] << 4) - (buf[3] >> 4);

y = 0x800 - (buf[0] << 4) - (buf[1] >> 4);

z = (buf[4] << 4) + (buf[5] >> 4) - 0x800 - 64; // calib?

Hoping someone can try rebuilding with x and y or the index's swapped because I dont have anything setup to build the kernal.
[Touch Diamond, MDA Compact IV ROM Development] stadicon:
Sorry... Double-posting! Please someone delete that.
[Touch Diamond, MDA Compact IV ROM Development] stadicon:
Hi, I have a DIAM100 (from Vodafone) and all the latest builds on my phone runs great, except for the followint issues:

1) Touchpad drivers have problems once in a while. Sometimes they don't even work, sometimes they work with "glitches"...

1) The numbers on the keyboard won't work on the console emulator. I made i search but didn't find a solution (maybe i didn't look for the right keywords)... Any fix?

2) Wi-Fi starts ok (latest donuts and latest build by glemsom) and scans the available networks correctly but it won't obtain an IP. I use WEP key security.

There has been great progress on this project, anyway. Congratulations to everyone contributed at this, it's really amazing! Thanks for your time...
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
There are some other ways. Setting ramzswap differently, changing/fixing memory layout, make android and/or uses less memory (current android builds are built in debug mode afaik, so it eats a lot of memory.)

Look at board-htcdiamond.h, basically it's:

107MB for Linux (kernel + userland), 8MB for communication with the screen (I think I'll have to make it higher because of some bugs with onscreen keyboard ...), 8MB for communication with the ADSP (mostly sound management, we might be handle to reduce this one since we don't use any hardware decoding feature), 2MB goes for the video framebuffer, 8+7MB goes for the 3D accelerator, 13MB goes for the modem (aka AMSS aka bigbrother aka ARM9....). So there is still ~ 40MB of apparently unused memory, but I haven't figured out yet how to use it, it currently just crash when trying to use it.

axes inverted ?!? What's the... I'll make a swap axes option in cmdline then, but there is no reason why.... How do you see it's wrong ?

I already answered that.... Install ToggleData (for example.) from the AndroidMarket, it's a widget.

Known bug, still not understood, but as it can be checked at start and won't appear after, it's no high priority.

Just clean it (with a bit of water).

Use another terminal emulator from the market.

This has already been a lot discussed and I already gave a dozen of time the way to get it working with the more luck.
[Touch Diamond, MDA Compact IV ROM Development] mmone3:
If you download "3d level" from the market, you can see the axes are swapped. maybe this on a raph110 problem only. Can someone please check this too by downloading 3d level from the market.
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
On DIAM100 3d level works right. Also the screen rotation is working properly.
[Touch Diamond, MDA Compact IV ROM Development] mmone3:
Hoping someone else with a raph can try running the 3d level.
[Touch Diamond, MDA Compact IV ROM Development] aasdd:
can anyone confirm that it is not possible to use 2g with the current build ? I cant go to the 2g mode.
[Touch Diamond, MDA Compact IV ROM Development] stadicon:
The thing is that i don't have a way to connect to the net. Wi-FI won't work, i don't use a 3G data connection or something and i couldn't find a way to share my pc connection through usb (i've made adb working though).

Any tip on how to share the internet connection through USB from Windows?

I know it's beed discussed a couple of times, just wanted to report.
[Touch Diamond, MDA Compact IV ROM Development] manekineko:
As I recall, someone named MrPippy got data/phone working on their CDMA DIAM500 about half a year ago here. However, the advances weren't incorporated into the main development here at XDA, as almost everyone here has a GSM Diamond.

As a result, the current state as I understand it is that you can boot Android on a DIAM500, but one or more of these problems will always be present:

1) screen colors are messed up, as if running in 16 color mode

2) phone/data not working

3) running super slow

4) only boots if plugged in

5) buttons not correctly mapped like on a DIAM100

+ all regular bugs that DIAM100 users experience like a variety of initialization bugs, random crashes, flaky wifi, etc.

Personally, I had all 5 of those DIAM500 issues on mine. I think some people have managed to eliminate some or the other of these issues on theirs but never all 5 at the same time. In short, unless you're a dev or love playing around with tech for the sheer joy of it, it's pretty unusable on DIAM500 still.
[Touch Diamond, MDA Compact IV ROM Development] aiwenor:
hello,

I got it working with the indications and packages from the blackstone thread (which are pretty much the same as here now: Android-Donut-htclinux-15-11-09 - zImage-modules-20091117_112416 - rootfs.img-15-11-09)

WIFI works great, didn't try GPRS DATA (i'm off allowed traffic :p)...and everything else works really nice(offcourse...no camera).

One problem though....I imported my sim contacts and after a soft reset I can't see or import again my contacts...it gives me an error...

Otherwise...it's a fantastic work...we're close :)
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
on my RAPH100 it is working fine

- interface is fast ( comparing to G1 it is almost same - except sometime its freeze for few seconds )

- 3g stable as rock

- sleep / wake up - working ok, just small problem that it take a while for phone to wake up when there is incoming call

- even games working fine ( tested on defence tower, farm frenzy and few other :-D )

Great work everybody :)
[Touch Diamond, MDA Compact IV ROM Development] Nakebod:
Maybe a stupid question, but has anyone got any luck with the Voice Search or any other "voice" program/recorder? (Particularly on a Diam100.)

The mic itself is working in phonecalls, but not for other stuff.

Not really important, but just wondering if I'm doing something wrong :)
[Touch Diamond, MDA Compact IV ROM Development] TheLord-Akira:
hi,

android on diamond is very nice. mayby ists a stupid question, bug how can i close running programs?

thx
[Touch Diamond, MDA Compact IV ROM Development] Kamill:
Press the Back button (above End Call button)
[Touch Diamond, MDA Compact IV ROM Development] TheLord-Akira:
if i press the back buton, the application is still running. just downloadet a prozess killer. not ist ok
[Touch Diamond, MDA Compact IV ROM Development] celoni:
hi at all..!!!i've some question!!

what i've to download for run android in my diam100??

what version of android is??
[Touch Diamond, MDA Compact IV ROM Development] MarcLandis:
http://wiki.xda-developers.com/index.php?pagename=RaphaelDonut
[Touch Diamond, MDA Compact IV ROM Development] celoni:
yes..i do this...but when enter in boot don't load the rootfs.img and ask to unzip it in the sdcard...but it's already in the sdcard..!!!:eek:

can you help me..what i've to do??:confused:

sorry for the english
[Touch Diamond, MDA Compact IV ROM Development] aldinkovich:
Are we close to have full working Diamond Android ROM ?:rolleyes:
[Touch Diamond, MDA Compact IV ROM Development] aasdd:
im a developer, where can find the source for the current utb build, maybe i can help.
[Touch Diamond, MDA Compact IV ROM Development] slovoflud:
goodbye!

well guys.. the day has come..

I've been waiting for a port since the Kaiser days and never gave up hope, but today I bought myself a Hero. Don't know if I made the right decision but I wish you all well with the port, you are all making good progress, keep up the good work!

Hope to see you all in the Android Threads soon!
[Touch Diamond, MDA Compact IV ROM Development] Scorchsta:
You can get the current source from:

http://gitorious.org/linux-on-qualcomm-s-msm/linux-msm/commits/htc-msm-2.6.27
[Touch Diamond, MDA Compact IV ROM Development] fbepyon:
aasdd

Are you going to see if you can get the CMDA systems to work right now this build...? I can test anything you have on my DIAM400 which seems to the worse diamond, but hey everything else works great just no radio :(..
[Touch Diamond, MDA Compact IV ROM Development] roquin:
I can not boot my raph100 without adding "mem=76m" to the startups with the original one in bulid 15-11-09:(,and it makes the os so slow,is that normal?

And I find that "mem=89m" works perfectly while "mem=90m" won't boot,does it mean something?
[Touch Diamond, MDA Compact IV ROM Development] klinux:
back button or with a task killer like the one included with astro file manager
[Touch Diamond, MDA Compact IV ROM Development] djfuego:
Boot configl

How can you change the config so you see the flashing doid on startup instead of console text?
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Is that REALLY important now? ...
[Touch Diamond, MDA Compact IV ROM Development] FeliveNdrell:
Hey guys, i think we are close now to a working USB data conection. With last image i've been able to access to diamond from pc, by using atb tool from Android sdk. Now i can install apps in android write from my pc.

The problem is that i don't know how to setup android ( wich has similar to linux syntax ) to use internet connection from pc. It has something to do with "ifconfig" and "route" commands i think.

Except this and gps with camera (wich i don't use) it's almost perfect now!

p.s. well battery life is a huge problem for many people, but i can live with that :D
[Touch Diamond, MDA Compact IV ROM Development] shinden:
I second that, anybody knows what spectrum of values we can use with this parm? And why it`s here, why it`s neccesery to cut avaible ram?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Problem fixed, you'll just remove this mem=XXX option, and you'll have 110MB of RAM available for Linux. Patch commited but not yet pushed, you'll get it tonight anyway (thanks cr2 for the help !)
[Touch Diamond, MDA Compact IV ROM Development] shinden:
Many thanks, but i`m curious what was the reason of such ram constraint?
[Touch Diamond, MDA Compact IV ROM Development] roquin:
Another problem:D

It's seems like the Android treat the system clock as GMT,but wm treat the system clock as local time,it would let to several problem (e.g. google calendar)

Would you fix it？
[Touch Diamond, MDA Compact IV ROM Development] butterdori:
I think this is common for most linux based OSs (it's the same in ubuntu at least)
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
How is the mem=XXX situation on diamond? Beacuse on glemsoms site i see, it should only work on raph and blackstone... (I tried it, it seems to work faster...but i dont know if i have "more" ram...)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
diamond had 110MB of available RAM for a long time now, and no need to mem=thing for even more time.
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
Really? Wow...beacuse i still had it in my startup.txt... :O Guess i wasnt editing the raph startup carefully enough. :) Well..it's all good now.
[Touch Diamond, MDA Compact IV ROM Development] XDA-Geek:
Android is finally running on my DIAM***** , but missing Sense UI ..... i know DIAM**** can't support it.:(
[Touch Diamond, MDA Compact IV ROM Development] sllyname:
This does not include any source for the android builds that are being distributed. No diff from the current google tree and binary only apps and modules where no source has been released and no redistribution rights exist.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
I haven't build the whole android by myself. I used babijoee's build who has used other builds and so on.

But you might succeed in building a brand new one using my hardware project at gitorious (see http://gitorious.org/linux-on-qualcomm-s-msm/repositories ) for sensors and ril.

For wifi you'll also need many tricks see htc-linux.org's wiki for some details.

I've made also some little patches somewhere else: i changed the libhardware/wifi a bit, and the surfaceflinger to use 16MB video memory (actually this one is to be released yet)

If you succeed into building a brand new android, I think I'll love you ! :) I have been currently way too lazy to try it.

Also if you succeed building a clean android 1.6, you should be able to build a 2.0 easily too.

Feel free to ask me any details if you need to.
[Touch Diamond, MDA Compact IV ROM Development] 9600xt:
when can we have an android 2.0 build??
[Touch Diamond, MDA Compact IV ROM Development] FeliveNdrell:
It was long way to almost working adnroid 1.6 on diamond, i think it's only logical to complete this almost finished project and only then try to port new one.

Another problem as phhusson said above he didn't build this port from scratch and used some other builds. And i think there is simply too few people working now on 2.0. Be patient there is always a big time lag in things like this.

All this is my hamble opinion.
[Touch Diamond, MDA Compact IV ROM Development] saudoo:
Yeah plus deverlopers probably is waiting for the Hero rom to be updated to 2.0. By doing so we can get both Android 2.0 and Sense UI once we got the newest version of Android up and running! :)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
When I'll have enough time, I think it might be done for the new year.

Sense UI will still be HVGA only.
[Touch Diamond, MDA Compact IV ROM Development] saudoo:
Correct me if I'm wrong... But isn't converting the Sense UI to the android 2.0 OS making it able to scale to custom screen sizes? Now, I'm not able to find you a link, but I remember reading about this some time ago. I could be of course, that HTC is just not willing to put the man hours into converting their Sense UI just yet.

Anyways... To hell with Sense UI if it's stuck at that high res... Most of us just want android on our phones. As a starting point... that's more than enough.
[Touch Diamond, MDA Compact IV ROM Development] AndroHQUist:
accelerometer ?

Hi !

I'm running the latest zImage-modules-20091121_151935.tar and babijoees android with the updated system.img on a RAPH100 but my questions applies to all kernels i've tried the last weeks..

I am curious about two things:

1. I have never been able to use the accelerometer for any app. Tried labyrinth and aDyno but the apps seems to read a fixed value that is impossible to change exept if I calibrate and store a new value. The calibration only reads screen input and not the accelerometer. Is this the current status of accelerometer right now ?

2. Have not been able to shut down the phone from android since a long time ago. I guess thats related to babejoees build ? true or false ?

Thanks to all involved in make this very stable os for everyday use.
[Touch Diamond, MDA Compact IV ROM Development] leobaillard:
For those that follow regularly the topic, you might have heard about the mac address changing and preventing the wifi to work as it should. Problems with the virtual keyboard of Android have also been encountered.

phhusson has made modifications to solve those two problems that I've included into a new build update : http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/build-update_donut-1.6_22-11-09.7z .

This build contains a rootfs.img, a system.sqsh and a zImage along with it's modules. As usually, just put those files at the root of you sdcard/internal memory.

For the mac address to be stable, you must add and option to the cmdline in your startup.txt / default.txt :

wifi.mac=[the_address]

for instance

wifi.mac=11:22:33:44:55:66

But please keep in mind that this example will not work. The mac address needs to be "valid". In order to obtain a valid mac address, you can use the one used by Windows Mobile (which you can find by going into the wireless card settings).

The solution for the virtual keyboard to work properly, as phhusson said, was to increase the video memory.

Enjoy this build and do not forget to report any problem !
[Touch Diamond, MDA Compact IV ROM Development] FeliveNdrell:
Here is official promo http://www.youtube.com/watch?v=opZ69P-0Jbc&feature=player_embedded#t=1m23s

I think they ment that with new API you need to build only one release for all supported resolutions. And for now all res have 340px in width.