UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Guf
    3. Best
    G
    Offline
    • Profile
    • Following 0
    • Followers 6
    • Topics 3
    • Posts 57
    • Groups 0

    Posts

    Recent Best Controversial
    • Porting Ubuntu Touch (@UBPorts) to tenshi (BQ Aquaris U Plus)

      Since early 2018, I've been working on porting Ubuntu Touch on tenshi, a mid range BQ Aquaris U Plus, commercialized with Android 6, thus suitable to work with Halium-7.1.
      See the HAL port specific details: https://github.com/Halium/projectmanagement/issues/54.

      The device is equipped with:

      • 5" HD 1280x720 screen, 294 HDPI
      • 3GB RAM,
      • 32 Gb ROM (in my case),
      • Qualcom(c) Snapdragon(c) 430 (msm8937) up to 1,4GHz

      as in his specs page (https://store.bq.com/en/aquaris-u-plus-2-gb).

      Nowadays the device has reached an interesting level of support, as the following features works well:

      • Kernel 3.18.31 for armv7l
      • Graphical User Interface, with unity8 (8.17+ubports5+0) and mir (0.24.20ubuntu11) for 32 bits libraries,
      • Data connection: up to 4G (depending on your Mobile Network Operator, but here in Spain tested either with Movistar, Orange and Vodafone),
      • wifi (embedded in the kernel)
      • Audio (and external output with jack): thanks to pulseaudio and recent pulseaudio-modules-droid-24 development,
      • GPS: it works
      • Screen rotation, using Ubuntu Touch Platform API, too. Rotation block also works,
      • SMS: inbound and outbound fully working, and notifications appear in the menu,
      • Ofono: audio in inbound and outbound calls work works out-of-the-box, now (2020-09-16) also hands-free speaker. It is able to mix well bluetooth headset output from speakers, but with handset it still works with both speakers and handset at the same time
      • test_sensors produces a congruent output,
      • Power, Volume up and down buttons
      • Printscreen by pressing at the same time Volume+ and Volume- during 2-3 seconds
      • Bluetooth: works
      • Dual SIM enabled
      • Notification partially works (for teleports, for instance, SMS, missed calls, SD storage)
      • Android alarms work
      • Hotspot works (tethering with linked devices)
      • Main and selfie cameras both work with @peat_psuwit's gst-droid and nemo-qtmultimedia-plugins. I kept on working with version in rootfs from reply #35
      • LED (white) when charging
      • Anbox (update 2020-03-03)
      • Apparmor (update 2020-03-26)

      Note: NOT NEEDED ANYMORE just before a call, manually run

      phablet@ubuntu-phablet:~$  pactl set-card-profile droid_card.primary voicecall && pactl set-sink-port sink.primary_output output-parking && pactl set-sink-port sink.primary_output output-speaker && pactl set-sink-volume sink.primary_output 200
      

      from terminal as phablet to activate audio in calls

      Lxc container works fine.

      Still to improve:

      • Fingerprint

      Tested and working (2020-09-16):

      • rootfs.img (2020-09-16): rootfs.img (with password: 1234)
      • system image (2020-09-16) system.img
      • system image: system.img
      • kernel image (2020-03-26): halium-boot.img

      At this moment it has been successfully tested with:

      • UT edge rootfs: http://ci.ubports.com/job/xenial-hybris-edge-rootfs-armhf/lastSuccessfulBuild/artifact/out/ubuntu-touch-hybris-xenial-edge-armhf-rootfs.tar.gz
      • Plasma Mobile https://images.plasma-mobile.org/caf-rootfs/pm-rootfs-20190703-055501.tar.gz. See also https://docs.halium.org/en/latest/porting/install-build/plasma-mobile.html
      • Halium-based rootfs https://docs.halium.org/en/latest/porting/install-build/reference-rootfs.html

      For those who want to test it, please, use JBBgameich's halium-install (latest version), to install it on your device, once you completed TWPR installation on recovery.

      Join us on Telegram's chat.

      Installing on systempart:

      Please, use the following images:
      halium-boot_tenshi_systempart.img
      halium-boot-20200326.img
      system_tenshi_bio.img
      Reboot the device to recovery and, from you pc:

      $ adb push system_tenshi_bio.img /data/system_tenshi_bio.img
      

      then you need to access to recovery for the following commands:

      guf@localhost:/media/gufdata/halium-7.1$ adb shell
      ~ # df
      Filesystem           1K-blocks      Used Available Use% Mounted on
      tmpfs                  1470252       152   1470100   0% /dev
      tmpfs                  1470252        20   1470232   0% /tmp
      /dev/block/mmcblk0p46
                            25473588  10236052  13920496  42% /data
      /dev/block/mmcblk0p46
                            25473588  10236052  13920496  42% /sdcard
      /dev/block/mmcblk0p25
                              253920       144    248536   0% /cache
      ~ # mount -o loop /data/rootfs.img /tmp/
      ~ # mount /dev/block/mmcblk0p24 /system/
      ~ # cp -a /tmp/* /system/ && sync
      ~ # rm /system/var/lib/lxc/android/system.img
      ~ # cp /data/system_tenshi_bio.img /system/var/lib/lxc/android/system.img
      ~ # umount /tmp && sync
      ~ # reboot
      

      Note: if systempart is already mounted in a directory, you don't need to exec the following mount /dev/block/mmcblk0p24 /system/. Just use the proper mount point instead of /system.
      At this point stop the bootstrap at bootloader, and from pc:

      sudo fastboot flash boot ~/Downloads/halium-boot-20200326.img && sudo fastboot reboot
      

      you can check from another tab of console if the system booted:

      guf@localhost:/media/gufdata/halium-7.1$ while : ; do lsusb -v 2>/dev/null | grep -Ee 'iSerial +[0-9]+ +[^ ]' ; done | uniq
        iSerial                 3 XXXXXXX
        iSerial                 3 (error)
        iSerial                 3 XXXXXXX
        iSerial                 3 (error)
        iSerial                 3 Unknown
        iSerial                 3 GNU/Linux Device on rndis0 10.15.19.82
        iSerial                 3 XXXXXXX
      

      and if you get this message GNU/Linux Device on rndis0 10.15.19.82 this is the good news that the device is correctly bootstrapping from userdata (in this moment).
      At this point, reboot in bootloader, then from pc:

      guf@localhost:/media/gufdata/halium-7.1$ sudo fastboot flash boot ~/Downloads/halium-boot_tenshi_systempart.img && sudo fastboot reboot
      target reported max download size of 535822336 bytes
      sending 'boot' (21030 KB)...
      OKAY [  0.665s]
      writing 'boot'...
      OKAY [  0.286s]
      finished. total time: 0.951s
      rebooting...
      finished. total time: 0.302s
      guf@localhost:/media/gufdata/halium-7.1$
      

      Always from the other console, check if you get the message GNU/Linux Device on rndis0 10.15.19.82 and if it appears, enjoy tenshi bootstrapping from systempart and celebrate it!
      It has just been tested on either 2GB ram and 3GB ram models.
      Note: keep end rootfs.img and system.img in datapart to be sure to have tenshi bootstrapping from there.

      posted in BQ U Plus
      G
      Guf
    • Ubuntu Touch on LG G6 (h870 model): call for testers

      LG G6 (h870, as it is the EU version) porting to Ubuntu Touch started to be in shape for testers.
      Please, refer to @rymdllama @tanevanwifferen @Guf for any question.
      We created a chat in Telegram to share LG porting for UBports Ubuntu Touch: link
      This is a device released in 2017 with the following technical specs:

      • 5.7” Quad HD+ (1440x2880), 18:9 ratio, HDR10
      • Qualcomm(c) Snapdragon(tm) 821 (2.35Ghz Quad Core)
      • Touch with rear fingerprint sensor
      • 4GB RAM, 32GB eMMC, micro SD slot (up to 2TB)
      • 3,300mAh (embedded)
      • Rear camera: Dual 13MP (dual matrix 1/3.06”), Standard 71°, f/1.8 * Wide-angle 125°, f/2.4
      • Front camera: 5MP, wide-angle 100°, f/2.2
      • Usb-c output (Fast charge 3.0)

      Distributed with Android 7.0 Nougat, so suitable for Halium-7.1 (issue #115). Full description is available here.

      At this extent, the following feature are successfully ported on UT and work out-of-the-box:

      • Linux 3.18.31 (msm8996) on arm64-v8a
      • GUI: unity (8.20), mir (0.31.2)
      • GSM (inbound/outbound calls)
      • SMS: inbound and outbound fully working, and notifications appear in the menu,
      • Ofono: audio in inbound and outbound calls work works out-of-the-box
      • 4G data connection
      • wifi
      • Screen rotation, using Ubuntu Touch Platform API, too. Rotation block also works
      • Power (fingerprint and power button), Volume up and down buttons
      • Printscreen by pressing at the same time Volume+ and Volume- during 2-3 seconds
      • Apparmor patch applied and working
      • Notification (bubble and sound both work)
      • Battery animation while charging
      • Sound and headset output
      • Vibration
      • Stats on blocked screen
      • Sensors (test_sensors's output)
      • Anbox
      • Bluetooth (update 2020-11-14)

      Lxc contained is working fine.

      Still to improve or to test (2020-01-26):

      • LEDs: manually working, but no sign of them to be used with notifications,
      • GPS
      • Front and rear cameras (even though it was applied @peat_psuwit's gst-droid and installed nemo-qtmultimedia-plugins)
      • Video playback (still to test)

      Still to test (2020-01-26):

      • Fingerprint

      Updated images (2020-03-26):

      • system.img
      • halium-boot.img (see later new version to download with bluetooth enabled)

      Repo in github:

      • kernel
      • device

      To make Bluetooth work you need to:

      • if your device bootstrap from systempart, flash the following halium-boot, otherwise if you install from halium-install in datapart, flash this halium-boot
        both enable HCIUART and HCIUART_H4;
      • and manually (at the moment) execute the following commands:
      # 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
      # hciattach -p -t 30 /dev/ttyHS0 bcm43xx 115200 flow `cat /data/misc/bluetooth/bdaddr`
      

      and you will see that there is a nel hci0:

      root@ubuntu-phablet:~# hciconfig -a
      hci0:	Type: Primary  Bus: UART
      	BD Address: AA:AA:AA:AA:AA:AA  ACL MTU: 1021:8  SCO MTU: 64:1
      	UP RUNNING PSCAN ISCAN 
      	RX bytes:846 acl:0 sco:0 events:60 errors:0
      	TX bytes:4057 acl:0 sco:0 commands:60 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: 'LG-h870'
      	Class: 0x5c0000
      	Service Classes: Rendering, Capturing, Object Transfer, Telephony
      	Device Class: Miscellaneous, 
      	HCI Version: 4.1 (0x7)  Revision: 0x0
      	LMP Version: 4.1 (0x7)  Subversion: 0x6119
      	Manufacturer: Broadcom Corporation (15)
      
      posted in LG G6
      G
      Guf
    • RE: Porting Ubuntu Touch (@UBPorts) to tenshi (BQ Aquaris U Plus)

      A small guide for dummies (like me) to install from those resources. Start at creating a directory where to store images and all the tool (halium-install, for instance) necessary to install UT on your tenshi:

      mkdir /home/guf/UT-tenshi
      cd /home/guf/UT-tenshi
      

      Get JBBgameich's halium-install script (latest version! it is now DEPRECATED my customized one). It will create a directory called halium-install.

      Fetching the official rootfs

      wget -c https://ci.ubports.com/job/xenial-rootfs-armhf/lastSuccessfulBuild/artifact/out/ubports-touch.rootfs-xenial-armhf.tar.gz
      

      Please, fetch halium-boot and system.img from my repository to $PROJECT_ROOT, too

      Then, let's start:
      Download TWPR from the following page: https://eu.dl.twrp.me/tenshi/twrp-3.3.1-0-tenshi.img.html
      Set developer mode and Unlock device: accordingly with https://wiki.lineageos.org/devices/tenshi/install#
      Connect your PC with tenshi using USB cable.
      From Android running (once a developer and enabled USB debugging:

      To reboot device to bootloader from PC terminal, run:

      adb reboot bootloader
      

      On bootloader, from terminal:

      sudo fastboot devices
      

      If it returns the serial number of your tenshi, then:

      sudo fastboot oem unlock
      

      Flashing TWPR into recovery

      sudo fastboot flash recovery twrp-3.3.1-0-$DEVICE.img
      

      Flashing halium-boot into the boot partition:

      sudo fastboot flash boot halium-boot.img
      
      sudo fastboot reboot
      

      Stop boot process to recovery by pushing Volume up and down at the black screen menu
      From within JBBgameich's halium-install directory:

      ./halium-install -v -p ut ../ubports-touch.rootfs-xenial-armhf.tar.gz ../system.img
      

      Manually insert password (for phablet) when asked

      If the process successfully end, you then can reboot to system from TWPR and enjoy UT on your device.

      Feel free to contact me in case of doubts.

      posted in BQ U Plus
      G
      Guf
    • Porting Ubuntu Touch (@UBPorts) to karin (Sony Xperia Z4 Tablet SGP771) and karin_windy (Sony Xperia Z4 Tablet SGP712)

      I've been working on porting Ubuntu Touch on karin and karin_windy, a high end Sony Xperia Tablet Z4-serie got out on market in late 2015 with Android 6, so suitable to work with Halium-7.1.
      See the HAL port specific details: https://github.com/Halium/projectmanagement/issues/44 created by Andreas Pokorny.

      The device is equipped with:

      Dimensions: 10,1" IPS 2560x1600 (299 PPI)
      RAM: 3GB,
      ROM: 32 GB,
      Qualcomm(c): MSM8994 
      Snapdragon(c): 810
      CPU: Octa-core Cortex-A53 & Cortex-A57 4 x 2.0 Ghz + 4 x 1.5 Ghz
      Architecture: arm64
      GPU: Adreno 430
      SIM:  Nano-SIM (4G LTE)
      Bluetooth:  4.1 with A2DP + aptX 
      Wi-fi:  802.11 a/b/g/n/ac, Dual-band, Wi-Fi Direct, DLNA, Hotspot
      Sensors: Accelerometer, Gyroscope, Proximity sensor, Light sensor, GPS
      Camera: (front) 5.1 MP F/2.4, No flash, (rear) 8.1 MP F/2.0, LED flash
      Battery: Non-removable Li-Ion 6000 mAh 
      

      as its specs are available in this page.

      Already successfully tested to boot from systempart, as required by Ubuntu Touch OTA: ready to be a community device.

      Nowadays the device has reached an interesting level of support, as the following features works well:

      Kernel 3.10.84-perf+ (arm64)
      Graphical User Interface: works with unity8/lomiri (8.20+ubports) and mir (0.31.2+0) for 64 bits libraries,
      Wifi: works, 
      Audio: works (audio and video playback),
      GPS: works
      Sensors (HAL, rotation, ...): work,
      Buttons: work Power, Volume up and down buttons
      Printscreen: works by pressing at the same time Volume+ and Volume- during 2-3 seconds
      Notification: works,
      Vibration: works,
      Cameras: main and selfie cameras both work with @peat_psuwit's gst-droid and nemo-qtmultimedia-plugins
      LED: works
      Apparmor: works
      Convergence: works with MHL cable (even though in poor resolution)
      Bluetooth: works (update 2020-11-14)
      

      What does not work yet:
      [ ] Data connection: GSM/4G/SMS, Sim is not detected yet
      [ ] Hotspot (tethering with linked devices)

      Sources (devices):
      Kitakami (common part of platform): https://github.com/ubports/android_device_sony_kitakami-common
      Karin: https://github.com/ubports/android_device_sony_karin
      Karin_windy: https://github.com/ubports/android_device_sony_karin_windy

      Sources (kernel):
      Kitakami (common): https://github.com/ubports/android_kernel_sony_msm8994

      Sources (devices) from LineageOS:
      Karin: https://github.com/LineageOS/android_device_sony_karin
      Karin_windy: https://github.com/LineageOS/android_device_sony_karin_windy

      Available images:
      System: system.img
      Halium-boot: halium-boot.img (old)
      Recovery (only to be tested when it will be a community device): recovery.img
      Otherwise TWRP: TWRP-3.1.1-lineageos-karin-20170520.img

      Important note for UT rootfs to work
      You can download you latest nightly built rootfs here.
      If you can't access to ssh, in TWRP you need to execute the following commands:

      $ mount /data/rootfs.img /mnt
      $ echo manual | tee /mnt/etc/init/rsyslog.override
      $ umount /mnt
      $ sync
      

      To bootstrap from system partition, in TWRP, you need to:

      $ mount -o loop /data/rootfs.img /system
      $ cp /data/system.img /system/var/lib/lxc/android/system.img
      $ umount /system
      $ dd if=/data/rootfs.img of=/dev/block/mmcblk0p44
      $ sync
      

      To manually enable bluetooth to work (update of Nov 14th 2020), you need to:

      • if you bootstrap from systempart, then flash the following halium-boot, more commonly if you install your system with halium-install, flash this halium-boot,
        both enable HCIUART and HCIUART_H4,
      • execute the following commands:
      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:~#
      
      posted in Porting
      G
      Guf
    • RE: Porting Ubuntu Touch (@UBPorts) to tenshi (BQ Aquaris U Plus)

      @malditobastardo @Nandel (sorry for delay in answering) at the moment audio and video playback were fixed. still strugglimg with installing roots in systempart, to comply with UBports-installer and OTA. tenshi works fine and is ready to be a community device

      posted in BQ U Plus
      G
      Guf
    • RE: Yumi go with you

      @Josele13 I guess mediamakrt makes this kind of print on transparent covers from your photo, in this case /praise for the beautiful Yumi style pict for Tenshi

      posted in Design
      G
      Guf
    • RE: Sony Xa2

      @markus228 I'm starting from today: my device is discovery (h3213), Xperia XA2 Ultra. It will be used halium-9

      posted in Off topic
      G
      Guf
    • RE: Porting Ubuntu Touch (@UBPorts) to karin (Sony Xperia Z4 Tablet SGP771) and karin_windy (Sony Xperia Z4 Tablet SGP712)

      @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

      posted in Porting
      G
      Guf
    • RE: Porting Ubuntu Touch (@UBPorts) to tenshi (BQ Aquaris U Plus)

      You can find the proper resources:
      * halium-boot
      * system.img (updated on 2019-07-29)

      I personalized JBBgameich's halium-install script to be functional for tenshi:
      * halium-install

      Feel free to provide any comment and to contribute, test, ...

      Please, use link from original message: I am keeping them up to date

      posted in BQ U Plus
      G
      Guf
    • RE: Sony Xa2

      @branja6 I guess it is. Is it the same model with 2 sims? Somewhere in the web, i saw the difference for each model. If it is a discovery, no problem at all. I oly built kernel (halium-boot.img ) and vendorimage (vendor.img), then I installed ubports-GSI-rootfs and it worked.
      But I need to do it better, enhancing TheKit's work to make it officially supported

      posted in Off topic
      G
      Guf
    • RE: Help Needed - Halium 9 building - Xperia XZ1c (lilac)

      @BigB you need to comment out telephony-ext in your device.mk in device/sony/your_device_name.
      Also all the services in vendor/sony/your_device_name in the file *.mk (at the end of the fike)

      posted in Porting
      G
      Guf
    • RE: Ubuntu Touch on LG G6 (h870 model): call for testers

      @dieharddan I have no idea what the difference between the two is! is it EU or US model?
      Anyway I can try to help you, if you want.
      You can adapt your port accordingly with my sources.
      @tanevanwifferen and @rymdllama are on it.

      posted in LG G6
      G
      Guf
    • RE: Sony Xa2

      @zapfel There is a great work done for pioneer by Heng Ye and @TheKit in the following repo: kirin (Sony Xperia 10), mermaid (Sony Xperia 10 Plus), pioneer (Sony Xperia XA2).
      I'd need to queue my device up in this repo.

      posted in Off topic
      G
      Guf
    • RE: T-Shirt Slogan Competition!!

      Ubuntu touch: freedom, privacy and data sovereignty in your hands

      posted in Marketing Incubator
      G
      Guf
    • RE: How to: test GStreamer-droid based camera support in Ubuntu Touch (for Halium 7.1 based port)

      Hello @peat_psuwit I'm porting BQ U Plus (tenshi) and camera is the last issue: with version 3.1.1 it worked smoothly (some months ago when I needed to apt-mark hold nemo-qtmultimedia-plugins), but recently it stopped to work.
      I used your debug command and the output was:

      phablet@ubuntu-phablet:~$ (cd /opt/click.ubuntu.com/com.ubuntu.camera/current && GST_DEBUG=droidcamsrc:4 ./camera-app --desktop_file_hint=com.ubuntu.camera_camera)
      Loading module: 'libubuntu_application_api_touch_mirclient.so.3.0.0'
      library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
      Creating a QMirClientScreen now
      Import path added "/opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/lib/arm-linux-gnueabihf"
      Camera app directory "/opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2"
      unity::action::ActionManager::ActionManager(QObject*):
      	Could not determine application identifier. HUD will not work properly.
      	Provide your application identifier in $APP_ID environment variable.
      QFSFileEngine::map: Mapping a file beyond its size is not portable
      
      (camera-app:8333): GLib-GObject-WARNING **: g_object_class_override_property: Can't find property to override for 'GstDroidCamSrc::exposure-mode'
      0:00:00.353958385  8333   0x536600 WARN             droidcamsrc gstdroidcamsrcquirks.c:238:gst_droidcamsrc_quirks_new: failed to load configuration file /etc/gst-droid/gstdroidcamsrcquirks.conf: No such file or directory
      0:00:00.362872604  8333   0x536600 WARN             droidcamsrc gstdroidcamsrcphotography.c:1287:gst_droidcamsrc_set_white_balance_mode:<camera_source> params for whitebalance not yet available. deferred applying value 0
      0:00:00.363590364  8333   0x536600 WARN             droidcamsrc gstdroidcamsrcquirks.c:238:gst_droidcamsrc_quirks_new: failed to load configuration file /etc/gst-droid/gstdroidcamsrcquirks.conf: No such file or directory
      0:00:00.364567135  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<droidcamsrc0> camera device set to 0
      0:00:00.365497916  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:572:gst_droidcamsrc_get_hw:<droidcamsrc0> Found 2 cameras
      0:00:00.365795208  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:550:gst_droidcamsrc_fill_info:<droidcamsrc0> camera 0 is facing 0 with orientation 0
      0:00:00.366648958  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:550:gst_droidcamsrc_fill_info:<droidcamsrc0> camera 1 is facing 1 with orientation 3
      0:00:00.366790364  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<droidcamsrc0> camera device set to 1
      0:00:00.643576041  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<camera_source> camera device set to 0
      qq= QDeclarativeCamera_QML_31(0x592b68) 0x6d1d18
      APP_ID isn't set, the handler can not be registered
      APP_ID isn't set, the handler ignored
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/ViewFinderExportConfirmation.qml:75:17: QML Item: Binding loop detected for property "height"
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/ViewFinderExportConfirmation.qml:75:17: QML Item: Binding loop detected for property "height"
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/ViewFinderExportConfirmation.qml:75:17: QML Item: Binding loop detected for property "height"
      qml: updateViewfinderResolution: viewfinder resolutions is not known yet.
      qml: updateViewfinderResolution: viewfinder resolutions is not known yet.
      0:00:01.573445416  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:375:gst_droidcamsrc_set_property:<camera_source> setting capture mode to: 1
      0:00:01.573573958  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:378:gst_droidcamsrc_set_property:<camera_source> not resetting the same mode
      
      (camera-app:8333): GStreamer-CRITICAL **: gst_caps_is_equal: assertion 'GST_IS_CAPS (caps1)' failed
      0:00:01.574062447  8333   0x536600 INFO             droidcamsrc gstdroidcamsrcphotography.c:1524:gst_droidcamsrc_set_and_apply:<camera_source> setting zoom to 0
      
      (camera-app:8333): GStreamer-WARNING **: Name 'video-encodebin' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'videobin-filesink' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'image-encodebin' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'imagebin-filesink' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'viewfinderbin-queue' is not unique in bin 'camerabin', not adding
      0:00:01.645777968  8333   0x536600 WARN             droidcamsrc gstdroidcamsrcquirks.c:238:gst_droidcamsrc_quirks_new: failed to load configuration file /etc/gst-droid/gstdroidcamsrcquirks.conf: No such file or directory
      0:00:01.646809895  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<droidcamsrc1> camera device set to 0
      0:00:01.647172031  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:572:gst_droidcamsrc_get_hw:<droidcamsrc1> Found 2 cameras
      0:00:01.647382864  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:550:gst_droidcamsrc_fill_info:<droidcamsrc1> camera 0 is facing 0 with orientation 0
      0:00:01.648015624  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:550:gst_droidcamsrc_fill_info:<droidcamsrc1> camera 1 is facing 1 with orientation 3
      0:00:01.648139322  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<droidcamsrc1> camera device set to 1
      qq= ResponsiveGridView_QMLTYPE_121_QML_126(0xa944c8) 0xa96380
      QFileSystemWatcher::removePaths: list is empty
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:30:5: QML Item: Binding loop detected for property "height"
      file:///usr/lib/arm-linux-gnueabihf/qt5/qml/Ubuntu/Components/Popups/1.3/Popover.qml:250:9: QML Item: Binding loop detected for property "height"
      QFileSystemWatcher::addPaths: list is empty
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.ImageWidth' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.ImageLength' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.DateTime' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.Model' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.Copyright' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.ExposureTime' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.FNumber' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:57: TypeError: Cannot read property 'Exif.Image.NewSubfileType' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/SlideshowView.qml:47: TypeError: Cannot read property 'isSelected' of null
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:62: TypeError: Cannot read property 'Exif.Photo.Flash' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/MediaInfoPopover.qml:11: TypeError: Cannot read property 'url' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/SlideshowView.qml:388: TypeError: Cannot call method 'getMedia' of null
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/SlideshowView.qml:422: TypeError: Cannot read property 'actions' of null
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/OptionButton.qml:24:39: Unable to assign [undefined] to QString
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/OptionButton.qml:33: TypeError: Cannot read property 'value' of undefined
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/OptionButton.qml:24:39: Unable to assign [undefined] to QString
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/ViewFinderOverlay.qml:241: TypeError: Cannot call method 'split' of undefined
      [PERFORMANCE]: Last frame took 38 ms to render.
      qml: optionsOverlayClose
      0:00:27.347974833  8333   0x536600 WARN             droidcamsrc gstdroidcamsrcquirks.c:238:gst_droidcamsrc_quirks_new: failed to load configuration file /etc/gst-droid/gstdroidcamsrcquirks.conf: No such file or directory
      0:00:27.349571031  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<droidcamsrc2> camera device set to 0
      0:00:27.350257021  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:572:gst_droidcamsrc_get_hw:<droidcamsrc2> Found 2 cameras
      0:00:27.351440823  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:550:gst_droidcamsrc_fill_info:<droidcamsrc2> camera 0 is facing 0 with orientation 0
      0:00:27.352224156  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:550:gst_droidcamsrc_fill_info:<droidcamsrc2> camera 1 is facing 1 with orientation 3
      0:00:27.352695562  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<droidcamsrc2> camera device set to 1
      file:///opt/click.ubuntu.com/com.ubuntu.camera/3.1.3+gstdroid2/ViewFinderOverlay.qml:241: TypeError: Cannot call method 'split' of undefined
      0:00:27.362486708  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:363:gst_droidcamsrc_set_property:<camera_source> camera device set to 1
      
      (camera-app:8333): GStreamer-WARNING **: Name 'video-encodebin' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'videobin-filesink' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'image-encodebin' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'imagebin-filesink' is not unique in bin 'camerabin', not adding
      
      (camera-app:8333): GStreamer-WARNING **: Name 'viewfinderbin-queue' is not unique in bin 'camerabin', not adding
      qml: optionsOverlayClose
      0:00:35.957019934  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:375:gst_droidcamsrc_set_property:<camera_source> setting capture mode to: 2
      0:00:35.970346497  8333   0x536600 WARN             droidcamsrc gstdroidcamsrcphotography.c:1310:gst_droidcamsrc_set_flash_mode:<camera_source> params for flash-mode not yet available. deferred applying value 1
      qml: updateViewfinderResolution: viewfinder resolutions is not known yet.
      0:00:35.975825351  8333   0x536600 INFO             droidcamsrc gstdroidcamsrcphotography.c:1524:gst_droidcamsrc_set_and_apply:<camera_source> setting zoom to 0
      0:00:37.759285715  8333   0x536600 INFO             droidcamsrc gstdroidcamsrc.c:375:gst_droidcamsrc_set_property:<camera_source> setting capture mode to: 1
      0:00:37.767823475  8333   0x536600 WARN             droidcamsrc gstdroidcamsrcphotography.c:1310:gst_droidcamsrc_set_flash_mode:<camera_source> params for flash-mode not yet available. deferred applying value 0
      qml: updateViewfinderResolution: viewfinder resolutions is not known yet.
      qml: optionsOverlayClose
      qml: optionsOverlayClose
      qml: optionsOverlayClose
      qml: optionsOverlayClose
      qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring.
      qt.qpa.mirclient: Attempted to deliver an event to a non-existent window, ignoring.
      phablet@ubuntu-phablet:~$ 
      

      The system is up to date (edge): screen is black when opening the app and during all the command/tap I tried.
      Any guidance how to fix it? Thnx

      posted in OS
      G
      Guf
    • RE: Ubuntu Touch on LG G6 (h870 model): call for testers

      @Invy Since yesterday, also bluetooth started to work, look at the beginning of post how to do it manually

      posted in LG G6
      G
      Guf
    • RE: Ubuntu Touch on LG G6 (h870 model): call for testers

      @Invy As you might see, I fixed bluetooth(at the moment I provided the manual commands to do it) and I would like to go for the other missing thing.
      It is possible GPS is working, but from inside my house it makes no sense to test it.
      Need to improve routing sound output to speakers, because it seems audio output is only with headphones

      posted in LG G6
      G
      Guf
    • RE: How to install Ubuntu Touch on LG G6

      @metty hello, what is your difficulty in executing these instruction?
      Let me resume:

      • you need to unlock your device, I suppose you had already done to have LOS up and running
      • you need to install TWRP, by sudo fastboot flash recovery twrp.img
      • you then need to install the OS, executing: ./halium-install -v -p ut ~/Downloads/ubuntu-touch-hybris-xenial-edge-arm64-rootfs(1).tar.gz ../system.img
      • reboot the device to bootloader and flash the kernel: fastboot flash boot halium-boot.img
        I recommend at the first time to choose the halium-boot.img which boots from /data
        Then reboot and it should start to work
      posted in LG G6
      G
      Guf