yashsingh1/xdaforums huggingface dataset:
[HTC Vox] biktor_gj:
Welcome! I have attached my config file. It is made for a 2.6.16 kernel, so it may need a little bit of tweaking. I haven't touched anything about init functions on "board-htc-wizard.c" file, mainly because it seemed to work, and if it didn't, I wouldn't know what to tweak :(. I've attached also the keymap function (so if you get something that compiles and quite boots you can even type :) ) Here you have some links that may be helpful:

Linux Port for the HTC Smartphones: http://vivien.chappelier.free.fr/typhoon/index.html

Linux installation guide (here I found an arm-precompiled gpe image wich works without any tweaking): http://xdaforums.com/showthread.php?t=333116&highlight=linux

Texas Instruments OMAP 850 (product description): http://focus.ti.com/general/docs/wt...lateId=6123&navigationId=12000&contentId=4679

Texas Instruments OMAP 730 (very similar to 850, product description): http://focus.ti.com/general/docs/wt...lateId=6123&navigationId=12003&contentId=4676

Another site of the linwizard project: http://webtomware.rhoen.de/linwizard/

I started hacking it because it was much easier and faster than creating a new board configuration on the kernel tree, but the best way it would be to create a board-htc-vox, with vox specific hardware requirements, to make it cleaner. I just wanted to make the keypad thing work fast :) even if it still keeps on refusing to finish the boot process with my kernel...

I must say I cannot help on that., I'm currently using Windows XP32 and Debian 4 for x86 32 even if I have an AMD Athlon 64 x2. I hate those driver issues with xp64 and vista, and half of my hard doesn't work well with it. On the linux side, it work much better on native 64 bit, but I read that it gave problems when cross compiling, so I installed my ol' good debian :)
[HTC Vox] nealcz:
Back WM6

I will try linux on my HTC vox, but im little scared. Will i able to go back on Windows Mobile ? I mean if Active Synchronization will connect succefully or how can i connect vox to PC for get back to WM6 ?
[HTC Vox] biktor_gj:
Open the SIM card door, or take out phone battery, and Windows Mobile will reboot :)
[HTC Vox] biktor_gj:
I found one of the bugs! This is what my poor kernel says when he tries to boot...

attempt to acces end of device:

ram0: rw=0, want 9546, limit 8192

Obviously I have a problem... where is exactly is another thing... any ideas?
[HTC Vox] biktor_gj:
Kernel is finally... BOOTING!

Hi everyone, just wanted to say I got a kernel booting!

Ok, N key, arrows etc still don't work, I guess I'll have to figure it out a bit more, but I thought I would share it anyway (hey, at least we have an almost working console now!)

Dump the contents of the file to the root dir of your SD and run haret!

As I always say, if anyone needs sources... just say it!

Download link (it doesn't let me attach the file to the post):

http://rapidshare.com/files/93938763/test.zip.html
[HTC Vox] nec947:
any screenshot ?
[HTC Vox] cpt.bert:
heey what's the login and password on the login? pls respond quick! tnx
[HTC Vox] h4waii:
It is root:root
[HTC Vox] h4waii:
you'll probably need to cross compile one, X isn't even really useable so I wouldn't start jumping to a WM, gpe/qtopia is already built.
[HTC Vox] biktor_gj:
I booted GPE with the previous version of the kernel (the one I took from linwizard-0.1.0 tar file). Unfortunately, it doesn't work with the new kernel (think it's a problem with the frame buffer), but I'm working on it. When I get it back to work I will post file + instructions!
[HTC Vox] cpt.bert:
Maybe this is a really stupid question,

but when i run the linux kernel with gpe can i use the phone functions still? I mean can i still call and send text messages? And whats the advantage about using a Linux kernel and not just staying with the nice WM?

grts cpt. Bert

sorry for bad englisch
[HTC Vox] usakc:
Hi,

could anybody help what am I doing wrong? After login: "root" and password "enter" there is response "login incorrect". The same on both old and new Kernel.

Thanks for reply.
[HTC Vox] biktor_gj:
@Usak: The login details are:

username: root

password: root

@cpt.bert

GSM functions are not available now. There's no audio support even, so even if you could make a call, you wouldn't hear anything. By now, only the screen, part of the keyboard, mmc, and some little things are working, but you can't use it as a phone.

The purpose of porting linux is to replace windows mobile (wich is slow, closed source, and cannot be too modified -you can cook roms, ok, but that's not comparable to make your own operating system and make it behave the way you want, or better said, the way it should-)

We are on a very first stage for this, and there's a long way to go, please be patient.

By the way, I was wondering if we should start making a wiki page for this, and get it updated with the information we have about the device, links to the files, and start putting things on the xda-devel ftp... what do you think?

PS: Still working on the gpe thing! definitely seems a problem with the framebuffer...
[HTC Vox] usakc:
@biktor

Many thanks, it works!! The only problem is, we cannot get into graphic environment.

Can you help again??
[HTC Vox] StefanHamminga:
Some usefull bits:

Some extra OMAP850 clock speeds (taken from OMAPClock, they go in {kernel_source_root}/arch/arm/mach-omap1/Kconfig):

config OMAP_ARM_60MHZ
bool "OMAP ARM 60MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 60MHz clock speed for OMAP850. Lowest possible clock.

config OMAP_ARM_80MHZ
bool "OMAP ARM 80MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 80MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_100MHZ
bool "OMAP ARM 100MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 100MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_120MHZ
bool "OMAP ARM 120MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 120MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_144MHZ
bool "OMAP ARM 144MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 144MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_168MHZ
bool "OMAP ARM 168MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 168MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_186MHZ
bool "OMAP ARM 186MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 186MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_192MHZ
bool "OMAP ARM 192MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 192MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_204MHZ
bool "OMAP ARM 204MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 204MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_216MHZ
bool "OMAP ARM 216MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 216MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_216MHZ
bool "OMAP ARM 216MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 216MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_228MHZ
bool "OMAP ARM 228MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 228MHz clock speed for OMAP850. If unsure, say N.

config OMAP_ARM_240MHZ
bool "OMAP ARM 240MHz CPU clockspeed"
depends on ARCH_OMAP1 && ARCH_OMAP850
help
Enable 240MHz clock speed for OMAP850. If unsure, say N.
[HTC Vox] lukas.wolf:
Hi all,

I've just stumbled upon this thread and tried the newest posted zImage and ramdisk (not gpe yet) and it works great so far ;-). I'd be interested in helping out too, I don't know a lot about the kernel but have been tinkering with ramdisks and custom made kernels before. I could also contribute a little to a wiki...

Have you decided yet where to host a wiki and the files? Could you do it like xanadux here on xda-dev?

Keep up the great work and thanks for your efforts!

Greetings, Lukas Wolf
[HTC Vox] biktor_gj:
@Steffan

You scared me with that! :) I'll try to merge it into the kernel this weekend!

One thing, do you think Omapclock does really change the cpu clock? Been thinking about it for a while and I'm not too sure that it does what it say it does... Maybe I'm thinking too much, but the idea of windows not getting stucked when I change the cpu freq on the fly above the specifications given by TI...

@lukas

Welcome!

About the wiki, I'm still thinking about it... Of course it will be more accesible here, but maybe Google gives a better service...

@all

I've been tweaking a bit the tornado keyboard driver, and I found the guy who did it got to work the direction keys handling them in a completely different way than the standard omap keyboard, but I`m not getting it still. When I have some results I'll get back!
[HTC Vox] lukas.wolf:
Regarding the clock speed, I've tested all settings from 80Mhz to 264Mhz and it definitly makes a big differance. I'm just no sure if it's safe to run it that high for a longer period, but as it's dimmed (set it to 186) or sleeping (80Mhz) most of the time I guess it's ok.

Update: I've just now realized that I get some minor screen errors with 264Mhz, 240 seems to run fine though. On the other end, 80 is working fine but 60Mzh crashed immediatly.

L
[HTC Vox] Dr. Martin Gonzo:
I don't know a thing about Linux but would getting this work might be a way to integrate Android on the Vox in the future ?

Anyway you seem to do a great work there guys.!:)
[HTC Vox] secosan:
very good job

keep up the good work guys
[HTC Vox] lukas.wolf:
@biktor_gj

I've reproduced your steps (2.6.16.27, omap1 patch, tornado and wizard patch) and updated with your keyboard mappings. Compiled it with code sourcerys arm-toolchain. I've tried to shed some light into the duplication of keys when pressing n-key (and some other keys).

You've problably made this as well:

I've followed it up to omap_kp_scan_keypad() in omap-keypad.c. There the new state of the keypad is read in with some bitwise magic and I don't know how to proceed debugging from there. In the state array just one index should be filled by the corresponding key bitpattern, but with the "n"-key state[0] to state[7] gets filled with all the same value, that's why we get 8 key events.

Anybody any ideas?

@StefanHamminga

I've also downloaded and inspected 2.6.24.3 patched with 2.6.24-omap1 and seen that quite a bit of the tornado patch seems to be integrated already. Have you succeded running the 6.24 kernel? If yes what steps did you take?

@all

- I've seen on linwizard sourceforge that they have a git repository, still looking into it, from the mailing list there seems to be a little progress lately...

- Is the wizard the most similar device to the vox? what about the work of the xanadux people? Haven't looked into it, what could we use?

- I've run haret-5.1 and haretconsole and could get some gpios, but I've no clue what to do with this info. Only the keys that don't work at the moment (up/down/etc.) result in GPIO state change. But how to proceed from here?

Greetings, Lukas
[HTC Vox] biktor_gj:
Hi lukas, have you seen the tornado-keypad driver? It's stored at /drivers/input/keyboard.

There, the author (some guy called Nico -thanks man!-) says this:

/*

* key tables. a bit more complex than those in the omap-keypad

* driver: HTC devices keys events tends to trigger two or more

* row/col.

*/

The driver is constructed in a similar way to omap-keypad, but it's using a different delay to avoid the flow of keys.

It really does some part of the job, as I'm able to let the volume and sliding keyboard softkeys work without triggering events from other keys, but as soon as I put all the bunch of keycodes requiered for the complete keyboard, the driver stops responding without dumping a kernel message. Probably a buffer overflow I guess, but I'm working more on that file now, as it seems to have a lot of chances more to work right.

By the way, traced the GPIOs from the D-Pad keys and guess what... They seem sliding-switch dependant. But hey, still working on it!

I haven't got it yet, but I feel like on the way, got to work the caps lock led also, but still don't know how... (i think I put a '1' where a '0' was, but don't know where...)
[HTC Vox] biktor_gj:
lukas.wolf:

- Is the wizard the most similar device to the vox? what about the work of the xanadux people? Haven't looked into it, what could we use?

- I've run haret-5.1 and haretconsole and could get some gpios, but I've no clue what to do with this info. Only the keys that don't work at the moment (up/down/etc.) result in GPIO state change. But how to proceed from here?

I almost forgot this part... I got the gpio change traced for the d-pad keys, and for the sliding keyboard switch (what makes the phone know it has to switch to landscape) but haven't got it working yet (that's why I'm looking at the tornado-keypad.c)

The thing about the wizard, is that it uses the same cpu, and pretty much the same hardware design. I tried with the typhoon kernels I found, and none of then booted. The same happened with the tornado.

The biggest progress on the xanadux page is about phones wich use an Intel PXA processor, wich has almost nothing similar to this phone.

We could use root filesystems from others, if they're compiled for standard arm. But anyway, we would need to change the bootscripts, keycodes, and lots of other things, so, maybe better if we start from scractch with something like GpePhone, so we can build it specifically for this. That way we will learn more about it, and will be easier to modify whatever we need to tune...

@Dr Martin Gonzo

Already working on the Android thing too... The Omap 850 cpu is Arm V5, and Android is compiled for Arm V5. It starts booting on the HTC Vox, but it doesn't get anywhere past the first part of the INIT. But with lots of patching, we could make it run here. By now it's not viable, because the kernel we have is a box full of bugs, with no real support for anything wich is not a screen, or a keyboard, but, compatible, it is. I'm not working more on that by now, because I think it's more important to have a good kernel than booting google-os, but if some day we have a good working kernel, we can try that too :)
[HTC Vox] BoardDWorld:
Don't Give Up!

This is very exciting stuff, please keep it up. I can't help out much but can devote as much time as you need to testing.
[HTC Vox] sujahat:
Great going guys

WM6 is really slow in the phone.. i just put it on auction on ebay last night.. i guess i will take it off right away.. rather use it for testing then scrap it..... do let me know if you need me..
[HTC Vox] illi:
I am not a techie but if you guys need help to test I am here to take the risks. I own a Tornado with cooked WM6.1.

