3

Whenever it decrypts data or applies a zip, it displays the message and then takes a rather long time.

What is it doing during that time?

In top I can see that the recovery process is fully utilising a core (and more), so it's not like it's sitting around waiting for some timeout either.

Is there anything I can do to speed this up?

4
  • it takes less than a second, something is wrong. so your question should be how to determinate why it takes that long (or how to fix)
    – alecxs
    Feb 1 at 19:25
  • It depends on the situation (it's really fast if I'm just wiping cache) but after decrypting or installing something, it takes over a dozen seconds. If that's not normal, I'd indeed like to know what causes this and how to fix it.
    – Atemu
    Feb 2 at 7:13
  • try disable free space check in settings
    – alecxs
    Feb 2 at 12:16
  • Doesn't help unfortunately.
    – Atemu
    Feb 22 at 12:13

1 Answer 1

2

It's updating the partition sizes so that it doesn't get messed up while you're backing up the partition.

(Source: partitionmanager.cpp in TWRP source code)

6
  • Could you expand on what you mean by "get messed up"? Why should anything get messed up when I'm not actually changing any partition sizes?
    – Atemu
    Feb 1 at 10:36
  • You're not changing the partition sizes themselves, but you might be changing the size of the content inside of the partitions. You can also see that by the source I mentioned.
    – Tri
    Feb 1 at 19:00
  • not only. also /etc/fstab is rewritten and all mounts set to default (determinate file system type, decrypt, mount /data, bind mount /data/media/0 to /sdcard, umount /system, etc ...) depending on what action was performed
    – alecxs
    Feb 1 at 19:24
  • 1
    As far as what the "Updating partition details..." does itself, it only updates the partition sizes for backups.
    – Tri
    Feb 1 at 19:31
  • Can I disable that? I don't use TWRP's backup feature.
    – Atemu
    Feb 2 at 7:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .