yashsingh1/xdaforums huggingface dataset:
[TG01 ROM Development] melpycar:
for the phone use we can take the htc hd2? has they the same module 3g cdma...?

at now what is the situation? i ve froyo rom and with the markinus kernel only sound vibration works...

tnks
[TG01 ROM Development] Mic43:
I confirm that sound and vib is working. Vibration is present in soft keyboard when we select proper option in keyboard settings.
[TG01 ROM Development] bojan6:
Ok guys I promised that I will make how to cook basic Android ROM for our TG01.

1. Download HTC Android kitchen. You can download it from here:

http://xdaforums.com/showthread.php?t=633246

2. Download COFFEE SHOP (only for Android 2.1 ROMs for now ). You can download it from here:

http://xdaforums.com/showthread.php?t=738770

3. Download any shipped ROM supported in our phone.

4.Then copy your zip, exe or system.img and boot.img in kitchen's original_update folder.

5. Open Terminal Install Java resource by typing : sudo apt-get install sun-java6-bin sun-java6-jre

6.Open Terminal and enter in your kitchen folder by typing ex: cd Kitchen

7. Type in Terminal ex: ./menu

8. From the menu option ex: 1

9. You have your Android ROM extracted in working folder.

10. Make your change .... in ROM

11. In Terminal kitchen choice option "99" to rebuild ROM

12. You have your ROM in "OUTPUT ZIP"

13. In terminal type : sudo apt-get install genext2fs

