Samsung Galaxy Note 8.0 (Wi-Fi) (samsung-n5110)
🚧 | This page is a work-in-progress. Some information contained within may be inaccurate or incomplete.
In particular: Mainline progress |
Unrelated to the Broadcom Kona |
Samsung Galaxy Note 8.0 (Wi-Fi) | |
Manufacturer | Samsung |
---|---|
Name | Galaxy Note 8.0 (Wi-Fi) |
Codename | samsung-n5110 |
Released | 2013 |
Type | tablet |
Hardware | |
Chipset | Samsung Exynos 4412 Quad |
CPU | Quad-core Cortex-A9 1.6 GHz |
GPU | ARM Mali-400 MP |
Display | 1280x800 (189 PPI) TFT LCD |
Storage | 16 GB |
Memory | 2 GB |
Architecture | armv7 |
Software | |
Original software | Android |
Original version | 4.4.2 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage | |
SD card | |
Battery | |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration | |
Audio |
Partial |
Camera | |
Camera Flash | |
Connectivity | |
WiFi |
Works |
Bluetooth |
Partial |
GPS | |
NFC | |
Miscellaneous | |
FDE | |
USB OTG | |
HDMI/DP | |
Sensors | |
Accelerometer | |
Magnetometer | |
Ambient Light | |
Proximity | |
Hall Effect | |
Haptics | |
Barometer | |
Contributors
- michitux
- adelahmed (3G variant)
- nexplorer-3e
Maintainer(s)
- michitux
- adelahmed (3G variant)
Device owners
- ExtensionDriver (Notes: broken, screen flickers on boot)
- Nexplorer-3e (Notes: Lineage 16, looks like battery is nearly dead. Mainlining slowly)
Information
currently pmOS only have the WiFi variant for this device (Device package here). To use it, choose samsung-n5110
on pmbootstrap init
.
The device has a 3G variant (n5100). See the Exynos4412devices at Replicant wiki that can be followed at See also section for more details.
While Galaxy Note x.y is not part of the Midas family, it is part of a very near relative, the Kona family, which uses the same Exynos4412 SoC as the Midas family. Here is a list of Kona family boards here from Replicant wiki. See the chipset page for more details.
How to enter flash mode
Hold Power + Volume Down + Home. When prompted, release all buttons and click Volume Up.
How to enter recovery mode
Hold Power + Volume Up + Home. When the Samsung logo appears, release all buttons.
Installation
System image
Currently pmbootstrap can produce recovery zip that installs pmOS into system partition and boot partition.
To create the system image and the flashable zip:
$ pmbootstrap install --recovery-zip
$ pmbootstrap export
Then get a recovery like TWRP to install it.
Kernel image
Flashing of the kernel works with heimdall, installation on the system partition works at least with adb sideload
using TWRP (did not try heimdall). Installation on the sdcard should work, too (untested).
N5110 can be chosen as a device during the init, seeing how the hardware is identical(the difference is that n5110 is the wi-fi version, this would mean that the modem would not work)
flasher flash_kernel
at flash mode should work currently, untested though (just pick up the boot.img from armv7_native and install manually via TWRP)
Mainline Kernel
Currently status
Currently there is a WIP kernel repository at https://gitlab.com/nexplorer-3e/linux-exynos4 , To use it you need to copy the necessary files from Device package to make a new device differ from current samsung-n5110
.
What is working
- 3D acceleration seemed working. Lima driver is loaded and there is a drm file under devfs. The biggest problem may be the bad performance of Mali-400 MP4 on modern DEs.
- WiFi working but it takes a long time to initialize. and the bcm4334 only supports 2.4G.
- USB Networking is working but it cannot use the IC config from midas device tree. Otherwise, the usbnet won't work.
- Charger (Fuel gauge & Charging IC)
- Display & Backlight
- NT71391 is very rare. Porting these device not only need patience, but only to take the look of recent driver changes for there are some information that may not covered by the blog written for the driver.
- Touchscreen
Working but untested
- Button except the power button
- Sound
Not working
- IR
- S-Pen
- USB Networking with MHL configured
- Camera
- Modem (and cannot test since I only have Wifi variant)
- GPS
- Sensors (untested)
- Accelerometer
- Magnetometer
- Hall effect sensor
May be useful data
Element type | Element | Works? | Notes |
---|---|---|---|
Chipset | Exynos 4412 | Y | Supported in mainline |
Graphics | Mali-400 MP4 | Y | Poor performance and missing OpenGL 3 support (google lima driver for details) |
Charging IC | max77693 | P | Supported in mainline; cannot configure USB role otherwise the USB Networking is gone |
Audio | WM1811 | P | untested, seems works but need extra UCM configuration from other device packages |
PMIC | S5M8767 | - | Supported in mainline |
Fuel gauge | MAX17047 | Y | Supported in mainline |
Touchscreen | Synaptics S7301 | Y | Similar to another two device with mainline Synaptics RMI4 driver. |
Buttons | gpio-keys | - | power button is working, other untested. the touch button seems not working |
WiFi, Bluetooth | BCM4334 | Y | Driver in mainline. |
Display | BOE Panel, NT71391 IC | Y | Driver in kernel fork. See also: Blog post about getting the display working |
Backlight | LP8556TMX | Y | PWM-controlled backlight controller. Seems to have a weird issue where setting it to 100% causes the backlight to shut down (though this is lazily worked around in knuxify's fork). Also seems to forget ROM settings after suspend. |
Camera | Sony ISX012 and Siliconfile SR130PC20 | Both aren't in mainline | |
IR | N | ||
MHL | sii9244 | N | see the Charging IC section above |
Modem | N | TODO: Check Replicant | |
GPS | N |
(Table is modified from samsung-lt01wifi page)
- Midas on Mainline for work on mainlining very similar devices.
- Replicant is also interested in mainlining this device and replacing the bootloader with u-boot and would like to collaborate with us [1].
Downstream
What works
- Weston including touch
- Xfce4 (recommended) including touch and pen
- WiFi using the
firmware-samsung-i9305
- but: NetworkManager does not work, see #1461 - Bluetooth works partially as described for the Galaxy SIII but the device is
/dev/ttySAC0
- Audio, see Audio#WM1811 for more instructions. Both an pre-configured saved state as well as the ucm profiles are included.
- charging-sdl
What does not work
- S-Pen
- MHL
- Bluetooth pairing with bluez5 (bluez4 is working, more on that soon)
- osk-sdl - FDE most likely does not work as some kernel options are missing (can be easily fixed probably if FDE is desired).
- GPS
- Camera
- Sleep etc.
- poweroff on shutdown (
halt
) command - make sure you really turn the device off or your battery will be totally depleted. - 3D acceleration (plasma mobile is very slow)
Partition map
/ # ls -lah /dev/block/platform/dw_mmc/by-name/ < drwxr-xr-x 2 root root 280 Jan 1 06:45 . drwxr-xr-x 4 root root 340 Jan 1 06:45 .. lrwxrwxrwx 1 root root 20 Jan 1 06:45 BOOT -> /dev/block/mmcblk0p5 lrwxrwxrwx 1 root root 20 Jan 1 06:45 BOTA0 -> /dev/block/mmcblk0p1 lrwxrwxrwx 1 root root 20 Jan 1 06:45 BOTA1 -> /dev/block/mmcblk0p2 lrwxrwxrwx 1 root root 20 Jan 1 06:45 CACHE -> /dev/block/mmcblk0p8 lrwxrwxrwx 1 root root 20 Jan 1 06:45 EFS -> /dev/block/mmcblk0p3 lrwxrwxrwx 1 root root 21 Jan 1 06:45 HIDDEN -> /dev/block/mmcblk0p10 lrwxrwxrwx 1 root root 21 Jan 1 06:45 OTA -> /dev/block/mmcblk0p11 lrwxrwxrwx 1 root root 20 Jan 1 06:45 PARAM -> /dev/block/mmcblk0p4 lrwxrwxrwx 1 root root 20 Jan 1 06:45 RADIO -> /dev/block/mmcblk0p7 lrwxrwxrwx 1 root root 20 Jan 1 06:45 RECOVERY -> /dev/block/mmcblk0p6 lrwxrwxrwx 1 root root 20 Jan 1 06:45 SYSTEM -> /dev/block/mmcblk0p9 lrwxrwxrwx 1 root root 21 Jan 1 06:45 USERDATA -> /dev/block/mmcblk0p12
See also
- !1219 Initial pull request
- GNU/Linux@N80XX XDA thread on porting GNU/Linux to the very similar Note 10.1.
- opensgn The Google Code repo of this port, includes audio configuration and some configuration regarding sleep
- Replicant supports this device and hopes to also add other devices very similar to it