Hot answers tagged

4

/storage/emulated/0 is usually mounted in a way that prevents execution of programs from this location. Therefore even with a set executable bit for your script you won't be able to execute it directly. Of course you can still execute it via sh: /system/bin/sh /storage/emulated/0/test.sh Alternatively there is the directory /data/local/tmp which is ...


3

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 ...


2

There are several solutions: 1. Replace adb binary (see comments by Curious Mind) Replace the adb executable on the PC with one that calls the original adb executable and print all commands. This variant is pretty limited as it only works if the program calls every command in the staly adb shell commandxyz. If it opens a shell and sends multiple commands ...


1

This was due to missing udev rules on my laptop which I'd forgotten I'd set up on my tower. You can find information on setting up udev rules elsewhere, but I'll post the exact steps I took here (which I got from my company's internal help wiki - remember we use weird hardware, so I can't guarantee this will work in all cases). Create a file at /etc/udev/...


1

1. Find out the package names In order to uninstall the apps, you need their package names. Within an adb shell, execute: pm list packages Take note of all the package names that you want to uninstall. (PLEASE be careful. DO a backup first. Many if not all sources say it's oh so easy to re-install apps because you don't really fully delete them and only ...


1

I've also had the same problem with losing all WiFi networks when upgrading LineageOS, so I've written a tool which will convert your old wpa_supplicant.conf to new WifiConfigStore.xml (and I'm not using Google accounts or other "upload all my stuff to some cloud" privacy nightmares) You can find it here: https://github.com/mnalis/android-wifi-upgrade Even ...


1

My solution to Matifow problem was ... I cannot extract the token because my device was not rooted. I bought a new microSD and clone in it the microSD from my device. https://askubuntu.com/questions/227924/sd-card-cloning-using-the-dd-command When i put this new card the phone recognize as the old one. I recover photos, media from whatsapp, apps ...


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