Hot answers tagged

5

Android turns off some of CPUs and/or don't let apps use them when it's dozing. It's achieved through Linux kernel's Control Groups. One of the cgroups is cpuset that controls which CPU is assigned to which processes. Android creates multiple descendant cgroups in cpuset e.g. background, foreground, system-background, top-apps etc. Apps are normally in ...


4

You can setup a Task in Tasker which you can invoke from command-line. The task can be setup with actions of your liking in combination, such as show a notification and vibrate with XYZ pattern. When setting up a task in Tasker, setup the action like this: Alert → Notify Fill up the fields as you like. Make sure to enable Allow External Access setting ...


1

First on Android each app has an own user-id/account, hence u0_a312is the user of the app that runs the ssh server. Regular Linux user accounts like myuser don't exist on Android. Based on the path /storage/6632-6330/ I would assume that you are trying to access the external sd-card. On a non-rooted device write access to ext-sd is not possible on Android ...


1

We have authenticated login, encrypted archive, rsync and multiple transport protocols (including HTTP, WebDAV, FTP and SSH/SFTP) in one tool: rclone. It supports local filesystem and a number of cloud storage. Additionally it does have all of the four mentioned servers builtin. It means that all you need on both sides is rclone. No root access is necessary ...


1

While I found no solution using SSHelper, it is indeed possible using Termux and the Termux-API. No root is required. After installing the Termux app, one has to install the Termux-packages openssh and termux-api: $ pkg install openssh $ pkg install termux-api I also had to install the Termux-API app from Playstore or F-Droid to get it working. The sshd ...


1

For me with an Android 4 device reboot doesn’t have a -p option, but there’s an alternative: su -c "am start -a android.intent.action.ACTION_REQUEST_SHUTDOWN" This is what’s used by Android as well, see AndroidManifest.xml. If you want to perform a more graceful shutdown broadcast ACTION_SHUTDOWN first, e.g.: su -c "am broadcast android.intent.action....


Only top voted, non community-wiki answers of a minimum length are eligible