> For the complete documentation index, see [llms.txt](https://wiki.switchroot.org/wiki/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.switchroot.org/wiki/android/root-guide.md).

# Root Guide

**NOTE**: Rooting, while allowed, means you will receive 0 support. This process modifies your boot image (kernel) and other pieces of Android. Do not ask for help with a bug, crash, etc. if you have Magisk or any other root solution installed. The LineageOS Project follows the same guideline.&#x20;

## What is Magisk

Magisk, or "The Magic Mask" gives full root access to users of your device and any applications you have installed. There are other root solutions, but they generally require more extensive patching and newer kernel versions, plus are less broadly supported in general.

## Tutorial

Rooting your Switch is much like rooting other Android devices, although starting the process by sideloading the app is unsupported. To install, download the latest Magisk release from GitHub (<https://github.com/topjohnwu/Magisk/releases>) and rename the `.apk` to `.zip`. Now, you can place the file on the root of the SD card FAT32 partition and flash the zip in recovery.

If you have TWRP installed (supported for Android 8.1 through 11), select "Install" and choose the zip.

If you have Android Recovery (default on Android 11+), select "Apply Update" and choose the zip. You may be prompted about signature check failures; just continue anyway (this is to point out this is not an official Lineage zip, as with GApps etc.).

You can also use ADB Sideload for either, similar to the default install process for 14/15.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://wiki.switchroot.org/wiki/android/root-guide.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
