yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] BombaMyte:
Sounds like my same setup, with the exception of AT&T. Here's the deal:

Date code 181007(RC01)/US

Battery (jic): KAIS160

ROM: PDA Ultimate v20 (currently; been running ROMs for a good while now)

Radio: 1.70.xx.xx

Here's the pertinent (sp) info from my default.txt:

set KERNEL zImage

#set initrd "initrd.gz"

set initrd "\Storage Card\initrd.gz"

#set initrd "\Storage Card\initrd-console.gz"

#set initrd "\Storage Card\android.bin"

set cmdline "board-htckaiser.panel_type=2 ppp.apn=wap.voicestream.com ppp.username= ppp.password= pm.sleep_mode=1 mddi.width=312 mddi.height=416 no_console_suspend board-kaiser-keypad.atttilt=1"

boot

Comparing your setup along with mine, it's about the same. And that's what I don't understand. Like I said earlier, I can use the 02-23 and even the 02-27 builds for calls, etc. Any other *after* 02-27, fuggetaboutit. :p
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
Wow, Android looks pretty nice! Maybe I'll actually use it if Wi-fi support gets included.
[Tilt, TyTN II, MDA Vario III Android Development] joel2009:
I'm running 3-12 and am able to make receive calls. It must be you settings for something.

Your missing you username/password:

http://www.androidonhtc.com/carrier_network_settings

You also have to set up your network inside android (i dunno if you did that i forgot to do it until i couldnt figure out why i couldn't download an mms message :D)

EDIT: i have also have problem before when switching up and creating my own hybrid packages if i am not using fresh "pieces" everytime.
[Tilt, TyTN II, MDA Vario III Android Development] biscuits1978:
T-Mobile US doesn't require any UN/PW. If anything, it can be set to \"\" for both, but I've had both that and a blank UN/PW and it works fine. May need to set up an APN called T-Mobile US with just the APN name of wap.voicestream.com (or epc.tmobile.com), but I haven't had issues with calling or data on the latest builds. And I'm in Cleveland, OH with T-Mobile US on an unlocked AT&T Tilt.
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
Do you mean

writel(1, A11S_PWRDOWN);

? I can make a is_msm7200() around if that's it. It works very well on Kaiser, and I figured it gave me good power savings. Anyway, I'll have to ask you about the different sleeps states sometimes.

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
Ok guys, now listen to this: I just elft the apn, password, username completely out of the paramters and booted - voilà, I have internet without togga or anything. I had a new data.img, though. I will try to produce a initrd without the whole ppp stuff, so that we can see if we can ditch it. I have the vague feeling here that Android has enough access to the hardware right now to make the data connection by itself.

Stefan

P.S.: The new data.img also fixed that I couldn't select a ringtone anymore - works fine now!
[Tilt, TyTN II, MDA Vario III Android Development] wornbat:
DNS settings in Android

Hi all,

I have finally worked out how to set my DNS settings in Android to get it to work on the Internet with the latest images. Ever since 27/02/09 image I have not been able to get onto the internet without using IP addresses.

What i have found is that for some reason my APN is not detecting the DNS servers correctly for some reason.

running getprop in a terminal window shows the following:

net.gprs.dns1=10.11.12.13

net.gprs.dns2=10.11.12.14

net.gprs.local-ip=220.233.XX.XX

net.gprs.remote-ip=10.64.64.64

net.dns1=10.11.12.13

net.dns2=10.11.12.14

if I do the following I can get the DNS lookups and internet working:

setprop net.dns1=61.88.88.88

setprop net.dns2=220.233.0.3

Does anyone have any idea how to get this to be set automatically?

Is there any configuration file that I can set this manually?

Wombat
[Tilt, TyTN II, MDA Vario III Android Development] wornbat:
seidler,

Have a look at the initrd that came with DZO's 27.2.09 as that one worked without having to use TOGA. in the startup after it showed starting android it showed the apn settings and then shows

starting ppp

starting ppp

starting ppp

then android boots.

any other image after that did not show this
[Tilt, TyTN II, MDA Vario III Android Development] BombaMyte:
biscuits is right; you don't need a UN/PW for *data* to work fine, and afaik, this is true for any build. Also, afaik, this does nothing for enabling one to make or receive a phone call. To be fair, however, I did try the settings on the website, and I still can't make or receive phone calls on later builds.

Next suggestion?
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
The username and password may not be necessary for your carrier but they are for some and they definitely are needed by cdma phones.

The apn parameter is not necessary unless you want ppp to connect on boot but I think this is a bad idea since some people have no data connection or a very expensive one.

As for android setting up the ppp connection itself, it is supposed to do this, but I could never get it to work. Even if it did, you wouldn't be able to easily disconnect.

I think the way ppp works now is not too bad, if you change it, be careful that it doesn't break for some people. Having a single image for cdma/gsm is also good so make sure you don't break this.

Does writel(1, A11S_PWRDOWN); for idle really give you good power savings, this is only called when the phone is awake.

Thanks again for your hard work.

Martin
[Tilt, TyTN II, MDA Vario III Android Development] rkadar1:
dzo

new build coming anytime soon?
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
@dzo: Ok, I got it. So in general we can leave the ppp parameters out of the default.txt? Somehow I had a setupmodem.sh with STARUP="off" in it. That was probably the whole reason why it wouldn't connect for me. With it set to "on", I can boot right into Android, no previous data connection in WinMo needed, and no Togga needed. Only the APN settings in Android need to be correct.

I looked into the idle loop, and you're right. It doesn't make a big difference. I also found out that going to standbywfi without acpuclk_set_rate and setting A11S_CLK_SLEEP_EN is more efficient than what there is now. The main problem here for me is, that at the moment the debug timer is waking us up way too often. I'm looking into ways of fixing this, though.

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
I think the correct thing to do is for the idle code to see how long till the timer will be triggered and if it's long enough to use the apps-sleep suspend mode with a fixed timeout (wince calls this tcxo shutdown I think) rather than swfi. On vogue I can't get apps-sleep to work at all and on kaiser it sleeps for a certain time but doesn't seem to wake up during that time. It also looks like there is some nasty timer sync code for apps-sleep but I don't know if that is really necessary. All recent builds should be using the gp timer but I don't think this makes a difference.

On vogue at least the biggest power drain is keeping the network always on but it's so useful I never switch it off.

I'm still fighting with the usb driver, I never realised USB was so complicated. I'm making some progress but it could take longer than I thought.

Martin
[Tilt, TyTN II, MDA Vario III Android Development] biktor_gj:
Hi, about the suspend and resume, Stefan changes on the pm.c resulted on a slight decrease on battery drain on Nike, and no differences on enter/exit power collapse. Don't know if it screws other phones though, but doesn't break anything for me, that's all I can say :)

And about the usb driver, as you already know, crashes if usb is not connected, but if it is, it resets the usb fine (after dumping some crash on the kernel dmesg), then it wakes it up, and if you keep it connected (on Nike), the pc detects the phone has been plugged in, it just detects it as vendor 0x0000 and product 0x0000, wich is the way it behaves when you connect a usb device with the d+ or d- wires broken, so it could be a pin routing problem? Or maybe it's not, I guess you'll know much more of it than I do, this is just what I saw ;)

Regards!
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
I already have a working idle loop, which is nice because the phone is sooo responsive because it doesn't always has to wait for the DBG timer IRQ to trigger. I'm working on the APPS_SLEEP. It seems all that is missing are the wakeup causes from kbd et. al.

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] joel2009:
He is an att subscriber :)
[Tilt, TyTN II, MDA Vario III Android Development] biscuits1978:
BombaMyte was the one with the issues, and his default.txt points to wap.voicestream.com which is a T-Mobile US APN. The user that replied to BombaMyte was the one with AT&T.
[Tilt, TyTN II, MDA Vario III Android Development] kiram9:
Possible warning

POSSIBLE WARNING!!!!!!!!!

Hey everyone, I have been running my kaiser from the latest builds made from dzo's repo, and this morning I was playing some music from my sd card in android... well the phone froze up, with the green led on, anyways I restarted it and now I have no detectiable sim in WINMO or ANDROID.... I am not sure what happened but the phone boots up fine, but just says no sim... when I get home I will look into this further, and possibly try reflashing the radio and phone and try my sim in another phone :(... hopefully my phone and sim is ok... more info later....
[Tilt, TyTN II, MDA Vario III Android Development] skola28:
Make sure the sim card door didn't come partially unlatched (underneath the display on the back). That happened to me a while back.
[Tilt, TyTN II, MDA Vario III Android Development] SharpieMarker:
Latest 1.1 build..

