Samsung Galaxy S4 Mini LTE (samsung-serranolte)

From postmarketOS
Revision as of 20:31, 20 May 2021 by Minecrell (talk | contribs) (Fix link to device/kernel package)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
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-serranolte
Released 2013
Category testing
Original software Android 4.4.2
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 armv7
Features
USB Networking
Partial
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
Works
FDE
Mainline
Broken
Battery
Works
3D Acceleration
Broken
Accelerometer
Broken
Audio
Broken
Bluetooth
Broken
Camera
Broken
GPS
Broken
Mobile data
Broken
SMS
Works
Calls
Broken
USB OTG
NFC



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
  • Mate
  • 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

  • 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)

Installation

How to enter flash mode:

  • 1. Switch off the phone
  • 2. Press and hold the VolumeDown, Home and Power buttons until a warning screen appears
  • 3. Connect the phone to the computer
  • 4. Press the VolumeUp button

See also https://youtu.be/7dTJoOnhRZk . Then flash the phone with the:

  • 5. postmarketOS distribution data (i.e. all the GUI files, system utilities, shell, etc.):

pmbootstrap flasher flash_rootfs

  • 6. Linux kernel:

pmbootstrap flasher flash_kernel

Links