yashsingh1/xdaforums huggingface dataset:
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
Is yours the niki100? Are you running from the sd card or from the main memory. (I tried both btw).. No luck yet.
[Touch Dual, MDA Touch Plus ROM Development] bunny0007:
It will not run from the sd card..

Try copying the android folder to the root of the phone memory and then run..

My is also an niki 100
[Touch Dual, MDA Touch Plus ROM Development] sackbauer:
copied it to the root of the device itself and linux boots now ... works as designed ... still a lot of work to do to make it usefull ;-)

great work in anyway !
[Touch Dual, MDA Touch Plus ROM Development] SaxMachine:
I'm boot form sd card...and work fine!
[Touch Dual, MDA Touch Plus ROM Development] bunny0007:
Mine freeze while booting from sd card!!!
[Touch Dual, MDA Touch Plus ROM Development] sackbauer:
;-) the startup screen - this red point going from left to right with shadow just like david hasselhoff with his kitt back in the 80ies would be nice as a default nike startuo splash screen ?

what do you think ?

is it possible to extract this animated gif from the image ?
[Touch Dual, MDA Touch Plus ROM Development] MartinMystere:
Android works on TYTN II Android TYTN II'de ÇALIŞIYOR!!!

Hello Folks,

Here is the proof Android works on TYTN II

http://www.mobilforum.org/forum/showthread.php?p=238#post238

(Turkish) İşte Android'in TYTN II'de çalıştığını gösteren video.
[Touch Dual, MDA Touch Plus ROM Development] pj0011:
WOW

So its finally almost working.

thats pretty awesome. i gather that all normal functions can still be used as in you know phone calls and such? hahaha

SIGN ME UP woot woot:eek:
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
awesome I randomly tried it and it ran first time!
[Touch Dual, MDA Touch Plus ROM Development] the_jako:
I tried it about 15 times and only run once... It start running and then freeze my PPC and nothing happend. I run it the same way everytime.

:mad::mad::mad:
[Touch Dual, MDA Touch Plus ROM Development] Alienfreak:
If anybody gets it working I'm willing to donate lots of money.

Seriously.

I'll hack a bit into it if I find some time soon. I'm not bad at Linux so I will give it a shot.
[Touch Dual, MDA Touch Plus ROM Development] gek:
Same here. Ran it once looked extreemly cool then rebooted the phone to do some work. Started it again but it hangs in the last couple of % before tux shows
[Touch Dual, MDA Touch Plus ROM Development] janan:
same happens to me. It worked fine the first time. Once rebooted, never worked again!
[Touch Dual, MDA Touch Plus ROM Development] fl4r3:
Hasnt worked for me at all. The loading bar appears, goes all the way and then the phone just hangs. Tried both on the memory card and device memory. Too bad.
[Touch Dual, MDA Touch Plus ROM Development] fritsypeij:
maybe a little step forward :)

Hey all,

I don't know much about linux, android and stuff but by (some sort of) coincidence i found a magic combination of files, or maybe it's just the zimage from http://code.google.com/p/android-kaiser/downloads/list. Anyway, I booted 3 out of 4 attempts and got a lot further than the android-on-niki movies on youtube. the link to my magic combination is at

http://www.ypeij.nl/img/android_niki_tryout.zip

Just put it on the root of your device.

I hope it works out as good for you guys as it does for me and that some of the more experienced people in the niki forum can start from here.

PS. I don't know ****, so no credits for me, but for the people who made these codes :)
[Touch Dual, MDA Touch Plus ROM Development] janan:
downloading...

thank you very much! I'll post my experience asap (badly, I've to work right now :) )
[Touch Dual, MDA Touch Plus ROM Development] janan:
I managed to make quick tests right now.

Results: haven't been able to boot! HaRET's progress bar hangs almost at the end (you know, in pop-up where the "booting linux" message is shown).

:(
[Touch Dual, MDA Touch Plus ROM Development] the_jako:
Same here... :(
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
same here, even with the new files.

i probably tired about 20 or so times and its only ever booted up once.
[Touch Dual, MDA Touch Plus ROM Development] fritsypeij:
mannn, that's a bummer. Maybe it's because I used a clean rom as base (original Asia_WWE). Just now I still manage to get it working, so I made some pictures for you at http://www.ypeij.nl/img/android

At http://handhelds.org/moin/moin.cgi/SupportedHandheldSummary I found out (I didn't know) That the niki is not yet supported so that may cause all the problems.

I'm hoping for some succes now, because if Android is finished, Windows goes down the drain at my place :)
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
that looks awesome!

i think i'll be switching to android when it gets going too..
[Touch Dual, MDA Touch Plus ROM Development] Valvarin:
...

It seams that it run only on a clean rom with free storage.

after a Hard Reset it will work.. but only one time.
[Touch Dual, MDA Touch Plus ROM Development] badaas:
any clean rom? i got it running, but keeps rebooting :L
[Touch Dual, MDA Touch Plus ROM Development] xangma:
Is there a chance that in the future will we have it as a main OS and not starting it through WM6? Any ideas?
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
Only time will tell - But if peoples interest continues, and people still develop it, i think its highly likely.

I think WM7 is more likely to released first however. Android seems a long way off.
[Touch Dual, MDA Touch Plus ROM Development] badaas:
well over in the vogue thread they got sms and calls working, touch screen working and now network coverage symbol shows,,, what more you need lol ;)

i hope this gathers pace and becomes a serious ROM option too, would hardSPL need to be different for that?
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
hi

has anyone tried using a swap file yet? maybe it will fix the crashes... ill try later...

...

baadas: i think we would need a whole different bootloader...

does anyone know how to mount the initrd file? dont get it mounting...
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
got it!

no crashes! tried api demos and browser so far NO CRASHES!!!

heres the cfg (just added mem=128M and 0x800000 ram)

ran 2 times now

edit: running niki project v2 btw...

edit2: it seems like running programs sometimes make it freeze when trying to boot so better quit any running programs before launching haret

edit3: the buttons seem to be mapped wrong, anyone with good knowledge on linux cfgs here?
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
hi! thank you for playing with this but your settings dont seem to work for me! i have still only ran it once, although now with nikiproject v2 it boots easier but crashes on the 'cyclops' eye..

also, your default.txt has 'initrd-debugfs' instead of 'initrd-android'.

ill keep trying though.. pain in the arse
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
hi,

strange...

ill upload my whole android folder as soon as im on the pc tomorrow, maybe it works then
[Touch Dual, MDA Touch Plus ROM Development] Valvarin:
...

a little bit working Android

We patched Haret (beta Version) from here to Niki

and Android will start now every time, the only thing is Niki

haven't go to suspend mode while loading, if u touch the Screen it

will load :D

Tested it now 10 times on two different Niki's

Touchscreen is working...Keyboard not.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
can you upload the patched version of haret for niki? :)
[Touch Dual, MDA Touch Plus ROM Development] daveh85:
For those of you who have got this running, it would be great to share out each of the files and explain where you have them located. Thx!
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
the keys seem to be mapped wrong only..
[Touch Dual, MDA Touch Plus ROM Development] cunter:
Please upload the patched version of Haret!

I am currently trying to get GPE working on the NIKI with help of the OpenEmbeded guys. Its pain in the ass if only every 20. boot works.

I can upload the initrd if you want.
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
hi,

ill upload my android folder, edit it to this post now, haret is in the folder of course...

anyway if someone finds out how to get the keyboard working plz post...

how do you exit programs on the niki? i mean without buttons working...

how will we fix the keyboard? seems like no linux specialists here :(

http://rapidshare.com/files/119820037/Android.zip.html
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
thanks a lot. these seem to boot very well for me! you have to click the screen mid loading or it boots with a dim backlight as the niki goes into suspend.

there is a more up-to-date version of android however, that i managed to boot about twice of about 30 tries. i'll see if it will run with this haret and zimage.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
yeah it works fine.

i have to just keep the niki out of suspending while it boots though.

get the newer initrd from here

its got a couple more features :)

http://it029000.massey.ac.nz/vogue/

thanks for posting the files!

now to get the keys working so we can back up, instead of having to reboot.
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
does keyboard work a bit better in that version?
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
no the keyboard is still not functioning, a couple of keys do stuff but nothing usefull. ive sent an email to the guy that wrote haret asking for help with the buttons. im not big on linux but i'll take a crack at fixing the kernel to get the buttons working..
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
ive spent most of the night trying to work out how to map the keys but ive not even been able to decompile the kernel. im out of my depth. sorry..
[Touch Dual, MDA Touch Plus ROM Development] badaas:
well, i used the_fish files and couldn't even boot (i used to be able to boot). does this contain the niki edited haret.exe?

anyways, turning out to me that it is WM dependant too much atm, but good work non the less :)
[Touch Dual, MDA Touch Plus ROM Development] Untouchab1e:
Its working here. Android looks promising, judging from the very limited functionality we get here. Im hoping that people like this guy will eventually make Android run perfectly on the Touch Dual :D

Thanks for the Haret-hack btw! Made my day!

EDIT: Is there still no way to exit applications though? I check out the world clock, but now i cant get out of it.. lol
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
yeah, theres no back button because they keys havent been mapped. it looks nice though doesnt it..

also, i have no problem with android running over the top of wm. with haret running through auto start maybe. it could be like a dual boot. although one day im sure you will be able to flash it on its own.
[Touch Dual, MDA Touch Plus ROM Development] Untouchab1e:
Wondering how long it will take before we see the full version on android on our Touch Duals...

But question, how far can we take Android using the current technique using Haret?
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
hmm i think mapping the buttons wouldnt be so hard:

mount the initrd on a linux/mac box

find the keys config file

try some combinations.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
i tried again last night, i couldnt find the keys. and futhrer more i couldnt rebuild the decompiled kernel (the keys are in the kernel (zimage) btw). i pretty much a linux/code noob, so i have basically no chance of helping.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
i tried again following these instructions to build a kernel.

still no luck, so if anyone wants a bash (pun intended) here you go:

http://xdaforums.com/showpost.php?p=2259079&postcount=3
[Touch Dual, MDA Touch Plus ROM Development] badaas:
you know, i'm soooooooo tempted to get into this, but i'm thinking i'd need a clean niki rom, ..... grrrr. will have a go after the weekend, and so how many hairs i can pull out of my head before i suffer a brain haemorrhage !!

the compile instructions look fair enough to get the zimage, just wandering what the deal is with th initrd file?
[Touch Dual, MDA Touch Plus ROM Development] jchang320:
Hey, so I think I'm able to decompile the initrd-android file and see the system file structure. I see where the key codes need to be mapped. However, I don't know how to find out what key codes are connected to what keys right now. Do you guys have any ideas on how to do that? Someone said there's a kind of getEvent program you can run and it'll return the key code when you press the key. Do you guys know anything about this?
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
yeah

"There's a brute force approach to sorting out input events: run getevent on the emulator and on the target hardware and compare the results. It's in /system/bin. Keylayouts live in /system/usr/keylayout/*.kl and are used to translate from the raw input event codes to android keycodes. Keymaps live in /system/user/keychars/*.kcm.bin (undocumented binary format right now, sorry) and are used to describe how the key events and modifiers and such are related."

Ive no idea what getevent is.

edit: i just found this site, im not sure, but it says getevent comes with android toolbox. have a look http://benno.id.au/blog/2007/11/13/android-under-the-hood
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
can you explain how you did it? i was under the impression the key driver was in the kernel not the initrd.
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
well, the initrd contains the system files... but i think we only have to set the buttons to different functions, what, like the quote describes can do with that system files...
[Touch Dual, MDA Touch Plus ROM Development] jchang320:
mburris here has a comment about how to open up the initrd-android file: http://xdaforums.com/showthread.php?t=382265&page=40

that's what i've been using to find the system files.

Do you happen to know how to take care of the kcm.bin file? I understand it's in binary, but what do I need to do to check it?

I see the getevent file, but I don't know how to use it. I'm thinking of brute forcing it in the qwerty.kl right now, but I'm not sure if I need to update the kcm.bin file as well.
[Touch Dual, MDA Touch Plus ROM Development] jchang320:
so i found a way to decompress the initrd-android file here: http://xdaforums.com/showthread.php?t=382265&page=40

i found the qwerty.kl and qwerty.kcm.bin under system/usr.

Do you know how to read the qwerty.kcm.bin file? Can I just open it up in notepad for instance and modify it?

I'm thinking of brute forcing the qwerty.kl to find out what key codes correspond to each key, but I don't know if I need to do something to qwerty.kcm.bin as well.
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
thanks

i managed to open it, i tried to edit the qwerty.kl file with the keys from here: http://elinux.org/Android_on_OMAP#N810_keys and recompiled the initrd file and android booted fine, but the keys still dont work. (i didnt even think it would boot after me playing with it but i guess i didnt screw up too bad).. but yea.. keys still dont work... i was hoping the n810 keys might have an effect but - nothing. ohwell.. trial and error it seems, unless we can get the elusive 'getevent' working.
[Touch Dual, MDA Touch Plus ROM Development] darkj2k:
After hard reset finally boot it on my Touch Dual :-) Unfortunately the keypad and hardware button do not working. So here comes my studio question, how to exit application? I mean after tap Dialer or Contact then how can I exit to Home screen? And how to back to Windows Mobile after boot into Android? Since no hardware button working so I need to remove battery and put it back to boot back Windows Mobile. TIA.
[Touch Dual, MDA Touch Plus ROM Development] delta37:
this might help you guys in putting android in our niki devices w/o having problems of hanging no hardware etc...

http://www.microsoft.com/downloads/...af-12e3-4b2f-a394-356e2c2fb114&DisplayLang=en

it's an emulator for wm5/6 hope it's useful :)
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
its totally beyond my ability..

"It's not just a matter of changing a few key codes, you will have to write a linux device driver for your hardware, this means: installing an arm toolchain on a linux box, pulling the android git kernel, resetting git back to the date of my patches, applying my patches, learn C if you don't know it, read Linux Device Drivers book, find out how your hardware works using haret and rom disassembly (learn ARM assembler if you don't know it), write device driver, compile kernel..... Easy as."
[Touch Dual, MDA Touch Plus ROM Development] jchang320:
I need to figure out how to get a VMWare for a linux machine or something to look at the zimage source.

initrd has all the information about the system structure I think. so, you can load up new programs into the initrd and get stuff working. Does anybody have a linux machine which they can download the kernel source with and send it out?

In terms of keys, I'm finding swipes are kind of helpful. If you swipe (from right to left) with your thumb across the height of the keyboard on the left side of the phone, it's like clicking back. Sometimes it's like clicking enter. If you swipe your thumb (from right to left) on the right side of the phone it's like clicking the menu button. I'm still playing around with this, but somehow swiping my finger across the buttons works sometimes :). I'd upload my files, but they're too big to directly upload to the post. Do any of you guys know of good places to upload files?
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
hi

u could upload it to www.zshare.net its an easy and nice place to upload for the kernel , www.kernel.org? i have so many boxes here but none of them is running linux atm :/

well i noticed that functions on the keyboard also but i found no homebutton combinatiom yet
[Touch Dual, MDA Touch Plus ROM Development] dabs:
I have plenty of nix boxes around, could either dump the image or set up a vnc for you, whatever is easier.

Send us a pm as I may forget about this thread... :S
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
bump

anyone have any luck so far?
[Touch Dual, MDA Touch Plus ROM Development] jerpelea:
andoroid is working

Hy all

Now android is booting every time and is working fine

ToDo

keyboard map

phone function

Done

Boot at every try with or without usb plugged ;)

Download

http://rapidshare.com/files/131829334/Android-Niki-working_fine.rar.html

Instructions

Unrar the arhive

copy all files to the root of the sd card

run haret-xxxxx.exe on phone

Advanced instructions(only for test)-default android

edit startup.txt and choose android or angstrom image

PS:tested on my kitchen build wm6.1 image (you can find it on my kitchen page)
[Touch Dual, MDA Touch Plus ROM Development] Billokko:
not working for me... when I start niki stop to work and I have to soft reset

edit

without usb works (some times...)
[Touch Dual, MDA Touch Plus ROM Development] SMYKUL:
I get the same unfortunately, with both the angstrom and android image :(. Great work though, I would love to have some form of linux on my niki.

<Edit>

I replaced the haret.exe with the one off the vogue android site and now it works fine. I have also found that the buttons do work now! Wooo :-). The only problem is that they are all mapped wrong. It seems that the 1,2,3 and 5 keys mean "down". 6,7,8,9 and 0 seem to mean "action"/"Enter". The red key, vol up & down seem to mean "up". But there is still no back key I can find.

<\Edit>
[Touch Dual, MDA Touch Plus ROM Development] jerpelea:
working on ti

i hope to find the right mapping

BR
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
awesome, jerpelea!
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
any progress?
[Touch Dual, MDA Touch Plus ROM Development] twolf:
soooo, any news?

;)
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
i am too, curious.

for the moment we could do with a keyboard driver at least. unfortunately i dont have the knowledge..

waiting on jerpelea's response.
[Touch Dual, MDA Touch Plus ROM Development] fritsypeij:
Android SDK released (sdk v0.9_r1) YAY!
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
looks awesome! but we can't use it w/o the drivers... we need buttons working...
[Touch Dual, MDA Touch Plus ROM Development] the_fish:
i've just tried to boot the current image, but the image is too large... any idea how we could make it smaller?
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
awesome

ive been getting worried about google forgetting about android

i really hope someone can work this out for the nike
[Touch Dual, MDA Touch Plus ROM Development] jerpelea:
http://www.mediafire.com/?zd0qgclvemz

dumped android ;)
[Touch Dual, MDA Touch Plus ROM Development] rupa30:
What is better in Android then in Win Mobile?

Is phone faster...?
[Touch Dual, MDA Touch Plus ROM Development] bherrok:
Does it have to run on top of WinMob? Can it run on it's own?

I see it inheriting the "slowness" and flaws of WinMob.
[Touch Dual, MDA Touch Plus ROM Development] fritsypeij:
Free mental coaching for all of you!!!

There isn't a way (yet) to flash an android image from the bootloader.

Obviously it takes time for some hackers here to get it working. In the Kaiser forum development is much further, but still runs on top of WiMo.

I hope, when the product is ready, that Google (or Android enthousiasts) will help us get it running on our Niki.

Don't forget: Android is an open-source project. Google wants to promote the usage of mobile internet (usage of Google in particular).

So Android is not intended as a direct income, but more as an indirect income for Google. So they would do even better if they could get Android running on allready existing devices.

Man i hope i'm not far from the truth ;)
[Touch Dual, MDA Touch Plus ROM Development] twolf:
Can we run this dumped version with the optimized launcher on your post #85?

Thank you for your great work. :)
[Touch Dual, MDA Touch Plus ROM Development] Boylen:
I this the development environment?

I took your last version and I can boot easily to android..but when I'm in the phone menu, I don't get back...is this normal or is there a key I have to press?

and can I get back to windows? Or do I have to soft reset?

What is possible at the moment with your version ? Is this standard android or have you changed it? Where can I get info on what you are doing? Looks really cool btw! :)
[Touch Dual, MDA Touch Plus ROM Development] twolf:
Thats one of the problems, since the buttons arent mapped yet, you cant go back to the main menu, so you can only reset to exit... :(
[Touch Dual, MDA Touch Plus ROM Development] ducamie:
we need someone who can write drivers for our device and set up the kernel
[Touch Dual, MDA Touch Plus ROM Development] Boylen:
the one that is said to 'boots all the time' doesn't boot all the time here :(

I had no problems yesterday, it did boot constantly (about 5 times). Then today, it did only once ( in about 6 tries)
[Touch Dual, MDA Touch Plus ROM Development] SaxMachine:
Any news for call and keymap?
[Touch Dual, MDA Touch Plus ROM Development] twolf:
6? thats nothing, it boots one time out of 20 resets for me...

:D
[Touch Dual, MDA Touch Plus ROM Development] Boylen:
ow, but Jerpelea says it boots everytime, this one...

I saw the SDK and it's all Java? damn...why not C++...
[Touch Dual, MDA Touch Plus ROM Development] jerpelea:
it boots all the time in an fixed build with the same programs running because it must have free continuous mem available for the kernel && initrd

till the sd will work there will be an problem with this

i have tried the sd driver from kaiser/vogue and it does not work (i am triing to figure why)

also there is an problem with new versiond of haret wich dont work corectly

BR