yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] dzo:
No, it's not I didn't put that there, if it's just a build of the current tree then the only change is a fix for the polaris touch screen.
[Touch CDMA Android Development] killabee44:
Guys, which kernel do you all like best? 1.1 or 1.5?
[Touch CDMA Android Development] TheKartus:
1.5... No reason to use 1.1 anymore. The latest Ion/Cupcake/Themed builds all work more or less perfectly.
[Touch CDMA Android Development] killabee44:
Great, because that's the one I tried first and is working great so far. I haven't been able to get the "my location" to work in google maps yet though.

What kind of success have you all had with the GPS?

Edit: never mind, just found the option to enable it.. :D
[Touch CDMA Android Development] katmandu421:
Thanks! I've tried this app a few times and never got it to go.
[Touch CDMA Android Development] killabee44:
Guys, when the browser is open and you press the power button to return to the desktop, does that close the browser or minimize it? I m just worndering if I have a bunch of apps open and don't know it.

Is there a process manager? If there is, where? Thanks.

Edit:

Also, is there a file browser?
[Touch CDMA Android Development] hexto:
Only one app at a time will run but they just go dormant so when you restart the browser for example, it starts at the same spot you left off from. No process manager but there is no need for one. As for a file browser, there are some apps in the market that allow you to browse files.
[Touch CDMA Android Development] killabee44:
Thanks. This thing works so well, some G1 owners I know are gonna crap their pants when they see it!
[Touch CDMA Android Development] prairiefire:
No GPS connection when outside of cell range. A bug perhaps?

It just occurred to me that I posted this originally in the wrong forum. Sorry for those who have to read this again.
[Touch CDMA Android Development] dzo:
Can someone with panel type 2 send me this, I have enough info for type 1 panels but not much for type 3 and nothing for type 2.

Thanks.

(also, if you could also let me know what panel type you have to use, that would help)
[Touch CDMA Android Development] nbpanjwa:
I use panel type 3 and would like to help but don't understand any of these "The easiest way to get this is to use "adb shell" and then do "dmesg | grep mddi" if you can guide me step by step then I could get you data requested.
[Touch CDMA Android Development] dzo:
OK,

Install the adb driver linked from the main google code page on your PC, (assuming a windows machine).

Boot the device using the mddi kernel by renaming it to zImage and copying to your sdcard then running haret as usual.

plug the phone into your pc and start a command window (start..run..cmd) change to the directory containing adb.exe and type "adb shell"

you should see a # prompt.

type "dmesg | grep mddi"

I only really need the numbers by mddi(0) and mddi(1).

if you don't want to use adb, you can open a terminal program on the phone (connectbot is best) and type "su", then "dmesg | grep mddi".
[Touch CDMA Android Development] katmandu421:
with connectbot, su gives me permission denied. I also tried this a while back from better terminal with the similar results, though I believe better terminal prompted me for a password first.

I'm running latest kernel/initrd with latest mssmison's hero theme ion.
[Touch CDMA Android Development] katmandu421:
Taskkiller is decent for keeping runaway apps at bay, and OI file manager or Linda for file managers, there are a few out there. Search the market, theres all kind of goodies to try for free!
[Touch CDMA Android Development] katmandu421:
I notice that I have never seemed to be able to set a default music player. I'd like to set ongoing music adapter but it doesn't seem to remember the setting. When I look in menu>settings>Apps>Manage and look at the ongoing music adapter app profile, it states it is set as default for some filetypes. Hmm....:confused:
[Touch CDMA Android Development] dzo:
Should work on ion, or try /bin/su, if it asks for a password try vogue.
[Touch CDMA Android Development] bally3:
For some reason this initrd, the kaiser wifi one allows su.
[Touch CDMA Android Development] diesburg:
ok, i need help, i cannot for the life of me get my 4GB card to work with the normal ion build or the hero one..... i can only use my 256 mb one , which will no longer work with some builds because of the new rootfs thing that takes up more space....... any advice would be appreciated
[Touch CDMA Android Development] thoughtlesskyle:
im not 100% sure if they ever got the ion builds working with HC cards, i know when they first started doing the project you had to use a card 2 gigs or smaller
[Touch CDMA Android Development] TheKartus:
I'm using a 4gb, Class 4, SDHC card and have had no issues with the Ion builds, themed Ion builds, or getting the Hero builds to run (albeit slowly).
[Touch CDMA Android Development] thoughtlesskyle:
cool, yea i was never sure if they did i just have a few 1 gig cards i use for android, and i have a 4gig card that im scared to use for android because of all the reading and writing, i have already lost a 1 gig card that way
[Touch CDMA Android Development] craig0r:
I can vouche for this as well. (4GB Class 6.) I'm pretty sure the issue is sorted out completely. I haven't seen a single mention of an SD issue on Ion in quite some time.
[Touch CDMA Android Development] thoughtlesskyle:
i would take all your info off your card and reformat it, thats the only thing i can think of if other people have it working with theres
[Touch CDMA Android Development] vilord:
regarding su, I had managed to severely break it over the past month it was spotty, but with the latest pushes from this morning it should work correctly together with the Superuser.apk tool, so now it will actually ask you for permission to su something.

Yay!

EDIT: I also fixed the memory setting for when an app goes into the background it won't immediately get killed off.
[Touch CDMA Android Development] JacenSolo2001:
awesome work vilord - the one you just uploaded, sms is working both ways on too, correct?

I appreciate all the work - wish i knew enough to be of some benefit to the group.
[Touch CDMA Android Development] vilord:
it has SMS out issues with specific carriers in europe I think, but other than that it should be working just peachy. I've got an idea to fix that this evening... I also need to figure out why it won't update the apn's list...
[Touch CDMA Android Development] nbpanjwa:
I followed all your instructions, however, in cmd windows when I type adb shell it gives me no device found msg... wonder if adb driver does not work in Windows 7

or

I did not install driver properly

or

I'm doing something wrong??? if required, I can install winXP or Vista on my machine and try again....
[Touch CDMA Android Development] femmyade2001:
I keep having errors when using the Hero builds, and i suppose it is an SD card fomar issue. I have a 4gb SDHC. how do i format it right?
[Touch CDMA Android Development] femmyade2001:
TheKartus, Are you able to download applications from Market? Or browse and select your ringtones?
[Touch CDMA Android Development] myshinynewtouch:
Unless the drivers have been updated, it wont work in windows 7 as by default windows 7 is 64 bit and these drivers only work for 32 bit systems. try it in vista 32 bit or any OS below and it should work. I know it works for me both in vista 32 bit and win XP. Failed on my windows 7 installation toooo...
[Touch CDMA Android Development] vilord:
i had it working fine in 32 bit windows 7 about a month ago... haven't tried it since
[Touch CDMA Android Development] canyoufindben:
adb drivers on Windows 7

I'm running on Win7 32 Ult RC myself, and adb runs fine. Fresh install, not an upgrade. I don't believe its 64bit by default, it just depends on what flavor you got.
[Touch CDMA Android Development] TheKartus:
I am not using a hero build, I am using mssmision's themed cupcake build.

That being said, I can select and hear ringtones/notifications. I don't know if I can download from the market since I don't have a data plan, but I have not heard of any issues doing that with the cupcake builds.
[Touch CDMA Android Development] canyoufindben:
If you must, just format it FAT32. I do full formats, only takes 10 seconds for my flash drives and SD cards.
[Touch CDMA Android Development] femmyade2001:
i sure will.....thanks!:D
[Touch CDMA Android Development] craig0r:
I'd just like to point out there's no "default" arch. You either download 32-bit or 64-bit.

I have 64-bit Win7 and adb doesn't work at all. If I go to 32-bit, I lose half my RAM.
[Touch CDMA Android Development] canyoufindben:
Oh so true. I feel hog tied with only 3GB RAM. :D
[Touch CDMA Android Development] vilord:
I suppose I should upgrade my ram... 1GB here :)

Even if you have 64bit windows installed, you can still bring up a vista or xp virtual machine...

OR... has anyone tried this:

http://xdaforums.com/showthread.php?p=2918876

or this:

http://www.4shared.com/file/97447244/1851aecc/android_adb_usb_driver.html

both purport to be 64-bit
[Touch CDMA Android Development] csbert:
Is there a thread showing how to setup the developing environment for this? Is there anything special aside what is on the Android SDK?
[Touch CDMA Android Development] ibri:
Are you wanting to develop for Android or try and get some more functionality going in the OS itself? For Android development all you need you can find at http://code.google.com/android. For OS development you'll be harder pressed to do much unless you know what you're doing. There are a few posts interspersed throughout this thread that detail how to do some OS development, but you'll just have to read through it.

