Jump to content

Samsung Galaxy S4 Mini LTE (samsung-serranolte)

From postmarketOS Wiki
Revision as of 00:02, 17 May 2020 by -b1-66er- (talk | contribs)
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.
The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly.
Samsung Galaxy S4 Mini LTE
S4 Mini running PostmarketOS and Xfce4
S4 Mini running PostmarketOS and Xfce4
Manufacturer Samsung
Name Galaxy S4 Mini LTE
Codename samsung-i9195
Released 2013
Hardware
Chipset Qualcomm MSM8930 Snapdragon 400
CPU 1.7 GHz dual-core Krait 300
GPU Adreno 305
Display 960x540
Storage Internal, with external SD slot
Memory 1.5GB
Architecture armhf
Software
Original software Android 4.4.2
postmarketOS
Category testing
Pre-built images no
Mainline no
Features
Flashing
Works
USB Networking
Partial
Internal storage
No data
SD card
No data
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
Broken
Audio
Broken
Camera
Broken
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
Broken
GPS
Broken
NFC
No data
Modem
Calls
Broken
SMS
Works
Mobile data
Broken
Miscellaneous
FDE
No data
USB OTG
No data
HDMI/DP
No data
Sensors
Accelerometer
Broken
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data


Contributors

  • rrooij (initial port)
  • scintill (USB network, modem)
  • maccraft123 (broken his s4mini)
  • Everyone else on IRC (feel free to put your name)

What works

  • Compiling the kernel
  • Flashing postmarketos
  • Booting
  • Screen display
  • Multi-touch
  • Plasma Mobile(slideshow mode)
  • Xfce
  • Weston
  • Touch screen (#1313)
  • USB Networking (#1260)
  • Sending SMS via terminal (#1314)
  • Accelerometer (echo 1 > /sys/class/input/input2/enable)
  • Proximity sensor (echo 1 > /sys/class/input/input4/enable)
  • Light sensor (echo 1 > /sys/class/input/input5/enable)
  • Power button (/dev/input/event0)
  • Volume/Home buttons (/dev/input/event8)
  • Menu/Back touch buttons (/dev/input/event9)

What does not work

  • Screen is red by default, can be fixed by using RGB565 mode instead of RGBA8888
  • HW acceleration(we need libhybris or mainlining or freedreno)
  • USB network device has no MAC address set by default, can be fixed by changing it to 06:4b:2d:xx:xx:xx(replace xx with random hex number)

How to enter flash mode

  • 1. Press VolumeDown, Home and Power buttons until Warning screen appears
  • 2. Connect phone to computer
  • 3. Press VolumeUp button
  • 4. Flash with pmbootstrap flasher

Links