[Galaxy Note II, Galaxy S III Developer Discussion ] castrwilliam:
This is not an Android project so I don't feel that posting it in the Android Development forum would be appropriate.

ArchLinuxARM for the d2lte (Samsung Galaxy S III LTE) - Native Boot

This is only tested on the T-Mobile S3. With a kernel swap, it should work on any Qualcomm S3.

Working:

2D Acceleration (EXA)

3D Acceleration (OpenGL ES 2.0, Mesa)

Wi-Fi (with NetworkManager)

Not Working:

Bluetooth

Audio

Installation (to a subfolder of the /data partition)

You will need a Terminal Emulator or ADB Shell to install.

This assumes that arch_d2_20141210_root.tar.gz is in the root of your internal storage (/data/media/0).

su
mkdir /data/local/arch
tar -C /data/local/arch -xpzvf /data/media/0/arch_d2_20141210_root.tar.gz

Booting

Since there is no workable multiboot solution for the S III yet, you can take one of two routes to boot this thing:

Option 1: Flash the arch_boot.img to either the recovery or the boot partition of the internal flash chip. Due to risk of BRICKING if you flash to the wrong partition, I will not provide instructions here. I might make a flashable zip later on. Note that this removes access to Android.

Option 2: Use the Android Terminal Emulator, the provided kexec_hb binary, a Cyanogen kernel or compatible (they have kexec-hardboot patched in) and my kexec.d2.sh script to hard reboot into Arch Linux from Android.

To install the files needed for Option 2: (assuming that kexec_hb.d2.tar.gz is in the root of your internal storage)

mkdir /data/local/bin
tar -C /data/local/bin -xzf /data/media/0/

To boot with Option 2 (you might have to restart the Android Terminal Emulator after installation for /data/local/bin to end up in $PATH)

kexec_hb.d2.sh

The phone will try to kexec /data/media/0/zImage and /data/media/0/initrd.img, which will obviously HAVE to exist. Download them below and put them there if you did not already. If Android restarts, or the phone gets stuck at a black screen, the kexec failed!

Logging in

The username is "arch" and the password is "archlinux". Change the password ASAP.

For root, the username is "root" and the password is also "root". CHANGE THE PASSWORD ASAP!

You'll probably want to enable the On-Screen Keyboard (onboard) and set your Session to "MATE" up in the top right corner.

Read Me

If you WIPE DATA, it will also WIPE OUT THIS PORT, all its applications, and any files you may have stored within it!

Downloads

root filesystem archive: https://drive.google.com/file/d/0B4WUjKii92l2UlEwTC03czlZMTQ/view?usp=sharing

abootimg style kernel for manual flashing: https://drive.google.com/file/d/0B4WUjKii92l2NF9yNzhCZVo2Sms/view?usp=sharing

initrd.img for kexec_hb: https://drive.google.com/file/d/0B4WUjKii92l2NmllcEpHaW0xN0U/view?usp=sharing

zImage for kexec_hb: https://drive.google.com/file/d/0B4WUjKii92l2N0VlLWVKTzYyN0k/view?usp=sharing

archive of kexec binary and script: https://drive.google.com/file/d/0B4WUjKii92l2X3BJbnRJT0R6Rkk/view?usp=sharing

Kernel Source: https://github.com/willcast/kernel_d2lte

Also available for:

Nexus 7 2013 (flo): http://xdaforums.com/nexus-7-2013/general/unofficial-archlinuxarm-release-n7-2013-t2969301

HP TouchPad: http://xdaforums.com/hp-touchpad/other/unofficial-archlinuxarm-release-hp-t2969310

Nexus 10: http://xdaforums.com/nexus-10/general/unofficial-archlinuxarm-release-nexus-10-t2969450

HTC HD2: http://xdaforums.com/hd2-ubuntu/development/unofficial-archlinuxarm-htc-hd2-t2970483