[Samsung Galaxy M30 ROMs, Kernels, Recoveries, & Ot] vdbhb59:
Android 10 (Q) - Galaxy M305F (INS) - Stock & Rooted (not patched) - M305FDDS6CTI1

[COLOR="DarkOrange"]You will now be rooted and surely enjoy the stock ROM.
Cleaning up the inbuilt bloatware is individual's responsibility.[/COLOR]

Playing by the guide and few of my own stuff to manage this to work. I will try and get a Samsung free modified and fully working Stock ROM, ODIN mode though. Less bootloops that way.

I have lost my M305F, so I am not able to test Bliss or LOS out. Though LOS should boot, I am not sure of Bliss, as it has some boot issues from the build pov itself. However, one person who tried it for me, was able to boot Bliss after 3-4 tries, and only with DM-Verity and formatted userdata. Hence if it does not boot for you, hard luck, as the OS somehow trips some secure boot mode. Also, none of the PHH OS booted, no matter what... Moreover, all AP will boot only decrypted..

Details as follows:

[B]Samsung M305F India Stock FW[/B]
Released: [B]20200909[/B]
Patch Level: [B]September 01, 2020[/B]
Build Date: [B]20200907[/B]
Base Version: [B]Android 10[/B]
Build #: [I]QP1A.190711.020.[B]M305FDDS6CTI1[/B][/I]
Kernel: [B]4.4.177-19407255[/B]
UI Core: [B]One UI 2.0[/B]

Links:

M30 Database -- AFH

DM-Verity -- AFH

Stock -- Untouched Plain Stock OS

Stock -- AP Rooted Only

Stock -- AP Rooted with TWRP as recovery

Modified Stock -- Bloat free full Stock OS probably coming soon

LOS 17 -- LOS system image replacing stock system image

Bliss/Bless 223 -- Bliss system image replacing stock system image

Odin V3.14.4, TWRP 3.4.0-0 & Magisk Canary files - download from AFH. See the attached text file containing all the links.

Patching Guidance:

Link

Installation Guide (Only For Bootloader UL On Q/10)

AP, CP (optional), DM-Verity files are must, as all modded AP have TWRP included already, and are prerooted. BL/CSC/Home_CSC are not needed as they are the main culprits for bloatware and arrogant knox..

----> This is only for people who are on previous Rooted OS. For unrooted, these steps are to/can be skipped.

Factory Reset from settings. If already on the earlier version, this will allow you to boot to recovery, else, you will get a "Error!!" screen of the recovery. (Remember, Magisk for Samsung patches to recovery mode, and thus format data is needed).

Boot to recovery. (Guide Link)

[B]adb reboot download[/B]

Format/Wipe data and cache one after the other in Recovery mode. Do, this at-least 2-3 times. This ensures, any remnants are removed

ENSURE to MOUNT /SYSTEM

This is only for people who are on previous Rooted OS. For unrooted, these steps are to/can be skipped. <---

*********************************************************

Boot to download/fastboot/bootloader

Open Odin and ensure to untick/uncheck "auto reboot" under options

Uncheck "re-partition" as well, and remember, userdata wipe will be needed at a later stage.

I will not describe how to flash STOCK UNTOUCHED, as that is given, and everyone should know that

We only need the AP file & the CP file (CP if you need radio modem to lock, else that too is not needed)

Under the "AP", select the AP file (select which one you wish to use, Stock Rooted, with TWRP, LOS or Bliss (See AP links for M305FDDS6CTI1 tar files)

** Now connect the phone with USB while still in download mode

The COM port will show the device connected

Select the chosen AP file in "AP" box and the CP file in the "CP" box respectively

Reiterating: Only AP & CP (optional) files needed

Click Start, and ideally in 3 minutes (for stock) & in 2 minutes (for LOS/Bliss), it will get flashed. (Ensure Auto-Reboot is unchecked)

Once successful, remove it from usb cable connector

Press Volume Down and Power key together for 7-8 seconds

The screen will vibrate and go black

That very instant, while holding the power button, also press the volume up button

You will feel another vibration. Let go of power button, while still holding the volume up button

This will reboot to TWRP recovery

Format data (where one has to type YES) in recovery

Reboot to TWRP

Now mount data and copy the dm-verity file over and flash it in TWRP

**Optional** - Wipe dalvik/cache

Reboot to system (will take around 10-12 minutes for stock & 3-4 minutes for LOS/Bliss, so be patient)

---> Stock Only

Once everything is setup, go to

settings>developer options>uncheck auto-update

Also uncheck "auto download over wifi/data" under software & updates in settings

Stock Only <---

Copy files over MagiskManager apk file (see attached text file for links) and install the apk

Once installed launch and enjoy root features

BUGS

LOS/BLISS - All current bugs as present in PHH GSI/LOS GSI/Bliss GSI

Please reach out to the respective thread/forum/git

Stock - You tell me..

Contributors/Credits:

Samsung for the superb bloat filled operating system, which is like a bliss in the irritation module

PHH/LOS/Bliss teams for the almost working GSI's [phhusson], [AndyYan], [eremitein]

@topjohnwu for Magisk

@kkoo for inspiring to go ODIN

@Akhil99 for TWRP

@vdbhb59 for actually spending hours on getting this sorted, and when I do not even have the phone anymore (lol)...