yashsingh1/xdaforums huggingface dataset:
[JASJAR, XDA Exec, MDA Pro General] Moppelg:
I also have the tichy start problem :(

Any other Linux distris still in development?

Gruß Markus
[JASJAR, XDA Exec, MDA Pro General] domi007:
Hi everyone,

About the titchy startup problem:

You should try an other rootfs, search for shiroikuma rootfs for the Universal. It's only a 245 MB big tar.bz2 file which has everything (phone support, X-window system etc) and based on Titchy. Untarred it has a size of 700-800 MB.

If you don't know how to install it, search for my tutorial in this thread, about "How to install Rootfs to image file" or something like this.

Other distro:

I am currently working on a kernel for an Android release, so if I will be successful we will have a usable Android on our Uni.

DOMy
[JASJAR, XDA Exec, MDA Pro General] domi007:
Hi everyone,

I pulled down the latest development version of the OpenEmbedded stuff last night. I also built a kernel, with the command:

bitbake virtual/kernel

It finished in 4 hours, but it seems I got as product only our old kernel, the 2.6.21-hh20. But I am pretty sure, that I read about some new patches etc.. available in the OE repository which makes us possible to compile a newer kernel (I think 2.6.26 was the version).

My question is easy:

HoW? How can I get these patches?

Yours,

DOMy
[JASJAR, XDA Exec, MDA Pro General] SLD:
I installed TitchyLinux from scratch a week ago.

I had the "Unpacking base packages[...] Booting GNU/Linux [...] Unpacking base packages [...]" problem, too, but I think, I found a solution:

So, the problem was that, when the titchybootstrap2 starts dpkg, then it runs the busybox's dpkg, which isn't the /usr/bin/dpkg.

It is very intresting, because this problem should be solved by the ln -fs /bin/bash /bin/sh.

After I overwrote the titchybootstrap2:

/usr/bin/dpkg --force-depends --force-confnew --install /basedebs/debian/pool/main/d/dpkg/dpkg*.deb
/usr/bin/dpkg --force-depends --force-confnew -R -E --install /basedebs

it started the system's dpkg and Titchy was successful installed.

As you can see, I removed the 2>/dev/null (This part of command, diverted the error-messages to the *nix's "black hole"), so if you get warnings, don't panic, if you get errors, then panic and write it down. :)

(I overwrote the S99titchybootstrap3 in /etc/rcS.d/ to /usr/bin/dpkg too, but I'm not sure that it was necessary, because at this time the /bin/sh is symlink to the /bin/bash (and not to the /bin/busybox) already.)

Please reply if this solution works for you (or doesn't).
[JASJAR, XDA Exec, MDA Pro General] scholbert:
Hi DOMy!

My answer is easy:

The patch for 2.6.26 kernel had also been extracted from OE rep and may be found here:

http://xdaforums.com/showpost.php?p=3782136&postcount=6

and here:

http://scholbert.homelinux.org/files/htcuni/linux-rp-2.6.26_htcuni.zip

As far as i remember i once successfully build a 2.6.26 kernel using the mobile-linux kernel sources with this patch applied.

EDIT:

I think this was the repo i used.

http://linuxtogo.org/cgi-bin/gitweb...tree;h=refs/heads/master;hb=refs/heads/master

Best regards,

scholbert
[JASJAR, XDA Exec, MDA Pro General] domi007:
Oh MY GOD!

If I can reproduce a working 2.6.26 kernel! GREAT NEWS!!!, Thank you very much, I will try it right now!

DANKE SCHÖN!

DOMy
[JASJAR, XDA Exec, MDA Pro General] Moppelg:
Hi SLD,

thanks for your help, but unfortunately I failed with your manual.

1. step I did:

In the root folder on the sd card I typed in the cmd-line: "ln -fs /bin/bash /bin/sh"

(no error or other message occours)

2. step

I copied the S99titchybootstrap3 from /etc/rcS.d/ folder to /usr/bin/dpkg and changed the name to "dpkg".

3. step

I opened the file "titchybootstrap2" in the folder /sbin and replaced the two lines by the code lines you wrote.

4. step. Put the sd card back in the mda and start. It said that this is my first install and blabla... after maybe 100 "installing extra packages" messages later it becames slower and stopped. Thats all.

Any idea?

Best regards,

moppel
[JASJAR, XDA Exec, MDA Pro General] domi007:
scholbert:

Thank you very much for your information, but it doesn't work for me:

htcuniversal.c:236: error: 'GPIO_ALT_FN1_IN' undeclared here (not in a function)

This is my error message, and I can't do anything with it...

Have you, or anyone else got an idea?

Thanks,

DOMy

Finally, I got it: I have successfully compiled a 2.6.26 kernel for the Universal, but it doesn't boot on my device (haret says: GO GO GO in log, and Jumping to kernel on the screen). Perhaps someone else can prove this problem with it? I attached the zImage file.
[JASJAR, XDA Exec, MDA Pro General] Moppelg:
Wow, wenn das mal nicht idiotensicher ist ;) Ich probier es mal die Tage von vorne...

Danke für die Mühe!

Gruß Moppel
[JASJAR, XDA Exec, MDA Pro General] fasgiu:
doesn't work on my UNI..

what shoul have of new this version? wifi working??
[JASJAR, XDA Exec, MDA Pro General] scholbert:
I really can't remember if this patch is sufficient to make the mobile linux kernel boot on the uni or not. It's too long ago that i fiddled around with these issues :o.

Maybe some other patch from handhelds.org has to be applied.

There are many device drivers, that a shared over a variety of platforms.

Can't say anything about wifi either... sorry :rolleyes:

Anyway, do you see any kernel message?

Regards,

scholbert
[JASJAR, XDA Exec, MDA Pro General] domi007:
Actually no kernel messgaes, I think some of the core drivers aren't included therefore it cannot boot.

We expect from this new kernel a big new feature: Android Compatibility!

Thank you for your support scholbert, we are having some ideas to work on, perhaps one of them will lead us to success. :D ;)

DOMy
[JASJAR, XDA Exec, MDA Pro General] mickey_jaw:
Compiling Lirc

I have been trying to get lirc 0.8.5 to work on kernel 2.6.21-hh20 with not very much joy.

As far as I can tell the UART with the IRDA on (SIR) is STUART (/dev/ttyS2). dmesg reports it at MMIO 0x40700000, IRQ 20. I can build the lirc_sir module when i feed IO 0x40700000, IRQ 20 to the module config, but when i modprobe it i get an error about the IO address.

If i build using the option for zaurus / ipaq xscale the build bombs in lirc_sir.c with loads of undeclared symbols which should be (i think) in asm/hardware.h, so i am assuming that there are some specific defines in there on the Z kernel maybe?

Also, I cannot use setserial on any of the ttySx to set any parameters, and it reports the UART as undefined and the IO as 0x0000 (but the IRQ correctly).

Does anyone know what i am doing wrong? Are MMIO addresses not the same as IO? Do i need to build a kernel without support for the STUART to allow access to the MMIO space?

Any input would be much appreciated...

EDIT: the error when modprobing lirc_sir is:

lirc_sir: I/O port 0x40700000, IRQ 20

Unable to handle kernel paging request at virtual address 40700004

followed by a backtrace etc.
[JASJAR, XDA Exec, MDA Pro General] _Frosty_:
hi guys, I see there hasn't been much activity for awhile...

I've installed titchy from rootfs_20080427.tgz in managed to find, I've got usb networking fine, ssh works nicely over usb, the system has had 'aptitude full-upgrade' so all packages are most recent.

I can connect via WiFi if I turn of encryption on my router, has anyone managed to get WPA working?

I haven't installed X yet has the pages I've been reading say to use xserver-titchy, but I can't find any site that still host it, is it 100% necessary or is there another way to install a WM without problems?

Also the the above rootfs is running (uname -r) 2.6.21-hh20, will that need to be upgraded to use WPA?

thanks for your time in replys
[JASJAR, XDA Exec, MDA Pro General] domi007:
Hi and Welcome to the community of the TitchyLinuxUsers,

WPA isn't working and probably will never do. Even if we get a kernel update (we are currently working on 2.6.25-android compatible with SLD, and cr is working on 2.6.31) there is no hope, because the driver itself cannot handle WPA, only WEP.

I think you can install a WM just like on a desktop, so for example use apt-get install xwm gdm xorg or something like that. The Titchy Packages are hosted on http://wiki.neilandtheresa.co.uk as far as I know.

If you have more question, don't hesitate but ask them.

DOMy
[JASJAR, XDA Exec, MDA Pro General] gkovacs:
Hy, the microphone problem is solved on qtopia 4.3.1?
[JASJAR, XDA Exec, MDA Pro General] _Frosty_:
wiki.neilandtheresa.co.uk doesn't host the wiki anymore, tried before trying to get info and following links, so guessed dep's had gone too, will try later though...

what you use your uni for? i have a spare sim (free contract, basic traiff on a deal) in mine but haven't really used it for phone yet. what apps you use? any good ones? was gong to use it as miny pc but been bit busy and have come up will no joy for wpa, as yo say. think that's the only thing that holds it back. using my laptop as a gateway is a pain.

for the specs it's quick though, was impressed by it.

one thing though... does your time/date stay correct on reboots? and can you halt yours and power off? it can't power off in Window either like my htc's which is a pain, i'd like it off when i finished without halting and removing/replacing battery and avoid the power button

thanks again
[JASJAR, XDA Exec, MDA Pro General] iksiksiks:
on my uni i use shiroikuma's one, made from neilandtheresa repo's over one year ago, but with gprs working, wifi are unstable (wlan up|down trick will work if phone lose connection to ap), eth thru usb work, date and time issue was workarounded by shiroikuma with a temp file that device write with date/time and at shutdown and after reboot he restores from this file (even better of nothing). btw my battery sucks (titchy drains it quickly the way i am using it) and i'm waiting new one ordered from dukenukem to continue playing with it (and btw a raphael has been shipped today to me :) )

相撲外：Installing Debian GNU/Linux on the Universal thanks to ShiroiKuma
[JASJAR, XDA Exec, MDA Pro General] fasgiu:
a question: i use use shiroikuma's one too; I have installed wicd and I'm able to connect to my wireless (unprotected) but after a while the system locks.

Is this a common problem? Have I chances to solve it?

Thanks

Giuseppe
[JASJAR, XDA Exec, MDA Pro General] romanrm:
fasgiu

The wifi driver can often lose the connection (until ifdown/ifup), but I don't remember it ever locking up the whole OS for me.
[JASJAR, XDA Exec, MDA Pro General] zazram:
i cannot instal application in storage card.the massage appaire that slect other loction (device).
[JASJAR, XDA Exec, MDA Pro General] kub11:
I'm having strange issues with that. I made virtual partition in ext2 format, renamed it and copied BL. When clicked at it, Linux boots, mounts root partition, then there's repeating message that says Linux is being booted and then one line down message about unpacking files and that it needs to be done only once. It continouosly repeats itself. The last time it was stuck on that stage for about 1 hour, till the battery got worn out. Now, after recharging, I started Linux and found another repeating message that the installer tries to do sth with dpkg (I guess install something, since that's what it's for), but can't find dpkg. I had tried the installation before (before hard reset), but the effect was just the same. My hardware is 64MB RAM XDA Exec on G3 (I know it sounds strange, but it's true).
[JASJAR, XDA Exec, MDA Pro General] rajivshahi:
Andronoid kernel source code release... if it can be any use....

