GalaxySIII4GGTI9305 » History » Revision 46
Revision 45 (Denis 'GNUtoo' Carikli, 09/27/2021 05:07 PM) → Revision 46/54 (Denis 'GNUtoo' Carikli, 09/27/2021 05:08 PM)
h1. Galaxy S III 4G (GT-I9305)
{{>toc}}
|/8. !galaxys34g.png! | *Device* | Galaxy S III 4G (GT-I9305) |
| *Manufacturer* | Samsung |
| *Release date* | September 2012 |
| *Codename* | @i9305@ |
| *Status* | Uncompleted |
| *Supported models* | GT-I9305 |
| *Latest images* | [[ReplicantImages#Replicant-60-0002-images|Replicant 6.0 0002]] |
h2. Replicant status
Replicant status for the Galaxy S III 4G (GT-I9305): [[ReplicantStatus#Replicant-60|ReplicantStatus Replicant 6.0]]
Also, the Galaxy S3 4G (I9305) has an issue that makes it suddenly reboot. See the related "bugreport":https://redmine.replicant.us/issues/1834 for more details.
h2. Replicant installation
Replicant installation for the Galaxy S III 4G (GT-I9305): [[ReplicantStatus#Replicant-60|ReplicantStatus Replicant 6.0]]
h2. Replicant usage
* Galaxy S III 4G (GT-I9305) compass calibration: [[GalaxyS3I9300CompassCalibration]]
h2. Replicant build
Replicant build for the Galaxy S III 4G (GT-I9305): [[GalaxyS3I9305Build]]
h2. Replicant development
* Galaxy S III 4G (GT-I9305) UART: [[GalaxyS3I9300UART]]
h2. Freedom and privacy/security evaluation
See [[GalaxyS3I9305PrivacySecurityEvaluation]] for more details.
h2. Research
* [[QMI-RIL]] development of a modem interface
* The Galaxy SIII 4G (GT-I9305) has a Qualcomm MDM9615 modem. The "quectel-modems osmocom wiki":https://osmocom.org/projects/quectel-modems/wiki/Wiki has some information related to running GNU/Linux on that modem, and information in its hardware:
** "Qualcomm MDM9615":https://osmocom.org/projects/quectel-modems/wiki/Qualcomm_MDM9615
** "Samsung Galaxy SIII 4G":https://osmocom.org/projects/quectel-modems/wiki/Samsung_Galaxy_SIII_4G_(GT-I9305)
h3. Hardware table
|_. Component |_. Name |_. Source |_. Status |
| SoC | Samsung Exynos 4412 | "iFixit":http://www.ifixit.com/Teardown/Samsung+Galaxy+S+III+Teardown/9391/2 | Linux kernel support |
| GPU | Mali 400 | "The Exynos Wikipedia page":https://secure.wikimedia.org/wikipedia/en/wiki/Exynos | Linux kernel and secret userspace |
| Audio Codec | WM8994 | Linux kernel | Linux kernel support (ALSA) |
| Modem | Qualcomm MDM9615 | Linux kernel | "free library for QMI protocol":https://www.freedesktop.org/wiki/Software/libqmi/, no free RIL yet |
| Wi-Fi | BCM4334 | Linux kernel | Linux kernel support, proprietary loaded firmware |
| Bluetooth | BCM4334 | Linux kernel | Linux kernel support, proprietary loaded firmware |
| NFC | PN544 | Linux kernel | Linux kernel support |
| GPS | Qualcomm MDM9615 | "Linux kernel":https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/drivers/clk/qcom/gcc-mdm9615.c?h=v5.2.7 | "partly free userspace":https://github.com/LineageOS/android_device_samsung_smdk4412-qcom-common/tree/cm-14.1/gps |
| Accelerometer | LSM330DLC | Linux kernel | Linux kernel support, free userspace |
| Compass | AKM8975 | Kernel sources | Linux kernel support, free userspace |
| Light/proximity sensor | CM36651 | Kernel sources | Linux kernel support, free userspace |
| Gyroscope | LSM330DLC | Kernel sources | Linux kernel support, free userspace |
| Barometer | LPS331AP | Kernel sources | Linux kernel support, free userspace |
| Camera (back) | S5C73M3 | Linux kernel | Linux kernel support, free userspace |
| Camera (front) | S5K6A3 | Linux kernel | Linux kernel support, free userspace, proprietary loaded firmware |
h3. Software Configuration
* [[GalaxyS3I9305Pit]]: Galaxy S III 4G (GT-I9305) PIT (a partition table)
* system fstab: "fstab.smdk4x12":https://git.replicant.us/replicant/device_samsung_i9305/tree/rootdir/fstab.smdk4x12
h4. Partitions
WARNING some content may not be the same on your device
|_. PIT |_. Linux name |_. block device |_. mount point |_. partition type |_. Description | size or size@location for 16G eMMC |
| BOOTLOADER |/2\3. mmcblk0boot0, not visible on Replicant 6.0 | Unknown, raw data? | The bootloader |/2. 2M |
| TZSW | Unknown, raw data? | The signed TrustZone OS |
| Not visible in the PIT |\3. mmcblk0boot1, not visible on Replicant 6.0 | empty | Unused | 2M |
| PIT | No partition
on Replicant 6.0 | on mmcblk0
(use print-pit to find the location) | None |\2. The PIT partition table | 8KiB[2]@17KiB[2] |
|\2. BOTA0 | mmcblk0p1 |/2. None |/2. empty |/2. ? |/2. 4 MiB[3] |
|\2. BOTA1 | mmcblk0p2 |
|\2. EFS | mmcblk0p3 | /efs | ext4 | modem data partition | |
| | mkefs1 | mmcblk0p4 | | | ? | |
| | mkefs2 | mmcblk0p5 | | | ? | |
| | mkefs3 | mmcblk0p6 | | | ? | |
| | PARAM | mmcblk0p7 | | | ? | |
|\2. BOOT | mmcblk0p8 | None | bootimage (mkbootimg) | boot.img partition | |
|\2. RECOVERY | mmcblk0p9 | None | bootimage (mkbootimg) | recovery partition | |
|\2. RADIO | mmcblk0p10 | /firmware | vfat | modem firmware partition | |
|\2. TOMBSTONES | mmcblk0p11 | /tombstones | ext4 | ? | |
|\2. SYSTEM | mmcblk0p13 | /system | ext4 | system partition | |
|\2. USERDATA | mmcblk0p16 | /data | ext4 | data partition | |
fn2. For the Kib see https://en.wikipedia.org/wiki/Kibibyte
h3. Mainlining
See https://wiki.postmarketos.org/wiki/Samsung_Galaxy_SIII_LTE_(samsung-i9305)#Mainline_Kernel, https://blog.forkwhiletrue.me/pages/midas-mainline/. The mainline kernel probably needs the equivalent of https://github.com/LineageOS/android_kernel_samsung_smdk4412/blob/b7ffe7f2aea2391737cdeac2a33217ee0ea4f2ba/arch/arm/mach-exynos/mdm_hsic_pm.c#L1003 for the modem to work.