Hi all,
I rooted my fire tv. i downgrade firmware and installed CWM, install rbox bootloader, then upgrade pre-rooted firmware by rbox. Now when i check under setting --> system -> about i see 3.61gb free space from 5.49gb available space. I don't have a lot app installed in my rooted fire tv so i didnt think what i have installed would taken up 2gb. Here is what i have installed.
Google play store, kodi, llama, es file explore, busybee box, supersu, chrome, firefox and the whatever was required to gain root access, upgrade and downgrading firmware and whatever app is pre-installed from pre-rooted firmware.
Is there way to check which apps and files are taking up the most space and how do you free up space?
Also, does this sound right that only 3.59gb is left. At one point during my root process when i was pushing update.zip file thru adb to downgrade firmware, it took a very long so i exit out of adb (i simply click on "x" bar to close the connection) and started again but i am not sure maybe i installed update.zip file 2x. How do i check? How do ensure i don't have any unnecessary file on fire tv internal drive.
Thank you
I have 3 FireTVs, all rooted and they have between 3.0G to 3.4G free space so I say your free space is within reasonable range
lowbee said:
I have 3 FireTVs, all rooted and they have between 3.0G to 3.4G free space so I say your free space is within reasonable range
Click to expand...
Click to collapse
hi thanks for posting back. Makes me feel better but still out of 8gb user only has 3.5gb, not ideal. i wonder where did the 5gb go.
I am curious to hear from others to see how they cleaned up space, if there are any methods.
I'd have to say kodi might be the culprit taking a lot of space with excessive data storage.
Anything similar to xbmc can be a resource hog for storage.
ashsha7877 said:
hi thanks for posting back. Makes me feel better but still out of 8gb user only has 3.5gb, not ideal. i wonder where did the 5gb go.
I am curious to hear from others to see how they cleaned up space, if there are any methods.
Click to expand...
Click to collapse
You don't get 8GB of usable space. I think it is only about 5GB. So you are using about 1.5 GB for apps. Not too bad if you are running Kodi.
An easy way to check where files are taking up space is to use the "sdcard analyze" function in esfile explorer. Its under the tools section. Also, with esfile explorer, you can push files from your phone to the firetv pretty easy too. Select whatever file you want to send on your phone, under options choose send, and make sure esfile explorer is open on the firetv too. The firetv prompts you for where you want to save the file.
ashsha7877 said:
Hi all,
I rooted my fire tv. i downgrade firmware and installed CWM, install rbox bootloader, then upgrade pre-rooted firmware by rbox. Now when i check under setting --> system -> about i see 3.61gb free space from 5.49gb available space. I don't have a lot app installed in my rooted fire tv so i didnt think what i have installed would taken up 2gb. Here is what i have installed.
Google play store, kodi, llama, es file explore, busybee box, supersu, chrome, firefox and the whatever was required to gain root access, upgrade and downgrading firmware and whatever app is pre-installed from pre-rooted firmware.
Is there way to check which apps and files are taking up the most space and how do you free up space?
Also, does this sound right that only 3.59gb is left. At one point during my root process when i was pushing update.zip file thru adb to downgrade firmware, it took a very long so i exit out of adb (i simply click on "x" bar to close the connection) and started again but i am not sure maybe i installed update.zip file 2x. How do i check? How do ensure i don't have any unnecessary file on fire tv internal drive.
Thank you
Click to expand...
Click to collapse
You can free up quite a bit by pushing these advanced settings to
<advancedsettings>
<pathsubstitution>
<substitute>
<from>/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/Thumbnails/</from>
<to>/storage/usb/drive1/xbmcthumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
You need to amend to kodi instread of xbmc if you're running 14.0 or higher AND my external is mounted by adbFire mount drives persistent. If you're using stickmount it would be sda (forget exact path?)
Once pushed and confirmed working, all your thumbnails will dissapear. Just go into userdata/database and delete textures13. Then restart xbmc.
Afterwards I also delete the thumbnails folder on internal. Oh yes...make sure you have a folder on external named xbmcthumbnails.
This should immediately clear about 600 mb and keep in mind you typically add more to your library so the amount it saves long term could be huge.
KLit75 said:
You can free up quite a bit by pushing these advanced settings to
<advancedsettings>
<pathsubstitution>
<substitute>
<from>/storage/emulated/0/Android/data/org.xbmc.xbmc/files/.xbmc/userdata/Thumbnails/</from>
<to>/storage/usb/drive1/xbmcthumbnails/</to>
</substitute>
</pathsubstitution>
</advancedsettings>
You need to amend to kodi instread of xbmc if you're running 14.0 or higher AND my external is mounted by adbFire mount drives persistent. If you're using stickmount it would be sda (forget exact path?)
Once pushed and confirmed working, all your thumbnails will dissapear. Just go into userdata/database and delete textures13. Then restart xbmc.
Afterwards I also delete the thumbnails folder on internal. Oh yes...make sure you have a folder on external named xbmcthumbnails.
This should immediately clear about 600 mb and keep in mind you typically add more to your library so the amount it saves long term could be huge.
Click to expand...
Click to collapse
Is that going to make loading thumbnails A LOT SLOWER??
Neo3D said:
Is that going to make loading thumbnails A LOT SLOWER??
Click to expand...
Click to collapse
That's actually a good question. I've been using these so long I don't have a memory of exactly how fast they loaded before. I'll say this--they populate fast enough for me to keep using them. I use usb 3.0. I think it's essential based on how big my library is and the fact I use aeon nox with additional fanart.
But, I'd be very interested in seeing if you or someone else sees a significant lag in load times. You can always delete the xml if you find it slow.
Just an fyi I got these from an xda member awhile back. Since then lots of people have tried them and so far I haven't hear complaints, but I'd still like feedback from someone who can compare.
Another suggestion is to pre-scrape all the necessary support files with a media manager of your choice (e.g. fanart, icon, content info, etc.) and switch to local info only on the scraper for the collection. It depends also on how you have your collection organized from a folder perspective.
I found this to be fastest and lightest on local storage (obviously because the "library" is already built) especially when you have a household of streamers. You have all the content centralized on your NAS already. It's silly for streaming box to build the library and re-download the content each time from the Internet (especially if your like me as a perpetual media player tinkerer).
Edit: For clarity, I mean a "Library manager." Look on the Kodi wiki for links to various clients on your preferred OS.
t3ch42 said:
An easy way to check where files are taking up space is to use the "sdcard analyze" function in esfile explorer. Its under the tools section. Also, with esfile explorer, you can push files from your phone to the firetv pretty easy too. Select whatever file you want to send on your phone, under options choose send, and make sure esfile explorer is open on the firetv too. The firetv prompts you for where you want to save the file.
Click to expand...
Click to collapse
Good to know this. Are there any other setup steps required to be able to do this? Or do you just have es file explorer installed and opened on both phone and FTV?
RuKuS4Life said:
Good to know this. Are there any other setup steps required to be able to do this? Or do you just have es file explorer installed and opened on both phone and FTV?
Click to expand...
Click to collapse
That's it. As long as the two are on the aame network, it should pick up the firetv as a target.
To clarify, on the phone, long click the file to send, and select send. The firetv ip adress will show up and allow you to send the file. When the prompt shows up on the firetv(provided that esfile explorer is the active and open app), accept the transfer and select tge location to store the transferred file.
t3ch42 said:
That's it. As long as the two are on the aame network, it should pick up the firetv as a target.
To clarify, on the phone, long click the file to send, and select send. The firetv ip adress will show up and allow you to send the file. When the prompt shows up on the firetv(provided that esfile explorer is the active and open app), accept the transfer and select tge location to store the transferred file.
Click to expand...
Click to collapse
I got sdmaid. It recovered about 1.5gb. Get the pro version from google play.
Related
Can anyone please help me to clean up some of the storage on the FTV as I only have 0.5 Gb free from the available 5.5 ?
I tried using ES file explorer's SD card analyst tool but i can only see 1.5 Gb ocupied. I don't know how to clean up the rest to 5.5 gb.
I think the cache is not user available on thsi device.
adionita said:
Can anyone please help me to clean up some of the storage on the FTV as I only have 0.5 Gb free from the available 5.5 ?
I tried using ES file explorer's SD card analyst tool but i can only see 1.5 Gb ocupied. I don't know how to clean up the rest to 5.5 gb.
I think the cache is not user available on thsi device.
Click to expand...
Click to collapse
You have XBMC on there? The thumbnail directory can get large with a big library.
You can delete it, but unless you find do an alternate location, it's going to rebuild. You can find the thumbnail location on the XBMC wiki. There's also a thread here about changing the advancedsettings.xml to store them on a USB mounted share. You can also store them on a central server which is what I do.
KarlP said:
You have XBMC on there? The thumbnail directory can get large with a big library.
You can delete it, but unless you find do an alternate location, it's going to rebuild. You can find the thumbnail location on the XBMC wiki. There's also a thread here about changing the advancedsettings.xml to store them on a USB mounted share. You can also store them on a central server which is what I do.
Click to expand...
Click to collapse
i deleted the thumbnail directory but there is still another 3gb that i cannot find using es file explorer. I think the FTV builds it's cache somewhere else than the sdcard and i cannot seem to find it.
adionita said:
i deleted the thumbnail directory but there is still another 3gb that i cannot find using es file explorer. I think the FTV builds it's cache somewhere else than the sdcard and i cannot seem to find it.
Click to expand...
Click to collapse
DIskUsage is a simple little app that works well on the Fire TV. Sideload it and use it to determine which apps are using all your storage. If you have apps with a lot of storage under "data", you can move that to an externally attached USB drive if you're rooted.
adionita said:
Can anyone please help me to clean up some of the storage on the FTV as I only have 0.5 Gb free from the available 5.5 ?
I tried using ES file explorer's SD card analyst tool but i can only see 1.5 Gb ocupied. I don't know how to clean up the rest to 5.5 gb.
I think the cache is not user available on thsi device.
Click to expand...
Click to collapse
check (not sure of exact path but something like) sdcard0/.android/.estrong......./tmp where it caches sideloaded files if you installed apps using es explorer. (or wipe cache in es explorer maybe)
have you gone into settings in the Fire TV Home screen and looked at each applications cache? Photos had 375MB when I looked and I don't even use photos (probably for the screensaver I guess..)
fixed finally
fireTVnews.com said:
DIskUsage is a simple little app that works well on the Fire TV. Sideload it and use it to determine which apps are using all your storage. If you have apps with a lot of storage under "data", you can move that to an externally attached USB drive if you're rooted.
Click to expand...
Click to collapse
Big thanks for the tip. I got diskusage and opened it. I have over 600MB of ace stream files visible in ES file explorer. After updating ES, I was able to right click on those files and delete them. I check Kodi in system and now back to 1.5G free space. Thanks again, as all the youtubes and other suggestions about thumbnails, cache, etc.... are a total waste of time, they will not solve the problem.
The firetv has about 1 gig of remaining space. Prior to the earlier rooted version I had about 4 gigs of remaining space. Is there a way or a guide to clear out the holding copies of roms on the firetv? I've tried to keep a note of the locations but cannot seem to find the files to delete. Not sure as well.
Here are the paths. I presume the recovery.img and the bootmenu.img is required for rbox's boot menu. I couldn't find rom.zip
adb push update.zip /cache
/data/local/tmp/aftv-unlock unlock
adb push recovery.img /sdcard/
adb push bootmenu.img /sdcard/
adb push rom.zip /sdcard/
space
Has anyone tried to clean up the extracted roms etc to make up some room on the ftv? The guides walk you through the downgrade and upgrade process but don't really touch on what to remove after the process is completed.
any guidance is really appreciated.
Steps to delete the files you push to sdcard.
1. adb shell
2. su
3. rm -f /sdcard/filename
great. have you done this? Will it break anything like the rbox's boot menu? does it recover any space? sorry for the questions.
navigates said:
great. have you done this? Will it break anything like the rbox's boot menu? does it recover any space? sorry for the questions.
Click to expand...
Click to collapse
With the Bootmenu installed, can I run the following commands to make space? Will I brick my box as I have the boot menu?
Run the command: adb shell
Run the command: su
Run the command: rm -f /cache/*.bin
Run the command: rm -f /cache/*.zip
Run the command: exit
Run the command (yes, again): exit
Hi, I used SD Maid app ( https://play.google.com/store/apps/details?id=eu.thedarken.sdm) and I paid for the SD Maid unlocker pro was on sale cheap price.
They cleaned and free 2.4gb whole system and apps including any dead files or directory. It required to have root.
chrootz said:
Hi, I used SD Maid app ( https://play.google.com/store/apps/details?id=eu.thedarken.sdm) and I paid for the SD Maid unlocker pro was on sale cheap price.
They cleaned and free 2.4gb whole system and apps including any dead files or directory. It required to have root.
Click to expand...
Click to collapse
I too used the SD maid app. I found my old FW files under : /mnt/shell/emulated and there they were. Thanks for the app suggestion...
I bought that app about years ago, I totally forgot about it!
chrootz said:
Hi, I used SD Maid app ( https://play.google.com/store/apps/details?id=eu.thedarken.sdm) and I paid for the SD Maid unlocker pro was on sale cheap price.
They cleaned and free 2.4gb whole system and apps including any dead files or directory. It required to have root.
Click to expand...
Click to collapse
This App / Post should become a sticky. I purchased the pro version from google play as well. its just $2.49. Here are my results.
Initial: 1.46GB Remaining
After Cleaning: 2.67GB Remaining
After starting SPMC and rebooting. 2.62GB Remaining. (SPMC Starts as if its just installed but all settings are intact)
Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks Thanks
People here are helpful... Wish I could thank you enough.
Your welcome.
I had like 658mb in the amazon pictures folder.... Don't know why
mroneeyedboh said:
I had like 658mb in the amazon pictures folder.... Don't know why
Click to expand...
Click to collapse
I wonder if those are the screen saver photos?
Sent from my SCH-I545 using Tapatalk
collindv said:
I wonder if those are the screen saver photos?
Sent from my SCH-I545 using Tapatalk
Click to expand...
Click to collapse
Another TIP to keep the space down is in XBMC, uncheck the option to cache movie thumbnails. Can't remember what is the exact option. I use SPMC 13.3.2 as the variant of xbmc.
Thanks. I don't know what was removed from that amazon photos folder
This app is amazing. It looks like the bulk of the savings is from compressing the various databases.
Hye guys also, you can use this to DISABLE apps that are starting in the background as well. I found a few apps that were starting for no reason
Hi all,
I rooted my fire tv. i downgrade firmware and installed CWM, install rbox bootloader, then upgrade pre-rooted firmware by rbox. Now when i check under setting --> system -> about i see 3.61gb free space from 5.49gb available space. I don't have a lot app installed in my rooted fire tv so i didnt think what i have installed would taken up 2gb. Here is what i have installed.
Google play store, kodi, llama, es file explore, busybee box, supersu, chrome, firefox and the whatever was required to gain root access, upgrade and downgrading firmware and whatever app is pre-installed from pre-rooted firmware.
Is there way to check which apps and files are taking up the most space and how do you free up space?
Also, does this sound right that only 3.59gb is left. At one point during my root process when i was pushing update.zip file thru adb to downgrade firmware, it took a very long so i exit out of adb (i simply click on "x" bar to close the connection) and started again but i am not sure maybe i installed update.zip file 2x. How do i check? How do ensure i don't have any unnecessary file on fire tv internal drive.
Do you thinking using SD maid app will clean up any space?
Thank you
ashsha7877 said:
Hi all,
I rooted my fire tv. i downgrade firmware and installed CWM, install rbox bootloader, then upgrade pre-rooted firmware by rbox. Now when i check under setting --> system -> about i see 3.61gb free space from 5.49gb available space. I don't have a lot app installed in my rooted fire tv so i didnt think what i have installed would taken up 2gb. Here is what i have installed.
Google play store, kodi, llama, es file explore, busybee box, supersu, chrome, firefox and the whatever was required to gain root access, upgrade and downgrading firmware and whatever app is pre-installed from pre-rooted firmware.
Is there way to check which apps and files are taking up the most space and how do you free up space?
Also, does this sound right that only 3.59gb is left. At one point during my root process when i was pushing update.zip file thru adb to downgrade firmware, it took a very long so i exit out of adb (i simply click on "x" bar to close the connection) and started again but i am not sure maybe i installed update.zip file 2x. How do i check? How do ensure i don't have any unnecessary file on fire tv internal drive.
Do you thinking using SD maid app will clean up any space?
Thank you
Click to expand...
Click to collapse
Or just use esfile explorer and use the sdcard analyzer. It's not too hard to figure out where the large files are. If you've got more than one firmware file, that's close to 1gb with only two files. If you used cwm to back up your firetv, that's another 1.1 or 1.2gb. What i do is back it up, and then use the es file explorer app to push the backup to a network samba share.
After that, the backup can be deleted from the firetv.
Es file explorer is free too.
I hacked up a script to mount a single Samba/CIFS share using adb shell directly on the firetv. This can be executed using any script manager (I use Rom Toolbox Pro's scripter) and if configured by your script manager it will in fact execute and mount the share on boot. If you have more than one share just use more than one copy of this script or feel free to hack it up yourself to extend it I am pretty much done with it at the moment but wanted to share.
Requires root and a script manager that can run scripts as root - also I have busybox installed on my firetv so that may be helpful as well.
https://github.com/mattgyver83/pyro
mattgyver83 said:
I hacked up a script to mount a single Samba/CIFS share using adb shell directly on the firetv. This can be executed using any script manager (I use Rom Toolbox Pro's scripter) and if configured by your script manager it will in fact execute and mount the share on boot.
Click to expand...
Click to collapse
Awesome! Any chance that games/apps could be run off of the mounted SMB share?
What is the purpose of this? Can you not just use an app like ES File Explorer or another SMB app to browse to a shared LAN folder?
Thanks.
tdfsu said:
What is the purpose of this? Can you not just use an app like ES File Explorer or another SMB app to browse to a shared LAN folder?
Thanks.
Click to expand...
Click to collapse
Unfortunately no. ES File Explorer lets you browse network shares but it does not let you mount them and this means that only ES File Explorer can see the contents no other application can see those files and that problem is two fold, not only is that because its not a feature of ES File Explorer but its because of the security implementation of Android even if they tryed to implement it. The purpose of this script is to mount the network share to a local folder on the filesystem so that within any application you can browse to that directory and see those network files so they can be used, this is GREAT if you have a device that has a small storage footprint like the FireTV and you are already sharing out files on your network.
onlinespending said:
Awesome! Any chance that games/apps could be run off of the mounted SMB share?
Click to expand...
Click to collapse
Sorry I thought I had already replied to this a few days ago but apparently I didnt hit submit or something. Yes, that is exactly what this script is for and for that use case it works very well.
Edit: Sorry, I incorrectly answered your question. You can't run or install android applications over the network with this but you can perhaps store data on your network and load it within the application. An example would be like installing an emulator on your firetv and browsing to a ROM share on your network and loading the rom over the LAN. It would be pretty complicated to execute games or applications and likely troublesome.
I think I get the basic idea but I have questions...
1. Will this make it possible for aftv to be seen in workgroup by my other devices or at least show up if added as a network share?(remembered I don't think android can be in workgroup)
2. If your aftv's external drive is already mounted with adbFire mount samba drives script, are there any potential conflicts? Busybox is installed through adbFire.
This is the last piece for me. Every xbmc device can connect to the others, all connect to server, but my 2 aftvs can't share local files over smb with any other devices or each other.
KLit75 said:
I think I get the basic idea but I have questions...
1. Will this make it possible for aftv to be seen in workgroup by my other devices or at least show up if added as a network share?(remembered I don't think android can be in workgroup).
2. If your aftv's external drive is already mounted with adbFire mount samba drives script, are there any potential conflicts? Busybox is installed through adbFire.
This is the last piece for me. Every xbmc device can connect to the others, all connect to server, but my 2 aftvs can't share local files over smb with any other devices or each other.
Click to expand...
Click to collapse
To answer your questions;
1. No, this doesn't implement samba which is what would make it seen on your network. The way that I personally achieve this on my firetv is by sideloading and running "Samba FileSharing", that will do exactly what your trying todo there.
2. Until you said that I had no idea that adbFire even offered this kind of feature and have never used it. I would have to play with it but assuming its doing things the same way then unless your using the same mountpoint then no there should be no issues.
edit: The adbFire thing intrigued me so I took another look at it - please correct me if I am wrong though. From what I gather it does not actually mount a network share, what it does is start a samba server to share out your attached USB drive as a network share. This is very different than what my script does as it just connects network shares to your fireTV locally. My answers remain the same then, it shouldn't hurt anything. What I think you are looking for is probably more along the lines of a Samba Server running on the FireTV and you would only require my script if you need the other fireTVs to be able to see the shared out files as if they resided locally on it for apps to use.
Hope that helps
mattgyver83 said:
To answer your questions;
1. No, this doesn't implement samba which is what would make it seen on your network. The way that I personally achieve this on my firetv is by sideloading and running "Samba FileSharing", that will do exactly what your trying todo there.
2. Until you said that I had no idea that adbFire even offered this kind of feature and have never used it. I would have to play with it but assuming its doing things the same way then unless your using the same mountpoint then no there should be no issues.
edit: The adbFire thing intrigued me so I took another look at it - please correct me if I am wrong though. From what I gather it does not actually mount a network share, what it does is start a samba server to share out your attached USB drive as a network share. This is very different than what my script does as it just connects network shares to your fireTV locally. My answers remain the same then, it shouldn't hurt anything. What I think you are looking for is probably more along the lines of a Samba Server running on the FireTV and you would only require my script if you need the other fireTVs to be able to see the shared out files as if they resided locally on it for apps to use.
Hope that helps
Click to expand...
Click to collapse
Thanks. I wish I could speak a little more confidently about it it but at this time I've got more to learn.
Yes. That's exactly what I want--aftv to act as a server just like my computers do. I didn't fully understand that function on adbfire so I did install 3rd party smb software on aftv. There was a conflict. I needed to uninstall the software. Now I can transfer files over sftp, I can ssh to aftv but my Mac won't connect to the smb://adbfire/USB/ I tried cifs as well. Adbfire's script DOES support this but I can't get it working with Mac. Normally I'd say user error but I'm not the only one who can't do it. And it doesn't work on the new aftv I just bought so definetly not something I messed up.
I hesitate just because adbfire uses the same binaries as one of the popular smb softwares on play store. So I don't want to potentially break things trying to make it better. But this would be a great feature to get working. I know, as you said, your script doesn't do that. But if I get samba working as it should your script might be useful.
Sorry. I'm probably just filling this with words that don't all apply. Apparently I could benefit from what your offering but not until I get samba working correctly. And I'd be appreciative for any info to get that going but it MIGHT be a little off topic here. Thanks a lot for the quick detailed response!
Hey no problems glad I could help get you sorted out, I'll PM you with some more specific information that I think you are after that should get you where you want to be.
mattgyver83 said:
Sorry I thought I had already replied to this a few days ago but apparently I didnt hit submit or something. Yes, that is exactly what this script is for and for that use case it works very well.
Click to expand...
Click to collapse
Perfect. Any chance you can share how you actually install Fire TV apps to the SMB share? This would be great given the limited internal storage
Any chance you can share how you actually install Fire TV apps to the SMB share?
Click to expand...
Click to collapse
I don't use it in that way I just use it for accessing my current network shares from within applications on the fireTV, that is about all this script is intended for. To be honest I don't even think the way that the script is mounting the shares and in order for it to work would have to be implemented at the lower android levels so it could even properly boot that way. Its for the best though, networks generally are not as reliable as direct disk IO so I would suggest sticking to using internal storage, possibly checking out one of the external USB methods, and then just using your shares to house large data so you can basically make the most of all of your storage along the way. Hope this helps.
Edit: I just wanted to add that I looked back at our conversation and I see how I made it seem that might be possible. Sorry I clearly did not answer your question correctly for some reason what I read and what you said were two very different things, I was of the mindset that you were asking about loading ROMs persay over the network from within an emulation app and I have no idea why I thought thats what you were asking. That is not what your asking, no this wont load android applications over the network - Ill edit that post to make that distinction clearer.
mattgyver83 said:
I hacked up a script to mount a single Samba/CIFS share using adb shell directly on the firetv. This can be executed using any script manager (I use Rom Toolbox Pro's scripter) and if configured by your script manager it will in fact execute and mount the share on boot. If you have more than one share just use more than one copy of this script or feel free to hack it up yourself to extend it I am pretty much done with it at the moment but wanted to share.
Requires root and a script manager that can run scripts as root - also I have busybox installed on my firetv so that may be helpful as well.
https://github.com/mattgyver83/pyro
Click to expand...
Click to collapse
Works for me, thanks
Hi Mr Richard Dean Anderson
Magyver or O'neil?
..does this ciffs method depend on having fire tv i.e. a fire tv OS/kernel
What i mean is, can this script, potentially, be used, to work on "any" android, or does this only work for fire tv specifically?
banderos101 said:
Hi Mr Richard Dean Anderson
Magyver or O'neil?
..does this ciffs method depend on having fire tv i.e. a fire tv OS/kernel
What i mean is, can this script, potentially, be used, to work on "any" android, or does this only work for fire tv specifically?
Click to expand...
Click to collapse
Looks like it should work for android where you can enable adb, must have root and busybox.
Thank you for the script. Got it working using your example, but with one caveat I can't figure out.
So here's what I was trying to accomplish using this. I have a large library in Kodi so I was going to move all the data to my NAS and point Kodi to it. I had originally moved everything to a usb disk but just preferred the NAS route. The share mounts to /mnt/obb/myfiles and if I'm logged in as 'su' I can see the directory inside myfiles. Problem is anything stored inside myfiles isn't viewable outside of 'su'. How do I setup the share to be viewable by the shell acct?
Hi guys,
I've had some failed attempts at installing Kodi via adbFire, and through the process, I noticed the space on my AFTV decreased after every failed attempt. I've finally been able to install Kodi successfully, but I would like to get back that 400MB or so of space that I lost. Are there any apps that I should know about that makes this process easy? Thanks all!
tektronik said:
Hi guys,
I've had some failed attempts at installing Kodi via adbFire, and through the process, I noticed the space on my AFTV decreased after every failed attempt. I've finally been able to install Kodi successfully, but I would like to get back that 400MB or so of space that I lost. Are there any apps that I should know about that makes this process easy? Thanks all!
Click to expand...
Click to collapse
That's odd that it failed yet data obviously something made its way there...I have es file explorer but you could use anything file manager I think. Go to sd card/android/data then see if there's more than 1 xbmc/kodi folders. Maybe you tried installing helix 14.0 and Gotham? But it shouldn't add up to 400mb I don't think???
There are many file cleaning programs. I use sd maid pro but you can find some free apks on playstore.
I use a combo of DU Speed Booster and SD Maid Pro. Together they seem to work the best. I do a cleaning with DU Speed Booster then follow with a cleaning of SD Maid Pro. For some reason they both do not clean the same stuff so regardless of which one I use first, there is still things that are left that can be cleaned by the other app. I always liked SD Maid Pro the best, til I used DU Speed Booster, and in my opinion DU Speed Booster is by bar the best cleaning tool for android.
I use a file manager app to maintain my space and be able to navigate through all my folders, etc. etc. FX File Explorer is awesome for this task. The app does not work with the remote, so you will need to attach a mouse to your Fire TV. Once you sideload and install the app, run it and click on Cleaning Tools. It will then show you what folders are using up most of the storage and its percentage. You can then navigate accordingly and delete what you need. I'm rooted so I do not remember if you also need to be rooted in order to use the cleaning feature. I will include both, the FX.apk and the root permissions apk just in case.
I took screen shots of my Fire TV storage so that you can see how it works. At the moment 98% of my storage being used is located in the Android folder of my /sdcard. If you go into the sub-folders, then you find out that the XBMC folder is using of that storage. Dig in deeper and then you see that the addons and userdata folders of XBMC are the ones using up that storage. (This is normal though)
Here are both links I mentioned above:
If memory serves me right, I'm almost positive you will need to install both. (You will need to be rooted for the 2nd apk)
FX.apk
https://www.dropbox.com/s/u17hn8v5s4ceq1q/FX-root.apk?dl=0
FX-root.apk
https://www.dropbox.com/s/u17hn8v5s4ceq1q/FX-root.apk?dl=0
FireTV Box Gen 1
S/W: 51.1.6.3 Rooted
About a week ago, I noticed I only had about 1.56 GB of space left on my box. I assumed Kodi was the culprit, so I removed much of Kodi's data, thumbnails, addons, etc. I got Kodi down to around 600 MB, but realized the extra space gained wasn't much, putting the storage capacity at 1.63 GB. So I removed a couple of apps leaving only 4 or 5 that together may take up 50 MB. I don't use anything on the Firetv but Kodi, so I can't figure out what is eating up all my space, and it has gotten worse. It now shows I only have 873 MB of 5.49 GB, yet Kodi is only using about 750 MB.
Running ES File Explorer's SD Card Analyzer shows that under the heading: Others - 3.73 GB is used. The problem is it will not let me view what is in it or delete any of it. I would love to know what is consuming all of this space. I tried other apps like, CCleaner, and SD Maid but they didn't even recognize this 3.73 GB of unaccounted data.
Any suggestions as to how to identify where all my storage space is going, and mostly, free it back up? I realize the OS uses some of the storage space, but I don't recall it ever being this much.
Thank you
Modify_inc said:
Any suggestions as to how to identify where all my storage space is going, and mostly, free it back up? I realize the OS uses some of the storage space, but I don't recall it ever being this much.
Click to expand...
Click to collapse
I had a similar issue with my AFTV2 (see my post earlier in this forum). Clearly, the issue is in /data. Go to that directory and run the following as root in a shell: du -h -d 1
This will list the disk usage by directory. The biggest hogs will usually be: data, app, dalvik-cache, and media. Go to each of those directories and check the du. Rinse and repeat. In my case, it was the FTV Launcher (in particular, the file /data/data/com.amazon.tv.launcher/databases/mbcache.db). Yours could be different, but the disk usage will reveal the problem. If it's not obvious, compare the output of du -h -d 1 every 24 hours or so (you could cat it to a file) and you will find the culprit.
retyre said:
I had a similar issue with my AFTV2 (see my post earlier in this forum). Clearly, the issue is in /data. Go to that directory and run the following as root in a shell: du -h -d 1
This will list the disk usage by directory. The biggest hogs will usually be: data, app, dalvik-cache, and media. Go to each of those directories and check the du. Rinse and repeat. In my case, it was the FTV Launcher (in particular, the file /data/data/com.amazon.tv.launcher/databases/mbcache.db). Yours could be different, but the disk usage will reveal the problem. If it's not obvious, compare the output of du -h -d 1 every 24 hours or so (you could cat it to a file) and you will find the culprit.
Click to expand...
Click to collapse
Thank you very much!
The mbcache.db was also my culprit, at 3.11 GB. I deleted it and I now have 3.96 GB of free space. That size just seems ridiculous for a database. Not sure what caused it to get so big, but it had to go.
retyre said:
Go to that directory and run the following as root in a shell: du -h -d
Click to expand...
Click to collapse
I'm not very familiar with FTV yet. Would you share just how to do that? I have an unrooted FTV2/5.2.1.1.
Thank you.
---------- Post added at 06:13 AM ---------- Previous post was at 06:11 AM ----------
Modify_inc said:
Thank you very much!
The mbcache.db was also my culprit, at 3.11 GB. I deleted it and I now have 3.96 GB of free space. That size just seems ridiculous for a database. Not sure what caused it to get so big, but it had to go.
Click to expand...
Click to collapse
Do you know what mbcache.db is created by?
That's so weird. This just started happening to me about a week ago with the same box and software. I also thought it was Kodi so I removed it and started from scratch, but that didn't solve the problem. I usually start with around ~2 GB free, but after watching a movie or show for a while (or sometimes doing nothing at all) the little box would pop up telling me to remove apps because I'm running out of space. It would often take hours for my free space to go back to normal and rebooting the box didn't help.
Thanks for the command, retyre. I'll give it a try next time this happens.
This works. Thanks
erased
Can someone please list step by step how to access and delete the mbcache.db file? Thanks
YOgun27 said:
Can someone please list step by step how to access and delete the mbcache.db file? Thanks
Click to expand...
Click to collapse
This worked for me: https://www.andryou.com/2017/01/04/amazon-fire-tv-fix-low-storage-error/
thanks for asking this question and for the replies. Exactly what I came here looking for!
I successfully deleted the mbcache.db file, and now I can't get most of my apps to work on the Fire TV, even if I use Firestarter. I tried to put the mbcache.db file back, and even tried a factory reset to no avail. Can somebody tell me how to get the Fire TV back to it's previous state, where I can access apps like Amazon Prime Video?
YOgun27 said:
I successfully deleted the mbcache.db file, and now I can't get most of my apps to work on the Fire TV, even if I use Firestarter. I tried to put the mbcache.db file back, and even tried a factory reset to no avail. Can somebody tell me how to get the Fire TV back to it's previous state, where I can access apps like Amazon Prime Video?
Click to expand...
Click to collapse
I upgraded to PreRooted FireOS 5 when I encountered the same problem after deleting some .dB files. Although my problem was only with YouTube.
I had locked my mscache.db back in January using the command chmod 0 mscache.db due to the massive space it was taking up. The Loading...Please wait message on the main page wasn't a big deal since I didn't use any of it.
Well, I finally got around to installing TWRP, which I then installed the pre-release 5.2.1.2_r1 update. It seemed to install without any issues, though I noticed I still had the Loading...Please Wait message, and the menu interface still looked the same as before. It doesn't look anything like the new interface as on the Gen 2 boxes (Isn't it suppose to?) Thinking it may have something to do with the mbcache.db still being locked, I checked the permissions on it and noticed it still had no permissions. Assuming the permissions should be the same as the other databases in the same folder, I typed chmod 660 mbcache.db. I verified it changed and confirmed the permissions matched with the other files in the database folder. I rebooted the box, and yet I still have the same continuous Loading... message, which always eventually says "We are currently unable to contact our servers."
Now that I have the mbcache.db unlocked, should I try reinstalling 5.2.1.2_r1 over itself or does someone have a better idea? Is it even safe to install the same version over itself?
Update: I confirmed the database files are being written to because the timestamps have changed from the previous date of 2017-01-03 to 2017-07-08 (current date).
Thank you
Y314K said:
I upgraded to PreRooted FireOS 5 when I encountered the same problem after deleting some .dB files. Although my problem was only with YouTube.
Click to expand...
Click to collapse
Thanks for the input. Do you know where I can find a guide to upgrade to PreRooted FireOS 5? I can't seem to find it on AFTVnews.
YOgun27 said:
Thanks for the input. Do you know where I can find a guide to upgrade to PreRooted FireOS 5? I can't seem to find it on AFTVnews.
Click to expand...
Click to collapse
Everything I know is based on this guide:
http://www.aftvnews.com/how-to-install-twrp-custom-recovery-on-a-rooted-fire-tv-1/
But I expand about my experience on updating from FireOS 3 to FireOS 5 from the 4th post here:
https://forum.xda-developers.com/fire-tv/help/help-to-unroot-fire-tv-to-original-t3612898
Read the whole guide tread. And don't get started until you know what you are doing. Everybody's starting point is different. So everybody needs to mod the Guide to their situation.
New issue, I've updated and downgraded many times. Now when I try to upgrade to 51.1.6.3 from 51.1.6.2 I get an error message when trying to push the zip file. Here is the log:
[email protected]:/ # adb push /Users/user1/update.zip /sdcard/
cannot stat '/Users/user1/update.zip': No such file or directory
I've searched similar problems, and tried every fix I can think of to no avail. Is it possible to get this zip file in the sdcard directory any other way??
YOgun27 said:
New issue, I've updated and downgraded many times. Now when I try to upgrade to 51.1.6.3 from 51.1.6.2 I get an error message when trying to push the zip file. Here is the log:
[email protected]:/ # adb push /Users/user1/update.zip /sdcard/
cannot stat '/Users/user1/update.zip': No such file or directory
I've searched similar problems, and tried every fix I can think of to no avail. Is it possible to get this zip file in the sdcard directory any other way??
Click to expand...
Click to collapse
I normally just use a Fat32 USB drive with all the files I'll need organized in separate clearly labeled folders.
Y314K said:
I normally just use a Fat32 USB drive with all the files I'll need organized in separate clearly labeled folders.
Click to expand...
Click to collapse
Do you mean put the zip file on a USB drive, which I then plug into the Fire TV? If so, I do I then get to the boot loader screen if the USB drive is occupying where I would plug in the keyboard?
YOgun27 said:
Do you mean put the zip file on a USB drive, which I then plug into the Fire TV? If so, I do I then get to the boot loader screen if the USB drive is occupying where I would plug in the keyboard?
Click to expand...
Click to collapse
I use a powerless USB hub to connect both at the same time.
Y314K said:
I use a powerless USB hub to connect both at the same time.
Click to expand...
Click to collapse
thanks, I've made some progress and was able to use your program to update to 51.1.6.3. I also used the Downloader program to transfer TWRP 3.0.0-7.img. However now, i don't know how to install that without ADB. And when I put in the dd command, it says no such file or directory. Is there any other way to run this command?
Also, i can't seem to get out of [email protected], even if I run "adb shell" command. Could that be the issue?