Samsung Galaxy Note II (samsung-t03g): Difference between revisions
U-Boot port |
→Basic info: add reference to (replicant) table detailing many variants |
||
Line 45: | Line 45: | ||
* [http://www.gsmarena.com/samsung_galaxy_note_ii_n7100-4854.php more specs] | * [http://www.gsmarena.com/samsung_galaxy_note_ii_n7100-4854.php more specs] | ||
* [https://github.com/bigbiff/android_kernel_samsung_smdk4412 Unofficial TWRP kernel repo] | * [https://github.com/bigbiff/android_kernel_samsung_smdk4412 Unofficial TWRP kernel repo] | ||
* Exynos4412 [https://redmine.replicant.us/projects/replicant/wiki/Exynos4412Devices#Galaxy-Note-II Galaxy Note II] hardware table for t03g (and [[Samsung_Galaxy_Note_II_LTE_(samsung-t0lte)|t0lte]]) variants. | |||
== What works == | == What works == |
Revision as of 23:36, 13 April 2022
This device is still running on armhf, although the processor supports armv7. If you own it, change it and test it that way. |
![]() Samsung Galaxy Note II | |
Manufacturer | Samsung |
---|---|
Name | Galaxy Note II |
Codename | samsung-n7100 |
Released | 2012 |
Hardware | |
Chipset | Exynos 4412 Quad |
CPU | Quad-core 1.6 GHz Cortex-A9 |
GPU | Mali-400 MP4 |
Display | 720x1280 AMOLED |
Storage | 16/32/64 GB |
Memory | 2 GB |
Architecture | armv7 |
Software | |
Original software | Android 4.1.1 on Linux 3.0.31 |
postmarketOS | |
Category | testing |
Pre-built images | no |
Mainline | yes |
Flashing |
Works |
---|---|
USB Networking |
Works |
Internal storage |
No data |
SD card |
No data |
Battery |
No data |
Screen |
Works |
Touchscreen |
Works |
Multimedia | |
3D Acceleration |
Works |
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
Users owning this device
- Blacksilver
- DolphinChips (Notes: kebab'd)
- Frost I7 (Notes: Whole nothingness)
- Frost I7 (Notes: Stock)
- Km2
- Missy
- PL (Notes: Did boot pmOS previously. Trouble with boot.img atm, see pmbootstrap#2188)
- Some Chinese Guy
- WonderfulShrineMaidenOfParadise (Notes: no idea how to power up x 3)
Basic info
- more specs
- Unofficial TWRP kernel repo
- Exynos4412 Galaxy Note II hardware table for t03g (and t0lte) variants.
What works
- Compiling the kernel
- Flashing with Heimdall
- Booting initramfs
- SSH
- Touch screen fully calibrated
What does not work
- Sound
- Weston
Not tested
- 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
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
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!
Getting the S Pen to work
To get the S Pen working, you might have to do the following:
- Write the following into
/etc/udev/hwdb.d/60-evdev.hwdb
:
$ 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
Issues
- 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. ([1])
Mainline U-Boot
According to this blog there is a working U-Boot port on the N7100 (and some others). Build from this repository, U-Boot works successfully with SD-card. Unfortunately my device instance has dead eMMC memory so I can't test U-Boot with eMMC.
Mainline Kernel
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 pmOS patch that added initial support is here.
The pmports repo for this device's linux-postmarketos-exynos4 mainline kernel is 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.
The Replicant project is interested in further mainlining this device and replacing the bootloader with u-boot and would like to collaborate with us [2].
This device's Qualcomm Gobi MDM9615 Modem has limited 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