UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    UT on Nexus 10

    Support
    2
    2
    828
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      lnxsr
      last edited by

      Hi,

      I'm trying to install Ubuntu Touch on my Nexus 10 (manta) from legacy channel.
      Flashing with magic-device-tool works great, but then I get "This phone needs restoring from a PC or service center."

      Running system-image-upgrader again gives this:

      ~ # /sbin/system-image-upgrader /cache/recovery/ubuntu_command.applying
      __bionic_open_tzdata: couldn't find any tzdata when looking for localtime!
      __bionic_open_tzdata: couldn't find any tzdata when looking for GMT!
      __bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!
      Starting image upgrader: Sun Jul 9 12:34:16 GMT 2017
      Loading keyring: archive-master.tar.xz
      swapon: /cache/recovery/SWAP.img: Unknown error -16
      ~ #

      ~ # swapon /cache/recovery/SWAP.img
      swapon: /cache/recovery/SWAP.img: Unknown error -16

      busybox version is v1.21.1-kk static (2013-11-24 11:52 +0100)

      Adding "-a" to swapon command in /sbin/system-image-upgrader fixes this.

      Then I get "Invalid signature: /cache/recovery/image-master.tar.xz"
      Workaround is to create file /etc/system-image/skip-gpg-verification

      Then /sbin/system-image-upgrader finishs successfully.

      After reboot I've an endless boot loop (just showing Google text).

      Is it possible to continue installation manually or do I need a custom image containing the fix for this?

      Thanks in advance,
      lnxsr

      PS: Thats what I did to come so far:

      adb shell
      mv /cache/recovery/ubuntu_command.applying /cache/recovery/ubuntu_command
      cp /sbin/system-image-upgrader /sbin/system-image-upgrader.orig
      cat /sbin/system-image-upgrader.orig | sed "s,^swapon ,swapon -a ,g" > /sbin/system-image-upgrader
      touch /etc/system-image/skip-gpg-verification
      /sbin/system-image-upgrader /cache/recovery/ubuntu_command

      H 1 Reply Last reply Reply Quote 0
      • H
        hans1977se @lnxsr
        last edited by

        @lnxsr said in UT on Nexus 10:

        "This phone needs restoring from a PC or service center."

        I got that error message on my Nexus 4 back then when Canonical developed Ubuntu Touch. The solution was my usual solution to delete the local cache and run again.

        Your case is different since you use the MD Tool to install, but that tool seem to have similar problems when the cache gets corrupted. I would therefore suggest to remove the cache and run MD Tool again.

        To remove the cache you do: rm -fr ~/.cache/ubuntuimages

        1 Reply Last reply Reply Quote 0
        • First post
          Last post