yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] dzo:
It should definitely have the red flashing LED when asleep. Sometimes I've found the it doesn't sleep properly after the usb has been connected but that hasn't happened to me for a while. You can find out why is isn't sleeping by typing dmesg in the terminal just after doing a sleep and then wakeup. The sleep/wakeup should look something like this:

[ 52.509372] android_power: sleep (0->2) at 61729356666 (2009-05-04 17:01:25.446525001 UTC)
[ 52.743072] mddi0_panel_power(0)
[ 52.957131] mddi early_suspend
[ 53.370011] android_power_suspend: enter suspend
[ 53.370011] PM: Syncing filesystems ... done.
[ 53.397285] Freezing user space processes ... (elapsed 0.00 seconds) done.
[ 53.402545] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[ 53.404365] TS Suspend
[ 53.404993] Wake up in 118 seconds
[ 53.404993] 7500 Audio: Powerdown
[ 53.404993] timer restore: 0 0
[ 53.404993] timer new alarm: 0 d
[ 53.404993] timer restore: 0 0
[ 53.404993] timer new alarm: 0 217800
[ 53.404993] Modem Status:
[ 53.405078] ^?<6><SM 00000929 00010929>
[ 53.405176] GPT Interrupt
[ 53.405233] msm_gpio_sleep_int handle_irq(29)
[ 53.405748] msmrtc_resume: alarm=1241456605, now=1241456493
[ 53.406608] Restarting tasks ... <6>android_power: wakeup (2->0) at 64025629998 (2009-05-04 17:01:33.508556667 UTC)
[ 53.424521] Battery [187 6fa f79 17 a1] = fbe, 100%
[ 53.450195] done.
[ 53.557353] android_power_suspend: exit suspend, ret = 0 (2009-05-04 17:01:33.650250000 UTC)
[ 53.557813] android_power_suspend: done
[ 53.558018] mddi early_resume
[ 53.604680] fake_vsync_int for update
[ 53.654926] msmfb_start_dma 66.871 ms after vsync request
[ 53.883851] mddi0_panel_power(1)
[Touch CDMA Android Development] moekind:
how do u remap keys?
[Touch CDMA Android Development] moekind:
Can someone take DZO's latest android files and remap the buttons.
[Touch CDMA Android Development] njakobs:
Thanks, mind doesn't look much like that. I will go back to a fresh data.img and see what happens. I had been installing lots of different apps etc so one of them must have changed things.

I had been trying ActionComplete on a different data.img and I know for sure that stops the power collapse. The developer puts Android in a different sleep state so that it can wake for noticiations etc, not sure why he does it that way.

Cheers
[Touch CDMA Android Development] tatnai:
Yeah, there is a countdown app that was doing that to me to, even when it was not counting down. Try uninstalling the last few apps before replacing your whole data.img.
[Touch CDMA Android Development] drprince89:
Is the zimage with the battery tweaks somewhere else? I cant find it on DZO's site, am i missing something? The Zimage in the current download is dated 4/20
[Touch CDMA Android Development] njakobs:
I went back and used a back up of my data image and now power collapse works perfectly (out put the same as Dzo's with dmesg). I have all the same apps etc installed. So I think the data.img must have just become corrupt.

So I guess it is a good habit to back up your data.img on a regular basis.

Cheers
[Touch CDMA Android Development] infinateLoopMan:
maybe someone who knows the mortscript can edit the loading process to make a backup of the data file every time you load android.
[Touch CDMA Android Development] browningj:
Well, I want to confess something.

I went back to WM 6.5 since everything was supposed to work, but it didn't and it kept hard resetting on me. I am not blaming this on anyone, but actually on my hardware.

Anywho, I was successful in getting f00bar's 1.5 (and dzo) to boot with my Google Login stuff and everything seems to work as expected. With one "little" exception, the list of emails on Gmail is freakin' huge!! The actual email and everything else is normal sized though.

Do I need to add mddi stuff to the default.txt, and if so can someone post exactly what I need to add?

Thanks, and great job as usual everybody.
[Touch CDMA Android Development] jaredakelly:
if i made an android "wish list" i'd put at the top for calling waiting and speakerphone to be enabled. it's pretty annoying when I can hear someone calling and can't switch over and don't even know who called.

having a lot of fun on android. looking forward to the next update!! :D
[Touch CDMA Android Development] katmandu421:
I just flashed winmo 6.5 myself. I'm torn. The interface is a little better than before, but the browser, both IE and Opera 9.5, are crashing on me. I'm not sure if it is my ROM or what, but it is certainly frustrating. It is nice to have GPS, I kinda forgot how handy that is. Not even with true turn-by-turn, but being able to pop open google maps and know your location in unfamiliar area is great. Battery is a lot better in Winmo 6.5, even above 6.1 IMO (no data to back that up yet) but I am running an older zImage due to the issues with sound when the screen is off on the latest (streaming radio is one of my biggest use cases).

My summary:

Winmo 6.5 benefits:

Working GPS and Bluetooth

Android benefits:

Everything else

I can't wait until Sprint finally releases an Android handset, I'll be all over it. Does anyone know any rumors on when this will happen? All the googling I've done on the subject turn up stuff from last year, saying they'd have one out by the end of '08, but that obviously didnt happen.
[Touch CDMA Android Development] katmandu421:
Set resolution in default to 320x240 if it isn't already and see if that helps.
[Touch CDMA Android Development] browningj:
Well set mddi.width=240 mddi.height=320 and that didn't help, so I reversed it to mddi.width=320 mddi.height=240 and that definately didn't work, so what am I doing wrong and can someone point me in the right direction?

EDIT: Also, my previous statement about the emails being the right size was incorrect. They are freakin' huge as well.

Thanks
[Touch CDMA Android Development] mikydog:
when i load android, the loading screen appears and a bunch of code appears and when that is all finished it keeps coming up with "waiting for sd card"

any ideas on what is going on or how to fix it?? :confused:

i have been trying everything for the past 3 days, but nothing :mad:
[Touch CDMA Android Development] pierrechn:
hello guys/gals

i have been away from this port for a minute...

i just tried to reinstall it(i dled the most stable pack) and it just stayed at a white screen... but i downloaded the cupcake 1 and it worked perfectly

ok i thought the marketplace was up? i dont see the app anywhere when i go into android...hell i dont even know where to get any apps...'

can someone plz help me?????
[Touch CDMA Android Development] mikydog:
help please? android not running

when i tap on haret the loader appears ( black screen, bunch of code etc) but then after it says "welcome to vogue linux" i just get an endless loop of "waiting for sd card" :(

any ideas on what is going on? its got me going crazy :mad:

any help would be muchly and greatly appreciated
[Touch CDMA Android Development] thoughtlesskyle:
the cupcake build doesnt have the market in it, only the 1.1 version has it, as for the white screen, go into the default txt and change your panel type to 3
[Touch CDMA Android Development] pierrechn:
is their away to skip creating the google account?
[Touch CDMA Android Development] pierrechn:
nervermind i just clicked skip lol
[Touch CDMA Android Development] tatnai:
dzo and f00bar, you've made a ton of progress on this and deserve much kudos and respect. been using 1.1 for one and a half weeks now, you have now ported a very usable (even lovable) OS. going to go back over to the windows side for a bit, can't do without being able to answer a call waiting call, or without voicemail notification. be keeping my eyes open to help with testing. cheers.
[Touch CDMA Android Development] dzo:
I've put a new kernel on my site, it should fix a problem where an update from google tries to restart the phone and it shuts down. Unless you want your phone to shut down at random, it's probably a good idea to get the new kernel!

You can tell if the shutdown has been caused by an update request because /cache on the sdcard will contain a command to reboot the device and install a new bootloader.

This kernel also only allows the device to be woken from power collapse by the power button (unless you are in a call).
[Touch CDMA Android Development] njakobs:
Thanks Dzo I wondered why my phone had been shutting down ever once in awhile lately.

Cheers
[Touch CDMA Android Development] magicalan:
can anybody give me there default of the cupcake please thanks :D

of sprint vogue please :(
[Touch CDMA Android Development] tatnai:
here's mine. will work with 1.1 or 1.5. May want to change the resolution to 240x320; you may like it the way it is, I have it set to 320x480, which feels like a ton of real-estate on cupcake, but just perfect in 1.1. I have sprint too, so should work for you (login/password should be left blank).
[Touch CDMA Android Development] magicalan:
thanks man :D

ill try it right now :)

can i ask you some questions ?

1) How do i turn it off normally without having to reset lol

2) does the dzo version has portrait keyboard version?

3) i had marketplace on dzo but it was another version and i still have the files of it were do i put them on the cupcake files ? like i had myspace app (i cant find them tho)

i dint know we could change the screen resolution lol

the animations are slower :S
[Touch CDMA Android Development] tatnai:
1. long press red button, click power off

2. no, but there are some programs that include their own portrait keyboard if you are married to it (chompSMS for texting, Steel for browser)

3. you can use a data.img that contains programs already installed, if those programs are compatible with cupcake they will run. note that some programs install things to the SD card, which is not working in f00bar's most recent april25 cupcake, so such programs will not work correctly.

yeah, i've played around with it a bit, 320x428 gives perfect proportions with dzo 1.1 but still leaves some things cut off at the bottom of screen on some programs (why I prefer 320x480); cupcake does something differently with resolution, 240x320 runs a bit better on the eyes.

you can turn of the animations in spare parts.
[Touch CDMA Android Development] magicalan:
thank you very much :D
[Touch CDMA Android Development] mikydog:
when i run android the loader comes up, but after it says "welcome to vogue linux" i just get an endless loop of "waiting for sd card"

why do i keep getting that? and how do i fix it? :confused:

ive tryed asking this before but no response :(
[Touch CDMA Android Development] njakobs:
1) Do you have an SD card? this will only run if you do.

2) Do you have all the files stored in the root of the sd card.
[Touch CDMA Android Development] vilord:
dzo or others, i see USB support is through cdc_subset... what would be involved to switch over to usb-gadget? That supports a wider variety of clients (not just linux) and also has support for things like "native" usb-storage...

Maybe if nobody else has time, I'll look into this myself...
[Touch CDMA Android Development] zakkain:
I've tried both of the May 11 versions from the site, and I've tried formatting my SD card, but no matter what i do, when I set up my google account on 1.1, the gmail app gives me an error message and refuses to work. Contacts works fine though. I dunno, but I can't figure it out
[Touch CDMA Android Development] dufyd:
hey any links or instructions on how to get WM 6.5? I want it as a back up too.

Also any news on the voicemail notifications?

thanks!
[Touch CDMA Android Development] dzo:
I did start to backport the gadget driver from 2.6.27 but never got it working. The code is all in the git repo and it shouldn't be too hard to fix. I did the gadget driver before I got the function driver working so you will have to copy the working parts of the function driver into the gadget driver. There was also a problem initialising the driver but I didn't look into it much, so that could be easy to fix. Would be good to have this working though I suppose you would still need a partitioned card for mass storage to work.
[Touch CDMA Android Development] zakkain:
Okay, I've read back through the thread and haven't solved my problem yet.

I also tried foobar's 1.5 buid - which is fantastic - but I can't get Google to work. I run Modem and the browser works, so i have data, but when I try to sign into google it times out and says "a connection can't be established", and it says there might be a problem with my SIM card - obviously there isn't one.

Any ideas?
[Touch CDMA Android Development] katmandu421:
http://xdaforums.com/showthread.php?p=3680840#post3680840
[Touch CDMA Android Development] quartapound:
Just want to thank you guys in advance for all the great work your doing, having both WM (6.5) and Android on one phone is just great!

However I only was able to get Android to boot once. i copied the latest files (all of them to the SD root dir) and ran haret, saw linux, booted to Android, was very happy!

Power off, soft reset, WM6.5.... dont change anything, run Haret again

but instead of booting Android (or seeing the linux text again) my screen goes all scrambled/multicolored, and requires soft reset.

I've tried refreshing the files (deleting and starting with fresh files) and I cant get Android to boot again...

I had it once, what did I do?!

Thanks in advance
[Touch CDMA Android Development] bchi49:
Hi! This is great!!! Very fast.

I'm using HTC Titan 100 (aka XV6800), the slider and front navigation button doesn't work, and when I slide open the keyboard the screen is upside down. How do I fix those problems?

I have these in default.txt

-----------------------------

set MTYPE 1463

set KERNEL zImage

set initrd initrd.gz

set cmdline "ppp.username=IT ppp.password=IT msm_sdcc.msmsdcc_fmax=32000000 pm.sleep_mode=0 board-htcvogue.panel_type=0 fbcon=rotate:3 mddi.width=300 mddi.height=400"

boot

-----------------------------

Thanks!

Benjamin
[Touch CDMA Android Development] tatnai:
I believe there is a thread for Linux/Android on the Titan where you may find some answers.
[Touch CDMA Android Development] katmandu421:
Much appreciated! I noticed that on a couple of battery tests over the night, I would wake up to the phone off. I thought the battery had died, but once I booted there was still some juice left, this must have been the symptom.

