GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ltlly/redroid-script: 现在这个版本的magisk的zygisk模式可以正常开启了

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
assets
assets
 
 
stuff
stuff
 
 
tools
tools
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
redroid.py
redroid.py
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

省流版

不写15.0.0_64only 的原因是 zygisk 打不开

python3 ./redroid.py -a 14.0.0_64only -m

然后docker启动后 设置里面开zygisk 重启即可

比原repo多了几个系统选项, 修复了zygisk不能开启的bug

Remote-Android Script

This script adds Gapps, Magisk and libndk to redroid without recompiling the entire image If redroid-script doesn't work, please create an issue

Dependencies

  • lzip

Specify container type

Specify container type. Default is docker

option:

 -c {docker,podman}, --container {docker,podman}

Specify an Android version

Use -a or --android-version to specify the Android version of the image being pulled. The value can be 8.1.0, 9.0.0, 10.0.0, 11.0.0, 12.0.0, 12.0.0_64only or 13.0.0. The default is 11.0.0.

# pull the latest image
python redroid.py -a 11.0.0

Add OpenGapps to ReDroid image

python redroid.py -g

Add liteGapps to ReDroid image

python redroid.py -lg

Add MindTheGapps to ReDroid image

python redroid.py -mtg

Add libndk arm translation to ReDroid image

libndk_translation from guybrush firmware.

libndk seems to have better performance than libhoudini on AMD.

python redroid.py -n

Add Magisk to ReDroid image

Zygisk and modules like LSPosed should work.

python redroid.py -m

Add widevine DRM(L3) to ReDroid image

python redroid.py -w

Example

This command will add Gapps, Magisk, Libndk, Widevine to the ReDroid image at the same time.

python redroid.py -a 11.0.0 -gmnw

Then start the docker container.

docker run -itd --rm --privileged \
    -v ~/data:/data \
    -p 5555:5555 \
    redroid/redroid:11.0.0-gapps-ndk-magisk-widevine \
ro.product.cpu.abilist=x86_64,arm64-v8a,x86,armeabi-v7a,armeabi \
    ro.product.cpu.abilist64=x86_64,arm64-v8a \
    ro.product.cpu.abilist32=x86,armeabi-v7a,armeabi \
    ro.dalvik.vm.isa.arm=x86 \
    ro.dalvik.vm.isa.arm64=x86_64 \
    ro.enable.native.bridge.exec=1 \
    ro.dalvik.vm.native.bridge=libndk_translation.so \
    ro.ndk_translation.version=0.2.2 \

If you need to use libndk on redroid:12.0.0_64only image, you should start the container with the following command

docker run -itd --rm --privileged \
    -v ~/data12:/data \
    -p 5555:5555 \
    redroid/redroid:12.0.0_64only-ndk \
    androidboot.use_memfd=1 \
    ro.product.cpu.abilist=x86_64,arm64-v8a \
    ro.product.cpu.abilist64=x86_64,arm64-v8a \
    ro.dalvik.vm.isa.arm64=x86_64 \
    ro.enable.native.bridge.exec=1 \
    ro.dalvik.vm.native.bridge=libndk_translation.so

Troubleshooting

  • Magisk installed: N/A

    According to some feedback from WayDroid users, changing the kernel may solve this issue. https://t.me/WayDroid/126202

  • The device isn't Play Protect certified

    1. Run below command on host
    adb root
    adb shell 'sqlite3 /data/data/com.google.android.gsf/databases/gservices.db \
    "select * from main where name = \"android_id\";"'
    
    1. Grab device id and register on this website: https://www.google.com/android/uncertified/
  • libndk doesn't work

    I only made it work on redroid/redroid:11.0.0. Also, turning on Zygisk seems to break libndk for 32 bit apps, but arm64 apps still work.

  • libhoudini doesn't work

    I have no idea. I can't get any version of libhoudini to work on redroid.

Credits

  1. remote-android
  2. waydroid_script
  3. Magisk Delta
  4. vendor_intel_proprietary_houdini

About

现在这个版本的magisk的zygisk模式可以正常开启了

Topics

androiddockermagiskpythonredroidzygisk

Resources

Readme
MIT license
Activity

Stars

13 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.