yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] craig0r:
Yeah, everyone I show is really impressed, but I live in Canada, and it appears we won't ever be getting the G1 here, so I have no T-Mobile sales reps to impress. (Hopefully the new motorola android phone actually makes it up north.)

I can't comment on the camera, but I can tell you the only way to sync your phone with any computer is to have Windows loaded on the phone. Afaik, we don't have USB drivers in Android for the Touch yet, so that's the only way.

If you want an easier way than the synce project (it's a bit of a challenge) to access the WiMo filesystem from Linux, you can use WM5torage, available here: http://www.modaco.com/content/smartphone-software-freeware-download-discussion/238545/wm5torage/ (the download link is at the bottom of that first monstrous post)

This program turns your Windows Mobile device into USB storage, so it'll show up in Suse as a USB drive.

The data.img and system.img files are ext3 disk images, so you can mount them easily in Linux and check out what's inside the Android system.
[Touch CDMA Android Development] unsungboxer:
sorry bout this guys. I can't test it since my phone is broke. when i get one on tues/wed ill fix it.
[Touch CDMA Android Development] natelust:
possible sync

Well my charging issue seemed to be fixed with a 3rd reboot? wierd, but as long as it works now.

As for syncing, I have found an application that alows syncing with exchange servers. If you dont have an exchange server, but run linux have not fear, you can install kolab. This is a free exchange server replacement. There is a bit of work to get it working, and once i have it 100% ill try and post a wiki for everyone. This also means that you will need a data connection, so if your net times out after some time, your have to reboot and re establish to further sync.

Happy Androiding
[Touch CDMA Android Development] mchang:
like many others back in the 80th pages or so of this thread, I can get the 1.0 sdk version installed and running both using the myhtcphone CAB, or the android-new.zip version on dzo's page.

BUT, I cannot get the 10-24 or later builds working (the open source release). I see SD card mounting errors both in the one dzo provides, and the latest from unsungboxer (www.myhtcphone.com/files/android_10-24_mods.zip)

it seems to be a mounting error, with things like this showing up at boot:

mmc0: data error (-110)

/dev/block/mmcb1k0p1 on /sdcard failed no such device or address

followed by repeating:

SD Init Retry

mmc0: command timeout

mmc0: Data error (-110)

is there a solution? I am running on an HTC Touch by Sprint (Vogue). Like I said, previous version worked GREAT.
[Touch CDMA Android Development] mlin:
No worries man, that sucks about the phone. Is it possible to map two functions to the power button, back/home?
[Touch CDMA Android Development] Girvo:
I wonder what the chances of getting this running on a KS20 are.
[Touch CDMA Android Development] spamftw:
that sounds like a great idea,

spamftw
[Touch CDMA Android Development] woodicw:
tested out the 10/24/08 build and I am extremely impressed with android so far.

one thing I noticed though in the little playing around I did was that when I tried to check my voicemail I couldn't dial in the password, it just kept going through like I never entered any numbers.

If there is anything I can do to help with development, other than coding because I have no java experience, I'd be glad to.
[Touch CDMA Android Development] dzo:
I've put a new kernel at:

http://cs-alb-pc3.massey.ac.nz/vogue/zImage

This enables power collapse by default, so you don't need to change default.txt. I've been using it all weekend with no problems.
[Touch CDMA Android Development] njakobs:
Thanks Martin works perfectly for me. Great work.
[Touch CDMA Android Development] glitchbit:
I am waiting for my touch to come in the mail, but I am disappointed that I am losing wifi with this new phone. I wanted to run wifirouter on it so I could use my touch on the sprint network.

I know the spectec microsd card is looking to be vaporware but it would be really cool if you could write a driver for it if it ever comes out. I'd probably be likely to send you one dzo if it does come out.

Keep it up! Also dzo do you have any idea of when we might be able to write over wm6 and replace it with Android instead of running it via haret? I know it still has some work, but I am just wondering if it is doable right now or if it can't be done atm.

Also I am wondering what the status is on the marketplace app?
[Touch CDMA Android Development] bugmen0t:
Can you post the changes to git, and can you also document the changes you made to the rootfs somewhere?

I've worked on cleaning up some things for QVGA (fixing the dialer buttons, default fontsize), and I'd like to merge my changes with yours.
[Touch CDMA Android Development] dzo:
The latest git commit (allow early exit from power colapse) is completely up to date. The only change to the system image is my libreference-ril.so in /system/lib.
[Touch CDMA Android Development] bugmen0t:
Ah, great, thanks. Any chance you might be willing to share what you had to change in the RIL now that everything is open-source? It would be nice to use google's RIL with a small patch as opposed to a new one.
[Touch CDMA Android Development] bugmen0t:
Here's what it looks like now. I decided it was better to just get rid of the text under the tabs -- there's only 4, icons should be enough.

Next I'm going to hack up the battery meter to the currently output place. Once martin adds the proper power_supply devices to the kernel the normal battery meter should work. I'll upload the new .apks for dialer and battery meters then...
[Touch CDMA Android Development] glitchbit:
Nice work bugmenot! Also does anybody know what's involved with permanently replacing wm6 with Android? (If it is something that hasn't been done yet and will take time that is fine I am not going to bug people about when will it be done.)
[Touch CDMA Android Development] bugmen0t:
I don't see why you would want to do this. Certainly not now, while this is still in development. I don't see any reason to permanently remove WM -- what if you need to e.g. send your phone in for some kind of warranty service?
[Touch CDMA Android Development] d3mon187:
Wow, that's some great work guys. Can't wait to play with the new changes. Does the new zimage mean we don't have to set panel type, because the horizontal lines in panel type 3 were a bit annoying.

