Error with running an app - Android Studio

Hi, I'm trying to run a program with android studio but I get this message;
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure KVM is properly installed and usable.
CPU acceleration status: KVM is not installed on this machine (/dev/kvm is missing).
I'm using linux if that makes a difference. Please! Any help is appreciated.

Sdistant said:
Hi, I'm trying to run a program with android studio but I get this message;
emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure KVM is properly installed and usable.
CPU acceleration status: KVM is not installed on this machine (/dev/kvm is missing).
I'm using linux if that makes a difference. Please! Any help is appreciated.
Click to expand...
Click to collapse
Turn on Virtualization from Bios and change ram of vrtx according to ur avd device
Sent from my SM-G530H using XDA Free mobile app

Related

[Q] Installing Linux on Android

I have installed Ubuntu on my android phone by following the nexusonehacks.net guide. All is working well. The reason I am creating this thread is because in nexusonehacks.net guide he mentions that he got his ubuntu.img from some guys at the xda forums.
I am wanting to get an ARM img of mint linux (LXDE version) and while I have spent countless hours trying to figure out how to install mint linux with an ARM emulator it appears to be above my linux knowledge.
I know that mint linux is based on ubuntu and should have the latest linux kernel and therefor has ARM support built in already, so that is not a problem, no need to compile a kernel with support for ARM.
Basically I am just looking for someone who is running an ARM emulator or has an ARM based laptop to install mint linux (LXDE version) and do a disk dump of the HDD into an image file I can then use to replace the ubuntu.img file I am currently using on my phone.
If this would be a simple task for someone to do and upload the image, I would be most appreciative.
It would be best if I could have the dev who provided the original ubuntu.img file to nexusonehacks.net do the dd of mint linux as I am sure he knows all of the details of how to do a proper dd for use on an android phone. If anyone can point me in the direction of that particular dev, that would be great, thanks!
Buddy of mine was working on gentoo for his N900, which is an ARM proc. Ubuntu has an emulator for that, he said that it seems only ubuntu does, but you run a virtual machine with an ARM emulator. Thing is that I'm not sure if a standard ARM emulator would work too well, the chip on the N1 has some extra stuff on it apparently
It sounds to me complicated because Linux Mint is not distributed for ARM...
Take Debian
I know I did not helped, I just gived my advice on how to get Linux on Android phones: get debian which is available for tons of architectures, including ARM, natively.
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Getting debian and LXDE running on the N1 is pretty easy to do. There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
jairuncaloth said:
Well, it doesn't really work that way. If the distribution doesn't have their packages built for ARM then it's not going to work. Yes the kernel supports ARM but it still has to be built specifically for the processor it's going to run on. That goes for most other software packages too.
Click to expand...
Click to collapse
I guess you were talking about Ubuntu, not Debian?
jairuncaloth said:
Getting debian and LXDE running on the N1 is pretty easy to do.
Click to expand...
Click to collapse
Very easy: Debian is available for ARM:
[alpha][amd64][arm][armel][hppa][i386][ia64][mips][mipsel][powerpc][sparc][s390][source][multi-arch]
jairuncaloth said:
There is a guide buried a few pages down in this forum. Also, I'm hoping to release a script to help automate much of the install soon.
Click to expand...
Click to collapse
I would love to see that.
Well this pretty much answers my question. Thank you very much. At least I have ubuntu running on it, I will be happy with that.
Sent from my Incredible.

How to Develop Roms For LG GT540

