flipped_vision

Revision 9 as of 2013-08-25 20:08:13

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-08-25

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 doesn't mean it works out of the box with only Ubuntu Touch and CyanogenMod. It means that it works without patches to Andromadus/Ubuntu/CyanogenMod, but the Andromadus patches are obviously required.

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 with Andromadus repos (so obiously patches required for CyanogenMod)

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 that is missing in Ubuntu Touch (also works without patches if compass user is added to Ubuntu, see bug 1210182)

Cellular Radio

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

Wireless network

works with Andromadus repos (possibly minor patch for Andromadus repo is required, not tested without that in long time)

Sound

Should work on most boots. If it fails, reboot or kill the mediaserver process.

Touch

works with Andromadus repos

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

seems to work

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 using device-specific additions for apparmor-easyprof-ubuntu (Launchpad #1214975) and apparmor compat patches for the andromadus kernel.

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-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 will take very long, a few 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.
  • 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
  • This is probably not visible for the user, but the mounts don't work the way they are probably supposed to work (see https://lists.launchpad.net/ubuntu-phone/msg03502.html )

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'