⚠️Galaxy A51 Root || Unlock Bootloader || Flash Official Firmware [Binary 3] May

map220v

Member
Jul 26, 2016
49
36
18
Nice! Have you done the method released by Invisible Diamond on YouTube? Does it keep root modifications after rebooting phone?
IDK. not seen his video.
I just downloaded one ui 2.1 firmware installed it. then from AP extracted boot.img and patched with magisk. Magisk still works after 3 reboots
 

gabrielfrias

Senior Member
May 27, 2012
63
37
0
Yes. i installed Magisk just like in this video.
tried this since the video was released and no success. it does root, but when I install any modules, it losts root and even if I flash the patched boot, root is not restored, so I have to flash the firmware all over again. I also tried to patch the whole firmware, wich does not work, gives vbmeta error.
what's the rigth procedure, am I missing something? thanks
 

map220v

Member
Jul 26, 2016
49
36
18
tried this since the video was released and no success. it does root, but when I install any modules, it losts root and even if I flash the patched boot, root is not restored, so I have to flash the firmware all over again. I also tried to patch the whole firmware, wich does not work, gives vbmeta error.
what's the rigth procedure, am I missing something? thanks
It's sounds like new magisk safe mode or new magisk bug.
Here's my boot.img that i using right now
https://drive.google.com/file/d/1-iIgXFmUKklUCtyc1PYmICGLjjT0SYuf/view?usp=drivesdk
After installing i did factory reset. Then magisk manager installed it's files and rebooted. Im using right now only Exposed module.

Im using 87de0e7a Canary Magisk Manger and 122b4d66 Canary Magisk
 

gabrielfrias

Senior Member
May 27, 2012
63
37
0
It's sounds like new magisk safe mode or new magisk bug.
Here's my boot.img that i using right now
https://drive.google.com/file/d/1-iIgXFmUKklUCtyc1PYmICGLjjT0SYuf/view?usp=drivesdk
After installing i did factory reset. Then magisk manager installed it's files and rebooted. Im using right now only Exposed module.

Im using 87de0e7a Canary Magisk Manger and 122b4d66 Canary Magisk
Not working at all. Watch this video and tell me if I'm doing something wrong, please:
https://drive.google.com/file/d/11NaWeu1xkfFCeaqG2XcEJVW7EepsXBFX/view?usp=sharing
 

YOisuPU

Member
Jul 29, 2019
25
16
0
We need kernel without forced Enforced SELinux.
I already compiled it not sure if it's works on Binary 3 Firmwares
https://drive.google.com/file/d/1Jq8JeEnzBPCDBjC_ewVxbWjhJ9q4G21G/view?usp=sharing
After installing do Wipe data/factory reset in recovery
Then you need Terminal Emulator (Like Termux) do su command and then write "setenforce 0" and check with "getenforce" it's should say Permissive
Hello. If you have the opportunity to help. Now this does not work for the latest firmware.
PDA A515FXXU3BTD4 and CSC A515F...3BTD4. The operating system of this firmware is Android 10 , with build date Tue, 21 Apr 2020 14:03:39 +0000. Security patch date is 2020-04-01, with changelist 18509473
+
https://github.com/phhusson/treble_experimentations/releases/tag/v216

Many thanks!
p.s. how does this magic happen? what resources (in terms of hardware) are needed for this, and where to get the instructions - I doubt that I can do it - on an old computer with a small amount of RAM and a small disk, but still, maybe someone will add instructions. that to endlessly do not distract map220v

Have a nice day, everyone!
 

bagbyte