As the topic says, i want to start developing or porting ROMs/Kernels
for the LG GT540 or any other phone.
I know a fair amount of computing and game developing. So can
anyone tell me what the requirements are for developing a simple ROM.
For example like how much RAM i need on my PC and need to learn Java c++ and etc.
I do know how to make an android app but couldn't put it in the market
as i need a license which i didn't buy. I don't know how to make 3d games
and stuff i can only make simple 2d apps.
I did read some stuff here:
http://developer.android.com/guide/index.html
http://source.android.com/source/initializing.html
and a lot more.
I know developing isn't easy but i do like technology and stuff like that,
so that is why i want to learn.
Thanks.
http://www.tabletroms.com/index.php...oid-source-code-heavy-duty-machines-required/
pcfighter said:
http://www.tabletroms.com/index.php...oid-source-code-heavy-duty-machines-required/
Click to expand...
Click to collapse
****...
i think building ICS is a bit too advanced for me. Maybe requirements for
AOSP for building from CM sources?
It's good to have dual core processor and you must have more than 1GB ram (otherwise linux system will kill process, because he will don't have memory). And maybe 30 GB disk space.
Firstly you'll need C++ and Java. But that's not all. You'll need to understand the structure of the Android source and kernel and how they work. You need to know how to write your own device configs and makefiles. And you must know how to solve errors.
Your build machine should meet the requirements for building Android. On my machine, Gingerbread is ready for 2 hours. Here are my specs:
Intel Core i5 430M Dual-Core Processor 2,53GHz
4GB RAM
Ati Mobility Radeon HD 4570 512MB Graphics card
500GB HDD
I'm afraid I can't help, but I want to know!
I spent only 2 Weeks learning batch and html, so I'm quite clever. I'm currently trying to learn java, then will learn C++
Sent from my LG GT540 Swift using Tapatalk
pcfighter said:
It's good to have dual core processor and you must have more than 1GB ram (otherwise linux system will kill process, because he will don't have memory). And maybe 30 GB disk space.
Click to expand...
Click to collapse
I have a dual-core processor and i have more than 1GB of ram.
despotovski01 said:
Firstly you'll need C++ and Java. But that's not all. You'll need to understand the structure of the Android source and kernel and how they work. You need to know how to write your own device configs and makefiles. And you must know how to solve errors.
Your build machine should meet the requirements for building Android. On my machine, Gingerbread is ready for 2 hours. Here are my specs:
Intel Core i5 430M Dual-Core Processor 2,53GHz
4GB RAM
Ati Mobility Radeon HD 4570 512MB Graphics card
500GB HDD
Click to expand...
Click to collapse
i will try building Froyo as i think it will be easier and less system
requirements will be needed.
Also i am trying it make linux boot through a USB. will this be a disadvantage?
Or is installing linux as part of system better?
liamwli said:
I'm afraid I can't help, but I want to know!
I spent only 2 Weeks learning batch and html, so I'm quite clever. I'm currently trying to learn java, then will learn C++
Sent from my LG GT540 Swift using Tapatalk
Click to expand...
Click to collapse
how did u learn it?
And how will u develop when u said u have no PC?
Maybe at school ;P
pcfighter said:
Maybe at school ;P
Click to expand...
Click to collapse
LOL.
Also is ubuntu a good ISO to use?
i will be changing PC soon to a better one so i am
trying to install linux on my USB.
is it possible to create a ROM from the phone?
Like booting into linux and then doing what you would do
on the PC?
androidboss7 said:
Also is ubuntu a good ISO to use?
i will be changing PC soon to a better one so i am
trying to install linux on my USB.
Click to expand...
Click to collapse
The better version is 10.10 , On the latest version (11.xx) Unity (new UI) is really big ****
http://releases.ubuntu.com/10.10/
and step by step installation
http://www.ubuntu.com/download/ubuntu/download
Man_u said:
The better version is 10.10 , On the latest version (11.xx) Unity (new UI) is really big ****
http://releases.ubuntu.com/10.10/
and step by step installation
http://www.ubuntu.com/download/ubuntu/download
Click to expand...
Click to collapse
Linux Mint is using gnome no unity
Sent from my LG GT540 Swift
androidboss7 said:
is it possible to create a ROM from the phone?
Like booting into linux and then doing what you would do
on the PC?
Click to expand...
Click to collapse
Hehe, try to load your backup in emulator
The most important thing is to know how to make Device configuration files and makefiles. Can anybody explain? Plzzz!!!!
androidboss7 said:
how did u learn it?
And how will u develop when u said u have no PC?
Click to expand...
Click to collapse
YouTube!
I'm planning to get a PC when my payback is in my bank account (Monday). It won't be very good though.
Sent from my LG GT540 Swift using Tapatalk
despotovski01 said:
Firstly you'll need C++ and Java. But that's not all. You'll need to understand the structure of the Android source and kernel and how they work. You need to know how to write your own device configs and makefiles. And you must know how to solve errors.
Your build machine should meet the requirements for building Android. On my machine, Gingerbread is ready for 2 hours. Here are my specs:
Intel Core i5 430M Dual-Core Processor 2,53GHz
4GB RAM
Ati Mobility Radeon HD 4570 512MB Graphics card
500GB HDD
Click to expand...
Click to collapse
Lol similar specs!!! Just that mine is a i5 480M and has 1gb graphic memory
And no don't run from USB all settings wont be saved like wallpaper every boot resets everything
Is much simpler install ubuntu on hdd
if you build android on a usb you wil ran out of space
i want to learn too lol
I want to kill my phone so now dl'ing ubuntu and ICS sources.
How about installing on a virtual machine? It will may have lower performance (depending on settings) but installing on a hard drive isn't reversible.
jhonnyx1000 said:
How about installing on a virtual machine? It will may have lower performance (depending on settings) but installing on a hard drive isn't reversible.
Click to expand...
Click to collapse
Ubuntu is easily removable with windows explorer

What is needed to be an android developer?

What is needed to be an android developer? What things I have to learn to develop apps and make custom roms or kernels?
It isnt that easy. Just an app that is slightly complex can take 3-4 months if you have 0 knowledge before you start
Sent from my LG-P880 using xda app-developers app
alekthefirst said:
It isnt that easy. Just an app that is slightly complex can take 3-4 months if you have 0 knowledge before you start
Sent from my LG-P880 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply. I am going to learn C, C++, VB.NET, Linux and Java. After an year and three months my course will complete. I want to know, what is needed more to learn. Please tell.
C language is the base for kernel development.. ROM is not difficult to make/develop/mod.. but Kernel is.. good luck friend
Sent from my LG-P990 using xda premium
Subhajitdas298 said:
Thanks for the reply. I am going to learn VB.NET, Linux and Java. After an year my course will complete. I want to know, what is needed more to learn. Please tell.
Click to expand...
Click to collapse
Visual Basic .NET is not required for android developing. VB (.NET) was created by Microsoft and is supposed to run and supported only on Windows. (can be emulated on linux though..)
Linux: you need to specify what you want to learn about linux. How to access the terminal, know the different shells (sh, bash, zsh, ..) and how to use them (executing commands, creating scripts, using system variables, pipes, ...). It's also good to know the boot process and how it's working to boot into linux (kernel -> initial ramdisk --> init --> usermode).
Another thing is how to compile applications using gcc and understanding the automatic building process using Makefiles and how to configure it (using defines, ./configure) to make a build that fits your need.
Other things to learn and understand: debugfs, tmpfs, ramfs, procfs, devfs, sysfs, ramdisk structure, and much more.
Also important are the differences between linux distributions. They all have it's own way to process different operations, for example, installing and updating the distribution or apps. (debian/ubuntu -> apt-get, fedora -> yum, suse -> yast, ...)
Java: only needed if you want to develop android apps running in userspace executed by the dalvik virtual machine (=> normal apps that run on android os). Java's coding syntax is based on C's. When coding apps for android os be sure you get used with the android sdk.
C: not bad to know. You can do kernel stuff and develop apps that can be executed by the linux/android kernel directly without involving the dalvik-vm which allows you to access internal things. Custom recoverys, for example, were developed using C and the android ndk with a modified ramdisk to execute the recovery binary instead of the dalvik-vm which initializes android.
C++: not really needed, but it supports object oriented programming which makes everything better structured and understandable. The android ndk has some support for c++ header files to work with.
So.. one year isn't enough. There is so much to learn and it's really not easy.. more frustrating
Then finally you can start to work build roms for a specific device, because every device has other hardware components and different ways to do this and that. You need to know and understand them to successfully develop software that runs fine on the specific device.
gordon0001 said:
Visual Basic .NET is not required for android developing. VB (.NET) was created by Microsoft and is supposed to run and supported only on Windows. (can be emulated on linux though..)
Linux: you need to specify what you want to learn about linux. How to access the terminal, know the different shells (sh, bash, zsh, ..) and how to use them (executing commands, creating scripts, using system variables, pipes, ...). It's also good to know the boot process and how it's working to boot into linux (kernel -> initial ramdisk --> init --> usermode).
Another thing is how to compile applications using gcc and understanding the automatic building process using Makefiles and how to configure it (using defines, ./configure) to make a build that fits your need.
Other things to learn and understand: debugfs, tmpfs, ramfs, procfs, devfs, sysfs, ramdisk structure, and much more.
Also important are the differences between linux distributions. They all have it's own way to process different operations, for example, installing and updating the distribution or apps. (debian/ubuntu -> apt-get, fedora -> yum, suse -> yast, ...)
Java: only needed if you want to develop android apps running in userspace executed by the dalvik virtual machine (=> normal apps that run on android os). Java's coding syntax is based on C's. When coding apps for android os be sure you get used with the android sdk.
C: not bad to know. You can do kernel stuff and develop apps that can be executed by the linux/android kernel directly without involving the dalvik-vm which allows you to access internal things. Custom recoverys, for example, were developed using C and the android ndk with a modified ramdisk to execute the recovery binary instead of the dalvik-vm which initializes android.
C++: not really needed, but it supports object oriented programming which makes everything better structured and understandable. The android ndk has some support for c++ header files to work with.
So.. one year isn't enough. There is so much to learn and it's really not easy.. more frustrating
Then finally you can start to work build roms for a specific device, because every device has other hardware components and different ways to do this and that. You need to know and understand them to successfully develop software that runs fine on the specific device.
Click to expand...
Click to collapse
Isn't VB.NET not required to make PC apps to manage phone, like some kind of phone manager or hacker or something like that?
In short I have to learn linux in core level- is that right? They told me, they are going to teach ubuntu. Don't know if they are going to teach in core level. Is there any ebook to learn Linux deeply?
Sure you can use it for developing apps for windows but it doesn't allow you to build native/winapi dynamic link libraries (dll) which can be quite useful. VB. NET also doesn't allow you to build userspace(ring3)/kernelspace(ring0) drivers which is essencial for supporting new hardware.
VB is, in my opinion, only good for building simple apps with a nice user interface. Sure it's quite easy to learn, but you do have not the possibilities like you have with C, C++ or Delphi.
And yea, the internals of linux would be a good start. But also getting used with KDE and GNOME (desktop managers) which both are useable on ubuntu. Ubuntu is also good cause google officially supports building android stuff on it.
Gesendet von meinem LG-P880 mit Tapatalk 2
gordon0001 said:
Sure you can use it for developing apps for windows but it doesn't allow you to build native/winapi dynamic link libraries (dll) which can be quite useful. VB. NET also doesn't allow you to build userspace(ring3)/kernelspace(ring0) drivers which is essencial for supporting new hardware.
VB is, in my opinion, only good for building simple apps with a nice user interface. Sure it's quite easy to learn, but you do have not the possibilities like you have with C, C++ or Delphi.
And yea, the internals of linux would be a good start. But also getting used with KDE and GNOME (desktop managers) which both are useable on ubuntu. Ubuntu is also good cause google officially supports building android stuff on it.
Gesendet von meinem LG-P880 mit Tapatalk 2
Click to expand...
Click to collapse
Thanks for reply but I didn't get the first paragraph. Anyways, what is delphi?
like gordon0001 already said, when you're new to android, start with a ROM, never with a kernel it can make you go crazy
and trust me, i know what i'm talking about
so for the start, i'd suggest you to learn java, maybe experiment with some apps, and then make your own rom.
if you're used to it a bit, you might want to start messing around with kernels. therefor you need C.
but be warned, i cannot be held responsible if you go crazy
simple application, less requirement.
start with examples within the sdk
Sent from my LG-P880 using Tapatalk 2
laufersteppenwolf said:
like gordon0001 already said, when you're new to android, start with a ROM, never with a kernel it can make you go crazy
and trust me, i know what i'm talking about
so for the start, i'd suggest you to learn java, maybe experiment with some apps, and then make your own rom.
if you're used to it a bit, you might want to start messing around with kernels. therefor you need C.
but be warned, i cannot be held responsible if you go crazy
Click to expand...
Click to collapse
I am not saying, I am going to start right away. It will take me one or more years to learn everything. I am just asking, what is required other than java, c and c++?
Also, is there an Ebook, where I can learn (understand) linux? Specifically Ubuntu.
K9998 said:
simple application, less requirement.
start with examples within the sdk
Sent from my LG-P880 using Tapatalk 2
Click to expand...
Click to collapse
I will keep that in mind.
Subhajitdas298 said:
I am not saying, I am going to start right away. It will take me one or more years to learn everything. I am just asking, what is required other than java, c and c++?
Also, is there an Ebook, where I can learn (understand) linux? Specifically Ubuntu.
Click to expand...
Click to collapse
for the building/compiling process, batch wouldn't be that bad
and about ubuntu, i'd suggest learning by doing
it's not really hard. with a few commands you can live with linux quite well
laufersteppenwolf said:
for the building/compiling process, batch wouldn't be that bad
and about ubuntu, i'd suggest learning by doing
it's not really hard. with a few commands you can live with linux quite well
Click to expand...
Click to collapse
I am totally Linux noob. So, someone has to teach me.
Can you tell me how to install ubuntu alongside Windows 7? I want to install it on a blank partition. I have 64 bit downloaded and burnt on a dvd.
just boot the dvd, the GUI will guide you through
still some Qs, tho:
and for partitioning, have you already partitioned your hdd? and what is it's size?
how much RAM do you have?
and which linux have you downloaded/do you want to use?
laufersteppenwolf said:
just boot the dvd, the GUI will guide you through
still some Qs, tho:
and for partitioning, have you already partitioned your hdd? and what is it's size?
how much RAM do you have?
and which linux have you downloaded/do you want to use?
Click to expand...
Click to collapse
Already partitioned. Using for 2 years.
HDD Size - 1 TB.
Partitions (GB) - 97 (Win 7 service pack 1, 32 bit, ram lock removed), 97 (blank, want to use for Linux, ubuntu 13.04 64 bit), 147 (songs, movies etc.), 480 (games and software collection), all that is left (tv recordings and other stuff).
RAM - 6 GB DDR3.
Processor - Intel Core 2 Duo @ 2.93 GHz (overclock to 3.2 GHz).
GPU - ASUS NVIDIA GeForce 210 Silent 1 GB DDR3.
Total graphics ram - 37** MB.
Subhajitdas298 said:
Already partitioned. Using for 2 years.
HDD Size - 1 TB.
Partitions (GB) - 97 (Win 7 service pack 1, 32 bit, ram lock removed), 97 (blank, want to use for Linux, ubuntu 13.04 64 bit), 147 (songs, movies etc.), 480 (games and software collection), all that is left (tv recordings and other stuff).
RAM - 6 GB DDR3.
Processor - Intel Core 2 Duo @ 2.93 GHz (overclock to 3.2 GHz).
GPU - ASUS NVIDIA GeForce 210 Silent 1 GB DDR3.
Total graphics ram - 37** MB.
Click to expand...
Click to collapse
i, for one, would recommend xubuntu. no bloatware, nice UI, pure performance but it is your call for sure
and with 6GB RAM, swap should not be needed (i'm running xubuntu with 4GB RAM, and no need at all for swap )

[MultiROM] Debian for the Moto G

After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Dowloads​debian.mrom
setup_net.sh
The kernel is Optimus kernel by Flashhhh with a custom config
.
XDA:DevDB Information
Debian for the Moto G, ROM for the Moto G
Contributors
dvdkon
ROM OS Version: 5.1.x Lollipop
ROM Kernel: Linux 3.4.x
Based On: Debian
Version Information
Status: Testing
Created 2015-08-21
Last Updated 2015-08-29
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
navaneethkom said:
Can you consider mirroring it to androidfilehost??
Is that Ubuntu touch ???
Please give us more explanations and screenshots... Consider a video too
Click to expand...
Click to collapse
If I understand is a complete pc system , not a touch optimize system.Very useful for numerical computation, testing or something of similar.
The Ubuntu touch forum is this http://forum.xda-developers.com/moto-g/development/ubuntu-touch-utopic-ubuntu-touch-falcon-t2820359
I don't now if it is working on MultiRom.
(Sorry for my bad english)
good job D:
i've tried debian into android with the normal installer but this is awesome!
Thanks you!!
Enviado desde mi XT1032 mediante Tapatalk
What is this for? It is a PC for mobile Debian ?
Fedello7 said:
What is this for? It is a PC for mobile Debian ?
Click to expand...
Click to collapse
It is for Multirom, which is a program for dual booting an OS on an Android phone. Try searching.
Is it using a LXC Container ?
Where could I find kernel sources ?
h2o64 said:
Is it using a LXC Container ?
Click to expand...
Click to collapse
No, I'm just starting Debian instead of Android with my custom init script.
h2o64 said:
Where could I find kernel sources ?
Click to expand...
Click to collapse
I'm using the Optimus kernel with a few options changed (the config).
dvdkon said:
No, I'm just starting Debian instead of Android with my custom init script.
I'm using the Optimus kernel with a few options changed (the config).
Click to expand...
Click to collapse
Kernel changes are just about internet stuff isn't it ?
h2o64 said:
Kernel changes are just about internet stuff isn't it ?
Click to expand...
Click to collapse
I've only enabled sockets for all users and devtmpfs (for initramfs).
dvdkon said:
I've only enabled sockets for all users and devtmpfs (for initramfs).
Click to expand...
Click to collapse
Alright, thank you.
PS : Btw, do not forget to mention @Flashhhh for the kernel in the OP
The display work? The touch? A is for computer in a smartphone? Wow
Can anyone catch up to see how it looks ?
SLATE21&MOTOG said:
The display work? The touch? A is for computer in a smartphone? Wow
Click to expand...
Click to collapse
Nothing but USB works as of now, but I'm currently working on the display.
dvdkon said:
After a lot of work, I've been able to create a functioning MultiROM installer for a GNU/Linux distribution. Currently most things, such as WiFi, bluetooth, the display or the GSM modem, don't work. The only way to interface with the ROM while it's running is by connecting the phone to a computer, and then using ssh. My goal is getting all the phone-specific things working (WiFi first), and making GNU/Linux a viable primary OS for the Moto G.
Why GNU/Linux, when Android is already Linux-based?​
While it is true that what is possible with GNU/Linux is also possible with Android with a little bit of work, I don't like that Android is, at heart, an embedded system. This has some negative implications for hackers (not crackers) that would like to use it as a normal UNIX. For example, the whole system is treated as one big blob and many things can't be changed without recompiling., which is why there are so many ROMs available, and why they are not compatible between devices.
Guide​
Install the debian.mrom file as a normal MultiROM ROM via TWRP and select the ROM at bootup. Connect a USB cable from your computer to the phone. After around a minute, a new interface should appear on your computer (usb0 for most Linux distros, enp* for those using udev's "persistent" naming). Set its IP address to 10.0.10.1/24. Optionally, you can also set up internet access on that interface. The phone's IP address is 10.0.10.2. You can also use my script to setup the network (setup_net.sh) after changing wlp2s0 to your computer's internet-facing interface. You can then connect to the phone via SSH or a netcat shell on port 2323. The root password is root.
What I've learned about WiFi​
The WiFi setup procedure is complicated. First, the wcnss compound driver needs to be activated. Android does this by running wcnss_service, whose modified version (I basically just altered the paths and replaced Android logging with printf) I've included in the ROM (/sbin/wcnss_service). Wcnss_service does many things, but the only important one (AFAIK) is open()ing /dev/wcnss_wlan. After activating wcnss, the WiFi driver needs to be activated. Recent versions of Cyanogenmod have the driver built-in and activate it via WifiHAL (I have no idea how...), I've decided to instead build the driver as a kernel module (/wlan.ko). Insmoding the LKM does something, but the initialization fails, and I don't know why.
Click to expand...
Click to collapse
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
sub77 said:
hi. from time to time iam working on the same, a native linux booted with multirom.
it could fail because of missing firmware and dont getting the mac.
please pm me for support.
Click to expand...
Click to collapse
Sorry for the late reply.
I have made sure that the firmware gets loaded properly, though that was a problem at first. I'm not so sure about the MAC address, though. If you get any further information, please post it in this thread. Development is currently its only purpose.
Something new??
Enviado desde mi Moto G mediante Tapatalk
luteriace said:
Something new??
Enviado desde mi Moto G mediante Tapatalk
Click to expand...
Click to collapse
i have wifi running. next step is framebuffer.
Is there a way of help you with this?
I'd love to see this running on falcon.

[ANNOUNCEMENT] Introducing Remix OS Player - Android Marshmallow emulator for PC

We’ve just released Remix OS Player, an Android Marshmallow emulator that lets you run Android games and apps directly on your Windows PC.
Download it here: www.jide.com/remixos-player, play with it and give us feedback here: http://bit.ly/2cxZhBs.
Check out the video intro here: https://www.youtube.com/watch?v=zLcCYmWTl-g
Remix OS Player is now the easiest way for you to experience Remix OS, especially if you still haven’t been able to get it working on your PC.
And, just like Remix OS for PC, it’s free.
Give us feedback and let’s build it together.
hopeful
i think it will be better than bluestacks and andy... tns jide team
Good to know you're getting into the android emu competition!
I've been testing several android emulators on my device, and I sue mostly MEMU as it is the fastest and most stable.
Still, having RemixOS as an emu on Windows 10 would be great. I made a few tests and here are my impression:
- not enough setting on the advanced tab before booting up. I'd like to assign more RAM and CPU cores, and most importantly, a higher resolution as my device has a 2160x1440 resolution.
- Performance is quite low, maybe it will be better if I can assign more resources.
- no full screen mode - this is essential for running it as a real emulator
- I can't find a way to share files and APKs from my windows partition as in other emulators
Looking forward for more updates
Can't boot. Stuck at loading screen. Not sure why. Or do I need to wait longer?
Surface Pro 3.
Edit: Never mind. I reinstalled and it works now.
This is what I get:
emulator: ERROR: x86_64 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: Unable to open HAXM device: ERROR_FILE_NOT_FOUND
Please help!
This is great. I've had Remix OS as a dual boot option on my Windows 8.1 laptop. But wanted something that I can quickly switch between Android and Windows, rather than reboot each time. Recently found LeapDroid and it perfectly fits my bill so far. I'm glad Remix is jumping on the VM direction as well. I'll check the OS player.
---------- Post added at 11:01 AM ---------- Previous post was at 10:42 AM ----------
Getting this error. Looks like VT-x needs to be turned on? I'll keep checking.
------------------------------------------------------------------------------------
emulator: ERROR: x86_64 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: VT feature disabled in BIOS/UEFI
---------------------------------------------------------------------------------------
Sadly the emulator isn't working for me. Starts loading up and then just closes without an error
Cursor issues
I installed the new Remix.exe and it appears to load fine but the cursor force moves to the left leaving me unable to click anything. Anyone else having issues? I am on a Lenovo 460s touchscreen model. I tried uninstalling and reinstalling but still having the same issue. Any help would be appreciated.
You need to install Intel HAXM
MartinDimchev said:
This is what I get:
emulator: ERROR: x86_64 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: Unable to open HAXM device: ERROR_FILE_NOT_FOUND
Please help!
Click to expand...
Click to collapse
You need to install Intel HAXM. I had the same issue and resolved it by installing Intel HAXM. It basically reserves a particular amount of RAM from your PC for running Android x86 sources. I have linked it in my guide here, have a look: http://techbeasts.com/download-remix-os-player-for-pc/
for the ones who does have virtualisation error ,you need to go to tools and instal intel haxm app.
it is a intel android emulator runtime provided with remix player.
now my feedback....
this need a full screen mode for the app.
it need to save settings for resolution/cores/ram.
it need ota updates.
It need stable and working play store.
It need smoother zoom and scroll.
The key mapper need to be in app instead of in rom.
it need open gl es 3.0 support.
need 4cores 4gb ram support.
and this absolutely need game controller support!
it need large hdd image support.(8 16 32 64 gb)
outside this everything is ok.
twacker said:
Sadly the emulator isn't working for me. Starts loading up and then just closes without an error
Click to expand...
Click to collapse
Install Intel HAXM and try it again It will work.
Can someone direct how to get google-apps and root on this one? Thanks.
This is only for Intel CPU?
tailslol said:
for the ones who does have virtualisation error ,you need to go to tools and instal intel haxm app.
it is a intel android emulator runtime provided with remix player.
now my feedback....
this need a full screen mode for the app.
it need to save settings for resolution.
it need ota updates.
it need open gl es 3.0 support.
and this absolutely need game controller support!
it need large hdd image support.
outside this everything is ok.
Click to expand...
Click to collapse
Did you face black screen on boot after launching it? If so, then how did you fix it?
um009 said:
Did you face black screen on boot after launching it? If so, then how did you fix it?
Click to expand...
Click to collapse
no black screen on me,i use a gtx 980 with a i7 4770k
i have enabled vt-d and virtualisation in my uefi bios and instaled intel haxm and set it for 4gb ram
and i use 3gb 720p 3cores in remix player.
um009 said:
You need to install Intel HAXM. I had the same issue and resolved it by installing Intel HAXM. It basically reserves a particular amount of RAM from your PC for running Android x86 sources. I have linked it in my guide here, have a look: http://techbeasts.com/download-remix-os-player-for-pc/
Click to expand...
Click to collapse
Can't be installed. Gives me error. Can't find driver or something. Saw in the comments on the download page many people have the same problem after Anniversary update... So messed up.
The guy that's saying to install it from the tools folder. What I need to install, there are many things.
tailslol said:
no black screen on me,i use a gtx 980 with a i7 4770k
i have enabled vt-d and virtualisation in my uefi bios and instaled intel haxm and set it for 4gb ram
and i use 3gb 720p 3cores in remix player.
Click to expand...
Click to collapse
I have the virtualisation enabled and also installed HAXM but its stuck on the black screen for me. Can't get across this
um009 said:
I have the virtualisation enabled and also installed HAXM but its stuck on the black screen for me. Can't get across this
Click to expand...
Click to collapse
your hardware is?
tailslol said:
your hardware is?
Click to expand...
Click to collapse
AMD Radeon HD 7600M Series
Core i7 - 3612QM
8 GB RAM.
um009 said:
AMD Radeon HD 7600M Series
Core i7 - 3612QM
8 GB RAM.
Click to expand...
Click to collapse
hoo a amd laptop gpu with laptop intel cpu...
with that you should not go beyond 2 cores.
or it can be hardware driver related.

Categories

Resources