Jump to content

Samsung Galaxy Note 4 (samsung-treltexx): Difference between revisions

From postmarketOS Wiki
No edit summary
Tested some stuff
 
(28 intermediate revisions by 17 users not shown)
Line 1: Line 1:
{{Infobox device
{{Infobox device
| manufacturer = Samsung <!-- e.g. HTC -->
| manufacturer = Samsung
| name = Galaxy Note 4 <!-- e.g. Desire -->
| name = Galaxy Note 4
| codename = treltexx <!-- e.g. htc-bravo -->
| codename = samsung-treltexx
| image = File:CHANGE_ME_TO_DEVICE_CODENAME.jpg
| image = File:1657807056929.jpg
| imagecaption = CHANGE_ME
| imagecaption = Samsung Galaxy Note 4
| releaseyear = September 2014
| releaseyear = 2014
| originalsoftware = Android 4.4.4 (KitKat) <!-- e.g. Android 2 -->
| releasemonth = September
| chipset = Exynos 5433 <!-- e.g. Qualcomm QSD8250 Snapdragon S1 -->
| originalsoftware = Android
| cpu = Octa-core (4x1.3 GHz Cortex-A53 & 4x1.9 GHz Cortex-A57) - Exynos 5433 <!-- e.g. 1.0 GHz Scorpion -->
| originalversion = 4.4.4
| gpu = Mali-T760 MP6 (Exynos 5433) <!-- e.g. Adreno 200 -->
| chipset = Samsung Exynos 5433 Octa
| storage = 32 GB <!-- e.g. 512 MB -->
| cpu = Octa-core (4x 1.3 GHz Cortex-A53 & 4x 1.9 GHz Cortex-A57)
| display = 1440 x 2560 Super AMOLED <!-- e.g. 480x800 AMOLED -->
| gpu = Mali-T760 MP6
| memory = 3GB <!-- e.g. 576 MB -->
| storage = 32 GB
| architecture = armv7 <!-- One of these: armhf, armv7, aarch64, x86, x86_64 -->
| display = 1440 x 2560 Super AMOLED
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| memory = 3 GB
| status_usbnet = Y <!-- USB networking does work? then put Y here and delete this comment -->
| architecture = armv7
| status_flashing = P <!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| type = handset
| status_touch = Y <!-- Touch screen is working? You can also answer these questions with P for partially. -->
| status_sdcard = Y
| status_screen = Y <!-- The display is working? -->
| status_usbnet = Y<!-- USB networking does work? then put Y here and delete this comment -->
| status_wifi = Y <!-- Wireless network works? -->
| status_flashing = Y<!-- Flashing with "pmbootstrap flasher" works? Put Y here. It works the same for everything coming below. -->
| 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_wifi = N<!-- 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 = <!-- When installing with full disk encryption, can you type in the password with the on screen keyboard? -->
| status_mainline = N <!-- 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 -->
| status_3d = N <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_audio = N<!-- Using the device's speakers/headphone jack works -->
| status_audio = N <!-- Using the device's speakers/headphone jack works -->
| status_bluetooth = N<!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_camera = N<!-- Taking photos and videos works. -->
| status_camera = <!-- Taking photos and videos works. -->
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_calls = <!-- Talking to other people over the cellular network. -->
| status = booting <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status = <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| booting = Y <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
| status_otg = Y <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_hdmidp = N
| status_nfc = <!-- Near-Field Communication (NFC) works -->
| status_irtx = <!-- Infrared (IR) port works -->
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_magnet = <!-- Magnetometer works -->
| status_light = <!-- Ambient light sensor works -->
| status_proximity = <!-- Proximity sensor works -->
| status_hall = <!-- Hall effect sensor works -->
| booting = yes <!-- The device is booting at all, can be yes/no *IMPORTANT* -->
}}
{{note|Please note that this page is about the models with Exynos chipset SM-N910C/H/K/L/S/U. The Note 4 variants with Snapdragon 805 has codename [[Samsung Galaxy Note 4 (samsung-trltexx)|trltexx]].}}


<!-- you can also use these lines if you need to:
There is a port for this device but it's on merge request.
if the device haven't originally ran Android OS, e.g. Nokia N900
| n-android =  ✔
Version of the kernel that pmos is running
| pmoskernel = 3.x.x
see Unixbench page on wiki
| whet_dhry = 0.0
Is OTG available, not used in wiki
| status_otg = -
-->
}}


== Contributors ==
== Contributors ==
* revolutionary (i am not a contributor)
* djyee(furkanguzel161)
 
* exkc(trying to kexec mainline kernel)
== Maintainer(s) ==
<!-- Only if this device doesn't run on linux-postmarketos yet! -->
<!-- This person needs to be willing to answer questions from users of this device -->


== Users owning this device ==
== Users owning this device ==
{{Device owners}}
{{Device owners}}
<!-- autogenerated, use {{Owns device|devicepage|notes}} on your profile page -->
<!-- use _ instead of spaces in device page name, e.g. {{Owns device|Nokia_N900|broken screen}}-->
<!-- you may need to purge page cache to see changes (more->purge cache)-->
<!-- you can use {{My devices}} on your profile page to show table with all your devices -->


== How to enter flash mode ==
== How to enter flash mode ==


== Installation ==
Press and hold {{button|Volume Down}} + {{button|Home}} + {{button|Power}} simultaneously. Then click {{button|Volume Up}} to confirm.
<!-- add more sections below as necessary, e.g. Wifi, photos, ... -->
 
 
== Mainline ==
 
The device on the mainline kernel is the "Samsung TM2" and "Samsung TM2e". The TM2 is the Samsung Tizen reference device, and TM mean Tizen Mobile. These devices uses a "special" 64bit version of sboot (or at least the arm trustzone firmware) to be able to boot arm64 kernels. All other phones and tablets with exynos5433 has 32bit sboot, and cannot boot a 64bit kernel. Unfortunately there seem to exist few tm2/tm2e device in the world, and firmware files for them does not seem to be downloadable anywhere. To have any chance to boot an arm64 mainline kernel on treltexx and other exynos5433 devices we would need to get our hands on these firmware files, or in some other way create 64bit sboot/trustzone firmware for exynos5433.
 
See these chat logs for relevant discussions:
 
* [https://freenode.irclog.whitequark.org/linux-exynos/2018-04-25 linux-exynos 2018-04-25]
* [https://libera.irclog.whitequark.org/linux-exynos/2021-08-16 linux-exynos 2021-08-16]
 
Tm2 and tm2e uses u-boot rather than Samsungs proprietary variant. There was a patch sent to the u-boot project to add support for it, but it was not accepted in the sent form: [https://u-boot.denx.narkive.com/7vv58bTn/patch-0-9-arm-exynos-add-tm2-board-support U-Boot support patch]. Booting u-boot should, in theory, be possible by flashing it to the BOOT partition, to which android's boot.img is normally flashed.
 
== UART ==
 
A "standard" [[Serial_debugging#Building_the_cable|serial debugging cable]] with 619 kOhm works for tre3calte (and other exynos5433 devices). The bootloader prints lots of output during boot, but for some reason the kernel is quiet, even if the console parameter is changed. A patch similar to the one [https://forum.xda-developers.com/t/guide-samsung-galaxy-s7-uart.3743895/ found here for Galaxy S7] might be necessary to get any live kernel output.


== See also ==
== See also ==
<!--
* {{MR|3285|pmaports}} Initial merge request
Link to related gitlab issues or merge requests like the following (replace CHANGEME with the ID, e.g. 1234):
* {{MR|CHANGEME|pmaports}} Initial merge request
* {{issue|CHANGEME|pmaports}} Some related issue
You can also add normal web links:
* [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS2I9100 Replicant wiki page]
-->
<!--
If you manage to get your device packages merged, uncomment links below and change DEVICE_CODENAME with the actual one.
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/device-DEVICE_CODENAME Device package]
* [https://gitlab.com/postmarketOS/pmaports/tree/master/device/linux-DEVICE_CODENAME Kernel package]
-->

Latest revision as of 07:03, 26 January 2025

Samsung Galaxy Note 4
Samsung Galaxy Note 4
Samsung Galaxy Note 4
Manufacturer Samsung
Name Galaxy Note 4
Codename samsung-treltexx
Released 2014
Type handset
Hardware
Chipset Samsung Exynos 5433 Octa
CPU Octa-core (4x 1.3 GHz Cortex-A53 & 4x 1.9 GHz Cortex-A57)
GPU Mali-T760 MP6
Display 1440 x 2560 Super AMOLED
Storage 32 GB
Memory 3 GB
Architecture armv7
Software
Original software Android
Original version 4.4.4
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
Works
Battery
Works
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
Broken
Camera
Broken
Camera Flash
No data
IR TX
No data
Connectivity
WiFi
Broken
Bluetooth
Broken
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
No data
USB OTG
Works
HDMI/DP
Broken
Sensors
Accelerometer
No data
Magnetometer
No data
Ambient Light
No data
Proximity
No data
Hall Effect
No data
Haptics
No data
Barometer
No data
Note Please note that this page is about the models with Exynos chipset SM-N910C/H/K/L/S/U. The Note 4 variants with Snapdragon 805 has codename trltexx.

There is a port for this device but it's on merge request.

Contributors

  • djyee(furkanguzel161)
  • exkc(trying to kexec mainline kernel)

Users owning this device


How to enter flash mode

Press and hold Volume Down + Home + Power simultaneously. Then click Volume Up to confirm.


Mainline

The device on the mainline kernel is the "Samsung TM2" and "Samsung TM2e". The TM2 is the Samsung Tizen reference device, and TM mean Tizen Mobile. These devices uses a "special" 64bit version of sboot (or at least the arm trustzone firmware) to be able to boot arm64 kernels. All other phones and tablets with exynos5433 has 32bit sboot, and cannot boot a 64bit kernel. Unfortunately there seem to exist few tm2/tm2e device in the world, and firmware files for them does not seem to be downloadable anywhere. To have any chance to boot an arm64 mainline kernel on treltexx and other exynos5433 devices we would need to get our hands on these firmware files, or in some other way create 64bit sboot/trustzone firmware for exynos5433.

See these chat logs for relevant discussions:

Tm2 and tm2e uses u-boot rather than Samsungs proprietary variant. There was a patch sent to the u-boot project to add support for it, but it was not accepted in the sent form: U-Boot support patch. Booting u-boot should, in theory, be possible by flashing it to the BOOT partition, to which android's boot.img is normally flashed.

UART

A "standard" serial debugging cable with 619 kOhm works for tre3calte (and other exynos5433 devices). The bootloader prints lots of output during boot, but for some reason the kernel is quiet, even if the console parameter is changed. A patch similar to the one found here for Galaxy S7 might be necessary to get any live kernel output.

See also