Skip to content

Instantly share code, notes, and snippets.

@miguelmota
Last active March 20, 2023 19:55
Show Gist options
  • Save miguelmota/9b4432b6a0767ea8f92f9f06387f6c93 to your computer and use it in GitHub Desktop.
Save miguelmota/9b4432b6a0767ea8f92f9f06387f6c93 to your computer and use it in GitHub Desktop.
Fire TV Stick 4K use USB drive as storage
# install adb shell apk using downloader
# open adb shell
# list usb drivers and their ids
$ sm list-disks
disk:8,0
# partiion all of usb to be used as internal storage
$ sm partition disk:8,0 private
# alternatively, allocate 50% to be used an internal storage
# $ sm partition disk:8,0 mixed 50
# list mounted usb drive
$ mount | grep expand
/dev/block/dm-2 on /mnt/expand/becae80cd-fd2c-45bd-9200-8585e9a500c2 type ext4
(rw,dirsync,seclabel,nosuid,nodeev,noatime,block_validity,delalloc,barrier,user_xattr)
# list applications
$ pm list packages | grep netflix
package:com.netflix.ninja
# move application to usb drive
$ pm move-package com.netflix.ninja becae80cd-fd2c-45bd-9200-8585e9a500c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment