Jump to content

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

From postmarketOS Wiki
Grimler (talk | contribs)
UART: link to the pmos serial debugging page as well
Grimler (talk | contribs)
Link to WIP MR
Line 72: Line 72:


The [[Serial_debugging#Building_the_cable|serial debugging page]] as well as [https://redmine.replicant.us/projects/replicant/wiki/SamsungSerial Replicant's Wiki] have more information on how to create a cable.
The [[Serial_debugging#Building_the_cable|serial debugging page]] as well as [https://redmine.replicant.us/projects/replicant/wiki/SamsungSerial Replicant's Wiki] have more information on how to create a cable.
== See also ==
* [https://gitlab.com/postmarketOS/pmaports/-/merge_requests/2293 WIP MR to add port]

Revision as of 12:46, 3 November 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.

The serial debugging page as well as Replicant's Wiki have more information on how to create a cable.

See also