Samsung Galaxy A51 (samsung-a51): Difference between revisions
Manoedinata (talk | contribs) Fix device & kernel pkg typo |
Manoedinata (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by 2 users not shown) | |||
Line 19: | Line 19: | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = handset | | type = handset | ||
| whet_dhry = | | whet_dhry = 3413.6 <!-- see Unixbench page on wiki --> | ||
<!-- Features --> | <!-- Features --> | ||
<!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | <!-- the following status_* questions should be answered with Y for yes, P for partial, N for no, - for N/A or unavailable, or left blank for untested or unknown --> | ||
Line 84: | Line 84: | ||
Use [[pmbootstrap]] to build your own installation image. The device configuration will also build firmware package, which contains required proprietary blobs for Wi-Fi. | Use [[pmbootstrap]] to build your own installation image. The device configuration will also build firmware package, which contains required proprietary blobs for Wi-Fi. | ||
Since dynamic partition support hasn't been added to the port, you will have to either install to external SD Card or use <code>userdata</code> partition as postmarketOS' root partition. This can be done by adding <code>--recovery-install-partition=data</code> to your [[pmbootstrap]]'s <code>install</code> command. See [[Installation from recovery mode]] for more information. | |||
'''[[Heimdall]] installation is untested'''. Use [[Installation_from_recovery_mode]] instead. | '''[[Heimdall]] installation is untested'''. Use [[Installation_from_recovery_mode]] instead. | ||
Line 98: | Line 98: | ||
* Volume (tested on XFCE) | * Volume (tested on XFCE) | ||
* Screen brightness changing (partially) | * Screen brightness changing (partially) | ||
* Wi-Fi ( | * Wi-Fi (with firmware package) | ||
== Notes == | == Notes == | ||
Line 114: | Line 114: | ||
To enable Wi-Fi, these proprietary blobs are required to be loaded: | To enable Wi-Fi, these proprietary blobs are required to be loaded: | ||
< | <pre> | ||
vendor/etc/wifi/mx | vendor/etc/wifi/mx | ||
vendor/etc/wifi/mx140.bin | vendor/etc/wifi/mx140.bin | ||
vendor/etc/wifi/mx140_wlan.hcf | vendor/etc/wifi/mx140_wlan.hcf | ||
vendor/etc/wifi/mx140_wlan_sw.hcf | vendor/etc/wifi/mx140_wlan_sw.hcf | ||
</ | </pre> | ||
These files are pulled and packaged already in <code>firmware-samsung-a51</code> pmaports package. | These files are pulled and packaged already in <code>firmware-samsung-a51</code> pmaports package. |
Latest revision as of 16:49, 5 April 2025
![]() Samsung Galaxy A51, running postmarketOS with XFCE 4 | |
Manufacturer | Samsung |
---|---|
Name | Galaxy A51 |
Codename | samsung-a51 |
Model | SM-A515 |
Released | 2019 |
Type | handset |
Hardware | |
Chipset | Samsung Exynos 9611 |
CPU | 4x 2.3 GHz Cortex-A73 & 4x 1.7 GHz Cortex-A53 |
GPU | Mali-G72 |
Display | 1080 x 2400 Super AMOLED |
Storage | 64GB / 128GB / 256GB |
Memory | 4GB / 8GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 13 |
postmarketOS | |
Category | testing |
Pre-built images | no |
postmarketOS kernel | 4.14.113 |
Unixbench Whet/Dhry score | 3413.6 |
Flashing |
Partial |
---|---|
USB Networking |
Works |
Internal storage |
Works |
SD card |
No data |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Ethernet |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
No data |
Mobile data |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Haptics |
No data |
Contributors
- manoedinata
Users owning this device
- Manoedinata (Notes: 8/128, screen replaced. Used as small home server)
- SeMi2309
How to enter recovery/Odin mode
- Press and hold + simultaneously while device is powered off, then plug USB cable in for Odin mode.
- Press and hold + + simultaneously while device is powered off for recovery mode.
- Press and hold + simultaneously for 7-8 seconds while device is powered on to force reboot. Once time is up immediately release the keys and press one of combinations above before boot logo appears, otherwise device will boot normally.
Installation
Use pmbootstrap to build your own installation image. The device configuration will also build firmware package, which contains required proprietary blobs for Wi-Fi.
Since dynamic partition support hasn't been added to the port, you will have to either install to external SD Card or use userdata
partition as postmarketOS' root partition. This can be done by adding --recovery-install-partition=data
to your pmbootstrap's install
command. See Installation from recovery mode for more information.
Heimdall installation is untested. Use Installation_from_recovery_mode instead.
Particularly for this device, ADB Sideloading through TWRP may cause the installation process to hang after finishing the installation. Install postmarketOS with TWRP's | GUI instead.
Known Working
- Touchscreen
- Display (with Samsung's DECON driver)
- Framebuffer (additionally with msm-fb-refresher to refresh the screen)
- Charging & battery status
- Volume (tested on XFCE)
- Screen brightness changing (partially)
- Wi-Fi (with firmware package)
Notes
USB Networking
The device isn't detected on the computer while plugged in through USB cable.
dmesg
on host shows nothing related to new device being connected. While similar device like Samsung Galaxy Note 9 (Exynos) (samsung-crownlte) and Samsung Galaxy S8 (samsung-dreamlte) uses additional initramfs hook, that doesn't help at all - nothing in dmesg
on PC.
USB Networking works without any additional setup by enabling CONFIG_USB_ETH
(and additionally CONFIG_USB_ETH_RNDIS
).
Wi-Fi
Although the required proprietary blobs are loaded and Wi-Fi did turn on, it can't connect to any available network. This assumption is based on attempt to connect to an AP through NetworkManager (on XFCE 4). Needs more investigation.
To enable Wi-Fi, these proprietary blobs are required to be loaded:
vendor/etc/wifi/mx vendor/etc/wifi/mx140.bin vendor/etc/wifi/mx140_wlan.hcf vendor/etc/wifi/mx140_wlan_sw.hcf
These files are pulled and packaged already in firmware-samsung-a51
pmaports package.
Framebuffer
Some patches are required for framebuffer to fix some issues, e.g. swapped color, missing fb0
device, etc. The last one is required to boot framebuffer-based or text interfaces with CONFIG_FRAMEBUFFER_CONSOLE
, or if you want to display kernel console to the screen, otherwise the kernel panics with null pointer dereference
.
See also
- pmaports!5887 Initial merge request
- Device package
- Kernel package