yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
okay, attached is a patch - please apply to the git branch, someone with commit priveleges... it's good, I swear.

Fixewd arrows (including alternate-key on the arrows), and slide (as long as you boot with the device closed, as well as adding a tilt set of keycodes (use board-kaiser-keypad.atttilt=, defaults to 0, or not-tilt)

Also, remapped some keys - pad "windows" key is menu, pad ok is back, and IE and MAIL are currently broken (KEY_WWW and KEY_MAIL don't seem to make android do anything - what are the correct key codes for these functions?
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
Tested it and it seems to rotate upside down still but will go back to portait now right away.

Not Sure if the new key config will work..I can't seem to find the button that opens the recent apps menu...which i believe was the home key...which was the IE button I believe.

update: it seems now the phone vibrates when u hold down a widget..like its some type of force feedback...

update: it seems maybe i missed a system.img from mullins for the screen rotation to fully work...and now it does..rotates the right way and goes back instantly
[Tilt, TyTN II, MDA Vario III Android Development] herczyn:
been following the thread for a while now, trying all the new betas :)

i have a question though:

my network connection doesn't work (and so are calls and sms)

i'm now in the process of disabling the PIN code (my network doesn't allow it by default)

is setting ppp.username and ppp.password important? what should I use (i'm in orange, poland)? if i call my operator what should i ask them about?

thanks

k

ps. is there any tutorial about using togga (it says its connected but stays disconnected)?
[Tilt, TyTN II, MDA Vario III Android Development] slux:
which package are you using? i dont get any of this - it just works fine. I am using the zip file from 23-01-09, system.img posted here recently and this zImage (although it appears to behave just like the zImage from 23-01-09 package) Screen flip always works fine for me so long as you boot android in portrait mode (but there is sometimes a delay of a few seconds).

As you say booting in landscape (keyboard slid out) confuses the hell out of it (android flips between portrait and landscape still, but its out of sync with the keyboard slide - obviously!)
[Tilt, TyTN II, MDA Vario III Android Development] slux:
I am getting the same with the recent packages (19-01-09 worked fine as far as data was concerned) Mind you, I have not tested the more recent packages without the revised system.img to correct the screen flip problem... so it may be system.img related?!
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
Thanks for your work!

One question about default.txt.

This is my cmdline:

set cmdline "ppp.username=internet ppp.password=internet pm.sleep_mode=4 board-htcvogue.panel_type=0 board-kaiser-keypad.atttilt=0 msm_sdcc.msmsdcc_fmax=20000000 no_console_suspend"

Do I still need the board-htcvogue.panel_type in my default.txt or not?

After testing:

With the cmdline above everything works. And YES, even virbration worked! Also with an incoming call :) Getting excited again!!! By trying to get the latest runned programs, I tabbed on the home screen for a second. Now a pop-up appears to manage your homescreen. Did you know? I did not :p So, I am getting excited more and more.

You know what the problem is where I have to deal with now? I have to deliver a project at the end of the week, but my head is only into Android :eek: LLLLLLLLOVE IT :D
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
Roaming issue

Well, I am happy to tell that with the new system.img from mullins the roaming problem disappeared.

So that is not an issue anymore for me.
[Tilt, TyTN II, MDA Vario III Android Development] echofloripa:
Buttons not working

With the following files and the new configuration at the default.txt, my kaiser buttons are not working anymore.

Togga also don't connect. It strangely keeps on the wait before even showing its log screen.

Android : 012309SMS (Shadowline) - system.img (mullins07 - post 2467) - zImage (poly_poly-man - post 2497)

set cmdline "ppp.username=internet ppp.password=internet pm.sleep_mode=4 board-htcvogue.panel_type=0 board-kaiser-keypad.atttilt=0 msm_sdcc.msmsdcc_fmax=20000000 no_console_suspend"

Even with my old configuration it doesn't work the same.
[Tilt, TyTN II, MDA Vario III Android Development] KeizerBAAS:
Same here... after trying some of the newer stuff, the original config cannot connect anymore for data... Togga either doesn't show log screen, crashes directly on startup, or gives modem initialised message and does nothing...
[Tilt, TyTN II, MDA Vario III Android Development] echofloripa:
Me too

here the same thing, I reverted all back but I can't get back to the home screen and toga don't work anymore :(

well well...
[Tilt, TyTN II, MDA Vario III Android Development] KeizerBAAS:
I can't try now, but what would happen in case of a 'clean install' Did you try that already?

If then it still doesn't work, then Android might leave more traces then we want!
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
Try deleting the data.img and replace with a data.gz (which is about 2mb vs the 30 or so mb data.img) I haven't tried the newer images except the one with the screen rotation fix. But looks like we are slowly getting there :D
[Tilt, TyTN II, MDA Vario III Android Development] roadhead:
Winmo Config - [13 January 2009] HyperDragon III Raphael OS 5.2.21009 Build 20931.1.5.0

Flashed Radio to 1.71.09.01 from the Ultimate radio thread.

I am using the Android files located here: http://biggestpos.com/android/

With the different system.img files various people have posted.

I can MAKE CALLS and HEAR THE OTHER PARTY, the catch is only on speakerphone :P

I like the system.img that mullins07 posted for SMS, as the screen flips the right way around, but Togga doesn't work for me anymore :/ In fact, I don't think I got data working with any of the system.img files after flashing the radio.

Radios I have tried today to get Data Working again:

1.71.09.01 - SMS/Calls/Working Data via Togga after putting fresh data.img file from the AndroidSMS1-23 Archive in place.

1.65.21.18 - SMS works - calls appear to work (speaker only of course) Togga opens but never connects. :(

1.65.24.36 - No Calls/Data/Connection at all, Togga crashes on start up.

However, I can't get Togga to EVER connect using the system.img that mullins07 posted. So if someone could port his screen fixes into the main branch, we could have a phone that makes calls, SMS, and Data with the right radio. Honestly, thats enough for me to use it full time :)
[Tilt, TyTN II, MDA Vario III Android Development] KeizerBAAS:
That worked... replaced it with an old data.img I used in a previous config. The keys are mapped again, statusscreen is back, but Togga isn't doing anything unfortunately..
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
since that goes directly to the vogue-specific stuff, you can safely chuck it.

I'll look into doing that for kaiser maybe (might be really hard, tho)...
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
What was changed in the new System.IMG that enables the screen rotation? I would like to experiment a little while i'm at work and mash a few things up, but I don't know what I'm looking for.
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
@shodowline - android-policy.jar is IIRC what made the rotation the correcct way.

If you're talking about making rotation in general work, you're porbably looking for kernel stuff - most likely my hack solution to the problem.

btw, working on getting a battery driver to work... anyone know why android would just want to power itself down?
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
Maybe it gets tired? ;) And thanks, that's the file I thought was talked about before but I wasn't sure. Also, vibration works on it now for some reason, it never did before as far as I know. I'm using the latest system.img and zimage posted here. No togga or 'net connection though. :P
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
did vibration work before my zImage? I didn't do anything to make it work, and there appears to be no commit that would make it work, so...... wtf? (I'll look again)

Anyway, just using the battery.c code always makes it think it's on battery, at a capcity of 0. Fun.
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I have never noticed it ever working, It vibrates when you 'grab' a widget and move it, and you can turn on vibration in the settings for calls and that works as normal too.
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
umm... is the TitanMemoryMap page of the wiki dead? every other page works, but that one loops for inifnity - how can I get kaiser's battery to work without that information ? :P

anyway, I do need it, who are the people in chartge of the wiki/ how can I get them to fix that?
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
Was a detective :-)

@poly_poly-man

You can find the info here (I think this is the page you need):

http://74.125.77.132/search?q=cache...ryMap+TitanMemoryMap&hl=nl&ct=clnk&cd=1&gl=nl
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
After more and more checking, this newer version is the only one with the vibration working, I might test later to see which file it is, the system.img or zImage
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
yep, found that, and it's not actually helpful. Trying to figure out now what memory addresses and DEX commands to use for battery on kaiser... hint: it's not the same as raphael :P
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
I can confirm it was the zimage, since i got that first and it was vibrating..
[Tilt, TyTN II, MDA Vario III Android Development] KeizerBAAS:
I've tested and didn'zt use a new system.img only poly's new zimga and this does help the phone to vibate.

The tilt keyboard doesn't help me though, because I have vario 3.
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
weird - looks potentially like the last commit did add vibration - di no one build a zImage with this commit until I did?

anyway, cr2 assures me that the DEX is 0x8a (which really makes sense), but I'm still lost as to what memory to read from. Does anyone know, or have the disassembling skills to figure out what address the ~ten bytes of battery information are at? They are NOT at shared start + 0xfc110...
[Tilt, TyTN II, MDA Vario III Android Development] KeizerBAAS:
I just noticed that when in the camera application, press the Fn key twice and then left softkey, and you will see the linux console data popping up...

Detected it by accident, didn´t know how to get out of it, received a call, the data goes berzerk, I can actually hear the call coming in, see I´m missing it, and getting the SMS notification for the missed call, just all in the console code.

Getting back goes by Fn key still capped, pressing right softkey, and we´re back in the (non-functional ofcourse) camera app...
[Tilt, TyTN II, MDA Vario III Android Development] Sirgatory:
for the record, with the latest zImage, vibration works with everything EXCEPT for SMS. =[ lol.

AMAZING progress so far.
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I almost wonder if that is Android's fault. I see no option for it anywhere, unless I've missed it.
[Tilt, TyTN II, MDA Vario III Android Development] rogro82:
so yes DZO added it to the last commit... on the Polaris I already had it in there.

The vogue-hw.c contains the code that handles the vibration for Android as a lot of other stuff..
[Tilt, TyTN II, MDA Vario III Android Development] BombaMyte:
Android Doesn't Like Phone Calls...

:(

Okay, using shadowline's setup, along with mullins07 system.img and poly's zImage, Android still doesn't want to make calls. I've tried different radios, no go. BTW, has anyone actually registered onto a/their network?
[Tilt, TyTN II, MDA Vario III Android Development] echofloripa:
I can make calls yes, but it doesn't seem like registering with the network...
[Tilt, TyTN II, MDA Vario III Android Development] roadhead:
I am able to Send/Receive SMS, make Phone calls (speaker phone only) and even use the 3g data connection.

Have you tried placing a call (to voicemail should be fine) and leaving it connected while you open HaRET and boot Android? When switching between system.img files I find it helps to start with a clean data.img each time, or else "weird" things can happen.

Then again, T-Mobile and AT&T might be different enough to be the problem :)
[Tilt, TyTN II, MDA Vario III Android Development] BombaMyte:
I'll try making a call first & see what happens...
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
@roadhead

Where do you live? Are they using GSM of CDMA in your country?

How are your APN settings in default.txt and in Settings?
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
WiFi

@ all developers

I was wondering the following:

I understand that a mobile data connection is best, because then we can use it everywhere.

Because in the latest files the mobile data connection does not work anymore, I was wondering if it is difficult to add WiFi. Then at least we can use internet at home :p
[Tilt, TyTN II, MDA Vario III Android Development] Sirgatory:
It is quite difficult, but very possible. I understand it would take you a while to read through the 250 pages, but we have discussed wifi already. As it seems, the developers are working on system stability first, then will move onto the battery drivers, and then attempt to build a wi-fi driver. Of course, it will take a bit of time, as they are using their free time and we're not paying them.
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
For those of you who don't want to put all the current files together, here is the latest working version as of today, last updated on 1/28.

http://www.ddev.info/android/Android1-28.zip
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
Hey guys, I just asked the T-Mobile guy why WiFi and camera aren't working. He told me to go away... :eek: lol But anyway, I put the kaiser and the G1 side by side, and the kaiser seemed to keep up pretty well. And when will Certain devs be back from vacation? :D

@ okibi, for the record, which files are included? The very last zimage and system.img with the rotation fix?
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
Yes, it has the rotation fix from zImage and the orientation fix from the system.img. These are the latest posted.
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
does anyone know if it's the system.img or the zImage that's causing the internet to not work anymore? I just tried it today (in the same setup that worked previously), and it's not working.

If it's system.img (my guess), can someone repackage/recompile a new one?
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
The data connection fails for me with the new zImage and old system.img. i would guess it's the zImage.
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
heya... fixed sliding (actually reading the right gpio now :P )

Anyways, attached patch is to original (last commit to htc-vogue)... build is new, reflects all changes.

I spent many, many hours on battery, and I'm still no where. It seems it does NOT use DEX (proc_comm), and even worse, I think I need to read the ds2746 directly.

I'll ask again, does anyone know the value of Rsns? :D
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
well, when I get a chance, I'll trace down where the problem came in.
[Tilt, TyTN II, MDA Vario III Android Development] PhoenixMage:
Hi guys,

I got Android working on my 8Gb SD Card yesterday and then decided to clean off all the crap on the card by formatting it. Once I copy back Android and attempt to boot it it succeeds in booting Linux but drops me to the console and gives me the error:

mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: Invalid argument

Failed

Failed to Mount SD Card

I have formatted the card as FAT32 in Windows, I have formatted it on my Kaiser, deleted the partition and recreated and formatted all without success.

I am running the Latest Files from http://cs-alb-pc3.massey.ac.nz/vogue/ (android-21-01-09.zip)

Cheers
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
A little off subject. Maybe this page will help with eventually trying to open parts of the market on our phones. http://strazzere.com/blog/?p=175#respond -- It is a dump of the vending.apk/market.apk

A little more on subject, with the new zimage, I have not yet had an issue with the screen not rotating properly. Even when the keyboard is out while starting android. It starts wrong, but a quick slide in and out makes the orientation correct again. Also quick sliding doesn't have any 'sticking' issues either. Good work there. :D
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
u think we'll be able to get the hardware lights to turn off..i noticed the key board light goes off untill u hit the power off button..if you let the device go asleep automatically the keyboard light stays off but panel turns on once u hit a key and stays on..if i can somehow get of the both lights off i want to test the power.
[Tilt, TyTN II, MDA Vario III Android Development] KeizerBAAS:
New zImage from poly with old system.img (without screen rotation) works fine for data with me... just the hardware buttons IE & MSG don't work...

I couldn't care less about Tilt keymapping, it's just that I need the Home button, therefore I stay with DZOs latest zImage & system.img (the latter because data doesn;t work for me in Mulins' rotation system.img)
[Tilt, TyTN II, MDA Vario III Android Development] NarSan:
Home button is "Start" and back button is "OK"
[Tilt, TyTN II, MDA Vario III Android Development] Cal-El:
Yes, I just got it to boot on my tilt for the first time! After formating a brandnew 2 gig sd! Landscape is perfect with the new system and z images! You guys are awesome! Now to figure out calls and data! :)
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
lies - there is no home button :P

since this is obviously a problem, any votes as to what buttons should be wehat? I tried to match wince functions in this one, but the need is present for a different set.

If we keep "windows" key as menu on the front and ctrl on the keyboard, and ok as back, what do you vote for the other special keys?

I have or can have access to all of them.
[Tilt, TyTN II, MDA Vario III Android Development] KeizerBAAS:
I'd say:

windows key = menu

IE key = mapped to the browser? if possible

msg key = home

ok key = back

On the other hand, I wouldn't mind DZOs initial setup, because I've grown quite used to it... Any reason to change this setup?
[Tilt, TyTN II, MDA Vario III Android Development] wazz999:
Is it possible to make the front buttons user assignable? Just a thought.
[Tilt, TyTN II, MDA Vario III Android Development] Bartuk:
i think best mapping for home would be the hang up button like it is on the most phones.

and how about changing the function thats on the hang up button now to the power off button like it is in wince?
[Tilt, TyTN II, MDA Vario III Android Development] NarSan:
maybe?

windows key = menu

IE key = home

msg key = message

ok key = back
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
hey, I'm still working on figuring out which key codes to use for www and messaging... it's not KEY_WWW and KEY_MAIL..

anyways, I''ll work on making the power button actually be power, but to make the end key (the red one) be home, pull up the applications drawer, go down to "spare parts", go to end button behavior, and select "Go to home". This is cleaner than mapping some random key to home.

I can't do anything right now, though - I'm at school :P
[Tilt, TyTN II, MDA Vario III Android Development] roadhead:
But it still slides upside down on the kaiser right? Thats what it does for me anyway. Also, what is mapped to "Home" ? I can "menu" and "go back" but once I'm in the browser... I'm stuck :)
[Tilt, TyTN II, MDA Vario III Android Development] roadhead:
Mine often fails on the known working system.img if I forget to replace the data.img with a clean one.

*sigh* It is so close, I've been using it exclusively for almost 24 hours now :) Just have to read up-side down...
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I too have become pretty talented at reading upside down.... :rolleyes: At least until internet works with the new rotation fix. :P

P.S. I think i'm going android crazy.
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
2nd vote for this option

I like this option, when the 'hang up' key can not be assign to home.
[Tilt, TyTN II, MDA Vario III Android Development] Diznario:
What abut the two soft keys? Can these be mapped as well?

If so, then maybe these should be "Home" and "Back", to somewhat line up with the functionality of the G1.

If we do that, then we could leave the Windows logo as "Menu", and the IE and Mail buttons could just be shortcuts to browser and mail respectively.

Not sure what to do with the "OK" button.
[Tilt, TyTN II, MDA Vario III Android Development] chrisrc1985:
I have been reading through the form....it does not seem like the network connection has been resolved, or even heavily discussed.

When I try to connect through toga, it just loops and tell me not connected.

has there been any progress in the connection of android for the tilt?

Thanks,

Chris.
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I second that. use the softkeys as home and back, keep the windows key as menu, and use the others as shortcuts possibly.
[Tilt, TyTN II, MDA Vario III Android Development] Bartuk:
i think atm they r mapped to the volume...at least thats what android says when i push them(can't verify since sound never worked for me...)

best thing would be to map sound to the wheel(when its fixed)

if its mapped to the wheel, the softkeys could be mapped like Diznario said
[Tilt, TyTN II, MDA Vario III Android Development] echofloripa:
I think the wheel should be context dependent, just like it is on windows:

- When in a call or on a music app -> whell controls the volume

- When in a browser or other app -> wheel scroll up and down

But the wheel needs to be fixed first, it just goes all the way up and all the way down :)
[Tilt, TyTN II, MDA Vario III Android Development] poly_poly-man:
okay: the front keys CURRENTLY are as dfollows:

Green: call/send/etc.

Windows key: menu

Left softkey: volume down

IE: failed attempt at ionternet broweser...

up/down/left/right/center: as expected

Right softkey: up volume

Mail: failed attempt at mail/messaging.

Red: end call, assignable in sndroid in "spare parts" (NOTE: THIS CAN BE MADE HOME! Do this, instead of having me re-assign keys).

ok: back.

It would be too hard (atm, at least) to do button mapping user-definably...

Is it possible for anyone to simply copy the android_policy file from the new system.img to the really good upside down one? Does this work properly (I'll tyry it mysaelf in a second)...
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I tried that, or more so attempted to the other day, but for some reason I could not copy it to the one with the working internet. Even as root it seemed as if the filesystem was locked. Maybe anyone else will have better luck.
[Tilt, TyTN II, MDA Vario III Android Development] okibi:
I'm working on compiling a new set and will post back soon. I'll investigate the battery issue as well.
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I can't seem to mount the system.img to be writeable. And only on that specific .img file that has the working SMS and internet. But all other ones seem writeable. :confused: