[Root] [guide] Samsung Galaxy A20 rooting guide

Search This thread

Moogle

Member
Oct 30, 2007
40
6
Sony Xperia XA2
This is the only TWRP
https://xdaforums.com/galaxy-a20/development/recovery-twrp-3-4-0-0-galaxy-a20e-a202f-t4141767

Current bugs
Encryption/Decryption on stock does not work, you cannot read the internal storage while using the stock firmware
ADB and USB connection / USB OTG does not work

This is the TWRP and recovery instructions I used. However does the bug indicate that ALL internal storage doesn't work on stock? or just as it applies to Encryption / Decryption. If so I think it needs a better description for others. Will this problem go away if I get a GSI working properly?



I cannot seem to get a GSI installed successfully, I tried several (CrDroid, LOS and AOSP treble) and they all flashed boot icons for hours and never booted.
Many of the tutorials say to use an AB partition GSI but the treble partition check says the SM-A202F/DS isn't an AB partition device.
It says:
"Your device does not support Seamless System Upgrades and is detected to have an A-only system partition."
 
Last edited by a moderator:

physwizz

Senior Member
Sep 16, 2013
4,388
997
Sydney
This is the TWRP and recovery instructions I used. However does the bug indicate that ALL internal storage doesn't work on stock? or just as it applies to Encryption / Decryption. If so I think it needs a better description for others. Will this problem go away if I get a GSI working properly?



I cannot seem to get a GSI installed successfully, I tried several (CrDroid, LOS and AOSP treble) and they all flashed boot icons for hours and never booted.
Many of the tutorials say to use an AB partition GSI but the treble partition check says the SM-A202F/DS isn't an AB partition device.
It says:
"Your device does not support Seamless System Upgrades and is detected to have an A-only system partition."

Try a only
 
Aug 29, 2014
38
0
Hi at all.I need your help for a mother.
Ive in the hand this phone (it was of a girl died 1 week ago @24 years)
Her mom tell me that wanna rescue all photos & videos inside the internal memory.

But there are some problem:
1_Have a sim card with pin (no one know the code,and the mom cant find the original card) ---i've bypass this unmount the sim
2_After the reboot/power on,request a 4 pin code (try a lot of numbers,and now ive to wait 2 minutes,every time)
3_i find her samsung account,but not the password (so i can disable from it).
4_I try to recover the password for samsung's account,that send me a mail (gmail)
5_I dont know mail password (but google can send me the code on this sim card)
6_frp lock
7_oem lock

Now...i dont know what can i do.
I mean.I can try to unlock the cell phone's pin whitout the simcard,so samsung,so google,by flashing somethings?

But i need to be 100% sure nothing will be deleted
Due to frp and oem lock i don't know how ive to move on it.
Its a A20e

Hope someone can guide me step by step what download,where,and how do it,without lost nothing
I really appreciate it.
Thanks
 

physwizz

Senior Member
Sep 16, 2013
4,388
997
Sydney
Hi at all.I need your help for a mother.
Ive in the hand this phone (it was of a girl died 1 week ago @24 years)
Her mom tell me that wanna rescue all photos & videos inside the internal memory.

But there are some problem:
1_Have a sim card with pin (no one know the code,and the mom cant find the original card) ---i've bypass this unmount the sim
2_After the reboot/power on,request a 4 pin code (try a lot of numbers,and now ive to wait 2 minutes,every time)
3_i find her samsung account,but not the password (so i can disable from it).
4_I try to recover the password for samsung's account,that send me a mail (gmail)
5_I dont know mail password (but google can send me the code on this sim card)
6_frp lock
7_oem lock

Now...i dont know what can i do.
I mean.I can try to unlock the cell phone's pin whitout the simcard,so samsung,so google,by flashing somethings?

But i need to be 100% sure nothing will be deleted
Due to frp and oem lock i don't know how ive to move on it.
Its a A20e

Hope someone can guide me step by step what download,where,and how do it,without lost nothing
I really appreciate it.
Thanks
What happens when you connect it to a computer ?
 
Aug 29, 2014
38
0
Yep I know. But now I've reach 4mins per pins.
There isn't a way,by flashing? I've see some site or program that do that,but I don't know if I can trust or not. Also because some require a ADB or development active (but I can't)
 
Aug 29, 2014
38
0
Ok
Ive unlock sim pin.
Now its the screen pin.Recover Samsung account,request unlock,wait.....and error
The phone its in offline mode,and i cant remove it because,if i click on offline mode,request the pin.....So?Its a joke?
 

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