http://developer.htc.com/
[JASJAR, XDA Exec, MDA Pro General] blackSVK:
Linux HTC uni

Hi all. I've made webpage about linux on HTC uni.

http://www.unilinux.4fan.cz/
[JASJAR, XDA Exec, MDA Pro General] wovens:
Well done! This is a veritable collection and I hope it helps most that had questions about how to install linux on Uni. I know that one could find all this all over the internet using google and spendng hours online but to have a place where all the links are put together and the links are not dead is great!

Many thanks!
[JASJAR, XDA Exec, MDA Pro General] scholbert:
Hi!

Indeed very nice page.

It's cool to have a quick access to the results of different projects :p

Thanks a lot blackSVK!

Regards,

scholbert
[JASJAR, XDA Exec, MDA Pro General] plutarcian:
need help with titchy

hi all. im new to this thread so please help me. i followed the instructions at http://www.unilinux.4fan.cz/ but i cant seem to get internet working. every search i made tells me to make sure i have titchy-network-settings installed on the uni and then proceeds with instructions to edit files etc which do not exist :). ihave no idea how to install titchy-network-settings without any network.

im running xubuntu on my desktop and i really need to get internet running on the uni (GPRS, Wifi, Usb anything to get started)

thnx for all ur work and help
[JASJAR, XDA Exec, MDA Pro General] soyabean:
Hi plutarcian. what kind of network connection do you need? as far as I know the wifi driver is broken in the 2.6.21 kernel, which is rather outdated. That's why im looking forward to a newer kernel. Anyway, there are two ways that surely work. Either you can use your phone provider's GPRS/UMTS service, or use USB connection.

I've put all the content of the titchy linux blog in one file for easy reference. You can grab it here http://ifile.it/exq1kp4/titchy-linux-guide.pdf
[JASJAR, XDA Exec, MDA Pro General] plutarcian:
hey thanks for the reply and info. to tell u the truth im a relative newb when it comes to linux. but i googled and googled and googled and got usb internet working. :D. didnt even wait to try gprs but went ahead and did

aptitude install xfce4

or something to get that window manager. unfortunately i said yes to updating udev even though it said it needs a newer kernel. so now titchy is busted :(. wont startx :(. will have to start again from scratch.

i downloaded ur guide and wil go through it but i wanna ask something

is xfce a viable solution for titchy. i know it would be slow but on the other hand iceWM is VERY basic.

can i use firefox or opera with EVERYTHING on uni. thts my main concern. i borrowed the uni from someone. this is just proof of concept project for me
[JASJAR, XDA Exec, MDA Pro General] plutarcian:
WOW. thanx for the VERY detailed TUTORIAL :) will start over from scratch and follow ur advise.

P.S. i had already seen http://neilandtheresa.co.uk/Blog/Titchy Linux/ and http://sumoudou.org/index.php?cmd=Non-Sumou. but currently was trying the files from http://www.unilinux.4fan.cz/ which already has iceWM installed

thanx again
[JASJAR, XDA Exec, MDA Pro General] blackSVK:
Hi all!

I've made small update on http://unilinux.4fan.cz.

Now there's tutorial how to connect HTC Uni to the Internet via USB
[JASJAR, XDA Exec, MDA Pro General] plutarcian:
thnx for the update. can u also add settings for wifi and gprs. i can never get those to work.

P.S. i know the wifi driver is unstable but i read somewhere that it does work sometimes so want to try it :)
[JASJAR, XDA Exec, MDA Pro General] soyabean:
@plutarcian: To use gprs, all you need to do is to edit the APN entry in /etc/default/titchy-phone-daemon.conf AND the username & password entries in /etc/ppp/peers/titchy-network-settings. Restart the phone service "/etc/init.d/titchy-phone-daemon restart". Finally run "ifup ppp0" to wake up the gprs device. Then you uni will start a gprs connection automatically if needed (or when the wifi/bluetooth/usb connections are not in use)

