yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] CreativeGuyFromNYC:
I recently lost my root access, see my earlier post:

https://xdaforums.com/t/guide-root-...cking-and-rooting-guide.3999021/post-88549773

Would it work if I just flashed Magisk 26.1 using TWRP?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Can u upload a video or explain step by step to root this phone
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] _hunter:
Can you describe your step in more details? Because I even wasn't able to get into Download mode using that instruction from the first post: after releasing VolUp+VolDown buttons (after "Samsung Galaxy M30s" text disappeared and short "SAMSUNG" appeared) -- got me only into "Safe mode".

And yes -- with "adb reboot download" -- I can enter Download mode (mobli obviously still connected to the PC), but VolUp button does nothing there -- I've pressed it like for 20 seconds.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] mchauhan:
The trick to boot into download mode( With boot loader unlock option) is to connect USB cable to phone at same time you press VolumeUp+VolumeDown button, other wise it will boot into standard download mode or safe mode. Do not connect the phone before or after pressing these buttons combo, it must be at the same time and the phone must be in off state.

When phone boots into Bootloader unlock mode it should show screen like attached.

Hope it helps.:fingers-crossed:
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] mchauhan:
The steps are exactly same as mentioned in first post (Method1) and for video you can refer to the below one of A50 posted on first page by [MENTION=7915760]redymedan[/MENTION] . Steps are exactly same except ROM and magisk version.

ROM Link: https://samfrew.com/download/Galaxy__M30s__/0scj/INS/M307FXXU1ASJ2/M307FODM1ASJ1/

Video

[YOUTUBE]ILvgki0pFHE[/YOUTUBE]
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Thx bro hope it works in first try

---------- Post added at 10:45 AM ---------- Previous post was at 10:37 AM ----------

Which magisk version to install?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] mchauhan:
I used latest magisk version, i.e. 20.1. Use stable magisk manager from below thread.

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Yeah but the download of this firmware is so slow I mean the website it giving less speed to download the file any another link?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
And where are those ap files located is it in the firmware when we extract it sorry for so many questions I haven't rooted a samsung phone
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] dimbuh:
I had one unsuccessful attempt to root. I downloaded another firmware. Fulfilled this instruction. Method 1. The process was successful. My phone is with a root. If it does not work on one firmware, you need to try another. Thanks to the author.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Was that aj1 or aj2 which firmware u tried
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] _hunter:
Was able to unlock bootloader at last! Another trick: it should be a "short press" for a Power button -- not the long-one -- as for Download mode.

I.e.: you need to press VolUp+VolDown -- then get ready USB cable -- to plug it in -- and then at the same moment press the Power button, plug-in the cable and release Power button. -- in the next second/or two same screen as attached-one should appear.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] _hunter:
And now rooted.

But -- there is some strange issue with storage: Samsung Explorer says that Internal's SD size is 16GB -- before flashing it was 64.

And Root Explorer says that root volume has size about 4GB.

-- latest firmware was downloaded using SamFirm 0.3.6:

https://xdaforums.com/galaxy-tab-s/general/tool-samfirm-samsung-firmware-t2988647

and it was patched with Magisk 20.1 on exactly this phone...

---------- Post added at 10:28 PM ---------- Previous post was at 09:42 PM ----------

Flashed back original firmware -- I can see all 64GB again. So, it seems, there is something wrong with Magisk patcher...
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] shamsud:
u need to flash all the required files in odin not only ap patched file
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] dimbuh:
SER-M307FNXXU1ASJ1 failed root attempt.

SER-M307FNXXU1ASHJ successful root attempt .
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] redymedan:
Nice to hear that Magisk v20.1 worked stable on M30s :good: but not for A50s ( random bootloop problem ) So I must use Magisk v19.3 for rooting A50s with Custom Channel Update.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Something strange happened to me while rooting I rooted the phone I was on setup the first setup that pop up at the fresh start of phone..it was talking long so I restarted the phone when I I restarted ..a black screen appeared that has red message (official binary to be flashed) and I got to Samsung store to recover my device in was not able to do anything on my phone not even to switch on download mode that cost me RS1500 to repair
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] _hunter:
Yes -- that's exactly how I did it: flashed "BL_*.tar.md5", "magisk_patched.tar", "CP_*.tar.md5" and "CSC_*.tar.md5"...

