[TUTORIAL][HOW TO][UNOFFICIAL]Samsung M31 Flash TWRP ((Permanently))

t_gajjar

New member
Jun 1, 2020
0
0
0
Can someone try this M31 TWRP?

I found an unofficial TWRP recovery for m31 on droidthunder site.
can anyone try it?
My account is limited so can not pos a link, but easy to find if you google search "droidthunder m31 TWRP".
 

devasure

Senior Member
May 18, 2015
71
12
38
Method working!!!



These are steps to take to root:
1-install latest firmware
2-flash vbmeta with odin with AP
3-flash Revanth_twrp_m31.tar with odin with AP
4-restart in twrp (no normal)
5-delete data / knox folder
6-format data
7-flash magisk 20.4
8-flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip module
9-normal restart
Now you can update the guide because it works !!! Thanks !!!

:good::good::good::good::good::good:
Dear, could you post the vbmeta link or source.you know my result of flashing Revant _twrp was the same as when you did it first.
I dont know anything about vbmeta ,and dont know where to find it,either.I flashed one from twrp .me site but it did not work.Thank you
 

devasure

Senior Member
May 18, 2015
71
12
38
Dear,I would like to know one more thing.How am I supposed to restart the device in twrp?(with auto restart option in odin unticked ,of course)Is it holding down vol up+power ?(Does it work while the flash screen is still on?This would sound like a silly doubt but then I had to flash stock two times following my failed attempt at flashing twrp.Thanks
 
Oct 7, 2020
44
8
18
Perugia
Dear,I would like to know one more thing.How am I supposed to restart the device in twrp?(with auto restart option in odin unticked ,of course)Is it holding down vol up+power ?(Does it work while the flash screen is still on?This would sound like a silly doubt but then I had to flash stock two times following my failed attempt at flashing twrp.Thanks

Odin automatic restart option deselected then volume down key + power button and immediately after volume up + power button
 
  • Like
Reactions: devasure

devasure

Senior Member
May 18, 2015
71
12
38
Dear,I would like to know one more thing.How am I supposed to restart the device in twrp?(with auto restart option in odin unticked ,of course)Is it holding down vol up+power ?(Does it work while the flash screen is still on?This would sound like a silly doubt but then I had to flash stock two times following my failed attempt at flashing twrp.Thanks
Third time unlucky 😥Vbmeta was successfully flashed this time.showed no error but on flashing twrp there were red error lines all over(did not take screenshots as I have only this device).managed to flash back to stock.
I congratulate you on your luck but would not recommend this twrp to anybody 😪
Thanks for your support,dear.
 
Oct 7, 2020
44
8
18
Perugia
Third time unlucky 😥Vbmeta was successfully flashed this time.showed no error but on flashing twrp there were red error lines all over(did not take screenshots as I have only this device).managed to flash back to stock.
I congratulate you on your luck but would not recommend this twrp to anybody 😪
Thanks for your support,dear.


To me it worked perfect, if you read in post 10 I also attached a screenshot
 

devasure

Senior Member
May 18, 2015
71
12
38
My result,had I been able to take sreenshots of them and post them,would look scarier than them all😫.Lucky I was able to get my device back in one piece😁Thank you dear for sparing your time for me😍
DEAR,followed your steps one more time and this time I pulled it off.Did not update magisk manager because the updated manager does not show modules for download .
Safety net passed but profile check failed. Installed Edexposed rinu core(version 21.3 )(higher versions will not work so it has to v 21.3),and passed cts profile check(I have left out a lot of steps in between and if needed I will add them later).
...and everything was working just fine when on an impulse I decided to uninstall some unnecessary system apps with gravity box installed in magisk of course,and lo !what happened ! On restarting after uninstalling those system apps using System App remover pro(jumobile),the phone just would not boot up.
Unable to power off and equally unable to restart I spend an hour before I managed to get into download mode(twrp was still working but nothing worked.wiped cashe,reinstalled magisk,and did everything...nothing worked)
...and finally flashed back to stock again.
May be magisk did not grant superuser permission to system uninstall app or may busybox was not working properly.
I am not going to give up any time soon.Will try again.Thanks for your support.Have a nice day
 
Last edited:
Oct 7, 2020
44
8
18
Perugia
DEAR,followed your steps one more time and this time I pulled it off.Did not update magisk manager because the updated manager does not show modules for download .
Safety net passed but profile check failed. Installed Edexposed rinu core(version 21.3 )(higher versions will not work so it has to v 21.3),and passed cts profile check(I have left out a lot of steps in between and if needed I will add them later).
...and everything was working just fine when on an impulse I decided to uninstall some unnecessary system apps with gravity box installed in magisk of course,and lo !what happened ! On restarting after uninstalling those system apps using System App remover pro(jumobile),the phone just would not boot up.
Unable to power off and equally unable to restart I spend an hour before I managed to get into download mode(twrp was still working but nothing worked.wiped cashe,reinstalled magisk,and did everything...nothing worked)
...and finally flashed back to stock again.
May be magisk did not grant superuser permission to system uninstall app or may busybox was not working properly.
I am not going to give up any time soon.Will try again.Thanks for your support.Have a nice day



Do it all over again and then don't try to uninstall system applications anymore because the same thing happened to me and I had to do it all over again.
In my opinion it is not Magisk's fault it is from samsung or from the operating system that does not allow it to uninstall certain system apps.The same thing happened to me and I had to do it all over again
 
Last edited:
  • Like
Reactions: devasure

devasure

Senior Member
May 18, 2015
71
12
38
Do it all over again and then don't try to uninstall system applications anymore because the same thing happened to me and I had to do it all over again.
In my opinion it is not Magisk's fault it is from samsung or from the operating system that does not allow it to uninstall certain system apps.The same thing happened to me and I had to do it all over again
Thank you.Thant was an eye opener😍
 
  • Like
Reactions: [email protected]

BlacBerd

Member
Jul 29, 2014
11
0
31
59
Aguascalientes
Method working!!!



These are steps to take to root:
1-install latest firmware
2-flash vbmeta with odin with AP
3-flash Revanth_twrp_m31.tar with odin with AP
4-restart in twrp (no normal)
5-delete data / knox folder
6-format data
7-flash magisk 20.4
8-flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip module
9-normal restart
Now you can update the guide because it works !!! Thanks !!!

:good::good::good::good::good::good:
I've followed this steps but got a
Method working!!!



These are steps to take to root:
1-install latest firmware
2-flash vbmeta with odin with AP
3-flash Revanth_twrp_m31.tar with odin with AP
4-restart in twrp (no normal)
5-delete data / knox folder
6-format data
7-flash magisk 20.4
8-flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip module
9-normal restart
Now you can update the guide because it works !!! Thanks !!!

:good::good::good::good::good::good:
HELLO, CAN YOU HELP ME?

Let's see...

My device is Samsung Galaxy M31 (SM-M315F)
One UI Core 2.5 Android 10
Base version: M315FDDU2ATJ9
I have unlocked the bootloader.
I downloaded and installed the drivers for Windows 10.
I downloaded Odin3-v3.14.4

Ok...

1. I have downloaded my firmware, as a .zip file:
MXO-M315FXXU2ATJ9-20201209225021.zip

2. Which has this 5 files inside:
a) AP_M315FXXU2ATJ9_CL20009869_QB35366136_REV00_user_low_ship_meta_RKEY_OS10.tar.md5
b) BL_M315FXXU2ATJ9_CL20009869_QB35366136_REV00_user_low_ship.tar.md5
c) CP_M315FDDU2ATJ9_CP17220727_CL20009869_QB35366136_REV00_user_low_ship.tar.md5
d) CSC_OMC_OWO_M315FOWO2ATJ9_CL20095628_QB35501759_REV00_user_low_ship.tar.md5
e) HOME_CSC_OMC_OWO_M315FOWO2ATJ9_CL20095628_QB35501759_REV00_user_low_ship.tar.md5

3. I have installed the firmware by Odin-AP, with the a) file. It Passed!

4. I found that there is two vbmeta files in the firmware pack:
a) vbmeta.img.lz4
b) vbmeta_samsung.img.lz4

5. To follow the steps on this process, I took this "a" file, delete "Iz4" so that the type file ends as "img", and then I ziped it as a .tar file (with 7zip). Then I've tried to flash it by Odin-AP, and the problem appears. I notice there is a line in the log which says: RQT_CLOSE !!

6. So I've tried the same step with the file b (vbmeta_samsung.img.lz4), but it ends like Fail! as well.

7. I can't install Revanth_twrp_m31.tar, for the same reason (RQT_CLOSE !!)

How can I solve this problem?
 

b1ttu

New member
Dec 20, 2020
2
0
1
DEAR,followed your steps one more time and this time I pulled it off.Did not update magisk manager because the updated manager does not show modules for download .
Safety net passed but profile check failed. Installed Edexposed rinu core(version 21.3 )(higher versions will not work so it has to v 21.3),and passed cts profile check(I have left out a lot of steps in between and if needed I will add them later).
...and everything was working just fine when on an impulse I decided to uninstall some unnecessary system apps with gravity box installed in magisk of course,and lo !what happened ! On restarting after uninstalling those system apps using System App remover pro(jumobile),the phone just would not boot up.
Unable to power off and equally unable to restart I spend an hour before I managed to get into download mode(twrp was still working but nothing worked.wiped cashe,reinstalled magisk,and did everything...nothing worked)
...and finally flashed back to stock again.
May be magisk did not grant superuser permission to system uninstall app or may busybox was not working properly.
I am not going to give up any time soon.Will try again.Thanks for your support.Have a nice day

It's show.. just enable DNS over HTTPS in Magisk settings.
 

b1ttu

New member
Dec 20, 2020
2
0
1
I've followed this steps but got a


HELLO, CAN YOU HELP ME?

