Jump to content

Samsung Galaxy S4 Mini dual sim (samsung-serranodsdd)

From postmarketOS Wiki
Warning 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.
Note This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way.
Samsung Galaxy S4 mini dual sim
The device after flash_kernel in Weston
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
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Partial
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
Bluetooth
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
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

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

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