Yesterday I used it for most of the day, so I thought I'd give an account of the experience I had with the newest build (nothing really that hasn't already been posted though).

-It woke up every time I asked it to, although sometimes it did take a few seconds or I had to punch a few buttons to get it to respond.

-With a good amount of usage it was at about 40% battery life at the end of the day when I switched back to WM.

-I didn't get many calls or texts, but the few times I did it seemed to work OK.

-I was wondering if the screen should turn on when you get a text though? I'm sure it isn't really necessary, but I am used to hearing the alert and then pulling out my phone to be greeted with the screen on and the text being displayed.

-A few of the keyboard ALT keys are wrong as someone else stated before.

-The overall hard button layout seems ok, although it is weird using the volume slider for settings and back. I keep wondering if the left and right buttons on the directional pad wouldn't be better since I don't think there is ever a whole lot of use for them. Still, I think the best layout is back being volume down, and settings being volume up since it's easier to pull down on the slider.

-Obviously the ability to check voice mail is a bit of a problem, as well as key presses not registering through the speaker.

-I didn't have any problems yesterday, but with Friday's build when I got a call and let the other person hang up on me the phone would not wake up. This may have been fixed though, so I'll do some more testing on that.

-At the end of the day on the way home through a low data reception area I wasn't able to connect to the internet anymore. I think it's been mentioned before, but is it still the case that when you loose data connection then it's lost for good because of the inability of android to currently connect to data?
[Touch CDMA Android Development] Kiraly:
gmail in open source?

I've been wondering why gmail is missing from our version of Android. We have an imap email application but no "push" gmail. I did some searching and found this:

http://www.linuxsolutions.fr/android-will-be-100-percent-open-source/

Is the gmail application not a part of the open source? If not, is it available separately without the code....just the application and not the API for the application?

Does anyone know anything about this?
[Touch CDMA Android Development] dzo:
Great work, thanks.

For the battery meter it's probably easiest to implement it in the kernel, there is some temperature compensation that need to be done and so the raw numbers aren't that useful. There is now a msm-htc-kernel in the android git repo that has a battery driver and camera driver but they probably won't work with our hardware, I'll take a look to see what's useful.
[Touch CDMA Android Development] natelust:
loosing phone

i cant reproduce it consistantly, but there are times when the phone radio goes out on me. (Sprint) when this happens i cant make or recive calls, or text mesages and have to reboot to fix this. I am using the second latest kernel (the one before not needing power options in the txt file)
[Touch CDMA Android Development] Littlefield:
So, I bit the bullet- cancelled my Sprint contract and got a G1. If you ever need me to do anything off the G1 just send me a PM and I'll be more then happy to help.

Also, I have a pretty worn down Sprint Touch (screen is perfect) if anyone needs one for a low price! :D
[Touch CDMA Android Development] corpashe:
Contacts Import!!! :)

Yo Guys.. There is a Way to Import Your Contacts that i just found out but it takes a bit of work.. well alot...

It uses Funambol for your PPC and Open Source..

Funambol is like a Push Client that i used to use when i had cricket to get my emails..

It also stores all your Contacts..

I can confirm that this works for Sprint.. cause that is what i got and im also using the Open Source version of android(the newer one)

What you need to do is set up an account with Funambol registering your email and what not...

Then all you have to do is download the cab for the PPC and the one for Android(search for it on google youll find it as open source or whatever)

Then just sign in Funambol and sync all your contacts with it.

After all is synced and backed up then put the .apk file in your Storage Card(in /Storage Card/ApndroidApps) and then just run the program in open source and let it download all the contacts...

And Voila!!!:D

Youll Have all Your Contacts In Android :eek:

And Thats my small contribuation to this very Big project...

Thanks to everyone that is working on this project... especially dzo...
[Touch CDMA Android Development] bugmen0t:
Yeah I realized I have no way to get the capacity from the info currently exposed so it needs to be done properly anyway. I'm not too familiar with your vogue code but looking at htc_battery.c in the htc-msm tree, it looks very very simple, just 3 RPC calls.

I'll just post the diff of my change to the contacts app when I get home later (for some reason the dialer is in the contacts app .. the phone app has the exact same code copied/pasted, but it's only used for emergency calls there).

Also, diffing my system.img against yours, it looks like you are using an old base image ad added the new apps? Why do this instead of using a new fresh base image? I think this is probably why some things like IM aren't working.
[Touch CDMA Android Development] jakub_w:
excellent progress guys, nice re-skinning bugmen0t!

probably a stupid question, but....

is there any way to drop back to windows mobile without having to soft reset? i tried holding the end key and it says shutting down but it just freezes at that screen.
[Touch CDMA Android Development] dzo:
I tried the new system image but couldn't get the maps app to work, IM runs but looks like it needs some account info. Anyway, if you could get the new image working that would be great, I don't have a lot of time at the moment and I'd rather spend it on the kernel. I looked at the htc battery driver but it seems that the actual decoding of the battery info is done in userspace, probably easier to use the other /sys interface, I'll see if I can get it working in the next few days, I'm just looking at getting the dtmf stuff working now so people can check their voicemail.
[Touch CDMA Android Development] LeftysRule22:
Just throwing this on the to-do list, i couldnt remember anyone mentioning it yet, if someone has ignore me

I noticed when dialing a number for the first time, there is a sound "crack" right when you press the first number, regardless of being in silet mode or not.

i know its low priority and im sure someones noticed it before, just puttin it out there.
[Touch CDMA Android Development] eoche007:
Thanks for the contact import....it worked perfectly!
[Touch CDMA Android Development] grktaurus83:
That happened to me the first time I tried to shut android down using the 10-24-2008 release. I tried it again earlier today and it worked. I'm currently using the latest zImage that dzo put out (the one directly linked in a post a page or two back).

So either the new zImage fixes the issue, shutting down simply fails the first time only, or it just isn't consistent.
[Touch CDMA Android Development] bugmen0t:
Actually, I forgot, I can't even get networking to work in the new emulator...

Is there some flag you needed to pass or something? It always "just worked" with previous SDK releases.
[Touch CDMA Android Development] glitchbit:
bugmenot, the reason I mentioned loading Android in place of my current phone is that I will have two phones once my Touch arrives and I do understand that it is probably unwise to load it in place of wm6 at this stage. I just wanted to know if it could be done (currently), rather than actually doing it right now.

Either way I have another phone I can use if I was to ever screw this one up. Also to prevent sprint from screwing my contract up I may just clone my current phones ESN to prevent sprint from screwing with me.

I have heard some people say that they had switched to a used phone shortly before their contract was up and then wanting to switch phones once it really is up, so that they can get the rebates but not being able to. I do not want there to be a chance of that happening to me. I have had to deal with sprint before on various issues, so if I can bypass them I will do it. (Chances are they are more likely to screw something up than me.)
[Touch CDMA Android Development] grktaurus83:
Is this a part of any zImage yet, or is it still being worked on? It looks very clean and well done. Congrats on that.
[Touch CDMA Android Development] grktaurus83:
I just used Funambol to sync with Android. Not bad. Sure beats having my contacts merged with my gmail contacts. That would be a mess. But...

Is there any way to change how the names are displayed within Android's contacts? More than 90% of my contacts show up as last name first, instead of first name first and I'd like to switch that. I also have a few contacts that show up with a comma at the beginning of the name.

Other than that, works surprisingly well. Thanks!
[Touch CDMA Android Development] jim256:
dzo

,

I take it you've been updating the zip package each time, despite the fact that it still says 10-24-08?

Or do i need to replace the updated files manually?

Thanks a lot,

Jim.
[Touch CDMA Android Development] rocktap:
newbie question

Hi All

Just wanting to try Android on my HTC Touch. I unzipped the 24-10-08 file and loaded all files to root of my SD card. Ran Haret and clicked run (it has default.txt as script file to run) but I suspect this is incorrect? What am I doing wrong?

Peter
[Touch CDMA Android Development] rocktap:
ignore last post

oops ignore last post - its away! (for some reason script file hadn't transferred to card.
[Touch CDMA Android Development] jim256:
just a question:

is there perhaps a better/more updated version (/kernel?) of Android out there? the reason i ask this is because of the video of the preview of android that came out a few months ago. this looked to be a little more advanced than the version we are playing around with here.
[Touch CDMA Android Development] minty1978:
hi guys,

trying to get this to boot on my nike. i get as far as the 'loading linux' bar, and then it freezes....any tips?
[Touch CDMA Android Development] lennysh:
Trying this on the Axim X51v, Haret loads config for a X50, and I see Go Go Go at the bottom of the log, and the only error i see is:

Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'
Unable to load library 'ace_ddi'

Screen goes black with a few lines on the top left of the screen, then it completely blanks out...

Any ideas?

EDIT: Attached is a copy of my log file...
[Touch CDMA Android Development] dferreira:
I've tried copying everything to the root of the device, under a folder Android. I've edited the default.txt to not boot the initdr-android, to see if the kernel boots and it doesn't. I end up on the same message. What does that mean? Its the kernel that's wrong? Not ok for Wizards?
[Touch CDMA Android Development] dferreira:
How can I get a log like that? Telnet to the device?
[Touch CDMA Android Development] lennysh:
Make a blank txt file called earlyharetlog.txt in the same folder as haret.exe

Then run haret..

After you soft reset or whatever to get back in to WM, there will be a new file called haretlog.txt in there. That's your log. :D
[Touch CDMA Android Development] minty1978:
here is my log file,

any idea as to why it wont boot?
[Touch CDMA Android Development] dferreira:
Here's mine... no boot too.
[Touch CDMA Android Development] dferreira:
What's the correct number for RAMSIZE on Wizards? I know that Kaiser has a lot of memory, but not our devices... anyway we can make it fit the memory available? Maybe its here the problem on my device... hum...
[Touch CDMA Android Development] lennysh:
Maybe your's no worky cause it's already been mentioned that you have to have all the files on the device, and not on the storage card? :D
[Touch CDMA Android Development] lennysh:
If anybody could point me to a working haret/linux kit for the X51v, maybe if I can load that, then I can just switch the set line to the android and run Android instead?

I would test on my Apache and my Titan, but I don't have enough free space to put the files on my Apache, and my Titan with my latest flash only has like 12 megs tops free ram. So I guess I'm going to have to build me a very lightweight WM6.1 rom for it, with about a 2 to 4 megs PP just to test this out. Too bad I'm at work atm, and can't build me a rom right now... I really wanted this to work on my Axim, since it don't have a phone, so I would not be missing out on that...
[Touch CDMA Android Development] EtherealRemnant:
12MB tops free RAM!? What on earth are you running?

My latest flash is a custom-built Key 6.0 with 28.....
[Touch CDMA Android Development] dferreira:
Ok, update:

- I've downloaded Linwizard and it runs and boots correctly.

- Now I'm about to make it load android file. If it doesn't, it means the problem is on the android package.

If this is the case, I'll have to look into it, and see what's different from linwizard resources and android's. Maybe we can make this happen :)

Linwizard is able to access the SD Card, so no problem there.
[Touch CDMA Android Development] minty1978:
but mine is loaded on the device..not storage card.
[Touch CDMA Android Development] dexxa05:
Use this default.txt

set RAMSIZE 0x01900000

set MTYPE 6666

set KERNEL "zImage" (zImage of linwizard)

#set initrd initrd.gz

set initrd "initrd" (initrd of android )

set CMDLINE "rootdelay=1 root=/dev/ram0 ramdisk_size=20504 init=/linuxrc"

bootlinux
[Touch CDMA Android Development] dferreira:
Update:

- By replacing the OS that came with linwizard with initrd-android, it now boots but then fails saying that there isn't enough space on memory. Now all I need to do is get that space. If it boots afterwards, I'll release the files I have, so that people with Wizards can toy with it :)
[Touch CDMA Android Development] dferreira:
I'll give it a go :)