FYI: you can still wake the phone on double clicks of the send and end key. The audio on sleep issue when changing tracks is still present also. I think I'll have to live with the chance of a random shutdown for the benefit of my portable last.fm player.
[Touch CDMA Android Development] mikydog:
yes i do have an SD card, a 1gb, 4gb sdhc and a 8gb sdhc. i have tried on all.

yes i have put all the files on the SD card. i have also tried phone memory but same again. :(

this is really starting to get annoying. anyone experienced this with there phones?
[Touch CDMA Android Development] dzo:
I cant see why it's doing this, which was the last kernel that worked properly? I'll try to figure out what's been changed since then.
[Touch CDMA Android Development] zakkain:
After even more testing, including trying really old builds of 1.1, I've concluded that it must be my phone that has something wrong.

GMAIL doesn't work, regardless. the gapps application just throws up the same error no matter what, after several SD-card formats and using different versions from dzo's page.

What on my phone could cause this? I'm running NFSFAN's latest 6.5 rom. I did suspect that it could be the fact that on WM I have Google Sync set up, but that seems really silly.

The thing is that a few months ago it all worked fine. Aaah :(
[Touch CDMA Android Development] katmandu421:
zImage-GPU from 26 April works great on the audio side.

Thanks, I appreciate you looking into this. I'd hate for this to get left behind with the progress your making.

Cheers!
[Touch CDMA Android Development] vilord:
I'll have some time to start on this next week...

I saw a couple posts from the google people regarding backporting from .27 to .25, so hopefully it'll be doable...

From what I've seen regarding the gadget driver, it uses a special loop device for storage, so a gui tool would be required for mounting/dismounting it and setting up for mass-storage.

I'll have to read more about the gadget stuff, I can't remember if it supports running ether at the same time as mass storage, might need the tool to change modes too...
[Touch CDMA Android Development] vilord:
Some more reading, sounds like there was a *little* work done for composite ethernet and mass storage modes... but combined with the issue of needing a separate file space for the mass storage mode, my main focus is going to be on the gadget ethernet driver for RNDIS windows support, and maybe a mini-samba implementation for file transfer...

I wonder if there is a virtual block device framework that would allow using a folder in the present filesystem as the storage location, accessible as a block device... that would solve the mass storage issue
[Touch CDMA Android Development] vilord:
(duplicate post)
[Touch CDMA Android Development] craig0r:
won't a samba implementation mean users will have to enter a username and password to access the files on their phone?
[Touch CDMA Android Development] summerblink:
just wondering . . . what brand/model/size of SD card is working best for you guys? I think i'm about to get a new one, hopefully i can find an 8gb micro that will work with my Vogue . . . AND with Android!
[Touch CDMA Android Development] vilord:
Possibly... samba can be implemented with a guest mode... the idea is to have something that "just works" with windows, mac, linux, etc.

Options that are standards compliant are PTP (only designed for pictures and camera control) and MTP (primarily designed for mp3/wma file transfer, although other stuff "works"), but both are not fully implemented in usb-gadget from what I can find.

Mass-storage access is fully implemented, but by design it is an exclusive-access protocol. When connected to the PC, it has exclusive access to the file storage. Not exactly ideal... (this is not specific to linux devices, try plugging in your ipod in "disk mode" and see if it doesn't lock out the user interface, or use the mass-storage mode on windows mobile, can't get to the SD card.)

You have any other ideas? Again I'm going to focus on windows-compatible usb-ethernet first.
[Touch CDMA Android Development] jaredakelly:
i just bought the new kingston 16gb micro sd. the reason i got kingston is because it has a lifetime warranty and booting from android has been known to "fry" the sd card. and i got an awesome deal.

http://cgi.ebay.com/KINGSTON-16GB-Micro-SD-SDHC-MicroSDHC-Memory-Card-TF_W0QQitemZ150331981180QQcmdZViewItemQQptZDigital_Camera_Memory_Cards?hash=item23007bfd7c&_trksid=p3286.c0.m14&_trkparms=66:2|65:15|39:1|240:1318|301:1|293:1|294:50
[Touch CDMA Android Development] craig0r:
I don't have any better suggestions, I'm just looking out for possible issues.

Although... now that you mention it (and i'm no expert on this type of thing,) would it be possible to use "mount -o bind" in anyway to mount the storage card to a location within the filesystem and use mass-storage on that? i mean, could it be possible to trick linux into using a bind mount for mass-storage, while still providing android with access to the original file locations? I know, it sounds risky, and not very probable... just a thought.
[Touch CDMA Android Development] craig0r:
Neon400

Heyo.

My buddy just got a Touch Dual from Telus, which is apparently the Neon 400. A glance at the specs suggests that it may also be able to run this port. However, when he attempts to run it, he gets the "Please set start of ram" error.

I have no idea how to determine the RAMADDR value for his phone. Can anyone point us in the right direction?

(btw, he's going to sign up for the forums, but I thought I'd post this on his behalf in the meantime)
[Touch CDMA Android Development] Viper Matrix Wireless:
how do you put a keyboard on the 1.1 build. I saw no keyboard. Do I download where it says latest kernel to my phone n replace zimage?

Also SMS was doing a force close. As well as some other apps.

Also Port youtube & market to cupcake plz.
[Touch CDMA Android Development] zapat0s:
For a keyboard in 1.1 press the camera button on the phone. (only keyboard available for 1.1 period.)

Im not sure about the SMS problem but its possible that your data.img is corrupted.

As for Youtube and market try using foobar's 1.5(cupcake) images. The ones on dzo's website aren't up to date (are they?).
[Touch CDMA Android Development] dzo:
Can you try the zImage-test I've just put on my web site.
[Touch CDMA Android Development] dufyd:
i have the latest 1.1.....i had left it for a while so i came back and downloaded everything fresh....

i donwloaded some apps from the market place..everything was fine but now the keyboard doesnt come up nor do the end and talk key work
[Touch CDMA Android Development] lotherius:
(EDITED POST)

I was getting the flashing white screen, posted about it.. then realized "duh, I have to rename the default-vogue.txt to default.txt".. that really should be mentioned in the readme!
[Touch CDMA Android Development] katmandu421:
That seems to have done it! I am at work without my headphone dongle, so I had the volume down pretty low but it sounds like the nastiness is gone after switching tracks while the screen is sleeping. Good stuff!

I also noticed that with the latest round of images my battery is lasting over night, basically 24 hours with low to moderate usage with Togga connected the whole time. Nice.
[Touch CDMA Android Development] jaredakelly:
sounds like it should be good to use. dzo should we be using the new zimage?
[Touch CDMA Android Development] tetrismonkey:
I was running your zImage-test and at first if sounded fine but about 10-15 songs in, i herd the same sound distortion from before

hope you can get this fixed soon

i highly respect all the hard work everyone here does thank you all

edit: i went to your site and i noticed i had downloaded the link for "Latest Kernel" named "zImage" and not the "zImage-test"

from the link "All files, including older releases and test kernels"

i then downloaded "zImage 14-May-2009 17:05 1.3M"

i have lessened to about 10-15 songs and no distortion

good job

thank you for all the hard work
[Touch CDMA Android Development] katmandu421:
I noticed today that calls take a while to wake the phone up, even miss them, with the May 13 test kernel.

But I am running really low on memory, would this cause the symptom?
[Touch CDMA Android Development] bchi49:
Does the GPU images work for Titan 6800? I cannot run neocore. I installed the 5/14/2009 version and tried 4/26/2009 image files as well, no enjoy.
[Touch CDMA Android Development] dzo:
It should work but someone will need to add the gpu0 pmem area to the titan board file.
[Touch CDMA Android Development] Ideal2545:
everytime i see you 'dzo' as the last post author on the main thread view, i freak out! :P
[Touch CDMA Android Development] bchi49:
how do you do that? "add the gpu0 pmem area to the titan board file."

board file?
[Touch CDMA Android Development] bchi49:
Could someone show me which line of code and which repository I need to change so when MTYPE is 1463 (for titan) the screen is not upside down when keyboard is flip open? It looks right on the linux side, but it's upside down on Android, 1.1 and 1.5.

Thanks,

Benjamin
[Touch CDMA Android Development] Magister2k7:
Actually I did it, but code is still not in main repo. I'll post it soon.

However, bad thing is that we have a little memory on Titan, and enabling GPU makes available memory even smaller...

--

And, please, go to Titan's thread with such questions
[Touch CDMA Android Development] dzo:
To save some memory you could probably get rid of the mdp pmem area since it's not really necessary and then you only need a 7M gpu0 area in stacked memory which could probably overlap with adsp and usb. Also, on vogue there is some spare stacked memory after the A9 image.