Some updates on my findings w.r.t. post #2268:

1. Audio out (the headphone jack) has no sound;

-- It now turns out to be partly correct. Playing music is fine, but no output to (wired) headphones when using the phone. I would be most grateful if someone can tell me the fix. :D

2. Sound mixer only has control over "Master", "Mic Boss", "Mic Capt" and "Phone mi"..

-- Still to no avail

3. No charging LED & APM gives nothing, which is kinda annoying.

-- At one time I managed to find out the battery reading under /sys/class/power_supply/... (the battery name, i forgot what it was), but then it mysteriously disappears up to now.

4. No keymapping for the function keys, including: L & R keys on the top row, Camera, Record, Vol Up & Down;

-- No, no, no! Most of these keys do have keysyms when running xev, so it is quite easy to get most of the function keys working in X:

Just make a copy of the original keymap under /etc/keymap.gz, gunzip it and you will see the whole keymapping layout. Look for the keysyms for those function keys. Then create a file named xmodmap (or whatever you like), put down your desired new mappings, then make your ~/.xinitrc execute "xmodmap YOUR_NEW_KEYMAPPING_FILENAME". That's it!

5. Wifi driver broken, no camera

-- Anyone got something new?

At the moment I am trying to create a script that can launch a frugal gui to make calls under X, as there is NO keypad (pity!pity!) in the titchy-phone-ui interface. A quite and dirty solution is to run a combination of xvkbd (with numpad only) and gmrun/grun/bbrun containing the dial command, i.e. "titchy-phone-daemon dial". The script would fix the position, the size and the fonts of the two windows, such that grun appears right on top of the xvkbd numpad. All i need to do is to enter the phone numbers with the onscreen numpad, then press "OK" in grun/gmrun/bbrun to make the calls. Using this I can make calls even when the phone is in tablet mode, using something comparable to the dialer in WM.

