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