[gelöst] Android Emulator mit Virtualbox

xsid

Active member
Registriert
29 Mai 2007
Beiträge
4.621
Hallo Forum,

welche Einstellung muss Vornehmen damit eine Thinkpad T61 [GPU Intel GMA X3100] vornehmem, damit ein
Android von https://www.android-x86.org/ genutzt werden kann?
Download: https://osdn.net/projects/android-x86/releases

Der proprietäre Android Emulator von Genymotion https://www.genymotion.com/ ist startfähig und nutzbar.
Dieser basiert auf Virtualbox. Die Einstellungsdaten von Virtualbox aus der Genymotioninstallation (Virtualbox) daraus kann ich leider nicht übertragen.

Auf einem Thinkpad T440 funktionieren android-x86.org Iso Installationen ohne Probleme.

https://www.heise.de/tipps-tricks/Android-in-VirtualBox-installieren-so-geht-s-4155176.html

Fehlerbeschreibung: Das Android bootet, dann erfolgt nach einiger Zeit ein Black Screen und nichts mehr.

Wo setzte ich bei der Fehlersuche an?

Hinweis: Auch eine vorgeferitge Android VM von https://www.osboxes.org/ startet und dann nur noch Blackscreen.

OT
Kennt jemand einen anderen guten Android Emulator?
anbox ist mir bekannt, scheint jedoch nicht mehr entwickelt zu werden.
https://github.com/anbox/anbox

MfG

xsid


Ein alter Thread:
https://thinkpad-forum.de/threads/185718-T61-Android?highlight=android+xsid
Alte Harwarelist, T61 full support: http://old.android-x86.org/hardware-list
 
Zuletzt bearbeitet:
Danke, mit den Virtaublox Grafik Einstellungen hat auch schon verschiedene Einstellungen ausprobiert.

https://cdn.discordapp.com/attachments/247515315825672203/655332997419237377/unknown.png

Mit fehlt eben "die" Lösung.

@martina
oder was meinst Du aus dem Thread?

Meine fast "neue" Hardware T61 sollte ausreichend sein, sonst würde genymotion nicht funktionieren.

##########################
##########################
Ob das die Lösung sein könnte?

https://forums.virtualbox.org/viewtopic.php?f=3&t=92683&start=30#p475784

Update: After fiddling around with KVM and observing very similar behaviour, I finally figured out that 32 bit (i686) builds of android-x86 run just fine. Since logcat is full of crash reports for various programs and libraries that aren't directly related to each other, I'm now fairly certain that the problem is that my CPU is just too old: SSE4.2 is required for x86_64 builds of Android. My aging Core2Quad doesn't support that.

32 bit android-x86 builds now run fine in both VirtualBox as well as QEMU/KVM.

Was ist "SSE4.2"?

https://de.wikipedia.org/wiki/Streaming_SIMD_Extensions_4

SSE4 (Streaming SIMD Extensions 4) ist eine Befehlssatzerweiterung, die bei AMD seit AMD Bulldozer und bei Intel seit der Penryn-Variante der Core-2-Prozessoren verwendet wird. Der zweite Teil, SSE4.2 genannt, wurde mit der Intel-Nehalem-Mikroarchitektur eingeführt.

Was kann meine CPU [Intel Core 2 Duo Processor T9300]?

https://ark.intel.com/content/www/u...ssor-t9300-6m-cache-2-50-ghz-800-mhz-fsb.html
 
Zuletzt bearbeitet:
Laut dem Intel-Link ist Dein T9300 ist ein Penryn und damit anscheinend zu alt für die x86_64 Version von Android.
Hast Du auch schonmal eine 32bit Version ausprobiert?
 
Danke, da habe ich jetzt auch herausgefunden.
Siehe Post zuvor letzte Links.
Vielen Dank.

Die 32bit Version werde ich testen.

Test erfolgreiche mit cm-x86-14.1-r5.iso.

Andere Android 32bit-er werden dann auch funktionieren.

Danke

MfG

xsid



Edit, Zusatzfrage:

Hallo Forum,

heise c't schreibt, h ttps://www.heise.de/tipps-tricks/Android-in-VirtualBox-installieren-so-geht-s-4155176.html,

Hier wechseln Sie zum Reiter "Prozessor" und wählen mindestens 2 Prozessoren aus. Im nebenstehenden Reiter "Beschleunigung" wählen Sie für die Paravirtualisierung "KVM" aus.

h ttps://de.wikipedia.org/wiki/Kernel-based_Virtual_Machine

Die Kernel-based Virtual Machine (KVM; deutsch „Betriebssystem-Kern-basierte virtuelle Maschine“) ist eine Infrastruktur des Linux-Kernels zur Virtualisierung, die auf mit den Hardware-Virtualisierungstechniken von Intel (VT) oder AMD (AMD-V) ausgestatteten x86-Prozessoren sowie auf der System-z-Architektur lauffähig ist

Warum empfehlen die Paravirtualisierung "KVM"?

Standard funktioniert ebenso.

Wird das nicht automatisch genutzt?
Oder wird das evtl. beim OS Windows 10 benötigt?

Wie finde ich die jeweils optimalen Einstellungen, auch für ander PC's für die jeweilige CPU vom System?

MfG

xsid

Edit:

h ttps://www.rootz.de/2010/07/virtualbox-welche-hardware-unterstutzt-virtualisierung/

Code:
egrep --color '(vmx|svm)' /proc/cpuinfo


Code:
egrep --color '(vmx|svm)' /proc/cpuinfo
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm pti tpr_shadow vnmi flexpriority vpid dtherm ida
vmx flags       : vnmi flexpriority tsc_offset vtpr vapic
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 lahf_lm pti tpr_shadow vnmi flexpriority vpid dtherm ida
vmx flags       : vnmi flexpriority tsc_offset vtpr vapic

Wichtig daraus: sse4_1






Edit2:

https://superuser.com/questions/945910/how-to-select-paravirtualization-interface-in-virtualbox

https://www.virtualbox.org/manual/ch10.html#gimproviders

Oracle VM VirtualBox enables the exposure of a paravirtualization interface, to facilitate accurate and efficient execution of software within a virtual machine. These interfaces require the guest operating system to recognize their presence and make use of them in order to leverage the benefits of communicating with the Oracle VM VirtualBox hypervisor.

Most modern, mainstream guest operating systems, including Windows and Linux, ship with support for one or more paravirtualization interfaces. Hence, there is typically no need to install additional software in the guest to take advantage of this feature.

Exposing a paravirtualization provider to the guest operating system does not rely on the choice of host platforms. For example, the Hyper-V paravirtualization provider can be used for VMs to run on any host platform supported by Oracle VM VirtualBox and not just Windows.

Oracle VM VirtualBox provides the following interfaces:

Minimal: Announces the presence of a virtualized environment. Additionally, reports the TSC and APIC frequency to the guest operating system. This provider is mandatory for running any Mac OS X guests.

KVM: Presents a Linux KVM hypervisor interface which is recognized by Linux kernels version 2.6.25 or later. Oracle VM VirtualBox's implementation currently supports paravirtualized clocks and SMP spinlocks. This provider is recommended for Linux guests.

Hyper-V: Presents a Microsoft Hyper-V hypervisor interface which is recognized by Windows 7 and newer operating systems. Oracle VM VirtualBox's implementation currently supports paravirtualized clocks, APIC frequency reporting, guest debugging, guest crash reporting and relaxed timer checks. This provider is recommended for Windows guests.
 
Zuletzt bearbeitet:
Meine Frage konnte ich bisher nicht klären.

h ttps://www.geekrar.com/how-to-install-android-in-virtualbox-2021/

In the next tab, ‘Acceleration’, select ‘KVM’ in the Paravirtualization Interface drop-down list.

Virtualbox, Version 6.1.18 r142142 (Qt5.12.8):


FKKrGw4.jpg




Warum empfehlen die Paravirtualisierung "KVM"?

Virtualbox Manual:

KVM: Presents a Linux KVM hypervisor interface which is recognized by Linux kernels version 2.6.25 or later. Oracle VM VirtualBox's implementation currently supports paravirtualized clocks and SMP spinlocks. This provider is recommended for Linux guests.
 
Zuletzt bearbeitet:
Der Android Kernel ist sehr Linux-ähnlich, daher scheint er auch von dieser zusätzlichen Linux spezifischen Optimierung zu profitieren.
 
Funktioniert die Emulation eigendlich zufriedenstellen, was die Geschwindigkeit angeht?
 
Beim T440p einwandfrei, beim jungen T61 mit 4GB RAM, geht so, zum Ausprobieren langt es.
 
  • ok1.de
  • ok2.de
  • thinkstore24.de
  • Preiswerte-IT - Gebrauchte Lenovo Notebooks kaufen

Werbung

Zurück
Oben