MIUI backup between flashes

Discussion in 'Mi General' started by iinga, Feb 17, 2011.

?

Would you be interested in backing up custom system changes?

  1. Yes - It will save me flashing multiple zips

    60.0%
  2. No - I only flash MIUI and nothing else

    0 vote(s)
    0.0%
  3. Indifferent - I don't mind flashing multiple zips

    40.0%
  1. iinga

    iingaMembers

    Dec 22, 2010
    40
    0
    16
    Lurking around
    Being someone that can't quite make up my mind over MIUI and CM, I often change between the two. One of the features I missed from CM7 was the ability to back specific things up on /system between flashes.

    They way CM does this is by creating a file (/system/etc/custom_backup_list.txt) in which you put the dir and name of files you want backing up, eg:
    /fonts/Arial.ttf
    /app/CustomSystemApp.apk
    And a script will be called by the updater-script to parse this list and back up these files between rom flashes.

    This feature itself isn't hard to "port" to MIUI and I have it working on my Desire. Minimal changes were necessary to the script itself (1. it can't check versions due to the vast differences in ro.modversion between miui roms between devices and 2. it no longer needs to back up gapps because they are bundled).

    So I was just wondering if other people are interested in this feature? If so, I can upload the script needed (or it can be found in most CM roms and requires minimal editing).

    http://forum.cyanogenmod.com/topic/...iles-in-system-while-re-flashing-cyanogenmod/ is the CM thread explaining the script.
     

Share Our Site