Samsung Galaxy S7 (samsung-herolte): Difference between revisions
Appearance
Arnaudkernel (talk | contribs) |
m gitlab.com -> gitlab.postmarketos.org (bot edit) |
||
(20 intermediate revisions by 15 users not shown) | |||
Line 3: | Line 3: | ||
| name = Galaxy S7 | | name = Galaxy S7 | ||
| codename = samsung-herolte | | codename = samsung-herolte | ||
| image = File:Samsung | | image = File:Samsung Galaxy S7 PMOS SXMO.jpeg | ||
| imagecaption = Samsung Galaxy S7 | | imagecaption = Samsung Galaxy S7 running PMOS SXMO | ||
| releaseyear = 2016 | | releaseyear = 2016 | ||
| originalsoftware = Android 6.0 | | originalsoftware = Android | ||
| chipset = Exynos 8890 Octa | | originalversion = 6.0 | ||
| chipset = Samsung Exynos 8890 Octa | |||
| cpu = Octa-core Exynos M1 & Cortex-A53 | | cpu = Octa-core Exynos M1 & Cortex-A53 | ||
| gpu = Mali-T880 MP12 | | gpu = Mali-T880 MP12 | ||
Line 14: | Line 15: | ||
| memory = 4 GB | | memory = 4 GB | ||
| architecture = aarch64 | | architecture = aarch64 | ||
| type = Handset | |||
| status_usbnet = Y | | status_usbnet = Y | ||
| status_flashing = P | | status_flashing = P | ||
Line 34: | Line 36: | ||
| booting = yes | | booting = yes | ||
}} | }} | ||
{{note|This is the exynos device. For the qualcomm version, see samsung-heroqlte.}} | |||
== Contributors == | == Contributors == | ||
* Polynomdivision | * Polynomdivision | ||
== Users owning this device == | == Users owning this device == | ||
Line 46: | Line 46: | ||
== What works == | == What works == | ||
* Compiling the kernel and booting ([https://gitlab. | * Compiling the kernel and booting ([https://gitlab.postmarketos.org/postmarketOS/pmaports/merge_requests/314 !314]) | ||
* Wifi with the proprietary firmware ([https://gitlab. | * Wifi with the proprietary firmware ([https://gitlab.postmarketos.org/postmarketOS/pmaports/merge_requests/309 !309]) | ||
* Display | * Display | ||
* TouchScreen | * TouchScreen | ||
Line 53: | Line 53: | ||
* Wayland/Weston/Xwayland | * Wayland/Weston/Xwayland | ||
== | == Notes == | ||
* | * The device and kernel packages are basically just a copy of the [[Samsung_Galaxy_S7_Edge_(samsung-hero2lte)|Galaxy S7 Edge's]] packages. The only difference is that the two devices use different panels. | ||
* using command: apk upgrade can cause loading forever... | |||
== | === Mainline notes === | ||
* | For uniLoader: | ||
* To enable the framebuffer we need to write <code>0x1290</code> to address <code>0x13960070</code>. To get this value search for the <code>decon_f</code> base address and add 0x70 (<code>HW_SW_TRIG_CONTROL</code>) to it, then use [https://github.com/radii/devmem2 devmem2] together with the value you calculated on a downstream kernel with <code>CONFIG_DEVMEM</code> enabled. | |||
* The MUIC UART is located under address 0x14c50000. To get minimal output follow [[U-Boot_porting#C|this guide]] (add 0x20 to the UART address for the TX offset). | |||
== Installation == | |||
* Install TWRP recovery as described [https://twrp.me/samsung/samsunggalaxys7.html here]. | |||
* Wipe the device while in TWRP. | |||
* Put device in download mode by holding the home, volume down and power buttons when powered off. | |||
* Execute <code>$ pmbootstrap flasher flash_kernel</code> to flash the kernel. (Note: You do not need to reflash the kernel if you want to reinstall PMOS with a different image) | |||
* Reboot Device into TWRP Recovery and execute <code>pmbootstrap install --android-recovery-zip</code> | |||
* While in TWRP, enable sideloading by going to Advanced -> ADB Sideload and then execute <code>$ pmbootstrap flasher --method=adb sideload</code> | |||
== Links == | == Links == | ||
Line 63: | Line 75: | ||
* [https://www.gsmarena.com/samsung_galaxy_s7-7821.php#g930f Full device specifications] | * [https://www.gsmarena.com/samsung_galaxy_s7-7821.php#g930f Full device specifications] | ||
* [https://github.com/LineageOS/android_kernel_samsung_universal8890 Kernel used] | * [https://github.com/LineageOS/android_kernel_samsung_universal8890 Kernel used] | ||
* [https:// | * Merge Request: {{MR|1147}} | ||
* [https:// | * Merge Request #2: {{MR|314|pmaports}} | ||
* [https://youtu.be/wjAWMKi_NAE Manjaro Linux working] | |||
* [https://blog.polynom.me/Mainline-Hero.html Blog posts about Mainline attempt] |
Latest revision as of 13:58, 4 November 2024
![]() Samsung Galaxy S7 running PMOS SXMO | |
Manufacturer | Samsung |
---|---|
Name | Galaxy S7 |
Codename | samsung-herolte |
Released | 2016 |
Type | handset |
Hardware | |
Chipset | Samsung Exynos 8890 Octa |
CPU | Octa-core Exynos M1 & Cortex-A53 |
GPU | Mali-T880 MP12 |
Display | 2560x1440 2K Super AMOLED |
Storage | 32/64 GB |
Memory | 4 GB |
Architecture | aarch64 |
Software | |
Original software | Android |
Original version | 6.0 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Flashing |
Partial |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
Works |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
No data |
Audio |
No data |
Camera |
No data |
Camera Flash |
No data |
Connectivity | |
WiFi |
Works |
Bluetooth |
No data |
GPS |
No data |
NFC |
No data |
Modem | |
Calls |
No data |
SMS |
No data |
Mobile data |
No data |
Miscellaneous | |
FDE |
No data |
USB OTG |
No data |
HDMI/DP |
No data |
Sensors | |
Accelerometer |
No data |
Magnetometer |
No data |
Ambient Light |
No data |
Proximity |
No data |
Hall Effect |
No data |
Haptics |
No data |
Barometer |
No data |
This is the exynos device. For the qualcomm version, see samsung-heroqlte. |
Contributors
- Polynomdivision
Users owning this device
- Allanherrera
- Arnaudkernel
- Arthurlutz (Notes: using crdroid for now)
- Grimler
- Hnoble (Notes: to be tested)
- Hreikin (Notes: 32 GB, Very Cracked Screen)
- Jack Kekzoz
- Langfingaz (Notes: Running LineageOS)
- Leastfixedpoint
- Logo (Notes: Android daily driver)
- Manty (Notes: Dead)
- Marshift
- Maxnet
- Newblicious
- Rogerpanza (Notes: Backup phone, using Ubuntu Touch)
- Ster (Notes: Android daily driver)
- Sungold (Notes: Plans to work on it,Lineage A12)
- TryzenAlpensky (Notes: Rose Gold - 32GB)
- Ungeskriptet (Notes: Lent to family member)
- W4trmelon (Notes: ubuntu touch)
- Zephyr1112 (Notes: Backup/tinker device, Ubuntu Touch 20.04, 4/32GB)
What works
- Compiling the kernel and booting (!314)
- Wifi with the proprietary firmware (!309)
- Display
- TouchScreen
- Flashing via android recovery zip
- Wayland/Weston/Xwayland
Notes
- The device and kernel packages are basically just a copy of the Galaxy S7 Edge's packages. The only difference is that the two devices use different panels.
- using command: apk upgrade can cause loading forever...
Mainline notes
For uniLoader:
- To enable the framebuffer we need to write
0x1290
to address0x13960070
. To get this value search for thedecon_f
base address and add 0x70 (HW_SW_TRIG_CONTROL
) to it, then use devmem2 together with the value you calculated on a downstream kernel withCONFIG_DEVMEM
enabled. - The MUIC UART is located under address 0x14c50000. To get minimal output follow this guide (add 0x20 to the UART address for the TX offset).
Installation
- Install TWRP recovery as described here.
- Wipe the device while in TWRP.
- Put device in download mode by holding the home, volume down and power buttons when powered off.
- Execute
$ pmbootstrap flasher flash_kernel
to flash the kernel. (Note: You do not need to reflash the kernel if you want to reinstall PMOS with a different image) - Reboot Device into TWRP Recovery and execute
pmbootstrap install --android-recovery-zip
- While in TWRP, enable sideloading by going to Advanced -> ADB Sideload and then execute
$ pmbootstrap flasher --method=adb sideload
Links
- Device info (LineageOS)
- Full device specifications
- Kernel used
- Merge Request: !1147
- Merge Request #2: pmaports!314
- Manjaro Linux working
- Blog posts about Mainline attempt