[Q] Any app to automatically copy new files (photos) to a network drive? - Android Q&A, Help & Troubleshooting

Hi guys,
I'm trying to get a lil' privacy here
I know right now it's rather hard, but I'm trying to take my steps. So far setting Seacloud with https and encryption on a 2TB HDD wasn't too hard. Problem is, it doesn't upload the phone pictures to the server, at the moment. A second solution would be to have an app to sync those pictures to a network drive, which is already on Seafile, and would be then automatically backed up. This could be done via SMB or SCP/SFTP. Do you know of any apps doing this, copying any new detected file within an specifed folder to a network share?
PS: Yeah yeah, I know owncloud does this out of the box. Their apps are far better for this, but the way they store their filesystem isn't very clean IMHO, so I preferred seacloud instead (owncloud uses normal files for its storage, which can lead to issues implementing file history, while seacloud uses a database structure).

Related

[Q] Sync files between PC, Android and Cloud automatically

Hi guys,
that is a problem that has bothered me for a long time and I'd really like a solution to this.
I'll start with an example:
Say, I have a folder on my PC. It contains subfolders and mostly but not only pdf files. I want to have that data on my Tablet/Phone too. But I don't want to have to transfer it through a USB cable or something similar. I want to have a two-way sync, so when I edit something on my PC / tablet, I want to change the file on the other device too.
And, most importantly, I want it to work in the background. I don't want to open an app on my tablet and tell it to download a folder, I just want it to see, what has changed and download that content LOCALLY.
Sure, that eats up space but I don't have that many documents.
I hope, I made my point clear, so is there anyone who can help or has any advice on how to achieve that?
Thanks in advance!.
Don
You can use dropsync pro to do 2 way sync in the background, on a schedule, or auto-detect changes.

[Q] Hidden folders through Android MTP

Hey !
I've searched the web as well as the forum but i didn't find any solution and it seems i'm not the only one wanting to do that.
Is it possible to see hidden folders of internal sdcard through MTP ?
I really talk about hidden folder like ".android_secure", not the photos that aren't yet scanned by the media scanner service.
In my windows environment i already set the view all hidden files/folders as well as view system files.
If i have to change folders permissions through terminal what are the correct permissions i should put ?
Thanks for the help !!
Am i the only having that problem ?
Do you guys see the hidden folders through mtp connexion ?
If you'd bother reading a bit before asking questions, you might have the answer already.
http://en.wikipedia.org/wiki/Media_Transfer_Protocol
MTP and PTP specifically overcome this issue by making the unit of managed storage a local file rather than an entire (possibly very large) unit of mass storage at the block level. In this way, MTP works like a transactional file system - either the entire file is written/read or nothing.
More or less, it is designed to keep hidden what should be hidden stick to USB storage or FTP/SCP.
PS: can't believe we're using a transfer protocol designed by Microsoft in a Linux-based system mastered by Google. The horror, the pain... no wonder it doesn't work on my Mac!
VAXXi said:
If you'd bother reading a bit before asking questions, you might have the answer already.
http://en.wikipedia.org/wiki/Media_Transfer_Protocol
MTP and PTP specifically overcome this issue by making the unit of managed storage a local file rather than an entire (possibly very large) unit of mass storage at the block level. In this way, MTP works like a transactional file system - either the entire file is written/read or nothing.
More or less, it is designed to keep hidden what should be hidden stick to USB storage or FTP/SCP.
PS: can't believe we're using a transfer protocol designed by Microsoft in a Linux-based system mastered by Google. The horror, the pain... no wonder it doesn't work on my Mac!
Click to expand...
Click to collapse
Thx for the link ! I knew what mtp is but its always good to refresh things up
I read the whole article and unfortunately it doesn't answer my question.
I understood that its the same for all of us meaning that we are not able to see hidden folders.
But the main question is if there is a way to bypass this behavior ? Where is this defined exactly ?
It seems according to the article that its not on the file permission layer ? Should it be at partition level ? How can mtp know what to share with the host ?
It's not a "behaviour" per se, but more/less a database. Remember that media scanner program which wakes up every time you change something on your SD card, be it internal or external ? it simply keeps a "database" of files which are presented to the MTP client (your computer) and hides away the phone's internal folders which are not supposed to be seen by the end-user.
Theoretically, this is done in order to have the iPhone-like behaviour: seeing the entire device memory as one big unified storage which you can fill as you want (no more of those partition size limitations which brought us the app2sd hacks). In my opinion, it's more or less just a small step done in order to "secure" phones for DRM protected content.
Studios and media companies require devices to have such measures of protection in order to allow you to sell media content (like movies, books, etc) and since Google wants to push its business further with the Play Store, it needs to cave in to the studios' demands. In the future, it will probably even become illegal (DMCA-style) for me to give you the information below
Back to the technical part of our show now.
At the first boot in the life of the device, Media Scanner will look under /system/media and index everything there. After that, it will scan everything under /mnt/sdcard (hence your external SD card too, if you have one, as it's mounted under /mnt/sdcard/external_sd). On some devices, you have an "internal.db" file and one "external-123xyz.db" file; that's a unique ID of the SD card which was scanned. The idea here is you might have 2-3 SD cards which you swap often, and it's not nice to do a full rescan each time you change the SD card. These databases are in /dbdata/databases/com.android.providers.media (on my phone, there is only one "external.db" for example).
So what you're looking for is a way to populate this database with all the files found by the Media Scanner. But Media Scanner doesn't want you to see the hidden folders you mentioned above. So, you get an application which doesn't ignore them, like Rescan SD Card! or SDrescan.
Happy now ?
Thank you very much i really enjoyed reading the explanation as it answers completely my questions and it makes sense !
Ill give a try to the apps but i'm also curious to investigate on those files
Cheers
PS. Is this a disguised way to support non open source protocols ?
Well, you could poke around inside the database with sqlite if you want. But don't really see what's so interesting about them.
It is just another protocol which is supported, which happens to be designed by Microsoft (and probably licensed/paid by Google to be used in Android). I understand the technical explanation behind this decision, but I'm also wary that someday UMS will be disabled by default and enabling it will disable content purchasing for that device (just like having a rooted phone now disables some "sensitive" apps, like banking and online TV).
As a system admin its interesting to know whats happening on my system
As a hobby its interesting for my personal knowledge
And from a development point of view it gives me some ideas for maybe future apps
You say that its just another protocol which is supported but to my understanding there are not so many of them ! So i would say that Google was kind of forced to use the MTP method, first from a hardware point of view and second to be compliant with the rest of the world.
Is there any other protocol that could suite their needs ? Since USB mass storage is not usable on some devices and MTP is well spead.
.HiddenAndroid folders in Win - Here Yesterday, Gone Tomorrow
<Win 7 and GN2>
What's curious and a bit frustrating to me is that, yesterday, when I mounted my device ALL of the hidden (.folders and .files) were visible and searchable. Today, when I went to explore some more, all are gone. I understand that I can use a 3rd party app, just can't figure out why it was visible yesterday and not today.
Hmmph
Did you ever resolve this issue? I really hate MTP for several reasons but this is one of the reasons why! I need to back up all my directories on the SDCard because some apps store them as hidden files in hidden directories. Furthermore, I came across the Play Store bug that requires me to delete a "temp.asec" file in the ".android_secure" directory, but of course it is not visible.
In a post further up it was suggested to use a "Rescan" app to force the DB to include hidden files/directories, but I have tried no less than 4 of these apps, and all they do is trigger the built-in android media scan, which is the problem in the first place!
So has anyone ever been able to access hidden files and directories using MTP?
EDIT: I have an HTC phone that actually shows hidden files and directories, so they have obviously implemented their own media scan. The problem I am currently having is on a Samsung phone (Epic 4G touch)
It may depend on the implementation. For example, using stock rom for the phone doesn't show some files and folders, for example folders starting with dot. But if you use Neatrom Lite it will show all files and folders.
Flash forward about 6 years and Samsung still does not show hidden folders/files when viewing the phone contents in Windows File Explorer, but HTC does.
The reason this is still a problem for me, is that I want to backup the contents of a particular directory (WhatsApp) which contains some hidden folders, so I can restore it anytime on a new phone or the same phone.
I recently switched from HTC to Samsung and alas, it seems the problem with this implementation still exists. Anyone found a workaround to this to allow File Explorer to see the hidden folders?
Update: It appears that hidden .nomedia files (and probably others) appear under regular folders, so the problem is limited to hidden folders themselves

[Q] Encryption app for folders, preferably multi-platform as well

I'm looking for an app that will allow me to encrypt folders (preferably without having to go through a third-party file manager) on my Galaxy Note 2 and Nexus 7, while possibly being able to also decrypt and view the folder/files on a Windows or Mac machine.
BoxCryptor is one that I've looked into but I'm not sure if it will allow me to encrypt folders within folders.
A little bit of background for what I need this for... I'm a medical health professional and there are times when I have sensitive data about some of my patients that I need to access via my phone/tablet/home/work computer. I don't necessarily need the folder of patient data to sync across all devices but if that could be done (say via DropBox or WebDAV, encrypted), that would be a bonus.
There are some apps on Google Play that seem like they might work:
Encryption Manager
Safe+
DroidCrypt
If anyone has any feedback on any of the above, or can recommend an app that I've missed (or a link to another xda post that I missed in my searches), that would be much appreciated. I'd rather not have to pay for each one to see if it fits my criteria.
Thanks in advance!
cdnmaplechick said:
I'm looking for an app that will allow me to encrypt folders (preferably without having to go through a third-party file manager) on my Galaxy Note 2 and Nexus 7, while possibly being able to also decrypt and view the folder/files on a Windows or Mac machine.
...
A little bit of background for what I need this for... I'm a medical health professional and there are times when I have sensitive data about some of my patients that I need to access via my phone/tablet/home/work computer. I don't necessarily need the folder of patient data to sync across all devices but if that could be done (say via DropBox or WebDAV, encrypted), that would be a bonus.
Click to expand...
Click to collapse
@cdnmaplechick, did you have any luck with all this? EDS is another one you could try, but I'm not sure if it can do what you want without rooting your device. If you are comfortable rooting your device Cryptonite is an additional option.
If I understand you correctly I am also looking for something similar (which is how I ended up finding your post). I'd like an app that can encrypt specified folders such that other apps can interact with the contained encrypted files without any trouble (this would be very analogous to how TrueCrypt works for Windows computers). I know there is full device encryption available for Android, but that has its drawbacks. I think what you and I are both wanting is something like full device encryption, but being able to limit it to a few designated folders.
I'd love to hear anything you're willing to share about your experiences (positive or negative) with pursuing all this!
Edit: Forgot to mention a secure syncing service you might be interested in: SpiderOak. I have not yet used their Android app, but I use SpiderOak for Windows all the time to securely sync sensitive data between multiple Windows computers (the data is stored in TrueCrypt volumes on each computer).
Apparently this works with Truecrypt so it will work when you transfer it to a Mac or PC
https://play.google.com/store/apps/details?id=com.sovworks.eds.android
Droidcrypt should do entire folders, but has a lot of neg reviews. Personally I wouldn't use any closed source encryption app you have no idea if they're actually generating true random numbers or if it's junk software.
LUKS is free and open source, if your phone is rooted
https://play.google.com/store/apps/details?id=com.nemesis2.luksmanager you can just copy folders into the virtual encrypted folder it creates.
https://play.google.com/store/apps/details?id=org.mrpdaemon.android.encdroid is open source, free and works with dropbox
https://play.google.com/store/apps/details?id=com.koushikdutta.backup Carbon now uses encrypted backup
There's also APG http://thialfihar.org/projects/apg/
You can use PGP to encrypt/decrypt files (perhaps folders?) for transferring to another computer. Or if both your Nexus and your PC/Mac is using full disc encryption then you can just transfer the folders to each other in the clear with USB.
derpsec said:
Droidcrypt should do entire folders, but has a lot of neg reviews. Personally I wouldn't use any closed source encryption app you have no idea if they're actually generating true random numbers or if it's junk software.
Click to expand...
Click to collapse
Yeah, I've felt ambivalent about Droidcrypt. It should do what I want but they feel like such an unknown; they don't even have a website (not that that would make them automatically safer, but I'd at least be able to get a little more of sense of who I'm trusting my data to).
derpsec said:
https://play.google.com/store/apps/details?id=org.mrpdaemon.android.encdroid is open source, free and works with dropbox
Click to expand...
Click to collapse
Thanks for those additional links, and especially for Encdroid! I'm a fan of open source, and it looks like the author's on the XDA forums:
http://forum.xda-developers.com/showthread.php?t=1917665
I definitely want to check that one out further.
How about Cryptonite? https://code.google.com/p/cryptonite/ It says it uses TrueCrypt.
Yes cryptonite seems to be a good solution.
Check-->
https://play.google.com/store/apps/details?id=csh.cryptonite&hl=el
Hello friends
Is an application for Android that folders can be encrypted and password-access to that folder wherever necessary, same encryption on the kms 9(Kaspersky Mobile Security 9 v9.4.96 – S60v3)

Mdz-16-ab Mi Box 3 Write Permission On External Drive Issue

Hi everyone,
I have a big problem with this box and I hope someone with experience will be able to help...
I got a 2TB hard drive to use as media storage (videos, music, pictures...) with my Mi box, but it seems there is no way I will be able to do that, I hope someone will prove me wrong.
What is possible is:
- for the box to hijack the whole drive, encrypt it and use it as internal storage. Unacceptable because I want to be able to use the drive with the data on other systems in case I want to transfer files (I don't even want to try transferring 2TB of data over wifi) and in case something happens to the box or I decide to upgrade to a different one, all my data would be lost.
- to use the external storage as read-only, which is useless, I might as well connect it to my TV then and play the contents...
I want to be able to download stuff to it in Android. For instance I could just remotely send torrent files to it while out and about and by the time I get home they would be downloaded. Or I can set all my pictures to be synced with a folder on that drive...
Regular versions of Android generally don't have a problem with this, but Android TV seems to lack the in-built Documents Android file manager functionality that allows for writing permissions once you select the drive (or an SD card) from within an app like Flud for example.
I was hoping upgrading to Nougat would fix this problem, but it seems it won't. The nVidia Shield has the same problem, but it's rootable and using the SDFix app when rooted saves the day.
Rooting would also allow me to use my PS4 controller with the box and other fun stuff, so I really wouldn't mind doing it, but a lot of people had bad experiences with rooting the Mi Box, so I would do it only if I'm sure it'll work.
Does anyone have any suggestions or is this a hopeless endeavour?
Thank you!
an app called airexchange allows you to access your tv box over your wi-fi and do anything you need, download, delete, move...this is the only and easiest way i found to transfer files from my mi box 4 to my pc. might help. just download and follow the instructions, super easy to use.

[GUIDE] Turn your Android device into a Cloud storage server

So, today im back with another guide, today ill be teaching you how to turn your Android TV Box into a personal Cloud!
A few of you may ask, why? Well theres a few reasons
1. These devices run off a 5v power supply
2. For the price they are, its definately the cheapest alternative to purchasing cloud space
3. For the specs, they are quite impressive
4. Not only can you use wifi, but these devices have LAN aswell
So for anyone who wants to do this, simply check out my youtube video, it takes a total of less than 2 minutes to set up(Deducting all my explaining)!
https://youtu.be/D_yPGkAmtII
Step by step -
1. Download and install SSHDroid on your device from the playstore or link below
2. Open the app, if the service is not started, click start at the top right, the status should change to ready
3. Download the setup server files i created from below and open the SetupServer.bat file
4. The script will prompt you for an IP address, in the SSHDroid app besides address you will see something like [email protected]:2222 your IP address is inbetween "[email protected]" and ":2222", in this case 192.168.1.109, type it in and press enter
5. You will notice 2 scripts are generated from that and a file, you can then run the CloudFileManager.bat or the CloudTerminal.bat depending if you wanna upload/download files from your cloud or do things within terminal
If you do wanna access the server from your device, you can download ESFileExplorer, open it and open the FTP tab
Click "add" and choose SFTP, then input the details that the script generated in details.txt
You can then transfer files between your phone and cloud!
Here are the files i said i would share for this
My setup server files - https://mega.nz/#!fUVQEK5L!57B2fs7qjI0-LhAUfWk014r90KzEJ-P4902Sfa6vZr0
SSHDroid app direct DL - https://apkpure.com/sshdroid/berserker.android.apps.sshdroid/download
Be sure to like, share and subscribe for more content
I'd never even thought of that but been looking for an option of network storage. This could be perfect as I have a few spare boxes. I'll let you know how it goes
Okay got it mostly setup and can access via my desktop. Just trying to work out a way to make it network accessible to Kodi on my main android box. Same network of course
b00glez said:
Okay got it mostly setup and can access via my desktop. Just trying to work out a way to make it network accessible to Kodi on my main android box. Same network of course
Click to expand...
Click to collapse
I get home in a few hours, i will figure it and let you know
Definately a worthy solution to a cheap cloud storage
Any luck figuring that out?
I used Armbian+apache2(with PHP7.2)+Nextcloud server before but your cloud is runing on Android right? This is good idea. May be need a NAS drive like 2TB for storage. Android devices got poor wifi performance. I recomend LAN connection for cloud.
knxwille said:
I used Armbian+apache2(with PHP7.2)+Nextcloud server before but your cloud is runing on Android right? This is good idea. May be need a NAS drive like 2TB for storage. Android devices got poor wifi performance. I recomend LAN connection for cloud.
Click to expand...
Click to collapse
seems to be very minimal difference between WIFI and LAN, im guessing its using the hardware at its limit, i got 2.9mbps upload speed while the Beeting S1 was using an SSD as primary storage(apollo lake processor and 4GB RAM with Samsung evo SSD)
if i find a way to improve performance i will let you know, i just feel using TV box as a cloud server is a very efficient way of doing things for both the price, simplicity and flexibillity
My box has gigabit lan and I don't agree with you
There are good webservers for android that support php/database. I guess we can install Nextcloud. I'll try at my spare time.
knxwille said:
My box has gigabit lan and I don't agree with you
There are good webservers for android that support php/database. I guess we can install Nextcloud. I'll try at my spare time.
Click to expand...
Click to collapse
What im saying is i think its a hardware limitation, the processors and the amount of RAM your device has will surely limit speeds(Upload/Download) somewhat.
I just have no idea what the limit is, but then again my internet is actual trash so you may be right, who knows
What if i want to access to it when I'm not in the same network? How can I do so?
riccardosimo said:
What if i want to access to it when I'm not in the same network? How can I do so?
Click to expand...
Click to collapse
You need to open the port it uses in your modem or router. The use your external IP and the port to connect to it outside of your network. Password protect everything though to be safe.
P.S. can anyone reupload the files?

Categories

Resources