yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] unsungboxer:
Wow, this thread has gone very silent while we eagerly await Martin's latest release ;) lol, thanks again for the hard work Martin!

On a side note, here is something I have been thinking about. A number of our Vogues are CDMA EVDO Rev 0, but some lucky few of us use networks that are Rev A capable, which shows considerable download and upload speed increases. In the USA for example; both Sprint and Alltel have released Rev A reflashes, and hopefully VZW will have one soon. The key here is that most of our vogues are "Rev A Capable" which means the hardware is there, but the current software isn't taking advantage of it. This leads me to 2 questions:

1. Currently, are those of you who have Rev A firmware upgrades experiencing faster upload/download speeds when running Android via haret?

2. Does/will Android utilize the Rev-A capabilities of our phones natively?

Perhaps Martin can chime in here, but may someone else knows?

-Jake
[Touch CDMA Android Development] dzo:
Hi,

Yes, Rev A is handled by the modem and android talks to it in the same way that wince does. If the modem supports Rev A, then so will android. I'm just trying to get Power Collapse working, this will make android much more usable (the battery won't run down when power is off) but it's taking me ages because it's very hard to trace and I've had to disassemble the wince kernel to figure it out. It's nearly working.

Martin
[Touch CDMA Android Development] unsungboxer:
Yikes. Do you think this is related to the excessive battery heat that many have mentioned?