Thanks
[HTC Vox] llipavsky:
Great work!

Hi,

It's a great work you've done! Could you please attach/post your current config and publish the source somewhere?

I've also noticed that new linwizard kernel has been released yesterday, but unfortunately my vox won't boot with it.

can you add following to the kernel config?:

CONFIG_IKCONFIG=y

CONFIG_IKCONFIG_PROC=y

This will greatly help in the future and (I hope) won't increase size much

I'd like to try to test kernel from linux-omap git tree, but since I never worked with non-x86/x86_64 kernel, I'd appreciate your code & config as startpoint

TIA

Lukas Lipavsky
[HTC Vox] biktor_gj:
I was hoping to get some things fixed before doing that, but my Htc Vox died a week ago and it's gone for repair. Try to avoid unplugging the lcd cable too many times, it's sticked to the main board with some glue, and when the glue stops doing its job, the phone starts to reboot itself for no apparent reason.

If it works for linwizard, it should work for us too (if they didn't change too much on the screen driver...) Whenever I find some time (this weekend), I will upload all the sourcecode I have to sourceforge (from the working version), so you can download it from there. You'll also need an arm toolchain! (if you need more info just ask) I wish I could upload it clean, but build I was working on is _very_ patched, and you might see a lot of printks dumping info to the screen... Anyway, will try to clean that before uploading. Will post back when done!
[HTC Vox] llipavsky:
> If it works for linwizard, it should work for us too

Actually, there's a problem with framebuffer device in new linwizard kernel on vox, so probably rest of the kernlel would work.
[HTC Vox] prajith:
I dont think I would like to have linux (or android) on my vox.

The main purpose of using a windows mobile device is its close integration with the desktop OS. Without that what good are HTC phones for? I mean Nokia and Sony Erricson provide much better phones and the only reason why HTC sells is because of WM.

Now the thing to watch is if the upcoming android could do what WM can but even then it will take a great deal of thinking to move away from Windows Mobile. Atleast for me....

:)
[HTC Vox] makaveli86:
Linux would should run much faster and a lot more efficiently than WM would. granted it is in the early stages so probably a lot of bugs to sort out, but from the users i've talked to that got linux installed on their phones, they all say it runs a lot faster. not to mention its open sourced, so traditionally, linux comes with tons of custom options
[HTC Vox] Rolandh:
When the bugs in Linux for the Vox have been irond out how possible would it be to add modified version Open office?

Roland
[HTC Vox] makaveli86:
ohhhhh i like that idea! :D just waiting on a public release, should be awesomE!
[HTC Vox] revertive:
Linwizard

I see you guys are developing a kernel for the HTC Vox, which uses the omap850. I ask you guys i you would want join the linwizard team, this way we can develop a kernel together.

Development go's faster when you have more members, and we at linwizard need members for development/testing.

So if you want too help, stop by at irc.freenode.net channel #linwizard.
[HTC Vox] secosan:
is this the vonix project?
[HTC Vox] frauhottelmann:
Yeah, the first thread.
[HTC Vox] makaveli86:
Sorry i've been out of the loop, but are we at a stage where we can successfully boot and run Linux on the vox?
[HTC Vox] secosan:
i lost track too, i did not boot the image with GDE

but i am running the text only version, completely unuseful at the moment, but highly appreciated.

this is fun

ps: the reboot command works
[HTC Vox] AleSSi0:
Very nice ;)
[HTC Vox] secosan:
did this project die?
[HTC Vox] secosan:
hey!! c'on
[HTC Vox] iceberg2403:
I have got Linwizard to run on my vox using a zImage supplied on this thread! The slide out keyboard seems to have most of the keys mapped already which is great (except for the n key, which is the * on the keypad).

Android would be awesome running on the Vox IMO. I have set up the SDK m5-rc15 and have setup the images ready for haret but i am getting stuck at the part where it says the following:

init: HOW ARE YOU GENTLEMEN

init: reading config file

init: device init

_

Now, im not too sure what that means - but just above those lines are lines that i see repeated all over the place. The ones talking about MMC and MMCBLK. This is an issue with the SD/MMC driver for the OMAP850 chipset right?? So to fix this problem we need to write some drivers??

That isnt too hard, just need to find out what model the sd card reader is. I haven't been looking for it yet - will do that when i finish this post :)

There is another option i thought about! There was something i saw somewhere (i think it was the Android on OMAP wiki) that was talking about loading Android from another distro of linux. Since i can successfully boot Linwizard and that its actually usable i should be able to try that?!

Anyway, this is getting really exciting!! Im off to try and write a driver for the SD :D

[iCE]
[HTC Vox] DeadOne:
http://www.pocketables.net/2008/07/android-install.html

This one?

And this is the n810 OS (but i'm not sure...)

http://thepiratebay.org/tor/4061238/OS2008_51.3_N810
[HTC Vox] cpt.bert:
Nice work dude! keep it up maybe we'll be running Android on our VOX hehe :cool:
[HTC Vox] iceberg2403:
@DeadOne

Here is the site: http://elinux.org/Android_on_OMAP#Start_via_scripts

The OS i was using was the Ramdisk.img, Data.img and System.img

The intrid is the Ramdisk.img. If you want I could provide my Default.txt for Haret? :D

Would be cool to have more than me working on this!

[iCE]
[HTC Vox] iceberg2403:
Just another note, i have been talking with some of the people from the Android on HTC Vogue project and have got some good info from them. I have also been trying to use their supplied initrd and img files, not too much luck though for now... same result :cool:
[HTC Vox] DeadOne:
I know nothing about linux, so I won't be useful in this project :/

However, I can't wait to install a working linux on my vox :)
[HTC Vox] iceberg2403:
Im still learning too! i see back in this thread that someone said Linwizard picked up the SD/MMC device on the OMAP850 chipset (SD Card reader on our Vox). Does anyone know if we can get that driver? It would definately save us from having to write another one lol! :P
[HTC Vox] Vener:
you could try other device's rom like the hp 512 or tornado, i believe the components are the same
[HTC Vox] iceberg2403:
I will have a look at those :) The best way to find a compatible driver would be to find another device using the OMAP850 chipset? eg. the Wizard and Elf i believe
[HTC Vox] The Dirty Roman:
Hi there,

I have just started reading this whole thread and am really interested in trying it out. I so far have only managed to get the linwizard 0.1.0 to run on my Vox and as you all know the keys dont work properly. Could you please put together all the updates 2geta with a walkthrough on how to get it running on my vox please. I am willing to do any form of testing and have done previous c++ development (No wifi or gsm stuff yet) but willing to help out where i can.
[HTC Vox] iceberg2403:
I will upload and post somewhere... Do we have any online storage?
[HTC Vox] iceberg2403:
Here we go :) Just download the attachment and extract anywhere, it works if its on the SD card too. You just have to run haret.

http://rapidshare.com/files/131270277/_iCE_-Linwizard_VOX_KERNEL.rar.html

As always, there is no warranty provided and no responsibility taken for any damages etc. Keep in mind that Haret loads the initrd to ram, so there isnt much damage you can do till you start writing commands in the cmd shell :D
[HTC Vox] The Dirty Roman:
great. thanks very much. is this the one with the almost working keyboard?
[HTC Vox] abrodziak:
keyboard work, startx work ;) nice ;)
[HTC Vox] lgalkis:
at wizard login,what i have to type to continue because i stack there

Ok i logon start the startx and then i stack on graphical login.....
[HTC Vox] iceberg2403:
The login is: User: root

Pass:​

The password is blank. StartX works fine! the only thing I noticed that you have to watch out for is to NOT let it go idle - so keep pushing buttons throughout the boot process and also once you have booted and logged in.

Has anyone else successfully logged in?

I have just set up my new dev machine (Ubuntu this time :/ ) so hopefully i can compile a newer kernel soon, I have a lot on at the moment so we'll see ;)
[HTC Vox] cpt.bert:
I just get a clock and a screen with text in a box and login at the top? is this everything or do i need to type something else?
[HTC Vox] iceberg2403:
Yeah, thats all we need for a test!

Next steps are to get the new kernel with SD drivers and then we can try for android again :D
[HTC Vox] The Dirty Roman:
this is all looking great. i was just wondering how the whole usb ethernet works. from what i can see on this forum, it doesnt work on windows. unfortunately i have to run windows, but am running ubuntu 8.04 on a virtual machine (VMware Server 2.0). would it be possible to use that? If so, then how? :)