yashsingh1/xdaforums huggingface dataset:
[Touch Diamond, MDA Compact IV ROM Development] 9600xt:
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!!
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
That's not mine :p

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)
[Touch Diamond, MDA Compact IV ROM Development] Dun74:
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)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
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.
[Touch Diamond, MDA Compact IV ROM Development] Dun74:
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... :-)
[Touch Diamond, MDA Compact IV ROM Development] Dun74:
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'
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Err, what's happening then ? What does browser say ?

Can you ping ip addresses ? (local and remote) ?IP addresses of your DNS ? ping hostnames ?
[Touch Diamond, MDA Compact IV ROM Development] GlemSom:
Naah, not really... (my mac is 00-18-41-94-fa-17)

Maybe it has something to do with the radio installed?

I'm using radio 1.11.25.01 in WM 6.1
[Touch Diamond, MDA Compact IV ROM Development] sllyname:
That is good to know, I've spent several hours thinking wifi was broken, when really it just had a goofy mac. Where is this random mac generated.

PS. it would really be helpful if all wifi questions/sugggestions were in a wifi thread maybe only 20 or 30 pages long. Or even different versions of android/kernels in there own thread. Hopefully in there own "Porting Andriod/Linux" forum, that all the Raph/Diam/Kais/Vogue info could be together 500+ pages is silly.
[Touch Diamond, MDA Compact IV ROM Development] slovoflud:
or in the Diamond Sub-forum, alongside Diamond ROM development.
[Touch Diamond, MDA Compact IV ROM Development] sllyname:
That would work, but should there also be a subforum in Kaiser, Sapphire, Blackstone, Raphael, Vogue, etc? For me there is more interest in following the development on other hardware than any WiMo cooking. That's why I read the Diamond forum, when I have a Raphael.
[Touch Diamond, MDA Compact IV ROM Development] sorrowt:
why not? I think that would make more sense than having a thread with 500+ posts for each forum!!!
[Touch Diamond, MDA Compact IV ROM Development] 9600xt:
i have the same identical problem with the same output for

nslookup www.google.com

and my browser wan't load any page, and any other programs that uses internet wan't work
[Touch Diamond, MDA Compact IV ROM Development] Dun74:
No, ping don't work. Local, remote adresses, hostnames, ip same result.

The only one working is my local address (127.0.0.1 or 192.168.2.9) just to be sure.
[Touch Diamond, MDA Compact IV ROM Development] H3x:
I've got adb and logcat working. Is there a way to pipe the output to a file, cause there's a crap load. I suspect it's looping, but it's going to fast for me to see. I did do a bugreport also and there was an error in dumping the SurfaceFlinger service...

I still don't understand why mddi scaling isn't working... it's working for Vogue AFAIK, so why not for Diamond? Are the command line parameters (mddi.width=320) just being ignored? This is so frustrating.

Is there a way to set mddi.width/height during runtime, maybe via adb? Then I could try testing in Rosie to see if it works.

Any Kernel developers care to share some wisdom? Is scaling working? Could we get it to? I'm sure a lot of people would love seeing Sense on their Diamonds. The performance would be much better than on Vogue at least.
[Touch Diamond, MDA Compact IV ROM Development] ND4SPD:
When you boot up haret.exe, you will see that is says ignoring for the mddi.width, mddi.height, and lcd.density commands.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Here is a a beta test version (yes it's even more unstable than usual.), which is supposed to get bluetooth @ 4Mbps (thanks to cr2, and i hate android even more now.), 3G data connection, with some heavy DNS problems, i get it once for 4 tries on average. And power management's back, should save a lot of power.

About power, a known bug is that disactivating wifi drains a lot of power. So don't turn it on or don't turn it off.

http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-01-11-09.7z

This only means that kernel is ignoring these options, but userspace can take it in account. For donut releases, lcd.density is used. Only mddi.* are actually ignored.
[Touch Diamond, MDA Compact IV ROM Development] toastcfh:
thanx man, i will try tommarrow. benn tryin in linux with no event. maybe windows will be nicer to me.

edit/ freakin driver woulnt install. think its my kernel. i only got the msm device found and it only did it once in haret. just need a newer kernel
[Touch Diamond, MDA Compact IV ROM Development] H3x:
What do you mean by "userspace"? Is there a way to set mddi.* other than with kernel params?
[Touch Diamond, MDA Compact IV ROM Development] bxmatus:
So far this is most stable version in my RAPH100 :) Wifi, 3g, interface, i was able to play for more then a hour, installing/uninstalling applications ...

Great work :)

edit: 1 minute after i submit this it freeze :-D ... but still it was most stable i ever try on my raph ...
[Touch Diamond, MDA Compact IV ROM Development] cubetto:
Please, is there no way to give an order to this thread? It's impossible searching on 500+ pages

Thanks
[Touch Diamond, MDA Compact IV ROM Development] fcnaben:
Firstly, excuse me for my English (I am French) and a big thank you for your work.

I manage to run Android on my Diamond 100 but I can not have the 3G connection DATA.

I configured the APN, change the Startup.txt.

I have the 3G icon but I start the browser I have no connection ...

Does someone can help me?

I tried all the packages available and currently I am with that of phhusson.

@ phhusson: Is this you can help me in French?

PS : I try to read all the page....
[Touch Diamond, MDA Compact IV ROM Development] lucxxx:
hi, Glemsom

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

this kernel build has pwermanagement???, because if it has is superrr OK, nu restart when it goes to sleep.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
No. only kernel before 21september have it, or mine.

If mine doesn't work you can try setting pm.sleep_mode to 3, 4 or 5 in cmdline.

And bluetooth won't work (not really sure about it) with this kernel and my latest build
[Touch Diamond, MDA Compact IV ROM Development] lucxxx:
You mean that in your kernel that bug LCD+power on diamond is fixed? or remouvet from code?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Oops, i've been mistaken. I shouldn't work that late...

So i changed nothing in kernel but BT clocks and activating idle stats in /proc/msm_pm_stats, nothin related to PM actually ... well you can play with pm.idle_sleep_mode while you couldn't before, but that's it.
[Touch Diamond, MDA Compact IV ROM Development] kholk:
I really don't realize why PM is removed from kernels after the 11 september builds.

PM makes the device usable...

I mean that without PM we can't normally use Android because the device restarts automatically and/or has a noticeable battery drain that makes impossible to use it daily!

If the PM can be reenabled in the kernel, why don't? :P
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Actually PM wasn't disactivated ... That was just "day"dreaming @ 1AM.

Well it was disactivated because of my sensors code, which has been fixed now.
[Touch Diamond, MDA Compact IV ROM Development] katmandu421:
I am a former sprint touch (vogue) Android user and just had to dig out my diamond seeing all of the progress lately on porting to this device. I am on sprint, and my machine number listed in About is Raph800. I went and downloaded the latest Raph files from UTB-Connect (http://www.connect-utb.com/index.php?option=com_rokdownloads&view=folder&Itemid=68&id=3:htc-raphael) and sure enough it booted up nicely. I cannot comment on data/voice, etc since the device is not active on my account, but before I go ahead and switch back from the vogue I have to get the resolution color issue sorted out. I've read most of the thread this weekend and it seems that the mtype of 2040 * I think, this is from memory) in default was supposed to correct this, but is said to only work with certain kernels. I noticed that the default.txt in the bundle I downloaded from UTB-connect had the mtype of 1910. Just curious if there are any other Sprint Diamond users on here that are running Android at a good resolution and color with mostly stable voice and data. I don't have concerns with wifi or bluetooth at this time. Any help or advice would be greatly appreciated!

And I do think we need some wiki updates with device specific info since there are so many version of this handet. I'll be glad contribute to Sprint Diamond protion, once I figure out a robust combination of files.

Thanks!
[Touch Diamond, MDA Compact IV ROM Development] demitrixy:
hi all !

have anyone successful made a call ?

cause every time i try to made a call System says something like no operator and my phone signal loses all bars.

but i dont have problem on receiving calls or sending or receiving sms...

System: DIM100

(problem on:any kernel until now)

tks for ur time

and a big tks to developers :D

hugs
[Touch Diamond, MDA Compact IV ROM Development] beboxed:
Exactly the problem i have, I have seen a link to a 'configure android 3g connection' guide posted quite a while ago but can't seem to find it anymore.

Does anyone have that link available?
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
It's not kernel related but build related, which one do you use ?
[Touch Diamond, MDA Compact IV ROM Development] beboxed:
Using the phhuson image I could call without any problem using my DIAM100
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
This guide is outdated

All you have to do is set the APN in mobile networks.
[Touch Diamond, MDA Compact IV ROM Development] Willis111:
actually ...

It seems pretty easy to do that here ...
[Touch Diamond, MDA Compact IV ROM Development] demitrixy:
Special package for Diamond and Raphael, with Wi-Fi and Bluetooth from glemsom

i'm downloading the last version with 3g now but its damn slow :P

when i finish i ll post an answer :)

