UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. hacker1024
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 8
    • Groups 0

    hacker1024

    @hacker1024

    2
    Reputation
    133
    Profile views
    8
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    hacker1024 Unfollow Follow

    Best posts made by hacker1024

    • RE: Port to Xiaomi Mi5s Plus (Natrium)

      @bluekenny I got KDE Plasma Mobile working with this kernel patch! I think Ubuntu Touch is broken with Halium 7.1, and CAF devices atm, though.

      To merge the patch, cd into the kernel directory, and run curl https://github.com/Halium/android_kernel_oneplus_msm8996/commit/3e019b8700b36aef379846a748e3a447a8c3dbe7.patch | patch -p1

      posted in Porting
      hacker1024H
      hacker1024
    • RE: Unity System Compositor crashes (failed to get hwcomposer service)

      Fixed - turns out I need the binder patch: https://github.com/moto-SDM660/android_kernel_motorola_sdm660/commit/d6d8b51485eaf02933055e2d201c338bca1020f6

      posted in Porting
      hacker1024H
      hacker1024

    Latest posts made by hacker1024

    • RE: Ubuntu Touch Mainline Generic amd64 Issue

      @nontrivial https://www.virtualbox.org/manual/ch03.html#settings-display

      Unfortunately, I don't know any more about the image than you do. Here's the virtualbox docs on graphics adapters.

      posted in Porting
      hacker1024H
      hacker1024
    • RE: Unity System Compositor crashes (failed to get hwcomposer service)

      Fixed - turns out I need the binder patch: https://github.com/moto-SDM660/android_kernel_motorola_sdm660/commit/d6d8b51485eaf02933055e2d201c338bca1020f6

      posted in Porting
      hacker1024H
      hacker1024
    • RE: Ubuntu Touch Mainline Generic amd64 Issue

      It sounds like a graphics issue, have you tried using different graphics adapters?
      There's no such things as a "standard IMG" - img files are usually just raw, byte-for-byte copies of disks or partitions, so it's the filesystem/partition table that defines them. You should be able to use dd to write it to a disk/partition. (Try running fdisk -l /path/to/img for more info on its contents!)

      posted in Porting
      hacker1024H
      hacker1024
    • Unity System Compositor crashes (failed to get hwcomposer service)

      Hi everyone, I've been trying to port Ubuntu Touch to my Xiaomi Redmi K20 Pro (raphael), using Halium 9 with the help of the GSI.

      I'm almost there - but LightDM crashes, because unity-system-compositor crashes.
      Below is the contents of /var/log/lightdm/unity-system-compositor.log:

      [2020-07-21 03:22:44.018348] <information> mirserver: Starting
      [2020-07-21 03:22:44.019006] < - debug - > mirserver: Using Linux VT subsystem for session management
      [2020-07-21 03:22:44.019123] <information> mircommon: Loading modules from: /usr/lib/arm-linux-gnueabihf/mir/server-platform
      [2020-07-21 03:22:44.019168] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android-caf.so.15
      [2020-07-21 03:22:44.019180] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/graphics-android.so.15
      [2020-07-21 03:22:44.019188] <information> mircommon: Loading module: /usr/lib/arm-linux-gnueabihf/mir/server-platform/input-evdev.so.7
      [2020-07-21 03:22:44.036631] <information> mirserver: Found graphics driver: mir:android-caf (version 1.8.0) Support priority: 0
      [2020-07-21 03:22:44.036800] <information> mirserver: Found graphics driver: mir:android (version 1.1.0) Support priority: 256
      [2020-07-21 03:22:44.036953] <information> mirserver: Selected driver: mir:android (version 1.1.0)
      [2020-07-21 03:22:44.063923] <information> android/server: Error opening HWC HAL. Assuming HWComposer 2 device with libhwc2_compat_layer.
      failed to get hwcomposer service
      

      Does anyone know what's happening here?

      My device tree
      My kernel fork

      posted in Porting
      hacker1024H
      hacker1024
    • RE: Port to Xiaomi Mi5s Plus (Natrium)

      @bluekenny I got KDE Plasma Mobile working with this kernel patch! I think Ubuntu Touch is broken with Halium 7.1, and CAF devices atm, though.

      To merge the patch, cd into the kernel directory, and run curl https://github.com/Halium/android_kernel_oneplus_msm8996/commit/3e019b8700b36aef379846a748e3a447a8c3dbe7.patch | patch -p1

      posted in Porting
      hacker1024H
      hacker1024
    • RE: Port to Xiaomi Mi5s Plus (Natrium)

      @bluekenny I think that's a different issue. KDE Plasma Mobile has a special CAF rootfs, and graphics don't work on that either.

      posted in Porting
      hacker1024H
      hacker1024
    • RE: Port to Xiaomi Mi5s Plus (Natrium)

      Hey, I 'm also trying to port to this device, and I just saw this thread. I'm having the same issues as you - did you ever get the graphics working?

      posted in Porting
      hacker1024H
      hacker1024
    • [SOLVED] Porting to the Xiaomi Mi 5s Plus (natrium) - no graphics

      I'm trying to port Halium to the Xiaomi Mi 5s Plus (natrium). It has a Snapdragon 821.
      I can boot Ubuntu Touch, Plasma Mobile, and the Reference rootfs. My problem is, on all three, I can't get anything to show up on the screen. the MI logo splash screen just stays there, even after the system has booted. I get these errors in the logcat: https://hastebin.com/zosonidaxi.sql

      Edit: I got it working with this kernel patch!

      posted in Porting
      hacker1024H
      hacker1024