Expanding Allocated WSA (Google Apps) Disk Storage with Magisk
If you have installed Magisk WSA (Google Apps) version and are continuously hitting the error of no disk space available, it seems that WSA apps are taking up too much space. This article will guide you through expanding the allocated WSA disk storage using Magisk to solve this issue.
Prerequisites
- A rooted Android device with Magisk installed
- WSA (Google Apps) installed
- Basic knowledge of Android system and command line interface
Expanding Allocated WSA Disk Storage
To expand the allocated WSA disk storage, you need to create a new ext4 partition and mount it to the WSA directory. The following steps will guide you through the process:
Step 1: Check the Current Partition Setup
First, you need to check the current partition setup of your device. You can do this by running the following command in the command line interface:
ls /dev/block/platform/soc/7824900.sdhci/by-name/
This command will list all the partitions on your device. Look for the following partitions:
wsa_systemwsa_datawsa_cache
Step 2: Create a New Partition
Next, you need to create a new partition for WSA. The size of the partition depends on your device and the amount of free space available. You can use a partition manager tool such as GParted to create the new partition. Make sure to create the new partition as ext4.
Step 3: Mount the New Partition
Once the new partition is created, you need to mount it to the WSA directory. You can do this by running the following command in the command line interface:
mount /dev/block/platform/soc/7824900.sdhci/by-name/new_partition /data/local/tmp/wsa_data
Make sure to replace new_partition with the name of the new partition you created in Step 2.
Step 4: Move WSA Data to the New Partition
Now, you need to move the WSA data to the new partition. You can do this by running the following command in the command line interface:
mv /data/local/tmp/wsa_data/* /data/local/tmp/wsa_data/. /data/local/tmp/new_partition
Make sure to replace new_partition with the name of the new partition you created in Step 2.
Step 5: Update the fstab File
Finally, you need to update the fstab file to mount the new partition automatically at boot. You can do this by running the following command in the command line interface:
echo "/dev/block/platform/soc/7824900.sdhci/by-name/new\_partition /data/local/tmp/wsa\_data ext4 defaults,noatime,nosuid,nodev,discard,noauto 0 0" > /data/local/tmp/etc/fstab.d/wsa\_data.conf
Make sure to replace new\_partition with the name of the new partition you created in Step 2.
- Expanding the allocated WSA disk storage using Magisk involves creating a new ext4 partition and mounting it to the WSA directory.
- You need to check the current partition setup, create a new partition, mount the new partition, move WSA data to the new partition, and update the fstab file.
- This process requires basic knowledge of Android system and command line interface.