Warn users that the modem_disable.sh disabling is lost after reflash
Updated by Denis 'GNUtoo' Carikli about 2 years ago
2. How to reproduce
- Flash Replicant 6.0 0004 RC1
- Run modem_disable.sh
- verify that the modem is off with lsusb. On a GT-I9100 that uses an HSIC modem:
$ lsusb Bus 001 Device 001: ID 1d6b:0002 # <- The USB controller
- Reflash Replicant 6.0 0004 RC1
$ lsusb Bus 001 Device 001: ID 1d6b:0002 # <- The USB controller Bus 001 Device 002: ID 1519:0020 # <- The Modem once booted
The modem USB id is the same (1519:0020) on the GT-I9300 once the modem is booted.
This is to be expected as once reflashed, the effect of the disable_modem.sh script is gone once you reinstall.
As it'd be complicated to detect that in the installer, and would break other assumptions, it would be a good idea to only warn the users.
Hardware kill switch don't have such limitation.