tiann / KernelSU

A Kernel based root solution for Android
https://kernelsu.org
GNU General Public License v3.0
10.04k stars 1.64k forks source link

Installing more than 1 module changes the storage values in Xiaomi HyperOS #1419

Closed Insidevk18 closed 7 months ago

Insidevk18 commented 7 months ago

Please check before submitting an issue

Describe the bug

I have a module (any) previously installed, when flashing another module and restarting, the storage values that were previously:

Change after flashing to: -Occupied space 1.8 TB / Total Space 2 TB

The problem is not with the modules since I tried 4 different modules that previously did not generate errors in MIUI 14 (before updating to HyperOS 1.0.3)

This problem is only on the cell phone, since when I connect the cell phone to the PC the storage values are normal (Occupied space 23.8 GB / Total Space 128 GB).

To Reproduce

-1. Go to KernelSU -2. Go to module section -3. search module file -4. flash module and reboot -5. repeat the process with any other module -6. reboot -7. When entering settings, the storage changes values

Expected behavior

The storage values that were previously:

Change to: -Occupied space 1.8 TB / Total Space 2 TB

Screenshots

BEFORE (1 MODULE): WhatsApp Image 2024-03-04 at 3 03 14 PM

AFTER (2 MOULE): WhatsApp Ima1ge 2024-03-04 at 3 08 36 PM WhatsApp Image 2024-03-04 at 3 08 36 PM

Logs

KernelSU_bugreport_2024-03-04_15_07.tar.gz

Device info

Additional context

This problem only alters the sample storage values on the cell phone, since on the computer I verified that the storage remained the same. This problem did not happen to me in Xiaomi MIUI 14, it is recent from Xiaomi HyperOS.

zeta96 commented 7 months ago

https://github.com/tiann/KernelSU/issues/1411

https://github.com/tiann/KernelSU/issues/1389

https://github.com/tiann/KernelSU/issues/1401

https://kernelsu.org/guide/faq.html#why-is-there-a-huge-1t-file

Insidevk18 commented 7 months ago

1411

1389

1401

https://kernelsu.org/guide/faq.html#why-is-there-a-huge-1t-file


Excuse my ignorance, after reading the other posts, I should understand that:

-Couldn't this problem be solved since the problem comes from the modules?

tiann commented 7 months ago

https://github.com/tiann/KernelSU/issues/1411#issuecomment-1977914161

By the way, the latest HyperOS has fixed this:

image