Project

General

Profile

GalaxySIII4GGTI9305 » History » Version 41

Denis 'GNUtoo' Carikli, 09/27/2021 04:51 PM
partitions: Add EFS and thombstones block devices

1 33 Denis 'GNUtoo' Carikli
h1. Galaxy S III 4G (GT-I9305)
2 1 Wolfgang Wiedmeyer
3
{{>toc}}
4
5 33 Denis 'GNUtoo' Carikli
|/8. !galaxys34g.png! | *Device* | Galaxy S III 4G (GT-I9305) |
6 1 Wolfgang Wiedmeyer
| *Manufacturer* | Samsung |
7
| *Release date* | September 2012 |
8
| *Codename* | @i9305@ |
9
| *Status* | Uncompleted |
10 33 Denis 'GNUtoo' Carikli
| *Supported models* | GT-I9305 |
11 13 Wolfgang Wiedmeyer
| *Latest images* | [[ReplicantImages#Replicant-60-0002-images|Replicant 6.0 0002]] |
12 1 Wolfgang Wiedmeyer
13
h2. Replicant status
14
15 33 Denis 'GNUtoo' Carikli
Replicant status for the Galaxy S III 4G (GT-I9305): [[ReplicantStatus#Replicant-60|ReplicantStatus Replicant 6.0]]
16 1 Wolfgang Wiedmeyer
17 22 Denis 'GNUtoo' Carikli
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.
18
19 1 Wolfgang Wiedmeyer
h2. Replicant installation
20
21 33 Denis 'GNUtoo' Carikli
Replicant installation for the Galaxy S III 4G (GT-I9305): [[ReplicantStatus#Replicant-60|ReplicantStatus Replicant 6.0]]
22 1 Wolfgang Wiedmeyer
23
h2. Replicant usage
24
25 33 Denis 'GNUtoo' Carikli
* Galaxy S III 4G (GT-I9305) compass calibration: [[GalaxyS3I9300CompassCalibration]]
26 1 Wolfgang Wiedmeyer
27
h2. Replicant build
28
29 33 Denis 'GNUtoo' Carikli
Replicant build for the Galaxy S III 4G (GT-I9305): [[GalaxyS3I9305Build]]
30 1 Wolfgang Wiedmeyer
31
h2. Replicant development
32
33 33 Denis 'GNUtoo' Carikli
* Galaxy S III 4G (GT-I9305) UART: [[GalaxyS3I9300UART]]
34 1 Wolfgang Wiedmeyer
35
h2. Freedom and privacy/security evaluation
36
37
See [[GalaxyS3I9305PrivacySecurityEvaluation]] for more details.
38
39
h2. Research
40
41 29 Denis 'GNUtoo' Carikli
* [[QMI-RIL]] development of a modem interface
42 33 Denis 'GNUtoo' Carikli
* 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:
43 32 Denis 'GNUtoo' Carikli
** "Qualcomm MDM9615":https://osmocom.org/projects/quectel-modems/wiki/Qualcomm_MDM9615
44
** "Samsung Galaxy SIII 4G":https://osmocom.org/projects/quectel-modems/wiki/Samsung_Galaxy_SIII_4G_(GT-I9305)
45 11 Jens Korte
46 1 Wolfgang Wiedmeyer
h3. Hardware table
47
48
|_. Component |_. Name |_. Source |_. Status |
49
| SoC | Samsung Exynos 4412 | "iFixit":http://www.ifixit.com/Teardown/Samsung+Galaxy+S+III+Teardown/9391/2 | Linux kernel support |
50 31 Denis 'GNUtoo' Carikli
| GPU | Mali 400 | "The Exynos Wikipedia page":https://secure.wikimedia.org/wikipedia/en/wiki/Exynos | Linux kernel and secret userspace |
51 5 Wolfgang Wiedmeyer
| Audio Codec | WM8994 | Linux kernel | Linux kernel support (ALSA) |
52 30 Denis 'GNUtoo' Carikli
| Modem | Qualcomm MDM9615 | Linux kernel | "free library for QMI protocol":https://www.freedesktop.org/wiki/Software/libqmi/, no free RIL yet |
53 1 Wolfgang Wiedmeyer
| Wi-Fi | BCM4334 | Linux kernel | Linux kernel support, proprietary loaded firmware |
54
| Bluetooth | BCM4334 | Linux kernel | Linux kernel support, proprietary loaded firmware |
55
| NFC | PN544 | Linux kernel | Linux kernel support |
56 26 Kurtis Hanna
| 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 |
57 1 Wolfgang Wiedmeyer
| Accelerometer | LSM330DLC | Linux kernel | Linux kernel support, free userspace |
58
| Compass | AKM8975 | Kernel sources | Linux kernel support, free userspace |
59
| Light/proximity sensor | CM36651 | Kernel sources | Linux kernel support, free userspace |
60
| Gyroscope | LSM330DLC | Kernel sources | Linux kernel support, free userspace |
61
| Barometer | LPS331AP | Kernel sources | Linux kernel support, free userspace |
62
| Camera (back) | S5C73M3 | Linux kernel | Linux kernel support, free userspace |
63
| Camera (front) | S5K6A3 | Linux kernel | Linux kernel support, free userspace, proprietary loaded firmware |
64 14 Denis 'GNUtoo' Carikli
65 18 Denis 'GNUtoo' Carikli
h3. Software Configuration
66
67 33 Denis 'GNUtoo' Carikli
* [[GalaxyS3I9305Pit]]: Galaxy S III 4G (GT-I9305) PIT (a partition table)
68 23 Denis 'GNUtoo' Carikli
* system fstab: "fstab.smdk4x12":https://git.replicant.us/replicant/device_samsung_i9305/tree/rootdir/fstab.smdk4x12
69 18 Denis 'GNUtoo' Carikli
70 15 Denis 'GNUtoo' Carikli
h4. Partitions
71
72
WARNING some content may not be the same on your device
73
74 39 Denis 'GNUtoo' Carikli
|_. PIT                  |_. Linux name     |_. block device |_. mount point       |_. partition type      |_. Description              | size or size@location for 16G eMMC |
75
| BOOTLOADER             |/2\3. mmcblk0boot0, not visible on Replicant 6.0         | Unknown, raw data?    | The bootloader             |/2. 2M                              |
76
| TZSW                   |                                                           Unknown, raw data?    | The signed TrustZone OS    |
77
| Not visible in the PIT |\3. mmcblk0boot1, not visible on Replicant 6.0           | empty                 | Unused                     | 2M                                 |
78
| PIT                    | No partition 
79
                           on Replicant 6.0 | on mmcblk0 
80 40 Denis 'GNUtoo' Carikli
                                              (use print-pit to find the location) | None                  |\2. The PIT partition table | 8KiB[2]@17KiB[2]                   | 
81 39 Denis 'GNUtoo' Carikli
| SYSTEM                 | SYSTEM           | mmcblk0p13     | /system             | ext4                  | system partition           |                                    |
82
| BOOT                   | BOOT             | mmcblk0p8      | None                | bootimage (mkbootimg) | boot.img partition         |                                    |
83
| RECOVERY               | RECOVERY         | mmcblk0p9      | None                | bootimage (mkbootimg) | recovery partition         |                                    |
84
| USERDATA               | USERDATA         | mmcblk0p16     | /data               | ext4                  | data partition             |                                    |
85 41 Denis 'GNUtoo' Carikli
| RADIO                  | RADIO            | mmcblk0p10     | /firmware           | vfat                  | modem firmware partition   |                                    |
86 39 Denis 'GNUtoo' Carikli
| EFS                    | EFS              | mmcblk0p3      | /efs                | ext4                  | modem data partition       |                                    |
87 41 Denis 'GNUtoo' Carikli
| TOMBSTONES             | TOMBSTONES       | mmcblk0p11     | /tombstones         | ext4                  | ?                          |                                    |
88 39 Denis 'GNUtoo' Carikli
89
fn2. For the Kib see https://en.wikipedia.org/wiki/Kibibyte
90 27 Joey Hewitt
91
h3. Mainlining
92
93
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.