tiann / KernelSU

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

Samsung devices showing abnormal storage with new 1TB sparse image #1389

Closed Fede2782 closed 6 months ago

Fede2782 commented 6 months ago

Please check before submitting an issue

Describe the bug

Samsung (system) apps showing 2TB of storage instead of the actual device storage size

To Reproduce

Use KernelSU v0.8.0 on a Samsung device with Android 13 (One UI 5.x.x) and see how the storage calculation is now completely a mess showing 2TB in some menus full in others empty on my 64GB storage device. Tried with modules and without, also with shamiko umount but still showing this storage amount at least in the Settings Device Care menu

Expected behavior

I should see my real device storage in all the system.

Screenshots

Screenshot_20240225_131103_My Files

Logs

KernelSU_bugreport_2024-02-25_13_22.tar.gz

Device info

Additional context

Samsung One UI 6 changes storage measure method so this issue may only affect Android 13 and lower. Confirmed also on One UI 6 (Android 14)

tiann commented 6 months ago

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

Ask samsung to add support for sparse image file

Fede2782 commented 6 months ago

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

Ask samsung to add support for sparse image file

I know but this issue would affect a lot of devices with One UI, i'll investigate more.

Shirayuki39 commented 6 months ago

https://kernelsu.org/guide/faq.html#why-is-there-a-huge-1t-file Ask samsung to add support for sparse image file

I know but this issue would affect a lot of devices with One UI, i'll investigate more.

This issue also affects Infinix XOS' about device pane and storage menu

One thing to note, this seem to happen if you install another module right after you installed one without rebooting first Nope not that since reinstalling my modules one by one still caused the bug

ExtremeXT commented 6 months ago

This problem is present on OneUI 6.0 as well, and resolving it is obviously not as easy as inquiring to Samsung about it. If possible, this should be addressed, the majority of Android users are from Samsung.

Fede2782 commented 6 months ago

This problem is present on OneUI 6.0 as well, and resolving it is obviously not as easy as inquiring to Samsung about it. If possible, this should be addressed, the majority of Android users are from Samsung.

@ExtremeXT @Shirayuki39 Let's share this issue, maybe more users will convince developers to fix this. I'm looking for a way to hide this file to Samsung apps I'll update you directly in this issue if I find a Workaround or a solution

zeta96 commented 6 months ago

happens on my custom rom, cant install anything, apps auto stop working