[RECOVERY] TWRP for Samsung Galaxy A31 [SM-A315G/F/N] [UNOFFICIAL] [BINARY 1 & 2]

Search This thread

giosaxda

Senior Member
Jan 11, 2012
144
14
LG G Pad 8.3
T
Reboot into fastboot from TWRP flash vbmeta using this command line:
Code:
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

Samsung devices do not have fastboot mode, do you mean download mode?
Fastboot command you wrote, will that work from TWRP terminal?
Can I just flash//install vbmeta.img extracted from the offical firmware, from TWRP?
 

giosaxda

Senior Member
Jan 11, 2012
144
14
LG G Pad 8.3
We actually use fastbootd from TWRP to disable vbmeta, nothing to do with samsung.
Thank you for your relply.
https://twrp.me/samsung/samsunggalaxya31.html is that means I should use their version? with due respect to your work.

The reason I'm trying to flash TWRP is to extract files resposible for IMEI number, so that I can repair my main phone, i.e. I have screen damaged galaxy a31 dual sim, want extract file(s) and put into galaxy s7 which is my main phone.

Don't know which files I need yet LoL,
Can you help?

Regards,
Giosa
 

Zillion

Senior Member
Thank you for your relply.
https://twrp.me/samsung/samsunggalaxya31.html is that means I should use their version? with due respect to your work.

The reason I'm trying to flash TWRP is to extract files resposible for IMEI number, so that I can repair my main phone, i.e. I have screen damaged galaxy a31 dual sim, want extract file(s) and put into galaxy s7 which is my main phone.

Don't know which files I need yet LoL,
Can you help?

Regards,
Giosa
I would recommend you to use my TWRP as it does not require any Magisk to be installed for it to work, the guy who maintains the official TWRP likes people to use Magisk for some reason.
If your device was never modified then your /data is encrypted and there isn't that much you can do about it.
 
  • Like
Reactions: notnoelchannel

FloodDairy

New member
Feb 17, 2023
3
0
Can someone explain how to use the Odin tool to flash TWRP? And why do I need to flash a zip after TWRP is already installed? And What do I do with my phone is rooted?
 

NaPohybel

Member
Sep 25, 2018
5
0
@Zillion Thank you for your hard work making this custom recovery.

As i noticed you have changed TWRP with SHRP. How can I reboot to fastboot from there? I can't find it anywhere so I'm not able to flash vbmeta.
And second question, is it possible to downgrade rom from Binary 2 to Binary 1 using SHRP (bypass "sw rev check")?
 

Zillion

Senior Member
@Zillion Thank you for your hard work making this custom recovery.

As i noticed you have changed TWRP with SHRP. How can I reboot to fastboot from there? I can't find it anywhere so I'm not able to flash vbmeta.
And second question, is it possible to downgrade rom from Binary 2 to Binary 1 using SHRP (bypass "sw rev check")?
You can download TWRP from GitHub releases, check it's the latest release, if you don't see it do some scroll down.

1685798026002.png

About the binary downgrade, it's impossible to do that since binaries are eFuses that get burnt when updating.
 
Last edited:

Kadeuce

New member
Apr 5, 2021
1
0
Samsung Galaxy M32
Team Win Recovery Project or TWRP for short. Its a fully touch driven user interface, completely theme-able & you can change just about every aspect of the look and feel.
Now ported to the SM-A315F | SM-A315F/DS | SM-A315G/DS | SM-A315G | SM-A315N. (DS means Dual Sim, thing that doesn't matter a lot for TWRP)​





Download - You'll always find the latest release in here: https://github.com/Galaxy-MT6768/android_device_samsung_a31x/releases

Known Issues / Report Issues - https://github.com/Galaxy-MT6768/android_device_samsung_a31x/issues

Telegram support group - http://t.me/a31nsxx



How to install​


Flashing Disabled vbmeta (To boot a modified system)​


Sources​


Special thanks to:​


Actual TWRP status: Bugfixing; Try at your own risk and only if you know what you're doing.
How do I decrypt data partition
 

MisterVoidy

Member
Aug 17, 2023
6
0
Well this is the start though... Which is a good thing, as long this specific device is supported to run twrp now, i would expect more developers would port a custom roms for this device in the future considering the official site of twrp includes this device plus the specific device starts to be left out for future updates and its forever stuck on android 12 except future security updates, unless you custom rom this device and overclock, since one ui 4.1 is buggy and unoptimized lol.. This thing is still capable
 

Zillion

Senior Member
Well this is the start though... Which is a good thing, as long this specific device is supported to run twrp now, i would expect more developers would port a custom roms for this device in the future considering the official site of twrp includes this device plus the specific device starts to be left out for future updates and its forever stuck on android 12 except future security updates, unless you custom rom this device and overclock, since one ui 4.1 is buggy and unoptimized lol.. This thing is still capable
I started working on a common for mt6768 (a31 & a41), it was not the best thing but the lineageos recovery status is fully booting and working, even with the adb sideload that twrp does not have fixed. After some builds the OpenGL symlink started to fail without an apparent reason, right now I left this a31 lineageos project on the side.

note: all the work that has been done and will be done on a31 it's as always open-source on github.
lineageos kernel: https://github.com/Galaxy-MT6768/android_kernel_samsung_mt6768/tree/staging/lineage-20
lineageos common: https://github.com/DevZillion/android_device_samsung_mt6768-common/
lineageos a31: https://github.com/shelby-stuffs/android_device_samsung_a31
 
  • Like
Reactions: MisterVoidy

Top Liked Posts