The Latest 1.1 build from http://cs-alb-pc3.massey.ac.nz/vogue/files/android-1.1.zip does not work for me. Unzipped to /ANDROID folder in the root of my storage card. Boots like normal until it locks part way through the linux loader. Anyone had this issue? I deleted the build I had on here before so I could start with a fresh image and I can't recall if I've got everything in the right location. Don't the image or data files need to be in root not in /ANDROID? Any help would be greatly appreciated. Thanks again for all the hard work. Just thought I'd update to check the progress.
[Tilt, TyTN II, MDA Vario III Android Development] imfloflo:
The files must be directly in the root not in folder o the sd
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
BombaMyte, most likely problem is with radio version - that is pretty much the only difference between your and mine setup. Try flash 1.65.24.36

I'm currently using 18.03.09 kernel and system.img (with modified key layout) from seidler2547 and initrd.img from 12.03.09 experimental build. So far seems to be the most stable system, at least on my system. WinMo set in airplane mode, everything off. In Android making and receiving calls, got 3G connection, sound through speaker and headset.

Noticed problems are:

1) data.img filesystem is not umounted properly on shutdown. Regardless whether I'm reseting device by presing actual reset button or shut it down through longpress on red EndCall button I'm still getting message about filesystem being "dirty". Put new data.img from backup, first boot - fine, second - check. On couple occasions got report of errors during check, afterwards got problems with alarms and some other stuff "closing unexpectedly".

2) When phone is locked and in powersaving sound of notifications/rings sounds with "ripples", like it quickly turned on/off.

Will put today 24.03.09 kernel build from seidler2547 and look at it.
[Tilt, TyTN II, MDA Vario III Android Development] kiram9:
Re: possible warning

Well I got it fixed.. tried a different sim, looked at the pins etc...

eventually pulled the whole thing apart and reseated the sim holder connector and it works! sorry to scare anyone... I guess I must have bumped it pretty hard...
[Tilt, TyTN II, MDA Vario III Android Development] joel2009:
skola28 was the one with the att problems, i quoted both of them in the same post.

EDIT: btw anyone successfully gotten dzo's cupcake 1.5 data to work.... it wont connect for me, and i get an error with togga.
[Tilt, TyTN II, MDA Vario III Android Development] skunkb16eg:
ok i have got the build from 3-12 working most of the time sometimes i can make calls sometimes, sometimes it doesnt what rom is working the best ( i am running anryls 6.5). i love this new system etc but i cant seem to get it right
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
Ok, anyone up for some testing? Got a zImage here: http://gigatron.de/.android/zImage.idle and a patch attached.

This patch introduces an idle loop which allows for better performance and powersavings, because is only goes to "deep" idle after a certain time (you will see some nice color variations on the leds).

pm.sleep_mode still needs to be set to 1, though.

Have fun.

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
This is probably because the G1 uses yawffs2, which doesn't need unmounting. Maybe we should try to get that running, too ...

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
I thought this at first but yaffs2 only works on nand flash devices, it is impossible to use it on the sd card. It doesn't make sense anyway because the sd card does it's own wear leveling.

I'm not sure that suspend/resume for the sd card are correct at the moment. I had to comment out the mmc_suspend_host line in msmsdcc_suspend (and the same or resume) to get it to work, this could be using power but I don't know.

Martin
[Tilt, TyTN II, MDA Vario III Android Development] d3sm0nd:
Hey, guys!

I've been playing around with Android this days (last android build from androidonhtc.com) and I have to say it's very stable! We're really close to a daily usable Android version. :)

What's missing? Camera and WiFi.. not much, I think the Kaiser port of Android is one of the best out there.

I want to thanks to all the developers and keep improving it!

one question: is there a File Browser built in Android?
[Tilt, TyTN II, MDA Vario III Android Development] Smultie:
I still have the problem that I can't make outgoing calls.

Anyone else with this problem, and/or a solution?
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
The attached patch switches off the SDCC power in suspend mode (and vice versa in resume). Works fine for me. If it works on Vogue I would commit it. Don't know if there could be issues with Wifi once we've got that working.

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] skola28:
Just to clarify, I don't have any problems. I was posting my info b/c my configuration WORKS and has always worked. Every build works perfectly on my AT&T TILT, and I was trying to figure out why others were having phone call problems.

My guess is, they are using a radio which isn't compatible with the newer releases. For reference, I use 1.64.24.36 (the original Kaiser Android Radio). If you refuse to use that radio, definitely try the 1.71.XX.XX radios as they are explicitly supported as well.
[Tilt, TyTN II, MDA Vario III Android Development] spiritssight:
Internet Access

Hello,

I am trying to get internet access going,

I followed the instructions and have had no luck, I have tryed but the bundle (3-1-09) and (3-12-09) with out any differents.

I made sure I had internet access before booting into andriod in the win mobile 6.1 with out att bloat I used the togga to try and connect, I have setup the apn based on the wikkie for ATT (my phone shows Cingular throw)

I can make calls and send txt msg with out problem, I have the 3g icon show up some time with one light other times with both (don't knwo what this mean) its with the icon its self

Any help or point in the right direction would be grateful

Sincerely,

Christopher
[Tilt, TyTN II, MDA Vario III Android Development] SharpieMarker:
Well I put all of the requisite files in the root of the storage card. Haret couldn't find zimage because I forgot to put it in the root so I moved it. Now haret hangs attempting to load. It doesn't even get to the linux loader screen. I'm using the latest kernel and latest 1.1 zip from Dzo. I may try the cupcake version to see if it works. Any help would be greatly appreciated.

-Sharpie
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
This is how it should be set up

/Storage Card/ initrid.gz, system.img, data.gz

(ROOT of SD)

/Storage Card /Android folder/ default.txt, zimage, haRET

(zimage doesnt have to go in the ROOT)

rename the kiaser-default to default.txt

I think the reason why it couldnt find the zimage because your using the wrong default.txt
[Tilt, TyTN II, MDA Vario III Android Development] seidler2547:
When you look closely, you will see that this are arrows next to the 3G icon. When they light up in both directions, it means that you are sending and receiving data. Which basically means, your data should work. Do you need to use a proxy server with your provider? And have you checked in the browser or just for Google sync?

Stefan
[Tilt, TyTN II, MDA Vario III Android Development] lanwin:
Is there someone where the provider requires a proxy server and where the marked work?

Because of this:

http://projects.linuxtogo.org/tracker/?func=detail&atid=273&aid=24&group_id=37
[Tilt, TyTN II, MDA Vario III Android Development] spiritssight:
Hi Stefan,

I figured that out later yesterday (about it being up and down arrows, thanks for that peice of info anyhow :-)

Its AT&T Mobility, I don't know if it needs a proxy, I used the seting that was giving on the wikie. Yes I tryed to use the browser.

Thanks for any help in getting the internet working (3g/edge/etc)

Sincerely,

Christopher
[Tilt, TyTN II, MDA Vario III Android Development] Smultie:
No-one? It's the main reason I can't use Android as my main OS....
[Tilt, TyTN II, MDA Vario III Android Development] markya23:
Generally good, slightly worried that the data connection might not be quite as stable any more - seemingly random disconnects and inability to reconnect without going into and out of light mode (resetting the radio).

I'll try and pin down the details.

On the plus side, *much* more responsive coming out of standby. Not sure if there's an increase in batt life - it's minimal if there is.
[Tilt, TyTN II, MDA Vario III Android Development] philfred:
shutdown is where?

Stupid question possibly - but where is shutdown?

Thanks

Phil
[Tilt, TyTN II, MDA Vario III Android Development] philfred:
killing my phone

There is something very stange going on!.....

My phone is fully charged.... I go into Android literally for 2 mins - reboot the handset - and now my phone powers of with no battery life ?

Any ideas?

Phil
[Tilt, TyTN II, MDA Vario III Android Development] Dark-Side:
long press on hangup (red button) ;)

Fab
[Tilt, TyTN II, MDA Vario III Android Development] philfred:
battery

Update on this: After the phone restarted to windows it died in about 10 secs - turned phone back on and full battery re-appeared.

Thanks Dark-side for shutdown!

Regards

Phil
[Tilt, TyTN II, MDA Vario III Android Development] aximilation:
... mirrored in the space in my sig.
[Tilt, TyTN II, MDA Vario III Android Development] SharpieMarker:
Did all that, Haret says "booting linux" and the loading bar fills but locks up at this particular stage. Never gets any further. Thanks for your troubleshooting help.
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
What WM ROM are you using? Did u format ur SD card to FAT32?

WHat Build are you using?

Check this site and try 3/1..it works fine for me.

http://www.androidonhtc.com/kaiser/latest_builds
[Tilt, TyTN II, MDA Vario III Android Development] skola28:
In my experience, Haret not finishing the boot is ALWAYS a ROM issue.

BTW, you don't have to have a special Android Folder. I put all my files on the root of the card. Makes things simpler I think. The lines in your Default.txt just need to point to the correct location. I do not believe that is your problem though, I think it is your ROM.
[Tilt, TyTN II, MDA Vario III Android Development] vicky_crispy:
Kaiser gets stuck at Linux loading screen !!

Hey Senior...I tried installing Android 1.1 + Cupcake files on my Kaiser with -G-'s GK.10.Final Rom cooked in it..I am using Touchflo 3D with Manila 3D interface..I Used reference as mentioned in a link that shows Android working on a kaiser IE :- http://www.youtube.com/watch?v=tzhbCn5GGgA

Made Folder Android on SD Card containing Harret, Default.txt & Zimage as specified..Renamed Default-kaiser.txt to Default.txt too..Had Initrd, Data & System files on my SD Card root as well..The problem is when I am running harret..It starts loading linux but gets stuck at a point with error that reads :

[ 1.20063] Kernel panic - not syncing : YFS: Unable to mount root fs on unknown-block(0,0)

_

:confused:

I have tried several times using several versions that i found..Edited default.txt file as well as specified..But most times it dsnt work..& when it does, it gets stuck at the point as i specified above. Can you please help me with what the problem might be. Is it with some file or with the Default.txt file that I am using for my Kaiser as i believe that's the source from where Linux runs on kaiser. I am using a sandisk 4 GB SD Card with FAT32 format..Please help !! :( :confused:
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
What is your radio ROM version? Make sure it is 1.65.xx.xx or 1.71.xx.xx
[Tilt, TyTN II, MDA Vario III Android Development] imfloflo:
It can be due to a wrong default.txt with bad value. or simply a bad zImage.
[Tilt, TyTN II, MDA Vario III Android Development] Smultie:
I am using 1.71.xx.xx
[Tilt, TyTN II, MDA Vario III Android Development] SharpieMarker:
Sorry fellas. Well I got rid of the android folder and just left all of the files in root and it booted and I've been using it since. Thanks again.
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
If you got haret.exe, default.txt and zImage in "\Storage Card\Android" then you should either move initrd.gz file to same folder or make sure that in default.txt instead of

set initrd "initrd.gz"

you have

set initrd "\Storage Card\initrd.gz"

Or indeed just move every Android related file straight to root of your SD card :)
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
Do you have Tilt or TyTN II? I'm not 100% sure if there any fundamental differences except for keyboard layout, but you may try 1.65.24.36 radio as I haven't had any problems making/receiving calls with combination of 1.65.24.36 radio, initrd.gz and data.img from 12.03.09 experimental build, zImage.usbfix and system-keylayout.img from gigatron.de/.android

I have all files in root, default.txt loosely based on kaiser-default.txt. zImage.usbfix renamed to zImage and system-keylayout.img to system.img.
[Tilt, TyTN II, MDA Vario III Android Development] BombaMyte:
Hey guys,

Sorry I haven't responded to several of your suggestions over the past few days. The wifey & I went to DC to get away from it all. I realized something while I was there: I play *WAY* too much Fallout 3! :p

Anyways, I looked at your suggestions, and I'm going to try using the 1.65.24.36 radio with the 03-12 build and see if call functionality exists. If so, then it's a radio issue. If not, then it's got to be something else. Update to come...

UPDATE: No dice. Still no joy. I'm starting to get a little upset...