Skip to content

OutrageousStorm/android-rom-guide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“– Android ROM Guide

The definitive guide to flashing custom ROMs on Android. Covers bootloader unlocking, Magisk/KernelSU root, and all major ROMs for Pixel, Samsung, Xiaomi, and OnePlus devices.

License Devices ROMs Stars


πŸ“Œ Quick Navigation


πŸ”“ Bootloader Unlock

⚠️ Warning: Unlocking the bootloader factory resets your device. Back up everything first.

Prerequisites

  1. Install ADB & Fastboot
  2. Enable Developer Options: Settings β†’ About Phone β†’ tap Build Number 7 times
  3. Enable OEM Unlocking: Developer Options β†’ OEM Unlocking βœ“
  4. Enable USB Debugging: Developer Options β†’ USB Debugging βœ“

Universal Fastboot Unlock (Pixel, most Android One)

adb reboot bootloader
fastboot flashing unlock
# Confirm on device β€” phone wipes and reboots

Samsung (Exynos & Snapdragon)

Samsung requires a different approach β€” see the Samsung guide.

Note: Snapdragon Samsung devices (US models) cannot unlock the bootloader through normal means. Exynos variants support it.

Xiaomi

Xiaomi requires a waiting period (7 days) after requesting unlock permission via their Mi Unlock Tool.

# After unlock permission is granted:
adb reboot bootloader
fastboot flashing unlock   # or: fastboot oem unlock (older devices)

OnePlus

adb reboot bootloader
fastboot oem unlock    # Older devices
# or
fastboot flashing unlock  # Newer OxygenOS 12+

πŸ”‘ Root

Magisk (Most Compatible)

Magisk is the go-to root solution, supporting thousands of modules and most apps.

# 1. Download stock boot.img for your exact build
# 2. Transfer to phone, patch via Magisk app:
#    Install β†’ Select and Patch a File
# 3. Transfer patched image back to PC
adb pull /sdcard/Download/magisk_patched_*.img .

# 4. Flash
fastboot flash boot magisk_patched_*.img
fastboot reboot

KernelSU (Kernel-Level, Harder to Detect)

KernelSU operates at the kernel level β€” more secure, harder for apps (banking, DRM) to detect.

# Download KernelSU boot image for your device codename
fastboot flash boot kernelsu_[codename]_*.img
fastboot reboot
# Install KernelSU Manager APK
  • KernelSU GitHub
  • Better for: hiding root from banking/DRM apps
  • Works on: most GKI-compatible devices (Android 12+)

Hiding Root

Method Tool Notes
Magisk DenyList Built-in Magisk Works for most apps
Shamiko module Shamiko Advanced hide, install as Magisk module
KernelSU KernelSU + ZygiskNext Strongest hide

πŸ“± Devices

Google Pixel

Device Codename Bootloader Magisk KernelSU LineageOS GrapheneOS
Pixel 5 redfin βœ… βœ… βœ… βœ… 22.2 βœ…
Pixel 6 oriole βœ… βœ… βœ… βœ… 22.2 βœ…
Pixel 6 Pro raven βœ… βœ… βœ… βœ… 22.2 βœ…
Pixel 7 panther βœ… βœ… βœ… βœ… 22.2 βœ…
Pixel 7 Pro cheetah βœ… βœ… βœ… βœ… 22.2 βœ…
Pixel 8 shiba βœ… βœ… βœ… βœ… 22.2 βœ…
Pixel 8 Pro husky βœ… βœ… βœ… βœ… 22.2 βœ…
Pixel 9 tokay βœ… βœ… βœ… βœ… 22.2 βœ…

πŸ“„ Detailed guides: devices/pixel/

Samsung Galaxy

Device Chipset Bootloader Root LineageOS
Galaxy S10 (beyond1lte) Exynos 9820 βœ… Exynos βœ… βœ… 21.x
Galaxy S20 (x1s) Exynos 990 βœ… Exynos βœ… βœ… 21.x
Galaxy S21 (o1s) Exynos 2100 βœ… Exynos βœ… βœ… 22.x
Galaxy S22 (r0s) Exynos 2200 βœ… Exynos βœ… βœ… 22.x
Galaxy A52s (a52sxq) SD 778G βœ… βœ… βœ… 22.x

πŸ“„ Detailed guides: devices/samsung/

Xiaomi / Redmi

Device Codename Bootloader Root LineageOS
Redmi Note 9 Pro joyeuse βœ… (7-day wait) βœ… βœ… 21.x
POCO F4 munch βœ… βœ… βœ… 22.x
Redmi Note 12 Pro ruby βœ… βœ… βœ… 22.x
Xiaomi 12 cupid βœ… βœ… βœ… 22.x

πŸ“„ Detailed guides: devices/xiaomi/

OnePlus

Device Codename Bootloader Root LineageOS
OnePlus 8 Pro instantnoodlep βœ… βœ… βœ… 22.x
OnePlus 9 Pro lemonadep βœ… βœ… βœ… 22.x
OnePlus 12 aston βœ… βœ… ⚠️ Unofficial

πŸ“„ Detailed guides: devices/oneplus/


🌐 ROM Comparison

ROM Base GApps Privacy Stability Pixel UI Active?
GrapheneOS AOSP Optional (sandboxed) ⭐⭐⭐⭐⭐ ⭐⭐⭐⭐⭐ ❌ βœ…
CalyxOS AOSP microG ⭐⭐⭐⭐ ⭐⭐⭐⭐ ❌ βœ…
LineageOS AOSP No (add manually) ⭐⭐⭐ ⭐⭐⭐⭐⭐ ❌ βœ…
PixelExperience AOSP Yes ⭐⭐ ⭐⭐⭐⭐ βœ… βœ…
crDroid AOSP No ⭐⭐⭐ ⭐⭐⭐⭐ ❌ βœ…
Evolution X AOSP Yes ⭐⭐ ⭐⭐⭐ βœ… βœ…
Paranoid Android AOSP Optional ⭐⭐⭐ ⭐⭐⭐ βœ… βœ…
ArrowOS AOSP Optional ⭐⭐⭐ ⭐⭐⭐⭐ ❌ βœ…

Recommendation:

  • Maximum privacy: GrapheneOS (Pixel only)
  • Privacy + app compatibility: CalyxOS
  • Most devices + stable: LineageOS
  • Pixel UI feel everywhere: PixelExperience
  • Heavy customization: crDroid or Evolution X

❓ FAQ

Q: Will I lose data when unlocking the bootloader?

Yes β€” bootloader unlock triggers a factory reset. Back up everything with adb backup or Google backup first.

Q: Can I go back to stock firmware?

Yes. Flash the official factory image via fastboot. All Pixel factory images are at developers.google.com/android/images.

Q: Will banking apps work after rooting?

With Magisk DenyList or Shamiko, most banking apps work fine. KernelSU is even better at hiding root.

Q: Is my warranty voided?

Technically yes, but you can restore stock firmware before sending for warranty service.

Q: What's the difference between KernelSU and Magisk?

Magisk works in userspace (patches boot image). KernelSU is built into the kernel. KernelSU is harder for apps to detect, but has less module support currently.


πŸ“š More Resources


🀝 Contributing

Device guides, ROM additions, and corrections are welcome. See CONTRIBUTING.md.


Maintained by Tom Β· Android Intelligence Β· CC BY-SA 4.0

About

πŸ“– The complete guide to flashing custom ROMs on Android β€” Pixel, Samsung, Xiaomi, OnePlus. Bootloader unlock, Magisk root, LineageOS, GrapheneOS, CalyxOS, crDroid.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors