Commit Graph

309 Commits

Author SHA1 Message Date
Alessandro Astone
0841a74bf8 lxc: Mount DMA-BUF Heaps
Closes: #1813
2025-03-16 12:25:57 +01:00
Alessandro Astone
61d5be43dc debian: Upver to 1.5.0 1.5.0 2025-03-05 19:13:20 +01:00
Alessandro Astone
4275bc9fb5 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)
2025-03-05 19:03:05 +01:00
Alessandro Astone
fc69510771 lxc: Handle CTRL+C silently during shell commands 2025-02-14 00:00:55 +01:00
Alessandro Astone
b6dfdc0cb7 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.
2025-02-13 23:53:18 +01:00
Alessandro Astone
7b31f7188a 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.
2025-02-05 20:15:00 +01:00
Alessandro Astone
d3f4c8c218 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.
2025-01-26 15:53:04 +01:00
Alessandro Astone
6a0d19097a protocol: Correct gbinder protocol version for API 33
This is now working correctly with libgbinder 1.1.42
2025-01-23 20:06:11 +01:00
Alessandro Astone
023c4e31e0 gpu: Use intel_hasvk on intel graphics gen 8 or lower
Closes: #1604
2024-12-14 16:41:45 +01:00
Alessandro Astone
5000c9703d 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
2024-09-04 23:31:39 +02:00
Alessandro Astone
c9ea5abff7 debian: Use new polkitd package
Prefer the new polkitd name but keep supporting policykit-1 for
older distros

Fixes: #1484
2024-08-10 16:17:56 +02:00
Alessandro Astone
9cd66662ba debian: Upver to 1.4.3 1.4.3 2024-08-07 23:01:14 +02:00
Alessandro Astone
583ebb5ebb Upver to 1.4.3 2024-08-07 23:01:09 +02:00
Alessandro Astone
20ad115683 user_manager: Restore desktop-file creation the first time 2024-07-28 10:19:31 +02:00
Alessandro Astone
c312b3fc94 Bail out if system_channel or vendor_channel are empty
Closes: #1033
2024-07-27 23:41:24 +02:00
Joshua Ashton
af296c90a7 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>
2024-07-27 23:40:24 +02:00
Alessandro Astone
3dd0599969 Remove unused session.cfg config 2024-07-27 22:30:31 +02:00
Alessandro Astone
404980b3af Re-enable nouveau and nvk 2024-07-27 22:19:36 +02:00
linsyking
7496998e9d Add msm_dpu driver for freedreno 2024-07-27 22:18:42 +02:00
Jami Kettunen
068a143be9 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.
2024-04-20 10:55:59 +02:00
Fabrice A. Marie
2be58d19ad Ensure default umask to avoid surprises with file permissions. 2024-04-15 10:40:33 +02:00
Loïc CORBASSON
3e6872c0fd Don't change user-defined desktop files for Waydroid when they're set as read-only 2024-02-25 00:46:59 +01:00
Mihai-Drosi Câju
f8d4bd2dc7 Add sysconfdir to Makefile defaulting to /etc 2024-01-15 15:44:15 +01:00
Alessandro Astone
ec85ccf53c 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.
2024-01-03 12:52:22 +01:00
Jami Kettunen
d3ec77888d 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.
2024-01-02 13:53:45 +01:00
sta-c0000
6eea5cf63f Add SSSE3 CPU check for arch x86/x86_64 2023-12-21 18:13:38 +01:00
Aarron Lee
66c8343c4d update regex for deprecation warning 2023-11-20 00:48:39 +01:00
Jon West
b6107a148a Delete CODE_OF_CONDUCT.md 2023-11-17 22:47:52 +01:00
Alessandro Astone
209c90d473 debian: Upver to 1.4.2 1.4.2 2023-10-31 16:56:45 +01:00
Alessandro Astone
5e946a2f19 Upver to 1.4.2 2023-10-31 16:45:05 +01:00
Alessandro Astone
0835ece5bc hardware_manager: Prevent race-condition in upgrade check 2023-10-31 16:24:57 +01:00
Alessandro Astone
b1713e967b Makefile: Create xdg menu directories 2023-10-31 16:00:16 +01:00
Loïc Corbasson
34e1b934c9 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>
2023-10-31 15:08:34 +01:00
Азалия Смарагдова
782dd7b403 Block the "open_by_handle_at" system call 2023-10-23 21:41:31 +02:00
Alessandro Astone
2a2097f4ff hardware_manager: Validate upgrade zips against the saved ota channel 2023-10-12 16:22:02 +02:00
Alessandro Astone
f8dd47e11d 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.
2023-10-02 20:35:50 +02:00
Alessandro Astone
b67b208d89 user_manager: Add icon to the app_settings action 2023-09-29 20:01:39 +02:00
Arusekk
11dabde2b3 user_manager: Respect user umask and use less code
chmod(0o644) is no longer necessary after umask(0) removal in
da4772c4e5 ("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.
2023-09-29 19:45:59 +02:00
HenryDavidThoreau
d0ca6a32a9 Add iptables as Debian dependency 2023-09-29 16:48:04 +02:00
Alessandro Astone
05f8c257b7 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
2023-09-29 16:31:10 +02:00
Alessandro Astone
14e9844266 README: Update matrix link 2023-09-23 00:43:25 +02:00
Alessandro Astone
7dc516d8d0 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
2023-09-18 18:27:35 +02:00
Азалия Смарагдова
0f7c1ea44b Allow local amendments to the AppArmor policy 2023-09-11 17:39:14 +02:00
Alfred Neumayer
b67b4415c1 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]: 6452429d1f
2023-09-07 15:46:00 +02:00
Marcel Partap
586795b80c clipboard: change warning message to be less misleading 2023-09-07 15:43:05 +02:00
Alessandro Astone
21b94635e7 interfaces: Return binder error when receiving an unknown transaction
Requires gbinder-python 1.1.2 to work. It is a noop otherwise.
2023-09-06 23:30:01 +02:00
Alessandro Astone
d1ba241d92 IHardware: Add new upgrade transaction capable of 64-bit timestamps
32-bit timestamps will overflow in 2038
2023-09-06 23:24:43 +02:00
Alessandro Astone
92ab11d979 More logs for the issue template 2023-09-01 14:28:55 +02:00
Alessandro Astone
463801698d Let logcat command terminate in issue template instructions 2023-09-01 14:15:13 +02:00
dabao1955
65bf8a2299 Update issue temple (#1018)
Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
2023-09-01 14:00:59 +02:00