Will try again from the scratch tomorrow.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] _hunter:
DEL
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] M-772007:
I will try rooting after week ! Thank you

I have a question

If I successfully rooted the phone. If there is an update for magisk can I update normally from magisk manger ? Or do I have to repeat the steps and patching the new magisk update to make it work ?

And if there is an official update for the phone from Samsung like the next security patch, can I update OTA aka wifi? Or do I have to do it manually using recovery?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] _hunter:
Both Magisk "core" and Samsung firmware have to be updated using Odin. The only thing you can update "on the fly" --Magisk manager.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] madmaxmoscow:
Hi guys! Do we still have no twrp for our device?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] shamsud:
we need developer
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Zobbster:
Not going to lie, I had a nightmare getting this to work, but flashing the official firmware helped when things went wrong after the rom failed to flash correctly. However after a couple more attempts, I finally got the patched AP and then Magisk installed. However Smali Patcher isn't working 100% it's hit and miss if it will load Magisk at boot and in any instance the patch module doesn't appear in the manager app, so I can't enable it.

Now I'm getting an OTA update to take the system from M307FXXU1ASI2 to M307FXXU1ASJ2/M307FODM1ASJ1/M307FXXU1ASJ1 (1st August '19). I've held off on installing the update because I'm sure I'll loose root & Magisk - is this correct? Can I install it, or wait until this version of the firmware is out in the wild and repeat the patch/flash process again?

A-men brother! I'd love Lineage running on this handset.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
We already have firmware for M307FXXU1ASJ2 and you need to patch it again before flashing to get magisk work. OTA update will remove Magisk.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Zobbster:
Thanks for the heads up santhoosh. I've not been able to find it for Region BTU, which is why I assumed it wasn't available. Is there any chance you (or someone) can point me in the right direction? Cheers!
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
Please check here for the latest firmware updates and other than this I can't find any other sources https://samfrew.com/model/SM-M307FN/region/BTU/
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
I succeed, and M30s India version is now rooted so that I can use the bloody tasker thing.........

But occasionally, phone re-boot itself when startup...... After 3 to 4 re-boot. Phone get steadily work all day the same day.

The reboot happens just when phone startup, like when I wake up and turn on phone in the morning.

Must need say BIG THANKS to author santhoosh member on page 1 to his work of this Magisk patch otherwise we are unable to enjoy root as there is not TWRP for M30s. Thanks mate!!!!!
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] _hunter:
I see that you've already resolved your issue, but in case someone will have the same question:

-- I would suggest to download official firmware and patch it "manually" -- using Magisk. I tried such approach and it was proposed in "header post" as well.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Zobbster:
Yes, absolutely. I tried using the pre-patched AP that was in the first post, but after it failed to flash I thought that making my own patched version would be better. I'm having to constantly ignore the notification request to install the update until the new rom becomes available for my region, which is a bit of an annoyance, but everything else is working perfectly.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] ultrasound1991:
Hi, I applied method 1. It works.

But now I have a problem. If I restart my device, I lost root privileges.

In order to get them again, I have to reset my device and to start again method 1.

What do you think?

Thanks.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
You have to boot with magisk system in order to not loss the root I think the key combination is hold and press volume up + power key

---------- Post added at 05:00 AM ---------- Previous post was at 04:17 AM ----------

[youtube]RRk9q_obwVk[/youtube] here is link
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] ultrasound1991:
Perfect.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Can I know which model was your phone ASJ1? If yes which firmware did u used can u send me exact same link AND MY MODEL is M307F
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] ultrasound1991:
Of course.

It is M307FNJXU1ASJ1.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Can I have the link where did you downloaded that ...direct link to the firmware
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] ultrasound1991:
Of course. It was https://samfrew.com/it/download/Galaxy__M30s__/bf6n/ITV/M307FNXXU1ASJ1/M307FNOXM1ASJ2/ using slow speed.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Its Italia region the link u send me and my phone is M307F NOT M307FN
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] ultrasound1991:
If you want firmware for M307F, check here: https://samfrew.com/it/model/SM-M307F/.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
My baseband number is ASJ1 and build number is ASJ2 so which firmware should I download ASJ1 OR AJS2.sorry for so many questions bit confused

---------- Post added at 02:31 AM ---------- Previous post was at 02:30 AM ----------

My baseband number is ASJ1 and build number is ASJ2 so which firmware should I download ASJ1 OR AJS2.sorry for so many questions bit confused.

---------- Post added at 02:31 AM ---------- Previous post was at 02:31 AM ----------

My baseband number is ASJ1 and build number is ASJ2 so which firmware should I download ASJ1 OR AJS2.sorry for so many questions bit confused..

---------- Post added at 02:32 AM ---------- Previous post was at 02:31 AM ----------

My baseband number is ASJ1 and build number is ASJ2 so which firmware should I download ASJ1 OR AJS2.sorry for so many questions bit confused..
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
Hello,

What to do to the latest firmware updates recently pushed from Samsung?

They one that with new camera function together with Samsung shop apps.........

I'm using your patched firmware from the last firmware update and want to see if you would also patch magisk on the latest update for my Indian M30s.

Thank you very much.

Edmond

---------- Post added at 09:51 PM ---------- Previous post was at 09:44 PM ----------

Proper step to turn on phone:

Press and hold volume up

Together with power on key

When Samsung logo appear, immediately release all buttons.

Then it will be Magisk activated.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] ultrasound1991:
The Build Number must match to the Firmware.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] Gurjotjatt:
Thx bro
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] steta:
Smart Switch - Mode: Help wanted

Hi, I forgot to unlock the bootloader. So after flashing with Odin i got the "An error occuued while updating...Use..Smart Switch.."-Screen.

Smart Screen does not recognize my device.

I tried to install several original firmwares, everytime with result (in red text on phone): REV CHECK FAIL (BOOTLOADER) CODE 2 BINARY 1

ANybody any ideas?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
You should flash the most recent firmware or the same firmware of your region. Please tell me which build and region it was.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] steta:
No region info

Unfortunately I do not know the region (neither the build). I didn't check before.

So ther is no hope?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
Tell me Which country you are, and how many ota updates you have updated
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] steta:
Country is Germany. I have done not ota updates. But I bought it from amazon warehouse, so I do not know if somebody else did an ota update. The phone looked new and unused, but I don't know....

It is a F-Model (SM-M307F), but I did not find a F-Firmware for Region DBT only a FN-Firmware with DBT. I tried INS-Firmware for F. But every tyime it ends with CHECK FAIL.

Firmwares I tried:

DBT-M307FNXXU1ASJ1-20191108091502

INS-M307FXXU1ASJ2-20191030205353

NPB-M307FXXU1ASI2-20191002

M307FNXXU1ASJ1_9_4File_Multi CSC (OJM)

SM-M307FN_1_20191030161040_qmbwb8fqyo_fac
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] steta:
solved

INS-M307FXXU2ASL1-20191206141810 worked.

I don't know why, but its running again....
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
If its working you can unlock bootloader and flash your country's firmware
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
Hello santhoosh,

India version new build:

M307FXXU2ASL1/

M307FODM2ASL1/

M307FXXU2ASK2

Would you offer next magisk patch to those new builds?

I'm using your 1st patch working fine. I'm on:

M307FXXU1ASJ1 baseband

M307FXXU1ASJ2 build after ota

Thank you very much.

Edmond.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] steta:
I think there is no germn (DBT) firmware for SM-M307F only for the FN version.

So, I patched the working INS-version an flashed it.

I tried it several times but it does not work:

After exiting download mode an pressing immediatly after VolUp+Pwr (and holding it continously) it restarts 2 times before it enters recovery mode. After wipe data/factory reset and reboot with pressing VolUp+Pwr after bootloader warnig screen it boots normally.

After setting up android no MagiskManager ist installed. After installing MagiskManager manually it says Magisk not installed.

If I shut down and power on while pressing VolUp, it says in red "Only official releasedbinaries are alowed to be flashed" and shuts down.

Once down, this happens every time on poer on, even if VolUp ist not pressed.

Then I have to flash orginal ROM via download mode again.

An ideas left?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
Please check the link again I have already posted new build
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
My advice is to flash the original firmware that is working before, install magisk manager, patch the AP file(Check the first post) and flash. For the first time boot you will see magisk enabled in magisk manager. If you restart your phone through magisk it will boot into system with magisk, so to boot into magisk system if the phone is off press and hold vol + & power button and release it after Samsung logo
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] vanshsinha100:
Hello

I was flashing the pre patched file given by OP but odin Failed so i unplugged the cable. Now my phone is stuck on a screen "An error has occured while updating the device software. Use emergency restore....." I have tried using Smartswitch, it asks for model name and S/N but when i enter them smartswitch says recheck s/n . I cant go to download mode. Please help me. I beg you.

---------- Post added at 08:26 PM ---------- Previous post was at 08:22 PM ----------

Same problem here . Please help. How can i get into download mode from this screen. Please santhoosh

Edit: Ok so the error screen was itself in the download mode and i managed to flash the pre patched firmware. One last question is that when i complete the flash process and try to go to recovery for factory data reset it shows installing system updates for a few seconds then reboots again then in recovery mode, is it normal or am i missing something
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
Hello ,

Banking apps ( some other apps also ) refused running on ROOT device..

With this PATCHED Magisk I have choose Magisk Hide function still not able to run those Banking apps ...........

Any workaround to this please ?

( I have previous phone works ok on Banking apps choose Magisk hide )

Thanks edmond.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] vanshsinha100:
First of all after using magisk hide u need to clear data of application. If this also doesnt work then there is an option to rename magisk manager with a random package name in magisk manager settings. Use that... it works for me.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
===> This recipient is currently unable to receive mxxxxx.

Please advise me what other method you can accept coffee for your hard work.

( I should have Private message / email you , but I cannot find this button in this XDA forumn )

Thank you very much.

edmond.

---------- Post added at 01:31 PM ---------- Previous post was at 01:15 PM ----------

Thx Bro !!

However , banking apps still kick me out once starts .....

Having tried as well :

1. CLEAR DATA

2. UNINSTALL RIGHT AWAY

3. REINSTALL RIGHT AWAY

4. MAGISK HIDE ( Before hand choose already random name to 'manager'.

Anyway, big thanks again !

edmond
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] vanshsinha100:
Can u tell the name of the banking app u r trying to use?

I try testing it on my phone
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
https://play.google.com/store/apps/details?id=com.hangseng.rbmobile

( how to insert .jpg from my C:drive in this message ) ?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] vanshsinha100:
I was able to reach the login screen, till where could u reach
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
Thx again !!

When open apps , showing me the agreedment page.

I click accept.

Then, showing me the next page saying my device is jailbreak / root.

tell me to close apps.

I can not ever reach into page I can see log-in. ( It shows me only above 2 pages )

** From previous old phone I root by TWRP+MAGISK+MAGISK HIDE+UNSTALL BANK APPS+RE-INSTALL BANK APPS+HIDE APPS ( without random name ) I can go into log-in page of this Bank apps & use them with no issue. so that I more or less knowing how to hide magisk at basic...............

edmond
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] vanshsinha100:
One last try from my side

Rebbot the phone to magisk mode(first power off then power +volume up button)

Clear data and Uninstall the app

Rename magisk manager to some other name (not the default name Manager rename it to like"MM" OR "TWEAK" etc ) u get the idea

Then install app and do not open it. Go to magisk hide and click on the app checkbox.

Now run the app . Maybe it will work.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
Thanks BRO again !! ( try later as charging now ...... )

as , the phone turn itself on again once power down because AC plugged in I believe.

I am unable to volumn up + power button.

Do you know how in this Forum I can insert picture ( .jpg ) when I post ?

I want to show something to my build to clarify which version of firmware to patch.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] armour672:
than ks bro for the guide it works great
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
It WORKS !!! ( Thousand thanks ! )

I believe main cause is I need to rename Magisk to other names ( AS YOU Pointed out ) and (((NOT))) any name spelling close to MANAGER .... or such. ( I renamed it to MGM )

Thanks !

edmond.

P.S. How to insert picture in forum when I post ?
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] vanshsinha100:
Welcome...Really glad that it worked

But i also dont know how to attach photos...lol
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
Merry Christmas!!

Excuse me if later when you're free, please patch firmware on magisk as I'm no confident doing it.

I went to see the firmware page seems all of them are original firmware not yet patch.

Thank you very much.

Edmond
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] santhoosh:
I confirm the firmware I uploaded is patched, the name will be the same. And it's only for INS region.
[Samsung Galaxy M30s ROMs, Kernels, Recoveries, & O] eeeemc:
Thanks again.

Would my M30s require me wipe and factory reset as showing from the tutor video by flashing your latest INDIAN patch.....?

Thank you very much.

Edmond

Also, your donate to me button need update....... Please update me once it is fix or let me know if other methods.