yashsingh1/xdaforums huggingface dataset:
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
Open the kbd, press fn and then the left hand soft key on the kbd, press and hold the cam button all the way in and press in two opposite corners of the screen one at a time. You will see the ts calibration values. press fn and then the right soft key to go back to the ui.
[Tilt, TyTN II, MDA Vario III Android Development] Orphee:
Wow, good thing to know, is there somewere to learn aboout those secret stuffs ?
[Tilt, TyTN II, MDA Vario III Android Development] slyoldfox:
Clean slate

Alright so it's installed, played around with it and now I want to start with my Android Kaiser again from a clean slate (because right now the Browser is broken and keeps throwing exceptions).

What are my options for resetting Android:

* should I delete some files, somewhere, which ones ?

* should I hard-reset the whole phone ?

* Factory data reset in android gives me: No reset was performed because the System Clear service is not available.

Any other options? Is this on a wiki somewhere ? Tnx!
[Tilt, TyTN II, MDA Vario III Android Development] Orphee:
I have a little issue with Android, don't know why but :

When I first use Android, everything seems to work well, the sound & co...

I can configure the ringtone, the volume...

But after a while, some reboot & co... sound configuration crash, I can't access to the settings.

In the exeption browser (in dev tools) I can see the following at the end of the line : column '_id' does not exist

Anyone else as this issue ?

Also, about the TS issue, with "board-kaiser-ts.PMAX=1200" in the cmdline it works well now :) Maybe it is because I changed my original broken touchscreen buy an ebay one ?
[Tilt, TyTN II, MDA Vario III Android Development] aggarath:
re download the data.img and system.img if you plan to use the same build

otherwise download all the files
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
If you want to start a clean slate, delete reload the 3 files on the root of the SD card. Since we are running this on our SD cards theres no need for a phone reset..
[Tilt, TyTN II, MDA Vario III Android Development] slyoldfox:
Yah I should have just tried that thanks. Overwriting data.img and system.img did the trick.

I was just asking because WM didn't show different "modified dates" and thus I thought the files weren't modified. But of course the filesize was different. Maybe it's how the storage card gets mounted or so that there wasn't a change in modified date.

Thank for the help!
[Tilt, TyTN II, MDA Vario III Android Development] joannerve:
With the last android builds I can't see videos. I only can listen but I can't see. I can see videos with an older build but no with more newer builds. Someone can help me?
[Tilt, TyTN II, MDA Vario III Android Development] Dark-Side:
Ok for system.img, but why don't replace data.img by data.gz (found it in the android.zip from Dzo). With new files (zimage, system.img), it seems better, but all configurations are lost.

@Dzo:

When I start Android, I have to make a call. If I don't, when I receive the first incoming call, no sound in speaker, but i could ending call. If I make a call after this, Android freeze in the dialer.

Phone: HTC tytnII from Orange France.

Radio: 1.71.09.01

Thanks for your great job and :o Sorry for my poor english
[Tilt, TyTN II, MDA Vario III Android Development] SharpieMarker:
A couple bugs

A couple bugs here. Vibrate for notifications still doesn't work. Also, if I attempt to answer a second phone call it puts the first on hold but I've got no sound on the second.
[Tilt, TyTN II, MDA Vario III Android Development] Hellmasterita:
on Wind italian operator for credit information we digit code *123# if i try this on latest build i get this error

Ivalid MMI operation
[Tilt, TyTN II, MDA Vario III Android Development] beardface:
GPS on Kaiser

I've started looking more seriously into what we need to do to get GPS working on the kaiser; and it seems like we just need to implement a simple GpsInterface and accessor and compile them into a new libgps.so kernel module...

Basically; here is what I'm thinking so far... The HAL for android sets up the interface for gps here: http://android.git.kernel.org/?p=pl...h;hb=51704bed795b5b0e5e3c7b792dcdc2bf2d96a9e9

what we need to do is implement the following Interface for GPS for the Kaiser:

/** Represents the standard GPS interface. */
typedef struct {
/**
* Opens the interface and provides the callback routines
* to the implemenation of this interface.
*/
int (*init)( GpsCallbacks* callbacks );

/** Starts navigating. */
int (*start)( void );

/** Stops navigating. */
int (*stop)( void );

/** Sets requested frequency of fixes in seconds. */
void (*set_fix_frequency)( int frequency );

/** Closes the interface. */
void (*cleanup)( void );

/** Injects the current time. */
int (*inject_time)(GpsUtcTime time, int64_t timeReference,
int uncertainty);

/**
* Specifies that the next call to start will not use the
* information defined in the flags. GPS_DELETE_ALL is passed for
* a cold start.
*/
void (*delete_aiding_data)(GpsAidingData flags);

/**
* fix_frequency represents the time between fixes in seconds.
* Set fix_frequency to zero for a single-shot fix.
*/
int (*set_position_mode)(GpsPositionMode mode, int fix_frequency);

/** Get a pointer to extension information. */
const void* (*get_extension)(const char* name);
} GpsInterface;

We also need to implement the following Routine and compile it into libgps.so (along with GpsInterface):

/** Returns the hardware GPS interface. */
const GpsInterface* gps_get_hardware_interface();

We also need to implement the following callbacks for sharing gps data:

/** Callback with location information */
typedef void (* gps_location_callback)(GpsLocation* location);

/** Callback with the status information */
typedef void (* gps_status_callback)(GpsStatus* status);

/** Callback with the space vehicle status information */
typedef void (* gps_sv_status_callback)(GpsSvStatus* sv_info);

I believe in the start/stop interfaces we need to do the following:

Start:

IOCTL call to open /dev/smd7

Loop:

IOCTL read to get NMEA data from /dev/smd7

Parse NMEA data (OpenSource NMEA Parser http://dmh2000.com/nmea/nmeap.shtml) and

Put data into GpsLocation/GpsStatus/GpsSvStatus for sharing with android

Stop:

IOCTL close on /dev/smd7

At that point; it _should_ just be a matter of loading the libgps.so kernel module; and stimulating a start on the gps interface; using either: google maps; or comparable app from Android Market that toggles the gps interface...

Thoughts? I could be way off (probably am); but want to get the ball rolling on gps since its the one thing my phone is still missing that I can't live w/out.
[Tilt, TyTN II, MDA Vario III Android Development] Sisqo:
same error with romanian orange operator when dialing *133#

is that a bug or?
[Tilt, TyTN II, MDA Vario III Android Development] biktor_gj:
That function is not implemented on the ril library I think... no ussd codes for now
[Tilt, TyTN II, MDA Vario III Android Development] aggarath:
the data.gz doesn't get extracted properly on my sdcard so i extract it by hand (it extracts a file called data) then rename the extracted file to data.img

zImage is the kernel and you don't have to replace it if you just want to start with a clean system.

If your kernel is stable just keep it, you CAN however use the nightly builds and help submitting debug reports.
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
It would be nice if this was all that was necessary but I think there are some rpc calls needed to keep the gps going. If gps is enabled the phone will crash because the rpcs aren't being replied to.

It may be easy to get the rpc stuff working but you will have to trace what wince does.
[Tilt, TyTN II, MDA Vario III Android Development] Orphee:
5 hours ago
Martin Johnson
Disable mdp clock when not in use. htc-vogue

8 hours ago
Martin Johnson
Experiment with the gp timer and another possible fix...

I tried last zImage,

at boot, I have a lot of lines :

GPT Interrupt.

Finally Android boot screen appeared but seemed to be frozen...

I did a reset and launched again Android.

Lines "GPT Interrupt" are still present at boot

Now Android booted, but it is "very very" slow. Not usable.
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
Did you get it from the website or compile it yourself; if you compiled it yourself, change the system timer to the debug timer. I've just changed the defconfig to do this.
[Tilt, TyTN II, MDA Vario III Android Development] Orphee:
I took it from here : http://gigatron.de/.android/builds/
[Tilt, TyTN II, MDA Vario III Android Development] eezak:
what would be the procedure to mount /dev/mmcblk0p2 at startup as a sd, so

it can be mounted through USB ?
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
Try changing /system/etc/mountd.conf, obviously you need rebuild the system.img to do this. Also ums needs to be enabled in common.c.
[Tilt, TyTN II, MDA Vario III Android Development] Sisqo:
dzo can you please tell us the changes to the android-1.1-22-04-09.zip build? thank you for all your work:)
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
The only difference is the kernel switches off the display processor clock when it's not being used which saves a bit of power.
[Tilt, TyTN II, MDA Vario III Android Development] Sisqo:
ok. i've seen in the previous releseases that the camera doesn't work, it says "press capure to take picture" but the screen is black, this hasn't been implemented or it's just a problem that i have?
[Tilt, TyTN II, MDA Vario III Android Development] roadhead:
I did this and now I can't use the touch screen, as its wildly inaccurate. Is there anyway to "reset" whatever I've done by touching the screen in this mode short of restarting? Where should I be touching it to try and get it back to center? Touching the middle of the screen can pull down the notification shade currently!
[Tilt, TyTN II, MDA Vario III Android Development] Orphee:
Top left and bottom right should solve your problem
[Tilt, TyTN II, MDA Vario III Android Development] mescalinum:
I just want to state here my appreciation for this project!

