Samsung Galaxy Note 4 S-LTE (samsung-tre3calte)

From postmarketOS
Jump to navigation Jump to search
Samsung Galaxy Note 4 S-LTE
200px
Note 4 S-LTE
Manufacturer Samsung
Name Galaxy Note 4 S-LTE
Codename samsung-tre3calte
Released 2014
Category testing
Original software Android Bionic/Linux 4.4.2 (Linux 3.4)
postmarketOS kernel 3.10
Hardware
Chipset Samsung Exynos 5433
CPU CHANGE_ME
GPU CHANGE_ME
Display 2560x1440 AMOLED (Video Mode Panel)
Storage 32GB
Memory 3GB
Architecture armv7
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
Broken
Xwayland
Works
FDE
Mainline
Broken
Battery
Works
3D Acceleration
Accelerometer
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG
Works
NFC



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.