Skip to content

Instantly share code, notes, and snippets.

@veritas06
Last active July 12, 2024 12:15
Show Gist options
  • Save veritas06/0b1978ab48ab64e670ebd59e68c9a698 to your computer and use it in GitHub Desktop.
Save veritas06/0b1978ab48ab64e670ebd59e68c9a698 to your computer and use it in GitHub Desktop.
Guide on installing stock Android GSI on the r1 through Windows

Android on Rabbit r1 through Windows 11

July 11, 2024

  • Trying to get this working again from my Surface Laptop with win11 21H2.

git clone https://github.com/RabbitHoleEscapeR1/r1_escape.git winget install Git.Git winget install Python.Python.3.12 winget install Google.PlatformTools

Invoke-WebRequest -URI "https://github.com/RabbitHoleEscapeR1/r1_escape/releases/download/20240605/system.img.xz" -OutFile "system.img.xz"

  • Manually extract the system.img.xz that was downloaded.
  • Run the script:

./r1.ps1

  • I updated the script to not flash anything because I don't want to lose Lineage, but MTKClient was able to detect the device, no disabling driver signing or anything else special.

Stock Android for Rabbit r1 via Windows

July 03, 2024

Environment

Begin

  • Before starting anything, make sure you BACK UP your r1 to be safe.
    • Choose a directory to be your work area. I usually like placing things in ~/Development/, but completely up to you.
    • git clone https://github.com/RabbitHoleEscapeR1/r1_escape.git
    • If you check your current directory, you should now see "r1_escape". Enter that directory with cd r1_escape
    • git clone https://github.com/AgentFabulous/mtkclient.git
    • cd mtkclient
    • pip install -r .\requirements.txt
    • You should now have what you need to make a backup of your r1. Feel free to adjust the paths below if you would like to store the backups elsewhere
    • mkdir BAK
    • python .\mtk rl --skip userdata .\BAK\
    • Power off your r1 from the Settings & connect it to your computer.
  • Start Here: GitHub: RabbitHoleEscapeR1 / r1_escape

Sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment