Guides
Step-by-step Android modding guides
Showing guides for herolte — 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 onSamsung Galaxy S7
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 . 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!): SM-G930F SM-G930FD SM-G930S SM-G930K SM-G930L SM-G930W8
- Boot your device with the stock OS at least once and check every functionality.
- 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!
- Enable Developer Options by pressing the “Build Number” option in the “Settings” app within the “About” menu From within the Developer options menu, enable OEM unlock.
- Download and install the appropriate version of the Heimdall suite for your machine’s OS Windows : Extract the Heimdall suite zip and take note of the new directory containing heimdall.exe . You can verify Heimdall is functioning by opening a Command Prompt or PowerShell in that directory and runnin
- Power off the device, and boot it into download mode: With the device powered off, hold Volume Down + Home + Power . Now, click the button that the on screen instructions correlate to “Continue”, and insert the USB cable into the device.
- For Windows users only : install UsbDk .
- On your machine, open a Command Prompt or PowerShell (Windows) window, or Terminal (Linux or macOS) window, and type: heimdall print-pit
- If the device reboots that indicates that Heimdall is working properly. If it does not, please refollow these instructions to verify steps weren’t missed, try a different USB cable, and a different USB port.
- Download a custom recovery - you can download TWRP . Simply download the latest recovery file, named something like twrp-x.x.x-x-herolte.img and rename it to recovery.img . check Tip: Ensure you download the .img file and not the .tar or .tar.md5 versions. warning Important: Other recoveries may not
- Power off the device, and boot it into download mode: With the device powered off, hold Volume Down + Home + Power . Now, click the button that the on screen instructions correlate to “Continue”, and insert the USB cable into the device.
- On your machine, open a Command Prompt or PowerShell (Windows) window, or Terminal (Linux or macOS) window, and type: heimdall flash --RECOVERY recovery.img --no-reboot check Tip: The file may not be named identically to what stands in this command, so adjust accordingly. If the file is wrapped in a
- A transfer bar will appear on the device showing the recovery image being flashed. info_outline Note: The device will continue to display Downloading... Do not turn off target!! even after the process is complete.
- Manually reboot into recovery, this may require pulling the device’s battery out and putting it back in, or if you have a non-removable battery, press the Volume Down + Power buttons for 8~10 seconds until the screen turns black & release the buttons immediately when it does, then boot to recovery:
- Build a LineageOS installation package.
- If you are not in recovery, reboot into recovery: With the device powered off, hold Volume Up + Home + Power . When the blue text appears, release the buttons. info_outline Note: Please note that while touch inputs work in recovery on most devices, on some devices it may not. If this is the case use
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