[Samsung Galaxy M30 Guides, News, & Discussion] xdafan666:
Summary - After two weeks of research (mostly on XDA) I took the risk and decided to root my new Samsung M30. Suffice to say I was extremely apprehensive given numerous reports of bootloops, recurring seven day OEM device locks, crashes, hangs and general instability. After following specific steps that combine several sources, I successfully rooted my device. Moreover, key root applications are all working well (AFWall+ Firewall, AdAway, Root Explorer)! This guide shows what I did.

Credits to Sahir_Sonar (most of the work are the fruits of his labours)

Sahir_Sonar YouTube Guide

Sahir_Sonar TWRP thread

Downloads

RMM_Bypass_v3_corsicanu.zip (attached)

no-verity-opt-encrypt-6.1.zip (attached)

Magisk-v20.0.zip (attached)

Copy these three files (above) to phone's external SD card.

Odin3 v3.13.1 (or later)

recovery.tar (TWRP 3.3.1 for Galaxy M30) Download here

MagiskManager-v7.3.5.apk (via Google Play later)

Unlock Bootloader

Ensure you are using the correct device and OS version for your Samsung M30.

From

Settings

, tap

About phone

then

Software information

.

One UI Core 1.1

Android verion 9 (aka Pie)

If you have Android version 10 (aka Q), you need to downgrade the OS, which is beyond the scope of this thread. Essentially, you have to download your specific ROM (that matches your country and baseband) and use Odin3 to flash it.

Enable

Developer Options

.

From

Settings

, tap

About phone

then

Software information

.

Tap

Build Number

seven times.

Developer Options

should now be visible from

Settings

From

Settings

, tap

Developer Options

Check (enable)

OEM Unlocking

.

You are prompted and warned about a Factory reset. It is assumed you have no important data on the phone (or have made an appropriate backup on external SD card). Accept data erasure. Phone will reboot on its own.

Power up phone. It is like new and needs setup from scratch. After your usual setup steps ....

From

Settings

, tap

Developer Options

Check (enable)

USB debugging

.

Check (enable)

OEM Unlocking

.

Power off your phone. Press side power button then select

Power off

twice when presented. Do not wander or tap on other functions of your phone; power off immediately. This is critical to unlocking the bootloader.

If option for

OEM Unlocking

is not present, your phone is locked. Here are several options to try.

From

Settings

, tap

Software Update

the tap

Download and install

.

Wait till phone complains and rejects your command due to unauthorized modification.

From

Settings

, tap

Developer Options

and check if

OEM Unlocking

is present. If so, check (enable) it then immediately power off as described above.

Flash TWRP and Root

From your PC, extract Odin. Navigate to its folder.

Right click executable and select 'Run as administrator'.

From Odin, click Options tab and uncheck 'Auto Reboot' option.

From Odin, click AP button. Navigate to where to saved the recovery.tar file.

From Odin's dialog box, select recovery.tar file then click Open button.

Power up phone in stock recovery mode.

With phone off, simultaneously press Volume Up and Power button until Samsung logo appears.

From phone's stock recovery mode.

Use Volume Down button to highlight 'Reboot to bootloader '.

Press power button. You are now in download mode.

Connect Type-C USB cable to phone and PC.

Odin will acknowledge connection with 'ID:COM' update and will be highlighted.

From Odin, click Start button and wait for SUCCESS indicator.

Disconnect USB cable.

Reboot phone into TWRP. This is critical and the trickiest part of all.

From phone, press Volume Down + Power button until it blacks out.

Immediate press Volume Up + Power button until TWRP appears.

From TWRP, "Swipe to Allow Modifications'.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap Wipe button.

Tap Format Data. Then, type 'yes' for data format. Tap 'enter' keyboard button.

Wait till 'Data Format Complete'.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap

Mount

button.

Ensure that System, data, cache and Micro SD card are mounted.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap

Reboot

button.

Tap

Recovery

button.

Swipe to 'Install TWRP App'. TWRP rebbots itself.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap

Mount

button.

Ensure that System, data, cache and Micro SD card are mounted.

Tap

Select Storage

button.

Tap Micro SD card. Tap OK.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap

Install

button.

Select RMM_Bypass_v3_corsicanu.zip.

Swipe to confirm Flash

.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap

Install

button.

Select no-verity-opt-encrypt-6.1.zip.

Swipe to confirm Flash

. Disregard error message if any.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap

Install

button.

Select Magisk-v20.0.zip.

Swipe to confirm Flash

.

From TWRP, tap Home key (on phone) for TWRP main menu.

Tap

Reboot

button.

Tap

System

button.

The System reboot can take a few minutes and may seem like an eternity. Just be patient. The phone will again be like new and you will have to setup everything from scratch. Later, install Magisk Manager from Google Play.

Enjoy :angel: