Skip to content

Instantly share code, notes, and snippets.

View bitrot-alpha's full-sized avatar
🦀

bitrot-alpha

🦀
  • Oregon, US
View GitHub Profile
@bitrot-alpha
bitrot-alpha / android-root-manual-ota-install_e4732.md
Created June 9, 2024 20:05
Tutorial from Reddit user e4732 - [Tutorial] My workaround for the "stock backup does not exist" error while trying to install OTA

[Tutorial] My workaround for the "stock backup does not exist" error while trying to install OTA

tutorial by Reddit user e4732

I have the stock boot img backup but somehow Magisk doesn't want to detect that. So I found a workaround. You need your stock boot img. If you have a backup in /data/magisk_backup_<hash> like me just use that (decompress first)

  1. Enable USB debugging and open a power shell window.

  2. adb shell

@bitrot-alpha
bitrot-alpha / download_paper.sh
Created August 1, 2022 02:58
Bash script to download the latest Paper Minecraft server jar through their API
#!/usr/bin/bash
#Author: bitrot_alpha
#This script will download the latest Paper jars from PaperMC's API and copy them to the
# desired place(s)
#Programs required: curl, jq, wget, sha256sum
#cd wherever you want the script to run out of
cd ~/.ampdata/instances/
pwd
name=paper