yashsingh1/xdaforums huggingface dataset:
[TG01 ROM Development] DunkDream:
Good to see things moving here.

Hope that the TG01 community will get a workin' kernel :)

They're worth it.
[TG01 ROM Development] bojan6:
Ok. I'm going to try this one but after I finish with my homework.

I'm downloading it now.

Wait for news......... :p
[TG01 ROM Development] EVEALEX62:
Nice thread, I hope to have good news ..
[TG01 ROM Development] bojan6:
Last News...

After I download the file I had some problems. It gave me errors when I try to make arch=arm tsunagi_defconfig. Error was like a privet file and you don't have access. So I copy all the files on new directory and then I was able to do make arch=...... defconfig. Then I compiled it with success.

Then I make all changes in default.txt and it run then restart. But this time I think it's problem from some APP. What it say but I wasn't able to see it. It was to fast.

I need some help to set debug haret.

Current default.txt in haret/debug/ is: pwf tg01-ramconsole.txt 0x1FFC0000 0x40000

If some one can help me how to change it that's go be perfect.

Sorry about my English I'm still learning.
[TG01 ROM Development] bojan6:
That's great job what have you done. It's amazing. I thing kernel is booting now but I am not sure. With me is still restarting.

If I can help with something just tell me. I'm not professional but may be I can do something.

I was thinking about board configuration and all other configs.. but I didn't know how to do it. So

Thanks for your job.
[TG01 ROM Development] bojan6:
For those who want to try himself.

1st. Download from Markinus posts his repository it's on the right side on the page http://gitorious.org/linux-on-wince-htc/linux_on_wince_htc/commits/linux-on-tg01

2nd. Unzip it in a folder that you have created before. How to unzip it?

Go to Applications -> Accessories->Terminal

In Terminal tap: cd name of your new folder, ( example: cd myAndroid )

then you have myAndroid$

Now you tap : tar xvzf directory where you have download Markinus repository. (example: tar xvzf /home/downloads/linux-on-wince-htc-linux_on_wince-htc-linux-on-tg01.tar.gz.gz)

You will see how the file is unziped.

3rd. You will see in your folder that there is a new folder named (linux-on-wince-htc-linux_on_wince-htc-on-tg01 or something like that). If you see like a small lock in the front of this folder then do this. Create a new folder put the name you want. Then cut everything from the folder linux--on-wince-htc...........etc. and past it in your new folder.

(example what I did it was easy just in my folder myAndroid I create a folder kernel_1 and I paste everything inside.

4th Now wen we have not everything but may be a part of. Is time to download toolchan (compiler) and some libraries.

in your Terminal tap : apt-get install git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev ia32-libs x11proto-core-dev libx11-dev lib32readline5-dev lib32z-dev.

thats for the libraries.

and this one for tollchains or cross tools or ... what you want call it.

http://www.codesourcery.com/sgpp/lite/arm/portal/release858

download it and install it. in the same folder as repository (example myAndroid/cross_tools)

Thanks to Endrix with his tutorial help me a lot.

5th.Now enter in your kernel_1 folder or whatever you called it and tap: make ARCH=arm tsunagi_defconfig

6th When finish writing to configuration. tap: make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-

enter

If you have done everything without errors then you will see how linux is building your kernel.

7th When finish building go to (exaple myAndroid/kernel_1/ARCH/arm/boot/ ) ther is your kernel Image and zImage you can use both if you want. :O)

Thanks Markinus and Endrix.
[TG01 ROM Development] Scougar:
EDIT: I've only got windows at work... Can someone please upload a compiled kernel so I can try it on my TG01 so I can give feedback?

Awesome, seriously well done guys!!!

I've not had time to help like I had hoped, so simply well done to those involved so far :-)

).
[TG01 ROM Development] bally3:
Glad to hear it finally arrived Markinus :)

Good to have you on board too. With regard to a compiled kernel, everyone please allow Markinus some to time to get things working before we start asking for kernels to check.

Just so that people understand, kernel booting doesnt mean kernel loading a android gui environment, so theres still nothing to see. What Markinus means by that is he can see that the hardware is being initialised and the things that should be happening when a kernel boots are happening.

Good to see things moving again though :)
[TG01 ROM Development] bally3:
This is an Linux/Android thread. You should ask the question in the appropriate thread.
[TG01 ROM Development] Scougar:
Bally, I knew it wasn't ready per se, I just wanted to try and contribute by testing to see if they got the output they expected on multiple phones as I don't have the time to help with development as I expected to :(
[TG01 ROM Development] Kalas_22:
One thing ttt bothers me, TG01 has a low amount of ram (or at least i think so) for winmo most roms get just 100 or so.. Running opera and some music on the backgorund may be enought to get things messsy.

Will android spend more or less in comparissom?

thanks
[TG01 ROM Development] olyloh6696:
i also worried about this too. but most android devices have 256 ram or so. and android is more effiecient with ram management than windows mobile. we also have badly optimised toshiba dlls. when running android, it shuts down windows mobile, and opens android os, so both os dont run in the background, thus saving ram. also i wonder after we manage to get functional android roms, we get skinned versions, such as HTC Sense! what do you guys think+
[TG01 ROM Development] bojan6:
There you have one compiled kernel..

Is ready to execute. Just extract it to your sd card in your phone and that is all. Then run haret.

This one is from Endrix file I just replaced the Image file and set the new default text. There is a zImage as well and you cant try it if you want.
[TG01 ROM Development] bally3:
dont have a tg01 to hand at mo.. can anyone post up the output please?
[TG01 ROM Development] bally3:
:)

I stand corrected.

Markinus HAS got to the gui...wow!

we need a touch screen driver now.. good work...very impressive!

:D
[TG01 ROM Development] olyloh6696:
im sorry but does this mean, we have a functional bootable androidrom??
[TG01 ROM Development] Howell:
I confirm that NexusHD2-FRG83D_V1.7__Froyo_2.2.1 works (without any modification of zImage or startup provided you place the Android folder on the root of the SD, not the files inside) but without any phone or wireless related fonction and battery status is unavailable.

This rom is fast. I used a 4GB Class 2 card.

Keep up the good work !
[TG01 ROM Development] wildcardspv:
If you've downloaded the original builds, you need to make 2 changes.

1) replace the downloaded zImage with the zImage from Markinus' build

2) Edit Markinus' startup.txt as follows:

set mtype 3197

set ramaddr 0x11800000

set ramsize 0x0e800000

set initrd_offset 0x00a00000

set KERNEL zImage

set initrd initrd.gz

set cmdline "rel_path=Android"

pwf dmesg.txt 0x03c00000 0x40000

boot

Change the bold text to the name of the folder on your memory card which you are going to put the Android files into.

Put all the files into the folder on your memory card, overwriting zImage with Markinus' zImage and Startup.txt with your edited version.

Using a file explorer on the phone, run Haret from within the folder.

Alternatively, download these versions with the changes already made:

JDMode:

http://www.megaupload.com/?d=0IB46YOR

Nexus:

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

Regards,

wildcardspv
[TG01 ROM Development] zupermann:
Now "i'm in". Thank you wildcardspv you were more than helpful.
[TG01 ROM Development] Scougar:
Froyo build does indeed work, get's warm when attempting to search for Satellites lol, but works well.

BTW... I'm a little lost as to which build we are trying here. Are we just trying a whole host and see which is the best starting point for Toshdroid?
[TG01 ROM Development] endrix:
Haret for Tsunagi

Hello guys I have totally forgot to give you the haret that recognize your TG01 as Tsunagi! I have just compiled the haret for linuxtogo and added the necessary information so that it can automatically recognize your device!

Cheers !
[TG01 ROM Development] wildcardspv:
Thanks Endrix,

As android is already booting, what difference(s) will we see by using this haret?

Regards

wildcardspv

:)
[TG01 ROM Development] bally3:
The startup file over-rides the default file, therefore if you copy over the startup.txt from the hd2 build it will ignore your default.txt and use the startup.txt.

Jumping to kernel should not happen now and if it does it means the settings in your startup/default file are incorrect - more precisely the memory addresses (ram address and ram size).

Hope that helps :)
[TG01 ROM Development] tcampomanes:
Thanks for new haret, work ok.
[TG01 ROM Development] tailormoon:
Thanks. good work
[TG01 ROM Development] goldlou:
Good work！
[TG01 ROM Development] arnookie:
You should try Raging Thunder it runs really smooth on Toshdroid.

Watch the video.

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

:)
[TG01 ROM Development] bally3:
how to load the wifi module:

http://www.nakedcleaner.com/2010/08/android-2-2-on-the-hd2/
[TG01 ROM Development] bally3:
http://gitorious.org/android-mini24...9d076d97e7983420df7b532/drivers/ar6000/ar6000

