-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount /data/data/com.google.android.apps.photos to SSD #22
Comments
there's some existing discussion here |
try mounting the SSD folder to the data folder using sdcardfs with the correct GID |
Thank you, but its still not working :(
The Photos app still cant create its files and crashing :( More info:
The bind mount version:
The sdcardfs mount version:
Settings fsuid and fsgid (still not working):
I think the problem is the root owner of the mounted directory:
|
@dwd1 @master-hax |
check & see how much space Photos is using on your device on my personal phone it is using 10x the size of the app itself. this includes your account info, database of media metadata, everything in the locked folder, etc. it is probably not a significant volume compared to the uploaded data itself though. |
Cool, I guess this is inevitable, any magisk module that can monitor disk I/O? I have trouble finding one. 1) Caveman USB copy directly to phoneCan I assume file managers are safe? e.g. transferring from SD card > mounted point. If its not safe, I think we should transfer photos to /mnt/my_drive/the_binding using a separate linux machine FIRST. And then mount to pixel for upload process. If its safe, let us know which file managers are good to go (direct copy from SD card > mounted point). e.g. MiXplorer or https://github.com/zhanghai/MaterialFiles 2) Server/Network hostFTP Server host 3) Syncing from another phoneSyncthing = 100% NOT SAFE as it writes to nand (common problem on raspberry pi setups) Let us know which apps are good and what's not! |
in 1 i think you mean copy to the drive from another computer? that's what i do. it is the fastest & most reliable, but requires human effort and can't be automated. for 2 & 3 the ideal solution would be to recompile the kernel with |
Currently I'm using a USB SD Card reader connected to a hub. Plug in the SD Card and transfer the files manually using a file manager to the mounted point "/mnt/runtime/write/emulated/0/the_binding"
On top of your head, any app that is perfect for this without using nand writes? |
Hi,
I see in a reddit post you can mount /data/data/com.google.android.apps.photos dir to external SSD.
Can you explain me the procedure and the correct commands, please?
Its not working for me.
I have rooted latest nightly LineageOS with Magisk.
If I mount /data/data/com.google.android.apps.photos/databases to the external SSD the files has root:everybody chmod instead of the original u0_a229:u0_a229 and the Photos app is crashing.
Thank you!
The text was updated successfully, but these errors were encountered: