Jump to content

Samsung Galaxy Note 4 S-LTE (samsung-tre3calte): Difference between revisions

From postmarketOS Wiki
Created page with "{{Infobox device | manufacturer = Samsung <!-- e.g. HTC --> | name = Galaxy Note 4 S-LTE <!-- e.g. Desire --> | codename = samsung-tre3calte <!-- e.g. htc-bravo --> | image =..."
 
Maxnet (talk | contribs)
m clean up
Line 1: Line 1:
{{Infobox device
{{Infobox device
| manufacturer = Samsung <!-- e.g. HTC -->
| manufacturer = Samsung
| name = Galaxy Note 4 S-LTE <!-- e.g. Desire -->
| name = Galaxy Note 4 S-LTE
| codename = samsung-tre3calte <!-- e.g. htc-bravo -->
| codename = samsung-tre3calte
| image = File:CHANGE_ME_TO_DEVICE_CODENAME.jpg
| image = File:CHANGE_ME_TO_DEVICE_CODENAME.jpg
| imagecaption = Note 4 S-LTE
| imagecaption = Note 4 S-LTE
| releaseyear = 2014
| releaseyear = 2014
| originalsoftware = Android Bionic/Linux 4.4.2 (Linux 3.4) <!-- e.g. Android 2.1 -->
| originalsoftware = Android Bionic/Linux 4.4.2 (Linux 3.4)
| chipset = Samsung Exynos 5433 <!-- e.g. Qualcomm QSD8250 Snapdragon S1 -->
| chipset = Samsung Exynos 5433
| cpu = CHANGE_ME <!-- e.g. 1.0 GHz Scorpion -->
| cpu = CHANGE_ME
| gpu = CHANGE_ME <!-- e.g. Adreno 200 -->
| gpu = CHANGE_ME
| storage = 32GB <!-- e.g. 512 MB -->
| storage = 32GB
| display = 2560x1440 AMOLED (Video Mode Panel) <!-- e.g. 480x800 AMOLED -->
| display = 2560x1440 AMOLED (Video Mode Panel)
| memory = 3GB <!-- e.g. 576 MB -->
| memory = 3GB
| architecture = armv7 <!-- One of these: armhf, armv7, aarch64, x86, x86_64 -->
| architecture = armv7
<!-- the following status_* questions should be answered with Y - yes, P - partial, N - no, or left blank (for untested or unknown) -->
| status_usbnet = Y
| status_usbnet = Y
| status_flashing = Y
| status_flashing = Y
Line 22: Line 21:
| status_xwayland = Y
| status_xwayland = Y
| status_fde =  
| status_fde =  
| status_mainline = N <!-- Instead of a Linux kernel fork, it is possible to run mainline. -->
| status_mainline = N
| status_battery = Y <!-- Charging the battery with charging-sdl is possible -->
| status_battery = Y
| status_3d = <!-- Hardware accelerated 3D graphics (e.g. with freedreno) -->
| status_3d =
| status_accel = <!-- The sensor that measures proper acceleration works -->
| status_accel =
| status_audio = <!-- Using the device's speakers/headphone jack works -->
| status_audio =
| status_bluetooth = <!-- It's possible to pair and use other devices via the bluetooth protocol -->
| status_bluetooth =
| status_camera = <!-- Taking photos and videos works. -->
| status_camera =
| status_gps = <!-- The Global Positioning System sensor works.  -->
| status_gps =
| status_mobiledata = <!-- Connecting to the Internet via cellular network. -->
| status_mobiledata =
| status_sms = <!-- Sending and receiving short messages works as intended. -->
| status_sms =
| status_calls = <!-- Talking to other people over the cellular network. -->
| status_calls =
| status = Y <!-- Text displayed in the "not booting" table on the Devices page , e.g "kernel compiles, doesn't boot" -->
| status = Y
| status_otg = Y <!-- USB-OTG adapters work, e.g. to connect an USB flash drive to the device -->
| status_otg = Y
| status_nfc = <!-- Near-Field Communication (NFC) works -->
| status_nfc =
| booting = yes
| booting = yes
| pmoskernel = 3.10
| pmoskernel = 3.10
<!-- you can also use these lines if you need to:
| whet_dhry =
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
-->
}}
}}


Line 53: Line 45:
== 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|HTC_Desire_(htc-bravo)|custom notes}}-->
<!-- 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 ==


== Installation ==
== Installation ==
Line 85: Line 71:
Although I did not test, this may possibly work. You would need the micro usb cable, tear it, and solder the 619 kOhm. Thus you'd need a soldering machine, and a tester device for pin identification.
Although I did not test, this may possibly work. You would need the micro usb cable, tear it, and solder the 619 kOhm. Thus you'd need a soldering machine, and a tester device for pin identification.


A link to UART for some samsung devices on the [https://redmine.replicant.us/projects/replicant/wiki/SamsungSerial Replicant Wiki].  
A link to UART for some samsung devices on the [https://redmine.replicant.us/projects/replicant/wiki/SamsungSerial Replicant Wiki].
 
== See also ==
<!--
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.
* {{Device package|DEVICE_CODENAME}}
* {{Kernel package|DEVICE_CODENAME}}
-->

Revision as of 10:26, 18 August 2021

Samsung Galaxy Note 4 S-LTE
Note 4 S-LTE
Note 4 S-LTE
Manufacturer Samsung
Name Galaxy Note 4 S-LTE
Codename samsung-tre3calte
Released 2014
Hardware
Chipset Samsung Exynos 5433
CPU CHANGE_ME
GPU CHANGE_ME
Display 2560x1440 AMOLED (Video Mode Panel)
Storage 32GB
Memory 3GB
Architecture armv7
Software
Original software Android Bionic/Linux 4.4.2 (Linux 3.4)
postmarketOS
Category testing
Pre-built images no
Mainline no
postmarketOS kernel 3.10
Features
Flashing
Works
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
Broken
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
Works
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


Contributors

  • HexagonWin

Users owning this device

Installation

Recovery zip install works nicely.

Mainline

I (hexagonwin) had done some research about mainlining. 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. The device is a renamed note 4, and the TM2e is the note 4 edge. According to krzk (#linux-exynos@libera) the device is an N910 device. The difference between N910 and N916 is only the modem, and the Tm2 mainline ports unsupports modem so it should also work on the n916 (tre3calte). (Also, please check the chat from that day : [Libera https://libera.irclog.whitequark.org/linux-exynos/2021-08-16]) However, the Note 4's OS is running in 32bit mode, but the Exynos 5433 supports 64bit. Plus, the Samsung TM2 is running in 64Bit mode. While it's unsure if loading a 64bit kernel works on stock samsung bootloader of the note 4 (since I don't have the UART cable) I could see that the crash initramfs hook didn't work. And the device was just stuck in there.

More things. Although it is quite unknown what was exactly done to Stock S-Boot and how U-Boot was flashed, the Samsung TM2 ran U-Boot, not the Samsung S-Boot. I searched more and found this U-Boot support patch which didn't actually seem to be merged to the u-boot tree. According to PabloPL (#linux-exynos@libera) the u-boot was flashed onto the "in place of stock kernel" and was loaded by stock s-boot. (I think this means the Android /boot partition?) Chat link

So, in order to mainline the device, I think these should be done:

- 1. Copy the samsung-tm2 dts on mainline tree and rename it to tre3calte or treltexx or those note 4 devices. - 2. Fix the unmerged ancient version of u-boot support patch and rename to note 4 devices, make it work. - 3. Try booting kernel using u-boot instead of s-boot.

UART

{{12:44 <Grimler> hexagonwin: uart should be possible with a "standard" micro-usb cable with 619 kOhm between ID and GND pin. I have successfully gotten uart on other exynos5433 devices that way}}

Although I did not test, this may possibly work. You would need the micro usb cable, tear it, and solder the 619 kOhm. Thus you'd need a soldering machine, and a tester device for pin identification.

A link to UART for some samsung devices on the Replicant Wiki.