thx for ur answers
[Touch Diamond, MDA Compact IV ROM Development] fcnaben:
I have the same operator like you "orange".

I put :

APN orange

Nom d'ulisateur : orange

mot de passe orange

type d'APN default

He doesn't work. please help me.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
I mean ANDROID build, not kernel build.

You must leave APN type empty.
[Touch Diamond, MDA Compact IV ROM Development] fcnaben:
Ok, but he doesn't work again .....

Do you modofy the STARTUP.TXT with the data on APN ....
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
That's no longer needed.

Look at adb logcat. Most likely you don't get dns. You can also see getprop in adb shell
[Touch Diamond, MDA Compact IV ROM Development] demitrixy:
1.6 donut

im not sure with this gonna help but try to take a look here:

http://www.androidonhtc.com/carrier_network_settings
[Touch Diamond, MDA Compact IV ROM Development] fcnaben:
With getdrop, net.dns1 and dhcp.wlan0.dns1 were no defined.

Local-ip and rempote ip are defined.

I have a DNS pb, because when i make a nslookup on www.google.com, iy's he can't resolve...
[Touch Diamond, MDA Compact IV ROM Development] RationalGaze:
6hrs + with the last package(disabled wifi/bt, couple of calls and around 10SMSs)! Still not quite there but very impressive!

I do get the edge symbol, but no connection. Phone freezes if i try to sign in to google and it goes to standby. Screen orientation is still buggy (when upside down, it thinks it's in normal position).

Overall the best package yet. Stand by - resume works like a charm, the system is responsive, SMS works... Almost ready for day to day use.

WiFi - i was only able to connect to a WPA secured network. Unsuccesful connecting to a open security network... (is this a known bug/is it only happening to me?).
[Touch Diamond, MDA Compact IV ROM Development] Dunnera:
can somebody help me?!

i want to write sms with 20090909 but everytime i have an error

how can i write sms?

please help me?
[Touch Diamond, MDA Compact IV ROM Development] leobaillard:
Hi folks !

Here's a little upgrade to the last build. I made an error (mea culpa) doing the last package for phh which lead to the data connection misconfiguration. I corrected this and now the 3g connection works fine, at least for me so feel free to post some feedbacks if it doesn't for you.

We also added a little thing that enables wifi to stop completely when disabled in Android, saving even more battery and preventing it to be drained, which also caused the device to heat up. The sensors library has also been improved : the verbose has been disabled in the logcat.

As usual, try it, enjoy it, and don't forget to report about it !

Here's the update (rootfs.img and system.sqsh) : http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/build-update_donut-1.6_2-11-09.7z
[Touch Diamond, MDA Compact IV ROM Development] AndroHQUist:
Can someone please (not neccesary leobaillard) just post the parent cobalt link for the parent package for this fix.. I know that it may be possible to search and find but if I don´t ask, someone else will ;) I personally have a big problem keeping all the things I tested fresh in mind. I mean, how many Glemsom kernels, babijee packages and hhusson/leobaillard packages have you tried ? I slowly begin to get the point that newly arrived thead readers recently made.
[Touch Diamond, MDA Compact IV ROM Development] rpgman:
Look here (page 527)
[Touch Diamond, MDA Compact IV ROM Development] AndroHQUist:
Thanks alot !!
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Yes it's not explicit as "parent" post wasn't made by leobaillard but by me, so here it is:

Main package:

http://www.cobaltcode.com/fileupload/data/Android/AllInOne/android-donut_diam-raph-01-11-09.7z

Update:

http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/build-update_donut-1.6_2-11-09.7z

For the record, my kernel builder says i made 139 kernel builds and i tried almost all :p (and i've done even more in other branches)
[Touch Diamond, MDA Compact IV ROM Development] rpgman:
Second reboot (first one the back key don't work), i'm in APN but nothing i can see here : no field, just APN wrote in the left up area. While i type this my screen goes black and no way to get back to android ^^ => oups works now :p i can get back but APN still empty

I can call my home number, detect network operator (bt) but no apn

OK for APN settings home button works after a lot of test ^^

Edge connexion but no data

I use for Bouygues telecom this :

configuration du web & des MMS

menu

settings

wireless controls

mobile network

acces point name

menu

new apn

name: BouygtelWap

apn:mmsbouygtel.com

proxy: empty

port: empty

username: empty

password: empty

server:

mmsc : http://mms.bouyguestelecom.fr/mms/wapenc

mms proxy: 062.201.129.226

mms port: 8080

mcc: do not touch

mnc: do not touch

apn type: do not touch

From this website : http://www.entraide.bouyguestelecom.fr/f_nav/decouvrir_question_resolue/1919
[Touch Diamond, MDA Compact IV ROM Development] AndroHQUist:
Thats really impressive !

(for the record, I have built a lot of kernels myself and tested them all, none of the was for the ARM platform so I better not mention it.. ;-)
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
I think i built more ARM kernels in the past few weeks than i ever did for x86 actually.

x86 is not funny, everything works okay or is not understandable so nothing to hack in it :p
[Touch Diamond, MDA Compact IV ROM Development] cubetto:
Crazy wifi

This android is making me crazy.

I've tried all the lasts versions but wifi doesn't works for me.

I'm sure something is wrong but what?

I've seen during android boot in the part fsck an error: it says modules_xyz not loaded it would be modules_khj, or somethin like this.

If someone can help me please do it. these are lasts try, android is hurting me
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
You have the calibration in the root of your sdcard right ?
[Touch Diamond, MDA Compact IV ROM Development] rpgman:
Thanks a lot for this new release : after another reboot i open the web browser and that's work :)

but something strange the screen take a lot of tries to go left or right :p but i can open normaly notification or the screen for applications, strange

And i've got now the warning for battery under 15% (red battery) and then the battery goes green again :p

Is there a quick way to disconnect Edge (no 3G? usualy i've got 3g at home) I put "Fly" :p

A last question for tonight : if i connect on power : nothing happens but is the battery "refuel" under android? :p
[Touch Diamond, MDA Compact IV ROM Development] cubetto:
I say Yes, if calibration file is the file modules_etc...
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
calibration file is a file named calibration.

Search in the thread for how to get that. There is a link of someone's calibration file which might work for you if you're too lazy to make one.
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Great :)

This one is really a pain to fix, i'll give it some tries

Use the power management widget, i think the 3rd icon does that. (but i'm not sure as i don't have any 3G data connection :( )

You must have your phone connected when you started android. You can also do echo 1 > /dbgfs/htc_battery/charger_state
[Touch Diamond, MDA Compact IV ROM Development] rpgman:
No, the calibration file is a file named calibration in the root of sd, to make one you have to use and old build and activate the wifi till it create the file then you keep it and you can try new builds. Check some page before to see some how to.

PS: when i boot back to windows my battery was to 16%, i think i was up than 50% before testing this build, i put in power a little then go to sleep ^^ (want to have power for alarm for sure :p :) ) i'll test tomorrow for battery use (start at 100%)

phhusson: for the disconnexion part i mean to disconnect data quickly (and keep network for calls)

for 3G i mean it's strange that under Android i connect in Edge when i usely connect in 3G at home
[Touch Diamond, MDA Compact IV ROM Development] Dayd:
Yeah!! thanks for this update and for all the work! :)

3G, wifi works.
[Touch Diamond, MDA Compact IV ROM Development] mchh:
Here is my quick report using last updated phh & leobaillard's files (booted it 4 times so far):

- Wifi: works very well with DHCP, even if not loaded while executing Haret in WM

- Calling:Random bug: sometimes, i can't make any call (just get a short signal and android ends the call)

- SMS: can't send any sms, neither receive them (I already had that issue about 2 months ago and never figured out how I resolved it ..)

- 3G works pretty well, but sometimes doesnt work at all (seems to happen when calls are unavailable)

- Power Management seems fine, screen and backllight go off and on (I noticed that while making a call, when the screen goes off, I had to fight with the keypads to make it wakup and to be able to end the call).

Sometimes the lights of the touchpad stays on, sometimes only the 'back arraow' keypad is working.

Thanks for your work .. we're getting almost there ! :D
[Touch Diamond, MDA Compact IV ROM Development] phhusson:
Anyway don't expect it to last long. You might get 10 hours at most if sleeping and lucky.

I meant that too. What does this actually if not that ?

3G/2G automic switch has always been a mystery to me, for both windows and linux.

Maybe you were connected as 2G in windows when booting ? Or the 2G option is ticked in android ? (iirc this one does nothing but i'm not so sure)
[Touch Diamond, MDA Compact IV ROM Development] Dayd:
@mchh (sorry for my bad english :p)

for sms: with ATcommander.exe under WM, type:

AT+CSCA="0609001390"

and boot into android.

it should work... it's works for me (sfr and french ;).
[Touch Diamond, MDA Compact IV ROM Development] aussiewan:
Hi Andro,

Not quite sure what you are asking for, but you can browse the folder where the files are here:

http://www.cobaltcode.com/fileupload/data/Android/AllInOne/

I have heaps of storage space, bandwidth, etc on that web host, so if anyone would like me to put something, or set up something themselves, let me know. I can set up Joomla, Drupal, phpBB, whatever. I've got PHP, CGI, mySQL, etc supported on it. I can also set up a subsite, such as android.cobaltcode.com if that would make it easier, too.

300Gb of storage and 3Tb of transfer a month that I barely use - help me make the usage graphs show something! :)

Edit: Didn't realise there were 2 pages after that post! :S Either way, offer still stands. If anyone can think of a good way to make use of my web hosting to make things easier for people, then just let me know and I'll set something up.
[Touch Diamond, MDA Compact IV ROM Development] mchh:
thank you Dayd but I already tried it, it solved the problem about 2 months ago when I played with the AT commander (I posted this solution :)), the smsc *#*#4636*#*# in android (which doesnt seem to help) and the phone's settings under wm.

I guess I'll have to give it another try tomorrow, it's becoming too late for my brain :p
[Touch Diamond, MDA Compact IV ROM Development] Dayd:
lol, yes it's YOU :p thanks ;)

http://xdaforums.com/showpost.php?p=4553500&postcount=4141
[Touch Diamond, MDA Compact IV ROM Development] leobaillard:
What's your device ?
[Touch Diamond, MDA Compact IV ROM Development] AndroHQUist:
This build is really fast and good. I can for some reason not shutdown android. That has been impossible for quite some time. Maybe thats a known issue or maybe its just me ?:confused:
[Touch Diamond, MDA Compact IV ROM Development] toastcfh:
its bitter sweet to say this but i won the war against sprint and they gave me a hero for free today. so i guess its one more man down on the diam500 efforts.
[Touch Diamond, MDA Compact IV ROM Development] demitrixy:
humm this new update http://www.cobaltcode.com/fileupload/data/Android/BuildUpdates/build-update_donut-1.6_2-11-09.7z makes my DIM100 slower, battery consumes more faster and sometime appear an error saying "Activity Home (in.process.acore) is not reponding. :/

tks for the hard working of developers !

i can use wireless, 3g and blutooth without problems :)