FireTV as Download Centre - Fire TV General

Since the FireTV is always on it is perfectly suited as a Download centre when combined with an external HDD.
At the moment I'm runnig NZBGet mobile to download media from usenet to my external HDD which is mounted using Stickmount. By installing python for android I managed to get VideoSort to work, which is a script which automatically recognizes the TV-Show/Movie for you and names it accordingly, moves it and cleans up any left-over thrash. Works very well so far.
Combined with some usenet indexing site which build rss feeds (or remote push to NZBGet) for any new episodes/movie releases you can automatically download any new stuff which you might want. Some even import any stuff from your Trakt/IMDB watchlist. As XBMC is running on the same machine it is also easy to let XBMC update the library when any new media is added.
Wonder if anyone else has set up anything like this? I looked into installing transmission through optware on the FireTV but couldn’t install optware as it wouldn’t let me remount. Can install uTorrent and control that from your phone but as far as I saw I couldn’t get it to run a cleanup script after any download is done. Really want it to be all automated so for now I’m only using usenet, which I prefer over torrents anyway.

you have just made my day you have no idea. ive been working on getting a renamer to work on my fire tv i already have a torrent based downloader with a custom rss feed to download but i couldnt for the life of me find one.
as for clean up im not quite sure what you mean but this is my setup
Flud run auto download through rss and updates decently when it downloads when its done it will delete the torrent file and there is an option to move the file when it is done downloading
i have my hdd mounted and all files are moved to the uncatagorized folder but after that i i cant sort them so im gonna try your method but a really good app i found is watchdog it auto updates the xbmc library a lot better then anything else
if theres anything i can help with let me know
thanks again
Also flud will delet old items and if its renamed and moved it should be able to delete the old unnecessary folders
so since videosort requires NZB do you know a way to make it work without it?
P.S. Sorry about my grammar its my worst subject and I was more excited to post then check haha

Dragracekid said:
you have just made my day you have no idea. ive been working on getting a renamer to work on my fire tv i already have a torrent based downloader with a custom rss feed to download but i couldnt for the life of me find one.
as for clean up im not quite sure what you mean but this is my setup
Flud run auto download through rss and updates decently when it downloads when its done it will delete the torrent file and there is an option to move the file when it is done downloading
i have my hdd mounted and all files are moved to the uncatagorized folder but after that i i cant sort them so im gonna try your method but a really good app i found is watchdog it auto updates the xbmc library a lot better then anything else
if theres anything i can help with let me know
thanks again
Also flud will delet old items and if its renamed and moved it should be able to delete the old unnecessary folders
so since videosort requires NZB do you know a way to make it work without it?
P.S. Sorry about my grammar its my worst subject and I was more excited to post then check haha
Click to expand...
Click to collapse
The VideoSort script can be modified to work with torrents as well. It uses some variables passed by NZBGet (Download Directory, NZB-name, etc) to process the download. If there is any torrent client for android which allows you to call a script after a download is done and has some way to pass the download location it should work. I don't know of any torrent client on android that does this though. uTorrent, transmission and more allow for this in their Windows clients.
What I did before I got python working was I shared my external HDD with my Windows network using Samba Filesharing. Then I just had a simple batch file setup which would sort the media by using Filebot.

So there isn't an equivalent sabnzbd suite (sickbeard, couchpotato) for the Android fork like you have on openelec?
Sent from my D6503 using Tapatalk

What if we use tasker to trigger an event when a file or folder gets moved to the UnCategorised folder? The event being a Python script that I found called turbo sort it works great.
Also one more thing I would love to get flexget working to scrape rss feeds have you looked into this at all?
I've made a lot of progress on this and the last day I'm somewhat close to making a thread that explains how to make an automated system but I've got to make sure everything works flawlessly first.
Bad grammar this time is due to voice keyboard lol

nzbget version?
I've been messing with nzbget on gbox and fire for some time now. Now gbox has openelec sabnzbdsuite is perfect. Before that was using nzbget and it worked well, however latest version with extraction would start loading on ftv but just hang. I did manage to get old version to run fine but no auto extract. Which version you using? Did you manage to add unrar pp script?

nadimsoze said:
So there isn't an equivalent sabnzbd suite (sickbeard, couchpotato) for the Android fork like you have on openelec?
Sent from my D6503 using Tapatalk
Click to expand...
Click to collapse
Not that I know off. Think there is a Sickbeard version for android though. I tried to install SABnzbd through optware on my tablet but couldn't get it to work well with python. You should try NZBGet, works well. Also is less resource intensive. If you combine NZBGet with indexer to automatically add stuff and use the NZBGet post processing scripts to order the media you will basically have sabnzbd/sickbeard/couch into 1 app by just running NZBGet combined with an indexer (I use DogNZB).
Dragracekid said:
What if we use tasker to trigger an event when a file or folder gets moved to the UnCategorised folder? The event being a Python script that I found called turbo sort it works great.
Also one more thing I would love to get flexget working to scrape rss feeds have you looked into this at all?
I've made a lot of progress on this and the last day I'm somewhat close to making a thread that explains how to make an automated system but I've got to make sure everything works flawlessly first.
Bad grammar this time is due to voice keyboard lol
Click to expand...
Click to collapse
The script I use, VideoSort, is a evolved version of the Turbo script. Good idea on Tasker to watch for the folder. Think that should work. You can try it yourself, install Python for Android and use it to run the script.
xokol2lvox said:
I've been messing with nzbget on gbox and fire for some time now. Now gbox has openelec sabnzbdsuite is perfect. Before that was using nzbget and it worked well, however latest version with extraction would start loading on ftv but just hang. I did manage to get old version to run fine but no auto extract. Which version you using? Did you manage to add unrar pp script?
Click to expand...
Click to collapse
The NZBGet version I have already has parcheck and unrarring build in. Only need to add post processing scripts if you want to do more. Atm I have 3 running, 1 to rename a specific format and place them in my tvshow/seasons/episodes folder structure. 1 to notify XBMC and 1 to notify me of new downloads on my phone.
Running this version:
https://play.google.com/store/apps/details?id=com.greatlittleapps.nzbm&hl=nl_NL

The NZBGet version I have already has parcheck and unrarring build in. Only need to add post processing scripts if you want to do more. Atm I have 3 running, 1 to rename a specific format and place them in my tvshow/seasons/episodes folder structure. 1 to notify XBMC and 1 to notify me of new downloads on my phone.
Running this version:
https://play.google.com/store/apps/details?id=com.greatlittleapps.nzbm&hl=nl_NL
Click to expand...
Click to collapse
That's odd, that's same version that just hangs of aftv for me. Maybe time to break it out again and start from scratch.

Can't quite get it to work
Hi Nedle,
Thanks for writing this post I've been scratching my head over this for days.
Ive set up sickbeard for android just for TV post processing with rss feeds from probably the same nzb indexer as you, its a bit hit and miss really because some of the extracted files are labelled 2 folders deep with the parent folder showing the show details, another folder with random characters and then finally the video file with more random characters. It seems like sickbeard will only pick up strangely labelled files in the parent folder and not go digging.
It looks like getting videosort to work could hopefully sort this out, I'm not sure how to get python running properly. Ive tried running the r5 version from the link you gave and the python3 version with no success. I've put the videosort zip in the download folder and tried to import it into python but it pops up with an error. Videosort on Nzbget continues to fail in pp.
What process did you go through to get python to work? I'm sure I must be making a rookie error here
Thanks!

Nedle said:
Since the FireTV is always on it is perfectly suited as a Download centre when combined with an external HDD.
At the moment I'm runnig NZBGet mobile to download media from usenet to my external HDD which is mounted using Stickmount.
How did you that setup? Specifically, the nzbget sideloaded on your aftv? Did you sideload google play store and download directly to your machine? Any help/instructions would be helpful...
Click to expand...
Click to collapse

olliewings said:
Hi Nedle,
Thanks for writing this post I've been scratching my head over this for days.
Ive set up sickbeard for android just for TV post processing with rss feeds from probably the same nzb indexer as you, its a bit hit and miss really because some of the extracted files are labelled 2 folders deep with the parent folder showing the show details, another folder with random characters and then finally the video file with more random characters. It seems like sickbeard will only pick up strangely labelled files in the parent folder and not go digging.
It looks like getting videosort to work could hopefully sort this out, I'm not sure how to get python running properly. Ive tried running the r5 version from the link you gave and the python3 version with no success. I've put the videosort zip in the download folder and tried to import it into python but it pops up with an error. Videosort on Nzbget continues to fail in pp.
What process did you go through to get python to work? I'm sure I must be making a rookie error here
Thanks!
Click to expand...
Click to collapse
Sorry for a very late reaction, didn't see this until now. Scripts will have to be executable, think android doesn't allow this on the sdcard. To fix this all my scripts are located on my external hdd. Furthermore you will need to set the path and call the videosort script from a shell script as it won't work directly (atleast I couldn't).
So in my nzbget scripts folder I have a call_VideoSort.sh script, which calls VideoSort.py. The libraries which VideoSort needs (guessit) I copied to /sdcard/com.googlecode.pythonforandroid\extras\python.
call_VideoSort.sh contains all the Nzbget stuff: The options for format, folder structure, etc. Then at the bottom it simply has:
Code:
export PYTHONHOME=/data/data/com.googlecode.pythonforandroid/files/python
export PYTHONPATH=/storage/sdcard0/com.googlecode.pythonforandroid/extras/python:/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6
export PATH=$PYTHONHOME/bin:/system/bin:/system/xbin:$PATH
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/data/data/com.googlecode.pythonforandroid/files/python/lib
python "<PATHtoVideoSort.py>"
Let me know if you need any help and I'll see if I can.

