Jump to content

Samsung Galaxy S III (samsung-m0): Difference between revisions

From postmarketOS Wiki
IdanHoro (talk | contribs)
m --no-fde removed (deprecated)
added mainline information
Line 91: Line 91:


== Mainline Kernel ==
== Mainline Kernel ==
The mainline kernel now support has some support for the Samsung Galaxy SIII LTE (i9305):
The mainline kernel now has some support for the Samsung Galaxy SIII LTE (i9305):


Upstream dts: [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/exynos4412-i9305.dts exynos4412-i9305.dts]
Upstream dts: [https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/exynos4412-i9305.dts exynos4412-i9305.dts]
Line 99: Line 99:
Note that [https://github.com/fourkbomb/linux/commit/2a6027178ae40c1d3baa965fe21b19cbf09493ce a patch is required] to make it work with the stock samsung bootloader.
Note that [https://github.com/fourkbomb/linux/commit/2a6027178ae40c1d3baa965fe21b19cbf09493ce a patch is required] to make it work with the stock samsung bootloader.


Replicant is also interested in mainlining this device and replacing the bootloader with u-boot and would like to collaborate with us [https://github.com/postmarketOS/pmbootstrap/pull/1219#issuecomment-395876420].
forkbomb from LineageOS got mainline u-boot running on this device:
[https://blog.forkwhiletrue.me/posts/an-almost-fully-libre-galaxy-s3/]
 
Replicant has this device booting with mainline Linux and almost mainline U-Boot with only the need for a few patches on top and would like to collaborate with us [https://github.com/postmarketOS/pmbootstrap/pull/1219#issuecomment-395876420]
 
The Qualcomm Gobi MDM9615 Modem seems to have mainline kernel support as well: [https://redmine.replicant.us/projects/replicant/wiki/GalaxyS3I9305#Hardware-table]

Revision as of 05:16, 13 August 2019

Warning WARNING: This device is not recommended for future use with postmarketOS due to its armhf architecture. Alpine Linux (the distribution that postmarketOS extends) pmaports#599 has been considering dropping it.
The processor of the device may support the armv7 architecture. If so, you can modify the device package and change the architecture accordingly.
Samsung Galaxy SIII LTE
Samsung Galaxy SIII LTE
Samsung Galaxy SIII LTE
Manufacturer Samsung
Name Galaxy SIII LTE
Codename samsung-i9305
Released 2012
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
Architecture armhf
Software
Original software Android 4.1.1
postmarketOS
Category testing
Pre-built images no
Features
Flashing
No data
USB Networking
Works
Internal storage
No data
SD card
No data
Battery
No data
Screen
Works
Touchscreen
Works
Multimedia
3D Acceleration
No data
Audio
No data
Camera
No data
Camera Flash
No data
Connectivity
WiFi
Works
Bluetooth
No data
GPS
No data
NFC
No data
Modem
Calls
No data
SMS
No data
Mobile data
No data
Miscellaneous
FDE
Works
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


So far, what works for samsung-i9305 (Galaxy SIII LTE version) also works for the samsung-i9300 (Galaxy SIII international GSM version without LTE). (Neither of these SIII models should be confused with the North American SIII models, which require OS builds.)

Contributors

  • tyxieblub

Maintainer(s)

How to enter flash mode

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

Installation

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

At this point you can follow the general installation guide. Installation to the system is not yet supported for the device, so make sure to install postmarketOS to the sdcard. Also be sure to not enable FDE as osk-sdl is not yet supported for this device, and enabling it would require you to telnet into the device to unlock it.

Wifi

TODO TODO: Make sure it works with NetworkManager and if it doesn't work out of the box replace the instructions here for NetworkManager specific ones

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.

Mainline Kernel

The mainline kernel now has some support for the Samsung Galaxy SIII LTE (i9305):

Upstream dts: exynos4412-i9305.dts

Upstream status: Midas on Mainline.

Note that a patch is required to make it work with the stock samsung bootloader.

forkbomb from LineageOS got mainline u-boot running on this device: [1]

Replicant has this device booting with mainline Linux and almost mainline U-Boot with only the need for a few patches on top and would like to collaborate with us [2]

The Qualcomm Gobi MDM9615 Modem seems to have mainline kernel support as well: [3]