flipped_vision

Revision 10 as of 2013-09-26 17:41:24

Clear message

Warning /!\ Ubuntu Touch is no longer maintained as a core product by Canonical. However, the Ubports community are continuing development.

General

Device name

HTC Desire Z

Code name

vision

Image maintainer(s)

w-flo

Testers

-

Update interval / last update

No automatic builds, last update 2013-09-26

Unlocking instructions

see XDA Developers

Install instructions

phablet-flash community --wipe -d vision (or see below for manual installation)

Android code

https://github.com/w-flo/android (manifest repo)

Ubuntu zip modification script

https://github.com/w-flo/rootfs-modifier

Image download

https://googledrive.com/host/0Bxs9D2Kntc0kUW1GMm5NRWZVWTA/

State of things

Booting to the Unity 8 shell works using flipped containers (i.e. booting into Ubuntu directly, then spawning an android container, instead of the old way of booting into android, then starting an Ubuntu chroot).

This port is entirely based on the work of the Andromadus team. They maintain an inofficial CyanogenMod port for the Desire Z. If a feature is marked as "Perfect" that means that it works without patches for Ubuntu, but still possibly a lot of patches for Andromadus.

Legend

State

Explanation

Perfect

Everything works, all patches included in Ubuntu proper

Working

Works, minor issues only, some patches pending

W-I-P

Work in progress

Blocked/Broken

Severely broken, unusable or progress is blocked

Unknown

Unknown

What

Status/Comments

Graphics

GUI works

Boot process

Hack required: Remove adbd+libcrypto from initrd to reduce its size. Manual fstab creation currently required (should be fixed on Ubuntu side soon).

Rotation

Works with patches for andromadus init to get rid of the "compass" user.

Cellular Radio

No idea, no spare SIM card to test, testers required

Wireless network

Basically works. However, broken on some boots since 2013-09-26 version.

Sound

Speaker works with some delay when playing first sound.. mic, headphones, earpiece etc. probably still need some work.

Touch

works

Camera

Camera libraries depend on libjnigraphics which is not built for Ubuntu Touch and seems to have a lot of dependencies, so it is unlikely that this will be fixed

Video Decode

broken, not important for me, but patches/ideas appreciated

Suspend/Resume

works

Flashing

Patch required to flash Ubuntu parts, see Launchpad bug 1145984 and updated flash scripts in the ubuntu zip file modification script on github

Storage Requirements

/data is only 1gb on the Desire Z. The modified rootfs has some tweaks to free up some space, e.g. the swap file is removed from the tarball. This is probably not upstreamable and might get worse in the future as new features are added to Ubuntu Touch.

Click Packages Confinement

Works, vision specific access rules are now upstreamed.

Installation

Make sure that you know how to boot into recovery and how to use adb before you try this, as things can go wrong and you will need that knowledge to make your device work again. You can use the phablet-flash utility to flash your device. It is important to use the --wipe parameter that will remove any existing userdata from /data and /cache. Chances are your device will fail to boot (black screen, no ADB, only recovery working) if you forget to wipe. Use this command: phablet-flash community --wipe -d vision

Manual installation is possible, too:

  • Put the most recently published files on your SD card (download from google drive link above):
    • cm-10.1-[DATE]-UNOFFICIAL-vision.zip

    • modified-saucy-touch-armhf-[DATE].zip

  • Wipe/format data (this is important, even when just updating to a newer *-touch-armhf-*.zip!) and possibly system partitions.
  • Flash both zip files through recovery, the cm zip first, then the touch-armhf zip.
  • Reboot, read "known issues" below

Changelog (for vision specific things only!)

  • 2013-09-26: (cm: 20130924, ubuntu: 20130923)
    • Fix mtp (PC <-> Phone file transfer via USB), though currently this breaks adb

    • Fix auto brightness
    • Some work on making audio work again after Ubuntu switched from audioflinger to pulseaudio
    • Fix mounts
  • 2013-08-25:
    • Fixed click packages confinement (i.e. stock ticker, sudoku, dropping letters fixed)
    • Some kernel changes (upgraded to latest 3.0.x kernel, ported LCD backlight driver to make it ubuntu compatible)

Known issues

  • The first boot takes very long, more than 4 minutes. There is no boot animation. The screen might turn off before the GUI comes up and you have to re-enable the screen using the trackpad or the power button after a few minutes to see the GUI. Subsequent boots are somewhat faster but still slow.
  • As of 2013-09-26, wifi fails to work on some boots. Reboot (possibly repeatedly) until it works.
  • As of 2013-09-26, ADB and MTP (usb file transfer) appear to be mutually exclusive and either ADB or MTP randomly fails after boot. ADB fails to work most of the time. If you need ADB, open the terminal app in Ubuntu and type "sudo restart android-tools-adbd", then enter "phablet" at the password prompt. Note that in order for phablet-flash to work, ADB must be active, so make sure it is (or start phablet-flash when your phone is booted into recovery, which should always work).
  • As of 2013-09-26, the phone appears to do some heavy lifting in the background from time to time (hud-service and/or unity8 taking a lot of CPU time). When this happens, the GUI is unresponsive and you can't, for example, unlock your phone. Wait a minute or two and it should work again.
  • When /data has more than a few MB used and phablet-flash is used without --wipe, phablet-flash won't show any error messages, but flashing and rebooting into Ubuntu fails (since only 1 out of 2 zip files flashed correctly). Always use --wipe. When manually flashing the ubuntu zip file, there is an error message if /data must be wiped.
  • Video playback doesn't work
  • camera doesn't work and seems unlikely to work in the future

The image

How to build it

  • Use my github repo linked above to init the source tree using the repo tool (branch "master").
  • You might need to fetch one or more bzr branches (platform api?), follow directions as published by Ubuntu
  • ". build/envsetup.sh" in the the source tree root
  • "brunch cm_vision-eng" in the the source tree root
  • The android zip file will be created in out/target/product/vision (cm-*.zip)
  • Download Ubuntu rootfs from http://cdimage.ubuntu.com/ubuntu-touch/daily-preinstalled/ and use the rootfs modifier script linked above (github) to make it work for the Desire Z. (see instructions on github)

Redistributability

The Image contains blobs from https://github.com/Andromadus/proprietary_htc_vision with unknown redistributability status.

Legend

State

Explanation

Perfect

Redistributable, we're all happy

Maybe problematic

Might be redistributable, some open questions (comment)

Problematic

Not redistributable at all

Unknown

Unknown

Component name

Link to it

License (link or name)

Status / Comment'