Table of Contents

Android

see also:

Device specific tutorials

Galaxy S3 i9300
Xperia Z3 Compact z3c
Motorola Moto X4 payton
Google Pixel 6a bluejay

secret menus

Samsung Test Menu *#0*#

"ROM"s

Best custom firmware: LineageOS (→ devices it supports)

TWRP

Download: https://twrp.me/

Heimdall

Download: https://glassechidna.com.au/heimdall/

heimdall flash --RECOVERY filename.img

adb

Activate debugging!

Backup

see Backup#ADB

sideload connection failed: insufficient permissions for device

Kill the user started adb server:

adb kill-server

Start server as root:

sudo adb start-server

Or you can basically do any adb command with sudo to start it. I typically use:

sudo adb devices

This starts the ADB server and tells me my phone is definitely hooked up.

logcat

logcat to file:

adb logcat -d > logcat-`date +%F_%H-%M-%S`.txt

fastboot

reboot into fastboot mode via adb adb reboot-bootloader
load image fastboot boot boot.img
flash kernel fastboot flash boot boot.img

Magisk!

Replace SuperSU with Magisk

  1. Download Magisk Manager
  2. Launch Magisk Manager, grant permissions
  3. tap on "Download & Install," then confirm your choice by hitting "Install" on the popup
  4. Magisk modules can be downloaded from the Modules section in Magisk Manager

useful software