[RECOVERY][UNOFFICIAL] TWRP for Galaxy M31s (Exynos)

Search This thread

saifsuse

Member
Jan 21, 2015
21
8
works on latest available stock rom of M31s, unable to get magisk to patch the boot.img, system is getting bricked.
 

hacknick

New member
Mar 28, 2023
1
0
I am stuck at download mode with following error

"ODIN MODE (AVB FAIL)
vbmeta: Error verifying vbmeta image: HASH_MISMATCH(3)"

I can't be able to come out of this and even ODIN not recognizing the device so that I can flash again. Is there any other way?
Device: Samsung M31s Android 12
 

Din_Ha

Member
Dec 23, 2022
7
1
Samsung Galaxy M31
home.png
backupname.png

Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

Code:
 * Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or your getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.

Supported Models:
Galaxy M31s M317F.

Download & Guide:
1. Unlock your bootloader.
2. Download M31s : m31s.
3. Reboot to download mode and flash vbmeta_disabled.tar in USERDATA slot and click start, Device will reboot to recovery mode prompting you to wipe data so wipe data and reboot to download mode again.
4. Put the TWRP TAR for your device with Odin in the AP slot and click start.
5. Reboot to recovery via recovery key combo (Vol up + power + USB connected).
6. Disable encryption:
- Go to Advanced > Terminal, type: multidisabler.​
If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.​
- Type: multidisabler again. will see - Finished. when done.​
- Go back to Wipe > Format Data > type yes.​
- Reboot to recovery.​
7. Flash magisk apk in twrp.
8. Reboot to system, Enjoy.

Support:
Live support is available via #twrp on Freenode with your IRC client or just click this link.

Telegram:
https://t.me/twrp_a_m_series

Bugs:
- Encryption not fully working.

Thanks:
TWRP team
@ianmacd for multidisabler

Sources:
Kernel tree
Device tree
Please update it for android 12 bit 3, thank you so much
 

RushabhKidile

Member
Dec 9, 2012
28
0
Nagpur
I am stuck at download mode with following error

"ODIN MODE (AVB FAIL)
vbmeta: Error verifying vbmeta image: HASH_MISMATCH(3)"

I can't be able to come out of this and even ODIN not recognizing the device so that I can flash again. Is there any other way?
Device: Samsung M31s Android 12
Hello @hacknick, Hi All,

Were you or someone, able to make ODIN detect your device?

I am stuck in similar situation, device is not detected, and not even able to flash stock firmware.

Device : Samsung M31s
Samsung USB driver version : v1.7.59

History:

I was able to flash vbmeta_disabled.tar in USERDATA using ODIN.
After Factory Data Wipe. device started I switched it of and in download mode tried to flash TWRP TAR. It was givig Write operation Failed.
Again I was trying today to perform "flash the twrp in the AP and the vbmeta_disable in USERDATA together, and uncheck autoreboot and manually boot to recovery."

But now in download mode I am getting.

ODIN MODE (AVB FAIL)
vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED (3)
CUSTOM VBMETA
VBMETA : No Sign info
VBMETA

PFB,



20230724_082955.jpg



Thanks in Advance.
 

RushabhKidile

Member
Dec 9, 2012
28
0
Nagpur
Hello @hacknick, Hi All,

Were you or someone, able to make ODIN detect your device?

I am stuck in similar situation, device is not detected, and not even able to flash stock firmware.

Device : Samsung M31s
Samsung USB driver version : v1.7.59

History:

I was able to flash vbmeta_disabled.tar in USERDATA using ODIN.
After Factory Data Wipe. device started I switched it of and in download mode tried to flash TWRP TAR. It was givig Write operation Failed.
Again I was trying today to perform "flash the twrp in the AP and the vbmeta_disable in USERDATA together, and uncheck autoreboot and manually boot to recovery."

But now in download mode I am getting.

ODIN MODE (AVB FAIL)
vbmeta: Error verifying vbmeta image: OK_NOT_SIGNED (3)
CUSTOM VBMETA
VBMETA : No Sign info
VBMETA

PFB,



View attachment 5961353


Thanks in Advance.


This was not download mode. it was empty/corrupt partition for System or Recovery.
If I hold vol down and power with USB Cable plug device use to reboot with vibrate.

To come to actual download mode I kept both volume button press (so Vol Up + Vol Down + USB Plugged ) reboot with vibrate put device in actual download mode where device was detected in odin.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    home.png
    backupname.png

    Team Win Recovery Project 3.x, or twrp3 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel.

    Code:
     * Your warranty is now void.
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or your getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.

    Supported Models:
    Galaxy M31s M317F.

    Download & Guide:
    1. Unlock your bootloader.
    2. Download M31s : m31s.
    3. Reboot to download mode and flash vbmeta_disabled.tar in USERDATA slot and click start, Device will reboot to recovery mode prompting you to wipe data so wipe data and reboot to download mode again.
    4. Put the TWRP TAR for your device with Odin in the AP slot and click start.
    5. Reboot to recovery via recovery key combo (Vol up + power + USB connected).
    6. Disable encryption:
    - Go to Advanced > Terminal, type: multidisabler.​
    If vendor complain about free space left on device, will attempt to resize vendor. and it ask to - Run multidisabler again!.​
    - Type: multidisabler again. will see - Finished. when done.​
    - Go back to Wipe > Format Data > type yes.​
    - Reboot to recovery.​
    7. Flash magisk apk in twrp.
    8. Reboot to system, Enjoy.

    Support:
    Live support is available via #twrp on Freenode with your IRC client or just click this link.

    Telegram:
    Link

    Bugs:
    - Encryption not fully working.

    Thanks:
    TWRP team
    @ianmacd for multidisabler

    Sources:
    Kernel tree
    Device tree
    1
    Changelog:
    29.11.2021 - Update to TWRP 3.6.0
    - Add Symlinked dynamic partitions to fstab
    - Update multidisabler
    - fstab clean up
    04.06.2021 - Initial Release.
    1
    It works, thank you. I'll be test this ;)
    1
    Is it working on One Ui 3.1 on M31?
    1
    Is it working on One Ui 3.1 on M31?
    You can test