update doc
This commit is contained in:
20
README.md
20
README.md
@@ -8,7 +8,7 @@ instances in Linux host (`Docker`, `K8S` etc.).
|
||||
Automation Test and more.
|
||||
|
||||
Currently supported:
|
||||
- Android S Preview (build by yourself)
|
||||
- Android 12 (`redroid/redroid:12.0.0-latest`, `redroid/redroid:12.0.0-amd64`, `redroid/redroid:12.0.0-arm64`)
|
||||
- Android 11 (`redroid/redroid:11.0.0-latest`, `redroid/redroid:11.0.0-amd64`, `redroid/redroid:11.0.0-arm64`)
|
||||
- Android 10 (`redroid/redroid:10.0.0-latest`, `redroid/redroid:10.0.0-amd64`, `redroid/redroid:10.0.0-arm64`)
|
||||
- Android 9 (`redroid/redroid:9.0.0-latest`, `redroid/redroid:9.0.0-amd64`, `redroid/redroid:9.0.0-arm64`)
|
||||
@@ -22,13 +22,13 @@ Tested Platforms:
|
||||
- Alibaba Cloud Linux 2 (amd64)
|
||||
- Alibaba Cloud Linux 3 (amd64 / arm64) with `podman-docker`
|
||||
- WSL 2 (Ubuntu) (amd64)
|
||||
- CentOS (amd64*, arm64*)
|
||||
- OpenEuler 20.03 (amd64, arm64*)
|
||||
- CentOS (amd64\*, arm64\*)
|
||||
- OpenEuler 20.03 (amd64, arm64\*)
|
||||
|
||||
\* means need customized kernel
|
||||
|
||||
## Quick Start
|
||||
*ReDroid* runs on modern linux (kernel 4.14+), and require some Android specific modules (binder, ashmem etc.)
|
||||
*ReDroid* runs on modern linux (kernel 4.14+), and require some Android specific modules (`binderfs`, `ashmem` etc.)
|
||||
check [kernel modules](https://github.com/remote-android/redroid-modules) to install these required kernel modules.
|
||||
|
||||
```bash
|
||||
@@ -47,15 +47,6 @@ scrcpy --serial <IP>:5555
|
||||
## -v ~/data:/data -- mount data partition
|
||||
## -p 5555:5555 -- 5555 for adb connect, you can run `adb connect <IP>`
|
||||
|
||||
# start with VNC support (NEED rebuild with `vncserver` module)
|
||||
docker run -itd --rm --memory-swappiness=0 --privileged \
|
||||
-v ~/data:/data \
|
||||
-p 5900:5900 -p 5555:5555 \
|
||||
<image> redroid.vncserver=1
|
||||
|
||||
## explains:
|
||||
## -p 5900:5900 -- connect by VncViewer via <IP>:5900
|
||||
|
||||
```
|
||||
|
||||
## Start Params
|
||||
@@ -84,9 +75,6 @@ params:
|
||||
- qemu.gles.vendor=mesa
|
||||
- ro.hardware.gralloc=gbm
|
||||
|
||||
VNC server (NEED rebuild with `vncserver` module)
|
||||
- redroid.vncserver=[0|1]
|
||||
|
||||
Virtual WiFi (Experiment in ReDroid 10, *build broken, fix soon*)
|
||||
- ro.kernel.qemu.wifi=1
|
||||
Virtual WiFi is still under development, make sure `mac80211_hwsim` exist (`modprobe mac80211_hwsim`).
|
||||
|
||||
@@ -8,11 +8,8 @@ ARG username
|
||||
|
||||
COPY sources.list etc/apt/sources.list
|
||||
|
||||
# gettext python-mako python3-mako used to build mesa3d
|
||||
RUN apt-get update && apt-get install -y git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip python gettext python-mako python3-mako
|
||||
|
||||
RUN curl -o /usr/local/bin/repo https://storage.googleapis.com/git-repo-downloads/repo \
|
||||
&& chmod a+x /usr/local/bin/repo
|
||||
# gettext python-mako python3-mako python-enum34 used to build mesa3d
|
||||
RUN apt-get update && apt-get install -y git-core gnupg flex bison gperf build-essential zip curl zlib1g-dev gcc-multilib g++-multilib libc6-dev-i386 lib32ncurses5-dev x11proto-core-dev libx11-dev lib32z-dev ccache libgl1-mesa-dev libxml2-utils xsltproc unzip python gettext python-mako python3-mako python-enum34
|
||||
|
||||
RUN groupadd -g $groupid $username \
|
||||
&& useradd -m -u $userid -g $groupid $username \
|
||||
|
||||
Reference in New Issue
Block a user