Guides
Step-by-step Android modding guides
Showing guides for berlin — show all guides
Unlock Bootloader
Wipes everything. Samsung Knox trips permanently on unlock — no way back.
8 steps ▼
- Back up all data — unlocking factory resets your device
- Enable Developer Options: Settings → About Phone → tap Build Number 7 times
- Enable OEM Unlocking in Developer Options
- Enable USB Debugging in Developer Options
- Connect to PC: adb reboot bootloader
- Unlock: fastboot flashing unlock (older: fastboot oem unlock)
- Confirm on device screen — wipe happens immediately
- Device reboots to stock setup wizard
Install TWRP Recovery
Use the exact TWRP build for your device model number. Wrong builds can brick.
5 steps ▼
- Download TWRP .img for your exact device variant from twrp.me
- Boot to fastboot: adb reboot bootloader
- Flash: fastboot flash recovery twrp.img
- Boot into recovery immediately: fastboot boot twrp.img
- In TWRP swipe to allow modifications
Install OrangeFox Recovery
OrangeFox is only available for select devices.
4 steps ▼
- Download OrangeFox .img for your device from orangefox.tech
- Boot to fastboot: adb reboot bootloader
- Flash: fastboot flash recovery orangefox.img
- Boot into recovery: fastboot boot orangefox.img
Install LineageOS onMotorola edge 20
20 steps ▼
- Read through the instructions at least once before actually following them, so as to avoid any problems due to any missed steps!
- Make sure your computer has adb and fastboot . Setup instructions can be found here .
- Enable USB debugging on your device.
- Make sure that your model number is one of the following (exact match required!): XT2143-1
- Boot your device with the stock OS at least once and check every functionality. warning Warning: Make sure that you can send and receive SMS and place and receive calls (also via WiFi and LTE, if available), otherwise it won’t work on LineageOS either! Additionally, some devices require that VoLTE/V
- Remove all Google accounts from your device to avoid “Factory reset protection”
- LineageOS is provided as-is with no warranty. While we attempt to verify everything works you are installing this at your own risk!
- Connect the device to your PC via USB.
- On the computer, open a command prompt (on Windows) or terminal (on Linux or macOS) window, and type: adb -d reboot bootloader You can also boot into fastboot mode via a key combination: With the device powered off, hold Volume Down + Power .
- Once the device is in fastboot mode, verify your PC finds it by typing: fastboot devices If you don’t get any output or an error: on Windows: make sure the device appears in the device manager without a triangle. Try other drivers until the command above works! on Linux or macOS: If you see no permi
- Follow the instructions at Motorola Support to unlock your bootloader. info_outline Note: Some newer Motorola devices have a waiting period before you can enable OEM Unlock option in the developer options. It can sometimes take up to one week.
- Since the device resets completely, you will need to re-enable USB debugging to continue.
- Download the following files from here . dtbo.img vendor_boot.img
- Power off the device, and boot it into bootloader mode: With the device powered off, hold Volume Down + Power .
- Flash the downloaded image files to your device by typing: fastboot flash dtbo dtbo.img fastboot flash vendor_boot vendor_boot.img info_outline Note: If you are facing an error similar to No such file or directory when executing any fastboot flash command, it is because fastboot doesn’t know where e
- Reboot to bootloader mode: fastboot reboot bootloader
- Download Lineage Recovery . Simply download the latest recovery file, named boot.img . warning Important: Other recoveries may not work for installation or updates. We strongly recommend to use the one linked above!
- Flash recovery onto your device: fastboot flash boot boot.img
- Now reboot into recovery to verify the installation. Use the menu to navigate to and to select the Recovery option. info_outline Note: Please note that on most devices you’ll need to use the Volume Buttons to cycle onscreen options and the Power Button to select (Mobile), or by short pressing the Si
- Download the copy-partitions-20220613-signed.zip file from here .
Root with Magisk
Keep a backup of the original boot.img. Magisk is systemless — safer for updates.
7 steps ▼
- Unlock bootloader first
- Download stock boot.img for your exact firmware build
- Install Magisk app on device
- In Magisk: Install → Select and Patch a File → pick boot.img
- Copy patched_boot.img to PC
- Flash: fastboot flash boot patched_boot.img
- Reboot and open Magisk to verify root
Root with KernelSU
Requires kernel-level support. Not all devices are supported.
5 steps ▼
- Check kernelsu.org for a supported kernel for your device
- Download the KernelSU kernel .img
- Flash: fastboot flash boot kernelsu_boot.img
- Install KernelSU Manager from GitHub releases
- Grant root from the Manager
Root with APatch
Alternative to Magisk with kernel patch support.
5 steps ▼
- Download APatch from github.com/bmax121/APatch
- Extract boot.img from your stock firmware
- In APatch app: patch boot.img
- Flash patched boot: fastboot flash boot patched_boot.img
- Reboot and verify in APatch Manager
Restore Stock / Unbrick
Always use firmware matching your exact region and model number.
7 steps ▼
- Download official stock firmware for your exact model and region
- Samsung: use Odin — flash AP/BL/CP/CSC files
- Xiaomi/Poco: use MiFlash in EDL/fastboot mode
- Google Pixel: use Android Flash Tool at flash.android.com
- OnePlus: use MSM Download Tool for hard bricks
- Other devices: check XDA for your specific model
- After flash: device reboots to stock
Buying & Selling Modified Devices
Unlocked bootloader = lower resale value. FRP locks are illegal to bypass on a device you don't own.
7 steps ▼
- BEFORE SELLING: Factory reset and remove Google account (FRP)
- BEFORE SELLING: Restore stock ROM and re-lock bootloader if possible
- BEFORE SELLING: Disclose Knox trip status to Samsung buyers — it shows in settings
- BEFORE BUYING: Ask if bootloader is unlocked
- BEFORE BUYING: Check IMEI on imei.info — confirm not blacklisted
- BEFORE BUYING: Test camera, speakers, fingerprint, charging
- BEFORE BUYING: Verify model number matches your region