[Samsung Galaxy M30 ROMs, Kernels, Recoveries, & Ot] Akhil99:
​

UPDATE : TWRP FOR M30 IS NOW OFFICIAL​

I would like to thank TeamWin for their amazing work!

After a long hiatus from Android Development, I am back to the dev scene.

As usual, I am not responsible for damage to your device, you, the user is choosing to make these modifications.

Your device's warranty is VOID if this procedure is followed, Proceed at your own caution!

With the new update of Android 10 for our device SM-M305[F] / M305[M], Samsung reimplemented RMM and called it KG(KnoxGuard), there is confusion in the device community on how to install TWRP and root device.

@vdbhb59 and myself @akhil99 are actively working together to bring support to this device.

Follow these updated instructions to get TWRP working with Latest Stock Firmware.

This thread will be updated regularly.

STRONGLY ADVICE TO BACKUP DATA.

Steps to get TWRP working with stock firmware

Reported to be working with firmware w/ following details

Device: Samsung Galaxy M30 SM-M305[F] / M305[M]

BL: M305FDDU5CTF2

AP: M305FDDU5CTF2

CP: M305FDDU5CTF1

CSC: HOME_CSC_OMC_ODM_M305FODM5CTF2

Patch: 1st May 2020

Android Version: 10

One UI Version : 2.0

First of all flash completely stock firmware, you can always root with Magisk later.

If you are rooted and have TWRP installed already and you are not on Latest Firmware mentioned above then flash latest firmware.

Select BL, AP, CP, CSC (Use HOME_CSC).

Never only flash AP, will cause your /data to shrink.

Once you're updated to latest firmware mentioned above, make sure you unlock your bootloader.

Go into Settings>Software Info>Tap build number seven times.

Go into Settings>Developer Options>OEM Unlock & enable it.

It will prompt you with password/pin confirming to unlock bootloader. Device will reboot and wipe itself.

Setup device once it reboots and again enable developer options and see OEM unlock to be enabled and togglable.

Next enable USB debugging in Settings>Developer Options>USB Debugging.

Open up ADB/FASTBOOT Utility on your computer and connect your device with USB C cable.

Type in following commands without the quotations.

1."adb reboot download" ; reboots your device into Download mode, can flash device via Odin Downloader(Windows) or Heimdall Utility(Linux)

2.Download the attached TWRP.tar if you're using Odin or TWRP.img if you're using Heimdall to flash.

3.Flash the TWRP recovery by

ODIN:-

Clicking AP in Odin and make sure the Repartition and Auto Reboot boxes are UNTICKED/NOT SELECTED.

Click Start at bottom.

Heimdall:-

Open up a terminal window in the directory where twrp.img is downloaded.

Type in heimdall flash --RECOVERY twrp.img --no-reboot

4.Once flash is complete, press Volume Down+Power Button to shutdown and as soon as screen is black IMMEDIATELY PRESS AND HOLD VOLUME UP+POWER Button and let go of Power button when you see samsung logo, continue holding Volume Up until device boots into TWRP.

5.Once device boots into TWRP, swipe to allow modifications and then Click Wipe>Format Data>type in "yes". This will format everything and reset the device.

6.Go into Wipe>Advanced Wipe>Tick only Cache and swipe to wipe it.

7.Reboot back into recovery by Reboot>Recovery>Do not Install.

8.Once rebooted back into TWRP, transfer the attached zip to phone Internal or SDcard, DO NOT RENAME THE ZIP.

9.Flash the zip by, Install > Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip, swipe to flash it.

10.Wipe cache and dalvik cache, reboot into system by, Reboot > System > Do not install.

11.Device will boot into Android 10 One UI 2.0 wait patiently for about 15mins.

12.Once device boots, setup as usual, you will need internet.

13.Voila! You have successfully installed TWRP alongside Stock firmware on Android 10 M305FDDU5CTF2 firmware.

Thanks to @vdbhb59 for his persistent testing and timely directions that helped me to bring you this guide.

Thanks to @SahilSonar for bringing TWRP to our device initially

Thanks to @akhil99 (me) for fixing MTP/ADB in TWRP recovery and bringing you this guide.

HIT THANKS IF WE HELPED YOU.

Downloads:

Edit: TWRP for Odin fixed as some users reported problems.

Official: TWRP OFFICIAL

Disable DM_Verity_ForceEncrypt : https://androidfilehost.com/?fid=8889791610682882483

XDA:DevDB Information

[RECOVERY][OFFICIAL]TWRP 3.4.0.0 Recovery [m30lte], Tool/Utility for the Samsung Galaxy M30

Contributors

Akhil99

Source Code: https://github.com/akhil1999/twrp_device_samsung_m30lte

Version Information

Status: Stable

Stable Release Date: 2020-07-10

Created 2020-07-10

Last Updated 2020-08-25