jnusraty said:
Nedle said:
Since the FireTV is always on it is perfectly suited as a Download centre when combined with an external HDD.
At the moment I'm runnig NZBGet mobile to download media from usenet to my external HDD which is mounted using Stickmount.
How did you that setup? Specifically, the nzbget sideloaded on your aftv? Did you sideload google play store and download directly to your machine? Any help/instructions would be helpful...
Click to expand...
Click to collapse
Yes, I have the playstore installed and installed NZBGet from there. But you can just sideload nzbget as well, shouldn't be a problem. Downloading stuff is pretty straight forward. If you want to automatically sort your media you will need post processing scripts which require python. That takes a bit more tinkering to work, as you will have to install python and make the scripts executable.
If you get stuck anywhere let me know what errors you get and I'll try to help. You can use http://apps.evozi.com/apk-downloader/ to download the nzbget apk and sideload it.
Click to expand...
Click to collapse

Related

Can I download ADT manually

I've been messing around in google app inventor getting an idea for the flow of code and figured that it's time to step up to an actual coding environment.
So I went and downloaded the most recent SDK and eclipse. I installed all the available resources and revisions.
Then i hit a snag. The guide said that in order to properly set up Eclipse i need the ADT plugin. I opened the help menu and went to install new software and clicked on the add button. In the name section i put "ADT Plugin" and in location i put the exact web address they gave and it kept giving an error that said unable to connect to repository... i even tried http over https but still experienced the same issue. I entered the website enter my web browser in hopes that it would connect to a ftp server or start a direct download but unfortunatly it was a google site that was no longer available.
So i want to know if theres a mirror download somewhere that i can manually install to eclipse.
Also my eclipse info
Eclipse SDK
Version: 3.6.1
Build id: M20100909-0800
Sent from my futuristic phone
Yes mate, from here...
http://developer.android.com/sdk/eclipse-adt.html
Towards the bottom of the page it tells you what to do if the URL doesn't work.
johncmolyneux said:
Yes mate, from here...
http://developer.android.com/sdk/eclipse-adt.html
Towards the bottom of the page it tells you what to do if the URL doesn't work.
Click to expand...
Click to collapse
I freaking love you in a strictly platonic way.
I kinda feel like an idiot cause I didn't read farther lmao
Sent from my futuristic phone
ironlood said:
I freaking love you in a strictly platonic way.
I kinda feel like an idiot cause I didn't read farther lmao
Sent from my futuristic phone
Click to expand...
Click to collapse
lol - glad to help mate.
Okay just ran into another hitch
I downloaded the zip file and go to install new software but instead of the website i use the archive. It provides me with a list of 3 options
Android DDMS
Android Development Tools
Android Hierarchy Viewer
I put a check in each box and click next it says calculating Dependencies and requirements then i get an error that says
Cannot complete the install because one or more required items could not be found.
Software being installed: Android Development Tools 8.0.1.v201012062107-82219 (com.android.ide.eclipse.adt.feature.group 8.0.1.v201012062107-82219)
Missing requirement: Android Development Tools 8.0.1.v201012062107-82219 (com.android.ide.eclipse.adt.feature.group 8.0.1.v201012062107-82219) requires 'org.eclipse.gef 0.0.0' but it could not be found
Now this has me at a loss. If i downloaded the Archive in theory i shouldn't have to connect to any more sites to install the plugin. I want to know if there is a way to drag and drop the contents of the archive to a plugins folder then open eclipse and refresh the installed plugins in order to show that ADT has been installed.
Not sure if the 64 bit side of things could be an issue (either for you or for anyone), but this guy seems to have solved the same problem...
http://superuser.com/questions/221944/huh-jdk-not-found-on-windows-7-64-bit
Hope it helps mate.
KK ill see if i can follow this and come up with a fix to my issue. not too sure how this will work since im running a 32bit system with windows Vista
I'm still experiencing the same issue with eclipse unfortunately, i even downgraded to Galileo instead of Helios thinking that it was an incompatibility issue with the newest version or the most recent version. I even tried dragging the .JAR files in the ADT zip into the eclipse folder in an attempt to get Eclipse to recognize the plugins without having to install them through the "install new software" dialog.
Everytime I try to connect to the download server it gives me a message that says An exception stack trace is not available. Or Unable to connect to repository http://dl-ssl.google.com/android/eclipse/content.xml
Connection refused: connect

Linux Distro dev edition

This distro was created with all the tools needed for android development. After you install this os, you're ready to start developing for Android.
GreenRom Dev Kt is now available. It has Android SDK/NDK, Eclipse, ADB(from any location!), ThemerStudio, all required dependencies for compiling roms, repo init for pulling source code from github, and Gimp for theming/editing graphics.
Q:Why is this important?
A:Because all you need to do is install this OS, plug in your phone, and begin having fun as you dev. There's no need to try and download and install ANYTHING for Android development because it's all been done for you. Do you need to run ADB Logcat? Go ahead. Now there's no need to make sure you're in a certain directory because you can run ADB from anywhere.
Some common questions might be:
Q:Do I have to install GRPdevkit to my HDD?
A:No, you can run it from live mode and store your progress on a pen drive. Alternately, you can install it on a pen/usb drive and run it from that if your bios detects usb drives.
Q:Will I be able to install this alongside another OS?
A:Possibly, although LivLogik and I haven't had any luck with dual booting this nor Ubuntu.
Q:Will this screw up my computer?
A:As with any Linux OS that's experimental, the possibility is there, although LivLogik and I have been testing this OS extensively to ensure all the bugs have been work out before making it available to you. Nevertheless, we are in no way responsible for your actions!
Q:What if I don't want to dev and just want to use this for an every day system?
A:That's quite fine as this OS is built from Linux Mint 11 and has all the stuff you probably use such as Brasero, X-Chat, Transmission, Libre Office, Movie Player, Calculator, Pidgin, G-Thumb, and much more!
Q:What if I can't burn an installation disk?
A:As with the majority of mainstream Linux Distros, we will be offering an installation disk for a small fee + s&h. LivLogik and I have to come up with a design for the cd decal as I have access to a cd printer. We will post the availability when we come up with it.
Q:How do I use the tools that are in this?
A:There is a get started guide on the desktop that you can move to your home folder or delete that explains briefly how to use the tools, however, I didn't include instructions on Eclipse as I've never used it. For Eclipse just go to it's website here: http://eclipsetutorial.sourceforge.net/totalbeginner.html and learn how to use it. Eclipse is used to make programs for Android.
LivLogik will be making a video so that you can see it in action. Enjoy!!
Note: you may need to right click on the desktop and change the wallpaper mode setting from zoom to whatever fits your screen best. -Fixed in update
**EDIT** if you have problems signing in to gtalk on the messanger... go to software manager and in the search box type in gtalk and download that plugin and it should work and if you have problems with anymore accounts like facebook do the same and it should work fine -Fixed in update
CLICK HERE TO VIEW THE VIDEO !!!! (it shows a run through of it and also sorta where everything is and a little how to - livlogik
Video #2 Updates For v1.1
============> grpdevkit.iso - 2.0 GB <============
MIRROR >>>---------------> http://dev-host.org/fj1lh8zu4g60/grpdevkit.iso <-----------------<<<
Code:
[color=green]Change Log: [/color]
(07-22-11 v1.1) :
~Added Chrome Browser
~Added plugin for Gtalk
~Shortcut for SDK/NDK in home folder
~Added shortcut for GRP forum
~Added different wallpaper([color=blue]thanks LivLogik[/color])
(6-?-11 v1) :
~Linux Mint 11(Katya) as Distro base [URL=http://www.linuxmint.com/]Linux Mint11[/URL]
~Remastersys(for building the distro [url]http://remastersys.sourceforge.net/[/url])
~Added GRP custom default wallpaper([color=blue]thanks LivLogik[/color])
~Added Android NDK
~Added Android SDK
~Added all required dependencies for compiling Android OS as follows:
git-core, gnupg, flex bison, gperf, libsdl1.2-dev, libesd0-dev, libwxgtk2.6-dev, squashfs-tools, build-essential zip curl, libncurses5-dev, zlib1g-dev,
sun-java6-jdk, pngcrush, schedtool, lib32z1-dev, lib32ncurses5-dev, lib32readline5-dev
~Added ADB( thanks to Tahl:[URL=http://www.rootzwiki.com/showthread.php?589-Android-SDK-NDK-Eclipse-and-ADB-Auto-Installer-(Ubuntu-Linux-Mint)]Tahl's tread[/URL])
~Added Gimp
~Added ThemerStudio(thanks to CorCor67:[URL=http://corcor67.blogspot.com/p/themer-studio.html]CorCor's blog[/URL])
~Added Repo Init to home directory
[color=red]Testers:[/color]
LivLogik
SlashDW
whoever else has tested or is running the Dev Kit let me know so I can include you in the testers credits. ;-)
epic!? I think so.
Treken said:
This distro was created with all the tools needed for android development. After you install this os, you're ready to start developing for Android. Check it out here: http://greenromproject.com/showthread.php?188-GreenRom-Dev-Kit-is-here!!-64bit(updated-7-23-11)
And, of course, enjoy!
Click to expand...
Click to collapse
Nice! This should save a ton of setup time when I install a new distro
Sent from my ADR6300 using XDA App
AWESOME! Finally, I can run Linux simply. Expect ROM's from me!
EASY Set-up! Now to figure out how to do everything else..... :/
Smokeey said:
EASY Set-up! Now to figure out how to do everything else..... :/
Click to expand...
Click to collapse
If you need some help with anything just let me know.
Wow. downloaded.
vassskk said:
Wow. downloaded.
Click to expand...
Click to collapse
how was the download speed? The server will be getting a make-over tomorrow and should beef up the download speed.
I'm assuming I can make this into a persistent usb and take it anywhere and work on it? Regardless I'm going to give it a shot.
DL started at 700 and dropped 1kB/s every 2 seconds continuously, then dropped out. I thought it was an artifact of the averaging done by Google Chrome; except it was linear, 2 seconds every time.
bogwurm said:
I'm assuming I can make this into a persistent usb and take it anywhere and work on it? Regardless I'm going to give it a shot.
Click to expand...
Click to collapse
Please see #2
Q: Do I have to install GRPdevkit to my HDD?
A: No, you can run it from live mode and store your progress on a pen drive. Alternately, you can install it on a pen/usb drive and run it from that if your bios detects usb drives.
vassskk said:
Please see #2
Q: Do I have to install GRPdevkit to my HDD?
A: No, you can run it from live mode and store your progress on a pen drive. Alternately, you can install it on a pen/usb drive and run it from that if your bios detects usb drives.
Click to expand...
Click to collapse
And boom goes the dynamite
/Dinc
Very nice work. Thanks for this.
Sent from my ADR6300 using XDA App
vassskk said:
DL started at 700 and dropped 1kB/s every 2 seconds continuously, then dropped out. I thought it was an artifact of the averaging done by Google Chrome; except it was linear, 2 seconds every time.
Click to expand...
Click to collapse
The server went down for a little bit. They beefed up the server speeds so it should download faster now. It should be up and running now
Great.. now I have to stop & get more DVDs. My old laptop doesn't boot from usb. Looking forward to trying it out. Thanks!
OP,
You said you were having trouble paralleling it with other os's? Any ideas why? i was very much hoping to throw it alongside joulicloud (ubuntu based) on my ssd.
vassskk said:
OP,
You said you were having trouble paralleling it with other os's? Any ideas why? i was very much hoping to throw it alongside joulicloud (ubuntu based) on my ssd.
Click to expand...
Click to collapse
I wasn't having any luck dual booting Linux Mint or Ubuntu. I have Windows 7 Ultra that I wanted to dual boot but couldn't get it worked out and just gave up since I have to have Linux for most of the development I do.
beard0 said:
And boom goes the dynamite
/Dinc
Click to expand...
Click to collapse
Dino-mite? Faq said run live and store on usb. Assumption was run live from dvd. Second part of answer was run from usb if BIOS allowed it. That's why I assumed I could run a live usb with a dedicated partition on the same usb. If we didn't have questions then we wouldn't have Devs. But thanx for your input Mr Dynamite.
bogwurm said:
Dino-mite? Faq said run live and store on usb. Assumption was run live from dvd. Second part of answer was run from usb if BIOS allowed it. That's why I assumed I could run a live usb with a dedicated partition on the same usb. If we didn't have questions then we wouldn't have Devs. But thanx for your input Mr Dynamite.
Click to expand...
Click to collapse
You should be able to install on a usb pen drive and save your files on a dedicated partition. Just make sure you have enough room on your pen drive. Look here: Link and see the requirements for doing so. I've never actually installed on a pen drive myself but theoretically speaking it's plausible. Let me know if it works out for you.
Will do thanx for the reply. I know how to set up a persistent live distro but some of them are tricky. I like this idea because all I need is the flash drive to do work on any computer.
"Here and now, boys, here and now."-Aldous Huxley

[SCRIPT/WIP] [28.01.2012] autosync - sync your apps and data when connecting to PC

Hey guys!
I'm currently into scripts so I thought about creating something new. But I didn't know what...
But a friend was just looking for something to automatically synchronize all apps on the phone with the PC (copy them to PC and back to phone when needed).
So I decided to create something for him and share it with this great community.
Currently it's a really early version. The only option is currently to copy the apps and their data to PC. Nothing more.
Feedback is always welcome.
Note: I've made this for Linux, it may work for Mac also.
I won't make a Windows version! Don't ask for it!
How it works:
It will use adb to pull all apps and their data to PC.
You'll be asked for a folder to save to only once, it'll be saved in a config file.
It will wait for your device to connect and then start syncing.
When it's finished it'll tell you where everything have been saved.
Requirements:
-USB-Debugging on
-Enough free space on PC
-adb in the $PATH-variable (don't ask how to, use Google)
WIP:
-Music, image and video syncing with PC
-Restore saved apps from PC to phone with the script
-Some speed improvements (cause it runs really slow)
-Get a nice UI (last thing to do! Don't ask for it now!)
Download:
http://depositfiles.com/files/z26tkazxm
Source code:
http://pastebin.com/DWWVJat5
Tips:
To get it really automated put it in your Window Manager autostart folder.
How to do this: http://en.gentoo-wiki.com/wiki/Autostart_Programs
When script asks you for the path to save, don't use the format ~/something - this won't work.
Use /home/you/something instead.
Don't put a / at the end of the path.
I'll correct this in future versions.
Use option -h to get the help with all commands viewed.
Enjoy it and give me feedback!
Sent from my loved HTC Desire [email protected]
Tutorials
Tutorials will go here.
I will now create one for the cygwin method.
Addon package for the cygwin method: http://depositfiles.com/files/lipqqsv8t
Changelog
22.01.2012:
-initial release
28.01.2012:
-added restore option (beta) -> see the -h option for how to
-started the development for music, picture and video sync
Ditti4 said:
I won't make a Windows version! Don't ask for it!.
Click to expand...
Click to collapse
((((((((((((((
do3in said:
((((((((((((((
Click to expand...
Click to collapse
It's because I don't know how do batch code and the windows version would get updates later.
You can try to recode it for windows if you give me credits.
I got an idea. Gimme till tomorrow...
Hey dudes!
I think we can get the script working on Windows with Cygwin, but I don't know (yet) how to autostart scripts in the Cygwin environment.
So it would be good to have someone to test it with Cygwin.
BTW: restore function should work know. Will do some testing today and if everything is right I'll release an update.
Sent from my loved HTC Desire [email protected]

Fix - Apps and websites not working after certificates expire

As identified in this post http://forum.xda-developers.com/showpost.php?p=65344931&postcount=10 lots of apps and websites have stopped working over the past year or so (depending maybe on your ROM). This has been traced to the root certificates (used to trust websites and set up secure ssl connctions) becoming out of date. Modern devices also have many more root certificates installed by default.
Note that this doesn't fix the google market on the nook touch, nor the kindle book store. It does fix the kindle app for syncing books purchased elsewhere.
I'll port the instructions over into this post later (see the link above for now). It requires root (so is slightly risky).
If you identify any more failing sites, please provide an https link which fails to open on the nook (but does work on a PC) and I'll add the root authority to my files. Anyone working on ROMs is welcome to redistribute my cacerts.bks
<reserved>
Aargh!
tshoulihane said:
As identified in this post http://forum.xda-developers.com/showpost.php?p=65344931&postcount=10 lots of apps and websites have stopped working over the past year or so (depending maybe on your ROM). This has been traced to the root certificates (used to trust websites and set up secure ssl connctions) becoming out of date. Modern devices also have many more root certificates installed by default.
Note that this doesn't fix the google market on the nook touch, nor the kindle book store. It does fix the kindle app for syncing books purchased elsewhere.
I'll port the instructions over into this post later (see the link above for now). It requires root (so is slightly risky).
If you identify any more failing sites, please provide an https link which fails to open on the nook (but does work on a PC) and I'll add the root authority to my files. Anyone working on ROMs is welcome to redistribute my cacerts.bks
Click to expand...
Click to collapse
I've been using your updated cacerts.bks file and it is great. In January another certificate expired and I'm fairly confident it's the reason a news app (News Republic) started throwing up security certificate errors and refused to connect with the server. I think I need to be able to do the certificate updates, but I am trying to avoid going down the SDK road (a massive download I will never use for anything else) and all those complexities.
Except, nothing else seems to work. There is an ancient thread in which people discuss various ways to update pre-ICS cacerts. Unfortunately, none of them work--I've tried them all. The browser idea seems promising and Opera Mobile responds as described, but then nothing happens to the cacerts.bks file.
Portecle looks really promising (images below). It can obviously open and inspect the cacerts.bks file (password: changeit). It shows the additions you made and also indicates the expired certificate.
So I went searching for a replacement and found something that seems like the right thing (attached as a zip). It imported easily into Portecle and then appeared along with the new ones you added.
Then I returned the file to the NST and made the permissions the same as the old file. A reboot put me in a loop out of which I just barely managed to recover by inserting my NookManager card at just the right moment.
So I don't get it. The bouncycastle files recommended in the CAcerts wiki for this task are too old to be available. Surprise.
I'm tempted to NOT fix the permissions on the cacerts.bks file when I return it to the NST because I once had a similar problem with a settings.db file and it turned out that restoring the "correct" permissions resulted in a bootloop while leaving them as they were when the file was copied back made it all work just fine. But I'm too timid to try that just now.
Any insights?
From my linked thread,
Download http://www.bouncycastle.org/download...dk15on-146.jar - this is used locally on your PC to manipulate the certificates and needs to be version 146 or 147 to work with android (or old android at least)
Click to expand...
Click to collapse
It seems that when I used a different version, I got a bootloop. Although the link I referenced seems to have died, the filename still turns up plenty of hits. http://polydistortion.net/bc/download/ for example (version 1.47).
I agree its a lot of pain, and I'm not sure I still have the toolchain download that I used for this work. I'll have a dig around...
tshoulihane said:
From my linked thread,
It seems that when I used a different version, I got a bootloop. Although the link I referenced seems to have died, the filename still turns up plenty of hits. http://polydistortion.net/bc/download/ for example (version 1.47).
I agree its a lot of pain, and I'm not sure I still have the toolchain download that I used for this work. I'll have a dig around...
Click to expand...
Click to collapse
Yipes. Well, I downloaded the jar file (many thanks...I did search on the file name and came up empty) and followed your example on the other thread. Everything behaved as it should. Except for the boot loop....... This time it was even harder to get out of it.
Two possibilities come to mind. My JDK is 1.8.0_73. Maybe that's too new to work properly. The other is that the certificate, despite playing nicely as far as console feedback went, is of the wrong format, although this does not show up in the feedback or in Portecle.
Anyway, I'm sufficiently intimidated now that I'm not going back there unless I have a better way of getting out of boot loops (since I'm doing ADB over Wi-Fi).
Edit: temptation... So I went back to the CAcerts Wiki and noticed they suggest Java 6. Now, of course, the Wiki is old, but so is the Java underlying the NST, so I found an install of Java 6 and put it on the laptop we have attached to the TV (which runs Kodi and very little else). Then I repeated the entire procedure with--supposedly--all the right components. Same dreaded bootloop. So either the certificate I have has an incompatible format, or I am just hopeless at this. Maybe both
all of the old bouncy castle api releases are archived on their ftp server under ftp://ftp.bouncycastle.org/pub. i managed to find the .jar files referenced in the other thread on there and updated my cacerts.bks using the cacerts wiki instructions a few days ago. hope it helps you. using the newer release gave me a bootloop as well, but once i grabbed the older version from their ftp all was good!
shadylady said:
all of the old bouncy castle api releases are archived on their ftp server under ftp://ftp.bouncycastle.org/pub. i managed to find the .jar files referenced in the other thread on there and updated my cacerts.bks using the cacerts wiki instructions a few days ago. hope it helps you. using the newer release gave me a bootloop as well, but once i grabbed the older version from their ftp all was good!
Click to expand...
Click to collapse
Which java version were you running?
Edit: Hmm....I'm not having any luck with the link you provided. Using an FTP client I am asked for a logon and in my browser (Firefox) it never connects.
Here we go: http://www.bouncycastle.org/archive/
Remains to be seen if that will do the trick for me...
the bootloop version was whatever bouncycastle.org has as their latest release.
the one i downloaded from the ftp that didn't bootloop was this one: bcprov-jdk16-146.jar
you'll need to ftp in and use the password "anonymous" and some bogus email to get onto the ftp. from that web version of the archive it should be this package: http://www.bouncycastle.org/archive/146/bcprov-jdk16-146.tar.gz
i'm running mac, so my default java was 1.6. i updated to 1.8 but that happened after i got this all up and running already. this was the version that was default:
$ /Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-468-11M4833)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-468, mixed mode)
so jdk 1.6 + API 146 (or 147?) seems to be the proper mix.
at first i thought it wasn't working, because although i updated the cacerts.bks, the amazon kindle app kept saying "incorrect email/password". took me a while before i read the entire thread and realized that amazon now does two-step authentication so i had to enter the one time passcode they had sent to my email.
nmyshkin said:
Which java version were you running?
Edit: Hmm....I'm not having any luck with the link you provided. Using an FTP client I am asked for a logon and in my browser (Firefox) it never connects.
Click to expand...
Click to collapse
Well....progress, or at least I think so. This may be an easier method.
Go to http://www.bouncycastle.org/archive/ and download bcprov-jdk15on-146.jar
Go to https://sourceforge.net/projects/portecle/ and download potecle (an executable jar)
Unzip portecle. Rename the bcprov-jdk15on-146.jar to simply bcprov.jar and copy that into the unzipped portecle folder (overwrite the newer version already present).
To run portecle, just double-click on portecle.jar. You will get a statement about the 146 file being out of date, resulting in not everything working, but enough works for our purposes.
Copy cacerts.bks from your NST (system/etc/security) to your PC, open portecle and import your cacerts file (password is "changeit"). You now have a nice graphical interface for perusing and updating your certificates! If you have a *.cer certificate to update, rename the "cer" to "crt" and use the import function. It's really that simple. I tried it, copied the file back onto my NST, fixed the permissions and.......{drumroll}.......no bootloop I'm running jdk 1.8.x
That's the good news. The bad news is that I did not succeed in updating the entrust certificate. I added three from their website and while they did not break cacerts, they did not restore functionality to NewsRepublic, which is what I was hoping to do
So....this may work. It's certainly easy, but clearly you need to have the correct updated certificate to get the desired result. Duh.
Edit: OK, it's ALL bad news
Don't do any of this. It seems to go OK but yesterday I found I could not successfully open the NPR app. I thought, "well, another one bites the dust", but I was curious so I used SearchMarket to see if the app was still listed for the NST. It was. So maybe it got corrupted somehow? Anyway, I uninstalled it and was going to reinstall from the Market but suddenly I got messages about the download failing. Oh no, not another function going south?!
Well, it's all fine, but the problem was the cacerts.bks file that I had made using the method above. Although there is no bootloop on restart, there is bad ju-ju nonetheless. Restoring my backup of cacerts.bks fixed NPR and SearchMarket. So....don't go there (and the two people who thanked me, feel free to unthank me )

sync folder over homenetwork

Hi everyone.
I want to apply this thoughts:
I want to share an folder adressed from win 10: android, this is filled with subfolders: music, downloads, documents.
I want that the music example get his input direct from android/music
If I delete/create something in A so it has also delete/create in B, in both direction full automaticly
So how can I make that?
Since 120 minutes I have got knowledge about smb and share function by windows. But the rest I can't imagine.
I excuse my self I didn't find a network forum I put it here.
https://play.google.com/store/apps/details?id=com.dropbox.android
https://www.dropbox.com/install
bbsc said:
https://play.google.com/store/apps/details?id=com.dropbox.android
https://www.dropbox.com/install
Click to expand...
Click to collapse
Thx but i meant native without apps, i already know about that like onedrive, poketdhare,airdroid.....
secondelric said:
Thx but i meant native without apps, i already know about that like onedrive, poketdhare,airdroid.....
Click to expand...
Click to collapse
Android cannot access smb shares without third-party apps. You'll need to access smb share to sync it from Android's side.
Windows cannot sync folders (without problems) not using third-party apps.
In theory, you can install something like rsync on both Windows and Android but it will be "apps" too.
Dropbox works just fine under Windows and Android and you'll not be limited to your home network only.
Ok, u right but vortell give me a good tip,
İ search by google and its called: mount
İm looking right know, how it could be works or not.
nice app is smb sync or mount a samba share on the phone...
So I research and found out that is possible to mount an network share folder as folder in android (where the system get access and apps to) with dsfile and ssqhelper. But I'll need cfis support from kernel. As I know standard kernel doesn't support it and direction goes to custom kernel (where I got no experienced yet or if any custom kernel would support it). For me is now stop with this througts but just to test it I will install an custom kernel with cfis support to see how it will be works.
Thx all for help.

Categories

Resources