Hey folks,
so a bit of backstory:
I am trying to run multiple instances of an afk game simultaneously to farm in game currency. I was able to do this by cloning the app in windows using “Mumu Player” emulator but emulating takes a lot of processing power so the most I could do was ~5 instances with frequent crashes. Switching to windows every time was also annoying and seeing as how waydroid has way better performance I wanted to use that instead.
Here’s where the problem comes in, I could not figure out a way to run multiple instances of the app simultaneously.
Here’s what I tried so far: My first instinct was to clone the app, however the app cloner app doesn’t seem to work on waydroid (or any of the emulators I tried on windows). Even if the app cloner worked, a new update to the game seemed to have broken running clones anyway (bummer!). I have tried other app cloners however couldn’t find any that worked and had the same functionality. The closest I could come was using work profiles with shelter and running the game in freeform windows with taskbar, but that’s still limited to only 2 instances. I thought about using other profiles in android but when you switch profiles the old profile shuts down . I then thought if I cant run multiple apps maybe I could run multiple androids so I looked into that next, and quickly found out that waydroid does not have a feature like this. I thought about vms but it would have bad performance just as in windows emulators, especially since app cloning doesnt work so I would have to run multiple VMs. Today as a last ditch effort I tried looking into running waydroid in a container and as before quickly found out that it does not work out as waydroid uses kernel headers which is not really used in containers.
So that’s where I am now, if anyone has any ideas please share them with me and thanks.
I would also like to add that this is not against the games terms of service, so I am not trying to circumvent any security measures or anything.
To add more details;
Lucky patcher was the closest I got to cloning the app. I am able to install the clone and launch it but it gives me a blank white screen. This is what happens to normal android when you use app cloner.
I am running garuda xfce4 linux zen using weston to run waydroid.
System:
Kernel: 6.10.3-zen1-2-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
clocksource: tsc avail: acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=cefe6367-842f-4e44-b9c8-a124794d73ec rw rootflags=subvol=@
quiet resume=UUID=05c15284-a7d6-4503-868d-a47dff823782 loglevel=3 ibt=off
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.43 wm: xfwm4 v: 4.18.0
with: docker,xfce4-panel tools: xfce4-screensaver
avail: cinnamon-screensaver,xautolock dm: LightDM v: 1.32.0 Distro: Garuda
base: Arch Linux
Machine:
Type: Desktop System: Gigabyte product: H610M S2H DDR4 v: -CF serial: N/A
Mobo: Gigabyte model: H610M S2H DDR4 v: x.x serial: N/A
uuid: 035e02d8-04d3-0541-1706-ce0700080009 UEFI: American Megatrends LLC.
v: FB date: 11/11/2021
CPU:
Info: model: 12th Gen Intel Core i5-12400F socket: U3E1 bits: 64
type: MT MCP arch: Alder Lake gen: core 12 level: v3 note: check
built: 2021+ process: Intel 7 (10nm ESF) family: 6 model-id: 0x97 (151)
stepping: 2 microcode: 0x35
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 480 KiB desc: d-6x48 KiB; i-6x32 KiB L2: 7.5 MiB desc: 6x1.2 MiB
L3: 18 MiB desc: 1x18 MiB
Speed (MHz): avg: 799 high: 800 min/max: 800/4400 base/boost: 2475/4400
scaling: driver: intel_pstate governor: performance volts: 0.8 V
ext-clock: 100 MHz cores: 1: 800 2: 800 3: 799 4: 800 5: 800 6: 800 7: 799
8: 800 9: 800 10: 800 11: 800 12: 800 bogomips: 59904
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities: <filter>
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT]
vendor: Tul / PowerColor driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x
process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
lanes: 16 ports: active: HDMI-A-1 empty: DP-1, DP-2, DP-3, Writeback-1
bus-ID: 03:00.0 chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2
compositor: xfwm4 v: 4.18.0 driver: X: loaded: amdgpu
unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi
gpu: amdgpu display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Philips PHL 221V8
serial: <filter> built: 2022 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 477x268mm (18.78x10.55") diag: 547mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi
device: 1 drv: swrast gbm: drv: radeonsi surfaceless: drv: radeonsi x11:
drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.5-arch1.1
glx-v: 1.4 direct-render: yes renderer: AMD Radeon RX 6700 XT (radeonsi
navi22 LLVM 18.1.8 DRM 3.57 6.10.3-zen1-2-zen) device-ID: 1002:73df
memory: 11.72 GiB unified: no
API: Vulkan v: 1.3.279 layers: 8 device: 0 type: discrete-gpu name: AMD
Radeon RX 6700 XT (RADV NAVI22) driver: mesa radv v: 24.1.5-arch1.1
device-ID: 1002:73df surfaces: xcb,xlib device: 1 type: cpu name: llvmpipe
(LLVM 18.1.8 256 bits) driver: mesa llvmpipe v: 24.1.5-arch1.1 (LLVM
18.1.8) device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
Device-1: Intel Alder Lake-S HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel alternate: snd_soc_avs,snd_sof_pci_intel_tgl bus-ID: 00:1f.3
chip-ID: 8086:7ad0 class-ID: 0403
Device-2: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
class-ID: 0403
API: ALSA v: k6.10.3-zen1-2-zen status: kernel-api with: aoss
type: oss-emulator tools: N/A
Server-1: PipeWire v: 1.2.2 status: n/a (root, process) with:
1: pipewire-pulse status: active 2: wireplumber status: active
3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: 3000 bus-ID: 05:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp5s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
IF-ID-1: docker0 state: up speed: 10000 Mbps duplex: unknown mac: <filter>
IF-ID-2: veth24ab609 state: up speed: 10000 Mbps duplex: full
mac: <filter>
Info: services: NetworkManager,systemd-timesyncd
Drives:
Local Storage: total: 931.51 GiB used: 34.8 GiB (3.7%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Crucial model: CT1000P2SSD8
size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: <filter> fw-rev: P2CR033 temp: 35.9 C
scheme: GPT
Partition:
ID-1: / raw-size: 673.21 GiB size: 673.21 GiB (100.00%)
used: 34.78 GiB (5.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p4
maj-min: 259:4
ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%)
used: 27 MiB (28.1%) fs: vfat block-size: 512 B dev: /dev/nvme0n1p1
maj-min: 259:1
ID-3: /home raw-size: 673.21 GiB size: 673.21 GiB (100.00%)
used: 34.78 GiB (5.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p4
maj-min: 259:4
ID-4: /var/log raw-size: 673.21 GiB size: 673.21 GiB (100.00%)
used: 34.78 GiB (5.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p4
maj-min: 259:4
ID-5: /var/tmp raw-size: 673.21 GiB size: 673.21 GiB (100.00%)
used: 34.78 GiB (5.2%) fs: btrfs block-size: 4096 B dev: /dev/nvme0n1p4
maj-min: 259:4
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 15.46 GiB used: 0 KiB (0.0%) priority: 100
comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 12 dev: /dev/zram0
ID-2: swap-2 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
dev: /dev/nvme0n1p5 maj-min: 259:5
Sensors:
System Temperatures: cpu: 42.0 C mobo: 34.0 C gpu: amdgpu temp: 38.0 C
mem: 36.0 C
Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
Memory: total: 16 GiB available: 15.46 GiB used: 4.05 GiB (26.2%)
Processes: 370 Power: uptime: 39m states: freeze,mem,disk suspend: deep
avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
suspend, test_resume image: 6.17 GiB services: upowerd,xfce4-power-manager
Init: systemd v: 256 default: graphical tool: systemctl
Packages: pm: pacman pkgs: 1627 libs: 512 tools: paru Compilers:
gcc: 14.2.1 Shell: garuda-inxi (sudo) default: Bash v: 5.2.32
running-in: xfce4-terminal inxi: 3.3.35
Garuda (2.6.26-1):
System install date: 2024-08-01
Last full system update: 2024-08-11 ↻
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot: Yes
Failed units: