Advertisement
metalx1000

Android x86 Linage OS with qemu

Dec 18th, 2022 (edited)
1,405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.02 KB | None | 0 0
  1. sudo apt install qemu-kvm qemu-system-x86
  2.  
  3. #images:
  4. #https://www.android-x86.org/download
  5. #https://osdn.net/projects/android-x86/
  6.  
  7. #Bliss OS
  8. https://blissos.org/index.html
  9.  
  10. #Linage OS
  11. wget "https://free.nchc.org.tw/osdn//android-x86/68670/cm-x86-14.1-r5-k419.iso" -O android_cm.iso
  12.  
  13. #start emulator -
  14. #kvm - hardware excel
  15. #nic - access netowrk with virtual device
  16. #hostfwd - allow adb network forwarding
  17. #4G RAMmemory
  18. qemu-system-x86_64 -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555 -boot d -cdrom android_cm.iso -m 4G
  19.  
  20.  
  21. #for install to hard drive image
  22. #create an image
  23. qemu-img create -f qcow2 android.img 4G
  24.  
  25. #boot to the iso with the image attached
  26. qemu-system-x86_64 -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555 -boot d -m 4G -hda android.img -cdrom ../androidfoss.iso
  27.  
  28. #boto from hard drive image after install
  29. qemu-system-x86_64 -enable-kvm -net nic -net user,hostfwd=tcp::4444-:5555 -boot c -m 4G -hda android.img
  30.  
  31. #Reminder, if you need to free your mouse press the left Ctrl+Alt
  32.  
Tags: Android
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement