Difference between revisions of "Samsung Galaxy S7 Edge (samsung-hero2lte)"

From postmarketOS
Jump to: navigation, search
m (chipset)
(Changed to reflect current tree situation)
Line 19: Line 19:
 
| status_touch = Y <!-- Touch screen is working? You can also answer these questions with P for partially. -->
 
| status_touch = Y <!-- Touch screen is working? You can also answer these questions with P for partially. -->
 
| status_screen = Y <!-- The display is working? -->
 
| status_screen = Y <!-- The display is working? -->
| status_wifi = <!-- Wireless network works? -->
+
| status_wifi = Y <!-- Wireless network works? -->
 
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
 
| status_xwayland = <!-- Showing X11 applications in a Wayland compositor (Weston, KWin, ...) works? -->
| status_fde = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
+
| status_fde = N <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
 
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
 
| status_mainline = <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
 
| status_battery = Y <!-- Charging the battery with charging-sdl is possible -->
 
| status_battery = Y <!-- Charging the battery with charging-sdl is possible -->
Line 60: Line 60:
  
 
== What is tested and works ==
 
== What is tested and works ==
* The kernel with in-tree built exynos DTBH based image
+
* The kernel
 
* USB Networking (you might have to set its MAC address beforehand though)
 
* USB Networking (you might have to set its MAC address beforehand though)
* SSH
+
* SSH and telnet in the initramfs
* All display environments with software rendering (yes, even plasma mobile works, albeit slowly and with rubbish dpi scaling)
+
* 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 ==
 
== Quirks ==
* Exynos (at least modern exynos) has a different dt.img format to Qualcomm devices, requiring a special dtbtool to go along with it. There is one included in the kernel source we have, which should make the dtb automatically. In future, for other exynos devices (S8 and up come to mind) we should package this as a common tool and treat it in a way similar to qcdt.
+
* 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
 
* 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.
 
* 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 ==
 
== To get working ==
 
* FDE with osk-sdl - Tested and interface works, but crashes and bootloops attempting any decryption
 
* FDE with osk-sdl - Tested and interface works, but crashes and bootloops attempting any decryption
* Wi-Fi
+
* Proper working of charging-sdl - it comes up, but works awkwardly and doesn't go away without a hard reset
* (If possible) 3D acceleration using the binary Mali userspace drivers from ARM, under Halium
+
* Halium support
* Panfrost?
 
 
* Mainlining (should probably help the android community too)
 
* Mainlining (should probably help the android community too)
  
 
== See also ==
 
== See also ==
 
* {{MR|179|pmaports}} initial MR
 
* {{MR|179|pmaports}} initial MR
 +
* {{MR|631|pmaports}} second MR (new kernel + wifi)
 
* [https://github.com/ivanmeler/android_kernel_samsung_herolte herolte kernel fork]
 
* [https://github.com/ivanmeler/android_kernel_samsung_herolte herolte kernel fork]
 
* [https://wiki.lineageos.org/devices/hero2lte/ LineageOS device page]
 
* [https://wiki.lineageos.org/devices/hero2lte/ LineageOS device page]

Revision as of 12:17, 16 September 2019

Samsung Galaxy S7 edge
Samsung Galaxy S7 Edge
Samsung Galaxy S7 Edge
Manufacturer Samsung
Name Galaxy S7 edge
Codename samsung-hero2lte
Released 2016
Original software Android 6.0 on Linux 3.18.14
Hardware
Chipset Exynos 8890 Octa
CPU Exynos M1 (4x @ 2.3GHz) and ARM Cortex-A53 (4x @ 1.6GHz)
GPU ARM Mali T880 MP12
Display 1440x2560 AMOLED
Storage 32GB (upgradeable via microSD)
Memory 4GB
Architecture aarch64
Features
USB Networking
Works
Flashing
Partial
Touchscreen
Works
Display
Works
WiFi
Works
Xwayland
FDE
Broken
Mainline
Battery
Works
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG



Contributors

  • WilliamO7

Maintainer(s)

  • WilliamO7

How to enter flash mode

When the device is fully powered off, hold Power, Volume Down and Home 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 and 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
  • 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
  • Proper working of charging-sdl - it comes up, but works awkwardly and doesn't go away without a hard reset
  • Halium support
  • Mainlining (should probably help the android community too)

See also