Kernel-based Virtual Machine support - Realme XT Questions & Answers

Hello Everybody,
I wanted to try to install some Linux and Windows distributions via Limbo and came across the question for the number of cores for the virtual machine.
As I checked in the defconfig file of the kernel used in crDroid 6.7 (/arch/arm64/configs/defconfig), the required modules are activated:
CONFIG_VIRTUALIZATION=y
CONFIG_KVM=y​
When I check if KVM is installed, by typing "ls /dev/kvm" in the terminal, as suggested in the Limbo Wiki, it shows me that it doesn't exist.
Is there a way to activate KVM and use all 8 cores of the Realme XT?

idk

Related

Wanting to get into cooking roms ect and need some help

Hi XDA, i wan't to look into developing roms, for the Evo 3D GSM in particular, im new to any kind of android development so looking for support, i have done some development before but only in visual studio + XNA game studio.
I will need help setting up my development pc from scratch which could either be of two setups that are listed below:
Acer Aspire M1500
Windows 7 Desktop
AMD Athlon 64 X2 Dual Core 4000+ 2.10GHz
3GB DDR2 RAM
1TB HDD, 750GB HDD, 200GB HDD, 160GB HDD
512MB DDR2 ATI Radeon HD4350 Graphics Card
I can setup a dual boot with ubuntu/linux but as this is my main pc i'd like to keep it as it is, but that depends whether my next pc can handle development.
Samsung NC10
Windows 7 + Android x86 ICS Build
Intel Athlon 1.66GHz Single Core
1GB DDR2 RAM
250GB HDD
256MB Intel GMA950 (Integrated) Graphics Card
Ideally i'd like to use my netbook as i rarely use it and if a dual boot were to mess up it wouldn't matter as there's nothing important on the Windows 7 install but if i can develop from within windows 7 via VM ect then i'll use the desktop as it has a larger monitor hooked up to it so if someone can point me in the right direction i'd highly appreciate it.
If a DEV can spare some time to help add to the DEV scene (noticed the GSM Evo has a very small amount of DEV's) I'd be willing to donate my time to use my phone to help out with testing builds ect.
Thanks in advance
-XeX_DuBwoofer_x
EDIT: Going to dual boot with Ubuntu 12.04, what do people recommend? install onto my netbook's second partition (currently has android installed) reccomend me a partition size!
OR
install to the 160GB HDD in my desktop
50GB will be enough for Ubuntu (or Arch, or Gentoo, or Debian, or whatever) + Android sources + compilation stuff.
I would suggest to use ArchLinux tho - it's more optimized and like a bleeding edge.
There is no matter on what you should develop - but IMHO it will be easier under native linux (not virtualized).
After installing system the only thing you need to start develop - download sources and edit them
Compilation stuff is easy as a pie - get repo's, "lunch", "mka bacon". To rebuild 1 thing do "mm" at root directory of that thing.
Do you want to know more? I hope I can help you somehow...
BTW I quite sure that you can build whole android on your netbook but it will be like 10-12 hours of building. Also it will run out of memory sometimes, so you will need to restart "mka bacon" OR you can do it with "make bacon" - it requires less memory and (as you have only 1 CPU) it can be the right way.
You need to check yourself the time of compilation. Also you can train your skills about installing linux
I think you shouldnt remove android from second partition - instead you can use "gparted" while booted to live Ubuntu to resize partitions online. That can lead to loss of data but I never had one. (I was resizing ntfs, fat32, ext2, ext3, ext4, reiserfs)
Actually I'm not quite sure bout how much RAM should you have, but I think 16GB is enough On my new laptop (which is now unusable due to coller stuff, but rescue flies from China right now) it could ran of memory with 8GB of RAM.
SecFry said:
50GB will be enough for Ubuntu (or Arch, or Gentoo, or Debian, or whatever) + Android sources + compilation stuff.
I would suggest to use ArchLinux tho - it's more optimized and like a bleeding edge.
There is no matter on what you should develop - but IMHO it will be easier under native linux (not virtualized).
After installing system the only thing you need to start develop - download sources and edit them
Compilation stuff is easy as a pie - get repo's, "lunch", "mka bacon". To rebuild 1 thing do "mm" at root directory of that thing.
Do you want to know more? I hope I can help you somehow...
Click to expand...
Click to collapse
Thanks for checking this out i will take your suggestions as im a massive noob where Android development concerns me.
I'll install it on my desktops 160GB HDD and add another NTFS partition for all work i do so i can access it from windows easily, so firstly i will download and install ArchLinux on my pc, if you can run me through everything from installing everything on ArchLinux to starting a CM9/AOSP ICS Evo 3D GSM Rom that would be great i have no idea what i need to download ect
P.S i tried your rom out and i like it but i'd like to be able to contribute to things
EDIT: I'll covert my 160GB HDD into 2 Partitions 1x 60GB for ArchLinux + 100GB For everything else
1. Get free space on HDD.
Do it with gparted on ubuntu live or with console like things.
2. Make partition setup.
Do it with gparted on ubuntu live or you can do it in ArchLinux installation process.
3. Then download "https://www.archlinux.org/iso/2011.08.19/archlinux-2011.08.19-core-i686.iso.torrent" - x86 build.
Or this one - "https://www.archlinux.org/iso/2011.08.19/archlinux-2011.08.19-core-x86_64.iso.torrent" - x64 build.
4. Read this until point 4 - https://wiki.archlinux.org/index.php/Beginners'_Guide
BTW if you arent new to Linux, you can read this also - https://wiki.archlinux.org/index.php/Official_Installation_Guide
5. Install ArchLinux
6. Read the rest of - https://wiki.archlinux.org/index.php/Beginners'_Guide
7. While being root, run:
# pacman -Syu openjdk6 schedtool pngcrush curl
8. While being normal user, run: (http://source.android.com/source/downloading.html - Installing repo)
$ mkdir ~/bin
$ echo PATH="~/bin:\$PATH" >> ~/.bashrc
$ echo USE_CCACHE=1 >> ~/.bashrc
Logout, login and run:
$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
$ chmod a+x ~/bin/repo
9. Then do (https://github.com/CyanogenMod/android)
$ mkdir android_source
$ cd android_source
$ repo init -u git://github.com/CyanogenMod/android.git -b ics
$ repo sync
$ . build/envsetup.sh
To build android do:
$ lunch
$ mka bacon
I'm installing Ubuntu 12.04 Desktop as ArchLinux is giving me an error when booting from usb to install
EDIT: installing Ubuntu 10.04 as Android open source site says 10.04 is recommended
EDIT #2: I'm really beginning to dislike this already lol i can't get anything to install correctly on my pc for a dual boot setup other than getting ubuntu 12.04 to install but the open source site says "You will need a 64-bit version of Ubuntu. Ubuntu 10.04 is recommended. Building using a newer version of Ubuntu is currently only experimentally supported and is not guaranteed to work on branches other than master."
last ditch attempt to install Arch Linux, im using LiLi to download the iso and create a bootable usb to install it to my desktop's HDD fingers crossed it works, linux is a bum at times
Arch Linux install failed again with the error not enough memory to load desired image, i've just installed Ubuntu 12.04 fine but can't work out why Ubuntu 10.04 won't?
FIXED Arch Linux! had to disable "Memory Hole" in bios and now it's installing fine
I am going to cook roms also i am far on the way, just compiled my first htc evo 3D kernel, maybe we can fix those thing together? (Btw the kernel works but wifi is broken... )
Goob job! You are managed to pass tho your linux install
Now in console it's enough to contunie from step 7 of my miniguide.
If you want some GUI - you should read this https://wiki.archlinux.org/index.php/Xorg
As miniguide again its "pacman -S xorg-server xfce4 xfce4-goodies" and then "startxfce4" in console.
sjoerd0301 said:
I am going to cook roms also i am far on the way, just compiled my first htc evo 3D kernel, maybe we can fix those thing together? (Btw the kernel works but wifi is broken... )
Click to expand...
Click to collapse
Sounds goot to me! when i have the Arch Linux install all setup will hit you up!
SecFry said:
Goob job! You are managed to pass tho your linux install
Now in console it's enough to contunie from step 7 of my miniguide.
If you want some GUI - you should read this https://wiki.archlinux.org/index.php/Xorg
As miniguide again its "pacman -S xorg-server xfce4 xfce4-goodies" and then "startxfce4" in console.
Click to expand...
Click to collapse
Cheers man! couldn't have done it without your help, im going install both Xorg & KDE as i've used KDE in backtrack before it was more like a normal windows desktop setup
Which linux do you use now then?
I build using ubuntu.
Anybody knows how to build the wifi module for shooter_u ?
sjoerd0301 said:
Which linux do you use now then?
I build using ubuntu.
Anybody knows how to build the wifi module for shooter_u ?
Click to expand...
Click to collapse
currently i have setup Archlinux i686 version and im running KDE ontop so it has a GUI appearance
XeX_DuBwoofer_x said:
currently i have setup Archlinux i686 version and im running KDE ontop so it has a GUI appearance
Click to expand...
Click to collapse
The 64 bit version right? U really need a 64 bit environment
sjoerd0301 said:
The 64 bit version right? U really need a 64 bit environment
Click to expand...
Click to collapse
I686 is 64 bit yes but I can't seem to download multilib stuff :S
I told ya to use ubuntu or li ux mint or so.. i am building android right NOW !
sjoerd0301 said:
I told ya to use ubuntu or li ux mint or so.. i am building android right NOW !
Click to expand...
Click to collapse
yeah i installed Ubuntu 10.04 Lucid Lynx 64bit onto my other hdd downloading the JB repo atm then gonna download ICS
Actually i686 is x86. x86_64 aka amd64 aka x64 is different.
And no problem I'm pretty happy to see people trying to join dev-scene!
SecFry said:
Actually i686 is x86. x86_64 aka amd64 aka x64 is different.
And no problem I'm pretty happy to see people trying to join dev-scene!
Click to expand...
Click to collapse
realised that after i checked arch linux's info lol it said to download it for amd64 processors? :L i got messed up as my windows os was 32 bit and i copied the i386 folder (for drivers) and thought that was the architecture version lol! i got Ubuntu 10.04 LTS 64bit from their site now as its easier to work with

Combining the Android on Intel project with my manufacturer's source code

Hi,
I have a Lenovo Yoga tablet 2 10". It comes in two variants, the Windows version with a 32gb disk, and an Android version with a 16gb disk. From everything I can find out, those is the only difference between the two.
Because of projects like Android on Intel and Console OS I decided to buy the windows version with an intent of developing a dual boot tablet.
So, so far I have started the build process of the Intel baytrail target, and it has been running for a couple hours. everything is looking good though.
Next I am trying to build lenovo's kernel sources Located here for my tablet but had problems as I did not have the NDK and when I tried to install it on my debian wheezy machine, it complained about glibc being the wrong version, so I have to upgrade to sid to get glibc 2.17.
Anyway, my real question is, I can figure out how to build the Intel android installer, and I can figure out how to build a kernel, but How do I combine them?
The Intel make command, seems to build the kernel into some kind of installer, that then installs a bootlader (droidboot) and the rom on the tablet.

Wine on UT?

There is wine for ARM, and with the help of qemu i red that can even run x86 programs. There is a way to configure it in Ubutu Touch (maybe whit libertine)? (i mean wine or/and wine+qemu)
You will be doing a lot of this yourself as there are no guides for setting up WINE on ARM, let alone using the userspace qemu emulator to run the x86 version (which isn't even truly supported, and does not work under Libertine).
I can point you in the right direction, however WINE for ARM requires you to compile it yourself and is only useful for ported Surface RT applications compiled for ARM (there aren't many). The first thing you'll need to do is recompile the kernel for your device with binfmt_misc support, this will allow WINE to register itself with the kernel to run EXE files. The rest is rather straight-forward, install qemu-user-binfmt on the system image and then WINE, after that, you should be good to go. Mind you though, Libertine does not support WINE, and it does NOT run under WINE (I tried it with this exact configuration on my Nexus 7 and Libertine would simply crash rather than run WINE, however if you run WINE from the system image instead of the container, you should be able to get it to run. You'll need to remove wine-preloader before it will run though.)

Compiling an android kernel in Ubuntu 16.10

Hi. Can anyone tell me how to compile an android kernel in Ubuntu 16.10?
Upon compilation starting, there is a "make" error popping up about "Unrecognized option -EL", and the process is failing.
I've also tried the same in Ubuntu 16.04, and ended up with the same results.
For many days, I've stuck with Ubuntu 14.04 in Windows 10, a feature they introduced earlier in 2016, but I want a pure Linux environment badly and also, not that old 14.04.
So any clues?
I noticed the default gcc is 6.2 in 16.10 now(don't know if that's a problem though because I'm using a cross compiler)
Help please.

Android Virtual Device (AVD) can't run in Android Studio | HAXM can't be installed

Installing android virtual device (AVD) with Intel HAXM support
Installing HAXM via android studio sdk manager gives no error.. but in AVD Manager, an error displayed - "/dev/kvm is not found" and hence doesn't allow me to run AVD
Installing HAXM(6.1.2) by downloading from intel official website gives me an error "Failed to configure driver: unknown error. Failed to open driver" which I tried to resolve using this solution given on intel blog
But still not working for me as comments shows for few people it is not working too..
Now, Clicking on green run button gives me same error in addition it displays something more related to "enable Intel VT-x from bios"
Now, in my computer's bios settings.. there is no VT-x but just "Intel VT" feature that I enabled.. but still no difference.. same error message.. I tried uninstalling and reinstalling android studio and AVD.. still no solution
My PC config is :
4gb ram ddr3
Intel i3 550 3.20 ghz
BIOS version TCIBX10H.86A.0037 (not updated - latest firmware is TCIBX10H.86A.0048)
Intel hd graphics
500gb hdd
Windows 7 32bit
PS:
1. Hyper-v is not installed on my computer (may be not supported or Windows need to be installed, I never tried to install it myself)
2. There is no virtual box installed either
3. Sorry for bad english and I'm new to android app development also
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
zelendel said:
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
Click to expand...
Click to collapse
Thank you for your reply.
I have another PC of my colleague, but I don't know exact configuration of it. Still I came to know that it has 64-bit Windows 7 installed and some high end Nvedia graphics card installed. I'll try using it and let you know.
zelendel said:
One of your issues is that you are running a 32 bit system. Android devices tools require a 64 bit computer.
From what you have said about the missing bios option again tells me your pc is not compatible on a basic level. Not a whole lot you can do. Other then get a new pc to work with Android tools.
Click to expand...
Click to collapse
prattkool said:
Thank you for your reply.
I have another PC of my colleague, but I don't know exact configuration of it. Still I came to know that it has 64-bit Windows 7 installed and some high end Nvedia graphics card installed. I'll try using it and let you know.
Click to expand...
Click to collapse
Problem continues even on other PC and I could never find why the error continued even if I got VT - x supported and enabled on both the PCs now.. (I checked using 'Intel® Processor Identification Utility' and 'securable.exe') finally i had to move on to 3rd party emulators which run on VirtualBox (like Genymotion).

Categories

Resources