]>
glassweightruler.freedombox.rocks Git - waydroid.git/log
Jost Alemann [Sat, 24 May 2025 12:17:53 +0000 (14:17 +0200)]
Remove unused python imports
Alessandro Astone [Fri, 30 May 2025 17:46:14 +0000 (19:46 +0200)]
debian: Upver to 1.5.2
Alessandro Astone [Fri, 30 May 2025 17:44:31 +0000 (19:44 +0200)]
Upver to 1.5.2
Joey Riches [Fri, 23 May 2025 22:26:19 +0000 (23:26 +0100)]
data: Add a valid registered category to Waydroid.desktop for appstream
```
$ appstreamcli compose waydroid-install-prefix/
Automatically selected 'install/' as data output location.
WARNING: Metadata origin not set, using 'example'
Processing directory: install/
Composing metadata...
Run failed, some data was ignored.
Errors were raised during this compose run:
id.waydro.waydroid
E: no-valid-category
Refer to the generated issue report data for details on the individual problems.
```
https://specifications.freedesktop.org/menu-spec/latest/category-registry.html
This fixes composing waydroid into a catalog when using appstream.
Without it waydroid will fail to be included in the catalog for distros
that use `appstream-generator`.
Jami Kettunen [Fri, 23 May 2025 13:53:21 +0000 (16:53 +0300)]
arch: Separately identify arm64_only CPUs without AArch32 support
More and more modern AArch64 SoCs present both in computers and phones
can no longer run normal arm64 image builds which (currently anyway)
also ship various amounts of 32-bit executables that cannot be natively
executed; thus let's target an upcoming arm64_only OTA channel instead.
Alessandro Astone [Wed, 26 Mar 2025 18:39:05 +0000 (19:39 +0100)]
debian: Upver to 1.5.1
Alessandro Astone [Wed, 26 Mar 2025 18:38:43 +0000 (19:38 +0100)]
Upver to 1.5.1
Alessandro Astone [Fri, 21 Mar 2025 22:26:53 +0000 (23:26 +0100)]
clipboard: Demote warning about missing pyclip to debug level
We are going to implement clipboard support natively as part of our Wayland
hwcomposer, so that pyclip will not be necessary anymore.
This implementation will remain for a while for compatibility reasons,
but we do not want to print a warning anymore.
Alessandro Astone [Tue, 18 Mar 2025 17:49:37 +0000 (18:49 +0100)]
gpu: Always prefer lower-numbered render node
glob() returns results in an arbitrary order, making the getDriNode()
unpredictable.
The lower-numbered render node has a high chance of being the one used by the
compositor, which avoids possible issues when using DMA-BUFs from another GPU,
so let's default to that.
Alessandro Astone [Fri, 14 Mar 2025 20:34:12 +0000 (21:34 +0100)]
gpu: Allow choosing the DRM device in waydroid.cfg
Alessandro Astone [Fri, 14 Mar 2025 20:28:04 +0000 (21:28 +0100)]
lxc: Mount DRM device with the same name
Apparently some mesa drivers take issue when the DRM device name does not
match its real device number.
Stop mounting any device as renderD128 and use their actual name.
Liam Germain [Tue, 18 Mar 2025 03:21:20 +0000 (23:21 -0400)]
Fix bug report link
Alessandro Astone [Fri, 14 Mar 2025 21:24:50 +0000 (22:24 +0100)]
gpu: Check i915_capabilities for the card node
In some kernels the i915_capabilities file is not present for the render
node, but it is for the card node.
Alessandro Astone [Sat, 15 Mar 2025 15:21:17 +0000 (16:21 +0100)]
lxc: Mount DMA-BUF Heaps
Closes: #1813
Alessandro Astone [Wed, 5 Mar 2025 18:13:20 +0000 (19:13 +0100)]
debian: Upver to 1.5.0
Alessandro Astone [Wed, 5 Mar 2025 18:02:24 +0000 (19:02 +0100)]
Upver to 1.5.0
Bumping the minor version just because this is going to be the first version
properly supporting Android 13 (see commit
6a0d1909 )
Alessandro Astone [Thu, 13 Feb 2025 23:00:47 +0000 (00:00 +0100)]
lxc: Handle CTRL+C silently during shell commands
Alessandro Astone [Thu, 13 Feb 2025 22:48:24 +0000 (23:48 +0100)]
container: Do not mount KMS nodes
Because we never draw directly to the screen, there is no need to expose
the KMS nodes to the container.
Alessandro Astone [Wed, 5 Feb 2025 19:14:54 +0000 (20:14 +0100)]
gpu: Do not log failure to read i915_capabilities
If awk fails to read the file, we will simply fail to parse the output
to integer immediatly after.
Alessandro Astone [Sun, 26 Jan 2025 14:53:01 +0000 (15:53 +0100)]
initializer: Differentiate HALIUM vndk31 and vndk32
HALIUM 12 may refer to either vndk31 or vndk32.
We need to differentiate the two.
Use HALIUM_12 for vndk31 and HALIUM_12L for vndk32.
Alessandro Astone [Thu, 23 Jan 2025 19:06:06 +0000 (20:06 +0100)]
protocol: Correct gbinder protocol version for API 33
This is now working correctly with libgbinder 1.1.42
Alessandro Astone [Sat, 14 Dec 2024 15:40:05 +0000 (16:40 +0100)]
gpu: Use intel_hasvk on intel graphics gen 8 or lower
Closes: #1604
Alessandro Astone [Wed, 4 Sep 2024 21:27:58 +0000 (23:27 +0200)]
initializer: Refactor setup to better handle preinstalled images
Bail out early when using preinstalled images.
There's no reason to attempt fetching the OTA channels if we're
going to use preinstalled images.
Fixes: #1550
Alessandro Astone [Sat, 10 Aug 2024 14:10:14 +0000 (16:10 +0200)]
debian: Use new polkitd package
Prefer the new polkitd name but keep supporting policykit-1 for
older distros
Fixes: #1484
Alessandro Astone [Wed, 7 Aug 2024 21:00:56 +0000 (23:00 +0200)]
debian: Upver to 1.4.3
Alessandro Astone [Wed, 7 Aug 2024 21:01:09 +0000 (23:01 +0200)]
Upver to 1.4.3
Alessandro Astone [Sun, 28 Jul 2024 08:19:31 +0000 (10:19 +0200)]
user_manager: Restore desktop-file creation the first time
Alessandro Astone [Sat, 27 Jul 2024 21:41:03 +0000 (23:41 +0200)]
Bail out if system_channel or vendor_channel are empty
Closes: #1033
Joshua Ashton [Thu, 7 Mar 2024 01:36:41 +0000 (01:36 +0000)]
Use synthetic paths for host sockets
Mount XDG_RUNTIME_DIR, PULSE_RUNTIME_PATH and
WAYLAND_DISPLAY to our own synthetic paths in
/run/xdg/...
That way, they can never clash with any of our
Android bindpoints.
Eg. /data/.../xdg/wayland-0 conflicts with /data
Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Alessandro Astone [Sat, 27 Jul 2024 20:29:28 +0000 (22:29 +0200)]
Remove unused session.cfg config
Alessandro Astone [Thu, 9 May 2024 12:47:22 +0000 (14:47 +0200)]
Re-enable nouveau and nvk
linsyking [Tue, 9 Jul 2024 04:17:36 +0000 (00:17 -0400)]
Add msm_dpu driver for freedreno
Jami Kettunen [Mon, 1 Apr 2024 10:48:28 +0000 (13:48 +0300)]
initializer: Fix Halium version VNDK detection logic for 12L+
API 32 (12L) was getting detected as HALIUM_13 which wouldn't work on
devices when official images ship with support for these newer versions.
Fabrice A. Marie [Sun, 10 Dec 2023 13:16:22 +0000 (21:16 +0800)]
Ensure default umask to avoid surprises with file permissions.
Loïc CORBASSON [Wed, 1 Nov 2023 12:43:18 +0000 (13:43 +0100)]
Don't change user-defined desktop files for Waydroid when they're set as read-only
Mihai-Drosi Câju [Mon, 15 Jan 2024 14:38:05 +0000 (16:38 +0200)]
Add sysconfdir to Makefile defaulting to /etc
Alessandro Astone [Wed, 3 Jan 2024 11:52:03 +0000 (12:52 +0100)]
upgrader: Clarify refused upgrade message
The previous string was wrong because we are not detecting the
presence of image files, but whether waydroid was initialized with
preinstalled images or with OTA images.
Jami Kettunen [Thu, 28 Dec 2023 13:22:53 +0000 (15:22 +0200)]
Make adb auto-connection opt-out
Just because you have ADB installed (for e.g. physical Android device
development) doesn't mean you necessarily want Waydroid to always also
get automatically connected, allow disabling this functionality.
sta-c0000 [Tue, 19 Dec 2023 14:49:12 +0000 (09:49 -0500)]
Add SSSE3 CPU check for arch x86/x86_64
Aarron Lee [Sun, 19 Nov 2023 21:11:44 +0000 (16:11 -0500)]
update regex for deprecation warning
Jon West [Thu, 16 Nov 2023 02:13:39 +0000 (21:13 -0500)]
Delete CODE_OF_CONDUCT.md
Alessandro Astone [Tue, 31 Oct 2023 15:56:45 +0000 (16:56 +0100)]
debian: Upver to 1.4.2
Alessandro Astone [Tue, 31 Oct 2023 15:45:05 +0000 (16:45 +0100)]
Upver to 1.4.2
Alessandro Astone [Tue, 31 Oct 2023 15:24:46 +0000 (16:24 +0100)]
hardware_manager: Prevent race-condition in upgrade check
Alessandro Astone [Tue, 31 Oct 2023 15:00:16 +0000 (16:00 +0100)]
Makefile: Create xdg menu directories
Loïc Corbasson [Tue, 31 Oct 2023 14:08:34 +0000 (15:08 +0100)]
Add an XDG menu directory (#1149)
Add XDG directory and menu files
to have a Waydroid menu directory with all Waydroid apps,
and avoid having them in a 'Lost & Found' menu directory
---------
Co-authored-by: Taha <62564400+inspectorgadget03@users.noreply.github.com>
Азалия Смарагдова [Sun, 22 Oct 2023 14:50:54 +0000 (19:50 +0500)]
Block the "open_by_handle_at" system call
Alessandro Astone [Thu, 12 Oct 2023 14:22:02 +0000 (16:22 +0200)]
hardware_manager: Validate upgrade zips against the saved ota channel
Alessandro Astone [Mon, 2 Oct 2023 18:35:48 +0000 (20:35 +0200)]
lxc: Recursively mount vendor_extra
HALIUM devices may use bind-mounts to override libraries over the
prebuild read-only vendor image. We want to keep those overrides
in our /vendor_extra mount.
Alessandro Astone [Fri, 29 Sep 2023 17:57:31 +0000 (19:57 +0200)]
user_manager: Add icon to the app_settings action
Arusekk [Sun, 24 Sep 2023 09:16:12 +0000 (11:16 +0200)]
user_manager: Respect user umask and use less code
chmod(0o644) is no longer necessary after umask(0) removal in
da4772c4e54467920d642e2a792c5d16d3b7bf33 ("tools: Remove umask 0")
as the default umask is 0o022, but if the umask is stricter (e.g.
0o027), then the user would expect the created files to be 0o640.
Creating the directory with the correct mode already also avoids
potential race conditions on systems with insufficient umask.
While at it, also use templating strings for .desktop file creation to
simplify the logic and split the template from the actual code a bit.
HenryDavidThoreau [Wed, 23 Aug 2023 07:06:26 +0000 (09:06 +0200)]
Add iptables as Debian dependency
Alessandro Astone [Fri, 29 Sep 2023 14:26:14 +0000 (16:26 +0200)]
Fix issues with AppStream metadata
* Some tools break when the first line is not the xml header
* Some tools require the icon to not be a symlink. There should be no
more users of ./data/AppIcon.png so just move it to its location
* Update contact information.
(How did that translation URL end up in there?)
* Remove too large screenshot
Alessandro Astone [Fri, 22 Sep 2023 22:43:25 +0000 (00:43 +0200)]
README: Update matrix link
Alessandro Astone [Mon, 18 Sep 2023 16:25:53 +0000 (18:25 +0200)]
Fix logcat command after #996
The logcat command does not have the same commandline options as the
shell command, so provide empty defaults to avoid an AttributeError
Азалия Смарагдова [Mon, 11 Sep 2023 14:54:37 +0000 (19:54 +0500)]
Allow local amendments to the AppArmor policy
Alfred Neumayer [Tue, 29 Aug 2023 19:22:21 +0000 (21:22 +0200)]
container_manager: Keep schedtune cgroup around in case nesting is supported
Certain devices with Ubunutu Touch make use of the schedtune cgroup boosting mechanism,
allowing for better performance system-wide with very little tweaking.
Some devices have trouble using this cgroup in a regular GNU/Linux setting because
their kernels are not carrying the necessary kernel patch for enabling nesting. [1]
To please both those that want Waydroid to stop dropping their performance as well as
those having unpatched kernels, probe the capability to nest schedtune cgroups.
[1]: https://gitlab.com/ubports/porting/reference-device-ports/android9/google-pixel-3a/android_kernel_google_bonito/-/commit/
6452429d1f1dbdc9e1e310e82cc18664f2d1b56d
Marcel Partap [Sun, 27 Aug 2023 16:37:14 +0000 (18:37 +0200)]
clipboard: change warning message to be less misleading
Alessandro Astone [Wed, 6 Sep 2023 21:29:56 +0000 (23:29 +0200)]
interfaces: Return binder error when receiving an unknown transaction
Requires gbinder-python 1.1.2 to work. It is a noop otherwise.
Alessandro Astone [Wed, 6 Sep 2023 21:24:40 +0000 (23:24 +0200)]
IHardware: Add new upgrade transaction capable of 64-bit timestamps
32-bit timestamps will overflow in 2038
Alessandro Astone [Fri, 1 Sep 2023 12:28:41 +0000 (14:28 +0200)]
More logs for the issue template
Alessandro Astone [Fri, 1 Sep 2023 12:15:13 +0000 (14:15 +0200)]
Let logcat command terminate in issue template instructions
dabao1955 [Fri, 1 Sep 2023 12:00:59 +0000 (20:00 +0800)]
Update issue temple (#1018)
Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Азалия Смарагдова [Sat, 22 Jul 2023 22:26:31 +0000 (03:26 +0500)]
Allow running a shell command as an arbitrary user and group and with an arbitrary security context (#996)
Alessandro Astone [Mon, 17 Jul 2023 13:09:16 +0000 (15:09 +0200)]
Revert "Update Matrix link"
This reverts commit
7a38305a43f4b4d6f760d08404c40dd1ab66a949 .
cyan [Fri, 9 Jun 2023 09:08:57 +0000 (11:08 +0200)]
CI: add support for ubuntu mantic
Alessandro Astone [Mon, 24 Apr 2023 11:55:41 +0000 (13:55 +0200)]
debian: Upver to 1.4.1
Alessandro Astone [Mon, 24 Apr 2023 11:41:53 +0000 (13:41 +0200)]
Upver to 1.4.1
Alessandro Astone [Mon, 24 Apr 2023 11:40:32 +0000 (13:40 +0200)]
lxc: Add /dev/tty
Maximilian Wende [Sun, 16 Apr 2023 07:24:03 +0000 (09:24 +0200)]
Add device IP address to status, auto adb connect
Saptarshi Sarkar [Wed, 22 Mar 2023 04:39:06 +0000 (10:09 +0530)]
Create CODE_OF_CONDUCT.md
Added **Code Of Conduct** for this open source project to make it _better_ in terms of **community standards**.
Alessandro Astone [Wed, 29 Mar 2023 07:39:49 +0000 (09:39 +0200)]
user_manager: Do not crash when install applications during boot
Even if we fail at getting appInfo, we will simply repeat the
operation in the user_unlocked callback
Rikka [Fri, 24 Mar 2023 19:02:09 +0000 (03:02 +0800)]
Add missing environment variable BOOTCLASSPATH to waydroid shell
Alessandro Astone [Mon, 20 Mar 2023 13:45:25 +0000 (14:45 +0100)]
Revert "All AppArmor profiles have been switched to the "enforce" mode."
Not ready yet
This reverts commit
819bfa0abb0701e9cac6563dc6fd3e5b6ace46ed .
Boruch Baum [Sun, 19 Mar 2023 16:33:01 +0000 (16:33 +0000)]
.desktop files should not be executable (#815)
Азалия Смарагдова [Mon, 30 Jan 2023 13:16:42 +0000 (18:16 +0500)]
All AppArmor profiles have been switched to the "enforce" mode.
Rudra Saraswat [Sun, 19 Mar 2023 14:31:48 +0000 (20:01 +0530)]
Add X-WayDroid-App category to WayDroid desktop files (#810)
snoutie [Fri, 17 Mar 2023 19:08:51 +0000 (20:08 +0100)]
Add App Settings to .desktop file
This adds an option to open the App's Settings page to easily manage the app's permissions or to uninstall the app
Alessandro Astone [Fri, 10 Feb 2023 22:09:53 +0000 (23:09 +0100)]
CI: Add ubuntu lunar
Alessandro Astone [Wed, 8 Feb 2023 16:31:23 +0000 (17:31 +0100)]
debian: Upver to 1.4.0
Alessandro Astone [Wed, 8 Feb 2023 16:18:32 +0000 (17:18 +0100)]
Upver to 1.4.0
Alessandro Astone [Tue, 7 Feb 2023 13:33:27 +0000 (14:33 +0100)]
Add developer_name to appstream metadata
Jami Kettunen [Tue, 7 Feb 2023 02:57:49 +0000 (04:57 +0200)]
waydroid.app.install.desktop: Don't hardcode waydroid binary path
None of the other .desktop files do either, let's try to keep a unified
style.
Jami Kettunen [Tue, 7 Feb 2023 02:41:11 +0000 (04:41 +0200)]
Fix last hardcoded direct usages of AppIcon.png
Since
574405d it's additionally installed under a 512x512 XDG icon dir
just looking it up by "waydroid" should work.
Alessandro Astone [Mon, 6 Feb 2023 11:37:48 +0000 (12:37 +0100)]
Update github issue template
doomsdayrs [Thu, 2 Feb 2023 22:51:22 +0000 (17:51 -0500)]
Update appstream
The app stream file was not validated via appstream-glib.
This commit ensures that the appstream passes validation.
Jami Kettunen [Mon, 30 Jan 2023 00:19:28 +0000 (02:19 +0200)]
arch: Fallback to arm on weird arm64 kernels with 32-bit userspace
Typically armv8l should catch these, but it seems some Android
downstream kernels at least cheat and don't report the correct thing.
Alessandro Astone [Sun, 29 Jan 2023 21:41:36 +0000 (22:41 +0100)]
initializer: Restart container through DBus
Alessandro Astone [Sun, 29 Jan 2023 21:38:23 +0000 (22:38 +0100)]
lxc: Handle lxc-info failure
So that init/upgrade can go on and regenerate the lxc configs if
that's what's broken
Alessandro Astone [Sat, 28 Jan 2023 16:27:16 +0000 (17:27 +0100)]
Disable overlays if mounting fails once
This is not a critical feature.
Mo 森 [Mon, 28 Mar 2022 14:08:33 +0000 (21:08 +0700)]
packaging: install icons to xdg icons resource path, and get the .desktop file to use relative icon name
Alessandro Astone [Fri, 27 Jan 2023 16:20:38 +0000 (17:20 +0100)]
interfaces: Remove presence handler after use
Jami Kettunen [Fri, 27 Jan 2023 12:34:27 +0000 (14:34 +0200)]
images: Cleanup Waydroid Updater zips after extracting
These will take up quite a bit of space over time in
~/.local/share/waydroid/data/lineageos_updates/ and should be cleaned up
during the update process.
Alessandro Astone [Fri, 27 Jan 2023 11:36:51 +0000 (12:36 +0100)]
session: Provide waydroid.host_data_path prop
It is used by WaydroidUpdater app for IHardware::upgrade
It defaults to /var/lib/waydroid/data but we are not bind mounting
xdg data over /var/lib/waydroid/data anymore
Alessandro Astone [Thu, 26 Jan 2023 17:00:01 +0000 (18:00 +0100)]
user_manager: Fix app removal
Alessandro Astone [Thu, 26 Jan 2023 13:08:32 +0000 (14:08 +0100)]
Add apk mimetype handler
Alessandro Astone [Wed, 25 Jan 2023 16:08:00 +0000 (17:08 +0100)]
session: Provide waydroid.background_start bool
Can be used by hwcomposer for example to decide whether or not to
show the android bootanimation
Alessandro Astone [Tue, 24 Jan 2023 22:12:53 +0000 (23:12 +0100)]
interfaces: Fix ServiceManager race condition in clients
Alessandro Astone [Tue, 24 Jan 2023 21:24:07 +0000 (22:24 +0100)]
app_manager: Fix IPlatform error logging
Jami Kettunen [Mon, 23 Jan 2023 15:54:43 +0000 (17:54 +0200)]
container: Extend nfcd stop/start hacks to systemd
Toggling NFC on Ubuntu Touch 20.04 System Settings while Waydroid is
running breaks NFC for apps currently until another session is started.