Skip to content

Instantly share code, notes, and snippets.

@veritas06
veritas06 / Rabbit_r1-Android_Guide.md
Last active August 4, 2026 21:23
Instructions to get stock Android or LineageOS21 on the Rabbit r1 (July 2024)

Android on Rabbit r1

Created: July 01, 2024

Last Edited: August 01, 2024

NOTICE: Should go without saying, but I am not responsible for your device. Below are the notes I've used to get my own Rabbit r1 running with the r1_escape image & LineageOS. You should have a vague idea of what you're doing before jumping into any of this, & make sure you have a stock backup before changing anything.

System Backup

  • Before making any changes, make sure you backup your stock partitions with MTKClient
  • ./mtk rl --skip userdata "path/to/backup"
@veritas06
veritas06 / SimpleCopyScript.sh
Created November 12, 2017 19:03
[Simple Copy Script] Putting this here just for notes really #bash
# Source: Ryan's Tutorials: Bash Scripting Tutorial - 2. Variables of 8
# URL: https://ryanstutorials.net/bash-scripting-tutorial/bash-variables.php
#!/bin/bash
# A simple copy script
cp $1 $2
# Let's verify the copy worked
@veritas06
veritas06 / Log_SSH_ADV.sh
Last active January 6, 2025 01:19
[Log SSH Session (Advanced)] Trying to add some items to the script, so making a new entry #bash
#!/bin/bash
# ------------------------------------------------------------------
# Sean P. McAdam: SSH Session Logging
# Script to log each SSH session
# ------------------------------------------------------------------
VERSION=0.2.0
SUBJECT=tech.v3ritas.log_ssh_adv
USAGE="Usage: log_ssh_adv -ivhc username destinationHost"
@veritas06
veritas06 / CMD-Reg&UnregDLLs.cmd
Created November 27, 2017 17:06
[CMD: Register & Unregister DLL's] This is how to use the .NET RegAsm tool to REGISTER & UNREGISTER DLL's. #CMD #dotNET #DLL
# The below commands are used for registering & unregistering DLL's with the .NET RegAsm tool:
#To Register:
SET WorkFolder= '<directory>'
regasm.exe %WorkFolder%\xxx.dll /Codebase
#To Unregister:
SET WorkFolder= '<directory>'
regasm.exe /unregister %WorkFolder%\xxx.dll
@veritas06
veritas06 / PS-Script_Template.ps1
Created November 27, 2017 21:18
[PS: Script Template] Just a template to follow for PowerShell scripts. #PowerShell #Template
# Source: GitHub: 9to5IT/Script_Template.ps1
# https://gist.github.com/9to5IT/9620683
#requires -version 2
<#
.SYNOPSIS
<Overview of script>
.DESCRIPTION
<Brief description of script>
@veritas06
veritas06 / Office365Login.ps1
Created September 29, 2017 22:48
[Office 365 Login] #PowerShell
$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session
@veritas06
veritas06 / PS-SetOWAMailboxPolicy.ps1
Created December 12, 2017 17:31
[PS: Set OWA Mailbox Policy] Commands to set a specific OWA Policy to a user #PowerShell #Office365
# How to set a specific OWA Policy for a user:
Set-CASMailbox -Identity $User -OWAMailboxPolicy:$owaPolicyName
@veritas06
veritas06 / PS-Get_External_IP.ps1
Created August 7, 2018 17:54
[PS: Get External IP] PowerShell command to get a user's external IP #PowerShell #IP
# Microsoft TechNet: PowerShell One Liner: Get External/Public IP Address
# https://gallery.technet.microsoft.com/scriptcenter/Get-ExternalPublic-IP-c1b601bb
$ip = Invoke-RestMethod http://ipinfo.io/json | Select -exp ip
$ipinfo = Invoke-RestMethod http://ipinfo.io/json
$ipinfo.ip
$ipinfo.hostname
$ipinfo.city
$ipinfo.region
$ipinfo.country
@veritas06
veritas06 / Building rabbitude-launcher Instructions from Cat in a Nutshell.md
Created July 3, 2024 11:33
Instructions from Cat in a Nutshell on building the rabbitude-launcher.

Building the Rabbitude Launcher

Prerequisites

  • Basic knowledge of using the terminal/command line.
  • An internet connection to download dependencies and the repository.

Step 1: Install Dependencies

Android SDK

Ensure you have the Android SDK, or at least the command-line tools installed. You can download it from the official Android developer website.

@veritas06
veritas06 / Stock Android for Rabbit r1 via Windows.md
Last active January 6, 2025 01:14
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