flipped_vision

Differences between revisions 7 and 8
Revision 7 as of 2013-08-09 13:34:27
Size: 6961
Editor: port-92-201-35-88
Comment:
Revision 8 as of 2013-08-15 19:07:58
Size: 7613
Editor: port-92-201-19-115
Comment: Update for new image
Deletions are marked like this. Additions are marked like this.
Line 10: Line 10:
|| Update interval / last update || No automatic builds, last update 2013-08-07 || || Update interval / last update || No automatic builds, last update 2013-08-15 ||
Line 13: Line 13:
|| Install instructions || Wipe/format system and data, then flash the android parts (cm-*.zip), then flash the modified-saucy-*.zip through recovery || || Install instructions || phablet-flash community --wipe -d vision (or see below for manual installation) ||
Line 34: Line 34:
||<bgcolor="#ffffcc"> Boot process || Works with some patches required for the Ubuntu initramfs and android container scripts for partition detection (i.e. hard code /dev/mmcblk0p26 etc.), Ubuntu plans for a more general solution for this ||
||<bgcolor="#ffffcc"> 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) ||
||<bgcolor="#ffffcc"> 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). ||
||<bgcolor="#ffffcc"> 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 [[https://bugs.launchpad.net/touch-preview-images/+bug/1210182|1210182]]) ||
Line 38: Line 38:
||<bgcolor="#ff9999"> Sound || Currently broken on most boots. Kill android mediaserver to make it work (will restart automatically). Workaround to restart mediaserver after boot will be in next image. || ||<bgcolor="#ffffcc"> Sound || Should work on most boots. If it fails, reboot or kill the mediaserver process. ||
Line 48: Line 48:
 * Put these files on your SD card (download from google drive link above):
   * cm-10.1-20130807-UNOFFICIAL-vision.zip
   * modified-saucy-touch-armhf-20130807.zip
 * Wipe/format data and system (this is important, even when just updating to a newer *-touch-armhf-*.zip!)
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.
Line 62: Line 65:
 * Flashing ubuntu rootfs appears to work fine (i.e. no error message) even when /data is full and subsequently booting ubuntu fails.
 * Sound, video playback don't work
 * 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
Line 66: Line 69:
 * Not sure if still an issue: Sometimes it fails to start (black screen) and surfaceflinger keeps on crashing. ADB still works. Workaround: Power off and reboot.
Line 71: Line 73:
 * You might need to fetch one or more bzr branches (platform api?), follow directions as published by Ubuntu

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-15

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.

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

Unlocking instructions

See XDA Developers forums.

See table above.

Known issues

  • 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'

Touch/Devices/flipped_vision (last edited 2014-01-18 17:16:58 by x2f4dc7e)