view scripts/gtm900b-ffs-clean @ 607:d5abcbbf7432

scripts/gtm900[bp]-ffs-clean: remove some more wrong files An earlier version of GTM900-B firmware has been found in the wild that still has MFW&BMI layers included (producing files under /mmi), as well as enlarged /pcm/L[DMR]N files. These files are wrong for FreeCalypso fw and thus need to be cleaned out.
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Feb 2020 21:27:40 +0000
parents f1ee6c480432
children
line wrap: on
line source

# This fc-fsio command script should be executed as part of the procedure
# for converting a Huawei GTM900-B (EU frequency bands) modem to FreeCalypso;
# it should be executed after FreeCalypso fw has been flashed with fc-loadtool,
# when the newly flashed fw is booted for the first time.

# delete Huawei files which are wrong for FreeCalypso fw
cleandir /aud
rm -f /gsm/com/baseprofile0
rm -f /gsm/com/cmdList
rm -f /gsm/com/profile0
rm -f /gsm/l3/rr_sc_arfcn
rm -f /pcm/BAUDRATE
rm -f /pcm/LDN
rm -f /pcm/LMN
rm -f /pcm/LRN
rm -f /pcm/SMS
cleandir /mmi

# new RF band configuration and ID string
set-rfcap dual-eu
set-pcm-string CGMM GTM900-B-FC