AR6000 wifi driver at gitorious :)

-------------------------------------------------------

http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html
[TG01 ROM Development] daevoq:
so is the wifi working?? is a great news!! what big progress!! now we need battery support and call!! and for me all is done! :D great work!
[TG01 ROM Development] Scougar:
lol, but so much stuff left to do.. camera, bluetooth, volume buttons, SOUND!, gps etc etc etc.

These guys have come so quick so far, just not sure which build to use lol. I will be donating to them if we have a central fund for a beer fund :-)
[TG01 ROM Development] wildcardspv:
Sorry to be a drag guys, but it looks like wifi is a way off yet.

Ten minutes ago on the IRC channel Markinus said:

"you need the right mmc config

the wlan driver is only one part

the driver cannot "see" the wlan adapter when the mmc configuration is wrong

in the moment the mmc for wlan is'T configured

I did already some tests but need a bit more reeaarch

the second what you need is a modified libhardware lagacy lib, I modiefied already one . . "
[TG01 ROM Development] arnookie:
Don't forget graphics drivers also! ;)
[TG01 ROM Development] bally3:
If only life was so easy lol :)

There are many things which require some hard work and dedication from endrix and Markinus to get going, not least, sound which the hd2 struggled to get working for a long time.

What will speed these things up if is if everyone on this thread takes my lead and takes one piece of the hardware that doesn't work and researches:

1. what the make and manufacturer is.

2. what was done to get it working on the hd2 and other ports. Post links or text examples.

3. Whether a driver is required and whether one is available, if it is post it up. If not, maybe a similar make, model android driver we can adapt.

Once we've done this, we can present our findings to the devs.

If you decide to do this, please restrict the information to a number of posts to avoid clogging up this thread.

Thanks.
[TG01 ROM Development] olyloh6696:
Really happy with the progress on this, i cannot wait to get a fully functional build. I can have 2 android devices then! Btw does the accelerometer work or is it a different hardware to the htc ones?
[TG01 ROM Development] tzaq93:
i tried tytung NexusHD2-FRG83D v1.7 with the new haret and it works perfect and fast (the phone gets a bit warm but is acceptable). i installed few games and all of them work great :)
[TG01 ROM Development] bally3:
Lastly, there's no reason you have to this on your own, collaborate with other users to bounce ideas off each other of your findings, use the toshdroid channel (when devs aren't working, you can always do priv chat though).

It's always more fun researching stuff together but bear in mind to ask our devs in or in the htc-linux channel to find out what's involved and what's needed.
[TG01 ROM Development] tzaq93:
is there any way to install android in the main memory, deleteing windows mobile?
[TG01 ROM Development] Scougar:
Go to the HD2 section and check what is needed for this. It isn't easy! Even on the HD2, it's currently running slower than from an SD card (apparently).

So no.. not at the moment. (or at least, even if you abuse an HD2 build, it REALLY is NOT a good idea).
[TG01 ROM Development] bally3:
There's no calls, Bluetooth, wifi, gps or sound...A bit early to be thinking about replacing winmo lol
[TG01 ROM Development] tzaq93:
yes it might be, but this early build looks great.

anyway, is it me or the touchscreen is not quite well calibrated? sometimes i have to tap twice for the screen to get my command. this doesn't happend in winmo. maybe there are some settings about the force (presure) needed to push on the screen, i mean some settings to increase its sensivity..
[TG01 ROM Development] paul89rulez:
hi all ^^ i find this in the acer liquid forum... you said that the liquid have same motherboard wifi ecc of tg01... i unzip that and i belive that we can use it in your tg01... i try to boot but failed.. im not dev... maybe devs can try to boot ^^

ps. sorry for my english i m italian ^^

***megaupload.com/?d=KYUYZ3T1
[TG01 ROM Development] GamR:
Hi! Please tell me in detail how to install Android on Toshiba tg01?? Maybe somewhere there are instructions for installation? When I run the Haret. Phone is switched off there a couple of labels (jumping to kernel (custom) and then sign Tosiba and again loaded WM. In what may be the problem? Sorry for my English i'm from Belarus
[TG01 ROM Development] wildcardspv:
Look at post 182. This may help.
[TG01 ROM Development] bally3:
Paul, thanks for this! :)

I looked at the system folder and it had a wifi and firmware folder which had the broadcom wifi driver files, so its a broadcom wifi driver in the liquid and not a atheros unfortunately.

