摘要 |
Disclosed are a software upgrade method and system for a mobile terminal. The method comprises: by respectively finding partition tables of new-version software and old-version software, generating corresponding backup lists; scanning all the files of the new-version software, and generating a differential upgrade package containing a partition table and a backup list of the new-version software; according to the backup list, storing backup data in a mobile terminal which needs to be backed up in an SD card, and according to the partition table of the new-version software of the differential upgrade package, re-partitioning a memory of the mobile terminal, and correspondingly writing the backup data on the SD card in partitions; and decompressing the differential upgrade package, obtaining corresponding difference files, and according to the difference files and old-version files in the mobile terminal, generating corresponding new-version files and writing same into the mobile terminal, thereby completing the upgrade, so that the mobile terminal can also be upgraded in the case where a memory partition table needs to be changed during a software upgrade, so as to bring great convenience to a user. |