yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] f00bar:
oh wow this is great -- I've spent a little bit of time trying to get the HTC magic firmware working. I haven't been able to get internet working on the emulator, and replacing the RIL with yours makes things hang on the boot screen.

Tip to get it working in emulator: yaffs2 images can't be bigger than 65MB or so; easiest workaround is to find a kernel with ext2 compiled in (google "android ext2"), and use that, and modify init.rc to mount /system from the emulator SDcard as ext2.

Here is the firmware (inb4 404): http://dogbuns.!htc.com/packages/htc_sapphire/htc_sapphire-ota-20090327.zip

(Remove the ! in URL to kill referrer)

You can see pics of how much nicer it looks in this thread:

http://xdaforums.com/showpost.php?p=3541640&postcount=488

http://xdaforums.com/showpost.php?p=3541646&postcount=489

]

That firmware doesn't include the google apps, but I think GLS does work, so it shouldn't be too hard to port them. (there's also an older version of the firmware that's not quite as pretty linked in the thread that has all the google apps).
[Touch CDMA Android Development] Scalap:
Okay, so I have to remove them form the initrd file, right ?

I will check what is inside this huge file.
[Touch CDMA Android Development] dzo:
No, you will have to compile a linux kernel (zImage) that works on your particular phone, you will need a linux machine with an arm toolchain installed, if you don't know what this involves then it's probably not for you.
[Touch CDMA Android Development] dzo:
I've written a simple on screen keyboard and got the rest of the buttons working.

To try it out, just copy the new kernel (zImage) at http://cs-alb-pc3.massey.ac.nz/vogue to your phone.

The camera button displays the keyboard and I have changed the back and menu keys to left and right (volume up and down are now left and right if you need them). The yellow button on the keyboard, moves the rest of the screen up and down so you can see what you are typing.

The keyboard will only work if the touchscreen is calibrated well, it works fine on my phone but I don't know how much variation there is between phones so yours may not work (let me know if it doesn't and I'll add a calibration method) use the pointer location app in dev tools to check your alignment.

I've also written a simple radio interface library that gets a few more phone functions working, (SMS in particular) but it isn't quite ready and not that useful without audio. I'll put it on the website when it can do something useful.
[Touch CDMA Android Development] jim256:
wow awesome that is some great news! :) i will be sure to try it out.

thanks

and nice going! keep up the good work!
[Touch CDMA Android Development] jim256:
alright so ive been playing around with the newest files for a bit, but am a little confused.

is sms working or no? i tried smsing a new contact from the contact app and it said that the action was not yet supported.

thanks!
[Touch CDMA Android Development] dzo:
I do have some code that can send and receive sms. The code I have written is not part of the kernel, it's the radio interface library (ril) that lets android talk to the modem. I'll get it in a better state than it currently is and put it on the web site in the next week or so.

Even with this, SMS won't work without some more java code in android. It does exist (the emulator tries to load sms.apk on startup) but is not included in the emulator image.

I'm a bit reluctant to write stuff that will be included in the final shipping software but it might be nice to have something simple just to show that it works so I'll see what I can do.
[Touch CDMA Android Development] jim256:
hmm ok i thought that just might be the case. and it is definitely understandable that you might not want to write software that will only be written again regardless so...I guess im not pushing either way for it :)

perhaps though, if you were able to put enough time and thought into it, you may be able to write a really great sms/messaging app, then sell it to Google...idk

thanks!
[Touch CDMA Android Development] mletourneau:
Connexion

Guys,

Can you just clarify if I am suppose to be able to have connexion on my phone to call, receive calls after booting?

For now, I just see the "antenna" with a red X on it and I was using an active connexion before booting with Haret.
[Touch CDMA Android Development] dzo:
No, this update just adds a keyboard and gets more buttons working.
[Touch CDMA Android Development] mletourneau:
Futur

Martin : I can't wait to use a complete version of this. I understand their is a lot of work to do between now and the full version but if I can help you with some testing, let me know. I am using a vogue from Bell Mobility. :p
[Touch CDMA Android Development] jim256:
man i just wish we could have pcm keyboard on here!... :( lol
[Touch CDMA Android Development] dzo:
OK, I've made the keyboard a little nicer and got some more things working.

You can now make and receive audio calls. The phone should vibrate when a call is received. Press the red button twice to hangup.

You can calibrate the touchscreen by holding the camera button down (so that the keyboard is showing) while tapping the top right and then the bottom left of the screen. Do this while running the pointer location app in dev tools to check that it works.

Signal strength meter should be working.

To see all this new stuff you will need the latest zImage and initrd-android files.
[Touch CDMA Android Development] jim256:
wow awesome news these constant new developments are exciting.

i (and probably everyone else:) ) love how you just keep workin and pumping out the significant updates so frequently and consistently!

thx ill be sure to give it another go around! :)
[Touch CDMA Android Development] cr2:
MSM_CLK_CTL_BASE + 0x68

Is the i2c clock on vogue using the +0x68 offset ? i see it at +0x64 ->

http://wiki.xda-developers.com/index.php?pagename=KaiserMemoryMap
[Touch CDMA Android Development] Grondinm:
anyone have any luck getting this to work on Telus network. what do i need to put in for u/n and password?

was able to make phone calls from android. Great job. My data connection still does not work. Even if it is established before i run android it still wont load anything.
[Touch CDMA Android Development] Jason_25:
Thanks for all that you have done.

Outgoing calls are great.

Incoming calls are buggy for me. The phone vibrates and I see the incoming caller ID, but when I go to answer, a partial dialpad comes up and the call does not appear to connect.

Anyone how the Alltel internet settings?
[Touch CDMA Android Development] kushdeck:
Well after 'horsing' around with it all night and this morning, i find that after i successfully reach 1 webpage on the data connection, i then can no longer reach any others. Its almost like the data connection just dies. I havent had time to look deeper into it yet, but i thought i would post and see if any1 else is having the same problem. Maybe its due to the radio that i am using on my vogue 3.37(from the leaked sprint rom)?

Sprint Vogue.

-deck
[Touch CDMA Android Development] dzo:
I just commented out that line and assume the clock is already set up, you're probably right. Thanks.
[Touch CDMA Android Development] dzo:
I'm using the 3.37 radio too but the data connection has always been a bit flakey with the browser. I think wince must be doing something else to keep it alive, I'll look into it. If the data connection does drop, it won't recover because I start it only once when android first boots. It's also possible that voice calls will cause the data connection to drop. What should happen is that android manages the data connection but this will need some more work.

One thing I forgot to mention is that the phone will listen on port 4321 (and 4322,4323..) for an incoming connection so you can get to a busybox shell on your phone with netcat.

You need to know the ip of the phone so connect to a site that displays this and then do:

nc PHONE_IP 4321

from a linux box.
[Touch CDMA Android Development] wmvdg123:
Just wanted to say that your a genius dzo. Thanks for all your hard work!
[Touch CDMA Android Development] neach:
those screenshots look fantastic - much more refined interface and menus for devices without keyboards... i like!

will any of the work you've done on the dream transfer over to this firmware, or is it basically back to scratch to port this one?
[Touch CDMA Android Development] imfloflo:
@dzo well done very good job as usual. hope it will be compatible with polaris too if you need some extra stuff to i'm here wit my pola1000.
[Touch CDMA Android Development] paleozord:
What the heck happened to my post in this thread, and the four or five follow-up replies? They were there this weekend (March 27/28) and now they're all just gone. About six posts in all just vanished into thin air.
[Touch CDMA Android Development] evader69:
the forum had some technical difficulties and was restored from a backup. this happened to every thread on the site, not just this one.
[Touch CDMA Android Development] dufyd:
Whats working and whats not

I bet there are a lot of users that just loaded android to their vogues, i know i just did.... so.....

Working:

google apps - gmail, calendar(no reminders)

email - add other email accounts

to load apps - copy the file to a folder called AndroidApps in the root of the sd card

sms and cellular ratio are working fine

Still needs work:

no volume control - have to go to settings sounds and then lower the volume

speaker not working

camara not working

no blue tooth

voice dialer not working

android market not working...but you can see the apps good luck finding them elsewhere

no voicemail notifications

KEYBOARD!!!! the top keys on the keyboard are fine but the lower keys are not very well calibrated...kind of anoying sometimes...

Overall comments:

Ive been using android rather than windows mobile for the past week.....it works well, although it has crashed about 3 times...... once you get used to the assigned controls you will become very fast at it...

Faster than WM, battery drains a little faster...

Scrolling on wm does not compare with android, browsing is enjoyable in the android although opera 9.5 on the wm is very nice as well.

BTW this is android 1.1 not cupcake.....
[Touch CDMA Android Development] dzo:
The camera does work, it's just that the preview is confused by the scaled display, press the dpad centre and it will take a picture. Android market also works for most people.
[Touch CDMA Android Development] Ideal2545:
also, android market works fine for most people, and the g1 doesnt have a volume control slider either... i dont think, there is a volume control program that works awesome on the market.
[Touch CDMA Android Development] bradys1:
Make sure that you've created a folder on the root of your sd card called "AndroidApps" spelled exactly like that without the quotations. That's where the marketplace looks to download the apps, and once the folder is available, it's on like donkey kong...
[Touch CDMA Android Development] katmandu421:
You need to calibrate: press the camera button to bring up the keyboard, press and hold the end call button, while holding, use the stylus to tap the top right, the bottom left corner. Press the cam button again to get rid of the kb, then back to get out of the shutdown dialog that has comeup.

Here is my startup procedure:

- Calibrate the screen

- Go to dev tools->dev settings and set Max process limit to 4 (really helps performance)

- Turn on Togga
[Touch CDMA Android Development] iammrsmartypants:
could someone post the apk file for the volume control available in the store? i'm using this without a data plan, so i can't access the store, thanks!
[Touch CDMA Android Development] okcoolthnx:
If you go into Settings, you can change the volume.....
[Touch CDMA Android Development] okcoolthnx:
Holy crap, why did I NOT know about this?!?! The Max process limit change has completely changed my view on Android. Now it runs as fast, if not faster than the iPhone! Thanks so much!!! (clicks the non-existent 'thanks' button)
[Touch CDMA Android Development] katmandu421:
Yeah, someone else (sorry, forgot the members handle) posted this a few weeks ago. Someone mentioned that certain apps use more than 4 processes and so won't run. I think the example given was the music player, but I dont run that as I listen to last.fm or imeem. Side loading music is soooo 2005 ;)
[Touch CDMA Android Development] thoughtlesskyle:
our prayers might be answered for an onscreen keyboard,

if you look in the news section they are developing a touchpal for android

http://www.cootek.com/
[Touch CDMA Android Development] iammrsmartypants:
does anyone know about how much data it takes to update the calendar on this android port?
[Touch CDMA Android Development] dufyd:
can i get help on the market? when ever i try to download an app it says Download unsuccessful on the notifications... I created a folder called AndroidApps in the root of my SD card..any suggesstions?

also: if i mannually download to my pc and then put the app in that folder...that works....but i cant download them straight from the phone.

and thanks!!! on the calibration issue and the max apps :)

another thing....my location kinda works..but not really if i turn it on it will take me to san francisco and i can see the dot moving on the map but its obviously not me...im in arizona.....any thoughts?
[Touch CDMA Android Development] jaredakelly:
anything to do with my ringtones all the sudden wont work.if i go try to change the ringtone from settings it will force close. can someone shed some light on this?
[Touch CDMA Android Development] dufyd:
hey...that happened to me too...i had to do everything over again and its working.....

also on the post above....i formated my sd card and copied the files back to it....market is now working just fine :)

cheers :)
[Touch CDMA Android Development] jaredakelly:
did you copy and copy back or did you have to completly reload everything?
[Touch CDMA Android Development] steve98:
From what I understand what you are seeing is a *demo* of my location taken straight from the SDK. It is bogus location information used purely to demonstrate what it looks like working.
[Touch CDMA Android Development] conanford:
Is there any way to save the screen calibration, process limit, and automatically run Togga? That would be awesome...
[Touch CDMA Android Development] zapat0s:
It would indeed be very nice to save the screen calibration. Anyone have any ideas on how we might be able to do that?
[Touch CDMA Android Development] robobeau:
The reason that its force closing is because its not finding any ringtones where the default ones should be. At least, this is what happened in MY case.

