0

I have the "Insufficient storage" bug on my Moto G X1032. This answer fixes it with the terminal emulator app, which i can't install. They recommend performing the following commands in adb if that's the case. These commands aren't working, so i assume ADB uses different equivalents. Hopefully you can translate:

"After browsing around, I found out that the cache folder (that I assume used by the market) is using small partition (around 20mb in my case). So to solve this we need to change it to bigger partition.

You gonna need Android Terminal Simulator or equivalent terminal app. This will also require your Android rooted."

su                                    // Root permission request will be shown: you need to approve it. 
cd /
umount /cache
mount -o rw,remount -t rootfs rootfs  // To set the folder access to rw – read and write
rmdir /cache                          // Delete cache folder. I'm personally using root explorer to do point 5-6.
mkdir /sdcard/cache 
ln -s /sdcard/cache /cache            // To link cache folder to /sdcard/cache – which should have bigger partition size

(Text next to // indicates a comment above. Text before // is the command to be used.)

  • You can use all these commands, if you run adb shell before you enter them. – GiantTree Sep 15 '15 at 15:13
  • rmdir /cache returns device or resource busy. – Erlja Jkdf. Sep 15 '15 at 15:38
  • Hmmm, I never had such an issue. Probably some process is accessing the folder constantly. Remember that /cache is a link to a device and not a regular folder. – GiantTree Sep 15 '15 at 15:52
  • I stopped every process i could, but still nothing. – Erlja Jkdf. Sep 15 '15 at 16:15
  • 1
    You probably cannot do that with the device "fully booted up". Try booting into recovery mode and see if the device is detected by ADB then (not all recoveries do support it). – Izzy Sep 15 '15 at 17:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.