Member
Aug 16, 2009
24
6
0
Help please help patch boot.img (https://ln2.sync.com/dl/edfdebfd0/fygpqpuk-yjqce6qn-jww9jxd5-kc8ynbbk)
like this https://forum.xda-developers.com/showpost.php?p=82236017&postcount=66.
on the last update A515F..3BTD4 + AOSP 10.0 v216 (https://github.com/phhusson/treble_experimentations/releases/tag/v216) I get bootlup ^ (
thanks a lot
p.s. and if possible share instructions on how to do it
I had the same problem, using this patched boot solved it: https://drive.google.com/file/d/1AvtwteSobCJrp6bhp2osfTYKIu1vxPDh/view
 
  • Like
Reactions: YOisuPU

YOisuPU

Member
Jul 29, 2019
25
16
0
using this.. solved it
Hello. I thank you for helping. Unfortunately this is not successful for me. I saw - carefully studied your and other posts, followed all the links and saw all your and other discussions on other sites. Many times I tried to get the download patch on my own, with my hands and with the help of all tools and programs. I could not make friends the latest firmware from the Samsung with the latest version of gsi. apparently this is not mine. I decided this is my last device from Samsung and the last device on android. I choose gnu in the future, especially since I always use push-button telephones for calls, because I need a normal connection and a long time work cellphone on expeditions. living at an electrical outlet was never mine. :) In general, Samsung - I do not love you anymore :) despite your beautiful screen :)
p.s. The latest gsi 216 firmware broke the display of the battery when charging, and after a reboot, the total operating time is reset, in the battery testimony. this is just what I noticed at the moment - the phone has not yet been set up. in the end, I crossed the last gsi and the penultimate firmware from Samsung, calmed down and stay on it for now, I like the unimaginable working time and cleanliness gsi. Thank you very much phhusson for his work(and I like his avatar :)).
p.p.s. I wanted to collect an update for May, for everyone who needs a clean android and who does not have resources for this, but did not work out. so I leave in the next branch a clean android with April updates based on gsi april + samsung april https://forum.xda-developers.com/galaxy-a51/how-to/a51-aosp-vanilla-firmware-pure-android-t4093821 by and large, the latest update is not so important since the firmware with the root is clean, and the rest can be configured as you like, and set up a good firewall and rules.
have a nice day, everyone!
 

Drixylium

New member
Aug 17, 2019
3
0
0
help please!

whenn i flash the patched boot.img it fails, it shows me "Blocked by 'OEM' Lock" even though i unlocked the oem lock before... what to do??? please help..
 

YOisuPU

Member
Jul 29, 2019
25
16
0
Hello. you need to first run the stock firmware and activate the developer's line, to see the line that the bootloader is unlocked (even if it is already unlocked), that is, before flashing it was not necessary to reset to factory settings. You will find answers to other questions (how to make the line appear - the bootloader is unlocked, and others ..) by carefully studying the topic https://forum.xda-developers.com/galaxy-a51/how-to/a51-aosp-vanilla-firmware-pure-android-t4093821 have a nice day.
if you have a problem and a message is displayed on the phone screen: connect your phone to the Samsung Smart Switch program for recovery, you can try to fix it by flashing the phone through odin with official firmware, you just need to remove the check from the first line of BL, flash everything else as usual AP, SP, CSC ..
 
Last edited:

bagbyte

Member
Aug 16, 2009
24
6
0
Did anybody try to install a Magisk module? I've tried to install Log Catcher, the installation succeeds, but after rebooting the module is not shown in the Module list, and it seems is not loaded needed. Magisk log shows no messages about it, and in /data/adb folders there are modules/logcat and modules_update/logcat
 

gabrielfrias

Senior Member
May 27, 2012
63
37
0
Did anybody try to install a Magisk module? I've tried to install Log Catcher, the installation succeeds, but after rebooting the module is not shown in the Module list, and it seems is not loaded needed. Magisk log shows no messages about it, and in /data/adb folders there are modules/logcat and modules_update/logcat
for me they're working ok. I rooted following Diamond Invisible's video on YouTube.
 

bagbyte

Member
Aug 16, 2009
24
6
0
for me they're working ok. I rooted following Diamond Invisible's video on YouTube.
It doesn't work on my device, after flashing the patched boot.img it starts to bootloop... making more research I've found this

It seems my model (DBT) doesn't have binary 3 yet (which still I'm not sure what it means, not ever where to see the binary code when downloading the firmware)
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone