Samsung Galaxy SIII LTE (samsung-i9305)

From postmarketOS
Jump to: navigation, search
Samsung Galaxy SIII LTE
Samsung Galaxy SIII LTE
Samsung Galaxy SIII LTE
Manufacturer Samsung
Name Galaxy SIII LTE
Codename i9305
Released 2012
Original software Android 4.1.1
Hardware
Chipset Exynos 4412 Quad
CPU Quad-core 1.4 GHz Cortex-A9
GPU Mali-400MP4
Display 720x1280 Super AMOLED
Storage 16 GB
Memory 2 GB

Contributors

  • tyxieblub

Maintainer(s)

What works

  • So far, what works for samsung-i9305 (Galaxy SIII LTE version) also works for the samsung-i9300 (Galaxy SIII without LTE).
  • Installation to sdcard (pmbootstrap install --sdcard=/dev/mmcblk...)
  • Touchscreen
  • Weston (only on SD card)
  • XWayland
  • Wifi
  • osk-sdl

What does not work

  • The rest

How to enter flash mode

  • Hold power + Home + volume down
  • When prompted, release all buttons and press volume up

Installation

$ ./pmbootstrap.py init

Install to sdcard

# Replace /dev/mmcblk with your actual sdcard device
$ ./pmbootstrap.py install --sdcard=/dev/mmcblk

Flashing

- Set phone to ODIN mode

 1. Turn off phone
 2. Connect USB cable
 3. Hold VOLUME_DOWN + HOME + POWER until you get Warning!! screen
 4. Push VOLUME_UP to continue to ODIN mode screen

- Build and flash the kernel

 $ ./pmbootstrap.py flasher flash_kernel

Boot

Once postmarketOS is installed on the sdcard and the kernel is flashed, you need telnet to unlock the root partition

 $ telnet 172.16.42.1
 Trying 172.16.42.1...
 Connected to 172.16.42.1.
 Escape character is '^]'.
 Enter passphrase for /dev/mapper/mmcblk1p2:

Then you can SSH into the device.

 $ ssh user@172.16.42.1

Wifi

To get the wifi working, you'll need to modify the wpa_supplicant confg

 # If this is not done, wpa_supplicant launches itself with -ip2p0
 $ echo 'wpa_supplicant_args="-iwlan0 -Dwext"' | sudo tee /etc/conf.d/wpa_supplicant
 $ sudo wpa_passphrase $YOUR_SSID > /etc/wpa_supplicant/wpa_supplicant.conf
 $ /etc/init.d/wpa_supplicant restart

Write the following file to
/etc/network/interfaces
 auto lo 
 iface lo inet loopback   
 auto wlan0 
 iface wlan0 inet dhcp

Restart the network to verify it's working

 $ /etc/init.d/networking restart

Set it to start on boot

 $ sudo rc-update add wpa_supplicant boot
 $ sudo rc-update add networking default

Reboot and you should be connected on boot.

Photos

Links