yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] grktaurus83:
Just download the "latest" package, delete all the original files from your sdcard, and replace everything again. The "latest" package comes with a data.gz. During boot, that is extracted to data.img (be patient because the extraction takes some time). Booting up for the first time takes a little while.
[Touch CDMA Android Development] fraggy4:
I've already done that, whenever I try to boot it gives me an error saying it could not extract data.img.
[Touch CDMA Android Development] grktaurus83:
Did you check whether you have enough room on the card? That's another possible reason for the error.
[Touch CDMA Android Development] fraggy4:
Yes, I just noticed that. I only had 9mb free. XD Although, I got it booted up, and it can't connect to the network, and when I tried putting it into airplane mode, the entire phone shut off.
[Touch CDMA Android Development] dzo:
Sorry, all you can do is remove it from system.img do:

mkdir /mnt/system

mount system.img /mnt/system -o loop

mkdir system

cp -ra /mnt/system/* system

rm system/App/Toggle.apk

umount /mnt/system

mkfs.cramfs system system1.img

or something similar...
[Touch CDMA Android Development] grktaurus83:
Shoot, I don't have cramfs support to be able to do this. I've installed the package on my Gentoo machine, but still can't get it to work. I read somewhere that I might need to recompile the kernel to be able to get it working. Yea, not something I want to do right now.

Any chance we can get Togga removed from the system.img (but kept in your .zip releases) in your future releases?

If anyone would rather keep it included, make sure to post your opinion so I (and Martin) know what you guys think about this.
[Touch CDMA Android Development] ingenue007:
where in the default.txt do i add the sleep=3?
[Touch CDMA Android Development] craig0r:
Getting cramfs into gentoo should be easy as pie. Just compile it as a module, and I *believe* you won't need to alter the running kernel at all.

Run "make menuconfig" from /usr/src/linux/, find the "Filesystems" page, select the cramfs option, and hit "M" to compile it as a module. Exit out of the menuconfig, and run "make modules_install."

Presto, you should have cramfs support. You may need to run "modprobe cramfs" to load the module, or reboot.

As for the Togga app... I don't see any real reason it *shouldn't* be included in the system.img at this point. Other than taking up space, I suppose. Doesn't bother me either way.
[Touch CDMA Android Development] craig0r:
Don't mean to double-post...

In the new release, my DNS doesn't work. Anyone else have this? Togga enables the connection just fine, I get an IP address and it looks good. I can ping an IP on the net (eg 4.2.2.2) but pinging google.com results in unknown host. I will see if I can figure out why, but I wanted to get this posted so people are aware.
[Touch CDMA Android Development] funtek:
I had that problem with the Dec 1st release as well, but I was able to bypass the issue by starting Togga, connecting, then scrolling around Google Maps for awhile, that seemed to prime something so that the rest of the OS would query DNS correctly.
[Touch CDMA Android Development] grktaurus83:
Big update news!

A new version of Togga is out (1.0.3)

AND

A new version of the toggle is out (v07)

retrobits and I have been working together to streamline how the scripts work together and we think you'll be happy with the results.

You can download the new Togga apk at:

http://code.google.com/p/retrobits/downloads/list

And the new initrd.toggle.gz at:

http://prometheus.usc.edu/initrdtoggle

Changes to the Togga apk:

Cleaned up the text display area, changed the "toggle" button to a "connect/disconnect" button, and improved responsiveness of the display.

Changes to the toggle:

Shortened the wait when connecting to the internet (from 15 seconds to 10 seconds), trimmed the logs a bit, and changed how the logging was happening to work better with Togga.

Enjoy!

Be sure to give retrobits a big thanks for the apk! It's excellent!

Edit: retrobits has also made an updated version of the 12-01-2008 system.img that removes the old version of Togga (that way you can put Togga 1.0.3 in your AndroidApps folder to update to the new version). You can find it at http://prometheus.usc.edu/system.12-01-2008.updated.zip (on the same page you get the initrd.toggle.gz files). Another thanks to retrobits for this!

Please note that you will need the updated system.img provided by retrobits, the updated initrd.toggle.v07.gz, and the Togga 1.0.3 apk in your AndroidApps folder for everything to work properly (until dzo incorporates all of them into his releases).
[Touch CDMA Android Development] grktaurus83:
Turning the connection off and then on again usually fixes this issue.

Sometimes Android picks up on the fact that the connection has been started, sometimes it doesn't. It's weird. But I don't think I've ever had to turn it of and on more than once to get it to work again. Give it a shot and let me know.

That just means that the connection worked originally. There are times where I get connected, I can ping an IP, but get no internet connection (even google maps won't work and I get that pop-up saying that there is a connection problem). Toggling off and then on usually fixes this issue.
[Touch CDMA Android Development] grktaurus83:
For some reason it didn't occur to me that I'd need to recompile the kernel. It's been a while since I've edited the kernel on my file server (I've recompiled the kernel hundreds of times since I've also set up a computational cluster for the research lab I work in). I was actively using that linux machine last night and didn't want to chance having to reboot it (I was up all night getting some work done).

I should have cramfs support up and running later tonight.

Thanks for the directions. Definitely a good refresher since it's been so long. Haha!
[Touch CDMA Android Development] craig0r:
Ah yeah, that did the trick. Thanks! Sure beats the hack job I was about to attempt.
[Touch CDMA Android Development] grktaurus83:
Go ahead and give the latest releases of Togga and the initrd.toggle a shot and let us know what you guys think. I've added an updated system.img (courtesy of retrobits) to my announcement post.

Enjoy!
[Touch CDMA Android Development] Nickman1:
I know its been a few days since this was brought up but...

I think it would be ideal to have a "Camera button" PUSH for the keyboard, and a "Camera button" HOLD for the landscape mode.

Not sure if HOLD is an option. Like I said this would be ideal.

Otherwise an APK I could put anywhere on my primary screen to switch between landscap and portrait...that would work.

Thanks again for all the great work!
[Touch CDMA Android Development] tErbo b00st:
and also a way to program the power button push and power button hold...

it would be nice to be able to use the volume slider for volume.

power button push: back

power button hold: home

d-pad center: menu

volume slider: volume

camera push: keyboard

camera hold: landscape (i don't understand why people want to use this in landscape, but whatever)
[Touch CDMA Android Development] summerblink:
ok, so i deleted / uninstalled all references to android . . . put the files in my Program Files/Android folder on the xv6900 . . . now when i boot the haret it goes fine until i get this:

mount: mounting /dev/block/100p1 on /System failed: Invalid argument

Failed

Failed to mount /system

bin/sh: can't access tty; job control turned off

any ideas?
[Touch CDMA Android Development] njakobs:
Come on guys try to read a little bit before you post!!

Dzo added this with his latest release (about 2-3 pages back) press camera button twice for landscape mode.
[Touch CDMA Android Development] summerblink:
got it. dumped everything onto root of SD card. success!
[Touch CDMA Android Development] grktaurus83:
If we could use single-push, double-push, and push-hold for our keys, we'd be able to cover all of our bases.

As for a keyboard arrangement:

Power Button:

Single-Push: screen off

Double-Push: screen rotate (for those of you who would use it)

Push-Hold: phone options (the power off menu)

Volume sliders used as volume sliders (though I see that as kind of a waste since I don't adjust my volume very often).

The tricky part comes with the camera button and the end key, but I think my ideal arrangement is:

Camera Button:

Single-Push: menu

Double-Push: keyboard

End Key:

Single-Push: back

Push-Hold: home

What do you guys think?
[Touch CDMA Android Development] craig0r:
Yeah, I like it. I do use the volume key on my phone... not a ton, but enough that I would like hardware controls for volume very much.
[Touch CDMA Android Development] ingenue007:
does the new initrd.gz disconnect after idle? i use the togga app to activate internet and come back later and hit 'check status' and internet is disconnected.

is it supposed to do that? or is it on until togga inactivates it?
[Touch CDMA Android Development] grktaurus83:
The toggle scripts either turn on the internet connection or turn it off, but they don't make sure it stays up. The connection should stay on unless you lose your signal or the connection gets terminated somehow else (but the scripts will not kill the connection after an idle period). The scripts will not automatically reconnect you if you lose your service, you'd have to run Togga again to reconnect.

I can change the script to check whether the connection is still up every 30 seconds or so (when you've toggled it on), but this will decrease your battery life a bit.

If this is something you guys really want, I'll put in some time to make the changes. This change would only need to happen to the toggle scripts and not Togga itself, so the update would come in the form of a initrd.toggle.gz file.
[Touch CDMA Android Development] summerblink:
i downloaded the ShopSavvy apk posted earlier in this thread and tried it out . . . i don't think the camera is ready for that yet though. it shows, but wouldn't scan the barcode for my Skullcandy headphones. that being said, if you type in the UPC using the keyboard it works great! can't detect where you are and give local prices, but online prices works great :-D
[Touch CDMA Android Development] tetrismonkey:
i have loaded android on to my phone and it works very well but i can not get the camera to work i am not sure how to even open the camera because the camera button is for the keyboard also if the phone goes to sleep i can never get it to wake up and i have to soft reset every time

also i don't think i have a any data connection if anyone can help it would be great

i am using a htc touch by Verizon if that matters

thank you
[Touch CDMA Android Development] gohantrunks28:
Been lurking around for a while now. Wanted to say thanks to you all that help make Android possible on the vogue. I'm very excited about having Android on my phone.

This layout is awesome, grktaurus83. Once the bluetooth and usb is working, I will use Android 24/7.

Thanks again.
[Touch CDMA Android Development] grktaurus83:
Well this keyboard layout hasn't been implemented yet, it's just something that came to mind that I would love to have working. We need to find out whether or not we are able to implement them this way first.

But yea, I'm definitely looking forward to this too!
[Touch CDMA Android Development] grktaurus83:
New update is up (v08) at the usual place.

http://prometheus.usc.edu/initrdtoggle

Sorry to keep posting so many updates, but I found another small bug in the toggle code. The failure counter wasn't being reset whenever the maximum number of failures was encountered. It's nothing critical, but I noticed it today when my connection attempt failed 4 times in a row for the first time.

Please note that ONLY the initrd needs to be updated as this is NOT a Togga related problem.

Again, sorry about the constant changes. I try to get these updates out to you guys as soon as possible.
[Touch CDMA Android Development] joeyjones:
defaut.txt

you add it to the line:

set cmdline "ppp.username=mobile@jamamobile ppp.password=telecom"

so that it will become:

set cmdline "ppp.username=mobile@jamamobile ppp.password=telecom pm.sleep_mode=3"
[Touch CDMA Android Development] joeyjones:
Read back a bit

for the screen: http://xdaforums.com/showpost.php?p=2977841&postcount=2219

for the internet: run Togga and toggle the as needed until you a stable connection is established

for the camera: open the menu and run the "Camera" application...
[Touch CDMA Android Development] ingenue007:
thanks joey.

what i really want is a t9 keyboard like winmobiles/htc keypad option. that would be so sweet.

anyways, keep up the good work guys!
[Touch CDMA Android Development] summerblink:
i'm noticing now that the camera preview has a yellow filter look to it, is this what everyone else is seeing? still unable to get the shopsavvy to barcode scan - i see that there's a new version available. gonna try and track down the apk for it . . .
[Touch CDMA Android Development] dzo:
Like I said, the camera does no colour correction and apps will not work because the preview frames are in the wrong format. If people want, I can put the preview in the correct format but then it displays as greyscale (though captured images are in full colour). Barcodes still don't scan though because it won't focus close enough.
[Touch CDMA Android Development] Macropoutsis:
Sure Martin, that would be great.
[Touch CDMA Android Development] zaq1234:
Previous version was working fine. This latest has no data capabilities for me at least Any suggestions? I am on sprint. Runnings dette rom

Togga works gets ip

I did establish a connection before running haret
[Touch CDMA Android Development] joeyjones:
toggle?

Have you verified your default.txt settings and tried toggling the connection? For me it usually takes two to three toggles.
[Touch CDMA Android Development] tetrismonkey:
thank you for the help i changed the "ppp.username=mobile@jamamobile ppp.password=telecom pm.sleep_mode=3" the phone now wakes up but still not every time

as for the camera running the application causes my phone to freeze and i have to soft reset

as for the internet i guess i will have to keep trying togga

thanks again
[Touch CDMA Android Development] jaredakelly:
thanks dzo, the camera works.

however i'm having major problems with the data not working, and the dialer force closes if i try to use it. i'm going to have to go back to the previous version until it's fixed.
[Touch CDMA Android Development] etiger13:
I updated my cab file. It includes Togga, grktaurus83 modified files, Funambol for WinMo, SAM2 and runs using dzo's latest build (minus system.img, which is from retrobits). Can people please try it out and let me know if it works as I no longer have a Vogue to test on (unless someone wants to donate one, although I wouldn't be able to test data).

http://www.myhtcphone.com
[Touch CDMA Android Development] meshuga:
I get an error '"My HTC Phone Android' cannot be installed.

I verfied free space and everything, so it must be a cab problem. It put in the data.img and the system.img but only file in Program Files/Android is default.txt.

Any ideas?
[Touch CDMA Android Development] dzo:
I've just put a new build on the website, no big changes really though.

I modified the initrd a bit so it should connect faster and should always set the dns correctly.

Togga isn't in the system image any more, I put it in the data image and in the zip file.

Things are working nicely now. Thanks especially to grktaurus83 and retrobits for their hard work on the toggle stuff.

Martin
[Touch CDMA Android Development] pierrechn:
hey dzo could you tell me how to install it step by step...and how to actually get in to the program it never works for me...
[Touch CDMA Android Development] grktaurus83:
Just glad I could contribute and glad that others are finding it useful.

retrobits is probably tired of hearing thanks from me, but one more couldn't hurt. Haha. Thanks again retrobits.

I'm pretty busy the next week or two, but after that I'll see if there's anything else I can help with.

Any word on what can be done with the hard keys? As in, can the keys be programmed to respond differently to a single-push, double-push, and push-hold?
[Touch CDMA Android Development] pierrechn:
hey gktaurus can you tell me what do after i dl the latest file from martins website...step by step...i am on a sprint touch...and can never get this to work..
[Touch CDMA Android Development] bugzy:
If this is the first time installing, I'd recommend taking a look at my signature and using etiger's CAB installer

If you'd like to install it manually using dzo's files, I would extract all the files to the root of your SD card and boot, from there, if you find any apk files, you would need to create a "AndroidApps" directory under the root of the SD card

after you put all the files on the root of the StorageCard, then you boot haret.exe and click Run

its fairly straight forward, there's a couple tricks, but you should read through the first 5 pages of this thread and the last 5 pages to get an idea

i think the questions can be answered by others besides dzo since he's focused on the actualy development of this port, and others probably have a lot of experience getting his build to work

there's definitely a better step-by-step somewhere in this thread
[Touch CDMA Android Development] xgumbyx:
pierrechn,

why dont you tell dzo and everyone else the exact steps you have done and maybe then they can give you an answer as to why it wont work for you. the steps have been outlined MANY times. generally when it doesnt work it is due to user error.
[Touch CDMA Android Development] neoxfl:
Can anyone help me???

Hi,

I get Error when i am trying to load linux. the error message reads as follows:

failer

no partition found on sd card

/bin/shi: can't access tty; job control turned off

please let me know hoe to set partition on sd card??
[Touch CDMA Android Development] pierrechn:
yea thats what i keep getting like everytime even with old versions so how do we fix this?
[Touch CDMA Android Development] etiger13:
have you updated your radio version?

what carrier do you have?
[Touch CDMA Android Development] pierrechn:
i have sprint? and what do u mean update radio? i have windows 6.1 and my fw is 3.42.30 i think thats the radio right?
[Touch CDMA Android Development] bugzy:
i put Togga_103.apk in my AndroidApps with the latest dzo 3-12-08 build

when i load Togga app, it says "The application Togga (processnet.retrobits.togga) has stopped unexpectedly. Please try again."

anyone got this?
[Touch CDMA Android Development] neoxfl:
Error message

Hi,

I have vzw 1.8 fw, i am updating it today , to see if that solves the problem as you mentioned , Thanks,
[Touch CDMA Android Development] bugzy:
does that mean, for this latest build, we need to overwrite the data.gz/img file?
[Touch CDMA Android Development] pierrechn:
lol i cant even get booted into Android
[Touch CDMA Android Development] dzo:
This happened to me too, it means you have data from an old version of Togga and must uninstall it first. You can do this without rebooting by uninstalling Togga (from the settings menu) and then doing:

su

/bin/cp /sdcard/AndroidApps/T* /data/app

in the terminal.
[Touch CDMA Android Development] dzo:
No, just uninstall togga and put the new togga apk in /AndroidApps on your card (or download online, it's not large).
[Touch CDMA Android Development] neoxfl:
Still Same Error !

Hi

I have updated to new VZW rom, I still get the same error message , I am unable to boot into Andriod, Some one Please help me how can we fix this problem

Thanks for Help
[Touch CDMA Android Development] dzo:
Its probably a problem with your SD card, try reformatting it or use a different card.
[Touch CDMA Android Development] grktaurus83:
Just wanted to chime in and say that this build is working very nicely. I've toggle the connection on and off a few times and it seems that whatever you did to make sure the dns is set correctly is working nicely.

Thanks again for everything Martin.
[Touch CDMA Android Development] rjreptile:
Problem

I am having quite i bit of problems. I am hoping someone can help me. Please

1. no Camera

2. No Volume

3. No data

Info: I am on verizon( if that makes any difference).
[Touch CDMA Android Development] jim256:
Go through the entire OP in my android thread in my sig
[Touch CDMA Android Development] Thomas1218:
man this has really come a long way. i cant wait for this to get into its final stages. when do you think it will be finalized so we can use this to overwrite WinMo and just use Android?
[Touch CDMA Android Development] retrobits:
The newest build is working great for me. In android all day today, and my battery life is still reading over 50%. I think the android UI is perfect for operating with just a thumb, and the browser is over the top and now with on-demand internet. Thanks for great the teamwork to make this happen on the vogue ("best form-factor android device on the planet").
[Touch CDMA Android Development] neoxfl:
WOW Andriod Finally!!!

Thanks to Everyone!!!!!!!!Especially dzo

Finally I realized that it loads up my 256 mb card but not on my 8gb card. It needs fat16 formatting. Somehow my 8 GB card cannot be formatted to fat16.Does anyone know if MicroHDC can be formatted to FAT16 form? if Someone knows a trick please do post it here.

Thanks a lot, Android is great, waiting for full release to install in place of winmo 6.1

Great Job!!!!!!!!:)
[Touch CDMA Android Development] prodigy2m:
Format program by Panasonic.

Try using this Panasonic format program--it's free on their site

Click here

It should format to fat16 with fast format. I have 8gb card and it helped me format it.
[Touch CDMA Android Development] fraggy4:
So, now that almost everything works perfectly, I get a few more problems. When I boot up Android, the screen says something about tty control being off. I checked, and it is on under my settings. And I also cannot use the internet. I went under the wireless settings once Android booted, and went to network operator. It said error connecting to network or something like that whenever I hit search automatically. Any fix for this? For further help, I'm using a Verizon Touch with the latest official ROM update that upgrades the radio to 3.37.77 and adds Windows Mobile 6.1 and GPS functionality.
[Touch CDMA Android Development] neoxfl:
Sd Card Format

Thanks for the advice and website, unfortunatly it does format it back to FAT32 it does not have any options for FAT16? do you have the same software or diffrent version of it.

Thanks for the Help

:)
[Touch CDMA Android Development] exabrial:
Corrupt SD card

another dead card. Was working, then bit the dust without warning. (wtf?) I was running the previous release of the cab installer.
[Touch CDMA Android Development] bugmen0t:
Has anyone had luck getting maps to work on git base?

never
[Touch CDMA Android Development] grktaurus83:
Glad to hear it (a voice of reason), bugmen0t. Haha!

Give it up guys, you will never overwrite Windows Mobile with Android on the Touch. Seriously. The best you can hope for is that you will boot into Android and never have to reset your phone to go back into Windows Mobile.

If that upsets all of you that are hoping to erase Windows Mobile from your phones:

1) Why did you buy a Windows Mobile phone?

2) You can always try to create a flashing utility to overwrite Windows Mobile yourselves. Not sure what you're going to do if it doesn't work, though. I doubt Sprint or Verizon (or any other company) will be inclined to honor their warranty in such a case.

3) If this project isn't what you were hoping for, you can always ask for your money back. :p

Otherwise, be happy with what you have (I sure as hell am).
[Touch CDMA Android Development] jim256:
I just don't see why people are so anxious to get rid of it. I mean sure its not half what Android is...but it doesnt HELP anything to get rid of it. Who knows what one tiny function you might need that is specific to WM or something that you like about WM and WM only might be needed...

I mean I guess it takes up some ROM...big deal.

Bottom line...no one ever forces you to use WM.