Author Topic: Htc Universal  (Read 695769 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #30 on: April 16, 2008, 09:05:40 am »
Quote from: datathief
Let me know how it goes.  The code may be a bit untidy still, but it should be quite hackable if you need to.
Yep, I'll report back on the process...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Htc Universal
« Reply #31 on: April 16, 2008, 01:20:18 pm »
Hoho ... I am reading the chapter in the Service Manual (CONFIDENTIAL) on how to dismantle the device. It's so well-written and idiot-proof!
I've got a very cheap new replacement black case and keyboard (around ~EUR 15), together with a beefy batter, for my arriving 2nd MDA Pro. So it will look brand new and cool again.
« Last Edit: April 16, 2008, 01:20:55 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #32 on: April 16, 2008, 02:08:57 pm »
Quote from: datathief
Quote from: ArchiMark
How is the keyboard and display?
The keyboard is slightly noisy ("clicky"), but perfectly usable.  The screen isn't quite as bright as my Zaurus, but is otherwise very similar (same size, resolution, etc.).  I'm running screen, mutt and finch, but X works fine.  I haven't tried cellwriter for handwriting recognition, but it's in the Debian repos.

Thanks for the input, datathief....

So, main reason I assume that main reasons for using HTC Universal over Z is that it has built-in WiFi/BT and phone functions, right?

If I don't need phone function, then given that I use WiFi card or ethernet card with my 3200/Debian EABI, is there much reason to consider getting the HTC Universal?

Isn't performance better running Debian EABI on my 3200 on internal HD vs running it on a SD card on the HTC?

Thanks,

Mark
Somewhat tempted to get HTC Universal.....  
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Htc Universal
« Reply #33 on: April 16, 2008, 03:02:55 pm »
In terms of specs the Z and the HTC Universal have edges over each other:

Pros for the Z: CF slot, internal disk space, better quality screen.

Pros for the Universal: a full range of connectivity options, SDIO (and higher SD interface?), keyboard w/ backlight, faster processor (PXA270@520MHz), dual-camera, microphone, Transflective TFT, more power options (up to 4800 or even 5200 mAh!)

Otherwise, their weight, form factor, dimensions, pocketability and now compatibility with linux are very similar.
Then again, personally the Universal has more cool factors and feels more geeky. The Z just seems to be getting older and older now...

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ArchiMark

  • Administrator
  • Hero Member
  • *****
  • Posts: 1830
    • View Profile
Htc Universal
« Reply #34 on: April 16, 2008, 04:35:45 pm »
Quote from: ZDevil
In terms of specs the Z and the HTC Universal have edges over each other:

Pros for the Z: CF slot, internal disk space, better quality screen.

Pros for the Universal: a full range of connectivity options, SDIO (and higher SD interface?), keyboard w/ backlight, faster processor (PXA270@520MHz), dual-camera, microphone, Transflective TFT, more power options (up to 4800 or even 5200 mAh!)

Otherwise, their weight, form factor, dimensions, pocketability and now compatibility with linux are very similar.
Then again, personally the Universal has more cool factors and feels more geeky. The Z just seems to be getting older and older now...

Thanks for all that feedback, ZDevil!

So, Universal is sounding more and more tempting.....

Hmmm........


 
Silicon Valley Digerati - * Please see my Mini Laptops For Sale Listing *
Cosmo Communicator / One-Netbook One Mix Yoga 3S (Win 10/Manjaro 18)
Banana Pi Zero UMPC/Armbian
MacBookPro
Sold: C3200/N900/OQO/N5/Dell Mini9/Netwalker/UMID M1/

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #35 on: April 16, 2008, 05:13:29 pm »
Some notes on Linux support for the HTC Universal:

Quote from: ZDevil
a full range of connectivity options
I haven't tried bluetooth yet.  Wifi works, but the driver is flaky (can be worked around).  GPRS/UMTS works nicely.

Quote
SDIO (and higher SD interface?)
The SD card slot is occupied when running Linux (there's no way to install to the internal flash yet).

Quote
keyboard w/ backlight
One of my favourite features.  

Quote
faster processor (PXA270@520MHz)
cpufreq works, too.

Quote
dual-camera
No camera drivers yet.  Apparently a Motorola phone uses the same camera, and there's a driver for that somewhere.  My next project, I think...

Quote
microphone
Works under ALSA.

Quote
Transflective TFT
I'll see how this works out when summer comes...

Quote
more power options (up to 4800 or even 5200 mAh!)
I had some apm problems when I installed a 3800mAh battery, but once I charged and discharged it completely (to re-calibrate the charging controller) it works fine.

garmiste

  • Newbie
  • *
  • Posts: 21
    • View Profile
    • http://
Htc Universal
« Reply #36 on: April 16, 2008, 05:15:30 pm »
The Universal looks more and more tempting. I have been getting tired hauling around a PDA AND a phone. The geek factor gets really high when I carry a PDA, cell phone, and a ham radio on my belt. Now this has me thinking... if I could run packet radio with a Universal and my radio, do APRS from the car with a built-in GPS... hmmmm.
Zaurus sl-c5500, sl-c1000

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Htc Universal
« Reply #37 on: April 16, 2008, 05:20:46 pm »
@datathief:
Thanks for the update again.
I saw you mentioning that running the roofts off SD is a bit slow. Can you give us more specific info? In fact I find the speed running Debian EABI off SD on the Z is still quite acceptable. It seems unlikely that the speed of the SD interface on the Universal is lower than the Z's. If speed is acceptable then running X shouldn't be a big deal.
« Last Edit: April 16, 2008, 05:21:01 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #38 on: April 16, 2008, 06:04:09 pm »
Quote from: ZDevil
@datathief:
Thanks for the update again.
I saw you mentioning that running the roofts off SD is a bit slow. Can you give us more specific info? In fact I find the speed running Debian EABI off SD on the Z is still quite acceptable. It seems unlikely that the speed of the SD interface on the Universal is lower than the Z's. If speed is acceptable then running X shouldn't be a big deal.
It feels noticeably slower to load apps than my Zaurus  -  but not unacceptably so.

Code: [Select]
root@universal:~# hdparm -Tt /dev/mmcblk0

/dev/mmcblk0:
 Timing cached reads:    30 MB in  2.01 seconds =  14.93 MB/sec
 Timing buffered disk reads:    4 MB in  3.32 seconds =   1.20 MB/sec

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Htc Universal
« Reply #39 on: April 16, 2008, 06:06:21 pm »
Okay. For clearer comparison here are the results of the same test I ran earlier on and posted in another thread:

#1 Hitachi microdrive 6gb
Code: [Select]
/dev/hdc1:
 Timing cached reads:   168 MB in  2.02 seconds =  83.17 MB/sec
 Timing buffered disk reads:    6 MB in  3.26 seconds =   1.84 MB/sec

#2 Sandisk Extreme III CF 16gb
Code: [Select]
/dev/hda1:
 Timing cached reads:   164 MB in  2.01 seconds =  81.59 MB/sec
 Timing buffered disk reads:    8 MB in  3.26 seconds =   2.45 MB/sec

My question: Does the speed of the SD matter on the Universal, as it doesn't on the Z?
« Last Edit: April 16, 2008, 06:07:48 pm by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #40 on: April 16, 2008, 06:48:11 pm »
Quote from: ZDevil
My question: Does the speed of the SD matter on the Universal, as it doesn't on the Z?
Here's the result for the same card in the Zaurus:
Code: [Select]
/dev/mmcblk0
 Timing cached reads:    70 MB in  2.01 seconds =  33.85 MB/sec
 Timing buffered disk reads:    6 MB in  3.52 seconds =   1.70 MB/sec
It looks like the card is capable of higher speeds, so I would guess that the card is not the limiting factor.

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Htc Universal
« Reply #41 on: April 16, 2008, 06:50:53 pm »
Digging out this pretty old review (30 months ago), but still a very nice one:

http://www.pdagold.com/articles/detail.asp?a=257

Remember it's three years back -- during the time when the Cxk series was launched ...
The design and features of the Universal are definitely superior than the Zs ...
... if you can forget about how much it was priced then: "The one I have reviewed was bought abroad for an unbelievable $1200 USD excluding VAT."    

What a quirky sense of fun: my future dream gadget would turn out to be such a (chronologically) backward machine ...  

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Htc Universal
« Reply #42 on: April 16, 2008, 08:14:39 pm »
All right, I just bought the phone, gettimg ready to hack.

Question, does anyone have an eabi rootfs tarball with python-serial, pppd, and socat installed already? Or can anyone confirm if they're present in the rootfs packages mentioned in the previous threads?

The reason being, so that I can start htcunid off of it right away, and connect to the web as explained in datathief's guide and then apt- upgrade and installing needed stuff would be easy...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Htc Universal
« Reply #43 on: April 16, 2008, 08:30:06 pm »
Just chrooted into the rootfs on my SD and checked:
(alas,) none of these packages are installed yet...

A quick and dirty solution is to download and extract these packages to the rootfs.  (ar -x PACKAGE && tar -xzf data.tar.gz)
It seems you can simply try these three packages: python-serial, ppp (including pppd) and socat, plus libpcap0.8 as a dependency.

Or to play safe you can first boot it up off the SD on the Z (flashing or simply kexecing the debian kernel), then apt-get install them, then run it on the Universal.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

datathief

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Htc Universal
« Reply #44 on: April 17, 2008, 05:23:06 am »
Quote from: ShiroiKuma
All right, I just bought the phone, gettimg ready to hack.

Question, does anyone have an eabi rootfs tarball with python-serial, pppd, and socat installed already? Or can anyone confirm if they're present in the rootfs packages mentioned in the previous threads?
You should be able to get USB networking or wifi working without much trouble  Load the htcuniversal-acx and acx modules for wifi.  To prevent the wifi driver falling over, use iwconfig wlan0 rate 1M.

On a related note, there's another hack missing from my instructions.  The wifi chipset is powered up by default, and it drains the battery rapidly.  At boot time, I load htcuniversal-acx and acx, then rmmod acx.  Don't rmmod htcuniversal-acx  -  it crashes if you try...