Difference between revisions of "Samsung Galaxy Note II (samsung-t03g)"

From postmarketOS
Jump to navigation Jump to search
m
(Updating with information from my attempts getting pmos running on my device)
Line 48: Line 48:
 
* Booting initramfs
 
* Booting initramfs
 
* SSH
 
* SSH
* Weston
 
 
* Touch screen fully calibrated
 
* Touch screen fully calibrated
  
 
== What does not work ==
 
== What does not work ==
  
* N/A
+
* Sound
 +
* Weston
  
 
== Not tested ==
 
== Not tested ==
  
* Sound
 
 
* WiFi (needs kernel modules compiling first)
 
* WiFi (needs kernel modules compiling first)
  
Line 66: Line 65:
 
== Installing system ==
 
== Installing system ==
  
 +
The device package and kernel is now available, pre-built, from the repositories.
 +
<!--
 
First build the device package:
 
First build the device package:
  
 
<source lang="shell-session">$ pmbootstrap build device-samsung-n7100</source>
 
<source lang="shell-session">$ pmbootstrap build device-samsung-n7100</source>
<!-- Then you need to configure the kernel before building with <code>menuconfig</code> like so:
+
<!--Then you need to configure the kernel before building with <code>menuconfig</code> like so:
  
 
<pre class="shell">./pmbootstrap.py menuconfig linux-samsung-n7100</pre>
 
<pre class="shell">./pmbootstrap.py menuconfig linux-samsung-n7100</pre>
Line 77: Line 78:
  
 
<source lang="shell-session">$ pmbootstrap build linux-samsung-n7100 --arch=armhf</source>
 
<source lang="shell-session">$ pmbootstrap build linux-samsung-n7100 --arch=armhf</source>
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:
+
-->
 +
 
 +
You can install the OS to an SD card or your system partition. I've only tried an SD card:
  
 
<source lang="shell-session">$ pmbootstrap install --sdcard=/dev/sdb</source>
 
<source lang="shell-session">$ pmbootstrap install --sdcard=/dev/sdb</source>
Line 93: Line 96:
 
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!
 
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!
  
 +
== 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. ([https://matrix-client.matrix.org/_matrix/media/r0/download/matrix.org/rWxLNbGACqTlpXVuUZEWNQaG])
  
 
== Mainline Kernel ==
 
== Mainline Kernel ==

Revision as of 18:52, 5 May 2020

Samsung Galaxy Note II
Samsung Galaxy Note II
Samsung Galaxy Note II
Manufacturer Samsung
Name Galaxy Note II
Codename samsung-n7100
Released 2012
Category testing
Original software Android 4.1.1 on Linux 3.0.31
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 armhf
Features
USB Networking
Works
Flashing
Works
Touchscreen
Works
Display
Works
WiFi
FDE
Mainline
Battery
3D Acceleration
Audio
Bluetooth
Camera
GPS
Mobile data
SMS
Calls
USB OTG
NFC
Sensors
Accelerometer
Magnetometer
Ambient Light
Proximity
Hall Effect
Barometer
Power Sensor
Misc
Keyboard
Touchpad
USB-A
HDMI/DP
Ir TX
TrustZone
FOSS bootloader


Contributors

  • Bloo

Basic info

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.

Now you want to compile the kernel itself:

$ pmbootstrap build linux-samsung-n7100 --arch=armhf

-->

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!

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

The n710x upstream DTS is here: [3]

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

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