Get Ringdroid, and make yourself a couple of ringtones and notification tones and you should be fine. It's odd that the ringtones just disappeared on my installation though. Go figure.
[Touch CDMA Android Development] jaredakelly:
is there anything special that comes up for screen calibration? nothing comes up. so just make the keyboard come up then hold the end button and then press top right and bottom left corner and you are good with no confirmation?

good advice. i'll try that right now
[Touch CDMA Android Development] dufyd:
hey.....i just saved all my stuff on the desktop.....formated the sd card and then put everything back in just the way it was.... :)...i did erase some windows mobile stuff i had in there....i dont know if that matters... good luck!!! market is so much fun ;)
[Touch CDMA Android Development] dzo:
I just noticed that it's now a year since I started this thread, happy birthday Android on the Vogue.
[Touch CDMA Android Development] njakobs:
And a big THANKS out to you too Martin for the dedecation to keep it going this long.
[Touch CDMA Android Development] zapat0s:
Indeed happy birthday to linux on the Vogue and thank you so much for your work dzo without you the Vogue wouldn't be anything like what it is today.
[Touch CDMA Android Development] iammrsmartypants:
yes, thank you so much. i primarily use android on my vogue now, forget wm
[Touch CDMA Android Development] Andrewwelton:
does this stay active on the device all the time? or does it only work when launched?

EDIT: Nevermind, upon research i found my answer
[Touch CDMA Android Development] excogitation:
step up and stop asking others to get stuff done

I ask you (end)users to put in some effort yourself and check the bugtracker

if there are already bug reports on all problems that you currently experience

and feature requests for things that aren't yet working on your machine.

Also please add to the existing bugs information that might be helpful to pinpoint

and the exact facts that cause the problem (e.g. wifi turned on before booting, ...).

To help make progress on the feature requests collect information that might

have been lost because it's so scattered across this thread and others

(or just important specifics you remember - heaps of valuable information might be buried).

If you always wanted to help but lack the knowledge for kernel/userspace

developement here's your chance to contribute.

All you need is some time to search for the pearls (or maybe you know some by heart) and

make them available to future developers who want to join - and therefore can

join/code faster because they don't have to sift through thousands of posts themselves.

To all developers didn't wanting to waste effort because someone might be working on the

same issue - you can now communicate what you're working on using the bugtracker.

Thanks Stefan for pushing,

and of course many many thanks to all the developers in particular Martin.
[Touch CDMA Android Development] jaredakelly:
good idea! signed up now
[Touch CDMA Android Development] tortuous801:
Flashing screen

I have copied the android 1.1 folder to my SD card. I cut and pasted the latest system file and the data.gz file to the root. When I run the haret it says it loads linux then my screen just flashes white and does nothing. Anyone know what I'm doing wrong?
[Touch CDMA Android Development] neach:
you set your panel type and whatnot in default.txt?
[Touch CDMA Android Development] dzo:
Hi,

I just pushed a heap of usb code to git. It works for the mass_storage function driver but not for ether which would be more useful. Mass storage isn't much use to us because we need the sd card mounted and so it can't be exported as a raw disk. To test, I created a new partition on the card and added:

echo /dev/block/mmcblk0p2 > /sys/devices/platform/usb_mass_storage/lun0/file

to the end of the init script in initrd.

Mounting mass storage worked on Ubuntu 8.10 and Win XP machines but not Fedora 8 or Vista.

To try the ether driver, comment out usb_mass_storage and adb at line 104 in common.c, boot and then do:

ifconfig usb0 192.168.1.2 up

on the device and:

ifconfig usb0 192.168.1.1 up

on the host (must have a linux box for this)

You can see it does send and receive data but there is something wrong, I don't know why.

Anyway it's a start and hopefully will only get better. I made a start at porting the gadget drivers to 2.6.25 to see if that worked better but it doesn't work yet.

