UT on Nexus 10
-
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 -16busybox 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-verificationThen /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,
lnxsrPS: 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 -
@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