Jump to content

Samsung Galaxy A20e (samsung-a20e): Difference between revisions

From postmarketOS Wiki
No edit summary
No edit summary
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{note|This is the e variant of this [[Samsung Galaxy A20|phone]]. It will show a black screen if you try to boot it.}}
{{note|This is the e variant of this [[Samsung Galaxy A20|phone]].}}
{{Infobox device
{{Infobox device
| manufacturer = Samsung
| manufacturer = Samsung
Line 64: Line 64:
| status_fossbootloader =
| status_fossbootloader =
| booting = no
| booting = no
| status = Kernel compiling issues
| status = Kernel not built yet (and I'm still unable to compile it)
}}
}}
== Contributors ==
== Contributors ==
AlinTriesPorting
AlinTriesPorting, MatthieuDev


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}


==Compiling issues==
==Resolved compiling issues==
'''File is not found, even if it is in the kernel'''
'''ANDROID_MAJOR_VERSION'''


The only ways to fix it is to change something, change the kernel or change something in the kernel. I could've also added untar/unzip on the depends.
Solved with a patch from another Samsung device.


'''ANDROID_MAJOR_VERSION'''
'''"(vendor file) not found"'''
 
I got help from a user on XDA Forums and typed this in the APKBUILD on top of the make command:


I don't know where to also put it. I've done it 3 times in the APKBUILD of the device configuration, but it still refuses to let me build or edit the kconfig.
<pre>
objcopy -I binary -O ihex firmware/exynos7885_acpm_fvp.fw firmware/exynos7885_acpm_fvp.fw.ihex
</pre>


==Issues==
{{hint|There are no seperate lines, just spaces.}}
==Things needed to run this faster==
'''Vendor kernel'''
'''Vendor kernel'''


It might not be made.. I don't even know what vendor files are important!
Files for it are important but I can't understand which are for the vendor kernel and which are for the normal kernel.
 
'''pmbootstrap not letting me set the desktop environment, build size and other stuff'''
 
The alpha version isn't suitable. I had to downgrade to 2.3.1 to have it work


==How to enter Download mode==
==How to enter Download mode==
Press and hold {{ButtonCombo|Power|Volume Up|Volume Down}} while connecting the cable to a PC/phone until you see a turquoise "Warning" screen, then press {{button|Volume Up}}.
Press and hold {{ButtonCombo|Volume Up|Volume Down}} while connecting a USB-A or Type C to Type C cable to a device capable of data transfer. When you see a warning screen, press {{button|Volume Up}}.


==How to unlock the bootloader==
==How to unlock the bootloader==
{{warning|Backup before unlocking. Data will be wiped.}}
{{warning|Backup before unlocking! Data on the phone will be wiped if you do this.}}
Go to {{Button|Settings|About Phone|Software Information}}, then tap the version number/build number 5-10 times until you see the "Developer options has been enabled" message. Go back to the settings page and tap on "Developer Options" then enable "OEM unlocking".
Go to {{Button|Settings|About Phone|Software Information}}, then tap the build number 7 times. Go back to the settings page, tap on "Developer Options" then enable "OEM unlocking".
 


After this, turn off the phone, then press and hold {{ButtonCombo|Volume Up|Volume Down}} while connecting a USB-A or Type C to Type C cable to a device capable of data transfer. If the phone starts normally or enters recovery, shut down or reboot and try again. When you see a warning screen, press and hold {{button|Volume Up}} until you see a message regarding the bootloader being unlocked. Press {{button|Volume Up}} to unlock the bootloader.


Turn off the phone, then press and hold {{ButtonCombo|Volume Up|Volume Down}} while connecting the cable to a PC or phone, then when you see a turquoise "Warning" screen, press and hold {{button|Volume Up}} until you see a message. Press {{button|Volume Up}} to unlock the bootloader.
==Things we used for this port==
[https://github.com/frikke/Samsung_Device_A20e_Kernel Kernel used for the port]
[https://github.com/topser9/kernel_samsung_universal7885 Another Kernel used]

Latest revision as of 19:25, 8 March 2025

Note This is the e variant of this phone.
This device is marked as not booting.
Status: Kernel not built yet (and I'm still unable to compile it)
Samsung Galaxy A20e
A20e TWRP screenshot
A20e TWRP screenshot
Manufacturer Samsung
Name Galaxy A20e
Codename samsung-a20e
Model SM-A202F
Released 2019
Type handset
Hardware
Chipset Samsung Exynos 7884B
CPU 2x Cortex-A73 2.29 Ghz, 6x Cortex-A53 1.69 Ghz
GPU Mali-G71
Display 720x1560
Storage 32GB
Memory 3GB
Architecture aarch64
Software
Original software Android (One UI)
Original version 9 (One UI 1.0)
Extended version 11 (One UI 3.1)
postmarketOS
Category testing
Pre-built images no
postmarketOS kernel 4.4.177

Contributors

AlinTriesPorting, MatthieuDev

Users owning this device


Resolved compiling issues

ANDROID_MAJOR_VERSION

Solved with a patch from another Samsung device.

"(vendor file) not found"

I got help from a user on XDA Forums and typed this in the APKBUILD on top of the make command:

objcopy -I binary -O ihex firmware/exynos7885_acpm_fvp.fw firmware/exynos7885_acpm_fvp.fw.ihex
Hint There are no seperate lines, just spaces.

Things needed to run this faster

Vendor kernel

Files for it are important but I can't understand which are for the vendor kernel and which are for the normal kernel.

How to enter Download mode

Press and hold Volume Up+Volume Down while connecting a USB-A or Type C to Type C cable to a device capable of data transfer. When you see a warning screen, press Volume Up.

How to unlock the bootloader

Warning WARNING: Backup before unlocking! Data on the phone will be wiped if you do this.

Go to SettingsAbout PhoneSoftware Information, then tap the build number 7 times. Go back to the settings page, tap on "Developer Options" then enable "OEM unlocking".


After this, turn off the phone, then press and hold Volume Up+Volume Down while connecting a USB-A or Type C to Type C cable to a device capable of data transfer. If the phone starts normally or enters recovery, shut down or reboot and try again. When you see a warning screen, press and hold Volume Up until you see a message regarding the bootloader being unlocked. Press Volume Up to unlock the bootloader.

Things we used for this port

Kernel used for the port Another Kernel used