Galaxy S II (GT-I9100)¶
- Table of contents
- Galaxy S II (GT-I9100)
Device | Galaxy S II (GT-I9100) | |
Manufacturer | Samsung | |
Release date | May 2011 | |
Codename | i9100 |
|
Status | Maintained | |
Variants | GSM: GT-I9100 | |
Latest images | Replicant 6.0 0004 |
Replicant status¶
Replicant installation¶
To install Replicant on the Galaxy S II (GT-I9100), see the RecoveryInstallationWithHeimdall and MinorVersionUpgrade wiki pages.
Replicant usage¶
Replicant build¶
Replicant development¶
- Galaxy S 2 (I9100) serial
- If you don't have the device and need a quick test, see the People page for a list of people having a Galaxy SII (GT-I9100)
- If you already have substantial Replicant contributions, and you need a Galaxy SII (GT-I9100), we could ship one to you
Freedom and privacy/security issues¶
Galaxy S 2 (I9100) freedom issues:- Proprietary hardware
- Proprietary firmwares, some of which are firmwares loaded by the system
- Proprietary modem system
- Proprietary bootrom
- Proprietary and signed bootloader
Galaxy S 2 (I9100) Privacy/security issues
Research¶
Hardware table¶
Component | Name | Source | Status |
---|---|---|---|
SoC | Samsung Exynos 4210 | Linux kernel | Linux kernel support |
GPU | Mali 400 | https://secure.wikimedia.org/wikipedia/en/wiki/Exynos | Linux kernel support, proprietary userspace |
Audio Codec | Yamaha MC1N2 | Linux kernel | Linux kernel support (ALSA), free userspace: Yamaha-MC1N2-Audio/Tinyalsa-Audio |
Modem | XMM6260 | Linux kernel | Free userspace implementation: Samsung-RIL/libsamsung-ipc |
Wi-Fi | BCM4330 | Linux kernel | Linux kernel support, proprietary loaded firmware |
Bluetooth | BCM4330 | Linux kernel | Linux kernel support, proprietary loaded firmware |
NFC | PN544 | Linux kernel | Linux kernel support |
GPS | GSD4t | http://www.csr.com/news/pr/release/455/en | Proprietary userspace, no free implementation: GSD4t |
Accelerometer | K3DH | Linux kernel | Linux kernel support, free userspace |
Compass | AKM8975 | Kernel sources | Linux kernel support, free userspace |
Light | Capella CM3663 | Linux kernel support, free userspace | |
Proximity | Capella CM3663 | Linux kernel support, free userspace | |
FM Radio | SI4709 | Linux kernel | Linux kernel support |
Camera (back) | Fujitsu M5MO | Linux kernel support, free userspace | |
Camera (front) | Samsung S5K5BAFX | Linux kernel support, free userspace | |
Touchscreen | Atmel MXT224 | Linux kernel support | |
Display | LD9040 | Linux kernel support | |
Power Management IC (PMIC) | Maxim MAX8997 | Kernel sources | Linux kernel support |
Software Configuration¶
- GalaxyS2I9100Pit: Galaxy SII (GT-I9100) PIT (a partition table)
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 |
---|---|---|---|---|---|---|
GANG | No visible under Replicant 6.0 | EMMC related? | ||||
BOOT | No visible under Replicant 6.0 | Bootloader related? | ||||
EFS | mmcblk0p1 | /efs | ext4 | modem data partition (content) | 20 MiB @ 4MiB | |
SBL1 | mmcblk0p2 | None | Bootloader related? | 1280 KiB | ||
SBL2 | mmcblk0p3 | None | Bootloader related? | 1280 KiB | ||
PARAM | mmcblk0p4 | None | ? | 8 MiB | ||
KERNEL | mmcblk0p5 | None | zImage | boot partition, See IsorecRecoveryIssue for more details | 8 MiB | |
RECOVERY | mmcblk0p6 | None | recovery partition, See IsorecRecoveryIssue for more details | 8 MiB | ||
CACHE | mmcblk0p7 | /cache | ext4 | Android cache partition | 100 MiB | |
MODEM | mmcblk0p8 | None | modem firmware partition | 16 MiB | ||
FACTORYFS | mmcblk0p9 | /system | ext4 | Android system partition | 512 MiB | |
DATAFS | mmcblk0p10 | /data | ext4 | Android application data | 2 GiB | |
UMS | mmcblk0p11 | /mnt/media_rw/xxxx-xxxx | vfat | user data (music, pictures, etc) | 11784 MiB | |
HIDDEN | mmcblk0p12 | /preload | ext4 | contains some data, and Samsung APK | 512 MiB |
Backup / restore of the eMMC content¶
On two GT-I9100, the following procedure was successfully tested:
(1) Backup the eMMC (/dev/block/mmcblk0) on a microSD
(2) resize some partitions (DATAFS, UMS, and the cache partition was deleted and moved right before HIDDEN) under GNU/Linux with udisksctl loop-setup -f mmcblk0.img and gparted
(3) reboot several times to recovery
(4) restore the modified mmcblk0.img
This means that there is no checks preventing modifications on mmcblk0 (for instance some cryptographic value that is written to the eMMC at each boot to prevent installing old dump of the eMMC). There might be some checks outside of that (like in mmcblk0boot0 or mmcblk0boot1 though).
Also restoring the mmmcblk0.img on another device worked but it didn't make the modem take the IMEI of the first device. So something in the EFS is really device specific.
References¶
These documents are the propriety of Samsung Electronics and are not hosted by the Replicant project.
See also¶
- The Samsung_Galaxy_SII_(samsung-i9100) page on the PostmarketOS wiki. It has many informations on upstreaming and u-boot.
Updated by dl lud 12 months ago · 96 revisions