elliott-wen / anbox-direct-gpu-access Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
ok, i have build emu gui as a.out ,
further created manually
~/.config/lxc/default.conf
~/.cache/lxc/
/etc/lxc/lxc-usernet
touched subuid and subgid file as it was not there at etc/* and then executed usermod to add subuid and subgid entry for current user
compiled nsexec and executed after extracting rootfs at ~/.local/share/lxc/android/rootfs
modified username in config file and placed at ~/.local/share/lxc/android as there was no config file there.
created container with
$lxc-create -t busybox -n android
Using Manjaro KDE 18.2
Sent from my Redmi Note 3 using FastHub-Libre
I ran a.out aka emu gui first so a transparent android window appeared ,now when i run lxc container ,i got
/system/bin/sh: No controlling tty: open /dev/tty: No such device or address
/system/bin/sh: warning: won't have full job control
lxc.network.type = veth
lxc.network.link = anbox0
lxc.network.flags = up
lxc.network.hwaddr = 00:16:3e:c1:d4:fe
lxc.id_map = u 0 100000 65536
lxc.id_map = g 0 100000 65536
lxc.rootfs = /home/genx/.local/share/lxc/android/rootfs
lxc.rootfs.backend = dir
lxc.mount.entry = /home/genx/emugui/disk/data data none bind,optional 0 0
lxc.mount.entry = /home/genx/emugui/disk/cache cache none bind,optional 0 0
lxc.mount.entry = /dev/dri/card0 dev/dri/card0 none bind,optional,create=file 0 0
lxc.mount.entry = /dev/dri/renderD128 dev/dri/renderD128 none bind,optional,create=file 0 0
lxc.mount.entry = /dev/binder dev/binder none bind,optional,create=file 0 0
lxc.mount.entry = /dev/uinput dev/uinput none bind,optional,create=file 0 0
lxc.mount.entry = /dev/ashmem dev/ashmem none bind,optional,create=file 0 0
lxc.mount.entry = /tmp/android-dbus host none bind,optional,create=dir 0 0
lxc.mount.entry = /tmp/android-dbus/input dev/input none bind,optional,create=dir 0 0
lxc.mount.entry = /dev/fuse dev/fuse none bind,optional,create=file 0 0
lxc.haltsignal = SIGUSR1
lxc.rebootsignal = SIGTERM
lxc.utsname = android
lxc.tty = 1
lxc.pts = 1024
lxc.tty.dir = ""
lxc.cap.drop = sys_module mac_admin mac_override sys_time
# When using LXC with apparmor, uncomment the next line to run unconfined:
lxc.aa_profile = unconfined
lxc.mount.auto = cgroup:mixed proc:mixed sys:mixed
lxc.autodev = 1
lxc.environment = PATH=/system/bin:/system/sbin:/system/xbin:/bin
lxc.init_cmd=/init
Logcat File :- https://drive.google.com/file/d/1SuNE7PN3ZeM5RuxqrJqiTAd72BbhtrL1/view?usp=sharing
Sent from my Redmi Note 3 using FastHub-Libre
building android AOSP on jetson nano. https://github.com/antmicro/kvm-aosp-jetson-nano
building anbox on arm64 https://github.com/HarleyPato/anbox-arm64
since docker & CUDA already works for nvidia Jetson, I wonder if anbox can work with jetson device with direct-gpu-access?
hi elliott!
i was deploy ubuntu 18.04 and install anbox-module.
and run emugui and lxc-start -F -n andriod command.
lxc container status running. but emugui show not anything.
blank android windows is show.
i wondering this is it? or something wrong?
also lxc start command after into container elliott shell. process adbd running but adb command not found.
plz tell me why..
thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.