Samsung Galaxy Note II (samsung-t03g)
Samsung Galaxy Note II
|Name||Galaxy Note II|
|Original software||Android 4.1.1 on Linux 3.0.31|
|Chipset||Exynos 4412 Quad|
|CPU||Quad-core 1.6 GHz Cortex-A9|
Users owning this device
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.
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.
What does not work
- WiFi is not working correctly on the mainline yet
How to enter flash mode
Press and hold "volume down + home + power" simultaneously. Then click volume up to confirm.
The device package and kernel is now available, pre-built, from the repositories.
You can install the OS to an SD card or your system partition. I've only tried an SD card:
$ pmbootstrap install --sdcard=/dev/sdb
You will need a 1GB SD card in order for this to work, also keep in mind that this will format the sd card.
Please also note, that you cannot flash directly to the system due to an error in Heimdall.
Next you want to put your phone in download mode by holding
power + vol down + home all together until you enter download mode, press volume up again to continue past the warning.
Now you can flash the boot image:
$ pmbootstrap flasher flash_kernel
flash_kernel because the N7100 packages its kernel and initfs file into one boot image, where as some other phones have separate partitions for each unlike the N7100.
If everything checks out OK, your N7100 should reboot and you should see the Samsung logo. Dont worry if the screen is flashing on and off and its taking a while, after a minute or 2 it should show up the pmOS splash!
Getting the S Pen to work on downstream
To get the S Pen working, you might have to do the following:
- Write the following into
$ sudo cat /etc/udev/hwdb.d/60-evdev.hwdb evdev:name:*e-pen* EVDEV_ABS_00=::300 EVDEV_ABS_01=::300
(Note: The file's contents should be improved)
- Possibly: update the hwdb
$ sudo udevadm hwdb --update
- Restart the phone
This manual describes installation on sdcard without bootloader in eMMC. U-Boot should boot directly from eMMC but I haven't tested this.
Clone the repository
$ git clone https://github.com/fourkbomb/u-boot $ cd u-boot
Optionally, I made some u-boot patches to fix some issues
$ git am 000*
Set up the toolchain
$ export ARCH=arm $ export CROSS_COMPILE=arm-none-eabi-
$ make midas_defconfig && make -jN $ ./create_4412_sd_image.sh u-boot.image
Install postmarketOS in the usual way on sdcard and AFTER that write u-boot to sdcard
$ dd if=u-boot.image of=/dev/mmcblkN bs=512 skip=1 seek=1
Thanks in large part to the Midas on Mainline work that was done a few years ago, we now have initial mainline support for this device.
The merged request which added mainline support in PostmarketOS is here.
This device's pmaports repo, Samsung-t03g, is current in "testing" here.
There is a downstream patch to create a necessary exynos4412-n7100 specific DTS for this device in the mainline kernel, as opposed to the current more generic exynos4412-n710x DTS, but it has yet to be submitted upstream. Please feel free to submit this patch on behalf of the author if you are willing and able.