[Q] Installing large app to sdext2 fails due to internal storage limitation
I have a Nexus One running the latest CM7, and a 32G sdcard with 3G partitioned for sdext2. I use Link2SD to link or move apps to the ext partition. My current free storage info:
/data (on device storage) - 107M
/data/sdext2 - 2G
/cache/download - 107M
/mnt/sdcard - 22G
Everything works as expected until I try to install an app larger than the available internal storage (a number of Humble Bundle apks are quite large). The install fails on the phone, and using adb to install gives me this error:
am@localhost /A/A/s/platform-tools >
./adb install -e ~/Downloads/SwordAndSworcery-android-1.0.16hb_1380585044.apk
failed to copy '/Users/am/Downloads/SwordAndSworcery-android-1.0.16hb_1380585044.apk' to '/data/local/tmp/SwordAndSworcery-android-1.0.16hb_1380585044.apk': No space left on device
rm: can't remove '/data/local/tmp/SwordAndSworcery-android-1.0.16hb_1380585044.apk': No such file or directory
As I understand it, Link2SD is only links/moves an app after it has been successfully installed.
Is there a way to install this "directly" to the sdext2 partition, or perhaps link the /data/local/tmp to the sdcard?