[Root] [guide] Samsung Galaxy A20 rooting guide

Search This thread

physwizz

Senior Member
Sep 16, 2013
4,379
996
Sydney
Hi Friends!

I know this thread is already too long, but can anyone tell me if this works with my Samsung Galaxy A20s , Model number SM-A207F/DS ?
Android version 9.

Thank you for your time.

Try this

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 HOLD DOWN THE VOLUME UP BUTTON to unlock bootloader
15. Follow the instructions to unlock 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.
 

MarlonKaye

Senior Member
Jan 2, 2012
125
7
Hi! You told me previously that it has been tried on A20s without success.

Try this

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 HOLD DOWN THE VOLUME UP BUTTON to unlock bootloader
15. Follow the instructions to unlock 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.
 

as58910160

New member
Jun 13, 2020
2
0
Has a way been found to OEM-unlock USA versions?

Specifically SM-S205DL Tracfone on Feb 2020 Security Patch

Sent from my Samsung Galaxy Note 9 using XDA Labs
 

as58910160

New member
Jun 13, 2020
2
0
Can you see OEM unlock in the developer options?

Unfortunately I cannot. I have tried the mentioned methods to reveal OEM unlock.

I should mention... Even if it's not possible, I only asked because this portion of the guide was misleading...

This method should root your Samsung Galaxy A20 (all models except SM-A205U).

Sent from my Samsung Galaxy Note 9 using XDA Labs
 

physwizz

Senior Member
Sep 16, 2013
4,379
996
Sydney
Unfortunately I cannot. I have tried the mentioned methods to reveal OEM unlock.

I should mention... Even if it's not possible, I only asked because this portion of the guide was misleading...

This method should root your Samsung Galaxy A20 (all models except SM-A205U).

Sent from my Samsung Galaxy Note 9 using XDA Labs

I will have to add your model too
 

hannes22

Member
Feb 24, 2014
16
0
no touchscreen after rooting A20e

Hi Guys,

i tried rooting my SM-202F using Magisk 7.5.1 and Odin 3.14 but whenever i boot into the rooted OS, my touchscreen won´t work.
I tried the following two Builds with the correct language code..

A202FXXU3BTD1
A202FXXU3ASL4

both resulting in a not working touchscreen when booting to rooted OS, when i boot regualar OS without root, the touchscreen works fine.

Any Ideas?
 

physwizz

Senior Member
Sep 16, 2013
4,379
996
Sydney
Hi Guys,

i tried rooting my SM-202F using Magisk 7.5.1 and Odin 3.14 but whenever i boot into the rooted OS, my touchscreen won´t work.
I tried the following two Builds with the correct language code..

A202FXXU3BTD1
A202FXXU3ASL4

both resulting in a not working touchscreen when booting to rooted OS, when i boot regualar OS without root, the touchscreen works fine.

Any Ideas?

Did you patch the boot.img
 

hannes22

Member
Feb 24, 2014
16
0
Last edited:

physwizz

Senior Member
Sep 16, 2013
4,379
996
Sydney
In my first try, i tried only patching the boot.img with magisk and flashing it but that did not work.
So for the last few rounds i always patched the whole "AP_a202....tar" using magisk which resulted in "successful install" but broken touch functionality.

I opened a new thread to this:
https://xdaforums.com/android/help/galaxy-a20e-sm-202f-touchscreen-magisk-t4128937

this method works for a20e
https://xdaforums.com/showpost.php?p=80021195&postcount=4
 

AOSP100

Member
Jun 8, 2020
26
0

I'm planning on getting a OnePlus 7T to replace my SM-A205U, but to make it worth keeping for longer enough I tried to install Lineage on it back in May/early June but no matter what I tried (Odin, Magisk, etc) nothing worked. The constant resets from unbricking the phone loosened the load a little bit but it didn't do enough even after having the Evie launcher since then or any other performance-oriented/lightweight launchers.

There's no OEM unlocking option either

So apparently, even managing to root your phone would trip an e-fuse and brick it at the hardware level. Instead of this all I got were constant errors during the flashing process that force me to flash the factory ROM back and try again
 
Last edited:

rwio

Member
Jul 20, 2020
6
0

I can't get it to work without getting an unresponsive touch screen after reboot. I've tried the method in this thread to the letter, but no luck. After I've done the rooting and reboot into android the touch screen doesn't work.

The phone I'm using has Android 10 and U3 bootloader...
My bootloader is unlocked (and OEM-unlocking is visible, grayed out).
I'm patching the same firmware the phone had out of the box (I've also tried later/newer versions).
I've tried patching with both latest magisk manager and the canary version.
I've tried both the method in this thread patching only boot.img (boot.tar) and also tried patching the full AP_XXX.tar file as described by topjohnwu on github (it worked fine on the Samsung A10).

But I just keep getting an unresponsive touch screen after rooting. If I revert back to unrooted/unpatched firmware the touch screen works again.
 

physwizz

Senior Member
Sep 16, 2013
4,379
996
Sydney
I can't get it to work without getting an unresponsive touch screen after reboot. I've tried the method in this thread to the letter, but no luck. After I've done the rooting and reboot into android the touch screen doesn't work.

The phone I'm using has Android 10 and U3 bootloader...
My bootloader is unlocked (and OEM-unlocking is visible, grayed out).
I'm patching the same firmware the phone had out of the box (I've also tried later/newer versions).
I've tried patching with both latest magisk manager and the canary version.
I've tried both the method in this thread patching only boot.img (boot.tar) and also tried patching the full AP_XXX.tar file as described by topjohnwu on github (it worked fine on the Samsung A10).

But I just keep getting an unresponsive touch screen after rooting. If I revert back to unrooted/unpatched firmware the touch screen works again.

Ask here
Telegram: https://t.me/ultimate_Pie2
 

rwio

Member
Jul 20, 2020
6
0
I solved it. First I downloaded and flashed the newest firmware _without_ using a patched Boot.img or AP.tar-file. I.E, patching the same firmware the phone had out of the box did NOT work. After the firmware update I could successfully flash a patched Boot.img file and root the phone. I'm guessing it has something to do with Samsung updating the touch screen drivers since the phone was released.
 

physwizz

Senior Member
Sep 16, 2013
4,379
996
Sydney
I solved it. First I downloaded and flashed the newest firmware _without_ using a patched Boot.img or AP.tar-file. I.E, patching the same firmware the phone had out of the box did NOT work. After the firmware update I could successfully flash a patched Boot.img file and root the phone. I'm guessing it has something to do with Samsung updating the touch screen drivers since the phone was released.

Great work
 

physwizz

Senior Member
Sep 16, 2013
4,379
996
Sydney
I solved it. First I downloaded and flashed the newest firmware _without_ using a patched Boot.img or AP.tar-file. I.E, patching the same firmware the phone had out of the box did NOT work. After the firmware update I could successfully flash a patched Boot.img file and root the phone. I'm guessing it has something to do with Samsung updating the touch screen drivers since the phone was released.

You can create a TWRP here

https://xdaforums.com/android/general/guide-porting-twrp-source-t3843473/amp/
 

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