Enjoy.
[Touch CDMA Android Development] dzo:
I found the USB problem, it needs DMA to be page aligned, latest git commit makes ether work.
[Touch CDMA Android Development] dru28:
what is pie and where can i find it on my phone thanks i have a vogue on cricket plan can anybody help
[Touch CDMA Android Development] Jack Everyman:
PIE is Pocket Internet Explorer. Look for the Internet Explorer icon.
[Touch CDMA Android Development] noneedlessnoise:
What resolution are most people using for this? The stock resolution is fuzzy.
[Touch CDMA Android Development] katmandu421:
300*400 works for me.
[Touch CDMA Android Development] tortuous801:
first off thanks for the reply

I have set the default.txt now and it boots up. I have some resolution issues but the one that gets me is when the screen blacks out (sleep mode) when I turn it back on the screen is shifted and split in 4 panels..

Also when I boot into android it always boots into the first time setup screen (where it tells you how to scroll and asks you about google account) . Is that normal?

I've attached a pic of my screen.
[Touch CDMA Android Development] neach:
are you loading everything onto the root of the sd card, first of all? also, the problem you're seeing is still due to the panel type in default.txt - go back through the thread a bit, i believe its paneltype=3, and the pm sleepmode should = 0.

as for resolution, i forget what i'm running now, but it seems to work well - its a little fuzzy sometimes, but i can deal with it. yet again, dig back a few pages and you should see the discussion regarding it.
[Touch CDMA Android Development] neach:
i'm pretty sure that cricket uses some type of weird proxy that you can't configure in android, if i recall correctly. i don't think anyone found a way around it yet.
[Touch CDMA Android Development] josh_boyd90:
question

is there any way to run android without an SD card?
[Touch CDMA Android Development] tortuous801:
Thanks that made a big difference
[Touch CDMA Android Development] Magister2k7:
dzo,

First of all - excellent work! Going to try USB on my Titan tonight...

And second, how about creating a (relatively) small partition with only system.img (and possibly data.img) and mount it somewhere else, so /sdcard can be fully used for mass storage?

I think it is possible to do automatically (by some setup program).
[Touch CDMA Android Development] Ideal2545:
Hey Martin,

Any clue for when we might be able to get a new compiled usb functioning version off your website for the vogue?

Thanks!

-Jon
[Touch CDMA Android Development] katmandu421:
I know it's not high priority, but it seems like all the speakerphone components are in place. Sound works through external speaker for music and videso, even the headset has good sound these days. Are there any major audio routing roadblocks that are preventing us from getting the speakerphone up and running? Being put on hold and having to keep the handset to your ear is a pain!

Cheers!
[Touch CDMA Android Development] steve98:
Hi DZO - any news on this? No pressure, just wondering. Appreciate your hard work.
[Touch CDMA Android Development] noneedlessnoise:
I'm running this now, the 1.1 Android and it's WAY fuzzier than it's ever been in any build before. I even changed the resolution to 300x400 and it's pretty fuzzy.
[Touch CDMA Android Development] dzo:
I just put one there now (zImage only), to use it do the following (you need a linux machine, windows has no drivers for the cdc_subset networking that the usb driver uses):

boot

disconnect and reconnect the usb cable

open the terminal and type

su

ifconfig usb0 192.168.2.1 up

telnetd

on the linux box type:

ifconfig usb0 192.168.2.2 up

telnet 192.168.2.1
[Touch CDMA Android Development] mike1767:
GPS?

First off a thanks for everything. Works great. I don't see anything on here about the GPS functionality? Am I right that that means it's unsupported so far?
[Touch CDMA Android Development] dzo:
I put an initrd on my website (in files) that does the usb0 setup so now you just need to plug it in and set up the linux side. It runs telnetd so it is possible to telnet to the phone from the network, if you are worried about this just kill telnetd, change the default password (vogue) or add an iptables rule.

Martin
[Touch CDMA Android Development] tortuous801:
OK so I'm off to a good start and marketplace works... My problem now is that the time settings are off. I have it set to auto time and my calendar events are 7 hours off. when I set the time to manual GMT -7 the actual time goes off by 7 hours.. anyone else see this?