I want to show a method how to use a directory on a PC as inernal_sd.
With this method it is easy to test games and decrease the device storage write cycles.
Also no need to copy to the internal storage.
For example: You can load emu roms or put the obb files there and.
Even a swap file works but this involve further steps, which does not described here.
Only tried on kitkat 4.4.4.
You need:
- root (SuperSu)
- xposed framework (2.7)
- xposed module XinternalSD (4.8 )
- cifs manager or Mount Manager (1.041) / for me, this work only if I disable Mount namespace seperation in SuperSu settings tab (2.49) and restart my device.
1. create a directory on your PC with the name: internal_sd2
2. share this directory
3. create a directory in your device with the name: cifs
4. Mount the share with cifs manager or Mount Manager to your device with the mountpoint: /mnt/internal_sd/cifs/internal_sd2
5. In XinternalSD settings
- select Custom path to internal SD Card
- set the path to the mountpoint of the share : /mnt/internal_sd/cifs/internal_sd2
- select Enable for all apps (behavior: new installed apps becomes enabled by default)
- select Disable for apps and choose apps you dont want to store their data on the mounted share.
6. Restart your device
Now this shared folder on your PC becomes a second internal_sd and behave like this.
If your share is disconect than selected apps store their data in the folder selected in XinternalSD on your device.
If your share is disconnected and you create a folder with the name nomount in the folder selected in XinternalSD, then you know the share is connected when this folder dissappear and vica versa.
The folder names could have other names and it would work.
Ps:
With Network Monitor Mini it is easy to see if data is downloaded or uploaded:
https://play.google.com/store/apps/details?id=info.kfsoft.android.TrafficIndicator&hl=de