View Single Post
Old 01-12-2022, 07:37 AM   #1
Renate
Onyx-maniac
Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.Renate ought to be getting tired of karma fortunes by now.
 
Posts: 3,935
Karma: 17500001
Join Date: Feb 2012
Device: Nook NST, Glow2, 3, 4, '21, Kobo Aura2, Poke3, Poke5, Go6
Only 5GB of storage on 32GB Glow21?

I've heard people complain about this and I've scratched my head over what they mean. Finally I did some sleuthing.

There are a few ways to get files onto your Glow (or any device):
  • USB Mass Storage (UMS)
  • Media Transfer Protocol (MTP)
  • Picture Transfer Protocol (PTP)
  • Android Debug Bridge (ADB)
  • File Transfer Protocol (FTP)

B&N put in a Linux loop device:
Code:
# mount
...
/dev/loop0 5232656 68 5232588 1% /mnt/media_rw/spsd
This is backed up by the backing file:
Code:
# stat /storage/emulated/0/.mass/backingFile.img
  File: `/storage/emulated/0/.mass/backingFile.img'
  Size: 5368709120       Blocks: 20600   IO Blocks: 512 regular file
Device: 1ch/28d  Inode: 1627     Links: 1
Access: (660/-rw-rw----)        Uid: (    0/    root)   Gid: ( 1015/sdcard_rw)
This is installed by /system/bin/initial_usb_mass.sh
This file is what gets mounted when you use UMS.
UMS is where the screen says, "Your Nook is connected and you can't do a thing until you disconnect".

So, the point is, don't use UMS to transfer your files. The whole idea is bad. If you transfer to "/sdcard" using any other method you have access to the whole ~28GB. However, I've never gotten MTP to work. Does that work for others? PTP only gives you access to the DCIM and Pictures folders.

I use my own AdbSync.exe (in sig) to sync directories on my desktop to my Android devices.

Edit: Just to double check this all (since I don't have 5GB of books) I copied over 8GB of music to /sdcard.
Code:
C:\>adbsync C:\Music\Albums sdcard/Music/Albums /acsu /s
...
C:\>adb shell du -s /sdcard
10,028,945        /sdcard/

Last edited by Renate; 01-12-2022 at 08:03 AM.
Renate is offline   Reply With Quote