Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Recommended solution for Android emulation?

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
leyvi
l33t
l33t
Posts: 718
Joined: Fri Sep 08, 2023 1:22 pm

Recommended solution for Android emulation?

  • Quote

Post by leyvi » Mon Dec 01, 2025 12:54 pm

Waydroid looks good, except I don't think it can run ARM apks. What other options are there?
Top
Yamakuzure
Advocate
Advocate
User avatar
Posts: 2323
Joined: Wed Jun 21, 2006 11:06 am
Location: Adendorf, Germany
Contact:
Contact Yamakuzure
Website

  • Quote

Post by Yamakuzure » Wed Dec 03, 2025 4:23 pm

Just use waydroid with libhoudini installed.
Edited 220,176 times by Yamakuzure
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4688
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

  • Quote

Post by Zucca » Wed Dec 03, 2025 4:46 pm

Just wait a minute...
Aren't apks jit compiled?
It shouldn't matter if you have amd64 or arm64 underneath?

Hm... I wonder if my M2 MacBook Air could have an advantage running waydroid?
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
papu
l33t
l33t
Posts: 772
Joined: Fri Jan 25, 2008 3:04 pm
Location: Sota algun pi o alzina...

Re: Recommended solution for Android emulation?

  • Quote

Post by papu » Wed Dec 03, 2025 10:05 pm

leyvi wrote:Waydroid looks good, except I don't think it can run ARM apks. What other options are there?
I installed androidx86 with qemu,is launched with ...

Code: Select all

#!/bin/bash
qemu-system-x86_64 \
        -name "MV - Android" \
        -cpu host,kvm=off -machine type=pc,accel=kvm \
        -smp 2 -m 6G \
        -device virtio-vga-gl,blob=true,venus=true,hostmem=4G -display sdl,gl=on \
        -audiodev pipewire,id=android0\
        -device intel-hda -device hda-duplex,audiodev=android0 \
        -device virtio-tablet-pci  -device virtio-keyboard-pci -device virtio-net-pci \
        -hda /mnt/gentoo-plus/android.img \
        $@


:o
Last edited by papu on Sun Dec 14, 2025 3:23 pm, edited 6 times in total.
~amd64 && systemd && plasma --cpu 7700 --ram 2x32GB --gpu RX 6600
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4688
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

Re: Recommended solution for Android emulation?

  • Quote

Post by Zucca » Wed Dec 03, 2025 10:07 pm

The part:
papu wrote:

Code: Select all

-cpu host,kvm=off -machine type=pc,accel=kvm
... looks odd. KVM off and on?
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
papu
l33t
l33t
Posts: 772
Joined: Fri Jan 25, 2008 3:04 pm
Location: Sota algun pi o alzina...

Re: Recommended solution for Android emulation?

  • Quote

Post by papu » Wed Dec 03, 2025 10:17 pm

Zucca wrote:The part:
papu wrote:

Code: Select all

-cpu host,kvm=off -machine type=pc,accel=kvm
... looks odd. KVM off and on?
-machine accel=kvm
This turns ON the actual Kernel-based Virtual Machine hypervisor. It tells QEMU to use your CPU's hardware virtualization features (VT-x/SVM). Without this, the VM would run in software emulation mode and be extremely slow.

-cpu host,kvm=off
This is a CPU feature flag. It does NOT disable the acceleration. Instead, it hides the CPUID signature that normally announces "I am a KVM Virtual Machine" to the guest OS

:lol:
~amd64 && systemd && plasma --cpu 7700 --ram 2x32GB --gpu RX 6600
Top
Zucca
Moderator
Moderator
User avatar
Posts: 4688
Joined: Thu Jun 14, 2007 10:31 pm
Location: Rasi, Finland
Contact:
Contact Zucca
Website

Re: Recommended solution for Android emulation?

  • Quote

Post by Zucca » Wed Dec 03, 2025 10:36 pm

papu wrote:-cpu host,kvm=off
This is a CPU feature flag. It does NOT disable the acceleration. Instead, it hides the CPUID signature that normally announces "I am a KVM Virtual Machine" to the guest OS
Ah. Thanks. :) Didn't knew that option.
..: Zucca :..

Code: Select all

init=/sbin/openrc-init
-systemd -logind -elogind seatd
I am NaN! I am a man!
Top
Post Reply

7 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy