All Android phones are Linux phones, in a broad and somewhat peculiar sense. Here's a shell session from my Android app SSHelper:
$ uname -a Linux localhost 3.18.71-13482624 #1 SMP PREEMPT Fri May 4 20:47:19 KST 2018 aarch64 Android
There are some serious limitations to Linux on Android, one being that you can't just create an ext4 partition to have normal filesystem behavior (a particular annoyance of mine). Android's default filesystem is a sort of tortured version of the Windows fat32 filesystem.
On the other hand, using one of the available Secure Shell servers as above, you can use Android as a sort of miniature Linux shell-session experience -- from another machine (Windows or Linux) running a terminal emulator.
There are also Linux emulator environments that seem more Linux-like than the above limited example, some of which ~~don't~~ DO require rooting the phone, like Linux Deploy, a relatively polished example.
EDIT: correction
So much this! I have 2 apps on my phone for this purpose. One records the time of every call incoming and outgoing to my google calendar, the other backs up every single text ever and emails it to me.
I currently have 6 years worth of calls and texts that I can call on in an instant - no gaslighting possible! It's awesome.
Fair enough. If you want a shell session plus an SSH server with logon and file transfers on your Android phone, install my app SSHelper -- open source, free, no ads, no "get pro" BS.
Sorry, I read your message do quickly and thought you'd simply asked if I *had* recorded the call.
I use one called "Call Recorder Pro" -- don't have a URL for the app at the moment, but it's a paid app. I also use an app to track all incoming/outgoing calls to a Google calendar so I can search GC for phone calls. https://play.google.com/store/apps/details?id=app.calltrack
> After much searching, I've come to the conclusion in order for me to have a linux distro fully installed on my phone, I need to create one from scratch.
Okay, let examine the premise. You want to create a Linux distribution that works on a phone.
> So my question is this, where is a good place to have access to information that may assist in my journey.
Well, you could install Linux and learn it to some depth, then try compiling kernels in different environments and processor types, see how that goes. Then you could cross-compile some applications for, say, Android, and test them using Android's resident Linux kernel.
But a full replacement of (just as an example) Android would require a deep understanding of the Android device's hardware and interfaces, storage protocols, infrastructure. For that, you would want to create a lot of Android applications that interact at a low level with the Android environment.
Then merge the two subprojects (Linux kernels and Android interfacing) into one.
A good immersion would be to download the Ubuntu Touch source:
How To Install Ubuntu Touch On Your Android Device
Ubuntu Touch is an abandoned project that had as it goal to do what you're trying to do. However ambitious, the Ubuntu project people found out how difficult this was to do, and they gave up.
One of the reasons they gave up was they discovered that every Android device is different and requires different approaches. This is something I also discovered in my much less ambitious project SSHelper, which is now a sort of SSH server / shell environment / utility tool. Because I use native-code binaries, I found out how many different quirks exist in the Android world and environment.
Anyway, I wish you the best of luck.
For God's sake, will you stop trolling? You're wasting people's time.
All Android apps that support Secure Shell and that don't require root access, use a port above 1024 -- each and every one of them, including mine.
All cases/apps/circumstances in which a Secure Shell server must operate at the user level (there are hundreds) cannot use port 22, and therefore must use a higher port. All prudent website operators who offer Secure Shell on a public-facing server use a nonstandard port. Which part of this self-evident ground truth is causing you the most confusion?
And the linked article is complete nonsense, click-bait with no substance.
You also get the LastPass Authenticator as well so for that $12 a year things are pretty locked down. I know OP's looking for free but I hope he reads these posts and considers it.
> I need to be able to move files to and from(or at least to) a Linux mint 17.2 machine and multiple Linux mint and Android devices
Between Linux computers across the Internet or on the local network:
Set up Secure Shell servers and clients on both ends, i.e. OpenSSH.
Set up encryption keys.
Set up the client so it doesn't need to enter a password for the server:
$ ssh-copy-id username@server-name-or-ip
Configure the server so it rejects password logons -- edit /etc/ssh/sshd_config, disable password logons.
Open port 22 on the server's router, so you can access the server from the Internet. Do not do this until you have disabled password logons.
Now you can log onto the server from anywhere in the world with complete security. To transfer files from a source directory on the client to a dest directory on the server:
$ rsync -av /source-path/ server-name-or-ip:/dest-path/
Yes, it is as simple as that. Rsync can also be used for local backups - it only copies changed files. To completely synchronize the backup image, meaning delete any files on the server that are not on the client, add "--delete" to the rsync command line.
To transfer files from/to Android, install my Secure Shell app SSHelper. Free, open source, no ads, no "get pro" BS. SSHelper hosts shell sessions and allows all the usual Secure Shell modes (rsync, sftp, scp, etc.), and lets you browse your Android device from a Linux desktop with a file explorer. Just type this into the file explorer's address bar:
sftp://(Android device name or IP)/
I have the portable release, 7.8p1. This has been an issue for some time now -- lots of people would like to be able to compile OpenSSH for Android but the code base has a bunch of small errors that don't seem to affect x86 compilation (for some reason) but grind the process to a halt on an ARM cross-compiler.
It's very frustrating -- I have a well-known app called SSHelper that I would like to update, but editing the source, tracking down bugs and compiling OpenSSH for Android is a huge time-waster.
It's especially frustrating because OpenSSH is a really terrific project and set of tools. Apparently not enough people submit the source to a cross-compiler for this problem to be well-known.
Do some troubleshooting:
Check that the server is accessible: ping (IP)
Check that the SSH port is open: nmap (IP)
Check the details of the connection attempt: ssh -vvv (IP)
Make sure the server is listening on the port you think it is. My Android SSH server (SSHelper) uses port 2222, because it runs at the user level.
Yes, turning them off would be the recommend way if using Google Authenticator. But other apps do have a backup system like you are talking about, such as LastPass Authenticator or Authy
If you like Google Calendar, you could use Calendar Notifications Plus or similar app to take over some or all of your calendar notifications.
Of course, you should review your notification preferences in the app (general and per calendar), as well as double check them in the desktop browser version.
I can't tell from your post what combination of properties you're after, but my Android app SSHelper offers an SSH shell login and command-line session, as well as supporting bidirectional file transfers using SSH methods like scp, sftp and rsync. Free, no ads, no "get pro", open-source.
The answer is that you don't add commands/utilities to Busybox, you have to add them to the system that hosts Busybox. Busybox is not directly extendable as you're thinking -- it's a single, unified binary with a fixed number of functions whose steering is controlled by symlinks. If Busybox is called via a symlink with the name "ls" then Busybox knows to run its internal "ls" function.
How do I know this? My Android app SSHelper does this the same way. My app includes Busybox, and has some commands beyond what Busybox offers, but I do this by including separate binaries for those commands, not by trying to extend Busybox.
I can't speak for the internal configuration of Termux, but I do know it would in principle be easy to add commands to the existing set.
Why don't you ask Termux? Termux FAQ
It's also missing from the Play Store.
I wanted to recommend SSHelper, but sadly it has a farewell message at the top, with a link to its homepage with all of the details.
> Able to copy files from my phone to computer, but not vice-versa via MTP.
Do whatever you can to avoid MTP, it's not suitable for what you are doing, or any serious bidirectional file transfers for that matter.
There are many much better alternatives, including my own SSHelper (free, no ads, open-source), which uses a WiFi connection to serve Secure Shell connections and a much better way to transfer files. With SSHelper you can open a file browser on the Linux desktop and browse your Android phone's filesystem, dragging and dropping files and folders bidirectionally.
Use my app SSHelper. SSHelper is free, no ads, open source. It runs an SSH server, so you can transfer files using sftp. Once SSHelper is up and running, open a file explorer and type this into the address bar:
sftp://(device IP):2222/sdcard/
The file explorer will then show the Android's file system. Read, write, copy and so forth. This is way faster and more efficient than using a USB cable and MTP.
I prefer using Wear Codes https://play.google.com/store/apps/details?id=org.codechimp.qrwear as it works even when disconnected from phone (unlike Stocard).
> I knew having consistent UIDs/GIDs was an option but I wanted to avoid having to rely on it as I have multiple machines in my family with different ids and I thought there was an easier way to map them without having to tinker every one of them.
The reason for the UID/GID approach is that these values are all numerical below the public names, and for security they all have to agree with each other.
> What is the purpose of all_squash and anongid if I have to map the ids anyway?
Don't know, but I'm suggesting that you not use NFS anyway. Secure Shell is a better choice, more secure, and way easier to set up. My Secure Shell tutorial: How to Use Secure Shell
> The idea was to allow everyone who comes to me to access all the public files easily from their phones, tablets etc
Unless they're running Linux, that eliminates NFS all by itself. On the other hand, most tablets and phones can be equipped with a way to interact with Secure Shell. My Android app SShelper (free, open source) is just one of several examples.
That's because Android doesn't let you write to the external storage device. You have options:
Take the card out of the Android device and write to it on a laptop/desktop.
Make Android "adopt" the card fully, so it appears as part of Android internal storage.
Run my Android app SSHelper and transfer files wirelessly (doesn't solve the external storage device problem except indirectly). My app is free and open-source.
These issues are discussed in depth in the SSHelper Home Page.
> I just don't know what app I could use on my pop bu one to open the text file since I havent thought of this before. I'll search around and thanks again.
To transfer the file to your Android device, use my Android app SSHelper. It's free, no ads, no "get pro" bullshit. Once it's installed, on Linux browse your Android device using a file explorer with this URL:
sftp://android-device-name/path/
To avoid having to specify the nonstandard SSH port my app must use (or another port of your choosing), add a file named "config" to your user .ssh directory with this content:
host (url or IP of Android device) port 2222
Then choose an Android app that can manage your text-file content and purpose.
If you use Lastpass, I'd suggest you use Lastpass Authenticator. It backs up your tokens to your vault, so your codes are still there when you reinstall/change devices.
Unfortunately, there's no way to restore your codes in Google Authenticator. You'll have to use recovery options (like printed backup/recovery codes) until you can get a new authenticator app set up.
You need to sideload a SSH server like this one: https://play.google.com/store/apps/details?id=com.arachnoid.sshelper
I'm using it since I own my Shield (2015) and it works great.
You can connect via SCP or command line (Usefull for hacking)
What kind of apps do you want recommended?
For ideas and sketching out ideas/designs, stick with Samsung Notes or S-Note, mainly because it has a very wide support for handwriting and drawings.
I find that writing and drawing your ideas out helps way way way more than typing it through an on-screen keyboard, which is why most other notebook type apps aren't quite that effective due to the limited SPen support.
If you're looking to do development on the device, there's a few IDEs on the Play Store that you could download. I primarily do Android development, so I haven't tried out any web development apps. Can't recommend any there.
Not sure what type of recommendations you're looking for...
I do recommend this keyboard when coding on device though: https://play.google.com/store/apps/details?id=com.gazlaws.codeboard&hl=en
After doing this for a long time I have come to the conclusion that no "single" way is the best way. Take a little from everyone and fit it in to what works best for you and how you think.
If you get a chance read Terry McCarthy's book on cross. He's a lifelong PD and while he incorporates much of the Pozner and Dodd methods (and the 3 rules) he does it from the perspective of a defense attorney.
As for actually prepping crosses, for the last 5 years or so I have been using the Simple Mind app. https://play.google.com/store/apps/details?id=com.modelmakertools.simplemindfree&hl=en
Rather then thinking about cross in a linear fashion, the simple mind app allows you to create flow charts so you can pivot to any topic without shuffling through papers and perhaps losing your place.
https://www.amazon.com/MacCarthy-Cross-Examination-Terence/dp/1590318862
Calc+ hasn't been meaningfully updated in a good while now. Try CalcNote. I moved to it from Calc+, it's much better, IMO. With Calc+ you can't copy the result of the calculation. Also you can't use the result in any operations. You can't take the result and subtract from it, or add to it. You can't write any comments next to calculations. In CalcNote you can do all of that plus more.
Of course not, but that doesn't make it ok. Not being in the pick phase is bad for your team, and most of the time leads to miscommunication and a bad lineup.
Queue times do take quite a bit and you may need to use the bathroom or make coffee or both. But you are a big boy and you can wait for the loading time between accepting and pick phase (which is super short these days anyway, thanks volvo) pick first and then finish up whatever you are doing.
Also, 9 outta 10 is a great app, check it out
To you and /u/DTSIAN: Give me a template of what you want. I had a similar problem especially this part
> put in ones that I use often so I don't need to go through two menus
So I learned the code and made one for myself (Play Store link). It's open source (here) so you can edit it yourself to your liking or give me a photoshopped template of what keys you want and I'll make an apk for you.
Wear Codes will do this in conjunction with Tasker https://play.google.com/store/apps/details?id=org.codechimp.qrwear
FAQ explains how to set it up here http://wearcodes.codechimp.org/
I found MTP totally unusable on my Debian Testing system.
However, this very day I have discovered the perfect solution.
Install SSHelper and add your desktop computer's public key to it.
Add the following lines to /etc/ssh/ssh_config
host halle port 2222 Compression yes
I had expected compression to slow things down given the limited power of my 'phone's CPU, but it makes a 6M file transfer in under 7 seconds as opposed to about 18 uncompressed.
(replace halle with your 'phone's hostname or IP address)
Then install SSHFS on your desktop. And it's as easy as
sshfs -o your_uid halle:/storage/emulated/legacy /media/androidcard
Where your uid is the uid of your userid on the Linux box, halle is the name of my Moto G (you'll need to use the IP address if it isn't in your hosts file), /storage/emulated/legacy is the path to my virtual SD card and /media/androidcard is the directory you want to mount it on.
As long as your userid has write permission for the mount directory, you don't need root to mount it. Unmount it using:
fusermount -u /media/androidcard
[edit] Added uid allocation to the mount command.
This right here.
While I'm a fan of Pydroid the whole "typing on your phone" thing is such a detriment.
Although I do recommend Code board, I wouldn't say it makes the experience "pleasurable" but it does bridge the gap.
I've made a major update to CodeBoard (a keyboard for coders). Now you can save snippets and use Fn keys! Check it out and let me know if you have feature requests :)
It's open source on GitHub so feel free to add issues or pull requests
Do it this way:
Plug the phone into your computer using a USB cable.
The phone will appear in your file explorer, click the icon.
The phone will ask for permission to allow file transfers, reply in the affirmative.
Browse the phone's file system, go to DCIM and browse its contents (which I just did).
> I've managed to ssh into my phone by installing an app named simple-ssh
My free Android app SSHelper would have worked -- I use it more often than the above method, I only posted the above method because it's simpler to set up.
I was referring to the infrastructure and user applications. I have some Android apps at the Google play store, they're primarily Java with one notable exception (SSHelper) which uses a lot of native code and is a pain to maintain for that reason.
> Most apps still use native libraries outside of java.
This is quite false. Visit the primary development environments like Android Studio, see whether they manage native code without a big struggle. Not saying it can't be done, since I did it, but it's certainly not something that's desirable or recommended.
My Lastpass Authenticator app lets me approve via my watch. But the only thing that I use LP Authenticator for is to get into LP itself. For allo other 2FA, I use Google Authenticator, so I can't promise it would work for your needs. However, it's supposed to be a general purpose 2FA app.
"LastPass Authenticator offers effortless two-factor authentication for your LastPass account and other supported apps." https://play.google.com/store/apps/details?id=com.lastpass.authenticator
> Is there maybe an even simpler solution without adb?
Yes, there is, much simpler -- use my free Android app SSHelper, which accomplishes this wirelessly. With SSHelper you can use a host file explorer to browse the Android filesystem, move files, copy, back up and so forth.
SSHelper is free, no ads, not "get pro", and open source.
> Phone = Samsung S10e - Android 10
There it is. Android 10 is killing your process.
Over the years, newer Android versions have gotten more and more aggressive about killing processes that seemed to be hogging the CPU or using up battery power.
The remedies:
Enable developer mode and select "stay awake" mode.
Put your process in the list of apps that should not be interrupted.
If your process has no associated application, that's a problem. To solve this, install my free app SSHelper, put it on the list of apps that are allowed to function without interference, and perform the transfers wirelessly. That's easier in any case.
> So i can root the board (snapdragon 820 development board, which has Android Pie) and insert a device driver, right?
Yes, in principle. The process can at times be convoluted, but most Android devices allow it.
> The driver has to be written in C? Or Java?
Drivers, which interact with the kernel, must be written in a language able to interact with the kernel and hardware directly, which excludes Java. This is why my Android app SSHelper does everything important in native-code binaries instead of Java. There is a Java user interface but the program's essentials are written in C.
> I am trying to crosscompile ssh for my Pocketbook 3, but it seems, that I need a version of ssh, that uses libcrypto.so.1.0.0.
I apologize for changing the subject, but you do not want to use this SSL library -- it's vulnerable, it is no longer being maintained, it has known security flaws ... just don't use it.
OpenSSL 1.0.0 Deprecated : "Support for version 1.0.1 ended on 31st December 2016. Support for versions 0.9.8 and 1.0.0 ended on 31st December 2015. Those versions are no longer receiving security updates."
That's not even the whole story. Elsewhere are accounts describing the forced retirement of this version for its security flaws. In fact, Google told me I had to update the SSL library I use in my Android app SSHelper or they would bar it from the Play Store.
So ... don't do this. Think of a different way to get to your goal.
Again, I apologize for wandering off-topic.
The remedy is not to try to use MTP, it's very inefficient and flaky. Use my Android app SSHelper. SSHelper runs an SSH server accessible on the local network -- you can open a file explorer on your laptop/desktop and enter:
sftp://(Android device IP or name):2222/sdcard/
And you're browsing the Android device's filesystem -- copy, paste, drag & drop, all the usual file explorer functions. You can also use rsync, scp and others, or log into the Android device for a shell session.
SSHelper is free, open source, no ads, no "get pro" BS.
An x86 host can deliver a binary VM to a client that runs a different processor. There's no problem with that, because once running, the only connection between the server and client is the network, and the network itself is processor-impartial.
This is why my app SSHelper, running on an Android device, can perform detailed transactions with a server running any processor.
In fact, a server running processor A could communicate with machines running processors B, C etc. and deliver the right native-code VMs for each.
If you're still looking for a suggestion, I highly recommend Calc Note (including the pro version). It can handle octal, hex, and binary, in addition to decimal, and even work with mixed equations. The one hitch is the answer defaults to Binary, but if you tap on it you can see it in multiple forms.
The other nice thing about Calc Note, that sets it apart from every other calculator I've tried, is that it's set up like a notepad, where you can enter equations, functions, and text in one column and see the answers in the other. This lets you modify part of an equation without having to completely redo it, see multiple equations side by side, set up variables, and actually label what you're doing. It's a huge improvement over calculators that try to mimic more basic physical calculators with limited displays. It also lets you save worksheets, if you want to keep your work around for later reference or if there's a system of equations you keep coming back to.
Finally, the Dev is super responsive and helpful, which is always a plus.
https://play.google.com/store/apps/details?id=com.github.quarck.calnotify
Sorry, meant to reply to this when you posted. This app is very configurable and does exactly what I need. Hope it works for you.
Edit: I meant to add that I known you are using this app but that it has an option to bundle notifications on Android 6+ that fits what I think you want. Link provided for the curious who want to check out the app.
Several ways. I wrote a wireless method called SSHelper, open-source, free, no ads, uses Secure Shell.
With my app you can enter this in the address bar of a file browser:
sftp://android-device-name.local/path/
Assuming you have Avahi (Zeroconf) running, or:
sftp://android-device-IP/path/
If not. Then you can browse your device, upload, download and such.
You can also use my app to log into your Android device just as though it was a Linux server. Which it sort of is.
To connect from the Linux install to Android (not your original request), use my Android app SSHelper. It's free and open-source, no ads, no "get pro" annoyances. It provides all the expected SSH services plus a login session capability.
For the reverse case (Android to Linux), maybe you haven't started the SSH server on the Linux install. Try this:
$ sudo systemctl start sshd $ sudo systemctl enable sshd
To establish that there's an SSH server running:
$ nmap localhost
Look for port 22 open:
22/tcp open ssh
American Airlines has a dedicated WearOS app. I believe United/Delta do, but don't quote me. I know Southwest Airlines does not.
The following link is an app I have been using, and it works well. You essentially just scan the QR code and it puts it in the app for you to pull up later. This might be helpful for any airlines that are not supported via their own app. It will be only the QR code, but thats good enough and all you need when boarding
https://play.google.com/store/apps/details?id=org.codechimp.qrwear&hl=en_US
I develop Android applications using a mixture of languages -- example (SSHelper) -- so I create a framework in Android Studio and develop my native-code binaries outside the Android Studio environment.
The usefulness of Android Studio to your projects depends on the degree to which your applications are reliant on Android's ecosystem and how much on native-code binaries. But you will need to create an Android framework regardless, and Android Studio is useful for that.
> I started a openssh server in my Linux desktop.
Actually, most Linux distributions run this server by default. And a good thing, too -- SSH is a very useful utility for all sorts of things.
> Copy files from the server to my phone?
Certainly, and easy -- just use my free app SShelper as the SSH server on your phone. No rooting required.
> While copying iso file from my phone to the drive ... It only copied 175.1Mb...?
Yes, very familiar with this. Let me guess -- the device runs Android with a recent Android version installed. If so, the problem is that Android is aggressively killing your server to save battery power.
The solution to that is to tell Android to leave your application alone. Do it this way:
Access Settings ... Device Maintenance ...Battery ... Unmonitored Apps. Add the server app to the list of apps that aren't to be killed by Android.
I know this because I have a free Android app called SSHelper that suffers from this Android behavior when people try to use it for serious file transfers.
> Anyway, what is the best way to reliably copy files between linux and android devices?
Use my Android app SSHelper -- it supports all Secure Shell utilities including rsync. It's free, no "get pro" bullshit, there are no ads, and it's open-source.
Once your Android device has a wireless connection on your LAN and my app is running, you can open a file explorer and enter: sftp://android-device-name.local
to browse the Android device's file system.
Or, if you prefer, you can use rsync from the command line for larger transfers.
EDIT: clarification
> While copying iso file from my phone to the drive ... It only copied 175.1Mb...?
Yes, very familiar with this. Let me guess -- the device runs Android with a recent Android version installed. If so, the problem is that Android is aggressively killing your server to save battery power.
The solution to that is to tell Android to leave your application alone. Do it this way:
Access Settings ... Device Maintenance ...Battery ... Unmonitored Apps. Add the server app to the list of apps that aren't to be killed by Android.
I know this because I have a free Android app called SSHelper that suffers from this Android behavior when people try to use it for serious file transfers.
Most likely this isn't about Linux, it's an Android problem. Recent Android versions have begun to be very aggressive about closing applications it thinks are wasting CPU cycles or memory. This is just a guess about a high-probability cause.
> I can sometimes reproduce the error with ssh (not scp) by connecting to my phone and running a command that will produce a lot of data (e.g. dd if=/dev/urandom | base64).
So this just puts out random characters, then the connection dies, yes? That increases the likelihood that it's Android killing off the connection.
One remedy is to tell Android to leave the server app alone. Go to Settings ... Device Maintenance ... Battery ... Unmonitored Apps and select the server app, this will make Android keep hands off.
I know this because I have an Android SSH server app called SSHelper that does the same thing unless this configuration step is taken.
Again, this is just a guess. There are a number of other possibilities.
I did actually (no thanks to the OnePlus forums). What worked for me is downloading a separate app and I haven't missed any notifications so far:
https://play.google.com/store/apps/details?id=com.github.quarck.calnotify
Not the extension.... You need Lastpass Authenticator App for IOS or Android. It is the same as Google Authenticator app. Difference is that you can set up PIN or fingerprint.
Android: https://play.google.com/store/apps/details?id=com.lastpass.authenticator&hl=en
IOS: https://itunes.apple.com/us/app/lastpass-authenticator/id1079110004?mt=8
I'm not sure if this is exactly what you're looking for, nor do i know about the export options, but found these.
https://play.google.com/store/apps/details?id=com.modelmakertools.simplemindfree
https://play.google.com/store/apps/details?id=com.dripgrind.mindly
https://play.google.com/store/apps/details?id=com.arachnoid.sshelper&hl=en
You'll need a sftp/scp client on your PC, FileZilla works.
That's for connecting from the PC to the phone for the file transfer, if you want to go the other way there are similar solutions, but they are honestly more of a pain to setup.
This is possibly the most confusing post I have ever read. You mention Windows, Linux and Dropbear, WinSCP and servers for SFTP and SCP (which aren't really separate servers). Then you ask what options you have on Linux.
I would love to answer, but first you must ask a clear question.
Linux typically runs OpenSSH, which provides all the Secure Shell protocols, so if you try to make contact with a Linux machine so equipped, you will have any Secure Shell service you care to have.
I think Dropbear serves all these protocols as well, but it's been so long since I have tried to use it (and since I removed it from my Android SSH server program SSHelper) that I honestly don't remember. But I think it offers all the same protocols, so you should have SFTP, SCP, terminal sessions, and the ability to use rsync to synchronize filesystems.
One difference I recall between Dropbear and OpenSSH servers is that the former doesn't get along with a Secure Shell utility called "ssh-copy-id", which is one of the reasons I stopped supporting it in my programs.
As to your title, "Mounting/navigating remote filesystem using scp protocol?", that's not what SCP is for. That's what SFTP is for. To see what you can do with SFTP, enter this into a Linux file browser:
sftp://machine-name
Which, based on your post, it seems you already know about.
Most Linux file browsers will respond by showing a listing of all the directories and files on the remote system, and allow you to add, delete and rename directories and files, just as though the remote system was local.
Let's see what it uses (per the web play store listing):
This one makes sense :)
It puts contact names and numbers in to the calendar entries, so it needs access to your contact list to do that.
Obvious :)
I don't know why it would need access to Storage really, it doesn't pull in any contact pictures or anything like that.
Obvious :)
Google doesn't say what 'Other' might be so it's hard to say.
If I look at the permissions on my phone it doesn't list the media ones. Of course, in Android 6+ you can always block that access if you feel it's too much.
> Ignoring the numbers of files, 16GB over 5 hours is fairly typical of consumer connections for upload. That's just over 7Mb/s.
Yes, but my theory is that the OP is transferring an archive that includes only a few changed files, and scanning and comparing directory trees would be much more efficient.
> Does Rsync compress files be default, or do you have to use the -z switch?
One must use the -z switch, but on some networks, it's faster to just transfer the uncompressed files rather than take the time to compress and uncompress. This is determined on a case-by-case basis.
> That should speed things up in addition to your method for skipping unchanged files.
It's not my method -- I admire the person who wrote rsync, but it wasn't me. I can explain how to use it efficiently, and I've written an app ( SSHelper) that extends its power to the Android platform. I think it's the most efficient directory synchronization method I have ever seen, and it's secure as well.
I can't help with item (1) because it's most likely a graphics issue, possibly hardware or driver related, something not easily sorted out from a distance.
Item (2) can be solved by installing a decent Unicode font with many more characters -- example Bitstream Cyberbit, a font I have used successfully. The basic idea is to have as complete a Unicode character set as possible.
As to item (3), I assume you're transferring files from your tablet by way of a USB connection or by Bluetooth. These should be fast in principle, but many things can go wrong. Have you tried SSHelper? It provides file transfers using the Secure Shell protocols through a Wifi connection, and it can be fast if set up correctly. It's free -- SSHelper. Full disclosure -- I'm the author of SSHelper.
If any of you need to code on your phones, check out CodeBoard. It's a keyboard that has all the symbols you need to access quickly. It's open source too.
> What needs to be done to help encourage cooperation between Free Android apps and Free desktop software?
I have one key idea that would really help -- an easy way to communicate between desktop/laptop machines and Android. The simplest solution would involve providing both OpenSSH and Zeroconf at the Android system level, always available, on all Android devices.
Several years ago I wrote a free Android app (SSHelper) that's a partial solution to this problem (it offers both OpenSSH and Zeroconf), but because it runs at the user level it's somewhat of a hack -- it would be much more effective at the system level where it belongs. Even though I wrote this app, I would drop it in an instant in favor of a system-level install of OpenSSH and Zeroconf, which together would really open Android up to the desktop.
Sometimes true, but for balance, here's my documentation page for SSHelper, my best-known free Android app. It runs to thousands of words and covers an enormous amount of detail.
There are some good Android apps if you use that platform.
Simplemind or Mindomo are the better ones I've found, but there are a lot to try.
I do something similar, but using the SSHelper app through USB tethering. It's very well made and GPL. Works much better than MTP since it actually works like a decent filesystem in the other end instead of the one op at once, have to replace the whole file slow crap that MTP does.
> Does my tablet have to be connected to the PC via USB, or can this be done over LAN?
Is it an Android tablet? If so, use my free program SSHelper, which allows you to use SFTP to communicate with your laptop./desktop environment.
The USB-cord method will work, but it's harder to set up to work reliably.
> I assume I could get the bash script to automate it?
Yes.
> Something like "check every two hours, and if (a) the tablet is connected and (b) the files have changed, sync silently and without prompting me to overwrite older files"
Not a very good idea. Scenario: you have just accidentally erased your magnum opus, on which your entire future depends, and (Murphy's Law) the script chooses that moment to obediently erase the backup copy as well.
Better to click a desktop shortcut when you're done creating/updating your work, as a conscious, deliberate act.
I'm not sure if you're just looking for a simple word search or something more structured. A mind map tool like SimpleMind might be what you're looking for.
> It is possible to run dropbear or any other ssh server as unprivileged user?
Yes, but using a port number > 1024. There are many use cases where this is the best choice anyway, so it doesn't present an obstacle.
But some advice. For maximum usefulness and compatibility use OpenSSH, not Dropbear. Imagine you issue this command:
$ ssh-copy-id username@hostname
If the server is Dropbear, it won't know what to do and the operation will fail. If the server is OpenSSH, the operation will succeed. This is just one example. In my Android project SSHelper, in development I tried to get Dropbear to function correctly in an epic struggle. I finally gave up and used OpenSSH instead, simply because it maximized the number of operations people expect from an SSH server.
> So I've been trying to copy files with rsync after mounting my phone with simple-mtpfs.
Don't use that protocol. Use an SSH server on the phone. Mine is SSHelper, free, open-source, but there are several available.
"Coder Board" is the best i found function wise. Highly legible, fast, open source, no ads, Has all the buttons you have on a hardware keyboard (F keys, Esc, tab...etc), commands (Like Ctrl + C to copy) & editable snippets. Highly customisable, any button can be added(even whole language buttons individually). It's very minimalistic though, which can be a turn off. It can't be made to look like the keyboard but it will probably function better than any keyboard you'll find. I use it with termux and to code on my phone.
I plan my builds using a calculator on my phone. It lets me put text above the numbers, which makes it easier. (I use .9 to represent the Special book.) If the total is 28.9, then all my Specials are planned.
I don't choose what levels I'll take things, but I know what perks I plan to take. I pretty much always join RR and BoS, but I don't always join MM, so I decide that. I also consider when I'll do Automatron and Nuka World. I usually save Far Harbour for last because I like it at higher levels. (I've done a CoA Inquisitor run once and it's not my style.)
Combines a calculator and a notepad, which I find bloody useful when doing repetitive calculations. You can change individual components of the calculations afterwards. I use it for carpentry and house renovations all the time.
https://play.google.com/store/apps/details?id=com.gazlaws.codeboard&hl=en&gl=US
I customize the buttons and look. I code a lot in phone which requires many symbol like bracket, colon, semicolon. so i put them in top row.
Yeah, okay, that's a much more difficult problem that I realized. The wireless method might be easier -- use my free app SSHelper and access it from a Wine network connection.
Use my free Android app SSHelper. It runs an SSH server, so you can browse your phone using a Linux file explorer by entering this in its address bar:
sftp://[machine name or IP]:2222/sdcard/
Copy files to and from the phone.
No USB cord required, no ads, open source. The SSHelper Home Page
I use an app called Tap Log to easily enter some data for custom addable variables. It lets you export csv as well, for easy analysing.
https://play.google.com/store/apps/details?id=com.waterbear.taglog&hl=nl&gl=US
Use wireless for this, not the gvfs approach, which is a really terrible filesystem -- slow and unreliable.
My free app SSHelper is an SSH server that runs across a local WiFi connection, that you can use to back up your Android files to a laptop/desktop/whatever on the local network. Free, no ads, open source.
My free app SSHelper is an SSH server that runs on an Android device. It gives wireless connectivity and the ability to browse the Android device's file system using a Linux desktop file explorer, things like that.
Free, no ads, open-source.
Use my free app SSHelper. It's an SSH server that you can access from Linux like this:
Open a file explorer.
Enter this into the file explorer's address bar:
sftp://android-devicename-or-IP
Once you have set up my app and it has a wireless connection on your local network, the Linux file explorer can browse the Android file system using commands like the above, copy files bidirectionally and some (but not all) of the usual file activities.
There are some things that the Android filesystem won't allow, because of its primitive nature, but all the important ones are present.
SSHelper is free, there are no ads, no "get pro" BS, and it's open-source. Here's the SSHelper home page.
> Can i run Servers on Linux from an Android Phone?
Yes, I know because I do it all the time. My free app SSHelper does exactly this. Termux does this also, same way.
There are many other Android apps that do this, many of which have available source (mine does, and Termux as well -- both open source).
It's not obvious what the layout is, or your goal. If your computer is connected to your router, then you already have a network connection.
Are you trying to transfer files from your computer to your phone, or the reverse? If so, install my free app SSHelper, which I designed for just this purpose.
SSHelper is free, it is open source, there are no ads and no tricks.
> I'm using MiX File Explorer on my Android phone ...
Wait, earlier you said you were on an Xubuntu install, so is this about Xubuntu or Android's Linux version? Or is the point to transfer files from Android to (or from) a desktop Linux version? If the latter, use my free Android app SSHelper. Once this is installed on the Android device the instructions I posted earlier will work between the Android device and a desktop Linux version.
Oh, that is so annoying. I should have noticed that it was a paid program. Oh, well, even though I think Termux is a better environment for what you want to do, my free app SSHelper can provide the server function you need (and autostart at boot). It's easy to set up, in fact it more or less sets itself up, all you need to do is add a real password.
Termux should fill this bill if configured correctly. It will take some familiarization.
My free app SSHelper can do this too, but the truth is, Termux is a better app and environment. My app comes preconfigured for SSH file transfers, and Termux needs to be configured for SSH serving, but again, Termux is a more flexible environment and a deeper learning experience.
Correspondent u/Sw1ftyyy points out that Termux can be activated at boot with Termux:Boot.
My free app SSHelper shares a clipboard process between the Android device and a desktop/laptop. The desktop/laptop accesses the Android clipboard by way of a Web page generated by my app, which offers two-way access.
> Is is bad/can i break the system by installing in Linux Mint Mate another (one more ) file manager , just for basic file management , cuz i kinda don't like caja
No problem -- I always install Nemo, my personal favorite file manager, and it doesn't cause problems or interfere with other file managers. I'm sure this can be done with other file managers.
> Freezing when opening my Android's internal storage
I use my own free Android app SSHelper as an SSH server and I put this in my file explorer's address bar:
sftp://(ip or name)/android-path/
No issues, able to browse the Android filesystem from my laptop.
My free Android app SSHelper uses Secure Shell to make the Android device accessible to a desktop/laptop. Because of SSHelper you can enter this into the address bar of a file explorer:
sftp://(IP or name)/path on android device/
You can then explore the Android device as though it was a local filesystem.
This is a free mind mapping website https://www.mindmaps.app/
I don't know if there's any with an app included but I have always used this one https://play.google.com/store/apps/details?id=com.modelmakertools.simplemindfree
What is your goal? Do you need to transfer files to and from? I ask because there are much better ways than ADB.
Many, including my free app SSHelper. But there are many others.
Install my free Android app SSHelper and use the provided wireless connection.
Free, open-source, no ads, no "get pro" BS.
> But even though Debian allows multiple-architectures
No single Debian installation allows multiple architectures, apart from a very slow emulator application, which is more a circus stunt than a way to get cross-processor-compatibility.
Debian can host cross-compilers, but this doesn't mean it can run any result of a compilation.
Nevertheless, if the program has no graphical interface, and if you installed all the Android toolchain components, then you could compile an Android-compatible binary as I do for one of my Android apps.
Jeg har ikke sluttet med kaffe, men har redusert inntaket fra ca. 4 kopper om dagen til ca. 2 kopper om dagen, som jeg er fornøyd med. Jeg har også forskjøvet inntaket til tidligere på dagen (hovedregel: ingen kaffe etter kl 12 på dagen.)
Hodepinen du opplever er bare de vanlige abstinens-symptomene de alle fleste får når de går cold turkey fra koffein. De går over etter hvert.
For å unngå dem helt, kan det være lurt å gå gjennom en gradvis nedtrapping.
F.eks.:
Etter f.eks. kl 12, bare drikk koffeinfri pulverkaffe. (Det smaker piss, men reduserer likevel kaffesuget og hjelper med å få ned det totale koffeininntaket.)
Drikk annenhver kopp kaffe/te. (Te har typisk 1/3 av koffeininnholdet til en vanlig kopp kaffe.)
Bytt til en termoskopp som holder varmen lengre (type Circle K-koppen, med lokk og dobbel bunn.) Da blir det lettere å drikke den samme koppen kaffe over en lengre tidsperiode.
Logg kaffebruken din. F.eks. i TapLog på Android, eller i en liten notatbok e.l. Da blir det lettere å se trender kaffebruken (drikker du mer når du er stresset? Når du kjeder deg? osv.), og lettere å se fremgang (f.eks. et lavere antall kopper per uke, selv om noen dager er "outliers".)
On tiny systems Busybox is a blessing. I used it on my minimal Linux environment in my Android app SSHelper. A full set of utilities would have been impossible because of size issues.
> BusyBox is the complete antithesis of that [make each program do one thing well].
That's certainly true -- it's a hack. A clever hack, but a hack nonetheless. :)
The other day I found out my dumb, cheap security cameras all run Linux and have Busybox installed. They're tiny, just a few ounces, but someone took one apart and connected up a terminal -- Linux! Command line! Normal utilities like Dash!
I could hardly believe it.
> What can I do to transfer files off by phone to my PC?
Install my free, open-source no-ads app SSHelper on your Android device, then use it to bidirectionally transfer files as well as browse the Android device with a Linux desktop file explorer.
use Lastpass authenticator it has backup option if you have LastPass account
Give it a try :https://play.google.com/store/apps/details?id=com.lastpass.authenticator&hl=en
I guess by then, that feature had become a bug. :)
I always install an SSH server on my systems anyway, I find them very useful. Even one of my Android apps has one.
> s there really no way to do it?
Of course there are ways to do this. Start with my free Android app SSHelper, which is an SSH server and terminal session app.
There is also Termux, a very good free program with a similar purpose.
Even though I wrote SSHelper, if I wanted a good flexible utility to communicate between Android and Linux, I would choose Termux over my own program (which is mostly for efficient cross-platform use of rsync and sftp). The authors of Termux have created a rather complete Linux environment on Android that needs to be experienced to be believed (package manager, many options, robust).
Both these programs are accessible from Linux, and can also be used from Android to access a Linux desktop.