View Single Post
edp17's Avatar
Posts: 605 | Thanked: 735 times | Joined on Jul 2019 @ UK
#78
This post will be about installing Waydroid on Galaxy Note 4.

I've realized the original instruction is outdated because waydroid has evolved since I wrote that guide a few years ago.
Also, in the meantime, waydroid and related packages have been added into Chum repo and all of these are always getting updated to keep up with main line development.

Unfortunately, newer waydroid and configs are not working on the Note 4 because on it the waydroid is working with a non-existent halium version. (The Galaxy Note 4 is the only device where waydroid works with Lineage Os 14.1 because the "official" waydroid support starts from Lineage Os 16 - Halium 9)

All in all, we cannot use waydroid packages from Chum and we have to stick on waydroid version 1.2. Plus, only the older (Los 17.1) waydroid system & vendor images must be used.
For the Note 4 both, vendor and system images has to be amended, so the ones you download from sourceforge won't work. (Device specific drivers have been added into vendor.img and the ld.config.vndk_lite file also had to be amended in system.img). As these changes have been added to the latest waydroid 17.1 images, it should be a problem as there won't be new 17.1 build anymore.

So, to support those who'd like to use it on the Note 4, I've built Note 4 specific packages. (So, Chum won't flag an update for those if waydroid packages updated there.)

Here is the new installation guide (I've tested in on my device, so it should work):
  1. Remove all waydroid related packages:
    Code:
    devel-su zypper rm dnsmasq python3-gbinder-python python3-gbinder waydroid-sensors waydroid waydroid-runner waydroid-gbinder-config-hybris waydroid-gbinder-config-mainline waydroid-settings waydroid-treltexx
  2. Refresh the repo:
    Code:
    devel-su ssu ur
    devel-su zypper ref
    Install packages
    Code:
    devel-su zypper in dnsmasq
    devel-su systemctl mask dnsmasq
    devel-su zypper in python3-gbinder
    devel-su zypper in waydroid-sensors
    devel-su zypper in waydroid-gbinder-config-hybris-treltexx
    devel-su zypper in waydroid-1.2-treltexx
    devel-su zypper in waydroid-vendor17.1-treltexx
    devel-su zypper in waydroid-settings-treltexx
  3. Download waydroid 17.1 system image VANILLA or GAPPS
    Then, install the required one with
    Code:
    devel-su zypper in waydroid-system17.1-{vanilla or gapps}-treltexx-1.0.0-1.armv7hl.rpm
    Note: Both will install a system.img file into /home/waydroid/images/ folder!
  4. Start waydroid container
    Code:
    devel-su systemctl start waydroid-container
  5. Start waydroid session. There are two ways: 1.) Go to Settings/Waydroid and click on 'Start daemon' button or 2.) Add the Waydroid toggle to the top menu and start/stop from there (Settings/Top Menu/Waydroid)

You may need to mask dnsmask service:
Code:
devel-su systemctl mask dnsmasq
Start Waydroid (full UI):
- Once waydroid-container and waydroid-session are running, tap on the Waydroid icon on your desktop (In case it doesn't start, open Fingerterm and type in
Code:
 waydroid show-full-ui
and press enter.)


Any issues, please let me know.

Last edited by edp17; 2025-01-20 at 14:05.
 

The Following User Says Thank You to edp17 For This Useful Post: