Samsung Galaxy S4 Mini Value Edition (samsung-serranove)

From postmarketOS
Jump to navigation Jump to search
Samsung Galaxy S4 Mini Value Edition
Samsung Galaxy S4 Mini Value Edition
Samsung Galaxy S4 Mini Value Edition
Manufacturer Samsung
Name Galaxy S4 Mini Value Edition
Codename samsung-serranove
Released 2015
Category community
Original software Android
Original version 4.4.4
postmarketOS kernel Mainline
Hardware
Chipset Qualcomm Snapdragon 410 (MSM8916)
CPU 4x 1.2 GHz Cortex-A53
GPU Adreno 306
Display 4.3 inch 16:9, 540 x 960 AMOLED
Storage 8 GB
Memory 1.5 GB
Architecture armv7
Type handset
Unixbench Whet/Dhry score 886.7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Partial
WiFi
Works
FDE
Works
Mainline
Works
Battery
Partial
3D Acceleration
Works
Audio
Works
Bluetooth
Works
Camera
GPS
Works
Mobile data
Works
SMS
Works
Calls
Works
USB OTG
Partial
NFC
Works
Sensors
Accelerometer
Works
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Camera Flash
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
Ir RX
Stylus
Haptics
Ethernet
FOSS bootloader



This device is based on the Snapdragon 410.
See the SoC page for common tips, guides and troubleshooting steps


Note This device has recently been upgraded to the community category.

you can download a pre-built image from the download page

and follow instructions there : Use Postmarket Community pre-built image on Samsung devices page.


Contributors

Users owning this device


Installation

Note Note: Even though MSM8916 is capable of aarch64, the firmware of this device was never updated with aarch64 support. Therefore, this device can only boot mainline on armv7 at the moment.

lk2nd is a secondary bootloader that provides a standard fastboot interface, which can be used to boot postmarketOS without android boot flashed or pmbootstrap flasher flash_kernel.

  1. Download lk2nd-msm8916.img from Releases page on Github.
  2. Boot your phone to bootloader (Odin/Download) mode by holding Volume Down and Home while powering up.
  3. Follow lk2nd instructions to install lk2nd. Basically flash it to boot partition (heimdall flash --BOOT lk2nd-msm8916.img)
  4. Follow Qualcomm_Snapdragon_410/412_(MSM8916)#Installation to install postmarketOS.
Note Note: Enter lk2nd fastboot mode by pressing only Volume Down + Power (without Home). Pressing Home additionally will bring you to the Samsung Download mode.

Touch keys

For configuration of the touch keys, see Tm2-touchkey.

Display brightness

The brightness of the display can't be adjusted, this is not available yet.

Flash LED

Currently WIP. It can be controlled with SG Micro SGM3140 charge pump LED driver[1].

Suspend

Suspend is not yet fully implemented. It's recommended to disable suspend. See Qualcomm_Snapdragon_410/412_(MSM8916)#Suspend.

Display sleep issue in X11

This device is known to has this common issue where in X11 user interfaces like Xfce4 and MATE, when the screen blacks out after a while of inactivity it can't be woken up anymore. As a workaround, set display sleeping time to "never" in the power managament settings. To solve this issue properly, work on the Quclcomm DRM Driver is needed. See the github issue on the our msm8916 kernel fork for learn more.

Mirrored screen on Plasma Mobile and GNOME mobile

On samsung-serranove the display natively shows everything in flipped/mirrored way. To compensate this, the cmdline in /etc/deviceinfo contains video=540x960,reflect_x. In Plasma Mobile the screen handling is done by KScreen. As KScreen doesn't support flipping/reflecting, everything is shown mirrored. There is currently no solution, work on the panel driver would be needed. See pmaports issue #1340.

As it turned out, also GNOME mobile is affected by this. While Phosh and GNOME use "mutter" as a Wayland compositor, GNOME mobile uses "mutter-mobile", which is in an experimental state and currently not capable to flip the screen.

References