Unlock Bootloader, Root, Install Custom rom | A universal guide

A guide on how to unlock the bootloader and install TWRP Recovery on android device. Using this you can easily root your device and install custom rom
Please wait 0 seconds...
Scroll Down and click on Go to Link for destination
Congrats! Link is Generated
Unlock Bootloader, Root, Install Custom rom

This post will guide you on how to unlock the bootloader and install TWRP Recovery on any device. Using this you can easily root your device and can flash any custom roms. Usually, it's a three-step affair: Unlock the bootloader, flash a new recovery, then use the new recovery to flash a Custom rom.

The first thing you need is an unlocked bootloader. Unlocking your device’s bootloader is like opening the gate to a plethora of opportunities.You could flash various Custom ROMs, install Custom Recovery (like TWRP), try out tons of mods and hacks, and most importantly- root your device.

Once the bootloader is unlocked, the next thing is to switch from the system recovery to a custom recovery. A third-party recovery like TWRP lets you do things like flash .ZIPs, install tweaks, make backups, and execute commands. We'll use our new recovery to flash custom roms, using a magisk patched TWRP will also give us root access

After installing a custom recovery the next step is to install custom roms. Flashing a custom rom is nothing but upgrading your firmware to newest one. In other words updating android version to latest one. Many ROMs comes with useful features baked in, making it's functionality even bet ter.

Before we start

Bootloader: The bootloader is the piece of software on your phone that boots up the system recovery and the operating system. When you boot up the phone, this is the first piece of software that runs.

Root: The term "root" is a relic of the Linux world (Android runs on Linux). Gaining root access means gaining administrator or superuser access to the entire device, at its most basic level.

Recovery: The first thing the bootloader rings up is the recovery. A custom recovery like TWRP will let you back up the entire device, flash tweaks, and install a new custom operating system.

Custom ROM: A custom ROM is a replacement operating system. It's compatible on the most fundamental level, but customized or changed in some other aspect. A custom ROM can have special apps, extra features, or tweaks to the code that make your phone faster and more secure.

Notes / Warning!
  • Use at your own risk, I’m not responsible for bricking your device.
  • Using the incorrect file may brick your device.
  • Make sure to backup your important data.
  • So, if you want to get the full benefit of your device, head over to steps for unlocking bootloader and installing a Custom ROM.

    Download and terms

    1. Enable Developer Options: go to Settings -> About device. Tap 7 times on Build number to enable Developer options.
    2. Enable OEM unlock and USB debugging options ( Settings -> Developer options )
    3. Download and Extract ODIN v3.13.1
    4. Download magisk patched TWRP for your device (This TWRP is developed by @Santhoosh)
    5. Download Disable_Dm-Verity_ForceEncrypt_xx.xx.2020.zip
    6. Download your desired custom rom


    Unlocking bootloader

    1. Enter download mode - Power off the phone, Press and hold Volume Down + Volume Up keys together then while pressing these keys connect the phone to PC with USB, release all keys when Download Mode appears. 
    2. In Download Mode you see the long press Vol Up option to enter Device Unlock Mode. Unlock the bootloader ( that will wipe your device so be sure to backup of your data )
    3. Then use Volume UP to select “YES” to confirm
    4. The phone will reboot, now setup the phone and you're bootloader is unlocked 

    Installing TWRP & rooting

    1. Make sure OEM unlocking option is grey out
    2. Enter download mode
    3. Open ODIN and Uncheck “Auto Reboot” in Options!
    4. Flash TWRP-M30s- Magisk.tar as AP in Odin
    5. Click Start
    6. And TWRP Recovery is now successfully flashed
    7. Press and hold Volume Down + Power, when the screen blank quickly press and hold Volume Up + Power key, when Samsung Logo appears release Power key only, keep pressing Volume Up key until TWRP Recovery Mode Appears.
    8. Select Wipe -> Format data, type “yes” and confirm
    9. Select Install – Disable_Dm-Verity_ForceEncrypt.zip Swipe to confirm Flash
    10. Select Reboot to Recovery
    11. Setup the phone
    12. Connect the Phone to Internet
    13. Install Magisk Manager. Magisk Manager will ask to do additional setups. Let it do its job and the app will automatically reboot your device.
    14. Done! You can use Root Checker to check it, Enjoy!

    Installatiing custom rom

    1. Enter TWRP Recovery Mode. 
    2. Select Wipe – Advanced ( Dalvik, Cache, data, System, vendor and product ) Swipe to wipe.
    3. Select Install – select Razs OS V1 A50s OneUI 3.1 Port For M30s .zip, Swipe to confirm Flash.
    4. Select Reboot – System/recovery.
    5. Setup the Phone.

    Flash stock firmware again

    If you want to go back to stock ROM

    1. Extract (unzip) the Samsung firmware file. Recommended using WinRAR or 7-Zip
    2. Download Odin Tool 3.13.1
    3. Extract Odin ZIP file
    4. Open Odin execute file
    5. Reboot Samsung phone in Download Mode
    6. Connect you Samsung phone and wait until you get a blue sign in Odin
    7. Add the 1 file Samsung firmware to AP/PDA or 4 files Samsung firmware (AP/BL/CP/CSC) to it's slots
    8. Make sure re-partition is NOT ticked
    9. Click the START button, sit back and wait few minutes


    In this post I have talked about how to unlock bootloader, install a Custom Recovery, root and install a custom roms. Tell us What You Say About The guide by commenting and if you have any questions then contact me at the Contact Us page or message me at telegram. Hope You Enjoy in my Website.
    Samsung Odin Latest TWRP for M30s Disable_Dm-Verity_ForceEncrypt Razs OS V2 Razs OS V1

    If facing any error while downloading the files, message me on this contact form.

    Getting Info...

    About the Author

    Student | Blogger | Developer
    A student developer with basic experience on Android development. Buy me a coffee!

    1 comment

    1. Thank you sir
    We appreciate your comments!
    Cookie Consent
    We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
    It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
    AdBlock Detected!
    We have detected that you are using adblocking plugin in your browser.
    The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.