- Notifications
You must be signed in to change notification settings - Fork4
makinbacon21/switchroot-script-builder
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Usehttps://github.com/PabloZaiden/switchroot-android-buildI've been updating Pablo's Dockerized builder regularly, but this one is quite dead. If you don't want to use Docker, either use his build minus Docker or build manually using my new(ish)snack
script, built to automate much of the manual local build process (https://github.com/makinbacon21/snack).
One script to rule them all
Automates the steps of the Q-Tips Guide (https://gitlab.com/ZachyCatGames/q-tips-guide)
DISCLAIMER: Switchroot Android Q is still in development and may harm your device--a public image release will come soon, but this script builds the early-stage product for testing purposes. The current public release (Switchroot Android Oreo) is available using this guide:https://forum.xda-developers.com/t/rom-unofficial-8-1-switchroot-lineageos-15-1.3951389/
Supports Android (icosa
) (foster_tab
) and Android TV (foster
)
Clean build and updates
OC coreboot (memory overclock)
OC patch (CPU)
Joycon patch (snapshot button takes screenshots)
GApps and Hekate download
Option to preroot with magisk
Ubuntu 20.04+ (WSL2 works now on NTFS or ext4 filesystems, but NTFS is kinda slow and not recommended)
16GB RAM (or smaller amounts with a sizeable swapfile)
~300 GBs of available storage (sources + ccache)
Decent CPU (better CPU --> faster build)
Unpatched Erista-codenamed Nintendo Switch (https://ismyswitchpatched.com/) with RCM jig to trigger exploit
Syntax:./Q_Builder.sh [-v | --verbose] [-n | --nosync] [-c | --clean]
-v | --verbose
: Enables verbose mode (set -x
) for debugging-n | --nosync
: Runs build withoutgit reset
orrepo sync
(keeps source tree from last build intact)-c | --clean
: Forces clean build (removes source tree and builds from scratch)-u | --update
: Sets up the build for a dirty flash by preventing the download of twrp.img, and all files in switchroot/android folder-e | --noccache
: Disables CCache for building (NOT RECOMMENDED--MOSTLY FOR TESTING PURPOSES)-h | --help
: Long-winded help message
Firstchmod +x Q_Builder.sh
to make it executable, thne run the script with./Q_Builder.sh
and any arguments, and answer any prompts you get. Once stuff starts happening, there shouldn't be any more prompts unless you screwed something up
@Dajokeisonu, @someone5678, and @EmreTech for their direct contributions
@PabloZaiden for his work on the Dockerized build and the disgusting URL magic that has been performed to get GApps to work properly
@ZachyCatGames for his work on the original Q building instructions (Q-Tips Guide)
@Andrebraga for assisting PabloZaiden getting everything working in the Dockerized build.
@Biff627 for providing patches
About
Local build script for Switchroot Android Q, featuring overclocking functionality and optional Magisk pre-rooting.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors4
Uh oh!
There was an error while loading.Please reload this page.