Samsung Galaxy Note 3 (samsung-ha3g)

== Contributor(s) ==
* Androexp3rt
== Maintainer(s) ==
* Androexp3rt
== Users owning this device ==
== Information ==
This phone is very similar to the Samsung Galaxy S5 (klte). The device-samsung-hlte support in pmaports was based on device-samsung-klte. See the klte wiki page here: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_S5_(samsung-klte)
== How to enter flash mode ==
When the device is fully powered off, Press and hold + + simultaneously. When the warning comes up, then click to confirm.
File:Ha3g-Download.jpeg|thumb|left|Download Mode
== How to enter recovery mode ==
Press and hold + + simultaneously.
File:Ha3g.jpeg|thumb|left|TWRP / Recovery Mode
== Hardware Details ==
SoC: Samsung Exynos5420 (Exynos 5)
CPU: 
Display: Samsung S6E3FA0
PMIC: not known
PMIC: not known
Wireless: Broadcom BCM43XX
NFC: not known
== Installation ==
First, install pmbootstrap.
Setup device to be used:
$ pmbootstrap init
...
(142700) [21:08:05] Choose the postmarketOS release channel.
(142700) [21:08:05] * edge: Rolling release / Most devices : https://postmarketos.org/edge
(142700) [21:08:05] * v23.06: Latest release / Recommended for best stability
[21:08:05] Channel [v23.06]: v23.06 <----- enter this
(142700) [21:08:08] % cd /home/androexp3rt/pmos/cache_git/pmaports; git rev-parse --abbrev-ref HEAD
v23.06
[21:08:08] Vendor [samsung]: samsung <----- enter this
[21:08:10] Device codename [ha3g]: ha3g <----- enter this
[21:08:13] Username [androexp3rt]: androexp3rt <----- enter this, Can be set to user or any name you like
[21:08:14] User interface [phosh]: phosh <----- choose any UI by your preference
(142700) [21:08:16] Additional options: extra free space: 0 MB, boot partition size: 256 MB, parallel jobs: 5, ccache per arch: 5G, sudo timer: False, mirror: http://mirror.postmarketos.org/postmarketos/
[21:08:16] Change them? (y/n) [n]: n <----- leave it as is.
(142700) [21:08:20] Additional packages that will be installed to rootfs. Specify them in a comma separated list (e.g.: vim,file) or "none"
[21:08:20] Extra packages [none]: none <----- leave it as is or specify your packages
(142700) [21:08:22] Your host timezone: Asia/Kolkata
[21:08:22] Use this timezone instead of GMT? (y/n) [y]: y <----- set your timezone
[21:08:25] Locale [en_US]: en_US <----- Choose your preferred locale, like e.g. en_US. Only UTF-8 is supported.
[21:08:28] Device hostname (short form, e.g. 'foo') [samsung-ha3g]: samsung-ha3g <----- set your hostname
[21:08:30] Build outdated packages during 'pmbootstrap install'? (y/n) [y]: y <----- y will take longer to build, n will be faster
(142700) [21:08:33] Save config: /home/androexp3rt/.config/pmbootstrap.cfg
[21:08:33] Zap existing chroots to apply configuration? (y/n) [y]: y <----- choose y
(142700) [21:08:43] WARNING: The chroots and git repositories in the work dir do not get updated automatically.
(142700) [21:08:43] Run 'pmbootstrap status' once a day before working with pmbootstrap to make sure that everything is up-to-date.
(142700) [21:08:43] DONE!
...
Build the rootfs image:
$ pmbootstrap install
To install postmarketOS to the internal storage the easiest way is to create a zip to flash from twrp, run
$ pmbootstrap install --android-recovery-zip
$ pmbootstrap export
And then copy or adb push /tmp/postmarketOS-export/pmos-samsung-ha3g.zip to your device, reboot to twrp and install the zip and then reboot to system.
--------------------------------- OR --------------------------------------
To Install it put your device in Recovery mode, and plug it in USB. Then do:
$ cd $(dirname $(readlink /tmp/postmarketOS-export/pmos-*.zip)) #do not change anything in this line.
$ adb sideload pmos-samsung-ha3g.zip
== Photos ==
File:Ha3g.jpeg|thumb|left|TWRP / Recovery Mode
File:Ha3g-Download.jpeg|thumb|left|Download Mode