Project

General

Profile

TestingInfrastructure » History » Revision 18

Revision 17 (Denis 'GNUtoo' Carikli, 11/27/2018 05:12 PM) → Revision 18/55 (Denis 'GNUtoo' Carikli, 12/05/2018 12:20 AM)

h1. TestingInfrastructure 

 h2. Applications that can be used to do some testing on the device 

 * https://f-droid.org/wiki/page/org.zeroxlab.zeroxbenchmark 

 h2. Projects and/or hardware that can be used to do functional testing 

 h3. Lava 

 "Lava":https://www.linaro.org/engineering/projects/lava/ can be used to do functional tests on real hardware. It can be easily installed on PureOS, an FSDG compliant GNU/Linux distribution. 

 h3. OsmoGSMTester 

 The "OsmoGSMTester project":https://osmocom.org/projects/osmo-gsm-tester 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. 

 h3. Simtrace2 

 The "Simtrace 2 project":https://osmocom.org/projects/simtrace2/wiki 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. 

 h2. Replicant supported devices and testing 

 h3. 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 

 h3. 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) 

 Holding the smartphone in place: 
 * The smartphone could either be screwed on a metallic surface or an external case could be screwed on a metallic surface enabling the smartphone not to move. 

 SIM cards: 
 * Simtrace 2 "lacks screw holes":https://osmocom.org/issues/3711 so a way must be found to make sure that it doesn't move as it uses flex cables to interface with the SIM socket of the smartphone. That may be fixed in a subsequent hardware revision. 

 Serial port and USB: 

 Buttons: 

 Battery: 

 Antenna connector and GSM tower or SDR: 
 The Galaxy S2 (I9100) has two antenna connectors: 
 * One internal connector, TODO: find the connector type 
 * One external connector, TODO: Find the connector type 

 h4. Example setup 

 !i9100.jpg! 

 See https://git.replicant.us/contrib/GNUtoo/test-infrastructure.git for the source of the file.