btw, Martin are you still the only one working on this project? I was also wondering if this is something you are doing in relation to your university (i.e are you a student/professor, etc?)
[Touch CDMA Android Development] pchasco:
I wish I had time to work on it. I spent a little time trying to figure out the issue with not dialing a data connection, but didn't get far and I ran out of time. I am sure there is a problem with the initmodem.sh script, but fixing it didn't seem to correct the error. I'm guessing there is more to it. I posted my version of initmodem.sh a few pages back.
[Touch CDMA Android Development] etiger13:
i was trying to work on the various SDHC cards not working but as I have lots of other stuff going on right now, i havent been able to put much time into it. but if traffic keeps coming to my site ( http://www.myhtcphone.com ) with people clicking on the ads and stuff, then pretty soon I'll start being able to send developers (Martin for now) actual cash (well virtual cash since it would be paypal)(wouldnt be much, be something is more than nothing, usually). I'm bringing in, on average, $0.15 cents a day with some days more, some days, nothing, but it keep sgrowing slowly. So keep clicking those ads people and maybe I can get enough going to really get Martin interested.....
[Touch CDMA Android Development] dzo:
I'm the only one working on Vogue, there are some people working on Kaiser/Polaris etc.. but they are a fair way behind us (even though their thread is longer!) I'm mostly doing this during my spare time just for fun, I'm a senior lecturer in Computer Science at Massey University in Auckland, New Zealand.
[Touch CDMA Android Development] jay6700:
This is quite excelent! I've read a few pages(not all 81 at this point), and did some searches, but i'm curious, how hard is it to revert to WM? Can I do a standard flash from windows? I'd like to tinker, but I do use my phone for work, with it's wireless sync bit, so I'd be flashing and reflashing at the end of the weekend. Thanks.
[Touch CDMA Android Development] olografix:
No flashing required. Only a soft reset to go back to wM.
[Touch CDMA Android Development] nir36:
I'm sorry, but i must be missing something... i'm running this on a polaris

i copied both system.gz and data.gz files into my SDHC 4GB.. to it's root folder.

i copied the other 4 files into my /root/android folder.. and tried to run Haret.exe

it does't do anything.. even after a few minutes.. but it obviously tries to run it because the device is slow and i have to soft reset.

do i need something special for this? a linux emulator... anything?

thanks
[Touch CDMA Android Development] ducamie:
these files (the kernel, file system and boot script) have been vigurously edited and modified to make them compatible with the vogue. they will not work with the polaris.
[Touch CDMA Android Development] nir36:
thanks for the response.
[Touch CDMA Android Development] unsungboxer:
etiger,

I too have been playing around with this error with my very limited linux experience. I am using a 2gb Sandisk Card, and currently it will boot approximately 1 in 4 attempts.

I have tried the following things:

1. (as suggested earlier) I placed all files but system.img/data.img into a sub directory called /android. -No Difference

2. Edited initrd.gz/etc/umount and changed /dev/block/mmcblk0 to: mmcblk0p1 (to match the error). -No difference

3. Tried Extracting initrd from initrd.gz, then altering default.txt to look at initrd instead. Thinking perhaps having a zipped archive on an SD card was unstable. - No difference.

4. I have tried starting over clean by redownloading martin's files, extracting data.gz and system.gz manually, then dropping it on the sdcard. For a second I got hopeful because it booted up 3 times in a row without error... But it finally errored out again.

An observation I have made is that if it boots or not, the job control error is still there. However, the times it does not boot it will always say "/dev/block/mmcblk0p1 on /sdcard failed"

I cannot find any consistency in what causes this. I have tried ejecting the card, starting haret after using winmo for a while, starting after a soft reset, moving files around, etc. It just seems to be random.

Have you had any luck trying other cards?
[Touch CDMA Android Development] etiger13:
i've tried it on a 4gb microSDHC card, 2 different (although identical) 1gb cards and none of them have booted. or if they do boot, its the old m5 non-sd card enabled. i can't get the new .9 to boot no matter what.

on the 1gb cards it says it is trying to access memory beyond what the card is. im thinking that martin has somehow hard-coded the size of his card into it. i still haven't had a chance to really go through the code yet.

i'm getting some 2gb cards to try so maybe those will work without me having to do anything.
[Touch CDMA Android Development] unsungboxer:
Hey etiger, can you humor me and try what I stated in part4 of my previous post:

1. Redownload Martin's "android-new.zip"

2. Unzip the archive to your linux desktop.

3. Manually unzip initrd.gz, system.gz, and data.gz, then delete the .gz's

(so that you are left with initrd, system.img, and data.img.

4. Open default.txt and change "initrd.gz" to "initrd"

5. Drop all the new and fully unzipped files to the root folder of your SDcard.

By doing this, I have had a 70% boot success rate on my 2gb card in my vzw 6900. I also had success opening up .mp3 (no sound) files and picture files (raw image viewer) after running the dev tools media scanner.

It also seems like the filesystem is being degraded somehow by mounting system.img or data.img. Perhaps you are right about the file size. Maybe adding apps or making changes to data.img and system.img is the root cause of the degradation.
[Touch CDMA Android Development] dzo:
I've updated my kernel to the latest android-msm and the SD driver seems to be a bit better now. Unfortunately it also broke a few things, once I've fixed them I'll post it here.
[Touch CDMA Android Development] etiger13:
i'll give it a shot to see if it runs on any of my cards
[Touch CDMA Android Development] etiger13:
formatted my 4gb microSDHC into FAT32.

Extracted all tgz files

Updated default to point to the extracted initrd

copied all files to the root of the SD card

Ran it and it booted up!

However, after the initial screen unlock, the volume slider would no longer unlock the phone. But it did run. Seems like this only happens occasionally.

My 1gb card also worked
[Touch CDMA Android Development] unsungboxer:
so ur seeing the same results as me. this might explain why so many people cant boot once the pkgs started coming in .gz's. i noticed most of the titan users are stuck too.

any idea what the root cause is martin? are we on to anything here?
[Touch CDMA Android Development] etiger13:
im trying to make a new cab file but with the packages uncompressed, it is huge. and having the cab file compress and uncompress them takes forever.
[Touch CDMA Android Development] Littlefield:
This may be a dumb question or a repeat - but once this bad-boy hits v1.0 do we expect the install to be relatively simple or the same problems?

Also, when the final version is released, do they plan for this to completely replace our WinMo or just keep using a Haret like device?
[Touch CDMA Android Development] unsungboxer:
can you zip the cab?
[Touch CDMA Android Development] etiger13:
zipping the cab wont help since it still has to be unzipped. zipping would only add more to installing of it. ill play around some more right now with it.

Littlefield: since this isnt an official Google project, just Martin's playground, there really isn't any info. I am still not sure if Google will make this easily installable or if they will leave it up to the manufacturors/carriers to figure out how to get it to run on their devices.
[Touch CDMA Android Development] Littlefield:
Yeah, I was just wondering if I was going to have to keep free-riding on Martin and stealing all of his releases after the release or if there will be something official.
[Touch CDMA Android Development] etiger13:
i imagine it will be like all the custom ROMs out there or the leaked 6.1 ROM.
[Touch CDMA Android Development] Shadowmite:
The system might stablize, but the hardware never will. If you have a device that differs from the hardware google's OS has or is being run on, you'll have to fix the drivers and some configurations for your device target. That's never going to change.
[Touch CDMA Android Development] fabric0004:
this is cool
[Touch CDMA Android Development] Littlefield:
good point - I'm hoping that downloading new drivers etc. can be as easy downloading majority of drivers (besides wifi of course) for Ubuntu - if Google utilizes their Google Market as much as they could, I'm sure this would be possible.
[Touch CDMA Android Development] violentz313:
Just curious if its possible to incorporate any of the games that are included in the sdk into what we have running on our phones?
[Touch CDMA Android Development] unsungboxer:
there were many games and apps available, but the latest release of .9beta has left most of them incompatible. slowly the developers are recompiling them. i have about 8 apps (3 games) that work. you will need to read about how to mount data.img from previous posts.

also you can try httpdownloader.apk on the google-random page which supposedly allows you to download files from the web to your running phone. http://code.google.com/p/android-random/downloads/list

for apps: www.helloandroid.com & www.android-freeware.org
[Touch CDMA Android Development] violentz313:
wow thanks ill look into it.
[Touch CDMA Android Development] corpashe:
Hey guys... i actually dont ask much just read but i got android working on my vogue last night but i was wondering two things...

If you could actuall change the time zone

And if you could how to get the internet working on it...

currently im using a Sprint Vogue i know my ppp username and password and i have inputed it but it doesnt seem to work....

Thanks

Greg
[Touch CDMA Android Development] etiger13:
corpashe, if you are running sdk .9 then im not sure the internet is working yet. try connecting to the internet before you launch haret
[Touch CDMA Android Development] corpashe:
oh wait... im not running the sdk .9 yet im runiing the m5 cause i need the sms to work lol...but like iono how to get it to work
[Touch CDMA Android Development] NaftoliGug:
Skip haret screen

According to haret docs, if you rename default.txt to startup.txt, it will skip the screen with the run button and just run the commands immediately.
[Touch CDMA Android Development] unsungboxer:
totally right! did it and works nice. im sure etiger will put this in his .cab
[Touch CDMA Android Development] etiger13:
when i get time to shrink the cab down i will
[Touch CDMA Android Development] unsungboxer:
has anyone heard any news?

ive been doing a lot of research on what to do about the button situation. might need to create some sort of onscreen soft keys or something.

im also seein what keyboard options are out there. we should start seeing some apk's come out soon. if we could get text fields to summon the keyboard it would free up a button. i suspect martins keyboard is a dev tool and not part of android because it runs during bootup.

if anyone knows how to create/edit a keyboard id be happy to provide photoshopped images for the keys. sure would be nice to bring back the 'haptic' feedback.
[Touch CDMA Android Development] pchasco:
I don't think there is any way to create a truly Androidy soft keyboard with the current SDK. The current soft keyboard we're using is implemented as a linux kernel module, as far as I know. I scoured the documentation looking for a way to create a soft keyboard the proper way.
[Touch CDMA Android Development] etiger13:
there has to be a way to make a soft keyboard. or what if there is a soft button that calls the keyboard? like put it in the bar at the top or at the bottom like on WinMo?
[Touch CDMA Android Development] unsungboxer:
agreed that a program must be possible. infact one called writepad is on its way.

as stated hardware keys is the issue... we dont have enough. even winmo is intuitive enough to bring up the keyboard when you change focus to a text field.
[Touch CDMA Android Development] dzo:
Hi,

Yes, my kbd is a kernel device driver. I saw an english/chinese soft kbd on one of android sites but havent tried it yet. Shapewriter might be good too. I've just got audio working, you wouldn't believe how complicated it is. I'm away at the moment but will put a new package together later in the week.

Martin
[Touch CDMA Android Development] unsungboxer:
Cool Martin. I'm sure it is extremely tedious!

When sound works we will need to use the volume keys. I've remapped my qwerty as follows w/ decent results:

Volume up/down button = Volume up/down

Power button = Back/Clear

Dpad_center button = Menu

Ive noticed that I don't need Dpad_center to select anything, since the touchscreen does that. We need a back/clear function, and right now the power button is the only avail key. Perhaps w/ a different keyboard, it will free up the camera button, and that could be the back/clear function.

Look forward to your next release! Thanks for spending so much of your own personal time on this.

-Jake
[Touch CDMA Android Development] ~David:
I have a few questions that I would appreciate if anyone could answer:

1. Is there any way to run this on internal memory? Every time I try I get that "tty" error.

2. Why is it that at times I can not unlock my phone? I press the volume slider, and it won't do anything, the screen just shuts off a few seconds later. Sometimes it works, but it frequently doesn't, resulting in needing to reboot.

3. Is this just my device, or is anyone else having problems with the screen not being calibrated properly? For example, when trying to use the keyboard, it always presses they key to the left of the one my finger is pressing. This happens more so on the right side of my screen.

4. Why on earth is the Map following some random person in California?

Sorry if any of these have been previously answered, it's a little hard to search through 87 pages. Someone needs to make an easily accessible FAQ.
[Touch CDMA Android Development] ducamie:
you guys are so lucky having dzo.

i wish he'd gotten a nike instead.
[Touch CDMA Android Development] unsungboxer:
1. We are currently all getting the tty error. For me, i would say my phone boots about 50% of the time. If you read a few pages back, we have some ideas as to how to get around it, but nothing substantial.

2. If you allow the phone to be untouched, the screen will go blank (screen saver), and nothing will unlock it. I've noticed this as well.

3. As far as calibration goes, within the first couple pages there are directions on how to calibrate it. has to do w/ tapping the alt key and the top corner of the screen.

4. The my location is just a demo for now. I determined this because it will show this location in california regardless of if I am connected to the internet or not.

Keep in mind this is a work in progress, we can't expect perfection. Martin has made numerous improvements.
[Touch CDMA Android Development] etiger13:
1. I think I am getting closer to figuring this issue out but as I just found a new place, my priority is moving lol. Later in the week, but probably the weekend, I may come up with a more definitive 'problem' or even a solution, but the problem I think may lead to a solution, so either way, I think we are close on that.

I got my 2gb cards in the mail and just need to test those now. So far I have 1gb and 2gb normal microSD cards and a 4gb microSDHC. I anyone wants to donate a 512mb, 6gb microSDHC or 8gb microSDHC for testing that would be greatly appreciated. I would only need them for about a week then could send them back after.

2. Yeah I get that too sometimes, haven't played with it enough yet to figure it out.

3. At this point, calibration is kind of trivial, especially if its only off a few pixels. But at some point it should be a priority, maybe after Martin gets a better keyboard going.

4. Thats my location! It actually follows me around. Ok maybe not, but I am pretty close to where it is.
[Touch CDMA Android Development] NaftoliGug:
SDHC issue

Could it be that if everyone who tried the 0.9 version on an SDHC card would post the exact card (manufacturer etc.) that they used and whether or not (or how frequently) it works, we would see some kind of pattern? Or is it the same for every card, that sometimes it works and sometimes not?

Also, just out of curiosity, what percentage of zImage, initrd, system.img and data.img each, are modified from the original Android and/or taken from other Linux distros?
[Touch CDMA Android Development] dzo:
Hi,

I've put a new version on the website, it should have working audio and hopefully better SD card support. This is still just for testing really since it does have some problems.

Audio is incredibly complicated, to get sound out of this thing you have to start two rpc servers, one for adsp messages, one for audio manager messages. Then you send a message to the audio manager and it sends a couple of messages to your server saying that it is ready.

Next you send a message to the modem asking it to enable the adsp post processing task. It sends a message to your other server containing the number of an image that depends on what else the phone is doing.

Next you look up the queue number for the image to get the address of three pptask queues, these three queues are used to send messages to the adsp. First you send lots of parameters to one of the queues to set up the equaliser, the iir filters and adrc. Then you send a message to one of the other queues telling the adsp where your buffers are and asking it to start dma transfers. Now you send a proc_comm command to say which audio path to use. After this the adsp cause an interrupt when the buffers need filling and it plays your sound. When it has finished you send some more rpc messages to shut the thing down. Luckily the latest android kernel has some of this built in but all the queue numbers and some of the rpc commands are different.

I had to write the previous paragraph just to stop going crazy over it, just enjoy listening to your new ringtones!!

Anyway it mostly works, there is a chance it won't work for other radio versions, I have 3.37.10 (the first alltel radio) and perhaps the queue numbers are different for other radios. Also the audio shutdown isn't perfect yet and sometimes the phone will reboot after an audio call.

The latest android kernel changed the way the frame buffer works so I had to rewrite the on screen kbd. It is full screen now, which hopefully is a bit better.

There are still problems with suspend, sometimes it doesn't wake up properly when you press the power button. If this happens press the red end call button, wait till the led goes red and try again.

The Vol up and down keys are mapped to back and menu.

to try this get android-new.zip from

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

delete system.img from your sd card (if you have one) and put system.gz onto the card. Leave data.img if you have any contacts or bookmarks, otherwise also copy data.gz to the card.

Copy zImage, default.txt and haret.exe to somewhere on your phone and run haret.exe as usual.

To test audio add a contact and change their ringtone. To play music on the sd card go to dev tools, and scan for media. Your music should then appear.

Have Fun,

Martin
[Touch CDMA Android Development] Magister2k7:
dzo,

first - thanks a lot! Calls are now working on my Titan/Mogul.

But when plaing some music fails. There only some clicks... and sometimes phone reboots instead of plaing something.

Can you help me to adapt it for Titan? At least, tell me where to look?
[Touch CDMA Android Development] DssTrainer:
Excellent ! Thanks dzo!
[Touch CDMA Android Development] radar5:
Thanks for the update. Will install and try it soon.
[Touch CDMA Android Development] radar5:
So if I receive a call, but the person hangs up before I answer, the phone resets. Sprint Touch with WM 6.1. Kingston 2GB MicroSD Card. PM me if you need any other info.
[Touch CDMA Android Development] brunes:
Does anyone have a line on where you can get some 0.9 SDK apps?
[Touch CDMA Android Development] jim256:
still getting errors on booting using my 6gb sandisk miniSDHC card :(...

please wait...extracting system image
gzip: can't open 'sdcard/system':file exists
failed
failed to extract system image
/bin/sh: can't access tty; job control turned off
# [ 2.640000] SMD: ch 3 CLOSED -> OPENED
[ 2.640000] SMD: ch 2 CLOSED -> OPENED

DANG you guys with working cards are SOO lucky!!

still thanks a lot for yet another update dzo!
[Touch CDMA Android Development] dzo:
If it gets this far, then the SD card is mounted, make sure you don't have a file or directory called system on the card.
[Touch CDMA Android Development] jim256:
hey

thx

a lot for the quick and helpful and individual response.

trying now, i did have another file named "system" in there. tho i did not have any folders...

EDIT: IT WORKED!!!!!!!! YESS!!!!!!!! THANK YOU man :)..
[Touch CDMA Android Development] taquitos:
In the latest version. When I receive a text message my phone just starts vibrating and won't stop till I pop out the battery.

Thanks for all your work dzo!!!!!!
[Touch CDMA Android Development] unsungboxer:
seems like anything that might make a sound freezws my phone.

however the keyboard looks cool!
[Touch CDMA Android Development] dzo:
What radio version are you using? Audio probably won't work for anything before 3.37.
[Touch CDMA Android Development] DssTrainer:
Had that problem waay back when this project was just starting.. I guess it hasn't been fixed yet.
[Touch CDMA Android Development] Magister2k7:
--deleted--