yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] zzoinks:
Java and ADB

Anyone get Java running? I installed the apk from the zip in the first post but it force closes every time. In searching for an answer, I came across several references to this:

http://home.leakdroid.com/2009/08/java-app-for-android/

According to that you need to push some stuff to the phone using ADB. I installed the SDK, downloaded/installed the USB driver, etc. but it won't seem to recognize my device. The phone sounds alerts and says that USB debugging is enabled, but ADB doesn't see it:

C:\android-sdk-windows\tools>adb devices
List of devices attached

C:\android-sdk-windows\tools>

The PC I'm using is an old Windows XP laptop since my main PC has Win7 x64 and I thought that was unsupported. My laptop only has a USB 1.1 port... could that be a problem? Any insights into either getting ADB running or getting Java working? My end goal is to try and use Opera Mini Beta 5.

Thanks,

-Brett.
[Tilt, TyTN II, MDA Vario III Android Development] robuser007:
I get the installation menu, and then I get formatting and then a bunch of errors (using fat32) and then back to installation menu and then showing a lot of errors doing nothing more.

Edit after a reboot it worked.
[Tilt, TyTN II, MDA Vario III Android Development] robuser007:
It doesn't work here too.
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
j101399j you rock, man. Better than I ever could have said it. Added to the first post!
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
Very welcome, I'll update as this goes along.
[Tilt, TyTN II, MDA Vario III Android Development] mysteryvortex:
Swap and lcd.density

Awesome build, two questions:

Is it possible to get my swap partition automatically mounted on boot? Maybe there is proper place I can put a new or edit an existing script and add "swapon /dev/block/mmcblk0p4" I'd rather not go blindly hacking up init scripts.

I like to run 320x480, lcd.density=160. I set this on the command line (verified by checking /proc/cmdline) but lcd.density doesn't have any effect. (verified by "getprop|grep dens", "[ro.sf.lcd_density]: [120]" )

Thanks for including bash!

-Mysteryvortex
[Tilt, TyTN II, MDA Vario III Android Development] JacenSolo2001:
I love poly's work, after this install everything i do is like slow motion (on a tilt), wondering if i can use the eclair post that runs so fast in conjunction with this one?

GPS is showing me in Savannah, Georgia (I'm outside of Dallas, TX)
[Tilt, TyTN II, MDA Vario III Android Development] Adler87:
Awesome build!!

Having a strange problem, in this build I am always on roaming. My network is bell in Canada but I can only seem to see Rogers. Any ideas?
[Tilt, TyTN II, MDA Vario III Android Development] wzzp144:
question!

So if i start from fresh meaning making the fat32, ext2, ext2 partitions then i got into installer and press system.imd to ext and data.img ext so when it askes me to clear stuff twice do I press YES TO BOTH?
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
Hey poly, I have this running successfully from nand if you dont mind me posting the files...
[Tilt, TyTN II, MDA Vario III Android Development] dyetheskin:
i prefer nand,faster when its in internal storage plus it doesnt decrease the life of your memory card
[Tilt, TyTN II, MDA Vario III Android Development] mysteryvortex:
I set all the vm parameters according to how they were set in the dark themed eclair build, and the performance improves a lot. (I'm running off sd card partitions)

Here's some step by step if you want to try it. I haven't looked at the init scripts to see where I could throw it, maybe somebody will have a good suggestion. (replace /dev/block/mmcblk0p4 with where ever your swap file/partition resides if it is not the fourth partition of the sdcard)

Values were taken from eclair.user.conf, use shift - left soft key for the '|' character. (I couldn't find '>' on the keyboard, so I abused tee)

From the terminal:

su

swapon /dev/block/mmcblk0p4

cd /proc/sys/vm

echo 0|tee swappiness

echo 0|tee page_cluster

echo 5|tee laptop_mode

echo 3000|tee dirty_expire_centisecs

echo 1500|tee dirty_writeback_centisecs

echo 3|tee dirty_background_ratio

echo 5|tee dirty_ratio

echo 200|tee vfs_cache_pressure

echo 1|tee overcommit_memory

echo 80|tee overcommit_ratio

-Mysteryvortex
[Tilt, TyTN II, MDA Vario III Android Development] slapadabass:
Can't get into installer after initial install

First, I am ruined forever by poly's brilliance - the problem is now I SOOO want a stable everyday Android build on my Kaiser (Tilt).

I immediately snapped up the 2.1 alpha 1 release, followed directions, and managed to install to a partitioned SD card. Got everything up and running, with data, wifi, GPS/nav (using GPS kernel - though very intermittent GPS lock). Seems much more stable, though for me it is also way slower than the last build.

My major problem now is I can't get into the installer again to apply the updated HW3D kernel. I change back to the non-GPS default.txt, and run Haret. First weird thing is Haret takes a LOT longer to run and exit WinMo than it did the first time -- like 30 seconds compared to 10. Next is I can't get into the installer. I hold down camera button same way I did on original install, but I get to "Welcome to Android" and then a bunch of error messages (will try again and write some down).

Is there any way to manually swap in the new zimage as in previous method rather than running an update in the installer?

Thanks very much for all the hard work.
[Tilt, TyTN II, MDA Vario III Android Development] carcomp:
Has anyone noticed that the first "run" of the new release is really slow, and you get a lot of force closes, but after a few 'activations of different things' like the phone, or the menu, it speeds up?

Why is this?
[Tilt, TyTN II, MDA Vario III Android Development] wzzp144:
wont install right!!

Okay i did system.img ext2 and data.img to ext2 and pressed YES to clear both PROMPTS. then it said formatting then came back to the installer screen then i press quit after it starts showing up the scripts then it just stops it for a long time then finally after a very long time the nexus boot screen comes up but it runss sooooo slow and runs forever. i eventually had to take battery out. Please help me everytime it does this
[Tilt, TyTN II, MDA Vario III Android Development] polyrhythmic:
You should wait about 5 min after first boot, the media scaner scans all your drives and a lot of things get optimized. Plus if your first boot is not 3d kernel that is slower too.

@loserskater: I have one more update coming in the morning that fixes init, vm settings and swap. Please wait for that. Thanks and I will appreciate the contribution!!
[Tilt, TyTN II, MDA Vario III Android Development] slapadabass:
slow then fast, then slow again (sometimes)

For me it was very slow to begin with, then (as mentioned) sped way up (very fewer FC's on this build for sure though), but then on some things it's still very slow, like going back to the Home screen. Been running it for the past 12 hours or so, and have also had 3-5 complete screen freezes, requiring hard reset (one was using Nav). Was psyched because Nav started out working great, voice and all, then started frequently losing GPS, then locked completely. I know my radio gets good GPS lock because I run an SD version of Garmin in WinMo that gets excellent GPS signal in the same areas I was driving.
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
Just an FYI;

I used to run a resolution of 320X480X120 (mainly because of Market) but it seems the lcd.dynsity does not do anything anymore. So I have been playing with screen resolutions all day to find a good match. I have found that 250X340 is very close to 240X320, but everything spaces correctly, like the dialer. Unfortunatuly I can't get abd or DDMS to work or I would send a screen shot. Here are the other resolutions that I tried if anyone is interested

240X320 - Too big

250X360 - Just right

280X400 - Semi small

300X440 - Too small

320X480 - Way too small
[Tilt, TyTN II, MDA Vario III Android Development] wzzp144:
V O G U E A N D R O I D /bin/sh: cant access tty; job control turned off ' # [240.195

okay i get this message after i install it then press quit

V O G U E A N D R O I D /bin/sh: cant access tty; job control turned off ' # [240.195.102 enabling adbfunction

.......

............

.......

set volume of 256 to 5

then it stops

any ideas ....
[Tilt, TyTN II, MDA Vario III Android Development] xxaznxx27:
i was able to get through everything except the end. i went through the walkthrough but i'm having some weird error where it keeps saying

init: untracked pid... =(
[Tilt, TyTN II, MDA Vario III Android Development] Gribin:
I think, that is not stop, but you have to wait for more second...

After that It should boot the Rom
[Tilt, TyTN II, MDA Vario III Android Development] loserskater:
Alright. You got it. As of now it runs pretty slow so its not worth releasing anyway. Can't wait for the update!
[Tilt, TyTN II, MDA Vario III Android Development] R3TR3C:
first boot into the android installer ever and there is no option to install just every other option any ideas?
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
See this guide:

Need better instructions? Try reading j101399j's awesome polymod Eclair install guide with images!

You have to hold down the camera button while booting.

And WOW, network location on Android on Kaiser? Poly, you are awesome! I can't wait for it to work! I see this build is still in early stages, but I'll be watching it closely. And I'll try to throw some bucks your way when I can.

Thanks poly, you are the man!
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Just a question.. I have 2 ext2 patritions on the SD along with Swap partition...

But...why it creates img files instead of using the partitions? How can I tell it to use partitions? I do not want to have my space wasted by that :)
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
Correct. Give it a minute.
[Tilt, TyTN II, MDA Vario III Android Development] voyteckst:
Have You selected SD partitions on installer menu?

One question: is it working so slow only on my phone or also in Yours (I have installed it on SD partitions)?
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
How shall I do that? I am bid confused by the new way Android is installed :D
[Tilt, TyTN II, MDA Vario III Android Development] MrPaveL:
Hi!

Are you reffering to slow graphics rendering? If you're still using poly's build, can you check logcat for messages about (Copybit ...something... and libagl)? I was having them and wasn't sure why.

poly: but i can confirm running it from nand with wifi and gps working.

Pavel
[Tilt, TyTN II, MDA Vario III Android Development] voyteckst:
Read first page...
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Geee... I did, but I have no option in install menu to tell the installer to use partitions instead of files!

And I do not see any ifno about that in the first post :(
[Tilt, TyTN II, MDA Vario III Android Development] voyteckst:
Do You have partitions created? Maybe installer detects such partitions and then displays additional menu entries.
[Tilt, TyTN II, MDA Vario III Android Development] a.s.j:
Of course, I have those partitions from previous builds... They used VolDn to install to partitions, but partition configuration was in the config file, that is no longer part of the installation.

So now I am not sure what is wrong... I'll try to reformat those partitions... Maybe that will help.
[Tilt, TyTN II, MDA Vario III Android Development] arjen888:
Im still waiting, almost 10 minutes now, help?
[Tilt, TyTN II, MDA Vario III Android Development] arjen888:
Now he's just showing the colored X animation. how long does this take? I'm waiting for about 15 minutes now, what should I do?

thanks
[Tilt, TyTN II, MDA Vario III Android Development] voyteckst:
polyrhythmic

Probably there is a bug in new build. Marketplace doesn't search for some applications. For example in ver. 2.0.1 I used cVolume - now I even can't find it. Also some app which uses Camera (yes I know that camera doesn't work yet) doesn't show on search list.
[Tilt, TyTN II, MDA Vario III Android Development] aqtrans:
The a2 build won't go into a full sleep for me, any button wakes it up.
[Tilt, TyTN II, MDA Vario III Android Development] joelmassee:
Market Error (android.process.media has stopped unexpectedly)

Installation of base build and the update of polymod 2.1 alpha 2 went fine--no issues.

However, within the market I receive the following errors with any download.

android.process.media has stopped unexpectedly--Force Close

Anyone else? Thoughts?
[Tilt, TyTN II, MDA Vario III Android Development] jklier:
Well, I didn't post the screen dump yesterday as Android finally started loading after my 3rd attempt. Only problem now is it is very slow as compared to Android 2.0.1 (Eclare) which I had downloaded directly from www.androidonhtc.com. Will wait and see how it is working for everyone else.

Thanks for all the hard work!
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
If you made it into the installer and there is no "Install System" option but there is an "Install Update", then the androidinstall.tar file is missing. Look for the

[ DOWNLOAD Eclair polymod 2.1a2 ]

on the 1st page, not the update. If you did, what files are in your andboot folder?

The biggest issue is when you 1st boot, you are booting into a 240X320 resolution. Market will remove any app that does not work on 240X320 :( So when you first run HaRET edit the default.txt file to 320X480 and connect to market and download something. Then reboot, change the default.txt back to 240X320 (or my fav 250X360) and you should be able to access all the market apps.
[Tilt, TyTN II, MDA Vario III Android Development] R3TR3C:
I apologize I wasn't clear enough. I was tired. What I meant is that when I get to the android install screen it gives me the options except looks like this:

1. Fix Permissions

2. Clear Dalvik Cache

3. Backup Data

4. Restore Data

etc, etc

the problem is that I can't see an option for "Install System" nor for "Install Update"

btw im on an ATT tilt

:edit: my andboot folder looks like this:

androidinstall.tar

androidupdate.tar

all 5 default.txts (used the orig default on first boot)

haret.exe

initrd.gz

zImage

zImage-kaiser-3d

one thing I tried to renaming "zImage-kaiser-3d" to just "Zimage". It goes to the bootup where your supposed to press camera but when I do this and press camera nothing happens
[Tilt, TyTN II, MDA Vario III Android Development] arjen888:
is there any chance I can clean up memory? Android isnt so fast now :P

thanks
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
Ok, go back and make sure your default.txt looks for and matches the spelling of Zimage (upper and lowercase letter matter) and that it is going to the zImage11-02-10 and not the other ones.

Also make sure your zImage is just that, and not zImage. or zImage.txt or somthing. zImage does not[edit] have an extension, and sometimes when you change or edit the name using your phone, or if you unziped the files on your phone, it may have andded an extension or file type to the zImage. You can check if it did with Total Commander, since it will show files and extensions.

Check those and let me know

[EDIT] You may want to unzip to your PC, edit the files there and then copy them over. Also make sure the default.txt file is the one for the NON-GPS
[Tilt, TyTN II, MDA Vario III Android Development] slapadabass:
Too quick fingers maybe? I think j101399j meant to say "zImage does NOT have an extension" in his last post. And just to clarify a bit more: you have to edit the content of your default.txt file -- where it says "set KERNEL = zImage*" make sure the zImage file name matches whatever kernel you're using.
[Tilt, TyTN II, MDA Vario III Android Development] slapadabass:
Running on kaiser - att tilt.

Last night I was successfully able to boot 2.1 alpha 2 using haret and manually editing default.txt to load the new 3d-enabled kernel (and it worked - tested it with labyrinth), but after booting it 3 or 4 times and having it lock up every time in seemingly random places, I went back to the non-GPS kernel, as that seems to be the one that for me is having the least lock-ups - also having many lock-ups with GPS kernel.

And btw, had to do the manual kernel switching because I still can't get into the installer after the first boot and install (to update kernel that way).

Also - for those who aren't aware (and maybe this is a newb thing to say) - there appear to be many apps and processes that will keep your device from going into full suspend (which i think you can tell by if you press a button on kaiser keypad it wakes up -- if it's in suspend only the power button should wake it up) - I'm still learning what they are, but appears to be if you have an alarm set, if you have browser open, if wifi is running, or any data updates are happening.
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
@slapadabass; opps:o, thinking faster then I can type. zImages does not have an extension, thank you. Fixed
[Tilt, TyTN II, MDA Vario III Android Development] tvail:
Another point worth noting is that the zImage-kaiser-3d kernel (or the zImage-11-02-10 in the alpha 1 release, for that matter) does not include the installer functionality; only the zImage kernel includes it.

In the alpha 2 update, you can look in the default.txt and the default-gps.txt files to see they point to the different versions of zImage (look for the line that says "set KERNEL ..."), hence the statements is the README.txt in the alpha 1 release and in j101399j's great instructions that running default-gps.txt won't give you the installer menu, since it uses a non-installer version of the kernel.
[Tilt, TyTN II, MDA Vario III Android Development] slapadabass:
@tvail - an excellent clarification - unfortunately, in my case, even when I use the original zImage kernel with installer functionality, I can only get into it on the first boot - second (or third, fourth, fifth, etc.) boot haret takes very long time to unload WinMo, then on Android startup even though I'm holding camera key (same way I did on first install) I can't get into the installer.
[Tilt, TyTN II, MDA Vario III Android Development] DJSeraphim:
Hey guys I've been following this thread for a while now and I'm now running Eclair...

I'm having some issues with it though, I seem to have done something wrong becouse my keys are in the wrong places on the hardware now this includes the qwerty keyboard. Also, may be related i don't know, I lost the ability to force my phone into lock with powerbutton or redcell button which means i have to wait for the auto-lock to put my phone to sleep.

I'm using a T-Mobile MDA Vario III from Holland with a WM6.5 Rom and the latest Eclair android rom.
[Tilt, TyTN II, MDA Vario III Android Development] R3TR3C:
I've tried editing my default.txt and checking file extensions. Nothing is out of the ordinary. Why oh why do I not get the option to install system? This is all fresh on a freshly formatted SD card (FAT32, EXT2,EXT2)
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
8

@slapadabass and @ R3TR3C; Try this. Delete the files on your sdcard, then download the complete 2.1a2 build again, unzip it on your computer, rename the default.txt file (make sure it is the one that points to zImage11-02-10, do not rename any of the other files) for your phone to default.txt, copy the andboot folder to your sdcard and try one more time.

One of your files may habe been curropted. Also wait untill you see the penguin before you hold the camera button all the way down (volume up if you have a vogue)

@DJSeraphim; you may need to change your panel type or change the tilt value to 0 in the default.txt; sorry don;t know which you need. If you have a default.txt that did work from before, look at it and use those values
[Tilt, TyTN II, MDA Vario III Android Development] R3TR3C:
is "zImage11-02-10" the same as "Zimage-kaiser-3d"?
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
No, zImage-kaiser-3D will not go into the installer and is used only after you have installed Android and then installed the update. Use zImage11-02-10 on first boot

[edit] In the second release the zImage needed is just zImage not zImage11-02-10
[Tilt, TyTN II, MDA Vario III Android Development] R3TR3C:
I don't have that file. The only other Zimage I have is the one that is just named "Zimage"

[edit] I redownloaded the package from the OP and there is no difference in files so it isnt me.
[Tilt, TyTN II, MDA Vario III Android Development] tvail:
zImage-11-02-10 is from the alpha 1 release and zImage-kaiser-3d is from the alpha 2. Both should include GPS and the zImage-kaiser-3d file includes the working OpenGL functionality. The plain zImage included with both is the kernal with the installer included but no GPS.
[Tilt, TyTN II, MDA Vario III Android Development] slapadabass:
So just to clarify on using different kernels, as I'm still learning:

Does it cause any problems to just manually switch kernels? In other words, to just change default.txt to load (for example) the new 3d kernel?
[Tilt, TyTN II, MDA Vario III Android Development] R3TR3C:
Well I've been using that Zimage file since the beginning and even after a clean format of my SD and a fresh copy of the andboot folder I still see no "Install System"/"Update System" functions. I guess android was not meant to be on my kaiser ha
[Tilt, TyTN II, MDA Vario III Android Development] tvail:
That's too bad. If you are like me, you may be wanting to extend the life of your kaiser by getting a more useful OS running on it.

BTW, I have the phone service cut off and am using it only as a wi-fi device to sync my Exchange email and calendar while at work. I'm hoping to get it stable enough with Android to depend on for this purpose. I think I am way behind on ROM and radio, though. I am still running the AT&T-branded WinMo 6.1 from 7/17/2008 - I guess I better get going on getting this thing updated since I can connect to my wireless network at work, but downloads from the marketplace seem to hang.

Thanks to all on this forum and thread for the help to us noobs!
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
That sucks; the androidinstall.tar is what triggers that option to pop up. Something to try, download the package for this other build form the Vogue thread. It is loaded the same way with the install menu. See if the Install System option shows up when using those files.
[Tilt, TyTN II, MDA Vario III Android Development] dv84:
meh no need lol

should be a way to delete posts =-]
[Tilt, TyTN II, MDA Vario III Android Development] ruddicks:
Well I managed to get everything sorted seemingly fine and think it is great. The @ and the ! are back to front on the keyboard, not a huge problem but wondered if it was just me.

I have been trying to install HTC widgets by copying the APK files from my htc tattoo but they are not installing. Can't quite see why this wont work but potentially just a stupid comment.

I have been waiting all day here in the UK for you guys to wake up!
[Tilt, TyTN II, MDA Vario III Android Development] j101399j:
@ruddicks;

If the @ and ! are backwards, change the board-kaiser-keypad.atttilt value in the default.txt

<LI class=level1>0 - (Fn + Q = @) Kaiser

or

<LI class=level1>1 - (Fn + Q = !) also AT&T Tilt
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
So I should expect this build to be pretty slow for now, correct?
[Tilt, TyTN II, MDA Vario III Android Development] jklier:
Mine has sped up considerably after subsequent reboots. I've seen others reporting that as well.
[Tilt, TyTN II, MDA Vario III Android Development] slapadabass:
Actually . . .

I installed shortly after A1 was available, and have been using continuously since then - it has sped up a LOT, even from yesterday to today. For me it's now maybe just a bit slower than last build, though every once in awhile I get significant hangs, especially when going back to home screen.