[Root] [guide] Samsung Galaxy A20 rooting guide

Search This thread

jajk

Senior Member
Jul 18, 2014
1,535
1,651
@droidzer1 I have figured out to to recover quickly after trashing the phone. It needs to make like E.T and call home before it will let you access the unlocked bootloader for real - before that happens, it only pretends to give you access to break your spirit and eventually submit to the will of Samsung.
On the more serious side of things....... In Australia we are limited in brands and models on offer (the land of the duopoly) so to buy one of the better OnePlus, Google Pixel or even Moto offerings is either impossible or priced over the top. I took a punt on the A20 which has been a bit of a failure with crippled hardware performance (SoC, Camera, Modem, Sound etc), mediocre battery life even after a good debloating. All I ever want is a cheapo phone that can be rooted, debloated, de-Googled, de-Samsunged or de-whatever branded. Is that allowed anymore or am I being a non-conformist?
I still use my Moto G 2013 as my primary device running 7.1 - now that was a good phone but whether or not that can be said about current Lenovo built Motos is another question.....
 

droidzer1

Senior Member
Oct 28, 2013
592
178
@droidzer1 I have figured out to to recover quickly after trashing the phone. It needs to make like E.T and call home before it will let you access the unlocked bootloader for real - before that happens, it only pretends to give you access to break your spirit and eventually submit to the will of Samsung.
On the more serious side of things....... In Australia we are limited in brands and models on offer (the land of the duopoly) so to buy one of the better OnePlus, Google Pixel or even Moto offerings is either impossible or priced over the top. I took a punt on the A20 which has been a bit of a failure with crippled hardware performance (SoC, Camera, Modem, Sound etc), mediocre battery life even after a good debloating. All I ever want is a cheapo phone that can be rooted, debloated, de-Googled, de-Samsunged or de-whatever branded. Is that allowed anymore or am I being a non-conformist?
I still use my Moto G 2013 as my primary device running 7.1 - now that was a good phone but whether or not that can be said about current Lenovo built Motos is another question.....

Well that explains it. Your phone is listening to all the bad things you say about it so it is trying to mess with you by being as difficult as possible. LOL ... but seriously I don't have a SIM in mine so it can't call home unless Wifi is on. I think my experience was that even if OEM unlock is grayed out you can still install Magisk and once you do that it is no longer grayed out. From official Magisk directions - this info may be relevant:
since things had changed drastically from previous Samsung devices, and there are some
details that many might not know, I figure this would be helpful.
Allow bootloader unlocking in Developer options → OEM unlocking
Power off your device. Press Bixby + Volume Down and plug in your device to a PC to boot into download mode.
Long press volume up to unlock the bootloader. This will wipe your data and automatically reboot.
Just when you think the bootloader is unlocked, surprise surprise, it is actually not! Samsung introduced VaultKeeper in the system, meaning the bootloader will reject any unofficial partitions before VaultKeeper explicitly allows it.
Go through the initial setup. Skip through all the steps since data will be wiped again later when we are installing Magisk. Connect the device to internet in the setup!
Enable developer options, and confirm that the OEM unlocking option exists and grayed out! The VaultKeeper service will unleash the bootloader after it confirms that the user has the OEM unlocking option enabled. This step is to simply make sure the service gets
the correct info, and also double check that our device is in a correct state
Your bootloader now accepts unofficial images in download mode.
 
Last edited:

jajk

Senior Member
Jul 18, 2014
1,535
1,651
@droidzer1 Yes, it must be that Vaultkeeper service protecting the pot of gold (my data) for Samsung and Alphabet to plunder. Note to self: Do not delete or disable Samsung Payment service again - it is crucial to the phone remaining functional because it involves Samsung and money......hmmm?
If Samsung and Alphabet are so concerned about our phone security, then why do we still run Webview v72 and miss out on all the so called "security" improvements released since then? Why do we get a warning when replacing the stock keyboard that the aftermarket keyboard app will be able to keylog our every move when the reverse is exactly the reason to replace it?
What a joke this is all becoming.......why can't I have a phone that just does what I want it to do and doesn't split the spoils of my data between 2 badly behaved multinational companies?
 

droidzer1

Senior Member
Oct 28, 2013
592
178
is there someone from the PH tried this rooting method I am afraid to try it with my A20. :D:D

Download the stock ROM for your phone first - make sure you have the correct model and build. Then if anything goes wrong you can flash the stock ROM back with Odin. As long as you don't have the Metro PCS model (SM-A205U) you should be good to go. I'd suggest looking here: https://samsung-firmware.org/model/SM-A205G/ or search from their home page: https://samsung-firmware.org/
 

argonax

Senior Member
Aug 15, 2013
84
3
Xiaomi Poco X3 NFC
Download the stock ROM for your phone first - make sure you have the correct model and build. Then if anything goes wrong you can flash the stock ROM back with Odin. As long as you don't have the Metro PCS model (SM-A205U) you should be good to go. I'd suggest looking here: https://samsung-firmware.org/model/SM-A205G/ or search from their home page: https://samsung-firmware.org/

I am using SM-A250GN from ph. i will try but my history in rooting samsung is 1 out of 10 only samsung s3 rogers edition i was successfully doing the root process.
 

droidzer1

Senior Member
Oct 28, 2013
592
178
I am using SM-A250GN from ph. i will try but my history in rooting samsung is 1 out of 10 only samsung s3 rogers edition i was successfully doing the root process.

That site has your model for stock ROMs here: https://samsung-firmware.org/model/SM-A205GN/
People here can help you out if you have trouble but following the directions you should be fine. However if it's your only phone and you must rely on it being dependable at all times (like when a root attempt fails) then I would understand not trying this. A computer with at least Windows 7 will be helpful if you decide to try.
 

argonax

Senior Member
Aug 15, 2013
84
3
Xiaomi Poco X3 NFC
That site has your model for stock ROMs here: https://samsung-firmware.org/model/SM-A205GN/
People here can help you out if you have trouble but following the directions you should be fine. However if it's your only phone and you must rely on it being dependable at all times (like when a root attempt fails) then I would understand not trying this. A computer with at least Windows 7 will be helpful if you decide to try.


I have a windows 10 pro laptop. my only problem is, does my phone still receive s OTA incase I root it?bootloader will be unlocked as well right?
 

droidzer1

Senior Member
Oct 28, 2013
592
178
I have a windows 10 pro laptop. my only problem is, does my phone still receive s OTA incase I root it?bootloader will be unlocked as well right?

Yes boot loader would be unlocked and you won't get OTA updates unless you restore your phone to stock. Then you would need to reinstall TWRP and probably re-root it.
 

janga9

Member
Oct 13, 2019
19
1
2. Download the rom for your device from [LINKS REMOVED BECAUSE I AM A NEW USER].

These links don't work. The second one doesnt have my device (SM-A205YN) listed, and the first one the download will fail about a quarter of the way through every time :/

Does anyone have any working links for the SM-A205YN? Also, I'm not entirely sure what the difference between VAP, TLP and XSA firmware is. They are all listed under the SM-A205YN page on the first link given, but it doesnt tell me what the difference is. FWIW I plan on installing a GSI ROM later anyway, so does it matter?

Thanks :)
 

physwizz

Senior Member
Sep 16, 2013
4,389
998
Sydney
These links don't work. The second one doesnt have my device (SM-A205YN) listed, and the first one the download will fail about a quarter of the way through every time :/

Does anyone have any working links for the SM-A205YN? Also, I'm not entirely sure what the difference between VAP, TLP and XSA firmware is. They are all listed under the SM-A205YN page on the first link given, but it doesnt tell me what the difference is. FWIW I plan on installing a GSI ROM later anyway, so does it matter?

Thanks :)

I downloaded the 205yn vap.
Check your "about phone" to see
 

janga9

Member
Oct 13, 2019
19
1
I don't know of one.
You might try downloading to a computer with a good internet connection

