Samsung Galaxy Note II LTE (samsung-t0lte)

Contributors

 * Jack_Kekzoz

How to enter flash mode
When the phone is powered off, press and hold down the, and  buttons to turn it on in Download mode.

If you have installed a custom recovery, then when the phone is powered off, press and hold down the, and  buttons to turn it on in Recovery mode.

Installation
You can install postmarketOS either by flashing the rootfs to an sdcard, and then flashing the kernel using Heimdall when the phone is in Download mode, or you can install it via a recovery zip. It is not possible currently to flash rootfs in Download mode, as Heimdall has issues with flashing rootfs currently (see Heimdall). Please note that for the recovery installation, if you enable FDE, you need to ensure your custom recovery supports the cipher you are using.

Display
There is an issue with the display in that the brightness is too high when it turns on. Simply turning down the brightness, even a little, makes it jump to the correct setting.

FDE
FDE works, but for some reason, not with hardware acceleration.

Audio
Speaker and (main) mic work, but not headphone, as the kernel driver needs work to support that. In its current state the headphone audio is very crackly.

Bluetooth
Without the non-free firmware package, there may be some limited Bluetooth functionality. If this occurs, it is probably because there is some code in the ROM of the BCM4334 chip. It is recommended to toggle Bluetooth off in this state, as the chip is designed to only work properly with the firmware patch, and unexpected issues may occur without it.

If you enable the non-free firmware package, then Bluetooth has partial functionality only:

- File sharing works (tested to and from a Motorola smartphone running stock Android 9)

- Keyboards work (though for some reason during pairing, the keyboard only became visible after it was paired with the smartphone.)

- Audio is NOT working properly, though that may be to do with a lack of configuration in Alsa UCM files.

- Internet sharing has not been tested.

In the long run, the Replicant project hopes to ask Cypress Semiconductor Corp. if they are willing to release the source code to the firmware under a permissive licence.

Touchkeys
The Back touchkey can be used for navigating back (mainly in Firefox, but also in other contexts). The Menu touchkey does nothing by default, but it can be assigned in the phosh settings.

If you wish, you can run this script in a terminal in the background to give you some haptic feedback and to illuminate the touchkey LEDs for 1 second when they are touched - you will need to install evtest beforehand though. It is a bit of a hack, so won't be bundled in postmarketOS by default:


 * 1) !/bin/sh

device='/dev/input/by-path/platform-i2c-gpio-4-event' event_back='*code 158 (KEY_BACK), value 1*' event_menu='*code 139 (KEY_MENU), value 1*'

evtest "$device" | while read line; do case $line in

($event_back)	fbcli -E button-pressed echo 1 > /sys/class/leds/tm2-touchkey/brightness sleep 1 echo 0 > /sys/class/leds/tm2-touchkey/brightness ;;

($event_menu)	fbcli -E button-pressed echo 1 > /sys/class/leds/tm2-touchkey/brightness sleep 1 echo 0 > /sys/class/leds/tm2-touchkey/brightness ;;

esac done

Partitions
Output of :

Model: MMC MAG4FB (sd/mmc) Disk /dev/mmcblk2: 15.8GB Sector size (logical/physical): 512B/512B Partition Table: gpt Disk Flags: