Jump to content

Samsung Galaxy Note II (samsung-t03g)

From postmarketOS Wiki
Revision as of 16:10, 21 September 2019 by KurtisHanna (talk | contribs) (changed the modem in upstream link to kernel.org)
Warning WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it.
The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly.
Samsung Note II
Samsung Galaxy Note II
Samsung Galaxy Note II
Manufacturer Samsung
Name Note II
Codename samsung-n7100
Released 2012
Hardware
Chipset Exynos 4412 Quad
CPU Quad-core 1.6 GHz Cortex-A9
GPU Mali-400MP4
Display 720x1280 AMOLED
Storage 16/32/64 GB
Memory 2 GB
Architecture armhf
Software
Original software Android 4.1.1 on Linux 3.0.31
postmarketOS
Category testing
Pre-built images no
Features
Flashing
Works
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
No data
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
No data
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

  • Bloo

Basic info

What works

  • Compiling the kernel
  • Flashing with Heimdall
  • Booting initramfs
  • SSH
  • Weston
  • Touch screen fully calibrated

What does not work

  • N/A

Not tested

  • Sound
  • 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.

Installing system

First build the device package:

./pmbootstrap.py build device-samsung-n7100

Then you need to configure the kernel before building with menuconfig like so:

./pmbootstrap.py menuconfig linux-samsung-n7100

You can hold down the enter key while it asks you the y/n questions until you get to the menu, then you want to enable the DEVTMPFS kconfig flag located in Device Drivers ---> Generic Driver Options.

Now you want to compile the kernel itself:

./pmbootstrap.py build linux-samsung-n7100 --arch=armhf

Once you've successfully compiled the kernel you can install the OS to an SD card or your system partition. I've only tried an SD card:

./pmbootstrap.py 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.py flasher flash_kernel

We're using 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!


Mainline Kernel

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: [1]

The n710x upstream DTS is here: [2]

Replicant is interested in further mainlining this device and replacing the bootloader with u-boot and would like to collaborate with us [3].

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