Jump to content

Samsung Galaxy S7 Edge (samsung-hero2lte)

From postmarketOS Wiki
Samsung Galaxy S7 edge
Samsung Galaxy S7 Edge
Samsung Galaxy S7 Edge
Manufacturer Samsung
Name Galaxy S7 edge
Codename samsung-hero2lte
Released 2016
Type handset
Hardware
Chipset Samsung Exynos 8890 Octa
CPU 4x 2.3GHz Mongoose M1
4x 1.6GHz Cortex-A53
GPU 650MHz Mali-T880 MP12
Display 1440x2560 AMOLED
Storage 32/64/128 GB UFS 2.0
Memory 4 GB LPDDR4 1794MHz
Architecture aarch64
Software
Original software Android
Original version
The version the device was shipped with.
6.0 on Linux 3.18.14
postmarketOS
Category downstream
Features
Flashing
It is possible to flash the device with pmbootstrap flasher.
Partial
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
Works
Screen
Display works. Ideally with sleep mode and brightness control.
Works
Touchscreen
Works
Multimedia
3D Acceleration
Untested
Audio
Audio playback, microphone, headset and buttons.
Untested
Camera
Untested
Connectivity
WiFi
Works
Bluetooth
Untested
GPS
Untested
Modem
Calls
Untested
SMS
Untested
Mobile data
Untested
Miscellaneous
FDE
Full disk encryption and unlocking with unl0kr.
Broken
Sensors
Accelerometer
Auto screen rotation works in desktops e.g. Phosh or Plasma Mobile
Untested


Contributors

  • Ramjam2008

Maintainer(s)

  • WilliamO7

Users owning this device


How to enter Download/Odin mode

When the device is fully powered off, hold Power, Home and Volume Down for a few seconds.

A (turquoise) download mode warning screen should appear, press Volume Up to confirm.

Installation

It is recommended to sideload an android recovery zip through TWRP for the easiest process, since heimdall freaks out about the subpartitions in SYSTEM and won't move past ~7%. You can use pmbootstrap flasher flash_kernel and then use netcat or similar to flash SYSTEM, but this is a longer and more redundant method.

$ pmbootstrap install --android-recovery-zip
$ pmbootstrap flasher --method=adb sideload

What is tested and works

  • The kernel
  • USB Networking (you might have to set its MAC address beforehand though)
  • SSH
  • Telnet in the initramfs
  • Wi-fi
  • Almost all display environments with software rendering (yes, even plasma mobile works, albeit slowly and with rubbish dpi scaling)
  • As an aside, wayland based environments currently crash after a few minutes due to an unknown issue.

Quirks

  • Exynos (at least modern exynos) has a different dt.img format to Qualcomm devices, requiring a special dtbtool to go along with it. It has been packaged as exynos-dtbtool (pmaports!527) and is being used to generate the device tree blob.
  • Camera drivers (Samsung FIMC-IS2) (and accompanying flash LED drivers, controlled by a Samsung PMIC) needed to be disabled in the kernel to prevent boot loops.

To get working

  • FDE with osk-sdl - Tested and interface works, but crashes and bootloops attempting any decryption
  • Halium support
  • Mainlining (should probably help the android community too)

See also