Maik
[Touch CDMA Android Development] csbert:
Thanks for your answer. I used to be a linux hacker (not really program much) so I am interested in the OS development itself. I will read through the thread.

If I want to develop something like the keyboard application. It should be restricted to Android itself, right? Do I need to deal with Linux for that?

Thanh
[Touch CDMA Android Development] lazyboy0172:
when will the new version of the OS be available? i've seen videos lately of a new locking system as well as programs and today screen management, but the version of the OS on here is still old and unconventional/doesnt work with much. after seeing all of the videos online of the new interface, i'm looking forward to playing with it
[Touch CDMA Android Development] ibri:
I'm not sure how the keyboard app was developed so I honestly can't say. My guess would be that it's something built in to android, but that you could probably write an app for Android that can do the same thing.

Maik
[Touch CDMA Android Development] qui_aff:
What's the good word, guys? Any new developments?

If you need me to test things, just PM me.
[Touch CDMA Android Development] michd43:
Can someone put the latest developments onto a cab file. Thanks
[Touch CDMA Android Development] pchasco:
Restoring the data connection and VZW username/password

The Android browser does not seem to keep the data connection alive for some reason, though the Maps application does. I don't understand why, because I doubt either application directly fires up a ppp connection on its own. Nevertheless, if you cannot get a data, try opening the Maps application. You may receive and error, but eventually Maps will restore the data connection. You'll see activity on the send/receive arrows.

The Verizon network doesn't seem to pay any attention to the username and password combination defined in default.txt. I left mine as whatever was in default.txt when I downloaded the Android files and it worked.
[Touch CDMA Android Development] Davenroth:
Treo 800w & New HTC Touch(s)

:) The job Martin Johnson did is amazing. I really appreciate fooling around with Android on an HTC Touch (1st Gen) in the office.

:confused: In regards to the Windows Mobile touch experience on the HTC Touch, oddly, the touch interface when using Android seems to work remarkably better than the WM one. Very interesting.

:mad: I tried running Martin's Android distro on a PPC-6800, but with a meager 64MB of RAM, it froze every time. I even tried to run a couple memory managers to squeeze a few more MB out of it, but it didn't work. I guess I'd have to use a process application and shut down a few services in the background to get it to work. I didn't expect it to work flawlessly since the application it needed to run was 28MB or 32MB. I was just fooling around.

:cool: However, since the Treo 800w should have a 7x00 Qualcomm chipset, I assume it should work with that device, perhaps even better than existing devices since it has a 320x320 screen & more than 128MB RAM (not allowed to say how much tho).

Of course, having it run on the new Touch with a VGA resolution would be something out of this world, of course, but I the 800w should be out sooner in the US than the new Touch.

Thanks ahead of time for any informative replies & updates to the code to add some additional functionality (i.e. Streetview would be AWESOME!, especially when the RevA/GPS code comes out for the Touch)
[Touch CDMA Android Development] Shadowmite:
The test models have all been msm6800 chipsets for the 800w, which I don't believe will be compatible since they use a seperate cpu. That's not to say it won't work, but you'll need to hack together a kernel on your own.
[Touch CDMA Android Development] wojteko:
How exactly will the final build of android be used on the touch?

Will a cooked rom with no WinMo and the linux bootloader be the way?

Or we'll always have to start android on top of WinMo?
[Touch CDMA Android Development] the_fish:
thats awesome! the bad thing is, we, who have the touch dual, have problems with the keyboard and the gprs, so its pretty useless :(
[Touch CDMA Android Development] jaredakelly:
it's alot of fun. i have it loaded on my htc touch. can't wait for new updates!
[Touch CDMA Android Development] dzo:
Eventually it should be possible to boot from NAND flash but you can also boot from an SD card by putting a signature on the card for the SPL. Obviously that needs SD to work which I am looking at now.
[Touch CDMA Android Development] wojteko:
Thank you for your reply dzo,

I currently have my android files on my memory card and am able to run it from there. Does haret interface between android and the SD card, or haret just copies them directly to ram from which the kernel is executed?
[Touch CDMA Android Development] dzo:
I've rewritten the touchscreen and keyboard drivers, the keyboard is much more usable now. I've also updated the SMS test app so that you get a notification for each received SMS message, pull down the notification bar to see your messages. Sometimes the runtime crashes if you have more than 2 notifications so be careful. The browser works fine with radio version 3.37 but may not with others. The clock now works, but android doesn't know your timezone so displays GMT. The phone will charge when you plug in the USB but it doesn't know when it's fully charged so don't leave it plugged in for too long. (I can't believe this would be harmful to the phone - it must happen when wince crashes).

Get the latest zImage and initrd-android files to try it.
[Touch CDMA Android Development] roxorz:
was working fine now it won't boot for me. haret goes all the way to booting linux then freezes. worked fine before this update
[Touch CDMA Android Development] vimafeje:
Hi!!!!

i only get this error:

"Failed to lock 5356 pages (code 998)"

how to solve this?

my device is a HTC Trinity runinng WM6.1

great job!!!! congratulation!!!!
[Touch CDMA Android Development] dzo:
Try downloading the zImage again, I just put a slightly different one on the web site. What version of the radio do you have? (shown middle right on boot screen), I could have done something that's not compatible with the old radio.

I've also made a few changes to initrd-android, it should vibrate on receiving an SMS and not drop the network connection when you make a call. Also when you switch off the screen only the power button will wake it up.
[Touch CDMA Android Development] vimafeje:
the preview error was from low memory... (solve)

but now, when i press the button "RUN" appear a black windows whith:

''

Haret boot

Shutting down hardware

Turning off MNU...

In preloader

PSR=600000df

Tags relocated

Initrd relocated

Jumping to Kernel...

''

and nothing more append.....

any solution?
[Touch CDMA Android Development] femmyade2001:
Yea, i think i will just roll back to that. Its just that the Hero build is soooo cooooolll:cool:
[Touch CDMA Android Development] craig0r:
Nice find! I will try both of those tonight.

As for VM's, I'm afraid that the Win7 64-bit issue even affects VM connectivity. I've got a Ubuntu VM for both VMWare and VBox, and Win7-64 causes some kind of exception error when i try and connect my android-vogue to them. The phone connects just fine when it's in WinMo, and an assortment of other USB devices work just fine.
[Touch CDMA Android Development] nbpanjwa:
As soon as I connect my vogue to Win7 or Vista PC (both 32 bit) via USB cable it automatically installs windows driver and I'm unable to force it to update adb driver. when I run adb.exe it opens cmd window and closes quickly, then, I cannot find anything related to adb in device manager either to confirm that adb drivers were installed. How can I tell for sure that the drivers installed properly??? or how can I install adb drivers correctly... any step by step guide for that please.
[Touch CDMA Android Development] dzo:
I've written some panel autodetection code (vogue only), can people please try it out. Take the panel_type out of your default.txt and boot http://cs-alb-pc3.massey.ac.nz/vogue/files/zImage-autopanel, let me know if it works (or not) and what panel type you have,

Thanks.
[Touch CDMA Android Development] craig0r:
OK, another update. I followed the directions from the first link and then copied the DLL files into my system32 directory, and the AdbWinApi.dll to the sysWOW64 directory (don't know how much of that was necessary, i just wanted to cover all my bases) and while I still can't use adb from windows, and it still won't install a driver for the phone, BUT my phone will now connect to my Ubuntu VM in VMware. GREAT SUCCESS!
[Touch CDMA Android Development] craig0r:
Martin, it works beautifully on my type 3 panel.
[Touch CDMA Android Development] nbpanjwa:
My findings for panel type 3 are as follows:

1. I removed board-htcvogue.panel_type=3 out of default.txt and saved and it booted Z's Hero build fine with zImage-autopanel (renaming it to ZImage).

2. Then I tried with original ZImage file and it booted fine too.

In other words there is no difference in booting with posted ZImage file or the one that I have been using earlier. May be I did not make necessary changes in my default.txt file, in that case if you want I could try to boot with your default.txt file if you could upload it for me.
[Touch CDMA Android Development] dzo:
Yes, but the original zImage has a default panel type of 0 and so won't be powering down the panel, if the autopanel kernel boots then it has found the panel type correctly. If you do a "dmesg | grep type" you should see a message saying "Panel type set to 3".
[Touch CDMA Android Development] craig0r:
Nope, that doesn't show up at all.

I will double check that I didn't rename the files improperly, though.

EDIT: Nevermind, it does show up. The dmesg must have a limited cache size, and that entry and surpassed it by the time i ran dmesg to check.
[Touch CDMA Android Development] nbpanjwa:
I really want to get into "adb shell" but I just cannot Install adb driver in Win7 or in Vista since every time I connect via USB cable it automatically installs Microsoft Windows Mobile Remote Adapter and while trying to update driver in device manager I get msg The best driver software for your device is already installed. 2 links posted by Vilord did not work for me since first is for 64 bit and second has damage file that winrar cannot open.
[Touch CDMA Android Development] tetrismonkey:
works for me

even double checked with connectbot and got "panel type set to 3"
[Touch CDMA Android Development] tatnai:
panel type 3 here. zimage-autopanel works for me with board panel type removed from default.txt
[Touch CDMA Android Development] TheKartus:
The auto detect worked fine for me too using my Verizon Vogue.
[Touch CDMA Android Development] craig0r:
What panel type you got?
[Touch CDMA Android Development] TheKartus:
1.

On the side, anyone have any idea if Android would run on a Samsung i760?
[Touch CDMA Android Development] craig0r:
Wow, what an ugly phone. Don't tell me you wanna get one of those...

Anyhow, it's theoretically possible, but this phone uses a different CPU than HTC phones. You'd have to find one hell of a linux developer (a la dzo) who was really interested in getting android working on that phone. And even then, your best bet would probably be to steal Samsung's android source for the upcoming i7500.
[Touch CDMA Android Development] TheKartus:
Yeah, its a gross looking phone, but I was considering buying a used one off of EBay for cheap as something to play with on the side of my Vogue. The WiFi is really the only thing that interests me. I wouldn't want WinMo though, I want android on it.
[Touch CDMA Android Development] tatnai:
get a kaiser then, at least you know it will work.
[Touch CDMA Android Development] TheKartus:
I'm on Verizon though, needs to be a CDMA phone.
[Touch CDMA Android Development] katmandu421:
From a lesson I just learned last night: Don't get a titan. Technically Android 1.1 runs on it, though I never could get data or gps working. It doesnt have enough RAM to run smoothy, or 1.5 at all (from what I hear). I'll play around more this weekend with it to see if I can figure out a system/initird/kernel combo that allows core functions (voice/data/sms) plus GPS.

If anyone knows one, please let me know!
[Touch CDMA Android Development] craig0r:
Isn't the Titan like 4 years old? Not saying that you shouldn't try... but good luck! ;)
[Touch CDMA Android Development] nbpanjwa:
HTC Hero Gets HTC Sync 2.0.4 Update

This may be interested to some....

http://phandroid.com/2009/08/06/htc-hero-gets-htc-sync-204-update/

with this I was able to install adb driver which is listed as "HTC Dream Composite ADB Interface" in device manager of Win7 (32 bit).

That is still not working for me.......
[Touch CDMA Android Development] diesburg:
there must be something wrong with my 4gb card then because i have formatted and formatted it over and over again and still wont work...... it stays on the android logo screen with ion builds and never goes from that screen and with hero builds, it keeps repeating the 2 screens, the hero screen, then the htc screen, and it just keeps doing that over and over again.... so i guess i will buy a new 4gb card at wal mart...... they have the same kind i have so if the new one works, i'll just take the old one back in the new package..... uinless anyone has anything else i can try to do to my 4gb card to get it to work
[Touch CDMA Android Development] tatnai:
it's not your card.
[Touch CDMA Android Development] dnessl:
I have the Sprint Touch, panel type 3. The autopanel kernel detects it just fine. (I made sure to removed panel_type from default.txt when I tested it.)

-david
[Touch CDMA Android Development] TheKartus:
Yeah, I doubt that its your card. Not that I recommend this, but one guy hard reset his phone when he had issues and then everything worked fine.

I assume you are using all of the new files and have everything named correctly? How did you format your card? FAT32? Which type of Vogue is it, what carrier?

Seems like the autodetect is getting perfect reviews on here. Nice job dzo.
[Touch CDMA Android Development] bally3:
I've had a 4Gb SDHC card from day one and no problems at all.
[Touch CDMA Android Development] bally3:
I posted some instructions a while back in the kaiser thread how to get it working on Win 7 and it chose the Dream Composite ADB Interface you mentioned.

I didnt get any feedback to whether those instructions worked but they worked flawlessly for me on Windows 7.