[RECOVERY] [UNOFFICIAL] TWRP 3.3.1-0 for Galaxy A20e (A202F)

Search This thread

famouzkk

Member
Oct 2, 2016
21
2
Team Win Recovery Project for Galaxy A20e (A202F)

Code:
#include <std_disclaimer.h>
/*
 *
 * We are not responsible for bricked devices, dead SD cards,
 * thermonuclear war, or you getting fired because the alarm app failed. Please
 * do some research if you have any concerns about features included in this ROM
 * before flashing it! YOU are choosing to make these modifications, and if
 * you point the finger at us for messing up your device, we will laugh at you.
 *
 */

BUGS:
- ADB

This recovery is only for Android 9, if u updated A20E to Android 10 u can't flash this recovery.
According to some users it can work on Android 10 but I don't guarantee booting to your stock system but u can install straight GSI
1. Make sure u have rooted phone, if not check this guide https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root or/also this https://forum.xda-developers.com/galaxy-a20/how-to/root-samsung-galaxy-a20-rooting-guide-t3954872
2. You gonna lose all of data.
3. Make sure u have checked OEM unlock in settings
4. Reboot phone to android/stock recovery (u can use: adb reboot recovery), wipe data/cache and straight after this select "Reboot to bootloader"
5. Plug telephone to computer, start Odin(use v. 3.13.x) add recovery.tar to AP slot, click start and immediately click and hold POWER and VOLUME UP until TWRP logo pop up.
6. Format Data (not just wipe) - don't restart (idk if needed but do it for safety)
7. Use MTP to put Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip and flash it, system should start normaly. (i didnt checked on stock, i straight installed GSI)

Now u can flash GSI ROM(use only A/B): https://forum.xda-developers.com/galaxy-a20/how-to/gsi-galaxy-a20-t3964546
Flash .img and after this flash GSI_Fix_boot.zip, wipe cache and restart to system.

AND NOW MOST IMPORTANT PART:
Find your build number in software information.
A202FXXU3ASL4 means U3
A202FXXU2ASJ3 means U2

IF U HAVE U3/S3 BOOTLOADER FLASH THIS TAR:
https://mega.nz/folder/LTZlUKyI#oxxVc5zj8tP4bNQBIo8AlA

IF U HAVE U2/S2 BOOTLOADER:
u need to compare alphabetically 3 last characters of build number(NOT CSC!) with A202FXXU2ASJ3
for example your build number is A202FXXS2ASI3 so last 3 characters are ASI and u need to compare it with ASJ -> first and second letter are the same, so go to third, letter I in alphabet is before J, so u have older firmware and u need flash this tar(eg. ASH, ASG, ASF):
https://mega.nz/folder/nDZUwS5A#_FQKWL_1QUHN8_wXgqdGBw

if u have at least A202FXXU2ASJ3 or newer(eg. ASK, ASL, ASM) or firmware flash this tar:
https://mega.nz/folder/7bZ20IAY#ewz5ZZzWxTJfAbcnEJgAZA

I DIDN'T TESTED NEWER U2 AND U3 BUT IT SHOULD WORK FOR 99%
 

Attachments

  • Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip
    3.4 MB · Views: 441
  • GSI_Fix_boot.zip
    376.3 KB · Views: 380
Last edited:
  • Like
Reactions: donut boyyyyyy

famouzkk

Member
Oct 2, 2016
21
2
How did you compile? When I make one, it bootloops. Can you tell me how you did it?
U need to do twrp device tree, u can use prebuilt kernel or straight from source, and u need dtbo image if ur bulding on android 9+. I too get bootloops but key is to use right version of kernel appropriate for ur bootloader version. There is massive difference beetween old U2 and new U2 and maybe that why ur twrp gets bootloop. Also u need fix for himax touchscreen to work in recovery mode. I make public sources of my work also with commits.
 

Royna

Senior Member
Aug 23, 2018
93
61
Samsung Galaxy J2
Project Treble
U need to do twrp device tree, u can use prebuilt kernel or straight from source, and u need dtbo image if ur bulding on android 9+. I too get bootloops but key is to use right version of kernel appropriate for ur bootloader version. There is massive difference beetween old U2 and new U2 and maybe that why ur twrp gets bootloop. Also u need fix for himax touchscreen to work in recovery mode. I make public sources of my work also with commits.
Thank you for answering. Are there no plans for developing for android 10 a20e? When I install ur u3 bootloader twrp, it shows twrp logo. And its stuck there. Can you make one using android 10 sources? Or you don't want to take risks not testing it, can you share ur files like ueventd.rc , boardconfig.mk? So I can make one. I am not so sure about my flags and ueventd.rc files...
 

famouzkk

Member
Oct 2, 2016
21
2
Thank you for answering. Are there no plans for developing for android 10 a20e? When I install ur u3 bootloader twrp, it shows twrp logo. And its stuck there. Can you make one using android 10 sources? Or you don't want to take risks not testing it, can you share ur files like ueventd.rc , boardconfig.mk?
Samsung didin't for now make public any android 10 kernel sources for A20e, if they do it public i gonna try. Oh, if u get splash screen it means u have still data encryption, did u before flashing twrp wiped in stock recovery data/cache, if it boots to splash screen its really big chance it gonna work for you and also for others.

