Samsung Galaxy S4 Mini dual sim (samsung-serranodsdd)
WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it. |
This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way. |
The device after flash_kernel in Weston | |
Manufacturer | Samsung |
---|---|
Name | Galaxy S4 mini dual sim |
Codename | samsung-serranodsdd |
Released | 2013 |
Type | handset |
Hardware | |
Chipset | Qualcomm Snapdragon 400 (MSM8930) |
CPU | 1.7 GHz dual-core Krait 300 |
GPU | Adreno 305 |
Display | 960x540 |
Storage | Internal, with external SD slot |
Memory | 1.5 GB |
Architecture | armhf |
Software | |
Original software | Android |
Original version | 4.2 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage | |
SD card | |
Battery | |
Screen |
Partial |
Touchscreen |
Works |
Multimedia | |
3D Acceleration | |
Audio | |
Camera | |
Camera Flash | |
Connectivity | |
WiFi | |
Bluetooth | |
GPS | |
NFC | |
Modem | |
Calls | |
SMS | |
Mobile data | |
Miscellaneous | |
FDE | |
USB OTG | |
HDMI/DP | |
Sensors | |
Accelerometer | |
Magnetometer | |
Ambient Light | |
Proximity | |
Hall Effect | |
Haptics | |
Barometer | |
Contributors
- rogier.oudshoorn (only kernel configuration; rest is taken from the LTE version of this device )
Maintainer(s)
- rogier.oudshoorn
Current main issues
- Device doesn't automatically give itself mac address, ip, etc - you need to configure the network manually (have to set mac address of usb0 inside initfs hook)
- Device reboots immediately after flasher usage - not a postmarketOS issue, it is samsung's fault, affects all samsungs' phones
(would have to edit postmarketOS's flasher to use heimdall no reboot and heimdall resume features)
- Charging seems to work, but there's no indication of it actually happening
Current work
- Using libhybris for at least 3d acceleration, sound and wifi.
- Wifi works using wpa_supplicant described here: #373
- hwcomposer_test_caf works as described in Hybris documentation
- plasma doesn't come up due to lack of qtwayland (??) as hinted https://blog.martin-graesslin.com/blog/2016/07/why-does-kwin_wayland-not-start/
samsung-serranodsdd:~$ exec /usr/bin/plasmashell -p org.kde.plasma.phone
Failed to create wl_display (No such file or directory)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: wayland-org.kde.kwin.qpa, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, xcb.
- nothing runs by itself; scripting needed
- udev rules copied from halium don't work due to user mismatches; this needs figuring out
How to enter flash mode
- Hold home + volume down when booting the device
Installation
- pmbootstrap flasher flash_kernel and
- pmbootstrap flasher flash_rootfs is working flawlessly
Feature matrix
Feature | Mainline kernel | Libhybris | Android's kernel |
---|---|---|---|
Booting | Broken | Working | |
USB Network | Working | ||
Flashing | Working | ||
Touchscreen | Working | ||
Display | Working | ||
WiFi | |||
XWayland | Working | ||
FDE | |||
Battery | Working | ||
Hardware Acceleration | |||
Accelerometer | |||
Audio | |||
Bluetooth | |||
Camera | |||
GPS | |||
Mobile data | |||
SMS | |||
Calls | |||
USB OTG |