The phone apps for openmoko is nice, but it seems not so easy to make them working under debian because of a lot of dependencies and perhaps conflicts of the openmoko/angstrom libs and the titchy libs. I am also a bit surprised by the fact that there is NO phone dial pad applications in Linux. At most you can only find some for making internet connection using the modem, e.g. wxdial, chestnut-dialer. Too bad to be true.

Of course, it will be heaven if someone comes up with a proper dialer using something like, let's say, gtkdialog or even just xdialog...

By the way does anyone know if the lastest FSO or SHR can run on the uni w/ debian?
[JASJAR, XDA Exec, MDA Pro General] foxdie:
Hi all, using Debian / Titchy on my Uni, after some hacking here and there I've managed to get it into a semi-usable state.

My only issue is bluetooth speeds, or rather, the lack of speed.. Any kind of connectivity seems limited to a maximum of 10 KB/sec, like the driver is only able to communicate at 115 kbps. I've tried the following and neither help;

Using setserial to check / set the device file /dev/ttyS1 to 921600 bps, t now shows it's running at this faster speed but still, slow transfers

Switching from master to slave mode after initiating a connection using hcitool sr xx:xx:xx:xx:xx:xx slave

Anyone got any suggestions please? ;)

Also, why haven't we got WPA or Camera support yet? Wasn't the camera driver in another kernel for another HTC device? And to those who say WPA is a myth, I can connect to my works WPA access point back in Windows Mobile 6.x (Tomal) ;)
[JASJAR, XDA Exec, MDA Pro General] mesaj:
I can't run Qtopia linux. I've copied that both files to SD card root dir and when I run qtopia-htcuniversal.exe there's a something like this (some of last lines):

Mounting SD card
FAIL FAIL FAIL FAIL
Unable to mount vfat SD card partition

BusyBox v1.3.2 (2007-11-18 01:07:00 EST) Built-in shell (ash)
Enter 'help' for a list of built-in commands

/bin/sh: can't access tty: job control turned off
# _

What I'm doing wrong/is wrong or what I've missed?
[JASJAR, XDA Exec, MDA Pro General] MrChaosCoffee:
Hi all!

I'm trying to fix some issues but shiroikuma-universal-rootfs-20080507.tar.bz2 from unilinux.cz isn't downloadable correctly anymore. When I try to download the file, it seems to be broken or something like this, the download cancels at about 30M.

I had installed it before but broke my installation :/ Are there any mirrors or may anyone of you rehost ist?
[JASJAR, XDA Exec, MDA Pro General] blackSVK:
Try here :cool:
[JASJAR, XDA Exec, MDA Pro General] MrChaosCoffee:
Thnx mate, did load correctly now.
[JASJAR, XDA Exec, MDA Pro General] Magicnet2:
Hi there. I have a question about the qtopia distro. Has anybody been able to fix the screen rotation problem on it? Or is it still stuck on "you can rotate per console, but touch screeen will go haywire"???

As qtopia is really nice and all worked perfectly for me sofar, apart from the rotating.

OR - is the Poky or Tichy good enough that I can forget about qtopia? Havent tried those two so far. Any experience with all of them to compare?

Thanks
[JASJAR, XDA Exec, MDA Pro General] MrChaosCoffee:
I think, using titchy is the best solution to the linux on universal topic. Most of the hardware parts are working fine, emacs and icehamster (browser) are perfect for mobile working. Phone functionality and SMS are fine.
[JASJAR, XDA Exec, MDA Pro General] Magicnet2:
How about screen rotation? Is the landscape mode fine as well?
[JASJAR, XDA Exec, MDA Pro General] notime2d8:
Can someone help me on this?

I can't get my console to work, don't know how to. But can someone test and post the log or screen dump for this and tell me if the ram is being recognized. Thanks.
[JASJAR, XDA Exec, MDA Pro General] notime2d8:
No takers? Maybe everyones at work like me...maybe i should be working. But i forgot to add in my last post that this is a 2.6.32 kernel i've been playing with trying to get it to work.
[JASJAR, XDA Exec, MDA Pro General] chabayo:
Hey dudes,...

...unlasting i got a SD-Card for the UniHTC to get on with Linux in that. Now i had read there will be no WIFI - thats afflicting.

For me the main hurdle by now is installing:

I have no SD-Host working on a computer so i cannot build a ext2 Filesystem, and i dont now if the WinMobile made a vfat (which Linux would work with!?); that is i just will try. I already started the haret-w.exe so the kernel did load.

:EDIT:

Using the vfat does not work, it fails the Management of Character-Special/Block-Special Files in the /dev Directory??

I already have a OpenMoko cab-File, ca. 32 MB, but it will not be installed because of less Memory. How would that do with the /dev ? - maybe with tmpfs?

:EDIT:

Ok, moved some Files i've not been aware of i got on root to the sdcard and got 38 MB free space - OpenMoko now works.

My goal at first: install a WinMobile Vanilla, absolutely thin - i only would need the internet connection, a Browser, Mediaplayer and maybe a PDF-Reader. Where to get this and how to install?

Please open me some Paths.

thx

chab
[JASJAR, XDA Exec, MDA Pro General] notime2d8:
Need Help!!!

Ok I had 7 views and no replies on my last post I have an update now. It's a newer kernel 2.6.32.5 I’ve been trying to get this thing perfect by myself but I’m stuck I haven't been able to get any of the distributions to boot. So can someone please try this out and post their results.

The list of working hardware:

Screen pxa frame buffer

Keypad all keys are mapped and working

Ram

SD slot -only tested 4gig sdhc

I have a busybox initrd I can post if it’s needed.
[JASJAR, XDA Exec, MDA Pro General] gquipster:
Might be worth posting this to the Android thread - though that's been a bit slow recently as well.
[JASJAR, XDA Exec, MDA Pro General] kasputis:
How back to windows mobile?

:confused:
[JASJAR, XDA Exec, MDA Pro General] notime2d8:
It seems some people have check out some of my stuff so....here's what i compiled on my spare time. It's the 2.6.32 kernel and my busybox initrd you can load and debug. If anybody is interested in working with me on this let me know i'll share my code.
[JASJAR, XDA Exec, MDA Pro General] romanrm:
notime2d8

I would be interested in patches that you apply to the vanilla 2.6.32 kernel sources, as well as the kernel config you used.
[JASJAR, XDA Exec, MDA Pro General] soyabean:
What are the benefits of this new build? Does it contain all the patches from the existing 2.6.21? Does it support 128MB RAM? Is there any particular/unresolved issue? :D

I just want to be a bit better informed before diving into the unknown.