Porting Ubuntu Touch (@UBPorts) to karin (Sony Xperia Z4 Tablet SGP771) and karin_windy (Sony Xperia Z4 Tablet SGP712)
-
@masa I guess that you first have to flash the image as described in the first green box here: http://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html
Than you can install anbox tool & APKs
Read carefully the previous guide. Installing Anbox is only recommended for experienced users. -
Thanks @stanwood. But what would be the variable CODENAME in the green box you mentioned? I mean is an anbox image available for this device as supposed in the documentation you linked?
-
@masa
I guess your device codename is "karin"...But in the "Supported devices" for daily use from stanwood given link, there is not your device (nor mine, wich is MX4 a.k.a. "arale").
It is not listed here : https://cdimage.ubports.com/anbox-images/
-
@masa I worked for me with the following instructions:
sudo apt install anbox-ubuntu-touch mkdir anbox-data wget -q --show-progress -O /home/phablet/anbox-data/android.img http://cdimage.ubports.com/anbox-images/android-armhf-64binder.img touch /home/phablet/anbox-data/.enable mkdir anbox-data/data sudo chmod -R o+wrx /home/phablet/anbox-data/data sudo start -q anbox-container start -q anbox-session
at this point, you need to reboot
twice
!
Respect the official instruction, it seems to work for me thewget
command without usingsudo
-
@Keneda Don't worry about that: information might not be up-to-date
-
@masa This list if for legacy and official supported device, rather than community ones (like karin is supposed to become soon).
Anyway it is not supported on kernel yet:anbox porting on karin is on going
-
@ignne yesterday, I got bluetooth work on my BCM43 devices. At the moment, manually:
root@ubuntu-phablet:~# chmod 0660 /sys/class/rfkill/rfkill0/state && chmod 0660 /sys/class/rfkill/rfkill0/type && chgrp dialout /sys/class/rfkill/rfkill0/state && chgrp dialout /sys/class/rfkill/rfkill0/type && rfkill unblock bluetooth root@ubuntu-phablet:~# hciattach -p -t 30 /dev/ttyHS0 bcm43xx 115200 flow bcm43xx_init Cannot open directory '/etc/firmware': No such file or directory Patch not found, continue anyway Set Controller UART speed to 115200 bit/s Device setup complete 4669 root@ubuntu-phablet:~# hciconfig -a hci0: Type: Primary Bus: UART BD Address: B6:balblablabla:97 ACL MTU: 1021:8 SCO MTU: 64:1 UP RUNNING PSCAN RX bytes:745 acl:0 sco:0 events:50 errors:0 TX bytes:3943 acl:0 sco:0 commands:50 errors:0 Features: 0xbf 0xfe 0xcf 0xfe 0xdb 0xff 0x7b 0x87 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH SNIFF Link mode: MASTER Name: 'ubuntu-phablet' Class: 0x3c011c Service Classes: Rendering, Capturing, Object Transfer, Audio Device Class: Computer, Unknown (reserved) minor device class HCI Version: 4.1 (0x7) Revision: 0x2000 LMP Version: 4.1 (0x7) Subversion: 0x230f Manufacturer: Broadcom Corporation (15) root@ubuntu-phablet:~#
-
Install / Preparatory steps xperia Z4 Tab
sorry for asking my question in this thread. But there are probably still too few xperia Z4-Tab users, so that I cannot get any answers in the support thread.
I am not successful in Preparatory steps 8 & 9. I can load and save the FIle SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_legacy.zip but after unpacking I cannot find the file: SW_binaries_for_Xperia_AOSP_M_MR1_3.10_v13_legacy.img but a complete directory tree.
How can I generate the img file from it? Is the link in the instructions really correct?I would really like to install UT on my tablet (and also test it), but unfortunately I already fail in preparatory steps 8 & 9. Please help me, because I assume that you have successfully install UT on your Z4-tablets.
Hope for Your help ...
P.S. Thanks for porting this tablet, because I'm a ubuntu user for over ten years....
-
@z4tab actually I never performed these preparatory steps, so I can't help you out. My suggestion is to unlock bootloader and install twrp, then from there (recovery mode) try to activate
adb sideload
from twrp menu on device and on pc's terminal executeadb sideload name_of_binaries.zip
.
If you want to risk to go directly on installing UT, first try to install it ondatapart
(the /data partition) with halium-install. Remember to use the proper halium-boot.img.
When you will be more familiarised with UT and recovery also insystempart
(/system partition). -
Please continue over at https://forums.ubports.com/category/84/sony-xperia-z4-tablet-sgp771-sgp712 Thank you.
-
-