uevent.rc just pick up from any exynos7885 device tree, also BoardConfig.mk are really the same, as a10 or a30.
 

Royna

Senior Member
Aug 23, 2018
93
61
Samsung Galaxy J2
Project Treble
Samsung didin't for now make public any android 10 kernel sources for A20e, if they do it public i gonna try. Oh, if u get splash screen it means u have still data encryption, did u before flashing twrp wiped in stock recovery data/cache, if it boots to splash screen its really big chance it gonna work for you and also for others.

uevent.rc just pick up from any exynos7885 device tree, also BoardConfig.mk are really the same, as a10 or a30.
Wow. It worked. You can edit that it works for android 10 too. One question. Why the system partition is mounted read-only and can't be changed? I want to re-partition /system to install google r preview gsi
Edit: Search: On android Q, We can't mount /system rw.....
 
Last edited:

famouzkk

Member
Oct 2, 2016
21
2
Wow. It worked. You can edit that it works for android 10 too. One question. Why the system partition is mounted read-only and can't be changed? I want to re-partition /system to install google r preview gsi
Edit: Search: On android Q, We can't mount /system rw.....

https://android.stackexchange.com/q...m-partition-locked-to-read-only-in-android-10
Android 10 is formatted with EXT4_FEATURE_RO_COMPAT_SHARED_BLOCKS which is blocking to mount system partition as rw.
 

famouzkk

Member
Oct 2, 2016
21
2
Wow. It worked. You can edit that it works for android 10 too. One question. Why the system partition is mounted read-only and can't be changed? I want to re-partition /system to install google r preview gsi
Edit: Search: On android Q, We can't mount /system rw.....
Can u also give ur build number? I mean A202FXU3xxx?
 
Feb 7, 2020
49
4
Team Win Recovery Project for Galaxy A20e (A202F)



BUGS:
- ADB

This recovery is only for Android 9, if u updated A20E to Android 10 u can't flash this recovery.
According to some users it can work on Android 10 but I don't guarantee booting to your stock system but u can install straight GSI
1. Make sure u have rooted phone, if not check this guide https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root or/also this https://forum.xda-developers.com/galaxy-a20/how-to/root-samsung-galaxy-a20-rooting-guide-t3954872
2. You gonna lose all of data.
3. Make sure u have checked OEM unlock in settings
4. Reboot phone to android/stock recovery (u can use: adb reboot recovery), wipe data/cache and straight after this select "Reboot to bootloader"
5. Plug telephone to computer, start Odin(use v. 3.13.x) add recovery.tar to AP slot, click start and immediately click and hold POWER and VOLUME UP until TWRP logo pop up.
6. Format Data (not just wipe) - don't restart (idk if needed but do it for safety)
7. Use MTP to put Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip and flash it, system should start normaly. (i didnt checked on stock, i straight installed GSI)

Now u can flash GSI ROM(use only A/B): https://forum.xda-developers.com/galaxy-a20/how-to/gsi-galaxy-a20-t3964546
Flash .img and after this flash GSI_Fix_boot.zip, wipe cache and restart to system.

AND NOW MOST IMPORTANT PART:
Find your build number in software information.
A202FXXU3ASL4 means U3
A202FXXU2ASJ3 means U2

IF U HAVE U3/S3 BOOTLOADER FLASH THIS TAR:
https://mega.nz/folder/LTZlUKyI#oxxVc5zj8tP4bNQBIo8AlA

IF U HAVE U2/S2 BOOTLOADER:
u need to compare alphabetically 3 last characters of build number(NOT CSC!) with A202FXXU2ASJ3
for example your build number is A202FXXS2ASI3 so last 3 characters are ASI and u need to compare it with ASJ -> first and second letter are the same, so go to third, letter I in alphabet is before J, so u have older firmware and u need flash this tar(eg. ASH, ASG, ASF):
https://mega.nz/folder/nDZUwS5A#_FQKWL_1QUHN8_wXgqdGBw

if u have at least A202FXXU2ASJ3 or newer(eg. ASK, ASL, ASM) or firmware flash this tar:
https://mega.nz/folder/7bZ20IAY#ewz5ZZzWxTJfAbcnEJgAZA

I DIDN'T TESTED NEWER U2 AND U3 BUT IT SHOULD WORK FOR 99%
Can you pls make a Recovery for android 10? Because I already have Android 10 ? Or can it also work with Android 10? I don't want to brick my phone ? that's the reason why I ask
 
Last edited:
Feb 7, 2020
49
4
Samsung didin't for now make public any android 10 kernel sources for A20e, if they do it public i gonna try. Oh, if u get splash screen it means u have still data encryption, did u before flashing twrp wiped in stock recovery data/cache, if it boots to splash screen its really big chance it gonna work for you and also for others.

uevent.rc just pick up from any exynos7885 device tree, also BoardConfig.mk are really the same, as a10 or a30.
for what do you actually need the device tree?
 

famouzkk

Member
Oct 2, 2016
21
2
Can you pls make a Recovery for android 10? Because I already have Android 10 Or can it also work with Android 10? I don't want to brick my phone that's the reason why I ask
Can you please read post carefully? Ye it can work on android 10 but i dont guarantee booting to your stock system(but after flashing dm verfiy zip it should work) also u can just flash gsi
 
Last edited:
Feb 7, 2020
49
4
Can you please read post carefully? Ye it can work on android 10 but i dont guarantee booting to your stock system(but after flashing dm verfiy zip it should work) also u can just flash gsi
sry was so happy that finally a recovery for my device because the device is already 1 year and Before there was no Recovery I am so grateful that there is finally one

---------- Post added at 03:07 PM ---------- Previous post was at 03:00 PM ----------

Can you please read post carefully? Ye it can work on android 10 but i dont guarantee booting to your stock system(but after flashing dm verfiy zip it should work) also u can just flash gsi
Should I downgrade and then flash recovery? ?What would you advise me as a developer?
 

famouzkk

Member
Oct 2, 2016
21
2
sry was so happy that finally a recovery for my device because the device is already 1 year and Before there was no Recovery I am so grateful that there is finally one

---------- Post added at 03:07 PM ---------- Previous post was at 03:00 PM ----------


Should I downgrade and then flash recovery? ?What would you advise me as a developer?

Do not downgrade it gonna brick ur telephone, just straight install twrp but CAREFULLY read instruction.
 
Feb 7, 2020
49
4
Do not downgrade it gonna brick ur telephone, just straight install twrp but CAREFULLY read instruction.
So should I do it in Android 10? And one thing what do you mean with step four...Do you have to do that in recovery or download mode or do you have to wipe the data and cache in stock recovery and then flash it in Odin Have the latest security update in German its 1.6.2020 Which file do I need?
 

famouzkk

Member
Oct 2, 2016
21
2
So should I do it in Android 10? And one thing what do you mean with step four...Do you have to do that in recovery or download mode or do you have to wipe the data and cache in stock recovery and then flash it in Odin Have the latest security update in German its 1.6.2020 Which file do I need?
Yes you need to do this because of data encryption and if u dont do that u gonna get stuck at splash screen. Just pick up U3 recovery.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    Team Win Recovery Project for Galaxy A20e (A202F)

    Code:
    #include <std_disclaimer.h>
    /*
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     */

    BUGS:
    - ADB

    This recovery is only for Android 9, if u updated A20E to Android 10 u can't flash this recovery.
    According to some users it can work on Android 10 but I don't guarantee booting to your stock system but u can install straight GSI
    1. Make sure u have rooted phone, if not check this guide https://topjohnwu.github.io/Magisk/install.html#samsung-system-as-root or/also this https://forum.xda-developers.com/galaxy-a20/how-to/root-samsung-galaxy-a20-rooting-guide-t3954872
    2. You gonna lose all of data.
    3. Make sure u have checked OEM unlock in settings
    4. Reboot phone to android/stock recovery (u can use: adb reboot recovery), wipe data/cache and straight after this select "Reboot to bootloader"
    5. Plug telephone to computer, start Odin(use v. 3.13.x) add recovery.tar to AP slot, click start and immediately click and hold POWER and VOLUME UP until TWRP logo pop up.
    6. Format Data (not just wipe) - don't restart (idk if needed but do it for safety)
    7. Use MTP to put Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip and flash it, system should start normaly. (i didnt checked on stock, i straight installed GSI)

    Now u can flash GSI ROM(use only A/B): https://forum.xda-developers.com/galaxy-a20/how-to/gsi-galaxy-a20-t3964546
    Flash .img and after this flash GSI_Fix_boot.zip, wipe cache and restart to system.

    AND NOW MOST IMPORTANT PART:
    Find your build number in software information.
    A202FXXU3ASL4 means U3
    A202FXXU2ASJ3 means U2

    IF U HAVE U3/S3 BOOTLOADER FLASH THIS TAR:
    https://mega.nz/folder/LTZlUKyI#oxxVc5zj8tP4bNQBIo8AlA

    IF U HAVE U2/S2 BOOTLOADER:
    u need to compare alphabetically 3 last characters of build number(NOT CSC!) with A202FXXU2ASJ3
    for example your build number is A202FXXS2ASI3 so last 3 characters are ASI and u need to compare it with ASJ -> first and second letter are the same, so go to third, letter I in alphabet is before J, so u have older firmware and u need flash this tar(eg. ASH, ASG, ASF):
    https://mega.nz/folder/nDZUwS5A#_FQKWL_1QUHN8_wXgqdGBw

    if u have at least A202FXXU2ASJ3 or newer(eg. ASK, ASL, ASM) or firmware flash this tar:
    https://mega.nz/folder/7bZ20IAY#ewz5ZZzWxTJfAbcnEJgAZA

    I DIDN'T TESTED NEWER U2 AND U3 BUT IT SHOULD WORK FOR 99%