today I got android-1.1-22-04-09.zip build, and after a little startup problem (unpack of data), I got it working.

it works like a charm! and I wasn't expecting such great performances (in respect to windows mobile... :rolleyes: ).

radio and everything works, OpenGL works, sound works.

what I found NOT working is Camera and Wi-Fi. are those known issues?

anyway thanks to everyone contributed to this and further releases!
[Tilt, TyTN II, MDA Vario III Android Development] roadhead:
Yes indeed.
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
Added to androidonthtc.com wiki.
[Tilt, TyTN II, MDA Vario III Android Development] rippir:
[FIXED] No Network / SIM Error

DZO, Thanks for your help. I loaded all files from the "android-1.1-27-02-09" build. I have a data connection (which I did have in all newer builds) and can now send and receive phone calls (which I did NOT have in all newer builds).

I do have questions:

Am I going to be stuck on this build forever?

Will I ever be able to use future builds (that allow me to send and receive calls)?

Thanks to everyone involved for all of the hard work.

-Travis
[Tilt, TyTN II, MDA Vario III Android Development] milas:
Correct. Bluetooth and GPS are not active either. The port status page on the Wiki has a feature matrix.
[Tilt, TyTN II, MDA Vario III Android Development] tilt1414:
Hey guys, im currently using the new build 4-22. No big problems yet, did anyone notice when the phones on the charger and the device goes to sleep, the pattern of the green l.e.d. Maybe its just me, lol good work!
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
Just replace the zImage and initrd from the latest build.
[Tilt, TyTN II, MDA Vario III Android Development] Orphee:
I have less than 8 hours of battery in stand by with Android :/

There was just à alarm clock...

So, a big drain of battery... :/
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
You must use the sleep_mode 1 and the correct panel type to get good power savings.
[Tilt, TyTN II, MDA Vario III Android Development] danielbmarshall:
No more "Awake from Sleep" errors as of the 4/22 build here either. Everything seems to be running more smoothly. Great, great, great, work everyone!
[Tilt, TyTN II, MDA Vario III Android Development] joannerve:
With the last android builds I can't see videos. I only can listen but I can't see. I can see videos with an older build but no with more new builds. So, Youtube application don´t work properly .Someone can help me? It only happen to me? Why I can´t see the videos?
[Tilt, TyTN II, MDA Vario III Android Development] roadhead:
How does one correctly ascertain one's panel type?
[Tilt, TyTN II, MDA Vario III Android Development] Sheytoon:
Hi Dzo,

Thanks for all the hard work. It is much appreciated.

Can you please tell us what is new in this image?

In fact it would be great if you could post a message to let the users/testers know what is new in each image. Thanks in advance.
[Tilt, TyTN II, MDA Vario III Android Development] eezak:
just check http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue and you will find out kernel changelog.
[Tilt, TyTN II, MDA Vario III Android Development] Michel82:
http://code.google.com/p/sapphire-port-dream/

Compiled Android 1.5 versions
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
How to determine correct panel type? I've got three out of four panel types working fine, but couldn't notice too much of a difference in power consumption.
[Tilt, TyTN II, MDA Vario III Android Development] Sisqo:
dzo, after the android start up, can i turn back to the linux console?
[Tilt, TyTN II, MDA Vario III Android Development] MooNWalker:
Fn + Left SoftKey. Fn + Right SoftKey to switch back to graphics.
[Tilt, TyTN II, MDA Vario III Android Development] bullshizzle:
Hey guys, I love the new updates that you've been posting over the past month, but I'm have one problem that I wasn't really having with any other version.

Im using the same build as moonwalker but for some reason I can't dial in or out, it just ends the call right away.

I don't know whats different from any of the last versions but this seems to be the only problem I'm having with this one.

Any help would be great. thanks.

-Dan

Versions 23-02-09 and 01-03-09 were the last builds I was using when it worked.
[Tilt, TyTN II, MDA Vario III Android Development] Sisqo:
nice, thanks. landscape mode doesn't work?coz the screen turns upside down.

is there any way to turn of the debug messages?
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
If you just want a terminal use the one in dev tools, type su followed by ash to get a usable root console.
[Tilt, TyTN II, MDA Vario III Android Development] rippir:
I had the same problem with newer builds... below is what DZO suggested and it worked for me:

"There were some changes made to the RIL (to get the 3G icon amongst other things) a while back, can you try and older system.img to see if that's the problem. They are all on my site (cs-alb-pc3.massey.ac.nz/vogue) but I don't know exactly when the change was made so search through the thread and find a zip file with a date earlier than the 3g changes (you will still get 3g, just no icon)."

I installed "android-1.1-27-02-09" and it fixed the problem for me. You can install zImage and initrd.gz from the latest builds to stay up-to-date.

Hope this helps.

-Travis
[Tilt, TyTN II, MDA Vario III Android Development] bullshizzle:
Hey Travis.

I tried the 27/02 system.img and it works great, I'll leave the phone on overnight and test it throughout the day tomorrow and see how it goes.

Thanks a lot for the help.

-Dan
[Tilt, TyTN II, MDA Vario III Android Development] eezak:
on kaiser with latest headset fix kernel (04/24), phone shuts itself down when trying to pass a call with headset plugged in

(edit: it shuts down even with headset unplugged when trying to pass a call)

edit2: 04/25 kernel fixed it.
[Tilt, TyTN II, MDA Vario III Android Development] tilt1414:
Well i was using the newest build and it didnt freeze totally, but my messaging keeps always needing to be "Force Close" i tried reloading everything from scratch, problems still there, so i switched back to my/the stable 3/1 and its still occuring. so im back in windows for the day, dont have time right now, im off to work, booo
[Tilt, TyTN II, MDA Vario III Android Development] skola28:
It appears that the 2/25 build doesn't allow my Togga to connect anymore. I didn't do a full install, just the zImage. I tried the browser and confirmed that it did not have a data connection either. TXT, and phone calls still work fine.

-- edit--

Forgot to add, it DOES apear that the backlight now resumes intensity correctly! I've tried it for about 30 minutes now and powered down, toggled standby/active, power and end keys. Seems to work perfectly! Nice work.
[Tilt, TyTN II, MDA Vario III Android Development] Pandemic187:
With the new bundles found on the wiki, is anything being changed other than the kernel?

EDIT: I guess I just have to replace the zImage and initrd?
[Tilt, TyTN II, MDA Vario III Android Development] rippir:
Yes, Just replace the zImage and initrd.

brief description of changes:

http://www.androidonhtc.com/kaiser:latest_builds
[Tilt, TyTN II, MDA Vario III Android Development] Completenutter2:
Same for me, latest build 24/4 doesnt connect using Togga at all.
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
I've managed to get the GPU working, this means we now have accelerated 3d graphics.

OK, here's a test kernel and system.img with the GPU enabled.

http://cs-alb-pc3.massey.ac.nz/vogue/files/?C=M;O=D

Just replace your kernel and system.img with zImage-gpu-kaiser and system-gpu.imge. There aren't that many apps that use OpenGL-ES and it's not perfect but you should see the difference on the global-time app and the api-demos. I've also put the neocore apk on there (an OpenGL benchmark).

Let me know if you find any cool 3d apps to test it on.

Obviously this is quite experimental, still a bit glitchy and I don't know if it affects power consumption, you also give up some memory.

Now windows mobile users will really be jealous.
[Tilt, TyTN II, MDA Vario III Android Development] TaC:
Wow. Great job, dzo. I'll try it right now in my kaiser.

Definitely, we need someone like you in Diamond Android development... :D
[Tilt, TyTN II, MDA Vario III Android Development] ducamie:
how do you amaze me everytime
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
O M G :eek:

Testing now. It seemed already somewhat smooth before on some 3d graphics but now I wonder what this will be like.

Thanks DZO.

Edit:

Works great! a few graphical glitches but it has 28fps in that benchmark that you uploaded.
[Tilt, TyTN II, MDA Vario III Android Development] silasrye:
City Stage Game TEst

City Stage racing game...

I runs, and what i can see looks pretty good, but there is a gray bar between 60% of the way down the screen and 80% of the way down the screen that occludes all the important graphics for that game.

Super-G stunt (same company as above)

It runs, does a similar block out (not the place), howver when i push down on the conrolpad, and go up in the plane to 'nothing but blue skys' the plane becomes visible, so i think it is just stretching the processor or memory or something, because when there is very little to show, it works.

Crazy Lutuputu 3D

this works, (though without an accelerometer it sucks).

it is a simpler looking game.

Finally, not sure this matters but I used the 320x428 resolution for these tests. But.... lastfm and the weather channel are messed up with this setting so I'm going back to 336x448. The only reason I changed was that it was along time since I updated my Android files and couldn't get it to work, so i cleared out everything.
[Tilt, TyTN II, MDA Vario III Android Development] trunks_ss2:
ok i tried it as well i looks pretty. but my problem is that on the new 22-04-09 i cant get the internert to work i put in all the information in the control settings and started up haret with internet connextion on but nothing it shows the 3g next to the bars. anysolution.:confused:
[Tilt, TyTN II, MDA Vario III Android Development] anaethelion:
Well i just tested this on mine and i'm afraid it doesn't seem to work. Android boots up fine, it finds my networks, connects well, but when i try to launch an opengl app it just crash and reboots the phone.

I'm on radio 1.70.18.02 with a 6.5 rom, but i don't remember exactly which one...
[Tilt, TyTN II, MDA Vario III Android Development] tembares:
I installed the latest ZIP-file, 25-04-09 1.1, from DZO.

When signed-in with my Google account, I got the following error:

The application Google Apps (process com.google.process.gapps) has stopped unexpectedly. Please try again.

After this error every Google-account related apps does not work, like Gmail, Agenda and Market.

Any also had this error?
[Tilt, TyTN II, MDA Vario III Android Development] mikechml:
Is there a repository or set of patches for the actual android code changes (ie: stuff in system.img) around?
[Tilt, TyTN II, MDA Vario III Android Development] rippir:
http://git.linuxtogo.org/?p=groups/mobile-linux/kernel.git;a=shortlog;h=refs/heads/htc-vogue
[Tilt, TyTN II, MDA Vario III Android Development] ajclai08:
i read g1 users get around 24 fps... does open gl es accelerate video playback or 2D?
[Tilt, TyTN II, MDA Vario III Android Development] shadowline:
I have a question for the devs, how did you find the mtype settings in the default.txt? is there a way to find it out for a device? Is every device model different even if it is based on a similiar processor?
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
You register a machine type here:

http://www.arm.linux.org.uk/developer/machines/

Then make a board file with that type.
[Tilt, TyTN II, MDA Vario III Android Development] adlaw:
Hi

The latest zimage's dont connect to the internet for me.

If i use the zimage from the 22nd or before it works.

Is there something that i missed?
[Tilt, TyTN II, MDA Vario III Android Development] mikechml:
That's only for the kernel, not the android source.
[Tilt, TyTN II, MDA Vario III Android Development] ivku:
Radio for Android - Orange lock

Hi,

at first - awesome work.

My Kaiser is locked to specific radio (Orange lock my kaiser on radio 1.27.14.32 and WM6).

I know that there is a way for unlocking, but with loss of warranty or way back because this radio is not extracted.

The great thing on android is boot from SD without touch to actual WM.

Is there possibility to create specific kernel or setup with some parameters for me ?

Data and call setup is OK, there is just one problem NO AUDIO.

Trying to set new audio setup:

activity Sound&display is not responding.

How can I debug this situation and post results ?

What information will help you trace this ?

IV
[Tilt, TyTN II, MDA Vario III Android Development] dzo:
GPU works perfectly now, no glitches. The latest zip now includes the GPU update, replace system.img and zImage to try it.

http://cs-alb-pc3.massey.ac.nz/vogue/files/?C=M;O=D
[Tilt, TyTN II, MDA Vario III Android Development] dimarzzio:
I finally tried to install android yesterday, and one word I can say is WOW..

I've been sick for over a week, and playing with android on my tytn2 turned out to be so much fun. I didn't follow this thread, but now trying to catch up. I am using the bundle from 22-04-09. At first I didn't get data connection, but then I switched the bootscript to default-kaiser.txt and bingo, I got data connection. I've installed few apps from the market, but few of them were not so good. I was wondering how perfect it'd be with working bluetooth, wifi and camera :D Suddenly windows mobile feels so boring and outdated :D