I live in Australia (hence SM-A205YN) and I have the NBN, our governments "upgraded" broadband connection, which crippled my internet. I now get better speeds than the old ADSL connection, but it slows to a snail every 10 minutes. I have tried several ISP's, contacting the government directly to get them to fix our ****ing broadband, but nothing works. My home internet is utter trash and most of my internet use is done from 4G now.

I'll have to try getting a mate to download it for me and copy it to my computer.

Thanks tho
 

physwizz

Senior Member
Sep 16, 2013
4,389
998
Sydney
I live in Australia (hence SM-A205YN) and I have the NBN, our governments "upgraded" broadband connection, which crippled my internet. I now get better speeds than the old ADSL connection, but it slows to a snail every 10 minutes. I have tried several ISP's, contacting the government directly to get them to fix our ****ing broadband, but nothing works. My home internet is utter trash and most of my internet use is done from 4G now.

I'll have to try getting a mate to download it for me and copy it to my computer.

Thanks tho

I'll be getting the nbn soon.
 

vicecry

New member
Oct 31, 2019
2
0
SM-A205F

i followed steps same as you wrote after flasing patched boot.img my phone wasn't starting and showed error at samsung a20 logo screen in red color at top of screen " Only Official Release Binaries Are Allowed To Be Flash " and then phone was turning power off automatically wasn't able to boot rom, my firmware was up to date/updated then i decided to flash stock june 2019 firmware of my region and now im able to root my phone easily without any error but facing 1 error in TWRP E:FBE found but FBE support not present in TWRP.
maybe this magisk root method has been patched in latest firmware update as i was getting error in updated firmware "Only Official Release Binaries Are Allowed To Be Flash"
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Useful videos

    Instructions

    A. Prepare boot image


    1. Download magisk manager apk
    2. Download the exact firmware (including upgrade date) for your device from https://samfrew.com or https://www.samfirmware.net/ or https://www.full-repair-firmware.com/search?q=A20 or
    https://samfw.com/
    3. Use zarchiver to copy AP_20xxxxxxxx.md5 to download directory. It will extract it from the zip.
    4. Rename AP_20xxxxxxxx.md5 to AP_20xxxxxxx.tar and extract using zarchiver
    5. Copy boot.img.Iz4 to download directory and extract (resulting in boot.img)
    6. Use magisk manager to patch boot.img (use top install) result magisk_patched.img
    (If using Magisk (Canary) patch, options should be remove dm-verity and not via recovery, but allowing Persist Encrypt.)
    7. Rename magisk_patched.img to boot.img
    9. Use zarchiver to compress boot.img to boot.tar. If you have a A205xx June firmware (U2 bootloader), you can use my one of you're willing to take a risk. View attachment boot.zip. Just unzip it first.
    9a. For a20e users, try this boot.img https://xdaforums.com/showpost.php?p=81649257&postcount=260
    10. Copy boot.tar to Windows pc or Windows Virtualbox.
    11. On phone developer options in settings unlock OEM and enable usb debugging


    (If using Linux
    9. Don't compress `boot.img`
    10. install heimdall flash with `sudo apt install heimdall-flash`, if you want front-end install it with `sudo apt install heimdall-flash-frontend`)


    B. Unlock bootloader

    Useful video

    12. Backup data. It will be wiped.
    13. Turn phone off
    14. Hold vol- and vol+ and plug in power cable attached to pc then release vol up to enter unlock screen.
    15. Follow the instructions to unlock
    (You might need to long press vol up to unlock bootloader)
    vol + to select yes to confirm.
    17. Press power key to unlock bootloader.
    18. Reboot and reactivate developer options and enable usb debugging. Don't enter too much data at this stage as you will lose it again later.

    C. Flash boot image.

    19. Turn phone on in bootloader (download) mode (Hold power and vol+ to enter recovery mode then select bootloader download mode)
    20. Connect phone to computer.
    21. Use Odin in Windows to add boot.tar to phone. (Select AP). Some people recommend adding the other firmware parts to their slots at the same time.
    22. Restart phone
    23. select bootloader
    24. Select factory reset (this will wipe data)
    25. Restart phone
    26. install data
    26. install magisk manager
    27. If green phone is rooted.
    View attachment 4802665
    28. Of red select install/direct install
    29. Advanced tick both.
    30. Install root checker and verify root

    If Something Goes Wrong
    Go here

    https://xdaforums.com/galaxy-a20/how-to/crash-recovery-t4068369

    If you get a DTBO error after updating Magisk, flash this vbmeta https://drive.google.com/file/d/1-dogButfxKGlx_x2tSROOBDiq90SDlmc/view

    (If using Linux
    To flash:
    20. Detect device with `heimdall detect`
    21. Flash the `boot.img` with `heimdall flash --BOOT {location of the boot.img, you can also just drop the file into terminal and terminal should auto-fill it}` ex: `heimdall flash --BOOT '/home/utku/Programlar/ext/boot.img'`

    P.S: an easy way to boot into download mode is `adb reboot bootloader`)



    If you want to remove the warning messages on the boot screen
    try this.
    https://xdaforums.com/galaxy-a30/how-to/hide-bootloader-warning-unlocked-t3954589
    The images shown on the A30 thread aren't suitable for the A20 so I have included some better ones here.

    View attachment 4803752
    svb_orange.jpg

    You can use this param.tar to make these changes easier.
    https://xdaforums.com/showpost.php?p=80169262&postcount=91

    You can now move on to install TWRP
    This TWRP was originally designed for Android 9 but works perfectly with Android 10 and also has MTP built-in.
    https://xdaforums.com/galaxy-a20/development/recovery-twrp-3-3-1-0-galaxy-a10-exynos-t4013481

    8
    Read the first 3 posts before you proceed.
    For Android 10 go here
    https://xdaforums.com/galaxy-a20/how-to/android-10-q-guide-a20-t4095589

    For a20e go here

    WARNING: Rooting your phone may be dangerous.
    Rooting a device may void the warranty on the device. It may also make the device unstable or if not done properly, may completely brick the device. XDA-Developers or the author does not take any responsibility for your device. Root at your own risk and only if you understand what you are doing!
    5
    Advantages of rooting:

    Once you root your device you can install flashable zip files and custom ROMs.

    You can backup all your apps and data using Titanium Backup.

    You can customize your device according to your needs by deleting unwanted system apps and using Deathly Adiutor to modify the kernel.
    View attachment 4802662
    Disadvantages of Rooting:

    Once you root your device, your device warranty will be void.

    After rooting yourndevice may become unstable.

    You may not be able to upgrade OTA in the future.
    4
    This method should root your Samsung Galaxy SM-A205X (all models except SM-A205U and SM-A205DL).
    It was developed for the U2 bootloader (June 2019 firmware)

    This method does not work for the a20s (A207X)

    This method can be used to root other Samsung phones including the a20e( post#77 post#180, post#256)


    Quick Root and TWRP for A205xx
    https://xdaforums.com/galaxy-a20/how-to/guide-quick-root-twrp-galaxy-a20-t4069423
    You'll find it much quicker.

    Repair Firmware
    This site contains
    1. Full repair firmware
    2. Combination firmware
    3. Fix dm verify
    4. Root instructions and unpatched boot images
    https://www.full-repair-firmware.com/search?q=A20

    More firmware (some are even prerooted)
    https://www.needromarab.com/1/122/SAMSUNG

    Samfirm Tool for really fast downloads
    https://samfirmtool.com/samfirm-v0-5-0
    4
    One other note you may want to add for those who can't see the OEM unlock in developer options. Booting the phone after a factory reset I would advise to turn off Wifi in the initial setup and turn off autoupdate Time in the date and time section of the General Management. Then set the date back 3 or 4 weeks. Then turn on developer options. You won't see OEM unlock anywhere if your phone is like mine. Then reboot, turn on Wifi and autoupdate time. After that is done you should be able to see the OEM unlock in developer options.

    ---------- Post added at 01:48 PM ---------- Previous post was at 01:47 PM ----------

    I'm starting to look into TWRP for this phone and will post any info in the other thread here: https://xdaforums.com/android/help/twrp-samsung-galaxy-a20-custom-recovery-t3955271