yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] katmandu421:
FYI: You should be posting this kind of stuff on the help desk thread. There hasn't been much traffic there lately and I see these "how do I..." posts popping up here again. This thread is for the smart people like Martin to collaborate on adding new functionality (like GPS, that is not yet supported - for the post above) and communicating new releases, etc. If you are not a contributing developer you should just be a fly on the wall here. Even bug posting has it's own site now.

For your questions: Go into winmo and change your setting to not auto update or sync, then, in winmo still, change your time zone to 0:00GMT (Casablanca). Boot Android and set your real time zone and time.

Thanks.
[Touch CDMA Android Development] f00bar:
Very nice. It might be wise to just include -a INPUT -p tcp --dport 23 -i ppp0 -j DROP by default.

I have an image now with cupcake (new keyboard etc) *and* all google apps working in emulator. I'll check to see everything works OK on vogue and then post an image later tonight if all goes well.

Something to look into now that we have USB -- does kexec work on ARM? (kexec is like linux HaReT). If so, it would be nice to enable it in the kernel, and add some stuff to the initrd to allow for updating android from android. (e.g. just a simple script to set some flag that says "replace the images on boot" and kexecs the new kernel)
[Touch CDMA Android Development] jaredakelly:
keep us updated!

*crosses fingers*
[Touch CDMA Android Development] tortuous801:
Thanks for the info!
[Touch CDMA Android Development] Ideal2545:
If you need some hosting besides one those mediafire or rapidshare links let me know, i got tons of bandwith and im not using any, just drop me line jon@jonsingh.com - if you send the attachment just rename the zip or rar, to .jpg stupid gmail domains doesnt alow any exe's in their archive emails
[Touch CDMA Android Development] neach:
same deal, i've got a private domain with all kinds of bandwidth i'm not using - just give me a holler and i'll host :)
[Touch CDMA Android Development] f00bar:
Don't have time to keep working on it. If anyone else wants to give it a shot, here are the files:

http://www.mediafire.com/?sharekey=92fef1c595b7f06808f8df73f2072ed6e04e75f6e8ebb871

The application tray shows up as empty for some reason, and programs like ls and ps segfault.. very strange.

EDIT: the apps all started showing up. not sure what's going on -- it seems to be working now but I think it's probably pretty unstable.

also, this is intended to be used at 320x240. A couple of things looked jammed together but it's decent -- if something you need doesn't look right, you

can raise the resolution and raise ro.sf.lcd_density in build.prop.

2nd EDIT: Looks like everything is OK, but you will need to run /toggle.sh as root. Togga is broken since apps can't just trivially su to root anymore.
[Touch CDMA Android Development] Ideal2545:
awesome, gonna give it a try now
[Touch CDMA Android Development] neach:
so far so good - from what i can tell, you need to make sure your android apps folder is empty, as apps like power manager just crash on boot.

i also needed to reboot for the app slider to show up, but its no big deal

just need to get the net connection working now.. i can't seem to su to root
[Touch CDMA Android Development] neach:
just as a follow up, one bug i noticed is that using a long press to move any icons / remove icons from the desktop causes the vibration to stay on. if you power off your screen & power up again, it'll stop vibrating.

anyway, i still can't figure out how to get root happening... all the info i can find requires telnet, which i can't do, as the phone doesn't have an ip.

i'm sure its simple, though :P
[Touch CDMA Android Development] Ideal2545:
well i dont see the apps popping up yet.. but probably through the termainal app if its still there?
[Touch CDMA Android Development] Ideal2545:
yeah cant su through the termainal app under dev tools either... any idea how we maybe able to get our internet back up and running again? the old way of launching pie first doesnt seem to work anymore... QQ
[Touch CDMA Android Development] f00bar:
open blue keyboard with cam button, press SYM then 0 to get root shell. Type /toggle.sh, then SYM 6 to get back.

Also, phone does have an IP through USB. In my initrd I set usb interface to 192.168.2.1 and start telnetd (only listening on that interface so it's safe to leave running). You can just plug in USB and telnet to that IP (root/vogue) to debug.

EDIT: one other thing for security, you should probably turn off ADB ("USB Debugging" or something in the menu). It binds a shell (which requires *no* authentication) to port 5555 on all interfaces. This is not something specific to cupcake and is an issue in any build you use. It seems to only support binding to all interfaces; I'll modify it to only bind to 192.168.2.1 and post a new initrd at some point (also hopefully will fix root/su issues).
[Touch CDMA Android Development] neach:
thanks for the tip - the command works, and it starts looking for ppp, but it also seems to dial 086-445-374... which doesn't seem to get anywhere.

also tried #777 just for kicks, but that doesn't work either. i didn't think it would though
[Touch CDMA Android Development] jaredakelly:
android for some reason rebooted the other day and made me uninstall and then re-install some programs to get them to work. i had to re-install a note taking app i had that had some notes in it that i would like to have back.

is there anywhere these were saved that i could retrieve? data or system files?

and also how do i backup everything so that this doesn't happen again?
[Touch CDMA Android Development] neach:
yet more followup, the toggle script is working for me now - i rebuilt the sd card and its all good. it seems to be a bit picky sometimes, but regardless - working is working... hehe

i'm having an issue with the google login service not being able to reach its server, and the email app seems to be force closing on me every time it wants to connect to download settings. so for me, i'm not able to get my contacts to sync, or use the marketplace yet.. i'm going to keep fighting with it though.
[Touch CDMA Android Development] f00bar:
Alright, I fixed the internet connection and su issues. You can use /bin/su to get root again from the terminal.

Get the new initrd from below. Also, you will no longer use "Togga". Instead, I bring you "Modem"; get it from same place below, and put it in /sdcard/AndroidApps.

http://www.mediafire.com/?sharekey=92fef1c595b7f06808f8df73f2072ed6e04e75f6e8ebb871
[Touch CDMA Android Development] njakobs:
Hey f00bar,

new version works great, modem does the trick.

Just 2 problems so far

1)When vibration kicks in it wont stop. (End key to turn off screen stops it)

2)Android does not recognise the SDcard is present.

Cheers

Nigel
[Touch CDMA Android Development] neach:
the modem .apk seems to be broken on mediafire - gives invalid token id or something :) proabably just need to reup
[Touch CDMA Android Development] f00bar:
strange, I'll look into it. Camera is not going to work, some things changed in cupcake and there were some conflicts with dzo's camera change -- hopefully he can post a diff updated against latest source soon.

here's another link..

http://rapidshare.com/files/220169495/Modem.apk.html
[Touch CDMA Android Development] neach:
Still having issues with google login. Any ideas?

Also, calc seems missing...
[Touch CDMA Android Development] njakobs:
I had the same issue with google login not working when I used a new data.img. So I just used my old data.img from Dzo's version and everything worked fine. So as a work around you could load Dzo's version login to google. Then use that data.img with f00bar's version.
[Touch CDMA Android Development] njakobs:
Hey f00bar,

Couple more things...

1) When "modem" is on I can not recieve phone calls, as soon as I turn it off I can.

2) Not a biggie but there are no ringtones in the system.img

Cheers

Nigel
[Touch CDMA Android Development] neach:
lol, so that's why my phone wasn't ringing last night ;)
[Touch CDMA Android Development] aross6:
I'm also experiencing vibration kicking in and not stopping unless End key is utilized to turn off screen & cannot recieve phone calls when Modem is used... other than that Android seems to be running very very well on my Vogue (using my Data.img from DZO's release)!!!

EDIT: Strangley enough when Modem IS ON if I tried to call from my house phone to my Vogue using Android I could hear 4 rings in the house phone earpiece and then it would go to voicemail; opposingly, if Modem IS OFF and I tried to call from my house phone to my Vogue using Android it would just go straight to voicemail... very very weird and either way my Android phone Does Not show incoming call.

If these issues were fixed and we could find a way to save Max Processes to 4 between reboots I think Android on the Vogue would be fairly usable for day-to-day usage!
[Touch CDMA Android Development] tatnai:
Have 1.1 working with internet using "modem", google apps work, marketplace works. set board panel to 3, no more screen wakeup issues with offset screen. Works really well, besides battery issues (shuts down automatically, windows says 30% battery left), and can't access storage card (terminal /bin/su did not do it - was this supposed to get me access to storage card? it did dial a number, though). Strong work, thx f00bar for the modem app, thx dzo and f00bar and all others for all the hard work. When GPS works, I may have to abandon WM - the apps on Android are sweet.
[Touch CDMA Android Development] f00bar:
er, that app is for my system.img, not the 1.1 build. Modem.apk is only going to work with my initrd.gz... I'm not sure if that will work with 1.1
[Touch CDMA Android Development] neach:
yeah, so using dzo's data file after it was set up with your google account works great - contacts, cal, market all work perfectly. on screen keyboard works beautifully.

as for the screen vibration - it seems to happen with any app that uses haptic feedback (i tried a calc program, same deal). its not a big deal though, because you can either turn the setting off in the app, or turn the screen off, and it goes away.

the major problem now is that with modem on or off, i can't recieve any phone calls. the line rings, but there is no notification on the device itself. it seems to have the same problem with text messaging. you can send calls and texts just fine though.

baby steps each time, but its getting there. gps is really the only other major thing i'm hoping for... tbh, i can't remember the last time i've even used the camera, so i couldn't care less about that.

also, even if i use the data file from a 1.1 install, all my apps transfer over, but the calc program is still missing... and 3rd party ones won't work due to screen scaling.

thanks for your hard work!
[Touch CDMA Android Development] katmandu421:
LOL, I think many of us here have been running Android for daily use for many months now! The small boot setup steps are a small price to pay for the better OS.

Cheers to all who have contributed!
[Touch CDMA Android Development] aross6:
I agree that the Max Process and Vibration issues are no biggies, but the No Incoming Phone Calls issue is one that definately needs to be fixed before Android can be used as a "daily-driver" for the Vogue...
[Touch CDMA Android Development] f00bar:
not too sure about the phone/data issue -- I thought for CDMA calls are routed to voicemail anyway when a data connection is open. I didn't change anything in that layer; maybe dzo can comment if he sees this.
[Touch CDMA Android Development] katmandu421:
Oh, for sure. But these issues are limited to the latest development build. If you haven't already done so, try the 1.1 release on Martin's website from around February(?)
[Touch CDMA Android Development] aross6:
Phone calls do not work on your release regardless of whether data is employed or not... just an fyi for debugging purposes...
[Touch CDMA Android Development] aross6:
That is what I was previously using but the native 240x320 resolution of this release is sooooooooo much nicer...
[Touch CDMA Android Development] dzo:
Most of the time when an EVDO data connection is open you should still be able to receive calls. If the connection is actually transferring data, then a call will go to voicemail though. I don't know if this is the same with 1X but it probably is, and is the same under Wince, (they just don't tell you about it).

I'm having a look at getting pcm sound input working, shouldn't be too hard.
[Touch CDMA Android Development] neach:
i dont recall the problem being there before initrd was updated - maybe the problem started there?

judging by what dzo said, the modem app must be keeping the data connection active, not letting it into an idle state. this makes sense as to why calls go directly to voicemail when the modem app was running. as for no notifications when modem is off - i havent got a clue. what exactly was changed since the last cupcake release... why exactly was togga discontinued? was it just for an updated initrd? if so, maybe the problem lies there...

just throwing some ideas out there ;)
[Touch CDMA Android Development] sp1kez:
hey I use cricket with my verizon HTC TOUCH

cricket uses a proxy for internet and only port open is 8080

I put #@mycricket.com and the password int he default.txt file but when i open the android browser it doesnt connect....help?
[Touch CDMA Android Development] f00bar:
I'm not sure what the phone issues are then. I didn't change anything in the telephony stack. The only difference between Togga/old initrd and Modem/new initrd is that setupmodem.sh previously would start up, check for a file left from togga, and then go to sleep. To connect/disconnect, togga would drop a file in the right place, and then kill setupmodem.sh so it would see it after restarting. This doesn't work in cupcake since setupmodem.sh needs to be root to configure networking, and togga can't kill an app running as root anymore. I got rid of this strange ritual and implemented it the correct way -- setupmodem.sh creates a publicly accessible control FIFO and then listens for messages on it; "Modem" connects to the FIFO and sends it messages.

The actual contents of the setupmodem.sh script are the same as before...

You could try using an old initrd.gz and (if it even boots), see if the phone issues you describe arise after using /toggle.sh to start networking. I'm pretty sure they will still be there.
[Touch CDMA Android Development] robobeau:
I know this probably doesn't need mentioning, but in case you guys didn't hear... :)

Apparently they released an SDK for 1.5...?

http://android-developers.blogspot.com/2009/04/getting-ready-for-android-15.html
[Touch CDMA Android Development] neach:
i seem to recall accidentally having an old initrd on my phone after i updated to your version, and was having problems with running toggle.sh, and yeah, just hangs at the android screen.

I'm having a hard time remembering if everything was working fine before you updated to the last initrd and modem.apk.... does anyone have those files still? if so, can you test it out before/after running /toggle.sh to see if incoming calls and texts come through?
[Touch CDMA Android Development] neach:
search is your friend.... ;)

i'm 99.9% sure that nobody has found a way to get a net connection working with cricket, even fiddling with proxies, etc.

sorry :(
[Touch CDMA Android Development] Homeylarry:
new video

could someone with a vogue (preferably verizon's) post a more recent video of apps and such working on this phone? the earliest ones are from january and those are not very good ones (show scrunched screen etc...) thank you!
[Touch CDMA Android Development] drprince89:
I am trying this for the first time today. Thanks for the thread ive read alot of it. I still dont understand the modem app that f00bar made, is there any specific reason i should use that over togga and also how exactly would i install it?
[Touch CDMA Android Development] neach:
they do the same thing - just the modem app does it properly.

togga would be the easiest to use, but modem.apk is not hard either.

just install dzo's 1.1 release as normal, and if you want to use the modem app, download f00bar's initrd.gz and modem.apk.

you'll need to create a folder in the root of your sd card called AndroidApps, and put modem.apk in there, and then replace initrd.gz with f00bar's.

personally, i dont really see it being worth the trouble to replace it, but that's just me. i'm just keeping my fingers crossed for the cupcake release to be able to recieve calls again ;)
[Touch CDMA Android Development] drprince89:
thanks for the info, do you know what the significant improvements in cupcake are? I don't really like the current keyboard, and otherwise my only problems have been GPS and the barcode app not working, which i can deal with.
[Touch CDMA Android Development] neach:
biggest deal with cupcake is the keyboard - it has a native on screen keyboard that works great
[Touch CDMA Android Development] dzo:
I just made some changes to how vsync works (for display refresh), it was using a timer before, now it uses the correct gpio interrupt. Seems to make things much smoother. There's a kernel at:

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

Works on at least vogue and kaiser.
[Touch CDMA Android Development] neach:
i definately notice a difference with how quickly the console scrolls at the start, and how smooth the transitions from screen to screen are.

looks good!

you mentioned the other day you were working on something regarding pcm audio - what is that for, exactly?
[Touch CDMA Android Development] Ideal2545:
Martin,

Is this zImage working with the new modified cupkake branch(that cant recieve calls), or is this ment to work with your 1.1 release?
[Touch CDMA Android Development] d3mon187:
I figured I'd make a new video when Dzo releases the 1.5 build. I just got a new HD video camera, so the video should be much better this time! :D
[Touch CDMA Android Development] neach:
i'd assume he only tested it with his 1.1 release - thats what i'm using it on now, and it works great.

having issues with marketplace not coorporating, but it does that every now and again. a reboot should fix the problem
[Touch CDMA Android Development] okcoolthnx:
Sweet. Much needed visual speed improvement. Thanks again, you're amazing.
[Touch CDMA Android Development] Homeylarry:
sweet sounds good
[Touch CDMA Android Development] Drumcoded:
Massive improvement, especially with the browser redraw and scroll. Pages now display faster and less stutter while scrolling.
[Touch CDMA Android Development] dzo:
I just put a new complete build on my site, it has the latest kernel and initrd. 1.1 only right now, since I don't think 1.5 is quite ready for everyday use. The initrd also has a fix that saves power (at least for me) when you disconnect data.

I'm trying to track down a crash that happens very rarely when resuming from power collapse, it may or may not be fixed and happens about once a week to me so is hard to pin down. If anybody finds their phone stuck with the screen off and the led flashing green can you post something so I know it's not fixed.

Thanks,

Martin
[Touch CDMA Android Development] zapat0s:
The new screen zsync setup works great.

One thing i noticed however is that when you're typing on your keyboard (the blue one) the screen flashes white when you press a key (makes it kinda hard to know what key you pressed)

Im using the new build you put on your site.
[Touch CDMA Android Development] njakobs:
I would agree that 1.5 isn't ready for everyday use. But I have been using f00bar's version for the last few days and don't think I can go back. Even though I can't receive calls when data is connected. Even though there are no ringtones in it. Even though market doesn't work at the mo, or syncing of contacts (thanks google!).

All the little changes that have been made for 1.5 are just magic. Everything just works and flows that much better.

Cheers

Nigel
[Touch CDMA Android Development] f00bar:
Market should work -- do other google services (e.g. gmail/calendar) work?

Ringtones -- it looks like there are none in the SDK. I think you could probably just copy them from the other image.

It is indeed pretty buggy at this point though -- maybe the version in the 1.5 SDK would work better. Google login doesn't seem to work in it though.
[Touch CDMA Android Development] njakobs:
Market works, but you can't download. Google has stopped access for 1.5 builds. Not sure all the ins and outs. HTC versions of 1.5 apparently still work, refer to G1 forum on this site.

For me calendar and email work. But my contacts won't sync.

Would be good to see a version based off the 'H' builds avalible for the G1.
[Touch CDMA Android Development] scirio:
After months of watching this project I now have "Latest Cupcake Version for HTC Vogue, Kaiser, Polaris and Nike" running and I like it but I don't see a few things that I think are obvious to others. I'd like help on finding:

Where is the Android Market?? Everybody seems to be accessing it just fine, icon somewhere?

Is that "Togga" app what you use to log on to EVDO and get online in other apps? Seems to be what it does, I get no internet until I run that and click connect...

Where do I log in to Google so that it retrieves my mail, enables chat, gets contacts etc. Does it even do this?
[Touch CDMA Android Development] katmandu421:
Personally, I would suggest running 1.1. The latest cupcake still has some issues that affect core functionality, like getting calls.

1] The Android market will be located in your program "drawer"...the little tab on the bottom of the home screen, drag it up to reveal your programs

2] Togga enables the data connection that can then be used by any app that has the proper permissions

3] The first time you boot Android you should be prompted to login. If you boted and you didnt see this I'm not sure what to tell you. There is a "Google login service" in the Program "Dev Tools" Located in the drawer, but I've never had to use it. wouldnt hurt to poke around. And yes, after you login to google, your calendar, email and contacts should be synced. You can change what you would like to sync by going to Settings>Data Synchronization

Hope this helps and you are able to benefit from the great work by Martin, F00bar and the rest of the community!
[Touch CDMA Android Development] zapat0s:
I made a short video showing the vogue booting and starting up internet. I might make another showing the google apps and stuff.

Im using DZOs brand new 1.1 build you might be able to see how much smoother the scrolling is in the video.

(sorry about the shaky video)

http://malicious-sys.com/vogue/vogue.mov

edit: here is another video

http://malicious-sys.com/vogue/vogue2.mov
[Touch CDMA Android Development] etiger13:
just popping my head in to say i have a touch again. i missed android so much i sold my touch pro and bought a vogue... should see stuff from me soon...
[Touch CDMA Android Development] silex:
That's amazing you did that! I'm starting to mess with it right now myself.