TestingInfrastructure¶
Projects and/or hardware that can be used to do functional testing¶
Lava¶
Lava can be used to do functional tests on real hardware. It can be easily installed on PureOS, an FSDG compliant GNU/Linux distribution.
OsmoGSMTester¶
The OsmoGSMTester project is able to be interfaced with the Android RIL through ofono and can emulate a GSM network with the help of a compatible GSM base station or SDR.
Simtrace2¶
The Simtrace 2 project can be used, along with SIM card readers to programmatically feed a SIM card to a smartphone. This can be used to run test on real networks.
Replicant supported devices and testing¶
Requirements¶
- Antenna connector for the modem
- The ability to control the device buttons in order to be able to programmatically power on and off the device, and trigger boots into the bootloader and recovery
- Optionally a way to connect to the serial port, programmatically
Galaxy S2 (I9100)¶
- The Galaxy S2 (I9100) has:
- An antenna connector
- The SOC serial port that is accessible behind the USB connector at a low voltage
- A full size mini-sim (easier to interface with)
Connecting the hardware¶
SIM cards¶
Serial port and USB¶
Buttons¶
Antenna connector and GSM tower or SDR¶