But that did give me an idea to do some research and I've found the atheros ar6000 firmware files, so we could build a system image with the correct firmware and wifi files and also insert the atheros source into the kernel. I dont know what else is needed but here are the firmware files:

http://nv-tegra.nvidia.com/gitweb/?...0;hb=a6b0450b028ffc426b32878fe908edfbd80791f9

We cant be that far off from making this work surely? :)
[TG01 ROM Development] bally3:
Can someone find a xperia x10 build and extract the system image please?

it shares the same atheros ar6000 wifi driver as ours so should have complete file set within it.

thanks

ps. for reference: http://www.xperiax10.net/forum/general-discussion-f5/wifi-t1002.html
[TG01 ROM Development] arnookie:
Check this thread maybe will help.

http://xdaforums.com/archive/index.php/t-678598.html

or this.

http://xdaforums.com/archive/index.php/t-806391.html
[TG01 ROM Development] web.pavlik:
WIFI file upload to 4shared. > athwlan.bin.z77, data.patch.hw2_0, wifi.ko

>> 4shared.com/file/H9R34xT3/wifi.html
[TG01 ROM Development] wildcardspv:
I think I've got them,

download from here:

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

These were extracted from AOSP_2.1_built_a003 which I believe is for the X10

(download the whole build from http://hotfile.com/dl/83867713/ae898cf/AOSP_2.1_built_a003.rar.html)

In this build, The wifi driver is called wifi.ko, but I'm pretty sure it's ar6000.ko, it just might have been modified.
[TG01 ROM Development] waliej:
Something about Porting WiFi drivers to Android:

http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html

and

for wifi driver from X10:

http://code.google.com/p/android-wifi-tether/issues/detail?id=348

Comment 3 - wifi folder from a system dump
[TG01 ROM Development] bally3:
Thanks guys :)

From what I read on this blog:

http://armin762.wordpress.com/2010/05/24/nvidia-tegra2-getting-wifiatheros-6002-working/

It appears that the module source needs to be compiled against our kernel source to make it compatible.

I tried it using the normal compile command but didnt work.. neither did a modification of the command given within the blog.

So the wifi module is compiled against our kernel.

The wifi files and the module are added to the /etc/wifi folder in the system folder.

The firmware files are added to the /etc/firmware folder.

The AR6000 folder (below) is added to the /drivers folder in the KERNEL source before it is compiled.

There might be some steps from here that need doing also: http://xdaforums.com/showpost.php?p=9436308&postcount=206

Then finally there's what Markinus said:

"you need the right mmc config

the wlan driver is only one part

the driver cannot "see" the wlan adapter when the mmc configuration is wrong

in the moment the mmc for wlan is'T configured

I did already some tests but need a bit more reeaarch

the second what you need is a modified libhardware lagacy lib, I modiefied already one . . "

So there you have it.. what we have to do to get wifi working!
[TG01 ROM Development] drupad2drupad:
Ran haret on my tg01 with miROM1

reached up to 'release 'boot-time' halt_lock, cursor kept blinking with little penguin on top left of my screen... for about 3 minutes

then a bit of activity, updating files etc..and then HTC logo! (about 25-30 seconds) then strange flashes on screen, then cyanogen (mod) logo for about 3 minute 20 sec seconds...with little blue android in centre of screen..

then final booted?! as soon as I pressed a key or two.....baaaam!!! restarted to toshiba screen and then booted into windows :(

Is that all that was meant to happen? :s

*2nd Trial to run Haret*

The whole process above took less than 1 minute! I think it was the first run that might usually be taking longer!

The second time - haret ran so quick and I am now in the android mode, no restart yet.

Touch screen works perfect! Exploring what I can in the android rom and no freezes yet. I am not sure if any sort of connectivity is achievable yet? i.e. wireless etc?

What I noticed till now

No hardware buttons mapped to re-start or soft reset - so ended up removing battery to restart!

Playing with android is good. Couldn't successfully set up wireless - because I don't know how to do it in android (been winmo kid all the way!)

So not test on market/net/maps/google - don't know if they were meant to be working or not. But will update this post over the weekend, if it helps :)
[TG01 ROM Development] Awkafox:
Can i use Android/Windows Dual boot ?
[TG01 ROM Development] tzaq93:
SURE ! actually you need windows mobile to start android. after this, if you want to go back to windows mobile, just push the "on/off" button for ~20 seconds --> it will reboot in windows.
[TG01 ROM Development] Pollux0512:
@drupad2drupad

You would test this build and watch the video too or take a look at the post #142.

This will help you to have a good "test build".
[TG01 ROM Development] Terence Skill:
you can also try to look at the dell streak rom´s for drivers etc, i think streak/tg01 shares a lot of hardware. but the files are .pkg so you need macos to open, i think.
[TG01 ROM Development] bally3:
We need to break down all the hardware bits and list the make and manufacturer of the part, then find the android drivers for them.

The devs will then have to get the right memory addresses for them and, compile and incorporate any modules needed to make them work.
[TG01 ROM Development] bally3:
Btw RomMistress said she copied my thread about Wanting rom builders to the Android General dev section, so please keep an eye on it for possible responses.

It'll become very important once the kernel is finished, to have rom builders who can adapt roms to work with the tg01 or else we won't have many complete builds go choose from :)
[TG01 ROM Development] GamR:
Hi everyone! Prompt please how to activate the g-sensor (Android tg01)

