Samsung Galaxy Note II (samsung-n7100)
- Compiling the kernel
- Flashing with Heimdall
- Booting initramfs
- Touch screen fully calibrated
What does not work
- WiFi (needs kernel modules compiling first)
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
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
- Weston does not run, presumably because of missing API calls. This should be fixed once the device runs mainline.
- The kernel seems to have a bug which causes it to reboot a large number of times. It will eventually be able to boot properly though. ()
There is currently no mainline kernel available but it should be possible to mainline this device. Have a look at Midas on Mainline for work on mainlining very similar devices.
Work to create a DTS for this device can be found here: 
The n710x upstream DTS is here: 
Replicant is interested in further mainlining this device and replacing the bootloader with u-boot and would like to collaborate with us .
This device's Qualcomm Gobi MDM9615 Modem seems to have some mainline kernel support: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/clk/qcom/gcc-mdm9615.c?h=v5.2.7