I just re-did my 3 Fire TVs after doing the full bootloader unlock, installing CWM and latest pre-rooted rom. Previously I was just rooted. Anyway this is my procedure that has worked for all 3. I don't mess with the adb key stuff... not sure why you would need it when the install-recovery.sh script is called at boot and not by adb. The mounts will work for both Link2SD (I use the Plus version) and FolderMount. The latest version of Link2SD Plus can now move the obb and external data from the internal fake sdcard to the mounted sdcard1 so you may not need FolderMount anymore unless you want to move a directory like Pictures, Movies, etc.
I have attached my install-recovery.sh file as install-recovery.sh.c (I had to add a .c to the end to get it to attach here).
Note that I use a flash drive with first partition fat32 and second partition ext4. You will need to modify if you don't
have the same partition setup. The umask is necessary to prevent sdcard1 from mounting read only.
Sleep is necessary or mounts don't occur. I am guessing have to wait for other operating system stuff to load.
#mount usb partitions
/system/bin/sleep 10 # necessary sleep before mounting
/system/bin/mount -t ext4 /dev/block/sda2 /data/sdext2
/system/bin/mount -t vfat -o umask=0000 /dev/block/sda1 /storage/sdcard1
Procedure to install:
First download install-recovery.sh.c and modify if necessary for your partitions.
Next: adb connect <your firetv ipaddress>
Next: adb push install-recovery.sh.c /sdcard/install-recovery.sh
Next: adb shell
Next: su (not needed if fully unlocked bootloader and already have the # promt)
Next: mkdir /data/sdext2
Next: mount -o rw,remount /system
Next: cp /sdcard/install-recovery.sh /etc
Next: chmod 777 /etc/install-recovery.sh
Next reboot the FireTV. '
After reboot you can adb shell into the box and use "df" command to see that they are mounted correctly.
I believe I included all my steps... but always possible I forgot one thing. Let me know if you have any problems.
*** Standard disclaimers apply. Not responsible for any harm to your Fire TV, life, etc. ***
Last edited by tselling; 28th February 2015 at 04:10 PM.