Let's see...

My device is Samsung Galaxy M31 (SM-M315F)
One UI Core 2.5 Android 10
Base version: M315FDDU2ATJ9
I have unlocked the bootloader.
I downloaded and installed the drivers for Windows 10.
I downloaded Odin3-v3.14.4

Ok...

1. I have downloaded my firmware, as a .zip file:
MXO-M315FXXU2ATJ9-20201209225021.zip

2. Which has this 5 files inside:
a) AP_M315FXXU2ATJ9_CL20009869_QB35366136_REV00_user_low_ship_meta_RKEY_OS10.tar.md5
b) BL_M315FXXU2ATJ9_CL20009869_QB35366136_REV00_user_low_ship.tar.md5
c) CP_M315FDDU2ATJ9_CP17220727_CL20009869_QB35366136_REV00_user_low_ship.tar.md5
d) CSC_OMC_OWO_M315FOWO2ATJ9_CL20095628_QB35501759_REV00_user_low_ship.tar.md5
e) HOME_CSC_OMC_OWO_M315FOWO2ATJ9_CL20095628_QB35501759_REV00_user_low_ship.tar.md5

3. I have installed the firmware by Odin-AP, with the a) file. It Passed!

4. I found that there is two vbmeta files in the firmware pack:
a) vbmeta.img.lz4
b) vbmeta_samsung.img.lz4

5. To follow the steps on this process, I took this "a" file, delete "Iz4" so that the type file ends as "img", and then I ziped it as a .tar file (with 7zip). Then I've tried to flash it by Odin-AP, and the problem appears. I notice there is a line in the log which says: RQT_CLOSE !!

6. So I've tried the same step with the file b (vbmeta_samsung.img.lz4), but it ends like Fail! as well.

7. I can't install Revanth_twrp_m31.tar, for the same reason (RQT_CLOSE !!)

How can I solve this problem?

Bro first, you don't need to flash stock firmware.. (only install latest firmware, if your phone not UpToDate)

You neeed to flash this vbmeta file : https://gofile.io/d/lHAKhY

1. Unlock bootloader (how to confirm, when OEM is ON & unclickable )
2. In download mode,
2.a. Install vbmeta
2.b. Twrp image ( remember auto.reboot turn off in Odin)
2.c. Open twrp and format data & delete /data/knox folder
2.d. Flash Magisk zip file.
2.e. Reboot

Enjoy..!!
 
Oct 7, 2020
44
8
18
Perugia
I've followed this steps but got a


HELLO, CAN YOU HELP ME?

Let's see...

My device is Samsung Galaxy M31 (SM-M315F)
One UI Core 2.5 Android 10
Base version: M315FDDU2ATJ9
I have unlocked the bootloader.
I downloaded and installed the drivers for Windows 10.
I downloaded Odin3-v3.14.4

Ok...

1. I have downloaded my firmware, as a .zip file:
MXO-M315FXXU2ATJ9-20201209225021.zip

2. Which has this 5 files inside:
a) AP_M315FXXU2ATJ9_CL20009869_QB35366136_REV00_user_low_ship_meta_RKEY_OS10.tar.md5
b) BL_M315FXXU2ATJ9_CL20009869_QB35366136_REV00_user_low_ship.tar.md5
c) CP_M315FDDU2ATJ9_CP17220727_CL20009869_QB35366136_REV00_user_low_ship.tar.md5
d) CSC_OMC_OWO_M315FOWO2ATJ9_CL20095628_QB35501759_REV00_user_low_ship.tar.md5
e) HOME_CSC_OMC_OWO_M315FOWO2ATJ9_CL20095628_QB35501759_REV00_user_low_ship.tar.md5

3. I have installed the firmware by Odin-AP, with the a) file. It Passed!

4. I found that there is two vbmeta files in the firmware pack:
a) vbmeta.img.lz4
b) vbmeta_samsung.img.lz4

5. To follow the steps on this process, I took this "a" file, delete "Iz4" so that the type file ends as "img", and then I ziped it as a .tar file (with 7zip). Then I've tried to flash it by Odin-AP, and the problem appears. I notice there is a line in the log which says: RQT_CLOSE !!

6. So I've tried the same step with the file b (vbmeta_samsung.img.lz4), but it ends like Fail! as well.

7. I can't install Revanth_twrp_m31.tar, for the same reason (RQT_CLOSE !!)

How can I solve this problem?
Hi! Vbmeta use this
 

Attachments

Sotiras

Member
Nov 8, 2020
7
1
3
Method working!!!



These are steps to take to root:
1-install latest firmware
2-flash vbmeta with odin with AP
3-flash Revanth_twrp_m31.tar with odin with AP
4-restart in twrp (no normal)
5-delete data / knox folder
6-format data
7-flash magisk 20.4
8-flash Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip module
9-normal restart
Now you can update the guide because it works !!! Thanks !!!

:good::good::good::good::good::good:
I am happy I could help, could you link me the magisk and dm verity you used? which data did you format precisely?