Giter Club home page Giter Club logo

Comments (4)

whswhs1128 avatar whswhs1128 commented on August 26, 2024

pulled image is okay.
image

from redroid-doc.

whswhs1128 avatar whswhs1128 commented on August 26, 2024
self build image method:
# check supported branch in https://github.com/remote-android/redroid-patches.git
repo init -u https://mirrors.tuna.tsinghua.edu.cn/git/AOSP/platform/manifest --git-lfs --depth=1 -b android-13.0.0_r82

# add local manifests
git clone https://github.com/remote-android/local_manifests.git ~/redroid/.repo/local_manifests -b 13.0.0

1.add this manifest under .repo/local_manifests/mindthegapps.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
        <remote name="mtg" fetch="https://gitlab.com/MindTheGapps/" />
        <project path="vendor/gapps" name="vendor_gapps" revision="tau" remote="mtg" />
</manifest>

2.device/redroid/redroid_arm64/device.mk
$(call inherit-product, vendor/gapps/arm64/arm64-vendor.mk)

# sync code
repo sync -c -j80

# apply redroid patches
git clone https://github.com/remote-android/redroid-patches.git ~/redroid-patches
~/redroid-patches/apply-patch.sh ~/redroid

cd ~/redroid/out/target/product/redroid_arm64
sudo mount system.img system -o ro
sudo mount vendor.img vendor -o ro
sudo tar --xattrs -avcf redroid.tar.xz vendor -C system --exclude="./vendor" . 
sudo umount system vendor

xz -dcT0 redroid.tar.xz | sudo docker import -c 'ENTRYPOINT ["/init", "androidboot.hardware=redroid", "ro.setupwizard.mode=DISABLED"]' - redroid

run docker:
sudo docker run -itd --privileged \
    -v ~/data_2:/data \
	--name redroid \
    -p 5556:5555 \
    redroid \
	androidboot.redroid_gpu_mode=host \
	androidboot.redroid_gpu_node=/dev/dri/renderD128 \
	ro.product.brand=OnePlus \
	ro.product.name=OnePlus \
	ro.product.device=whs \
	ro.build.id=whs \
	ro.build.version.incremental=1

from redroid-doc.

zhouziyang avatar zhouziyang commented on August 26, 2024

please attach the full debug blob. check https://github.com/remote-android/redroid-doc?tab=readme-ov-file#troubleshooting

from redroid-doc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.