yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] bally3:
Do you have a Polaris then Jesse?

ps. really hating the thought of you on a beautiful beach whilst I enjoy.. sunny?!? erm.. damp England Martin.. enjoy the break :rolleyes:
[Touch CDMA Android Development] craig0r:
OMG, the day I've been waiting for is finally in sight. If you get BT working, I'll never have any reason to switch to WM (except to upgrade android of course!) I'll definitely buy you at least a couple virtual beers when that happens.
[Touch CDMA Android Development] vilord:
We're getting close :D

I think the addressing might be different from the other devices to the vogue... Wish I had a memory mapping.

I saw that Martin needed to change the addressing in msm_serial to get that working, the same is likely true with msm_serial_hs, but I don't know where to find the addressing.

I'll see about pushing my changes to the 2.6.25 LTG git repo.
[Touch CDMA Android Development] vilord:
dupe. This site sucks.

And it doesn't matter if you are 100 ft from the servers or half way 'round the globe, their servers just aren't up to the task.
[Touch CDMA Android Development] vilord:
Okay, making progress on msm_serial_hs for bluetooth.

http://github.com/vilord/htc-vogue-kernel/tree/htc-vogue

if you make menuconfig and go to character devices->serial and turn on the serial highspeed option, it will give you a /dev/ttyHS0 device. But I don't have the clocks right yet, so if you try to access it, your phone will reboot.

Martin, how do I go about finding the correct clock addresses? I tried using the 7200a address, and it is rebooting the phone.

I guess I could try ignoring the clocks, turning on bluetooth in windows, and seeing if it "just works"...
[Touch CDMA Android Development] punk.kaos:
Man, I hope so! Bluetooth is the only thing I have to go back to WM for! Thanks for your efforts Vilord!
[Touch CDMA Android Development] bally3:
For those of you with Windows 7, try this to get adb working see this post

Works a treat! :)
[Touch CDMA Android Development] craig0r:
Nice find! I'll have to try it out when I get home. I've just been using Ubuntu in VMware to do it.
[Touch CDMA Android Development] vilord:
adb is working for you on polaris? Hmm... I wonder why the kaiser people can't get it going...
[Touch CDMA Android Development] dzo:
The Kaiser problem is caused by the cpld code resetting it sometimes, ill fix it some time. For the bt clocks, my older board-htc set up the hs clocks but then I changed it to the non-hs clocks. You may have to copy this to the rfkill file for 1.5. Clock documentation is in the leaked msm docs (Google 80-va736).
[Touch CDMA Android Development] aven_soulgazer:
the zimage-test seems to be working on my vogue where before I had to use the special bootlock zimage. Thanks Martin
[Touch CDMA Android Development] trensol:
Sprint Vogue also working, using the zimage-test, also great thanks Martin!
[Touch CDMA Android Development] Magister2k7:
dzo, can you post changes made to zImage-test somewhere? It locks on my Titan at boot (throwing a kernel exception), but I know how to fix it.
[Touch CDMA Android Development] dzo:
It's just the latest git on ltg. I imagine you will have to implement the cpld changes for titan to get it to work well.
[Touch CDMA Android Development] Magister2k7:
Thanks, but... hm... I already implemented that changes at my home PC (with 2009-06-25 commit) - and it works, but still hangs after some time, mostly when playing audio, with no any errors in kernel log.

Will try with the latest commit tonight.
[Touch CDMA Android Development] vilord:
what changes are related to the crashing? Nothing in the diffs from 7/6 seem related to the CPLD code?

Also, I've been looking at the board_htc.c revisions, and i only see gpio calls, nothing clock related... And I can't find a download source for the msm document, seems qualcomm squashed it pretty well.
[Touch CDMA Android Development] bally3:
AS you can see from the screenshot.. Its working ok.. now.. what do I do with it lol :rolleyes:
[Touch CDMA Android Development] vilord:
the adb is extremely useful for...

adb push file location

will push "file" to "location" on the device

adb pull file location

will pull "file" from device and store it locally on your pc in "location"

also even more useful for debugging, ie adb logcat will give you an app log

also if you install the full SDK on your pc, you can use the DDMS to take screenshots and watch active applications

EDIT:

Oh yeah, the reason for my post :)

Bluetooth is progressing, I now have full access to the high speed serial port, although it isn't singing the blues yet. Thank you Martin for the pointers :D

Another evening and maybe I'll get even further.
[Touch CDMA Android Development] atpjoe:
Is Android ever going to be super solid and functional on the Vogue? I like to **** around with it, and would run it all the time...except its got so many bug still. If only you could combine WM and Android :eek:
[Touch CDMA Android Development] craig0r:
That's the plan. ;) Although I'd say the only things we couldn't get working perfectly would be the screen resolution, and even that will still be improved... and the accelerometer and compass.
[Touch CDMA Android Development] bally3:
Jesse, now that I've got working adb, is there any way to reboot android only? I've noticed that there is an option to reboot in command prompt in the shell but it doesnt do anything?

Occasionally when I load Android, I get a locked 3G connection that appears to be ON but doesnt connect and I'd like not to have to reboot into WinMo and re-run haret again. Also when you run logcat, can you make it so it writes to a file or is it a copy and paste job? - Thanks
[Touch CDMA Android Development] Magister2k7:
Looks like it's caused by mixing new (gpio_set_value and gpio_get_value) and old (vogue_set_egpio and vogue_get_egpio) functions. They were used in htc_rfkill.c until 7/1. So, now there is no usage of old functions, and all works ok.

I'll do some cleanup and push my changes soon.

--

Update: Titan's changes are in the repo. Now there is no more crashing, thanks for all who are contributing to this project!
[Touch CDMA Android Development] Thomas1218:
Thanks for all the great work you've been putting in. I LOVE android on my vogue. I was just wondering though if on the google site you could start putting the zImage in a zip file like you did that other time because I had the same problem as the other guy with it saving funny. Thanks!
[Touch CDMA Android Development] atpjoe:
Awesome. The problems I keep running into are: Screen calibration (can't get it accurate whatsoever), the hardware buttons (I hate using the rocker switch on the side to go back and menu), and can't figure out how to get my contacts from WM over to Android. Other than that its just random crashes and stuff.

Is there any fixes for that that I missed? I mainly have been using Android for games, they kick ass.
[Touch CDMA Android Development] Landon4576:
Help with Google Setup

Ok, I skipped the little Welcome thing at the beginning, but now I can't get to the market, GTalk, etc,etc, anyway to get back to this?
[Touch CDMA Android Development] craig0r:
You can set up ActiveSync on your phone to connect to GMail's Exchange server, which will keep your contacts and calendar in sync phone <-> gmail.

It's pretty simple to set up, and stable from what I can tell:

http://www.google.com/support/mobile/bin/answer.py?hl=en&answer=138636

Then when you boot into Android, your contacts and calendar should automatically sync.
[Touch CDMA Android Development] tatnai:
go to Dev Tools > Google Login Service.

See here for a great place to ask questions.

http://xdaforums.com/showthread.php?t=474576
[Touch CDMA Android Development] natefish:
Ok, I'm giving this a try and I got all the files. I have to say I am VERY impressed with how far this has gone....But, I have the flashing white screen.

Now, I DID follow these instructions:IF YOU GET FLASHING WHITE SCREENS, you need to modify your default.txt again and change the board-htcvogue.panel_type.

Some phones use 1 as the screen type, some use 2, and some use 3. We can't autodetect right now, so just change it until it works

However, when I edit the default.txt, and go to "board-htcvogue.panel_type", where exactly do I put the 1, 2, or 3? This might be a really stupid question, but I tried all three and got nowhere. There are a few spaces before the dash. Does it go right after?

If anyone can just post how they edited it, I would appreciate it. Thanks.
[Touch CDMA Android Development] dzo:
It must go on the line starting "set cmdline" so it reads:

set cmdline "ppp.username=mobile@jamamobile ppp.password=telecom mddi.width=320 mddi.height=428 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 board-htcvogue.panel_type=2 no_console_suspend"

This must be all on one line, make sure your editor hasn't split the line.

If you can't get 1,2 or 3 to work, try 0 and add mddi_client_vogue.vsync=0 to the cmdline (though this may cause other problems).
[Touch CDMA Android Development] Landon4576:
Google Login

The Google Login Service stops responding
[Touch CDMA Android Development] natefish:
That did it! I was putting the number in the wrong place--where the other board-htc, etc. thingy is. THANK YOU!
[Touch CDMA Android Development] vilord:
when you try to go to the market, it should ask you to log in again... does it not?
[Touch CDMA Android Development] neurocutie:
the default.txt file has a 2nd to last line as:

set cmdline "ppp.username=mobile@jamamobile ppp.password=telecom mddi.width=320 mddi.height=428 msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 board-htcvogue.panel_type=1 no_console_suspend"

(all one line). You see: board-htcvogue.panel_type=1 near the end?

just change that 1 to a 2 or 3. My Sprint Touch/Vogue required a 3.

Ditto on the "impressed how far the port has progressed". It is a VERY functional port, quite useable...
[Touch CDMA Android Development] neurocutie:
Agreed... I hate using vol up/down as back and menu as well... and the camera button *isn't* doing keyboard....

Actually I think I want camera to be back... haven't figured out how to do that though....
[Touch CDMA Android Development] neurocutie:
That suggests that a simply lens attachment could be made for closeups... reading glasses for the camera, essentially...

I just put a photo loupe in front of the Vogue's camera and it brings closeup objects into perfect focus (i.e. my PC's LCD screen at 1" working distance).
[Touch CDMA Android Development] woodma:
can we use a remote consol on it

Does any driver like WIFI or USBnet can work on it now?

I've tried the latest code and seems great.

The pity is just we can not connect to it by ssh or uart consol.
[Touch CDMA Android Development] dzo:
adb works fine, it lets you copy files back and forth (adb push and adb pull) and gives you a root shell (adb shell). You can even take screenshots using ddms. Get the windows driver from the google code site, for linux you will need to install the sdk.
[Touch CDMA Android Development] pchasco:
I'd like to try to tackle the MMS receiving issues, but I'm not quite sure how to get started with building the kernel. I've installed the source forgery ARM toolchain, cloned dzo's git repository and I've downloaded his .config file. Make doesn't seem to like the .config, so I am assuming I'm doing something wrong here.

Is there a guide on how to get started linux kernel hacking for Android? (I've tried the forum search feature.)
[Touch CDMA Android Development] 81344songz:
I can't get it to work on my bell vogue
[Touch CDMA Android Development] pchasco:
I've successfully built the kernel, but now I'm trying to figure out where to begin with implementing MMS receive functionality. Does anyone know where I should start? I'm trying to find the files specific to the RIL, but I can't seem to locate them.
[Touch CDMA Android Development] natefish:
Continuing to be amazed by this project and its outcomes. I can't believe we can actually get on the app store and install apps straight from that!

Is there something I have to do to make GPS work? GPS is working fine on my vogue. Do I have to start the receiver before starting up Android? Thanks.
[Touch CDMA Android Development] craig0r:
You don't have to do anything outside of Android, but IN Android, you must go into Settings/Security & Location, and then set the "Enable GPS Satellites" option to "On."

Then, when you go into say, Google Maps, you should get a little radiating sorta radio-type icon. (I'm good with words, I know.) If you're outside, you should get a fix within 15 seconds, generally.
[Touch CDMA Android Development] dzo:
The RIL is here:

http://github.com/vilord/android-htc-ril/tree/master

You will need the android source to build it but implementing mms may not be simple because you will probably need to convert to/from gsm format messages.
[Touch CDMA Android Development] pchasco:
Thanks! I managed to find it earlier, but I didn't already have the Android source, so I'm pulling that down now. I plan to write a translation to receive these mms messages... hopefully that won't be too difficult. I'm not unfamiliar with low-level programming, but I'm not familiar with this particular setup. Is it possible to use a debugger or will I have to rely on logging?

Thanks!
[Touch CDMA Android Development] vilord:
Getting MMS reception to work actually shouldn't be all that hard... an MMS on CDMA should just be an SMS message header that says, in computer-ease, "you have a new MMS message, with message ID xyz" Then we should be able to tell the app to go get it by translating that header to the equivalent header that comes from GSM.
[Touch CDMA Android Development] vilord:
More details please. Plenty of folks use this on their bell vogue without issue.
[Touch CDMA Android Development] natefish:
Have you tried talking to the Someguy, the one who made SMMS? He would probably know all the loopholes you have to go through. I'm nowhere near an expert, but he might help with your search.
[Touch CDMA Android Development] hudhawk:
This is awesome.

I'd been using 1.1 and it was promising but a little too rough around the edges; last week I downloaded the 1.5 build from the Google Code site and haven't booted back into Windows since (well, just to reboot).

That said, I'm having a couple issues I wanted to know if anyone has seen before:

1) Occasionally when I lose signal, I can't get the modem to reconnect. I had the same problem in 1.1; it loses connection, and when I try to connect again I just get a connection failed, even after resetting the modem.

2) In 1.1 it would never complete charging - it would get to 98% and then just keep charging forever. Now I have the opposite problem - when I plug it in to charge, it finishes way too fast - there's no way it had time to actually charge to 100% - and consequently I'm getting bad battery life. Is there an easy way to adjust the battery settings to fix this?
[Touch CDMA Android Development] njakobs:
Hey Dzo,

I just wanted to say thanks for the great work. Moving forward I hope you keep up the great work when Android is finally released. I for one would be willing to pay for your work on the driver side of things to get Android up and running on my Okta touch

I hope Massey doesn't want to take to big a cut when and if you do.

Cheers
[Touch CDMA Android Development] DssTrainer:
O.M.G.!

I just tried this and can't believe how awesome it works! Its 100x faster and more responsive than WinMo6.1, and its running ON a phone with WinMo already on it! The dialer actually shows the numbers as I type them instead of lagging 1 sec behind! Just need an on-screen keyboard and I will run this from now on!

Thank you so much and please continue to improve on it! I really hope when either your release or the official Android is ready taht we can make a full ROM and get rid of winmo completely on existing phones!
[Touch CDMA Android Development] sadoway:
why not this???

soo i saw this a little while ago.. how come our version of android feels like it has birth defects and is ... less then as functional as this?

<<<youtube>>>
[Touch CDMA Android Development] dzo:
That video actually shows the m3 version, we are using m5 from the SDK which is much newer. However, the important thing is that we have a kernel that is capable of running the thing when it is finally released. There should be a release of the latest SDK soon (it's been sent to the winners of the ADC I think). When that happens it will be simple to get it running.
[Touch CDMA Android Development] sadoway:
ok ok... that makes sense. i like important things. thats keeps me very hopefull.

great work. and thanks for the reply on my question :)

i showed android to my boss and i think hes stocked for it now too.
[Touch CDMA Android Development] berry_lthird:
Proxy Settings for Data?

Hi!

Great work! I love how only a small group of nerds I know even understand what Android is. The fact that I can now run it on my Sprint Touch is nothing short of amazing!

Anyway; I'm on Cricket, and I need proxy settings to get data to work.

Cricket users need to tunnel through port 8080 for IP data.

Anyone know how to set-up proxy data on Android? I couldn't find the network settings in the UI.
[Touch CDMA Android Development] dzo:
Hi, there is a proxy setting but you can only change it by manipulating the provider-settings database. You would have to extract initrd-android to insert a row into the database as described here:

http://fggarcia.blogspot.com/2007/11/setting-up-proxy-for-android-emulator.html

Then pack it up again. I haven't tried this but it should work.
[Touch CDMA Android Development] wmvdg123:
So I got the bright idea to call sprint and ask what the unsername and password would be to dial in. They confirmed that the username would be the device id found under settings (xxxxxxxx@sprintpcs.com). They said each sprint phone has an unique alpanumeric password to dial into use the internet (NOT the password to sign into sprint.com) They gave me mine without a problem.

However, when I entered them in the settings android still didn't dial in on boot up. Google maps and the browser didn't work. So the only way to get internet is still to establish a connection before booting up.

dzo, I know you said the phone dials #777 on booting and tries the username and password but they don't seem to be working. Any ideas?
[Touch CDMA Android Development] ibri:
For what it's worth I'm a Sprint user and all I had to do was add

set cmdline "ppp.username=user@sprintpcs.com ppp.password=passwd"

where passwd is the password from my original Sprint account login (before Ensemble). I haven't tested 100% that I didn't have an active data connection before running haret, but I don't seem to have had any difficulties.

Maik
[Touch CDMA Android Development] Aaron McCarthy:
Does anyone know how to get the internet to work on the telus HTC touch? I dont know what the username and password stuff is I am supposed to put in. I have also started a live data session.. at least what I thought was.. by starting msn and internet explorer etc and then starting android but still no luck getting internet
[Touch CDMA Android Development] jim256:
hmm thats great. i have been following the sprint data issue and want to figure it out too.

sorry for the stupid question but...where exactly do you add that line?

and just for clarification, for the username=user@sprintpcs.com...you changed "username=user" to reflect your username correct?

thanks.

AWESOME JOB DZO/MARTIN!

ps...did you try designing a program for Android, did you enter into the contest?
[Touch CDMA Android Development] ibri:
The most current defaults.txt file has that at the end of it, and yes, I changed "user" to reflect my Power Vision username. For instance, if my username were maik@sprintpcs.com and my password were 123456, then the line would read

set cmdline "ppp.username=maik@sprintpcs.com ppp.password=123456"

Maik
[Touch CDMA Android Development] jim256:
o, right duh ok lol... :S

thx ill be sure to give that a try once i get my username/pw tomo! :)
[Touch CDMA Android Development] wmvdg123:
Hey Maik, could you do a test run for us, say reset your touch and then run android right to make sure you didn't have an existing data connection? I've tried with my username set to xxxxx@sprintpcs.com and my pre ensamble sprint password without luck, but maybe I'm making a mistake because it seems that its working for you.

Thanks
[Touch CDMA Android Development] ibri:
I just soft reset my phone and immediately launched haret and then did a search in the browser. It worked flawlessly. I didn't see the WinMo data connection bubble after soft resetting my phone, so as far as I can tell there was no active data connection.

Maik
[Touch CDMA Android Development] defyin:
What user/pass for Virginmobile?

Hey, great job on everything so far guys!

Been trying to get Android working on my HTC Elf. Keep getting to the point where after it prints Get Ready gentlemen bit, and then the username, password bit. But after that, it just prints out a bunch of things and some options of the pppd command and then a few seconds later, it just gives me a blank black screen.

I'm not sure if this is the ppp error you guys are having too, but I've tried:

1) leaving the default ppp.username and ppp.password in

2) putting blank username and passwords (because I dont know what it is for virginmobile)

3) starting a gprs data connection and then starting haret

But nothing seems to get me past this stage, so I was hoping you guys could help me out.

Btw I'm on Virginmobile, in Australia if that helps.
[Touch CDMA Android Development] jim256:
hmmm interesting ok well just to make sure, are you sure that you dont have your data connection set to start up at boot/the activation of just the cellular radio? also, is it possible that in sounds and notifications you have the connection bubble to not pop up on data connect?
[Touch CDMA Android Development] ibri:
If that is a setting that you have to manually set, then no, I don't have it set to start up at boot time.

Unfortunately I am plagued with that stupid pop-up bubble constantly, so no, it's not disabled :)

Maik
[Touch CDMA Android Development] wmvdg123:
Its good that its working for you Mail:) I know you said that the password that you are using is the pre ensemble one. I think I had the same password back then but maybe I didn't and thats why it isn't connecting. I know that the password I have to log onto sprint.com now doesn't work and also the password that sprint gave me for vision when I called them doesn't work.

Did we have to change our passwords when they updated the system to ensemble? Any ideas on how we could find out our pre ensemble passwords?
[Touch CDMA Android Development] ibri:
It sounds like people have been able to call Sprint and get that password, but I haven't had to try, so don't quote me on that. When they made the switch to Ensemble, the next time you logged in it made you set up your new username and password. Instead of using your phone number and the (usually) 6 character password you had to follow some more stringent username and password creation rules (as mandated by the FCC, blah blah blah). That old password is also the one they would ask you for when you would call *2 and they'd ask for either your password or the last 4 of your social.
[Touch CDMA Android Development] craig0r:
I'm getting this too. dzo didn't account for temperature when he programmed the battery driver (i think it's a driver anyway, *shrug*.)

He left some suggestions somewhere about grabbing data from the phone at different temperatures. It included putting your phone in the freezer. I actually plan on doing this, but I haven't been at home much at all in the past week, so I haven't had time to put my phone in the freezer :S

Anyway, he says once someone does this for him, he will be able to make the battery meter more accurate, which I can only assume is the direct cause of the phone not fully charging. Also, someone reported that their phone shuts off when android thinks the battery is at 0%, even though he will then boot into windows and the battery has like 50%.