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 it 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
The software and version the device was shipped with.
Android 4.2
postmarketOS
Category downstream
Mainline
Instead of a Linux kernel fork, it is possible to run (Close to) Mainline.
no
Device package device-samsung-serranodsdd
Kernel package linux-samsung-serranodsdd
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Works
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.
Partial
Touchscreen
Works
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

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