Abstract:
A method of generating a Firmware Over-The-Air (FOTA) upgrade package is disclosed, comprising: determining whether a file having a same filename or being similar as a file in a software package of a new version exists in a software package of an old version; when there exists a file having a same filename or a similar file, generating a difference file between the file in the software package of the old version and the file in the software package of the new version and adding the difference file into the FOTA upgrade package, and when there doesn't exist a file having a same filename or a similar file, adding the file in the software package of the new version into the FOTA upgrade package. An FOTA upgrading method, a server, and a mobile terminal are also disclosed.
Abstract:
A method of generating a Firmware Over-The-Air (FOTA) upgrade package is disclosed, comprising: determining whether a file having a same filename or being similar as a file in a software package of a new version exists in a software package of an old version; when there exists a file having a same filename or a similar file, generating a difference file between the file in the software package of the old version and the file in the software package of the new version and adding the difference file into the FOTA upgrade package, and when there doesn't exist a file having a same filename or a similar file, adding the file in the software package of the new version into the FOTA upgrade package. An FOTA upgrading method, a server, and a mobile terminal are also disclosed.
Abstract:
A software upgrade method and system for a mobile terminal includes locating partition tables of a new version of software and an old version of software, generating a corresponding backup list, scanning all files of the new version of software, generating a differential upgrade package that comprises a partition table of the new version of software and the backup list, saving backup data, to be backed up in the mobile terminal, into a SD card according to the backup list, re-partitioning a mobile terminal memory according to the partition table of the new version of software in the differential upgrade package, correspondingly writing the backup data on the SD card into the partition, decompressing the differential upgrade package to obtain a corresponding differentiating file, generating corresponding new version files according to the differentiating file and the old version files in the mobile terminal, and writing into the mobile terminal.
Abstract:
A software upgrade method and system for a mobile terminal includes locating partition tables of a new version of software and an old version of software, generating a corresponding backup list, scanning all files of the new version of software, generating a differential upgrade package that comprises a partition table of the new version of software and the backup list, saving backup data, to be backed up in the mobile terminal, into a SD card according to the backup list, re-partitioning a mobile terminal memory according to the partition table of the new version of software in the differential upgrade package, correspondingly writing the backup data on the SD card into the partition, decompressing the differential upgrade package to obtain a corresponding differentiating file, generating corresponding new version files according to the differentiating file and the old version files in the mobile terminal, and writing into the mobile terminal.