yashsingh1/xdaforums huggingface dataset:
[Touch CDMA Android Development] vilord:
I'll revive mine tonight... tried to bring up a vmware player image on my work PC, but it crashed the PC...

Oh well, it needed to be refreshed anyways, tomorrow I'll be able to run VMware here.
[Touch CDMA Android Development] Dragnz:
I looked through a lot of the thread and couldn't find an answer for this so here goes.

Im running the 1.1 version and everything seems to work great except I cant download from the market. I can get to the market and I can browse the apps but when I try to download one the download always fails.

My internet connection works. Browser works fine and the apps i've installed manually that need internet (ie weather app) work fine.

Any help would be great

A quick thanks to all those who made this possible so far.
[Touch CDMA Android Development] f00bar:
I posted awhile back about trying to get the sapphire image to work. I eventually got it working in the emulator, only to find surfaceflinger crashes if the resolution is QVGA. Maybe you could get it to work on the vogue in HVGA using the mddi scaling; I stopped when I realized I couldn't use native QVGA since the software scaling gives me a headache. Another issue is it uses a modified RIL that seems not to be binary compatible with martin's.
[Touch CDMA Android Development] mssmison:
Would you be interested in sharing what you've put together for that so far? What did you do to get around the modified RIL issue to get it working for you?

**nevermind I think I found the last file you posted.**

**EDIT**

So using foobar's latest post (from a while back) I have the HTC IME working but it going to need to be resized to fit the screen. It's currently too big. Everything works great except the vibration on the keyboard and when the screen power's off it won't power back on.

Any ideas?
[Touch CDMA Android Development] vilord:
To get past screen poweroff not coming back, you need to go to an older kernel (zimage), I'm not sure how far back, but one from around 4/27 when f00bar's system image was posted should work.

To get the keyboard to fit on the screen, you'll need to use MDDI scaling, ie set the resolution to 320x428. Everything else will be rather tiny, so we'll need to undo what f00bar did to get everything smaller without software scaling (ro.sf.lcd_density in build.prop), which requires repackaging system or initrd. Once I finish cleaning up the yard I'll try to bring up my linux box...

mssmison, how did you get the libt9.so htcime.apk and Clicker.apk installed without an SD card or a linux box?
[Touch CDMA Android Development] vilord:
looks like we need a kernel update for VolD to work for 1.5...

http://git.omapzoom.org/?p=repo/omapkernel.git;a=commitdiff;h=31caedd87e1128b846b65b2c1561d964c1bc22df;hp=86be441d8700d9b09ea68b4300c74411cbf7649a
[Touch CDMA Android Development] mssmison:
k so using foobar's release dzo's kernel from the 04/24 release and setting hppi scaling in my config.txt I've got the keyboard working great. I agree though about it not looking the best, but it works.

. If the font setting worked in DZO's we'd be good but it doesn't.

**EDIT** nevermind data is good. just no google apps which I already knew about.
[Touch CDMA Android Development] vilord:
does data work for you in dzo's release? try modem instead of togga?

how did you install the keyboard without access to the SD card?

Thanks!
[Touch CDMA Android Development] mssmison:
I have access to my storage card, but I think the htc keyboard was already included in foobar's release you just have to enable it settings-locale and text
[Touch CDMA Android Development] vilord:
did storage card access just work for you, or did you need to do anything specific?
[Touch CDMA Android Development] mssmison:
Nope, just worked.
[Touch CDMA Android Development] vilord:
you have a regular SD card or SDHC?
[Touch CDMA Android Development] mssmison:
It's a regular card. I'll try sdhc tomorrow on my wifes vogue.
[Touch CDMA Android Development] mssmison:
So foobar messaged me and apparently there was no htc ime in his build. I guess when I saved my data.img from my previous attempts it worked. Sooo if you have a regular sd card just try and install the htcime apk and clicker.apk.
[Touch CDMA Android Development] hexto:
Just downloaded the latest kernel. Definitely faster and the volume while keyboard is up is definitely useful. :)
[Touch CDMA Android Development] katmandu421:
Man, I just don't get it. The new kernel starts fast, but for me it closes applications that require using the back button and ends up getting slower and slower over the course of the day. I have the sprint touch and have the max process per app set at 4. This has always given me decent performance with other kernels. I'm wondering if other people are experiencing this phenomena.
[Touch CDMA Android Development] zakkain:
The latest kernel is much faster, I haven't noticed any slowdowns.

But I was hoping it would fix my gmail app error, where it forces me to close it and it errors out every time. :(

It has been broken for many kernels now, is it my data.img or something else? Should I format the sd card and "reinstall" android? Aargh.
[Touch CDMA Android Development] mssmison:
So I just thought I'd update everyone with where I've gotten.

k so using foobar's release, dzo's kernel from the 04/24 release and setting hppi scaling in my config.txt I've got the keyboard working great. Compact QWERTY is a little slow on word completion but it works. Data works. Google apps don't work, I even tried setting up my google account on 1.1 and keeping my data.img but it didn't work. I ripped some more of the apk's out of haykuro's build and have the HTC album working. The SD Card is accessable through OI file manager.

THINGS THAT DON"T WORK:

So what's the drawbacks of this setup.

Well there's the vibration issue, this is the biggie. whenever a new text comes in or if I press and hold on the screen the phone just starts vibrating like crazy and doesn't stop until I press the end button. Let me tell you this KILLS the battery in a quick hurry. I left my phone in android last night and woke up to a totally dead batter cause a txt came in.

I'd really like the HTC Launch he demo'd in his video working but I've not figured out what other dependancies I need as of yet.

The camera doesn't work. Not that I'd use it cause the vogue camera is poo but it would be nice for others.

As well it would be really really nice if DZO's new kernel could be used with the foobar userspace, there's alot of benefits to all his hard work on that and I do miss them.

We need someone who know what they're doing to start working on the userspace. Foobar stated his stopped his development and DZO is focusing on the kernel.

I've asked haykuro if he could look into the vogue side and see if his userspace is compatible with DZO's kernel, but he's really busy with his own dev and releases.

Sorry this turned to such a long post.
[Touch CDMA Android Development] katmandu421:
I think that is what I am going to do. I got some goofy stuff going on here after changing out the system and initrd files from the 1.1 to f00bars 1.5. Like I dont get the lock screen (not pattern, but the regular "press menu" one) and my power down screen (long press end key) no longer has Silent mode as an option. Wierd. Hoping it will also help my diminishing performance over time. It looks like I'm the only one complaining about this so I'll start fresh.
[Touch CDMA Android Development] katmandu421:
No worries, this is a good state of affairs summary.
[Touch CDMA Android Development] mssmison:
vibrate update:

I was able to fix the issue with incoming txt's constant vibrating by disabling the vibrate notification in messaging. I tried installing SMS popup as it contains it own notifications. The test worked good and it vibrated normally, however now my messaging app isn't working any more. Good thing I now keep a copy of all the working files on my memory card in another folder.

**EDIT***

k I got sms popup working, I had an older version running which caused my issues. With the new smspop installed and disabling the messaging notifications I've been able to mostly alleviate the vibrate issue. Now when I receive an new sms it only vibrates till I hit dismiss on the notifyer.

Hopefully less battery power will get used.
[Touch CDMA Android Development] okcoolthnx:
Well I tried the new kernel and unfortunately have not had a good experience so far.

The sleep coma problem is back. Where the light blinks green in standby and there's no way to wake up the phone.

My phone after a full charge straight died overnight. Like to the point where I would turn it on and it didn't even have enough power to boot up windows.

The overall speed IS much faster, but with these other problems this build is useless to me.

HOWEVER, i'm going to start messing with the panel types in the default text and see what happens...

Thanks again DZO! You never cease to amaze me.
[Touch CDMA Android Development] okcoolthnx:
On a lighter note, i've also noticed that when I hit end to finish a call, it no longer goes....BEEP!!!!! Instead it just goes..beep. :)
[Touch CDMA Android Development] katmandu421:
If my logic is correct, the apps and all settings save to data.gz, and data.gz is around 64M, we have 64M with which to install apps. Is there an easy way (maybe with a linux box? I still have an ubuntu gutsy laying around somewhere) that we could create a 256 or 512 data for those that have 1G or higher cards (they're so cheap these days)? That way we would have WAY more storage. On 64 I can get most "must haves" but would really love a little breathing room in there with which to test and play with.

Cheers!
[Touch CDMA Android Development] vilord:
if you are using a large SD card, you can move your apps to the SD card and from the command line link the directories that apps get stored in to the SD card location. If you search around, it was done for the t-mobile phones, and the same method should work for our phones... just look for info on a2sd (apps to SD)

-Jesse
[Touch CDMA Android Development] tatnai:
You are not alone katmandu, I had this problem too using 1.1 and latest kernels. Don't know what the deal is with the later kernels, couldn't associate it with any particular programs, but I would have to restart every 12 hours or so because the system would really slow down. Almost seemed to me like the max process wasn't working the way it was acting.
[Touch CDMA Android Development] okcoolthnx:
Well i'm not sure what I did, but the build seems a lot more stable now.

Also, now that we can 'overclock,' how exactly do we do that? DZO? What's the fastest we can clock our Vogue's to without having it melt to our legs?
[Touch CDMA Android Development] zapat0s:
i think the only way to find out is to push it lol i dont think dzo has done extencive overclocking on his vogue lol especialy since if he breaks it he would be without a divice to develop and test with.
[Touch CDMA Android Development] okcoolthnx:
Haha, totally understandable. But what parameter do we modify to play with the clockage?
[Touch CDMA Android Development] grktaurus83:
Had the phone lock up on me today (wouldn't wake, green led).

I'm using the latest build with the command line parameters that dzo gave a few pages ago.

Just throwing out some extra info. I know someone tried to call me between the last time I checked my phone today (3pm) and when I found out it was locked up (6pm), so a phone call during sleep may be a cause for this.
[Touch CDMA Android Development] jaredakelly:
same here. i'm using the very first gpu kernal release and it works the best! try it out

i would love to know who has done this and how to. i have a 16gb card that i'd like to use!!
[Touch CDMA Android Development] creeeaature:
hey everyone, having some issues with my data connection. i'm using sprint and am opening a data connection before running android, i've set the username to 'username@sprintpcs.com' and left the password fields blank in my default config. data is a no go once i load up android, any suggestions?
[Touch CDMA Android Development] okcoolthnx:
If you're with Sprint, LEAVE THE DEFAULT CONFIG ALONE. It will work all by itself.
[Touch CDMA Android Development] zakkain:
I put the latest 1.1 on a fresh SD card (not the one I've been using), formatted anyways, and the gmail app fails. So that rules out my corrupted data file idea...something's up.

Any ideas?
[Touch CDMA Android Development] mssmison:
So I've tried some things over the last couple of days and thought I'd keep you all updated.

Using linux I mounted the system.img from foobar release and copied in the new files from haykuro's release.

I don't know if I wrote over some files that I needed but it wouldn't boot, using either the new kernel or the older one we use on foobars it just crashed at the initial gui screen.

I'll keep at it and let you all know.

**EDIT**

I went back and made sure that I had DZO's keymap and libreferences and it still didn't work. I'll try again tomorrow and go through it little by little.

**EDIT** Spent another couple of hours on it today. I just can't get it working. I don't know if I missing something when I'm converted the system folder back to a cramfs system.img but anytime I make any changes to system.img it stalls out when the andoid logo is booting. I've gone through everything short of getting the sdk and compiling my own. But than I know I won't be able to use the latest kernels. So I guess I lose on this battle. Hopefully someone else will pick up development of userspace.

Until then it's back to winmo I guess.
[Touch CDMA Android Development] mssmison:
I just thought I'd share this link with anyone who's working on a cupcake release.

http://andblogs.net/2009/03/want-your-cupcake-and-your-gmail/

It's a master snapshot with gmail and market working for cupcake. Also included in the post is a link to a vold.conf that will mount the sd card.
[Touch CDMA Android Development] dzo:
When you made the system image you probably go the permissions wrong, the android tools have a list of ownerships and permissions to apply to each directory and without this it just won't work. Easiest is just to use genext2fs like this:

/home/martin/droid/out/host/linux-x86/bin/genext2fs -d /home/martin/android/system -b 80000 -a system.ext2

mount -o loop system.ext2 /mnt/system

mkfs.cramfs /mnt/system system.img

umount /mnt/system

Obviously, you need to compile at least part of the source to get genext2fs.

Martin
[Touch CDMA Android Development] swmirage:
USB tethering w DZO's Android 1.1, chroot Debian & OpenVPN

Thanks to dzo and all others involved, for the great work bringing Android to HTC Vogue. I'm using a Sprint Touch, and it's very solid.

I managed to install a Debian chroot on my Sprint Touch. I used DZO's latest Android 1.1 build, and followed these instructions : http://www.saurik.com/id/10

(Note: those instructions are for installing Debian chroot on a rooted G1. If you follow them verbatim on your Vogue, it won't work. All you really need is his busybox and his Debian IMG file. Copy these to your SD card and mount as per that part of the instructions. Modify the paths accordingly to where you saved the files, and use your brain. Don't try this if you don't know what chroot is or if you're not an experienced Linux user :-D )

Anyhow, the reason I installed the Debian chroot was to get OpenVPN running on my phone. The point was to create a VPN between my laptop and Android and tether through USB networking.

If anybody else wants to try this, you're going to need to compile your own kernel, as DZO does not include TAP/TUN drivers, and OpenVPN needs that to work.
[Touch CDMA Android Development] aven_soulgazer:
Does overclocking it void the TEP plan I have with Sprint or is there anyway they could tell? I'm on at least my 7th phone replacement for different reasons. Two have been the charging/syncing port has quit working, a couple of screens screwed up. I'd be willing to give it a shot.
[Touch CDMA Android Development] Dragnz:
So I just tried the newest release and when i run the haret file i get the load bar then the screen goes to a white flashing screen. I think it boots all the way into android because my light at the top starts flashing red but all i see is a white flashing screen.

Any one have any ideas ?

I have the newest radio. I am running windows mobile 6.5 could this be the issue ?

Im on sprint if that matters also

EDIT: never mind i finally found a post about changing the board set to 3 and that seemed to work. Thanks all for your great work on this !!!!
[Touch CDMA Android Development] aven_soulgazer:
I downloaded the latest version of 1.1 and changed the default-vogue.txt to default.txt and it won't boot up. This time it is stuck at

"Please wait...extracting DataImage

rm: cannot remove '/sdcard/data.img': No such file or directory"

I've deleted everything and started over several times and keeps freezing up at different points.

edit:

retry, change panel type to 3

"gzip: can't open '/sdcard/data':file exists

Failed

Failed to extract Data Image

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

#

"
[Touch CDMA Android Development] Spalla:
Is 1.5 available for the Vogue yet?

and how do you get internet working???
[Touch CDMA Android Development] zakkain:
It is but it is very buggy.

Use the Togga app.

NOTE: It might only work if you open IE in winmo before booting into android. That's how it is for me.
[Touch CDMA Android Development] Anarchj:
with Android 2.0 it will be simple to port for vogue, because it will support other resolutions and phones similar to vogue. :)
[Touch CDMA Android Development] zkush:
change panel type back to 0 and rename data.gz to data.img.

if that doesnt work change panel back to 3 and just change data.gz to data.img
[Touch CDMA Android Development] aven_soulgazer:
With panel type 0 I still get blinking white screen after changing data. With panel type 3 it's still stopping at

"

Failed to mount /data

/bin/sh:can't accesstty: job control turned off

#

"

edit

Changed default-vogue.txt to default.txt and gets to

[ 3.346355] mmablk0: p1

and stops

I'm sorry. I had it working before, my phone com port messed up and wouldn't charge and got a new phone, and now I just can't seem to get android to work anymore. It is still an HTC Touch though.
[Touch CDMA Android Development] mssmison:
So I installed Debien tonight and compiled myself a cupcake system.img with the htc keyboard built in. I tried using the vold.conf that I posted earlier but it doesn't mount the sd card (because of the kernel I guess). Same thing as before. OIFilemanager can see the SD card but no apps can. I didn't try getting the market running yet and the long vibrate from foobars build is still there.

Can anyone help me figure out the long vibrate issue? On long screen presses or any SMS received it won't stop vibrating until I press the end key.

Oh and thanks DZO for ALL of your patience and help.
[Touch CDMA Android Development] zkush:
hmmmm im not sure. i hate when technology doesnt work as expected
[Touch CDMA Android Development] katmandu421:
Help me out here, will this technique work with our build?

http://code.google.com/p/android-roms/wiki/A2SD

It looks to me like it is for a specific ROM based on 1.5. I may try for fun tonight, partitioning my card and running the commands. Anybody gotten this or something similar to work on our 1.1?
[Touch CDMA Android Development] mssmison:
So, I have no idea why but all of a sudden my vibrate issue is fixed. I haven't done anything but revert to my old data.img file to get access to some of the apps I had downloaded in 1.1 and it works. I can long press, with no adverse effects, and have the haptic feedback enabled on the htc keyboard and everything is working good there as well.

I'm going to mount my data.img when I get back to my dev system tonight and see if I can replicate it on a fresh data.img file. I'll get back to everyone later.

On a side note, when I made my system.img I included the media folder but I have no ringtones or notifications in android. The list is just empty. Any idea what folder/file I was missing?

This just leaves the panel power off issue and google apps. I'm pretty sure I've figured out how to get google apps working, so I just need help getting the panel to be able to power back on using the latest kernel.
[Touch CDMA Android Development] Ideal2545:
not sure if it matters, but here is the officially signed 1.5 android release:

https://android.clients.google.com/updates/partner/signed-kila-ota-148830.de6a94ca.zip
[Touch CDMA Android Development] vilord:
Did some digging in the G1 system folder above, I think that some creative combining of this system folder and the system.img we got from f00bar, we should be able to get a few more stuffs working :)

Some things came up so I haven't had time to work on it, been stuck to my 1.1 release for now... *hopefully* next week I'll be able to devote some hours to it, but otherwise mssmison, you're doing great!
[Touch CDMA Android Development] vilord:
This is exactly what I had in mind.

Once you have a fully working /sdcard folder, you should easily be able to create a folder on the SD card called apps and put in a symbolic link for apps to point to /sdcard/apps.

You don't have to do any rooting or anything, just go to development tools -> terminal and type "su" and you are root.
[Touch CDMA Android Development] mssmison:
you know what I was wondering. Would it be possible to have another .img file and have the kernel mount it as the sdcard? This would fix the sdcard issue in 1.5

And just so everyone knows, the haptic feedback REALLY slows down the ime app. It still works it's just slow.

If someone can tell me how to remove my personal data from a data.img file I'll post what I've got so far later tonight.
[Touch CDMA Android Development] katmandu421:
Well I partitioned my 2G card tonight with Gparted on my linux box. Split it up equally and formatted the new space with Ext2. Fired up the terminal from Android and the dir that was supposed to be there, /system/sd, was not. Doesn't look like it mounted. Anyone else give it a go with different results?

UPDATE: I think I may have found it. Would it be named /sd2?
[Touch CDMA Android Development] refthemc:
Good luck with everything guys
[Touch CDMA Android Development] mssmison:
So I've gotten as far as I can get with cupcake. I have a working system.img that includes google apps and the htc ime. Anything requiring the sdcard will not work, and the power collapse feature will not work with the new kernel, however the new kernel is required to have vibrate functioning correctly as well as the overclock is pretty much needed to use the IME effectively, and even then it's slow when prediction and vibrate are both enabled.

The last issues with cupcake (and probably 2.0 when it comes out) will be resolved through the kernel work that DZO has been doing. Keep up your great work! I'm going to move away from Android again for a while but I'll keep an eye on kernel dev. :)

Thanks everyone for all your help.

Craig
[Touch CDMA Android Development] Ideal2545:
Can you post your files please?

Thanks,

Jon
[Touch CDMA Android Development] vilord:
Martin, do we need SYSFS_DEPRECATED for mountfs to work in android 1.1?

If not, can we remove it from the vogue_defconfig?

ref: http://git.omapzoom.org/?p=repo/oma...f;hp=86be441d8700d9b09ea68b4300c74411cbf7649a

-Jesse
[Touch CDMA Android Development] cubs3205:
Hi, I just put the latest android for the vogue on my SD card. However, when I run haret and it is booting, it says it can't find system.img though its clearly on my SD card. It says "job control turned off" or something.

Any help? Thanks!
[Touch CDMA Android Development] dzo:
Yes, it is needed for 1.1 (a quick test failed to boot anyway). I think I will try to move to 2.6.27 for 1.5 and have 2 trees for the two builds. I've been busy at work recently so haven't been able to do much, but our semester has finished now so hopefully I can put some time into getting 1.5 working well.

Martin
[Touch CDMA Android Development] Ideal2545:
zomg a dzo 1.5 release! I cant wait.