14. Before running COFFEE SHOP type in terminal : chmod 777 -R /path/of/coffee/shop/*

15. Now copy your file from OUTPUT ZIP kitchen folder to : CHOFFEE SHOP/bin/environment/image/

16. Run from COFFEE SHOP folder "main"

17. Click on Build Android

18. Click on Export Image

19. Your System.ext2 will be in "COFFEE SHOP/bin/environment/port/ "

All this is under development so don't say anything if it's not working. There many thing to do...

That is all .

Thanks for the guys on HTC section

KITCHEN

dsixda

COFFEE SHOP

montraydavis

There are many other people involved in this, big thanks for all of them.

Please if you need more information just follow the links in the beginning.

Sorry about my poor English.. ;)
[TG01 ROM Development] drupad2drupad:
I believe sudo apt - bit is for linux os?

I have got linux os working on my computer - I can try for tg01 and see if I can get a alpha version out? Any ideas?

Thanks a lot!
[TG01 ROM Development] bojan6:
Yep is for linux.

But I haven't ideas .... for now :O(
[TG01 ROM Development] melpycar:
format the card to fat32 and then put all the files....if not works try another sdcard
[TG01 ROM Development] Mic43:
I have done some benchmarks of out TG01 in android today:) It performs quite well. I used quadrant benchmark. TG01 scores where similar to nexus one running froyo. But our I/O speed was event faster! I can say twice time faster - I think this is a bug. On the other hand memory performance was small comparing to nexus and even other, older devices.
[TG01 ROM Development] tzaq93:
nexus one has 512 ram while tg01 has just 256. :)
[TG01 ROM Development] Mic43:
@tzaq93

Amount of installed RAM has nothing to do with its performance:)
[TG01 ROM Development] bojan6:
Most problem coming from ROM build and rootfs.img as well no from the sd card. I check there is a build that run very fast but it's still restarting.

Is android with sense.

This errors are from init in rootfs.

previous posted

" I extract the thing to the root of the card,

ends up giving me tons of " Buffer I/O error on device mmcblkopt logical block_13037"

I check today and one proper build for TG01 you can wait after some months. There are mising battery driver, wifi driver, bluetooth driver, charging driver, and many others.

so for now research from my part.... :) read and read and read ........... and read ;)
[TG01 ROM Development] madmax241178:
http://www.linuxfordevices.com/c/a/News/Toshiba-phone-runs-Linuxfriendly-virtual-platform/

i have found it by searching for drivers

maybe ok labs has drivers!

someone can look here!

http://wiki.ok-labs.com/forum

or here!

http://wiki.ok-labs.com/Microkernel
[TG01 ROM Development] bojan6:
We don't use microkernel and our kernel is working Thanks to Markinus .

We need to create our proper drivers or modifies existing ones.
[TG01 ROM Development] madmax241178:
http://cateee.net/lkddb/

thats also not usefull?

then i go and wait of your success with a full runing android!

Good bye and good luck!
[TG01 ROM Development] bojan6:
Hahahaha ye gr...s

Ok Endrix I see you are here? So can I ask you a question?

I try yesterday to mount rootfs it was everything Ok, but when I tried to umount I'd get error that it wasn't mounted.

Do you have any idea what can be this error or how to fix it?
[TG01 ROM Development] endrix:
For example if you have mounted in the /media/temp,

to mount you should use : sudo umount /media/temp
[TG01 ROM Development] bojan6:
I tried this and it was the same error.

Mistake I think I understand what was the problem. I was thinking that when you mount and make change you have to create a new roorfs somewhere.

What it do is just open the rootfs.img then you make your changes and save it in the same rootfs.img or I am wrong?

I have other question? Way the size is different ?

My original rootfs.img is 16MB when I do : sudo mount -o loop rootfs.img /mnt/rootfs

the I check in mnt/rootfs and I have 8.7MB
[TG01 ROM Development] bojan6:
I am looking for "liquid" rootfs.img if someone can find one and post it. That's go be great.

I want to compare liquid and htc-leo and nexus but for what i see htc-leo are using nexus rootfs.img
[TG01 ROM Development] arnookie:
Take it we have still no luck with sd card issue?
[TG01 ROM Development] wildcardspv:
I downloaded android for Acer Liquid (twice - 2 different versions), but it was always a .bin file.

I tried to extract each one, but a full extract could not be completed and only about 50 or 60 files were found.

Rootfs was not one of them.

You can check out the files I extracted at www.megaupload.com/?d=1TP8NKHC
[TG01 ROM Development] bojan6:
What I see they are all bin files...

Ok so any idea for other similar phone as toshidroid that had ported android and we can check rootfs.img ?
[TG01 ROM Development] bally3:
Guys, play nice.. madmax, all research and info can be useful so dont take it personally if someone tells you its not relevant please.

To all, please respect the rules of the forums. Some things might be said casually with harmless intent but can and may cause offense.

SHR I would appreciate if you would remove the two posts you've questioned.

Thanks.
[TG01 ROM Development] arnookie:
Will this help with understanding sd card mount issue and apps not seeing card as mounted? http://xdaforums.com/showthread.php?t=462882
[TG01 ROM Development] bally3:
dont worry about the size, its just the way the image is put together.

This works for me, to mount rootfs:

mkdir /mnt/rootfs

sudo mount rootfs.img /mnt/rootfs -o loop

to unmount and save:

cd /home/

sudo umount /mnt/rootfs

this works for and I've been testing my changes since yesterday without problems.
[TG01 ROM Development] bally3:
I understood from what nyl was saying last night and my own research that the mmcblk0 is used when we use a system image and mmcblkp01 is used when you partition the card with a linux partition and a fat32.

Still trying to figure out why the sdcard is being found in apps, its found with file explorers, so its there.

hmm.. ok.. Im just throwing it out there.. but do apps see a fat32 partition?

Arnookie.. you might want to try whats in the link and dual partition to see whether it picks up the card or not.
[TG01 ROM Development] bojan6:
Here is a way how to do it..

http://androidandme.com/2009/08/news/how-to-manually-partition-your-sd-card-for-android-apps2sd/

if you want try :O)
[TG01 ROM Development] bojan6:
I know is working just I needed some time to understand how is working.
[TG01 ROM Development] maxbamford:
hi, i downloaded the android rom and extracted it to my memory card, ran the .exe file then the haret.exe file , the kernel starts to boot but then i get the error

"sh: can't access tty; job control turned off" , can anyone help?

thanks in advance
[TG01 ROM Development] bally3:
Please ask non-dev related questions in the Discussions thread - thanks.

http://xdaforums.com/showthread.php?p=9527190#post9527190
[TG01 ROM Development] bojan6:
Ok I did partition on my sdcard but in which one we have to put Android with zimage

in fat32 or ext2 ?

I tried in fat32 still say no sdcard in galery. May be iI have to try in ext2.
[TG01 ROM Development] bally3:
I would have thought the kernel would go in the fat32.

I've just added the pwf tg01-ramconsole.txt 0x03c00000 0x40000

to the default.txt to get an output and see whats happening there, maybe it might give us a clue.
[TG01 ROM Development] bally3:
I think our problem is running it from the android folder.

if you look at the root.. its creating a folder for data outside of the android folder!
[TG01 ROM Development] bally3:
this is the init file from the initrd.gz:

#!/bin/sh

# If u want to use my stuff please drop my name somewhere
# dan1j3l
#

sleep 0
echo "

"
sleep 0

mkdir -m 0755 /proc
mount -t proc proc /proc
mkdir -m 0755 /sys
mount -t sysfs sys /sys

#Configure Devices
MAKEDEVS

fail() {
echo "Failed"
echo "$1"
exec /bin/sh
}
while [ ! -d /sys/block/mmcblk0 ] ; do
echo "Waiting for SD Card"
sleep 1
done
#Wait a bit once mmcblk0 appears
#Reading partition table could take some time
sleep 2

#Call it ... root= ?
#I don't do that because I don't want to interfer in any way with kernel
root_partition=`/bin/grep -o "root_partition=.*" /proc/cmdline | /bin/sed -e "s/.*root_partition=//g" -e "s/ .*//g"`
if ! [ "$root_partition" = "" ];then
mkdir /rfs
mount -t ext2 $root_partition /rfs
exec switch_root /rfs /init
fi

partition=`/bin/grep -o "loop_partition=.*" /proc/cmdline | /bin/sed -e "s/.*loop_partition=//g" -e "s/ .*//g"`
if [ "$partition" = "" ];then
partition="mmcblk0p1"
fi

# Try unpartitioned card
if [ ! -d /sys/block/mmcblk0/$partition ] ; then
partition=mmcblk0
fi

mkdir -m 0777 /sdcard
echo "Running an fsck on the SD card"
dosfsck -y /dev/block/$partition
mount -t vfat -o fmask=0000,dmask=0000,utf8,rw,flush,noatime,nodiratime /dev/block/$partition /sdcard
[ $? -eq 0 ] || fail "Failed to mount the SD card. Cannot continue."

CARD_PATH=`/bin/grep -o "rel_path=.*" /proc/cmdline | /bin/sed -e "s/.*rel_path=//g" -e "s/ .*//g"`

if [ "$CARD_PATH" = "" ];then
CARD_PATH="Android"
fi

if [ -d /sdcard/$CARD_PATH ] ; then
card=/sdcard/$CARD_PATH
else
card=/sdcard
fi

if [ -f $card/rootfs.img ] ; then
root="$card/rootfs.img"
SQUASHFS=0
elif [ -f $card/rootfs.sqsh ]; then
root="$card/rootfs.sqsh"
SQUASHFS=1
else
fail "Failed to find rootfs on SD Card. You need to unzip a rootfs zip file to the root of your SD card."
fi

mkdir -m 0755 /rfs
losetup /dev/block/loop2 $root
[ $? -eq 0 ] || fail "Failed to mount rootfs on SD Card."

if [ $SQUASHFS -eq 0 ]; then
e2fsck -y /dev/block/loop2
mount -t ext2 -o noatime,nodiratime,sync,ro /dev/block/loop2 /rfs
[ $? -eq 0 ] || fail "Failed to mount rootfs"
else
mount -t squashfs -o noatime,nodiratime,sync,ro /dev/block/loop2 /rfs
[ $? -eq 0 ] || fail "Failed to mount rootfs"
fi

#mkdir /rfs/dev
mount -t tmpfs -o size=100K tmpfs /rfs/dev
cp -a /dev/* /rfs/dev

echo "Cleaning up..."
umount -l /proc
umount -l /sys

echo "Switching to rootfs..."
exec switch_root /rfs /init
[TG01 ROM Development] bojan6:
I was thinking the same thing.

From ext2 we can't run because windows don't see it. So only option fat32..
[TG01 ROM Development] lesa0208:
ext2,ext3, ext4 android use only for app2sd, all music, and video, wallpapers, etc is on fat32. On my htc hero sd card is formated 512mb ext3 for apps, and 7gb fat32
[TG01 ROM Development] bojan6:
What I see our problem is in rootfs and initrd that way the other builds don't run properly.

We have to find way to fix It. ....

I try to change some things in rootfs but it crash.
[TG01 ROM Development] nyl:
check init file in rootfs or system

also in etc on system something related with volume daemon, forghot the file :) and you will see some strange things that need edit
[TG01 ROM Development] bally3:
sounds like xdandroid had that problem and they have a sdcard fix. Maybe worth contacting them to find out what it was. phh was the dev I think.
[TG01 ROM Development] arnookie:
Only thing I have found is search and replace /sdcard with /mnt/sdcard in /init in rootfs.img

--------------------------------------------------------------------------------
[TG01 ROM Development] Scougar:
I did post a comment in the discussion thread that 'Astro' application could access the SD card with what looked like an mount command. Does that help?
[TG01 ROM Development] endrix:
guys can somebody look at this link

http://gitorious.org/xdandroid-ecla...69a0d72664f64a31e8a9531f24fd1e710737956f/init

and search fix sd card there is a line...

I would test it later this evening (still at work now :cool: )
[TG01 ROM Development] arnookie:
Just looking at it now endrix. Thanks. :o)
[TG01 ROM Development] bojan6:
Did you see the part with nand?

Who go to try to replace the code ? ;)
[TG01 ROM Development] arnookie:
Bally3 will probably know what to do with this. :)
[TG01 ROM Development] drupad2drupad:
is it #238 onwards?
[TG01 ROM Development] bojan6:
It's mistake sorry I was thinking that the code is different. Now I see is similar. But lets see..

Comparing now..
[TG01 ROM Development] bojan6:
I tried and it didn't work ( no sdcard )but I replace just part of the code. So I want try if we replace all init.

But not now may be late :O)
[TG01 ROM Development] nyl:
did you try to edit vold.fstab?
[TG01 ROM Development] bojan6:
What is vold.fstb?
[TG01 ROM Development] tailormoon:
vold.fstab

View attachment 455179 I fastened
[TG01 ROM Development] bojan6:
What is the origin of this file? In which location?
[TG01 ROM Development] tailormoon:
system/etc

I do not know original or not
[TG01 ROM Development] bally3:
I think I might have made some headway with the sdcard issue.

Try this someone:

Format the sdcard using Disk Utility in Ubuntu using Master Boot Record as the option (I dont know how to do it in windows atm)

Create two partitions, (equal size I think it might not matter as long as they're at least 1Gb) - first one FAT32 and one EXT2.

Copy all the build files except the system.ext2 file into the FAT32 partition into a folder called Android.

mount the system.ext2 partition in the same way we mounted the rootfs.img using the terminal command:

sudo mkdir /mnt/system

sudo mount -o loop /mnt/system system.ext2

open the /mnt/system folder using the normal file explorer by opening Computer > File System and navigate to the folder.

Copy all the files and folders to the EXT2 partition of the sdcard (it will complain it cant copy Lost+Found - skip it.

Use a initrd.gz from a build that uses the mmcblkp01 partitioned card system. copy it to the FAT32 partition and over-write the old one.

I did it last night, but came across an error about /data/property erno 2 when it was booting and it wouldnt go further than that, but it did pick up the partitioned drive so I assume it should see the card - if it boots. :rolleyes:
[TG01 ROM Development] bally3:
ps. make sure you're in the directory where the system.ext2 is in terminal before you mount it. or else add your path to the system.ext2 bit like this:

sudo mount -o loop /mnt/system /<path>/system.ext2
[TG01 ROM Development] arag0n85:
it would be good if works, but I think that the average user expects to be able to use the card without needing to do strange partitionings using a linux distribution...
[TG01 ROM Development] bally3:
can someone quickly check if it says sdcard mounted in settings or not please?

also Arash is in irc so if someone wants to jump in and try what he says that would be helpful - I dont have the tg01 with me :)
[TG01 ROM Development] tailormoon:
I will make attempt now
[TG01 ROM Development] bally3:
Need to check this in the kernel Markinus/Endrix:

#define HTCLEO_GPIO_SD_STATUS 153

We need to see if we have correct gpio in the kernel, the "153" is for hd2 apparently
[TG01 ROM Development] bally3:
True, but in the absence of a solution, we need to try whatever works in order to get to the root of the problem. Apart from that, this thread is for development user only and not for the average user. Although many people have run android to try it on their phones, this is still in apha development stages and not beta or release stages yet, so "strange partitioning" is to be expected - as is technical changes to files and structure.

:)
[TG01 ROM Development] arag0n85:
Totally agree, sorry for my comment. Just wanted to point that even if works it's not a desriable final solution.
[TG01 ROM Development] bally3:
/* arch/arm/mach-msm/board-htcleo.h
*
* Copyright (C) 2009 HTC Corporation.
* Author: Haley Teng <[EMAIL="Haley_Teng@htc.com"]Haley_Teng@htc.com[/EMAIL]>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef __ARCH_ARM_MACH_MSM_BOARD_TSUNAGI_H
#define __ARCH_ARM_MACH_MSM_BOARD_TSUNAGI_H
#include <mach/board.h>
// As first set to 128 MB, ram cosole behind
#define MSM_EBI1_BANK0_BASE 0x11800000
#define MSM_EBI1_BANK0_SIZE 0x0E800000
/* Don't change that */
#define MSM_SMI_BASE 0x00000000
#define MSM_SMI_SIZE 0x04000000
/* Begin SMI region */
/* First part of SMI is used for OEMSBL & AMSS */
#define MSM_PMEM_SMI_BASE (MSM_SMI_BASE + 0x02B00000)
#define MSM_PMEM_SMI_SIZE 0x01500000
#define MSM_FB_BASE MSM_PMEM_SMI_BASE
#define MSM_FB_SIZE 0x00600000
#define MSM_GPU_PHYS_BASE (MSM_PMEM_SMI_BASE + MSM_FB_SIZE)
#define MSM_GPU_PHYS_SIZE 0x00300000
#define MSM_PMEM_VENC_BASE (MSM_GPU_PHYS_BASE + MSM_GPU_PHYS_SIZE)
#define MSM_PMEM_VENC_SIZE 0x00800000
// MSM_RAM_CONSOLE uses the last 0x00040000 of EBI memory, defined in msm_iomap.h
#define MSM_RAM_CONSOLE_SIZE 0x00040000
//#define MSM_RAM_CONSOLE_BASE (MSM_PMEM_SMI_BASE + MSM_FB_SIZE + MSM_GPU_PHYS_SIZE + MSM_PMEM_VENC_SIZE ) //0x03C00000

#define MSM_PMEM_SMIPOOL_BASE (MSM_PMEM_VENC_BASE + MSM_PMEM_VENC_SIZE + MSM_RAM_CONSOLE_SIZE)
#define MSM_PMEM_SMIPOOL_SIZE (MSM_PMEM_SMI_SIZE - MSM_GPU_PHYS_SIZE - MSM_FB_SIZE - MSM_PMEM_VENC_SIZE - MSM_RAM_CONSOLE_SIZE)
/* End SMI region */
/* Begin EBI region */
#define PMEM_KERNEL_EBI1_SIZE 0x00028000
#define MSM_PMEM_SF_SIZE 0x02000000
#define MSM_PMEM_ADSP_SIZE 0x02000000

#define MSM_PANEL_PHYS 0x00080000
#define MSM_PANEL_SIZE 0x00080000
/* End EBI region */

#define TSUNAGI_GPIO_KP_VOLUP 41
#define TSUNAGI_GPIO_KP_VOLDOWN 40
#define TSUNAGI_GPIO_KP_CAMERA 39
/* Bluetooth */
#define TSUNAGI_BT_PCM_OUT 68
#define TSUNAGI_BT_PCM_IN 69
#define TSUNAGI_BT_PCM_SYNC 70
#define TSUNAGI_BT_PCM_CLK 71
#define TSUNAGI_GPIO_BT_UART1_RTS 43
#define TSUNAGI_GPIO_BT_UART1_CTS 44
#define TSUNAGI_GPIO_BT_UART1_RX 45
#define TSUNAGI_GPIO_BT_UART1_TX 46

#endif /* __ARCH_ARM_MACH_MSM_BOARD_TSUNAGI_H */

for Arash:
[TG01 ROM Development] gamerr120:
Very nice to see android running on the TG01

I am sure you're aware of all the bugs, so I'm not going to say any, the one query I have is, how do you close haRET and return back to wm?

I've also been testing a few games on the TG01, I will post a video on youtube in about 20 minutes :)
[TG01 ROM Development] bally3:
Guys, Markinus said he will have time to get some development done.

Unfortuantely I might be away for a lot of the weekend, so please make sure there are enough of you around in the irc room to give support where needed.

I have asked Arash18k for help and he is also helping at the moment with the sdcard issue.

Thanks

:)
[TG01 ROM Development] bojan6:
Ok first changes in our ROM we use as base is done.

Now we can change everything in ROM, that stage is ready for building. So we can concentrate just in rootfs, initrd and kernel....

:D
[TG01 ROM Development] arnookie:
Already posted video of stuff running. :o)

http://www.youtube.com/watch?v=POJQtPClRsY

http://www.youtube.com/watch?v=w--i1ENqsBI

http://www.youtube.com/watch?v=jx4eSWnw8fk

Angry birds works great.
[TG01 ROM Development] jamshidzade:
android

hi i have question

i want to know now android os for tg1 is complete or no ?

and what is problem please answer me mabye i can help you
[TG01 ROM Development] jamshidzade:
android

send me a last link for download toshdroid maybe i can help you
[TG01 ROM Development] lesa0208:
http://www.multiupload.com/WQN1Q1SJ0E

I'am using this bild
[TG01 ROM Development] bally3:
Arash is in irc now working with Arnookie.. If you've got the sdk setup for android and have USB connection for adb shell, please help them.
[TG01 ROM Development] arnookie:
log of logcat.log download here.

http://www.megaupload.com/?d=LIBZDDCL

http://rapidshare.com/files/434696685/logcat.log

dmesg.log

http://pastebin.com/gcUgUMMw

logcat.log last one

http://pastebin.com/dSAsSuuv
[TG01 ROM Development] daddyredmond:
android desktop

Iam not sure if this is any good to you or not, but i was searching the web and found a site wich have been doing android for the desktop,

here is the link

http://www.redmondpie.com/download-google-android-for-your-pc/,

might help might not:confused:
[TG01 ROM Development] arnookie:
A quick list of games that are working so far.

Angry birds

Burning Tires,

Pool break pro,

Raging thunder,

Talking tomcat,

The Sims 3,

Winter Games,

Just A few I have tried That work fine.;)
[TG01 ROM Development] bojan6:
So testing games? a :D
[TG01 ROM Development] olyloh6696:
Hi arnookie does the g-sensor work for these apps? Such as the car racing game raging thunder? Thanks in advance!!
[TG01 ROM Development] arnookie:
No -gsensor is not working yet. Many more games will work if it does get sorted.

Still awaiting fix for it though. Let's golf seems to install okay and so does Gangstar and Nova but they either need wifi or sd card access. So can't really say if they will run.
[TG01 ROM Development] bojan6:
Not yet....

Ok guys I'm stuck on "HW_Restart by app not by Radio" I found this

http://tjworld.net/wiki/Android/HTC/Vision/BootProcess about this reset.

My problem is I don't know in wich memory to set default.txt in debug option.

I set it to 0x11800000 bud there i just part of the text in output file. So I want to see all lines.

Anyone any idea?
[TG01 ROM Development] afirmo@gmail.com:
booted the files uploaded before.

You can check the result of booting the file that was uploaded in this video:

_w.youtube.com/watch?v=E-MrfS8ioBo
[TG01 ROM Development] bally3:
Markinus now has managed to get into android with his own build and also got touchscreen driver working! WOO HOO!

ts driver needs calibration but it works apparently.

he will upload a build soon he said.

Good stuff.. really really good stuff.. :)
[TG01 ROM Development] bally3:
task for someone... we need to extract the windows mobile touchscreen calibration data to make the touch screen work properly.

anyone who can find it, please post it here as soon as you can.. Markinus is on a role tonight!
[TG01 ROM Development] bojan6:
You know how to do it?
[TG01 ROM Development] Zipu:
Can anybody upload complete android ready to try (with compiled kernel)

I can't compile kernel becouse i have polish remix of linux and is something wrong.

Thank you

ZIPU
[TG01 ROM Development] bally3:
if anyone has a usb cable for the tg01, they can use this program:

http://www.4shared.com/get/HWGuHdr3/MSP_RemoteAlignment.html

to get the calibration data.
[TG01 ROM Development] bally3:
Connect the device to your computer and ensure that Active Sync recognizes your device.

Open the Remote Screen Alignment application on your computer.

Tab to the “Retrieve” button and press enter.

A file with the name “Calibration.dat” will be created in the same directory as the Remote Screen Alignment application.

You will need this file for automatically aligning the screen when you hard reset your device.

cant guarantee it works with tg01 but no reason it shouldnt :)