Recent Comments
From categories:
page »
PaulSD (guest) 22 May 2017 21:15
in discussion SManager / Scripts » Running a .bat file

Batch files are scripts for Microsoft Windows / DOS based operating systems. Android is a Linux based operating system, so batch files are not supported. You should use a Bourne shell (sh) script instead.

by PaulSD (guest), 22 May 2017 21:15

I would like to ran a script. I wrote the script and it works(tested through adb shell and executing it). Now I would like to add it in SManager so that I can execute it without adb.. In the script-mode, SManager says: "No favourites configured. please set at least one script as favourite." How do I do that? I didn't find an answer in the Manual. In browser-Mode, I can select the script, but there's no option to select it as a favourite.

Maybe I'm dumb: How to create a favourite? by Thomas Heuving (guest), 05 Apr 2017 19:01

Can I run a test.bat file using SManager on my android tablet. I've installed Root Checker, Kingroot. I've also installed SMWidgets, and SManager. I've played around inside but cannot seem to run the file. Below is what i'm trying to run.

@echo off
title Math
color 0e
::this is a test program

set /a sum=10/5
echo %sum%
pause >nul

Running a .bat file by geraldinejnsgeraldinejns, 31 Mar 2017 13:03

good evening,
This is my first approach to this world and I apologize for any errors.

Dovendomi interfacing with a card, through the internet, I am asked the AES-128 encryption, you can with this app?

You can create executable scripts, they can send in Telenet, a series of encrypted commands (I would put the icon on the mobile home)?

telnet xxx. xxx. xxx. xxx 85

(Request Welcome Message Sending)
$ H \ r \ n
(Waiting for answer 'OK ​​\ r \ n' to establish communication)

(Close the relay for 1 second)
$ Cx001s \ r \ n
(Expect a new message 'OK \ r \ n' to know that the command has been sent correctly)

[End example]

Also it is possible to intercept the answers 'OK \ r \ n' and print a message on the screen?

questo è il mio primo approccio, a questo mondo e mi scuso per gli eventuali errori.

Dovendomi interfacciare con una scheda, tramite internet, mi viene richiesto la criptazione AES-128, è possibile con questa app?

Si possono creare degli script eseguibili, che possano inviare, in telenet, una serie di comandi criptati (vorrei mettere delle icone sulla home del cellulare)?

telnet 85

(Invio richiesta messaggio di benvenuto)
(aspetto la risposta "OK\r\n" per stabilire una comunicazione)

(chiudo il relè per 1 secondo)
(aspetto un nuovo messaggio "OK\r\n" per sapere che il comando è stato inviato correttamente)

[fine esempio]

Inoltre è possibile intercettare le risposte "OK\r\n" e stampare a video un messaggio?

script crifrati AES-128 by AwialexAwialex, 16 Mar 2017 16:08
Fred (guest) 16 Jan 2017 22:21
in discussion SManager / SManager Application » CM14 / 7.1 / nougat

Yes, please update to 7.1! Really need this app.

by Fred (guest), 16 Jan 2017 22:21
CM14 / 7.1 / nougat
mankokoma (guest) 27 Nov 2016 07:46
in discussion SManager / SManager Application » CM14 / 7.1 / nougat

This used to be my favorite app. Will there ever be an update for CM14 / 7.1 / nougat? It's a pity to see it abandoned…

CM14 / 7.1 / nougat by mankokoma (guest), 27 Nov 2016 07:46

When I long press on a file and select 'delete'. The menu that pops up includes a tick box 'Remove Configuration'. What is the effect of selecting this box? The file seems to get deleted whether it is ticked or not.

What does "Remove Configuration" configuration do by Oliver (guest), 17 Aug 2016 21:02


How can you use the command rsync? It seems it's not present in Android (Lollipop), I have an error message when I try to use it and I haven't found it in Busybox.

Thank you.


I have a question regarding the way the console is started with SManager.
I found the settings to change the shell which is started.
I found also the setting to change the $HOME shell variable and it will start in this directory.

I have a .profile file in this directory, but it will get not started.
When I start a login shell "sh -l" in the console manually, the .profile is started.

Is there a way to add the "-l" parameter for the console shell?
Or define the initial script for the console shell in the settings?
Btw it would be a good thing to have different init-scripts for console shell and unmanaged-scripts.

Thx for your support,

Console profile by LubernsiusLubernsius, 26 Dec 2015 14:37

I need a way to ask a password and pass it as a parameter. The script run smoothly with hardcoded password.


Can a script ask for a password? by Mda (guest), 23 Dec 2015 20:36
Kamil Czerwiński (guest) 18 Oct 2015 22:42
in discussion Hidden / Per page discussions » SManager Manual

Prosze SManagera utworzyć na Facebooka. Dziękuje serdecznie.

by Kamil Czerwiński (guest), 18 Oct 2015 22:42


have rooted an s5830 running android 2.3.3 and have tried a simple reboot script.

The script contains:

am I doing anything wrong?

Reboot script not working on Samsung Galaxy Ace by Amos (guest), 28 Sep 2015 14:03


SOFTWARE! Great!!!

I installed SManager and SMExternalSD on external SDcard.

I am using an ASUS MeMO Pad 7 (ME176CX) with Lollipop Android 5.0 (second
update via ASUS support site). In the SDcard slot there is an Samsung 64GB
SDcard. First partition is a FAT 32, second is a ext4. Both are aligned and roughly
of the same size. The second partition is empty (beside the lost+found folder).
With SManager I want to create a script which mounts the second partion under
/Removable/sdext, where sdext is the mount point and has to be created by the

As editor I used the editor in the x-plore filemanager.

The script is:
cd /Removable
if [ ! -d sdext ] ; then
mkdir sdext
chown root:sdcard_r sdext
chmod 771 sdext
mount -t ext4 -o noatime,noadirtime /dev/block/mmcblk1p2 sdext

the mode for chmod and the ownership of sdext are the same as for the
folder "MicroSD" on the same level which holds the first partition of the
external sdcard.

Everything works fine…but chown/chmod are ignored or the permissions/onwerships get
resetted somehow. Only with an root-enabled browser like x-plore I can access the
contents of sdext.

How can I make the whole script working?

Thank you very much in advance for any help!
Best regards,

A mount script does half of what is scripted... by tuxic (guest), 09 Aug 2015 17:16


I use SM to collect backup files from the different applications and I delete the oldest ones but since a few months, I've noticed it doesn't delete always the good one. Then I've seen it doesn't sort correctly files if they have capital letters, example, we must have :


But SM uses :


Second problem, with other applications, I have :



But SM uses :



I use Cyanogenmod 11 and I tried also with Cyanogenmod 12 with a Samsung Galaxy S2.

If you can do something, it would be fine.
Thank you.


SM does not sort out correctly all the files by sjlouis (guest), 05 May 2015 12:45
Bojan (guest) 16 Apr 2015 10:42
in discussion SManager / Scripts » Randomfile

Here is what works for me, on MIUI v6 Dev, on Redmi 2.

Move mp3 files to /sdcard/Media/Music folder., run to create list of mp3 files on device, after you add more music.

#search inside one artist subfolder , if you wish, "Artist/" must be complete folder name.
#pathstring="Tijana Dapcevic/"
#match filename if you wish, will NOT match path. Case sensitive, no -iname option.
busybox find $musicdir"$pathstring" -name $filestring'*.mp3' > $listfile
busybox wc -l $listfile, run to copy random file to /sdcard/Media/random.mp3, like in the morning, at boot

# count number of files
numrows=$(grep -c ".*" $listfile)
# generate random number in range 1-NUM
# max number is around 32000
let "numrnd=(${RANDOM} % ${numrows})+ 1"
#echo Random number is $numrnd
sourcemfile=$(busybox sed -n "${numrnd}p" < $listfile)
echo $sourcemfile
# copy 
cp "$sourcemfile" $destmfile
by Bojan (guest), 16 Apr 2015 10:42

I had installed SManager to launch script ( works fine wit KitKat) but with Lollipop no longer works , and shows this error

  1. sh /storage/sdcard0/Download/

Error resolving interpreter:/bin/bash/ does not exist
Using defaul shell

/storage/sdcard0/Download/[3]: ssh: not found

what's it the problem?

metaworx (guest) 08 Jan 2015 22:43
in discussion SManager / SManager Application » Very Slow Startup

i actually have the same issue. it has not always been like that! unfortunatly i did not take notice, when it acutally started to be so slow.
what i observed is, that scripts run from a widget *in the background* start quite quick. when i then tap on the notification to show it in the SManager Console, i can see that the script already run and the script-output was skipped.
so it seems to be an issue with starting the graphical environment.
i currently run android 4.2.2 on Fairphone FP1, with
- SManager Pro 2.10.2 with
- SSH addon 1.4.1
- Dropbox addon 1.4.1
- FTP addon 1.4.1
- SMB addon 1.4.1
- SMWidgets 1.3
SManager starts in script view.

by metaworx (guest), 08 Jan 2015 22:43
david (guest) 02 Jan 2015 17:19
in discussion SManager / SManager Application » Passing Parameters in Shortcuts?

Never mind. I migrated these functions to Tasker. Thanks

by david (guest), 02 Jan 2015 17:19
david (guest) 02 Jan 2015 17:19
in discussion SManager / SManager Application » Very Slow Startup

Never mind. I migrated all of these functions from SManager to Tasker. Thanks

by david (guest), 02 Jan 2015 17:19

I was wondering if there is a way to pass one or more parameters to a script invoked using a shortcut? Anyone know if/how? Thanks

Passing Parameters in Shortcuts? by david (guest), 29 Dec 2014 19:01
page »
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License