Jump to content

Samsung Galaxy A50 (samsung-a50)

From postmarketOS Wiki
Samsung Galaxy A50
Samsung Galaxy A50
Samsung Galaxy A50
Manufacturer Samsung
Name Galaxy A50
Codename samsung-a50
Model SM-A505F - SM-S506DL
Released 2019
Type handset
Hardware
Chipset Samsung Exynos 9610
CPU Octa-core (4x2.3 GHz Cortex-A73
4x1.7 GHz Cortex-A53)
GPU Mali-G72 MP3
Display 1080 x 2340 Super AMOLED
Storage 64GB, 128GB
Memory 4GB, 6GB
Architecture aarch64
Software
Original software
The software and version the device was shipped with.
Android (One UI) 9.0
Extended version
The most recent supported version from the manufacturer.
Android (One UI) 11.0
postmarketOS
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
pmOS kernel
The kernel version that runs on the device's port.
4.14.194
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Partial
USB Networking
After connecting the device with USB to your PC, you can connect to it via telnet (initramfs) or SSH (booted system).
Works
Battery
Charging and battery level reporting works
Untested
Screen
Display works. Ideally with sleep mode and brightness control.
Untested
Touchscreen
Untested
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Untested
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Untested
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested

Contributors

Users owning this device


Status

  • Kernel compiled!
  • Can't build yet, don't know how to install dtb files
  • Managed to build the kernel and flash postmarketOS. The screen doesn't update at all, and the phone can be powered off from recovery only when it's not charging.

How to install TWRP on your Samsung A50

Follow the instructions on this XDA Thread: https://xdaforums.com/t/recovery-official-twrp-3-7-1-0-for-the-galaxy-a50.4735158

How to enter Recovery mode

  • Turn the phone off
  • Connect the phone to a computer, otherwise it will boot into system
  • Wait for the phone to show battery percentage
  • Hold Volume Up and Power button
  • Release Power button when Samsung logo appears and keep holding Volume Up button until you see the TWRP recovery Logo

Installation

  • Turn the phone off
  • Connect the phone to a computer
  • Hold both Volume Up and Volume Down to enter Download (Odin) Mode
  • Press Volume Up once to confirm
  • On your computer, run pmbootstrap flasher flash_rootfs. If Heimdall fails but the flashing has reached 100%, reboot into download mode again and continue. Otherwise, flash something else to exit out of emergency odin mode (such as the kernel) and reboot to recovery, then follow the next paragraph.
  • Run pmbootstrap flasher flash_kernel. Heimdall should not fail and the phone will reboot automatically.

If Heimdall fails to flash the rootfs (usually at around 37%), postmarketOS can still be flashed with the help of TWRP:

  • On your computer, run pmbootstrap install --android-recovery-zip --recovery-install-partition userdata --sector-size 4096 --sparse
  • On your phone in recovery mode, tap Advanced, then tap "ADB Sideload"
  • Flash the resulting file with
    $ adb sideload "$(pmbootstrap config work)/chroot_buildroot_aarch64/var/lib/postmarketos-android-recovery-installer/pmos-samsung-a50.zip"
    
  • Reboot your phone

See also

Credits

Thanks to TenSeventy7 for the Kernel.

Sources

Kernel: https://github.com/FreshROMs/android_kernel_samsung_exynos9610_mint