yashsingh1/xdaforums huggingface dataset:
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Yes, i guess this happends after you have resumed your device from suspend. We have problems with the keyboard driver. It sucks after resuming.

I have noticed my self, it's drains battery whole it suspend. I dont know why.

The charging leds is not working yet. They will stay in the state they where when you booted the image.

Suspend should work in Opie. You can even make it suspend with the power button. I havent tested the latest opie image i made, so there might have been some changes in the source. I'll check it out.

I'll check the Fn key too. I guess it's the same issue as the supend problem. It might be that i have made the image fom the 1.2.3 source and not from 1.2.3-custom.

Actually i wouldnt rely on universal as a pda yet. As you have seen it's still in highly bleedy beta (alpha) stage .
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
All this should be coverd in the WIKI page.

4GB support = YES (i think, haven tested it my self)

Affecting WM = NO

BREAK YOUR DEVICE = It might, it havent happend yet AFAIK
[JASJAR, XDA Exec, MDA Pro General] spicypixel:
Thanks alot, you are really doing well on developing on the uni. Luckily tmobile doesnt have any login details, just a server of general.t-mobile.co.uk in WM. I'll wait until you have done the wiki entry on it. I don't mind the bleeding edge as you put it, I have ubuntu on my laptop and can potentially follow your guides - I do a programming degree at the moment :D

Yeh I'll look into the xorg config right now and see, because the GPE images from april have a default clearlooks gtk theme where as now its grey and big rounded buttons. Still I'll look into it.

Also if 3g is abit hard to sort out, can the Uni connect via USB to the net? I assume it could only do it in linux as windows has no drivers for it.

Thanks for your time. I'll keep working on it, I was planning on running apache 2, and php/mysql from the angstrom repos to make a setup to impress my friends at university :D.

One other question, how does debian arm branch with say IceWM or another light window manager work on the Uni?
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
I am not the only one working on this. It's cr2 who has mainly written the htcuniversal drivers. I just merge all together and make them runable :-) .

There is common website for all the ISP wich has the login details, but i dont remember wich site. I'll paste the url in the howto when i post it.

Yes it can, both with linux and windows on the host computer.

check handhelds.org wiki page and do a search and you'll find a howto.

I have tried running debian on it (i dont remember wich gui i was using) but it ran slow. There is howto somewhere but i dont remember where it is. Maybe handhelds.org.
[JASJAR, XDA Exec, MDA Pro General] spicypixel:
Thanks for all your help. I'll work on the USB connection soon, once I find that wiki article, I'll keep an eye on the forum thread to see if any updates happen.

Also my battery has gone completely wrong after using linux for 2 or so hours, the battery indicator is stuck at 100% all the time regardless of use.

I havent checked to see if it lasts aslong - i'll do that now. Maybe the power modules in linux arent working quite right? not sure.

Edit, after changing from opie to GPE again to attempt USB connection (which i completely failed at doing btw lol on either my ubuntu machine or XP - on xp the driver made my phone kernal panic and on ubuntu it refused to bridge.) anyways the battery seems to be working properly after a hard reset. Wierd I guess... I'll see if i can reproduce it and then report back.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
I have had the same problme with battery my self. It reported 100% in wince while it was at 5%. But i dont think it was the linx drive who caused it, because the battery where old and i was allways using USB connection while i was running linux. I guess thats not good for the battery to be charged all the time.

Here is how i bridge my universal with USB0:

iptables --table nat --append POSTROUTING --out-interface eth1 -j MASQUERADE && iptables --append FORWARD --in-interface usb0 -j ACCEPT && echo 1 >> /proc/sys/net/ipv4/ip_forward

Remember to check if eth1 is your main net connection to internett.
[JASJAR, XDA Exec, MDA Pro General] spicypixel:
Ok, now my battery seems fine, im going to try that bridging command and i eagerly await that ppp0 3G wiki page your planning on doing. thanks
[JASJAR, XDA Exec, MDA Pro General] himlims:
however the linux system seems to be very fast

is it possible to creat a swap file on my sd card and take advantage of it?

besides that, i was wondering... how the hell do i compile software to my htc?

i realy like tcpdump and mc running.

but don't have gcc and can't get it to work
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Yes swap is posible, just like a normail linux system

Get gcc-cross from codesourcery and cross compile, or download a binary from angstrom repo:

http://www.angstrom-distribution.org/repo/
[JASJAR, XDA Exec, MDA Pro General] spicypixel:
Ive also noticed putting the boot into verbose mode i see many messages of missing module folders and files relating to HH4, where as this is HH21? I think my install is quite mixed up lol.

I'll probably wipe the card and wait till you release the "bleeding" edge stuff with a zimage, cab, and a tar.bz2 at one time so i can make sure it works.
[JASJAR, XDA Exec, MDA Pro General] himlims:
great link you just gave me.... many many many thanks

however ... there is one little issue... which packages (arm/ppc etc.) should i pick for the universe?
[JASJAR, XDA Exec, MDA Pro General] TehPenguin:
Has anyone had a look into this:

http://alp.access-company.com/
[JASJAR, XDA Exec, MDA Pro General] madkat:
Guys,

Looks like you're making some great progress!!

However... I'd like a little help please :-)

It's some time since I last even booted my Universal, let alone put Linux on it.

So now I have a startup.txt with the following:

I get:

Using /dev/mmcblk0p2 instead I get the exact same error.

This is with zImage-2.6.21-hh14

Any clues? (Have searched back & forth in this thread for long enough and not found an answer!)

Thanks =)

--edit--

Booting the RamDisk I can mount /dev/mmc/blk0/part2 to /mnt/test with no problem. What gives?
[JASJAR, XDA Exec, MDA Pro General] Moraj:
set CMDLINE "rootdelay=1 root=/dev/mmcblk0p2 console=tty0 mem=64M

I think you need to have the rootdelay in there to give it a chance to mount.
[JASJAR, XDA Exec, MDA Pro General] madkat:
Thanks Moraj, worked like a charm :D
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Yes, you cant use mixed kernel/modules version. You will miss in example WLAN, SOUND, some Bluetooth modules and such. So replece the zImage you are using in your windows folder with the hh21 version.

You will find the zImage in the cab file installed to program_files in wince.

No need to wipe the card, just replece the zImage.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
You can just install it while you are online using

ipkg update

ipkg install "package"
[JASJAR, XDA Exec, MDA Pro General] wovens:
Cannot make Linux work on my Universal

Hi Guys,

I am new to all things Linux but still would like to have a go at it on my Uni. :)

I know this is not the best way to start.:p

I've tried with an old laptop and DSL and could not get connected to the Internet wirelessly and almost thrown the laptop againts the wall trying to install drivers for the thing. :mad:

So, I am not the most patient person in town but I thought I had brains and could cope with Linux but it has not been a straightforward experience in any account.

So, to the Universal. My questions are:

1)- How much free memory I need to run this last OpenMoko version?

2)- Do I need to install Ramdisk?

3)- Do I need to have the Universal tethered to a computer to run it?

3)- When I install the cab file, change the startup.txt file to see the correct zImage and run the thing I get stuck with a message saying "kernel panic - cannot mount system files" or something like that (I cannot see it properly because the writing is too small to be comfortable to read). Then it freezes and I don't get anywhere!

Guys, if you really want more people to get using Linux and test-driving the OS, surely somebody brainy could make it easier for people not used to Linux to get stuck in! :)

All the best,

Wovens.
[JASJAR, XDA Exec, MDA Pro General] madkat:
None. Linux "takes over" the entire device until you reboot.

You don't install the Ramdisk, it's just an image which can be "mounted" like a disk and contains the basic tools to get an SD-Card partitioned and formatted ready to run Linux from.

Nope.

That's because you've skipped the most important parts - partitioning the SD-Card, formatting it, copying Linux onto it. If you start again, and don't do anything with the startup.txt, you'll be able to login to the shell. From there you do your partitioning. Then you need to copy a .bz2 file into the FAT partition, boot back into Linux again, bunzip the .bz2 and untar the .tar, and then you'll be ready to change the startup.txt (and, if you wish, delete the ramdisk image - though it may well be useful in the future.)

WHEN Linux is ready, a nice little installer will get made. BUT it IS still in the experimental "try-it-if-you-want" stages. We're very lucky to have this group of guys who don't mind *too* much answering the same questions over & over about little oddities in the installation procedure, or small omissions. There IS a step-by-step guide to installing Linux on an SD-Card - I know because I made a major contribution to it, before goxboxlive got his mitts on it - and it covers almost everything you need to do. The bit it doesn't cover is the bit you've already done - changing the startup.txt file.

I'm not a Linux bod. It really pisses me off when I'm at work and I want to change or check something and I get "DUH, you just chomp the wibble with the znirk parameter!" That's why I did so much work on the step-by-step guide - so people like you and me CAN get stuck in. (Though I'm sure a little MS-DOS / fdisk experience helps.)
[JASJAR, XDA Exec, MDA Pro General] wovens:
message withdrawn
[JASJAR, XDA Exec, MDA Pro General] corvus:
Wovens, i think you must undestand that in this forums we see many less-than-users that see linux and wants use it in their unis without know how to install it in a PC. I'm new too in the way to making linux work in my uni (i get working, but the phone is out), and if i can help you i will try, but you must have a little more patience because the people are bored answering allways the same questions.

Now i will try to help you:

1) when you start haret all the memory is free for linux, is like you reboot the uni and boot linux, so it takes all the memory it needs at boot. you will not have memory problems.

2) You will need to use ramdisk if you prepare your sd in the uni, if you prepare it in one pc you dont need ramdisk.

3) The uni is autonomous in all ways, you only need to attach it to charge or to get net by usb.

4) If the kernel dont find the file systems can be a sd problem (more than 1Gb???), a bat untaring of the distribution, or a bat modification of the startup.exe. When you use the cab you must not change the startup file, it points the correct path.

5) This is not a "production" enviroment... it's at alpha stage and not everyone can use it, so i think is like a filter... if you cant install it you are not prepared to use it... (not you... not personal, you know).

Corvus.
[JASJAR, XDA Exec, MDA Pro General] wovens:
Corvus,

You are right! I am probably not prepared for this alpha. I've withdrawn my message. I am probably missing a little cog in the works because if when you say that it boots and takes over the Universal, it means it uses up all the "internal" (i.e.RAM) memory of the Universal, where does it save the files that I have in RAM? How come when I reset it back to WM it is all there so nicely? Shouldn't I lose all my WM data then? :confused:

Does it matter which WM we are using? It is apparently very relevant in the Axim X50 if we are using WM2003 or WM5. I've got WM6 on my Universal at the moment.

Sorry to be so confused.

Best Regards.
[JASJAR, XDA Exec, MDA Pro General] corvus:
1) Ram is ram... lol... sorry... ram is used to temporary storage, so when you restart your uni this memory is deleted... you speak about rom where is installed WM and the programs. When you install linux, you storage the kernel and haret in the rom and the rest of linux files in the sd, so when you start haret you refresh the ram (not teh rom) and you get the 64Mb clean (not the 128Mb of rom). But be careful... like i said before its an alpha stage so you can damage your uni and make a brick...

2) when i get my uni almost dont use WM5, so i just flash WM6 and i have no problem with it.

Corvus.
[JASJAR, XDA Exec, MDA Pro General] wovens:
But, but, but, you don't understand! Or I still don't. I mean, I haven't done synchronisation in ages and all my data is still there AFTER I try linux! NOTHING got deleted! Does that mean that it is not installing at all?

Do I need to "unlock" any memory to allow this to work?
[JASJAR, XDA Exec, MDA Pro General] corvus:
Lets begin...

Your uni has 2 memory, RAM and ROM, RAM is like the RAM in computer, when yo reboot it get erased, and you dont mind what the OS saves into.

ROM is like the hard disk in a PC, you install programs and the OS, and they stay here for ever :P

And the SD is like a usb pen drive...

So, when in your uni you install programs they go to ROM, not RAM, when you use the programs they use RAM to save states, but it is transparent for the users. When you install Linux you put the kernel in ROM (to boot from WM) and the rest in SD, so when you go out from linux the uni restarts in ROM and boot WM.

In the uni, you only can install in ROM or SD, you cannot install in RAM. In PDAs with WM2003 and early there is no diference between rom and ram (they have only ram) so when your battery goes out you lose all data. In WM5 and WM6 you have ROM and RAM like I just explain.

OK?

Corvus.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Hi Madkat.

Yes now we install RAMDSIK. I have made a cab file out of it so it will be easier for the user.

I also make cab files out of the startup.txt, zImage and Haret. Just to make it easier.

[/QUOTE]
[JASJAR, XDA Exec, MDA Pro General] madkat:
Oh right - OK, so that's what you mean by installing Ramdisk... I misunderstood - thought woven wanted to install a ramdisk in WM then run full Linux from it! Makes more sense now. Thanks =)
[JASJAR, XDA Exec, MDA Pro General] corvus:
openmoko gsmd

They are having problems with gsmd in openmoko...

http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=705

Not a universal problem... :P.

Corvus.
[JASJAR, XDA Exec, MDA Pro General] wovens:
Thank you!

Thanks very much. I appreciate it.:D

I probably got my nomenclature mixed up somehow or my English is not very good.:p

So ROM (Read Only Memory) is actually a "read only" of sorts! I always thought we needed a bootloader to write things to ROM in these units because the ROM was a very protected area and we actually would write our applications to an area called storage...:)

Thanks again and well done! You actually taught me something today. You deserve a scouts star or a kudos for that.

Best regards
[JASJAR, XDA Exec, MDA Pro General] wovens:
How to get a log of the install procedure?

I can see the guys have a way of logging their errors for later print. Where do I go to get the log from my installation? Is the log written to the /tmp folder on the sd card?
[JASJAR, XDA Exec, MDA Pro General] corvus:
Sorry, only log when you has already installed linux.

Corvus.
[JASJAR, XDA Exec, MDA Pro General] Road:
Hello, I´m new in the forum and I have try linux in my universal, now I try too format back my sd card in fat. how make this??

Thank and sorry for my bad english. :rolleyes:
[JASJAR, XDA Exec, MDA Pro General] corvus:
http://handhelds.org/moin/moin.cgi/UniversalHowtoInstallLinux

But if you have read the last posts you must see that is not trivial and its not fully functional.

Corvus.
[JASJAR, XDA Exec, MDA Pro General] corvus:
goxboxlive:

Hi.

I just try to make communitation with the gms modem following this guide:

http://wiki.openmoko.org/wiki/Manually_using_GSM

And I get:

root@htcuniversal:/proc/tty/driver$ cu -l /dev/ttyS0

Connected.

AT-Command Interpreter ready

ATI

Manufacturer: HTC

Model: HTC

Revision: HTC

IMEI: xxxxxxxxxxxxxxxxxxxxxxx

+GCAP: +CGSM,+FCLASS,+DS

0

Then in the source i see that the return of a command must be a OK or a ERROR, but not 0, and this is the return before we introduce ATE0V1. The we get:

ATI

Manufacturer: HTC

Model: HTC

Revision: HTC

IMEI: xxxxxxxxxxxxxxxxxxxxxxxxx

+GCAP: +CGSM,+FCLASS,+DS

OK.

Searching in the openmoko lists y see:

http://lists.openmoko.org/pipermail/gsmd-devel/2007-June/000063.html

Please goxboxlive, can you try it and if you like send me the binary to try in my universal?

Thanks.

Corvus.

PD: I am just configuring OE and bitbake... :S
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
This patches is allready included in the source. They where patched in OE until now, now they are a part of the gsmd source.

So, the binaries you are using has this patches.
[JASJAR, XDA Exec, MDA Pro General] Ferret-Simpson:
Just a thought. . . You're using the OpenMoko dialer on GPE, having abandoned Gomunicator. If you get G(PE)2 working right, is their dialer based on GSMD and therefore a better choice in the long run for GPE?

Also, remind me to check all their pages out to see which one is likely to support UMTS telephony first. . . hehehe
[JASJAR, XDA Exec, MDA Pro General] himlims:
does anybody maybe got a guide/howto about connections.

like setting up umts / bluetooth ... or usb connection?
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Yes, i havent worked on gomunicator lately.

I dont have the phone working, just the envirement.

Gpephone is based on libgnkokii and not gsmd

I have no idea wich one of them supports it. GPRS/UMTS can be setup manually with uucp/cu.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Read the hh.org wiki and search.
[JASJAR, XDA Exec, MDA Pro General] corvus:
Last gmsd compilation

hello.

About gsmd... the las compilation for Universal in the angstrom repos dont make errors in the start of gsmd, but with libgsmd-tools -atcmd i can only send 1 command but no more... the modem stuck... :S.

Anyone has tryed it more deeply?

Corvus.
[JASJAR, XDA Exec, MDA Pro General] himlims:
could you point me to a direct link?

i've searched nearly any forum related to htc/wm flashing and development
[JASJAR, XDA Exec, MDA Pro General] corvus:
If you read the page behind this you will find what are you searching for... :S

Corvus
[JASJAR, XDA Exec, MDA Pro General] Pandur:
http://www.handhelds.org/moin/moin.cgi/WindowsXpUsbNetworkHowTo

But I have problems getting the USB-Network to run, Windows says that there is no compatible Hardware when I select the linux.inf
[JASJAR, XDA Exec, MDA Pro General] corvus:
Try this.

http://www.microsoft.com/whdc/device/network/NDIS/rndis.mspx

Corvus
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Hi.

Universal running linux -> MS Windows = no idea.

Universal running linux -> a linux computer:

http://www.handhelds.org/moin/moin.cgi/BluetoothHowto?action=highlight&value=bnep

http://www.handhelds.org/moin/moin.cgi/UsbNet?action=highlight&value=usbnet

http://www.handhelds.org/moin/moin.cgi/GPRS?action=highlight&value=gprs

Or do a search at hh.org wiki:

http://www.handhelds.org/moin/moin.cgi/FindPage
[JASJAR, XDA Exec, MDA Pro General] night117:
Wireless using the GPE, OpenMoko and OPIE image

I have a problem activating the wireless interface on my Universal.

I've tried 3 linux images (the three in the title) and neither of them had wireless working.

I have an access point with dhcp set.

Which is the right interface and how to activate it?
[JASJAR, XDA Exec, MDA Pro General] fgarpe:
Have you load acx module?

modprobe acx (in console)

then configure your wireless interface in /etc/network/interfaces

finish restart network

/etc/init.d/networking restart
[JASJAR, XDA Exec, MDA Pro General] fgarpe:
booting from haret

Hello,

I see that the cab's files for runing Linux are not availables, I'm download haret, but I need help to create a init script file for haret (default.txt), or a download link for it.

Thanks
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
*UPDATE*

Now i have made libgsmd working with Universal again.

I have created a new Openmoko image.

Phone work again.

*** USE AT YOUR OWN RISC, IT MIGHT BREAK YOUR UNIVERSAL ***

Get it from:

http://www.linuxtogo.org/~htcpxa/

Forget about the alsamixer settings. I added it to the image instead. Just start Openmoko and make calls. Still buggy, but it works :-)
[JASJAR, XDA Exec, MDA Pro General] EyeOfTheStorm:
Haha :`)

Can make Phone calls !!! .... have startup sound !!!

Thanks man!!

[UPD] But as you said, it still is bugy. When I reject incomming call ... the ring tone will not end. Or the phone app does not record the call history. But I guess ... this are realy small problems :')
[JASJAR, XDA Exec, MDA Pro General] banditos:
On my Qtek9000 (radio 1.15) linux reboot to WM6 after 60-70% of progress bar in graphical moko-logo :(
[JASJAR, XDA Exec, MDA Pro General] EyeOfTheStorm:
Wow ... never seen this before. Maybe a hardware issue?
[JASJAR, XDA Exec, MDA Pro General] dan99:
bunzip2: Compressed file ends unexpectedly (((
[JASJAR, XDA Exec, MDA Pro General] cr2:
You probably need to download it again ;)
[JASJAR, XDA Exec, MDA Pro General] banditos:
I reflash back WM6PRO Business AKU 0.5 (update 1) to WM6PRO Business AKU 0.5 and now Moko boot successfully and even make calls!
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
OPIE-II With phone libs

Hi.

Trolltech decided to release the phonelibs for a week ago, and we have made a image for Universal with the qtopia phone libs.

We have now the phone working and also sms.

Please test:

BUGS: No system sounds and a bunch of others :-D

http://www.linuxtogo.org/~htcpxa/htcuniversal/images/O.P.I.E-II/

**** USE AT YOUR OWN RISC ****
[JASJAR, XDA Exec, MDA Pro General] pisiiki:
GCC + IDE on the universal

Hi, first of all I want to say thank you to the ppl that made possible to execute linux on PPC PDAs because I understand the enormous amount of work it takes, from the first in the chain to the last thank you. I am not a linux fanboy but having a real OS on my phone has no price for me, not from a practical point of view but just for fun.

I want to post here with a suggestion, I don't know how difficult it is because I don't use linux in my desktop (I'm a videogame developer and I spend all the day with vc++ and directx). From my point of view I can't call computer a machine that doesn't have a c++ compiler inside and some kind of IDE, put even a notepad or something. I was not able to execute gcc on the distros I have tested on my universal and I don't have the knowledge to build the crosscompiler and set up all fine in the phone.

My question is how difficult would it be to (utopically) include gcc inside a distro and the most comon src files and for example the code::blocks IDE. I even don't know if the IDE will run without changing the GUI code or something.

If there is a way to do it my own I would apreciate any suggestion and even more if it is explained in a dummy way for a linux ignorant like me. I supose the first step will be to build gcc for the ARM with a crross compiler but it seems to be a tedious process that I can't undestand at all.

Thank you.
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Connect to internet with your uni and run:

ipkg update

and then form this repo: http://www.angstrom-distribution.org/repo/

ipkg install "whateveryou want to install"
[JASJAR, XDA Exec, MDA Pro General] lyka:
can you make a cab for OPIE II bootloader?
[JASJAR, XDA Exec, MDA Pro General] goxboxlive:
Yes i can, but you still have to make linux filesystem on your SD card.

I'll try to make it later this evening.