]> glassweightruler.freedombox.rocks Git - waydroid.git/log
waydroid.git
3 years agoMakefile: Allow overriding directories without having to know the DESTDIR
Alessandro Astone [Fri, 19 Aug 2022 09:09:12 +0000 (11:09 +0200)]
Makefile: Allow overriding directories without having to know the DESTDIR

3 years agoMakefile: Allow installing over an existing installation
Alessandro Astone [Thu, 18 Aug 2022 13:04:25 +0000 (15:04 +0200)]
Makefile: Allow installing over an existing installation

3 years agoCI: add support for rolling releases
cyan [Wed, 17 Aug 2022 16:54:01 +0000 (18:54 +0200)]
CI: add support for rolling releases

3 years agodebian: Upver to 1.3.0 1.3.0
Alessandro Astone [Sun, 7 Aug 2022 21:38:14 +0000 (21:38 +0000)]
debian: Upver to 1.3.0

3 years agotools: Upver to 1.3.0
Alessandro Astone [Sun, 7 Aug 2022 21:33:47 +0000 (23:33 +0200)]
tools: Upver to 1.3.0

3 years agoAdd appstream metadata
Alessandro Astone [Sat, 23 Jul 2022 16:26:26 +0000 (18:26 +0200)]
Add appstream metadata

3 years agofix typo in arguments.py
Maxiee [Tue, 26 Jul 2022 15:38:24 +0000 (23:38 +0800)]
fix typo in arguments.py

There is a typo in help text of stop session command. "start session" should be "stop session".

3 years agoMakefile: Add prefix for systemd directory
Wachid Adi Nugroho [Wed, 27 Jul 2022 00:40:20 +0000 (07:40 +0700)]
Makefile: Add prefix for systemd directory

3 years agoShow first-launch icon on wayland gtk
Alessandro Astone [Sat, 23 Jul 2022 13:58:26 +0000 (15:58 +0200)]
Show first-launch icon on wayland gtk

3 years agoAdd first-launch command [v2]
Alessandro Astone [Tue, 19 Jul 2022 09:35:22 +0000 (11:35 +0200)]
Add first-launch command [v2]

3 years agoSupport upgrading major android versions
Alessandro Astone [Mon, 18 Jul 2022 21:46:14 +0000 (23:46 +0200)]
Support upgrading major android versions

When restarting the lxc container our binder services will receive a
binder_presence event and will try to re-register on the service manager.
If the service manager was created with aidl2 and the new android version
uses aidl3 this will fail with:
  Failed to add service waydroidusermonitor: -2147483647

When that happens, try to restart the service by getting a new service
manager that can handle the new aidl protocol version.

3 years agodebian: Adapt to new Makefile buildsystem
Jami Kettunen [Thu, 21 Jul 2022 13:21:06 +0000 (16:21 +0300)]
debian: Adapt to new Makefile buildsystem

3 years agoMakefile: Add distro-agnostic buildsystem
Jami Kettunen [Wed, 6 Jul 2022 22:02:00 +0000 (01:02 +0300)]
Makefile: Add distro-agnostic buildsystem

3 years agogbinder: Remove unnecessary configs
Jami Kettunen [Wed, 6 Jul 2022 21:26:23 +0000 (00:26 +0300)]
gbinder: Remove unnecessary configs

The anbox.conf is no longer needed as Waydroid configures these binder
settings automatically.

3 years agodebian: Move waydroid-container.service under new toplevel systemd dir
Jami Kettunen [Wed, 6 Jul 2022 19:24:45 +0000 (22:24 +0300)]
debian: Move waydroid-container.service under new toplevel systemd dir

This is not only used by Debian/Ubuntu but all other distributions
shipping systemd as their init system.

3 years agoRevert "Add first-launch command"
Alessandro Astone [Tue, 19 Jul 2022 08:46:34 +0000 (10:46 +0200)]
Revert "Add first-launch command"

Will revisit later to not depend on polkit and xwayland

This reverts commit a2804841ed52f812b1d666cb3df01239ee906f5f.

3 years agoAdd first-launch command
Alessandro Astone [Sun, 8 May 2022 15:58:17 +0000 (17:58 +0200)]
Add first-launch command

Add a graphical init to be run as root, which we can use in
first-launch through pkexec

3 years agoDisable OTA updater when using preinstalled images
Alessandro Astone [Sun, 17 Jul 2022 22:56:41 +0000 (00:56 +0200)]
Disable OTA updater when using preinstalled images

3 years agomake waydroid-net more flexible (#267)
Mitchel Stewart [Thu, 14 Jul 2022 17:52:55 +0000 (13:52 -0400)]
make waydroid-net more flexible (#267)

3 years agocontainer: Only umount /sys/fs/cgroup/schedtune if needed
Jami Kettunen [Sun, 10 Jul 2022 12:39:08 +0000 (15:39 +0300)]
container: Only umount /sys/fs/cgroup/schedtune if needed

Silences the following useless log from "waydroid log" outputs when the
directory either doesn't exist at all (mainline Linux devices), or when
it's not mounted on Halium:

  (027693) [15:21:39] % umount -l /sys/fs/cgroup/schedtune
  umount: /sys/fs/cgroup/schedtune: not mounted

Reference: https://docs.python.org/3/library/os.path.html#os.path.ismount

3 years agoUpdate Matrix link
Michel Alexandre Salim [Mon, 20 Jun 2022 00:44:28 +0000 (17:44 -0700)]
Update Matrix link

The old room address no longer works. Use new one as listed in waydro.id

3 years agoci: update to jammy
cyan [Wed, 13 Jul 2022 15:59:16 +0000 (17:59 +0200)]
ci: update to jammy

3 years agoDefault nvidia to swiftshader
Alessandro Astone [Wed, 13 Jul 2022 12:31:58 +0000 (14:31 +0200)]
Default nvidia to swiftshader

Try to choose a supported gpu on PRIME devices

3 years agoinit: Always redownload the image when changing parameters
Alessandro Astone [Sat, 9 Jul 2022 16:53:20 +0000 (18:53 +0200)]
init: Always redownload the image when changing parameters

When changing system_type, for example.
Timestamps only make sense when compared to the same ota channel.

3 years agoImprove robustness of the dynamic aidl version picker
Alessandro Astone [Sun, 10 Jul 2022 14:56:38 +0000 (16:56 +0200)]
Improve robustness of the dynamic aidl version picker

Detect the aidl version just before starting the session.
Allow reading None.

3 years agolxc: Optionally bind-mount NFC config
Alfred Neumayer [Sat, 7 May 2022 12:18:25 +0000 (14:18 +0200)]
lxc: Optionally bind-mount NFC config

Devices with libnfc-nci might have their NFC HAL crash when
the config doesn't exist or contains invalid data. Fix it.

3 years agoFixup market:// handler
Alessandro Astone [Wed, 6 Jul 2022 17:56:29 +0000 (19:56 +0200)]
Fixup market:// handler

3 years agowaydroid.market.desktop: use `waydroid app intent`
Wachid Adi Nugroho [Fri, 1 Jul 2022 15:58:55 +0000 (22:58 +0700)]
waydroid.market.desktop: use `waydroid app intent`

Depends:
- https://github.com/waydroid/waydroid/pull/433
- https://github.com/waydroid/android_vendor_waydroid/pull/12

3 years agowaydroid.market.desktop: update some properties
Wachid Adi Nugroho [Fri, 1 Jul 2022 15:56:15 +0000 (22:56 +0700)]
waydroid.market.desktop: update some properties

3 years agoAdd Android Market Protocol Handler
Wachid Adi Nugroho [Tue, 28 Jun 2022 14:18:19 +0000 (21:18 +0700)]
Add Android Market Protocol Handler

When clicking market:// protocol on Linux distro host, then open it on Waydroid.

Related: https://github.com/waydroid/waydroid/issues/412

3 years agoapp_manager: Add launch intent
Alessandro Astone [Fri, 1 Jul 2022 13:41:37 +0000 (15:41 +0200)]
app_manager: Add launch intent

3 years agoapp_manager: Factor out common function to start session then launch
Alessandro Astone [Fri, 1 Jul 2022 13:41:23 +0000 (15:41 +0200)]
app_manager: Factor out common function to start session then launch

3 years agoDowngrade x86_64 to x86 if no SSE4.2
Alessandro Astone [Sun, 26 Jun 2022 15:15:22 +0000 (17:15 +0200)]
Downgrade x86_64 to x86 if no SSE4.2

3 years agoAllows waydroid to create PTY (#349)
Mitchel Stewart [Wed, 6 Jul 2022 16:22:53 +0000 (12:22 -0400)]
Allows waydroid to create PTY (#349)

3 years agodebian: Start container waiting for init if not already
Alessandro Astone [Fri, 6 May 2022 17:41:43 +0000 (19:41 +0200)]
debian: Start container waiting for init if not already

So that the service can be started before running `waydroid init`

3 years agoAdd -w flag for waiting for init
Alessandro Astone [Fri, 6 May 2022 17:33:08 +0000 (19:33 +0200)]
Add -w flag for waiting for init

This allows for example to start the container manager before init

3 years agoSet aidl version based on the android version
Alessandro Astone [Thu, 9 Jun 2022 22:35:33 +0000 (00:35 +0200)]
Set aidl version based on the android version

3 years agoMount TUN device for use by Android VPNs.
Kenny MacDermid [Wed, 11 May 2022 15:32:40 +0000 (12:32 -0300)]
Mount TUN device for use by Android VPNs.

Providing access to the hosts `/dev/net/tun` is required by at
least some VPN clients, for example F5 Access.

3 years agohttp: Handle malformed urls
Alessandro Astone [Sat, 14 May 2022 17:50:44 +0000 (19:50 +0200)]
http: Handle malformed urls

3 years agotools: Fix device names with spaces in initializer
Alfred Neumayer [Thu, 10 Mar 2022 09:46:41 +0000 (10:46 +0100)]
tools: Fix device names with spaces in initializer

Don't try to fetch from an URL with a space inside.

3 years agodebian: Upver to 1.2.1 1.2.1
Erfan Abdi [Sun, 17 Apr 2022 17:03:56 +0000 (21:33 +0430)]
debian: Upver to 1.2.1

3 years agotools: Upver to 1.2.1
Erfan Abdi [Sun, 17 Apr 2022 17:01:58 +0000 (21:31 +0430)]
tools: Upver to 1.2.1

4 years agoUpdate issue templates
Erfan Abdi [Sun, 13 Feb 2022 17:50:01 +0000 (21:20 +0330)]
Update issue templates

4 years agoUpdate issue templates
Erfan Abdi [Thu, 10 Feb 2022 06:32:02 +0000 (10:02 +0330)]
Update issue templates

4 years agoUpdate issue templates
Erfan Abdi [Thu, 10 Feb 2022 06:23:17 +0000 (09:53 +0330)]
Update issue templates

4 years agoSet sys.use_memfd=true if ashmem is not present
Alessandro Astone [Tue, 8 Feb 2022 20:53:31 +0000 (21:53 +0100)]
Set sys.use_memfd=true if ashmem is not present

4 years agoconfig: Switch to https for OTA channels
Erfan Abdi [Fri, 4 Feb 2022 16:40:07 +0000 (20:10 +0330)]
config: Switch to https for OTA channels

* Fix issue #297

4 years agoMerge pull request #286 from darkdragon-001/funding
Jon West [Sun, 23 Jan 2022 17:25:13 +0000 (12:25 -0500)]
Merge pull request #286 from darkdragon-001/funding

Add sponsor button

4 years agoAdd FUNDING file.
Dark Dragon [Sun, 23 Jan 2022 15:15:31 +0000 (16:15 +0100)]
Add FUNDING file.

4 years agoadd size units and speed in download progress bar
aditya raj [Thu, 30 Dec 2021 04:03:27 +0000 (09:33 +0530)]
add size units and speed in download progress bar

add daemon=True to progress bar thread

4 years agoAdd an optional [properties] in waydroid.cfg
Christophe Chapuis [Sat, 27 Nov 2021 14:59:13 +0000 (14:59 +0000)]
Add an optional [properties] in waydroid.cfg

On some platforms, like a VM, we don't have the "getprop" android
utility available. It could be, also, that the default values
for some properties don't match the target device.

With this PR, one can add a [properties] section in waydroid.cfg,
that will act as an override for the values that would have been
put otherwise.

Example, on our LuneOS x86 VM:
[properties]
ro.hardware.gralloc=default
ro.hardware.egl=mesa

A minimal waydroid.cfg could even be shipped with waydroid, and
the rest of the configuration will be filled with "waydroid init".

Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
4 years agoscripts: make sure misc subfolder exists
Florian Franzen [Fri, 26 Nov 2021 08:55:33 +0000 (09:55 +0100)]
scripts: make sure misc subfolder exists

4 years agocontainer: strip possible trailing newline from pid
Rinigus [Wed, 27 Oct 2021 20:03:41 +0000 (23:03 +0300)]
container: strip possible trailing newline from pid

Fixes #185

4 years agolxc: Fix bad eol of proc dt values
Erfan Abdi [Mon, 25 Oct 2021 08:48:02 +0000 (12:18 +0330)]
lxc: Fix bad eol of proc dt values

4 years agoResume initialization if not complete
GDR! [Tue, 19 Oct 2021 10:54:16 +0000 (12:54 +0200)]
Resume initialization if not complete

Signed-off-by: GDR! <gdr@gdr.name>
4 years agoRemove downloaded system images which failed checksum verification
GDR! [Tue, 19 Oct 2021 10:21:26 +0000 (12:21 +0200)]
Remove downloaded system images which failed checksum verification

4 years agoprops: Use subprocess for host getprop
Erfan Abdi [Thu, 21 Oct 2021 20:09:36 +0000 (23:39 +0330)]
props: Use subprocess for host getprop

4 years agodebian: Upver to 1.2.0 1.2.0
Erfan Abdi [Tue, 19 Oct 2021 07:50:56 +0000 (11:20 +0330)]
debian: Upver to 1.2.0

4 years agotools: Upver to 1.2.0
Erfan Abdi [Tue, 19 Oct 2021 07:48:37 +0000 (11:18 +0330)]
tools: Upver to 1.2.0

4 years agoconfig: Update waydroid ota channel urls
Erfan Abdi [Tue, 19 Oct 2021 07:03:16 +0000 (10:33 +0330)]
config: Update waydroid ota channel urls

4 years agolxc: Get device info props from host
Erfan Abdi [Tue, 19 Oct 2021 04:20:36 +0000 (07:50 +0330)]
lxc: Get device info props from host

4 years agosession: Nuke old data dir movement
Erfan Abdi [Tue, 19 Oct 2021 03:15:10 +0000 (06:45 +0330)]
session: Nuke old data dir movement

4 years agolxc: Make sure vibrator sys nodes are writable
Erfan Abdi [Tue, 19 Oct 2021 03:06:03 +0000 (06:36 +0330)]
lxc: Make sure vibrator sys nodes are writable

4 years agolxc: Add non-treble camera support
Erfan Abdi [Tue, 19 Oct 2021 03:02:42 +0000 (06:32 +0330)]
lxc: Add non-treble camera support

4 years agolxc: Skip host_perms on non treble devices
Erfan Abdi [Tue, 19 Oct 2021 02:56:45 +0000 (06:26 +0330)]
lxc: Skip host_perms on non treble devices

4 years agolxc: Add more sphal paths to find_hal
Erfan Abdi [Tue, 19 Oct 2021 02:48:31 +0000 (06:18 +0330)]
lxc: Add more sphal paths to find_hal

4 years agoimages: Decode http retrieve for older pythons
Erfan Abdi [Tue, 19 Oct 2021 02:39:01 +0000 (06:09 +0330)]
images: Decode http retrieve for older pythons

4 years agodrivers: Add bonder nodes support
Erfan Abdi [Tue, 19 Oct 2021 02:32:37 +0000 (06:02 +0330)]
drivers: Add bonder nodes support

* For JingPad

4 years agocontainer: Add missing powervr nodes chmod
Erfan Abdi [Tue, 19 Oct 2021 02:30:55 +0000 (06:00 +0330)]
container: Add missing powervr nodes chmod

4 years agocontainer: Use umount -l for schedtune
Erfan Abdi [Tue, 19 Oct 2021 02:29:19 +0000 (05:59 +0330)]
container: Use umount -l for schedtune

4 years agolog: More resilient logging
Nbiba Bedis [Sat, 2 Oct 2021 09:54:11 +0000 (10:54 +0100)]
log: More resilient logging

4 years agonet: Disable NFT by default
Erfan Abdi [Fri, 1 Oct 2021 10:01:56 +0000 (13:31 +0330)]
net: Disable NFT by default

4 years agoarch: detect armv8l as 32bit arm
John Zimmermann [Fri, 8 Oct 2021 08:37:00 +0000 (10:37 +0200)]
arch: detect armv8l as 32bit arm

4 years agodrivers: Keep devices arg on modprobe
Erfan Abdi [Fri, 1 Oct 2021 13:34:13 +0000 (17:04 +0330)]
drivers: Keep devices arg on modprobe

* Debian binder module isn’t binderfs

4 years agosession: don't panic when removing old userdata if its not empty
Nbiba Bedis [Fri, 1 Oct 2021 07:58:28 +0000 (08:58 +0100)]
session: don't panic when removing old userdata if its not empty

4 years agolxc: do prepend colon to Android PATHs in shell
John Zimmermann [Wed, 29 Sep 2021 20:39:42 +0000 (22:39 +0200)]
lxc: do prepend colon to Android PATHs in shell

4 years agocontainer: don't panic if binder device already exists
Nbiba Bedis [Thu, 30 Sep 2021 20:53:55 +0000 (21:53 +0100)]
container: don't panic if binder device already exists

4 years agoupgrade: log that no we will not upgrade if a preinstalled image exists
Nbiba Bedis [Thu, 30 Sep 2021 21:07:20 +0000 (22:07 +0100)]
upgrade: log that no we will not upgrade if a preinstalled image exists

4 years agodebian: Upver to 1.1.1 1.1.1
Erfan Abdi [Thu, 30 Sep 2021 04:38:44 +0000 (08:08 +0330)]
debian: Upver to 1.1.1

4 years agotools: Upver to 1.1.1
Erfan Abdi [Thu, 30 Sep 2021 04:38:27 +0000 (08:08 +0330)]
tools: Upver to 1.1.1

4 years agolxc: Include tmp runtime dirs to container
Erfan Abdi [Thu, 30 Sep 2021 04:36:04 +0000 (08:06 +0330)]
lxc: Include tmp runtime dirs to container

4 years agosession: Move waydroid user data to XDG_DATA_HOME
Erfan Abdi [Thu, 30 Sep 2021 04:09:16 +0000 (07:39 +0330)]
session: Move waydroid user data to XDG_DATA_HOME

4 years agodrivers: Allocate binder nodes dynamically
Erfan Abdi [Thu, 30 Sep 2021 03:38:33 +0000 (07:08 +0330)]
drivers: Allocate binder nodes dynamically

4 years agouser_manager: Use one variable for apps dir
plata [Wed, 29 Sep 2021 09:07:19 +0000 (11:07 +0200)]
user_manager: Use one variable for apps dir

fixes #109

4 years agouser: Create apps dir if doesn’t exists
Erfan Abdi [Wed, 29 Sep 2021 03:21:45 +0000 (06:51 +0330)]
user: Create apps dir if doesn’t exists

4 years agolxc: workaround weird log permission bug
Nbiba Bedis [Tue, 28 Sep 2021 13:01:14 +0000 (14:01 +0100)]
lxc: workaround weird log permission bug

4 years agodebian: Upver to 1.1.0 1.1.0
Erfan Abdi [Tue, 28 Sep 2021 06:44:33 +0000 (10:14 +0330)]
debian: Upver to 1.1.0

4 years agotools: Upver to 1.1.0
Erfan Abdi [Tue, 28 Sep 2021 06:44:25 +0000 (10:14 +0330)]
tools: Upver to 1.1.0

4 years agoupgrade: show progress
Nbiba Bedis [Sat, 25 Sep 2021 17:56:44 +0000 (18:56 +0100)]
upgrade: show progress

4 years agocontainer: Umount on stop
Nbiba Bedis [Fri, 24 Sep 2021 16:53:42 +0000 (17:53 +0100)]
container: Umount on stop

4 years agodebian: Add LXC as dependency
Aleksey Samoilov [Thu, 23 Sep 2021 10:55:09 +0000 (14:55 +0400)]
debian: Add LXC as dependency

Otherwise an error appears:

`[14:49:51] Extracting to /var/lib/waydroid/images
[14:49:54] ERROR: LXC is not installed
[14:49:54] See also: <https://github.com/waydroid>`

4 years agolog: don't panic on ctrlc
Nbiba Bedis [Fri, 24 Sep 2021 17:49:20 +0000 (18:49 +0100)]
log: don't panic on ctrlc

4 years agoFix grammar and spelling in README (#104)
Samuel Sloniker [Tue, 28 Sep 2021 06:33:39 +0000 (23:33 -0700)]
Fix grammar and spelling in README (#104)

* Grammar and punctuation in README

4 years agofix grammar mistakes in the readme
Adam Dymitruk [Wed, 22 Sep 2021 19:48:52 +0000 (12:48 -0700)]
fix grammar mistakes in the readme

4 years agolxc: Use v4l2 camera hal on mainline
Erfan Abdi [Fri, 24 Sep 2021 19:14:03 +0000 (22:44 +0330)]
lxc: Use v4l2 camera hal on mainline

4 years agolxc: Enable vndk lite for mainline devices
Erfan Abdi [Fri, 24 Sep 2021 19:07:23 +0000 (22:37 +0330)]
lxc: Enable vndk lite for mainline devices

4 years agolxc: Mount /dev/null for container
Erfan Abdi [Fri, 24 Sep 2021 06:39:28 +0000 (10:09 +0330)]
lxc: Mount /dev/null for container

4 years agocontainer: Don’t crash on sensord
Erfan Abdi [Fri, 24 Sep 2021 04:18:12 +0000 (07:48 +0330)]
container: Don’t crash on sensord

4 years agolxc: Provide all fb and video nodes to container
Erfan Abdi [Fri, 24 Sep 2021 02:51:27 +0000 (06:21 +0330)]
lxc: Provide all fb and video nodes to container

4 years agolxc: Provide /var/run to container
Erfan Abdi [Fri, 24 Sep 2021 02:47:34 +0000 (06:17 +0330)]
lxc: Provide /var/run to container