And he generally works with us on Android??
[TG01 ROM Development] Mr.zeus:
plz uodate the first post...it's too hard to searrch in this tipic for last version of needed files
[TG01 ROM Development] Pollux0512:
Go here : http://xdaforums.com/showthread.php?t=846777&page=15

Or just take that !!
[TG01 ROM Development] bally3:
Markinus said to start looking for the gpios for the hardware buttons.

Some of these we can get using haretconsole and haret.

Have a go.
[TG01 ROM Development] sinjinn:
looks like you made engadget .... www.engadget.com/2010/11/27/toshiba-tg01-slowly-surely-gets-hacked-to-run-android/
[TG01 ROM Development] darkfirepheonix:
do you have a copy of haretconsole you can share? as the handheld.org site is down 4 a week or so!
[TG01 ROM Development] JoolNoret:
You can use a telnet client instead of haretconsole, I'm using putty and it seems ok.
[TG01 ROM Development] bally3:
http://www.multiupload.com/H6RYO8Q50C

here you go :)
[TG01 ROM Development] EVEALEX62:
Very nice to see all change with andoid ;) I'd like this !!!

Thanks a lot for your good works ;)
[TG01 ROM Development] bally3:
http://retiisi.dyndns.org/~sakke/foo/SMIA95_AF_camera module_APL_090511.doc

this is the datasheet for the N900 Camera that has a 5mpx Dynastron sensor made by Toshiba.

May be useful.
[TG01 ROM Development] bally3:
So we've narrowed it down to the camera inside the TG01 being a ET8EE6-AS module made by Toshiba.

The module is sold by Toshiba and used in Nokia phones like the N73, and probably other 3.2 mega pixel camera phones.

The task in hand then is to find and list all the the 3.2mega pixel android phones, including chinese clones and then seeing if you can find out what the model of the 3.2mpx camera is on board.

If we cant find a linux driver for the camera, it is likely we may never have a camera through linux, and that may be a real deal-breaker for most - especially if it comes to flashing the device to make Android the primary operating system.
[TG01 ROM Development] bally3:
Whilst myself and madmax worked on the camera info, Markinus and Jool fixed the buttons for the volume up and down and also the camera button which appears to be mapped to the back action.

Here is the new image to try out, I'm off to bed!

:)
[TG01 ROM Development] arnookie:
I noticed a few sites asking why we need android on the TG01 here are my thoughts. Although I know many reasons more and that most people on here also know why we need this. :)

The benefits of Android on this older device are better internet better flash support + many many more reasons. Things like Skyfire and a lot of browser based stuff has stoped working or being supported on old windows mobile 6.5 os. With android it makes more life from this exellent phone that is being killed by outdated windows system well before its time. If only flash 10.1 was available for windows mobile maybe this would not be such a problem. But with the way windows mobile 6.5 is going its just what has to be done. Suppose it's like having a windows 98 netbook and not being able to update to newer better os like vista. Just look at it that way. If only they would sell or offer upgrades then having to do this would not be a necessity. :) Thats what sucks with mobile phones. The hardware is not normally the problem its the os becoming outdated. Most Android phones are nothing special hardware wise and most have very similar if not the same hardware as devices a couple of years old. This means many people upgrade to a newer expensive phone just for the os. Seems unfair don't you think?
[TG01 ROM Development] GamR:
Just tested the new zImage. Everything works fine. Sound and - work fine The power button when its short-lived retention extinguishes the image (not the screen, backlight and still working) camera button has a property like the back button. Sorry for my English:rolleyes: