Устанавливаем Android на ваш компьютер/ноутбук через виртуальную машину Oracle VM VirtualBox или VMWare Workstation. Самая последняя и стабильная версия на данный момент: Android 8.1 Oreo с патчем безопасности 5 января 2019 (сборка образа: 17 января 2019) Android 9.0 в виртуальных машинах работает очень плохо и в большинстве случаев не запускается, если есть информация о том, как заставить его стабильно запускать, пишите в ЛС, добавлю в шапку.
1. Сама виртуальная машина Oracle VM VirtualBox 5.22 (версия 6.0 на данный момент плохо дружит с Android-x86, пока пользуемся стабильной 5.2) 2. Образ Android. Его скачиваем с сайта Android-x86.org 3. Включение функции виртуализации у вашего процессора в биосе вашего хоста (у разных материнских плат и процессоров этот параметр в меню называется по разному, нужно искать, пример на моей материнской плате на картинке)
0.1. Скачиваем и устанавливаем программу. 0.2. Скачиваем образ Android.
1.1. Создаём виртуальную машину с любым названием, тип системы: Linux, версия: Ubuntu (разрядность не важна). 1.2. Объем оперативной памяти зависит от вашего компьютера/ноутбука, лучше ставить половину от доступной (т.е. если у вас на хосте стоит 8 гб, то можно спокойно ставить 4 гб). 1.3. Создаём новый виртуальный диск, VDI, Динамический, объем лучше от 8 Гб (в зависимости от количества нужных вам приложений). 1.4. Заходим в св-ва созданной машины через кнопку Настроить. Общие — Дополнительно — Включаем двунаправленный буфер. Система — Материнская плата — Убираем галочку в Порядке загрузки с Дискета Система — Материнская плата — Ставим галочку Включить I/O APIC Система — Материнская плата — Манипулятор курсора — ставим PS/2 мышь Система — Процессор — 2 ядра ЦПУ (или больше, если есть возможность) Система — Процессор — Включить PAE/NX Дисплей — Видео — Видео память 128 Мб Дисплей — Видео — Ставим галочку Включить 3D-ускорение Носители — Контроллер: IDE — Нажимаем на Пусто и справа где окошко привод нажимаем на диск и выбираем скачанный образ Android. 1.5. Нажимаем ОК.
2.1. Запускаем машину. 2.2. В первом окне стрелками на клавиатуре выбираем самую нижнюю Installation — Install Android-x86 to harddisk, подтверждаем выбор нажатием Enter. Если предлагает установить GPT, отказываемся! 2.3. После того, как пробегут все строки появится окно, в нём выбираете первый пункт Create/Modify partitions. 2.4. В появившимся окне стрелкой вправо выбираем Write и пишем yes, подтверждая нажатием Enter. 2.5. Стрелкой вправо выбираем New, потом Primary, подтверждаем появившийся объем. 2.6. Стрелкой вправо выбираем Write и пишем yes, подтверждая нажатием Enter. 2.7. Стрелкой вправо выбираем Bootable, нажимаем Enter и выходим через Quit. 2.8. Если всё сделали правильно, то появится первая записать sda1 Linux, подтверждаем Enter. 2.9. В следующем окне выбираем ext4. Потом подтверждаем, что хотим форматировать диск. 2.10. Ждём пока он отформатирует. 2.11. Во всех следующих окнах жмём Yes. 2.12. После того, как появится окно Android-x86 is installed successfully; наверху нажимаем кнопку Устройства — Приводы оптических дисков — Извлечь диск из привода. После этого выбираем Reboot и нажимаем Enter. 2.13. Машина перезагружается и выбираем самый первый пункт 2.14. После этого ждём, появляется лого Android, а дальше настройка системы, как будто у вас простой планшет на Android.
Теперь у вас есть уже рутированный Android с прошивкой для разработчиков.
Как изменить разрешение экрана? Android 4.4 и ниже: В папке с виртуальной машиной найдите файл, который называется название_машины.vbox, в него добавьте строку:
Она определяет разрешение и количество памяти для цвета. Android 5.0 и выше: Нативно изменить разрешение пока достаточно трудно, но есть костыль. Работает достаточно неплохо.
VirtualBox 6.0 не хочет запускать Android Проблема известна, решение простое — установить VirtualBox 5.22
Как включить полную поддержку программ, написанных для ARM в Android-x86? Настройки — Android-x86 options — Enable Native Bridge
Что работает и что не работает в последней версии (Android 8.1)? Не работает: сенсорный экран, Google Play и всё из него вытекающее Работает: камера, Wi-Fi, Bluetooth, мышка, клавиатура, установка .apk из любых источников, запускаются простые игры (возможно и сложные, но это пока не точно)
Сообщение отредактировал Smit7564 — 28.04.20, 22:47
Спасибо, все понятно расписал, +++++++ тебе!
Добавлено 31.01.2014, 18:38:
Правда можно вместо Virtual box можно использовать ЛЮБОЙ эмулятор. Я лично пробовал через MS virtual pc
Источник
virtualbox.org
End user forums for VirtualBox
Board index‹General‹VirtualBox on Windows Hosts
Change font size
Print view
FAQ
Login
Kernel panic installing android
Kernel panic installing android
by eeeeelm » 20. Aug 2016, 03:31
Hi I am trying to install androidx86 6.0 rc2 on virtual box 5.1.4-110228 The computer host mount windows 7 home Premium sp1, with an intel core i7-2670QM cpu @2.20GHz, 8 gb ram (it says 2.45gb usable) and is 32bit
I setted the virtual machine with linux 2.6/3.x/4.x 32bit 1024Mb ram and 8.0 Gb hard disk
When I try to install android from the iso, it says kernel panic — not syncing; Attempted to kill the idle task Kernel offset: disabled and reboots
What does this means? I give you screenshot since I do not know where should I look to get more useful infos, since I neither know what this error means. I am sorry for my ignorance
Re: Kernel panic installing android
by socratis » 20. Aug 2016, 09:28
Re: Kernel panic installing android
by eeeeelm » 20. Aug 2016, 13:40
Re: Kernel panic installing android
by socratis » 20. Aug 2016, 20:45
I would fix this if I could. You’ll have to look up your manufacturer’s user manual on how to enable VT-x in the BIOS. Other than that, I just run the VM with the defaults. I didn’t install it, I just run the Live Mode.
But you might also run into a problem due to not having enough free memory:
Re: Kernel panic installing android
by eeeeelm » 20. Aug 2016, 22:07
Ok, I try to reset the ram on 512MB since I have 8 Gb on this laptop and I cannot change the hardware. But the fact that I only have 2509MB Ram available is due to the othe running applications or what? [Edit: I think it is caused by the fact that the win7 version installed is home premium 32bit that supports not more than 4gb of RAM. Right?] [Re-Edit: One year ago this pc had some problems to the hard disk. After I brought it to a friend I found it was running slowly than before. He told me because of the cheaper HDD installed. Now I discovered that here is running a 32 bit OS on a 64 bit processor, and it came to my mind that before I brought this laptop to repair it was running a 64bit OS. So the problem is not only due to the cheaper HD but also due to the 32bit OS that is unable to use all the 8GB of RAM, so I just have 2509MB of RAM available on the 8 GB hardware RAM installed. Am I right? Could the fact he installed a 32bit OS be related to the kind of HD he installed? ST9160314AS ATA device]
Anyway, you think the kernel panic is due to that error you quoted or there could be another way to try fixing it? Since this is not my laptop I’d prefer to do not change bios settings I don’t know what are related to.
Re: Kernel panic installing android
by socratis » 20. Aug 2016, 23:57
Absolutely. Not only that, but you don’t even see 4 GB, you see less than 3. There was recently a thread talking about this exact issue. I’ll try to find it, but I believe it had to do with a BIOS update.
No connection whatsoever.
Re: Kernel panic installing android
by eeeeelm » 21. Aug 2016, 00:29
Thanks So, I try to change this settings and I come back to let you know if it works. Edit: Yes, it worked, thank you. I did not wondered it did mean that virtualization was disabled. My knowledges are so low :p I am now going on with the android os installation
Now I just have to discover why did that guy installed a 32 bit OS, i hope just not because he installed an OEM 32 bit version, since the OS here installed is OEM and I discovered that those version can only install the 32 or 64 bit they are
Edit2: I got some more problems. When I go on the installation, especially when I have to create partitions I cannot follow step by step that guide since some options are dfferent. The first one is that i cannot choose ext3 but only ext4 but I do not think it makes any issue. Then when I am creating the partitions I got any evident option to make those ones bootable partitions, The first time I thought it was all setted by default, anyway when I finish the installation procedure, and I remove the ISO from the archiviation device and start again the virtual machine it finds no bootable devices and goes on fatal error and it shuts down.
In the guide the steps are theese: giuseppefava . com/wp-content/uploads/2014/05/3-create_partition.png?4d4ff5 giuseppefava . com/wp-content/uploads/2014/05/4-create_partition.png?4d4ff5 giuseppefava . com/wp-content/uploads/2014/05/5-create_partition.png?4d4ff5 giuseppefava . com/wp-content/uploads/2014/05/6-create_partition.png?4d4ff5
But I have the menu setted as here:
Where should I look to solve this issue? Next post I’ll upload the screenshot to ask if I am right on what the problem is.
Источник
virtualbox.org
End user forums for VirtualBox
Board index‹General‹VirtualBox on Windows Hosts
Change font size
Print view
FAQ
Login
Kernel panic installing android
Kernel panic installing android
by eeeeelm » 20. Aug 2016, 03:31
Hi I am trying to install androidx86 6.0 rc2 on virtual box 5.1.4-110228 The computer host mount windows 7 home Premium sp1, with an intel core i7-2670QM cpu @2.20GHz, 8 gb ram (it says 2.45gb usable) and is 32bit
I setted the virtual machine with linux 2.6/3.x/4.x 32bit 1024Mb ram and 8.0 Gb hard disk
When I try to install android from the iso, it says kernel panic — not syncing; Attempted to kill the idle task Kernel offset: disabled and reboots
What does this means? I give you screenshot since I do not know where should I look to get more useful infos, since I neither know what this error means. I am sorry for my ignorance
Re: Kernel panic installing android
by socratis » 20. Aug 2016, 09:28
Re: Kernel panic installing android
by eeeeelm » 20. Aug 2016, 13:40
Re: Kernel panic installing android
by socratis » 20. Aug 2016, 20:45
I would fix this if I could. You’ll have to look up your manufacturer’s user manual on how to enable VT-x in the BIOS. Other than that, I just run the VM with the defaults. I didn’t install it, I just run the Live Mode.
But you might also run into a problem due to not having enough free memory:
Re: Kernel panic installing android
by eeeeelm » 20. Aug 2016, 22:07
Ok, I try to reset the ram on 512MB since I have 8 Gb on this laptop and I cannot change the hardware. But the fact that I only have 2509MB Ram available is due to the othe running applications or what? [Edit: I think it is caused by the fact that the win7 version installed is home premium 32bit that supports not more than 4gb of RAM. Right?] [Re-Edit: One year ago this pc had some problems to the hard disk. After I brought it to a friend I found it was running slowly than before. He told me because of the cheaper HDD installed. Now I discovered that here is running a 32 bit OS on a 64 bit processor, and it came to my mind that before I brought this laptop to repair it was running a 64bit OS. So the problem is not only due to the cheaper HD but also due to the 32bit OS that is unable to use all the 8GB of RAM, so I just have 2509MB of RAM available on the 8 GB hardware RAM installed. Am I right? Could the fact he installed a 32bit OS be related to the kind of HD he installed? ST9160314AS ATA device]
Anyway, you think the kernel panic is due to that error you quoted or there could be another way to try fixing it? Since this is not my laptop I’d prefer to do not change bios settings I don’t know what are related to.
Re: Kernel panic installing android
by socratis » 20. Aug 2016, 23:57
Absolutely. Not only that, but you don’t even see 4 GB, you see less than 3. There was recently a thread talking about this exact issue. I’ll try to find it, but I believe it had to do with a BIOS update.
No connection whatsoever.
Re: Kernel panic installing android
by eeeeelm » 21. Aug 2016, 00:29
Thanks So, I try to change this settings and I come back to let you know if it works. Edit: Yes, it worked, thank you. I did not wondered it did mean that virtualization was disabled. My knowledges are so low :p I am now going on with the android os installation
Now I just have to discover why did that guy installed a 32 bit OS, i hope just not because he installed an OEM 32 bit version, since the OS here installed is OEM and I discovered that those version can only install the 32 or 64 bit they are
Edit2: I got some more problems. When I go on the installation, especially when I have to create partitions I cannot follow step by step that guide since some options are dfferent. The first one is that i cannot choose ext3 but only ext4 but I do not think it makes any issue. Then when I am creating the partitions I got any evident option to make those ones bootable partitions, The first time I thought it was all setted by default, anyway when I finish the installation procedure, and I remove the ISO from the archiviation device and start again the virtual machine it finds no bootable devices and goes on fatal error and it shuts down.
In the guide the steps are theese: giuseppefava . com/wp-content/uploads/2014/05/3-create_partition.png?4d4ff5 giuseppefava . com/wp-content/uploads/2014/05/4-create_partition.png?4d4ff5 giuseppefava . com/wp-content/uploads/2014/05/5-create_partition.png?4d4ff5 giuseppefava . com/wp-content/uploads/2014/05/6-create_partition.png?4d4ff5
But I have the menu setted as here:
Where should I look to solve this issue? Next post I’ll upload the screenshot to ask if I am right on what the problem is.