Project

General

Profile

GalaxySIIIGTI9300 » History » Version 85

Denis 'GNUtoo' Carikli, 02/29/2020 08:46 PM
Remove maintainers

1 67 Denis 'GNUtoo' Carikli
h1. Galaxy S III (GT-I9300)
2 1 Paul Kocialkowski
3
{{>toc}}
4
5 67 Denis 'GNUtoo' Carikli
|/9. !galaxys3.png! | *Device* | Galaxy S III (GT-I9300) |
6 1 Paul Kocialkowski
| *Manufacturer* | Samsung |
7 10 Paul Kocialkowski
| *Release date* | May 2012 |
8 1 Paul Kocialkowski
| *Codename* | @i9300@ |
9
| *Status* | Maintained |
10 20 Kurtis Hanna
| *Supported models* | GSM: GT-I9300 |
11 21 Wolfgang Wiedmeyer
| *Latest images* | [[ReplicantImages#Replicant-60-0003-images|Replicant 6.0 0003]] |
12 1 Paul Kocialkowski
13
h2. Replicant status
14
15 67 Denis 'GNUtoo' Carikli
Replicant status for the Galaxy S III (GT-I9300): [[ReplicantStatus#Replicant-60|ReplicantStatus Replicant 6.0]]
16 1 Paul Kocialkowski
17 10 Paul Kocialkowski
h2. Replicant installation
18 1 Paul Kocialkowski
19 67 Denis 'GNUtoo' Carikli
To install Replicant on the Galaxy S III (GT-I9300), see the [[RecoveryInstallationWithHeimdall]] and [[MinorVersionUpgrade]] wiki pages.
20 1 Paul Kocialkowski
21 10 Paul Kocialkowski
h2. Replicant usage
22 1 Paul Kocialkowski
23 67 Denis 'GNUtoo' Carikli
* Galaxy S III (GT-I9300) compass calibration: [[GalaxyS3I9300CompassCalibration]]
24 1 Paul Kocialkowski
25 10 Paul Kocialkowski
h2. Replicant build
26 1 Paul Kocialkowski
27 67 Denis 'GNUtoo' Carikli
Replicant build for the Galaxy S III (GT-I9300): [[GalaxyS3I9300Build]]
28 6 Paul Kocialkowski
29 10 Paul Kocialkowski
h2. Replicant development
30 1 Paul Kocialkowski
31 67 Denis 'GNUtoo' Carikli
* Galaxy S III (GT-I9300) UART: [[GalaxyS3I9300UART]]
32 6 Paul Kocialkowski
33 16 Denis 'GNUtoo' Carikli
h2. Freedom and privacy/security evaluation
34 10 Paul Kocialkowski
35 15 Denis 'GNUtoo' Carikli
See [[GalaxyS3I9300PrivacySecurityEvaluation]] for more details.
36 10 Paul Kocialkowski
37
h2. Research
38
39 1 Paul Kocialkowski
h3. Hardware table
40
41 10 Paul Kocialkowski
|_. Component |_. Name |_. Source |_. Status |
42
| SoC | Samsung Exynos 4412 | "iFixit":http://www.ifixit.com/Teardown/Samsung+Galaxy+S+III+Teardown/9391/2 | Linux kernel support |
43 24 Denis 'GNUtoo' Carikli
| GPU | Mali 400 | "wikipedia":https://secure.wikimedia.org/wikipedia/en/wiki/Exynos | Linux kernel and secret userspace |
44 10 Paul Kocialkowski
| Audio Codec | WM8994 | Linux kernel | Linux kernel support (ALSA) |
45
| Modem | XMM6260 | Linux kernel | Free userspace implementation: [[Samsung-RIL]]/[[libsamsung-ipc]] |
46
| Wi-Fi | BCM4334 | Linux kernel | Linux kernel support, proprietary loaded firmware |
47
| Bluetooth | BCM4334 | Linux kernel | Linux kernel support, proprietary loaded firmware |
48
| NFC | PN544 | Linux kernel | Linux kernel support |
49 18 Jens Korte
| GPS | BCM47511 | "iFixit":http://www.ifixit.com/Teardown/Samsung+Galaxy+S+III+Teardown/9391/2 | Proprietary userspace, no free implementation: [[BCM4751]] |
50 10 Paul Kocialkowski
| Accelerometer | LSM330DLC | Linux kernel | Linux kernel support, free userspace |
51
| Compass | AKM8975 | Kernel sources | Linux kernel support, free userspace |
52
| Light/proximity sensor | CM36651 | Kernel sources | Linux kernel support, free userspace |
53
| Gyroscope | LSM330DLC | Kernel sources | Linux kernel support, free userspace |
54
| Barometer | LPS331AP | Kernel sources | Linux kernel support, free userspace |
55 11 Paul Kocialkowski
| Camera (back) | S5C73M3 | Linux kernel | Linux kernel support, free userspace |
56
| Camera (front) | S5K6A3 | Linux kernel | Linux kernel support, free userspace, proprietary loaded firmware |
57 22 Denis 'GNUtoo' Carikli
58
h3. Software Configuration
59
60 71 Denis 'GNUtoo' Carikli
h4. PIT
61
62
The PIT of a 16G version of the Galaxy SIII (GT-I9300) can be found in the [[GalaxyS3I9300Pit]] page.
63
64
The PIT is a partition table used at least by the bootloader in the odin mode that Heimdal uses.
65
66
If we look at the BOTA0 partition entry in the PIT we have:
67
<pre>
68
--- Entry #4 ---
69
Binary Type: 0 (AP)
70
Device Type: 2 (MMC)
71
Identifier: 1
72
Attributes: 5 (Read/Write)
73
Update Attributes: 1 (FOTA)
74
Partition Block Size/Offset: 8192
75
Partition Block Count: 8192
76
File Offset (Obsolete): 0
77
File Size (Obsolete): 0
78
Partition Name: BOTA0
79
Flash Filename: -
80
FOTA Filename: 
81
</pre>
82
83 72 Denis 'GNUtoo' Carikli
As for what the fields can mean:
84 71 Denis 'GNUtoo' Carikli
<pre>
85
Binary Type: 0 (AP)
86
</pre>
87
AP probably means application processor which means that the partition is used by the CPU running Android, and not the modem.
88
89
<pre>
90
Partition Block Size/Offset: 8192
91
Partition Block Count: 8192
92
</pre>
93
This is in blocks of 512 bytes.
94
95
<pre>
96
Partition Name: BOTA0
97
</pre>
98 72 Denis 'GNUtoo' Carikli
This is the partition name, which here is the same in the GPT partition table.
99 71 Denis 'GNUtoo' Carikli
100
<pre>
101
Identifier: 1
102
</pre>
103
That identifier seem to be increased at each next partition, bit it is different for the PIT partitions that are on the mmcblk0boot0 partition for instance.
104
105 73 Denis 'GNUtoo' Carikli
For instance if we loot at @BOOTLOADER@ we have @Identifier: 80@ and for @TZSW@ we have @Identifier: 81@. Both partitions are located on a different hardware partition of the eMMC (which is considered like a different block device in Linux).
106
107 71 Denis 'GNUtoo' Carikli
h4. GPT
108
109
The mmcblk0 block device also has a GPT.
110 25 Denis 'GNUtoo' Carikli
111 74 Denis 'GNUtoo' Carikli
h4. Locating the PIT and MD5HDR
112
113 75 Denis 'GNUtoo' Carikli
See the [[GalaxySIIIGTI9300PartitionsResearch]] page for an attempt to locate the PIT and the MD5HDR partitions.
114 74 Denis 'GNUtoo' Carikli
115 25 Denis 'GNUtoo' Carikli
h4. Partitions
116
117 84 Denis 'GNUtoo' Carikli
|_. PIT |_. Linux name |_. block device |_. mount point |_. partition type |_. Description |_. size or size@location for 16G eMMC |
118 78 Denis 'GNUtoo' Carikli
| BOOTLOADER |/2\3. mmcblk0boot0, not visible on Replicant 6.0 | Unknown, raw data? | The bootloader |/2. 4M |
119 57 Denis 'GNUtoo' Carikli
| TZSW | Unknown, raw data? | The signed TrustZone OS |
120 64 Denis 'GNUtoo' Carikli
| Not visible in the PIT |\3. mmcblk0boot1, not visible on Replicant 6.0 | empty | Unused | 4M |
121 81 Denis 'GNUtoo' Carikli
| PIT | No partition on Replicant 6.0 | on mmcblk0 (use print-pit to find the location) | None |\2. The PIT partition table | 8KiB[2]@16KiB[2] | 
122 83 Denis 'GNUtoo' Carikli
| MD5HDR | No partition Replicant 6.0 | on mmcblk0 (use print-pit to find the location) | None | Unknown, raw data? | Used during boot to validate partitions? | 1MiB[3]@25KiB[2] |
123 82 Denis 'GNUtoo' Carikli
|\2. BOTA0 | mmcblk0p1 |/2. None |/2. empty |/2. ? |/2. 4 MiB[3] |
124 52 Denis 'GNUtoo' Carikli
|\2. BOTA1 | mmcblk0p2 |
125 63 Denis 'GNUtoo' Carikli
|\2. EFS | mmcblk0p3 | /efs | ext4  | modem data partition | 20M |
126 69 Denis 'GNUtoo' Carikli
|\2. PARAM | mmcblk0p4 | None | tar file, can be unpacked with gnu tar | * Bootloader settings[1]
127 1 Paul Kocialkowski
* Boot modes[1]
128 68 Jens Korte
* Splash screen[1]
129
* several JPGs regarding download mode, loading empty battery, hardware/watchdog reset and other | 8M |
130 63 Denis 'GNUtoo' Carikli
|\2. BOOT | mmcblk0p5 | None | bootimage (mkbootimg) | boot.img partition | 8M |
131
|\2. RECOVERY | mmcblk0p6 | None | bootimage (mkbootimg) | recovery partition | 8M |
132
|\2. RADIO | mmcblk0p7 | None | Unknown, raw data? | Modem OS partition | 32M |
133
|\2. CACHE | mmcblk0p8 | /cache | f2fs | cache partition | 1G |
134
|\2. SYSTEM | mmcblk0p9 | /system | ext4 | system partition | 1.5G |
135 62 Denis 'GNUtoo' Carikli
|\2. HIDDEN | mmcblk0p10 | /preload | ext4 | Samsung promotional medias:
136 58 Denis 'GNUtoo' Carikli
* Over_the_horizon.mp3
137 63 Denis 'GNUtoo' Carikli
* Wonders_of_Nature.mp4 | 560M |
138
|\2. OTA | mmcblk0p11 | None  | empty | probably only used during OTA updates? | 8M |
139
|\2. USERDATA | mmcblk0p12 | /data | ext4 | data partition | 11.5G |
140 1 Paul Kocialkowski
141
fn1. According to "a forum thread on XDA developers":https://forum.xda-developers.com/showthread.php?t=1986887 "About Params: The params contains the splash screens you see when you turn your phone on and settings which control boot. These settings include UART output, kernel parmeters, and boot modes."
142 81 Denis 'GNUtoo' Carikli
143 1 Paul Kocialkowski
fn2. For the Kib see https://en.wikipedia.org/wiki/Kibibyte
144 82 Denis 'GNUtoo' Carikli
145
fn3. Foi the MiB see https://en.wikipedia.org/wiki/Mebibyte
146 53 Denis 'GNUtoo' Carikli
147 54 Denis 'GNUtoo' Carikli
h2. Schematics
148 1 Paul Kocialkowski
149 54 Denis 'GNUtoo' Carikli
h3. FCC
150
151 1 Paul Kocialkowski
*FCC ID*: A3LGTI9300A (Grantee code: A3L, Product code: GTI9300A)
152 55 Denis 'GNUtoo' Carikli
*URL*: https://www.fcc.gov/oet/ea/fccid/ Enter grantee, and product code and click on search.
153
*Schematics*: Block diagram operational description and schematics not made public through the FCC.
154 56 Denis 'GNUtoo' Carikli
155
h3. Ifixit
156
157
*Device URL*: https://www.ifixit.com/Device/Samsung_Galaxy_S_III#Section_Documents
158
*Repair manuals and very partial schematics*:  https://www.ifixit.com/Device/Samsung_Galaxy_S_III#Section_Documents