Will be back with results ;)

No go... I need to free up the space... Only 7MB free... time for a hard reset :D
[Touch CDMA Android Development] dexxa05:
I have a problem to mount the FS
[Touch CDMA Android Development] dferreira:
After hard reset, I have about 31MB free to play with... the problem is, when I copy Android to the device... I only have about 10MB free... meaning, we're screwed... damn it.
[Touch CDMA Android Development] uzzy:
I've tried this with the artemis.....

I have these files in a folder called "Android" in the root of the devise:

initrd-android

default.txt

haret.exe

zImage

When i open haret i click run and a pop up comes up saying linux is booting (or something similar).

Then a black screen comes up with small writing in the top left hand corner saying something about loading kernels or something..

After this the screen goes white and i can't do anything....i have to soft reset to get back to W.M.

Does anyone know how i can get this to work?

Thanks in advance, Uzzy
[Touch CDMA Android Development] dzo:
I've just put a new zip file on the site, this has power collapse enabled by default and dtmf tones should work (so you can check your voicemail). I rewrote the ril using the open source code so it does a few things better (like missed call notifications) but there's always a chance I broke something. I also added a patch to the sd code so it may be more friendly to sdhc cards (I can't test this though).

Martin
[Touch CDMA Android Development] imfloflo:
Thanks you for all your work really love it dzo.

Now port it to polaris and other device :p (joke)
[Touch CDMA Android Development] pelic4n:
i have been debating doing this.

did you do anything to get out of the fee?
[Touch CDMA Android Development] goldengraham:
Hey I juust installed the latest zip and I seem to be having a problem... for someone reason its at the bootup (black screen white text) screen and is repeating andriod_power: wakeup (0 -> 0)

I have a HTC Vogue
[Touch CDMA Android Development] craig0r:
Touch Dual

Just curious... does anyone have a Touch Dual? I mean, if it's the same hardware with the exception of the slideout keyboard, I wouldn't mind tracking one down so I don't have to worry about the on-screen one taking up two thirds of the real estate.
[Touch CDMA Android Development] casualonejp:
endless loop

I just downloaded the latest 28-10-2008.zip from dzo website and unzipped the files to /storage card/ and when I try to run haret it goes into an endless loop either saying "sd init retry | mmc0: data error (-110)" and just keeps going and going.

I did remove all other instances before placing the new files on the device as well. I am not sure if the default.txt file is correct. Here it is just in case:
[Touch CDMA Android Development] piethein:
dzo, thanks for all you work. How much effort would it be to get rid of HARET and boot Android directly from your mobile. Did you have a look at SPL?
[Touch CDMA Android Development] jakub_w:
you should maybe let dzo get the entire OS working properly before worrying about replacing windows mobile as a whole.