Mounting External Drive with Partitions - Fire TV Q&A, Help & Troubleshooting

Hi all,
I've been trying to find a way to mount my external hard drive to the FireTV to be able to access all the partitions. The drive is Fat32 so the FireTV reads it but only mounts 1 partition. I need a way to mount all the partitions. I know StickMount would work but that requires root which I can do but since DirecTV Now doesn't work with root I disable it. Sometimes I can bring root back sometimes I can't which requires so recovery action. Does anyone know a way, or tool, or even a boot script (since I can have root at boot) to mount all the partitions? Any help is appreciated.
Thanks,
BlueKalel

Related

Using SDCARD as /data

I have a problem with my phone.
I believe that the internal partitions are messed up.
I have tried a couple of guides to fix this but no luck. I get "error formatting /data!" on recovery. I also tried using the formatting tools from adb shell (e2fsck, gparted).
The main problem is that when i restart my phone the /data partition gets wiped, and the phone reboots in blank, no apps no setting (some of them remain).
I wonder if i can solve this by setting my sd-card to be the new /data. I doesn't matter if i have to leave the sd-card on all the time. i mainly use this phone for developing apps.
Thanks.:good:
Felivel said:
I have a problem with my phone.
I believe that the internal partitions are messed up.
I have tried a couple of guides to fix this but no luck. I get "error formatting /data!" on recovery. I also tried using the formatting tools from adb shell (e2fsck, gparted).
The main problem is that when i restart my phone the /data partition gets wiped, and the phone reboots in blank, no apps no setting (some of them remain).
I wonder if i can solve this by setting my sd-card to be the new /data. I doesn't matter if i have to leave the sd-card on all the time. i mainly use this phone for developing apps.
Thanks.:good:
Click to expand...
Click to collapse
It could probably be done if you could get the sdcard to mount at boot, not sure if thats possible. You would need to create a flashable much like the ext4 mod, that edits the init.inc.rc file to mount the sdcard and /data to it. You would want to partition your sdcard with an ext3 or ext4 partition and use that for data.
Yes it can be done. That's how boot manager works, by modifying the ramdisk to load images from sdcard or emmc instead of the partition. I think I have an idea on how to make your request work.
Edit: If you feel like trying a project, what needs to be done is create a file data.img and mount it as loopback using busybox (ROM needs a working busybox).
Then the boot.img needs to be updated replacing the mount /data entry in init.inc.rc with the location of the loopback device and a loopback setup prior to this. The data.img created needs to be formatted ext3 or ext4. I know it's not too detailed but rather just a summary.

Can't access encrypted phone - no keyboard!

Hi,
I have a GS3 with a rooted stock ROM and decided to encrypt my phone. Upon rebooting, the phone asked for my password, but there's no keyboard on the screen! I think it might be because I only have SwiftKey installed, and that's on the encrypted /data partition, not the /system partition. Regardless, I now have an encrypted phone and no way to access it.
I have a nandroid backup of the phone taken right before the encrypting process, but it can't be restored as CWM can't mount /data, /emmc, or /sdcard. Additionally, I forgot to backup the internal SD card which is now encrypted, and can't just flash a new ROM with Odin as I'll lose all my data. :crying:
Is there some way I can flash a keyboard such as the one here onto the phone's /system partition? I know the system partition isn't encrypted because I can mount it in CWM. I was also thinking about manually editing my nandroid backup to replace an expendable app with a keyboard but wanted to ask the experts first.
Thanks in advance!
It lives!
For anybody who Googles this post in the future in need of help, I used CWM to flash the stock keyboard over to /system and all was good from there.
Thanks for returning to post an answer!
It occurs to me you could also likely plug in a USB keyboard. (You would probably need a micro USB to USB female adapter, but it *should* work...?)
Sent from my SPH-L710 using xda premium

[Q] Cannot mount USB flash drive on rooted Fire TV

I just got a FireTV, it's rooted, on the latest pre-rooted 51.1.4.1_514013920
I've tried to mount a few USB flash drives (16-64GB, NTFS or FAT32 formatted) via a USB hub and directly plugged into the USB port on the AFTV. I can't get it to work. I'm using the latest version of StickMount installed from the Google Play Store and also tried adbFire the USB mount option.
StickMount doesn't do anything and if I try to click Mount or Unmount again it says the service is busy.
adbFire shows a /usb/drive1 via SMB but it's empty, it's not the actual flash drive.
How do I troubleshoot this? I must be missing something simple.
hi you could try Busymount: http://forum.xda-developers.com/fire-tv/development/busymount-v1-0-t2920146
which mounts the drives on boot, much better than stickmount and can be customized to your needs.
Uninstall Stickmount first though as i think they conflict.
DEREKTROTTER said:
hi you could try Busymount: http://forum.xda-developers.com/fire-tv/development/busymount-v1-0-t2920146
which mounts the drives on boot, much better than stickmount and can be customized to your needs.
Uninstall Stickmount first though as i think they conflict.
Click to expand...
Click to collapse
Thanks, I'll give that a try. I should also try to see first if I can see the USB flash drive from CWM, it will at least tell me everything is fine from a hardware perspective.
I installed BusyBox via adbFire, is there some other version of BusyBox required? BusyMount says it comes with BusyBox but I'm not sure whether that means it replaces any existing BusyBox or it installs its own version for its own use.
Also, what is the recommended format for external flash drives for best performance, to be writable and to be able to use from CWM to flash new ROMs, etc.? ext4, FAT32? Does it matter?
sirxdroid said:
Also, what is the recommended format for external flash drives for best performance, to be writable and to be able to use from CWM to flash new ROMs, etc.? ext4, FAT32? Does it matter?
Click to expand...
Click to collapse
im not sure what formats work best but it depends on the type of files. Ive always used NTFS for big drives and FAT32 for flash usb.
and i installed it via adbfire also, think that is all u need.

Any way to add "mnt/extSdCard" mount point

There are a few custom programs that i use that create directory's and save files to "mnt/extSdCard" and while every other device I have has that option my nexus 7 2013 is lacking (for obvious reasons)
(I don't mind what 4.4.4 ROM I use OEM or custom as I switch often)
Is there any way I can create that mount point and have it linked to an otg usb drive or even a directory on the internal memory?
Thanks for any info.
I find
USB Mount All
works best, one of the few that also recognise and mount the ext4 filesystem properly, unlike stickmount.

TWRP problems

I'm using TWRP v3.2.1-0 and rooted with Magisk 14.6.
I'm trying to backup system files and can't make it work. When I try to backup to internal storage, I get an error message that says: "Cannot create /data/media/0/TWRP' folder (Operation not permitted)." It doesn't matter what files I try to save or what I have mounted, I always get that error. It appears to be a file permission problem.
So, I tried using a thumb drive with the OTG adapter. When I do that, I'm unable to mount the drive in TWRP. I can mount it when booted into the system, but not in TWRP. In TWRP, selecting USB-OTG as the storage device does nothing.
Does anybody else have this problem or know how to fix it?

Categories

Resources