[APP] Scripter - the high way for scripts - Android Apps and Games

Hi,
I just uploaded my last application to the market - "Scripter"
purpose:
to make it as simple as possible to run scripts in your device
how:
3 options to run scripts
1) scan QR code which code the script as text
2) run files from the sdcard (like any other script program)
3) rerun any script that you ran in the past or save with the application
This application requires 'root' permissions and 'busybox' (all custom roms has is)
if you don't have 'busybox' then you can instal 'BusyBox' application from the market (by Stericson) which will install it for you
so now what?
if you want to help someone to run some commands without the hassle of adb/terminal, understanding the importance of CapiTaliZatIoN in *nix then you can create a simple QR code for the user and all he has to do is to scan it from the application
1 site to create free formatted text QR code can be found here:
http://keremerkan.net/qr-code-and-2d-code-generator/
just select "free formatted text" from "Select a Code Action"
there is no need for overhead in the script (no #!/system/... or any other things) just the commands you want to run
for example the code to change the vending_preferences.xml in order to fix the timeout errors with google market:
or the user can download this file:
http://www.sendspace.com/file/qyqwnt
click it in the android download manager and select "scripter" to run it
the application is free and open source
you can find the code for it here:
http://github.com/dmanbuhnik/Scripter
Please contact me if you have questions, suggestions, bugs or cats

have been using gscript for a long time but that is no longer being worked on.
What plans do you have for this app?
any chance of a scheduler?
thanks

the main purpose of the application is 1 time scripts
but!
this is an open project + i'm open for suggestions for features
what would you like to see in the application?

quite useful, thanks.
Can you add an option to delete a script.
Maybe another option on long press to run without root. (normal sh)

thanks for the suggestions.
I'm planning to add those new features:
the ability to delete an individual script
the option to install busybox if there is none
set scripts to run after reboot
fix minor bug
still thinking about it - option to run scripts w/o root permissions

i updated the application
main new features:
you can new create script manually (hand writing script) by the application
option to export/import to sdcard
delete button for each script
i'm now directing users without busybox to install stericson's busybox application
http://www.appbrain.com/app/stericson.busybox
and more
planned:
run script after reboot - still in plan
option to edit scripts
anyone has more features he want to see in the application?

I would like to see a way to pass arguments to the script. Maybe the app could scan to see if arguments are called for, then pop up a box asking for arguments before running the script.
That is, if it's possible.
Sent from my HTC Magic using XDA App

interesting,
for a technical point of view is possible to add this feature but can you come up with a use case for it? did you ever wanted to run scripts in android with switches/arguments?
bare in mind that the next version will have 'edit script' option so you can always change your script

For example, I download a lot of pictures when I'm bored. I want to write a script which will move all the pictures from the default DL dir (for the app I use) to a specific dir, but put them in a dir I specify when I call the script. Including create the dir if it does not exist. I have tried to write this script, but have been unable to get wildcards to work...
Where might you suggest I look for some tutorials that will work with android?
Sent from my HTC Magic using XDA App

fair enough
i will add 'add switches' to the 'run script' pop up in future release (i'm planing an update after this weekend, depending on my free time i will try to add it in that release)

Maybe this idea is a little over-the-top but I would love to see an option to set a script as a widget or app with custom icon. There is an app that does this. Java/J2ME Runner by Netmite. It's free, maybe the Dev would share?!
Sent from my HTC Magic using XDA App

sounds great!
i will add it to the plans, but this one will be in the "far future"...
thx for the features ideas

Your welcome, glad to help! I'd be happy to help more, but I'm still learning Java... anything else I can do, let me know.
Sent from my HTC Magic using XDA App

version 1.8 is now on market
main new features:
* edit scripts
* stdout and stderr log after each run ('more info' button)
* changeable backgrounds
* redesign script list
* upgrades on the database for future options (running scripts without root permissions, running scripts after reboot)
see in app change log for full list
in plan:
* running scripts without root permissions
* running scripts after reboot
* home screen widget for 1-click script run
* run script with switches

where can I dl the APK file for Scripter?
My Market is patched on the wildfire and still I'm not able to find it.

How to use scripter to install hebrew ?
Thanks !

erez29 said:
My Market is patched on the wildfire and still I'm not able to find it.
Click to expand...
Click to collapse
If you can't find it you can get the source here and compile it. Or PM and let me know I could compile it for you.
https://github.com/dmanbuhnik/Scripter

Screen size problem
Hello,
I can create a new script, but if I long press the script name it opens "Script options" on the border of the screen, impossible to move higher or see the options.
Google Nexus 4 with Android Oreo.
Thanks!

Related

Stagefright/Streaming Audio Fix Scripts to Enable/Disable on the Go

First, I take absolutely no credit for this beyond bringing this to the Evo forums' attention. And, I take absolutely no responsibility for whatever happens to your phone, period, ever.
As you probably know already, when you move up to 2.2, your Pandora streaming will likely take an audio quality hit due to the stagefright encoding introduced in 2.2. The fix is to disable stagefright in your build.prop. Unfortunately, disabling stagefright permanently introduces other issues. glitzbd over in the Nexus Forum posted this method the other day in order to enable/disable stagefright on the fly.
"I just did this on MCR21 (FRF91) and what a difference! Here is what I did!
I downloaded GScript Light (buying the pay version ASAP haha)
Opened the program and ran the CPU script to give it SU
In the program hit the menu button and then add script
I put the following in:
Name: Enable
Needs SU?: Check
setprop media.stagefright.enable-player true
Save
Name: Disable
Needs SU?: Check
setprop media.stagefright.enable-player false
Save
Now go to your launcher and long press to add a shortcut, and then scroll down the GScript and it will bring up a list of all of your scripts, put both of those on the homescreen!
For convenience I will attach the scripts just in case you don't want to bother with it haha
I am not positive on how to add them, but I think you can just unzip them, and place them on your SD card and when you go to add script then hit Load File
Enjoy!"
and per beagz in the Nexus Forum
"Thanks for posting those. I was just about to do that myself. Great job.
Make sure you place them in the gscript folder on the sdcard.
Also long press on homescreen --> shortcuts --> gscript
then select which script you want to have a link to. Then you can just press the icon for enable or disable."
Link to scripts: http://forum.xda-developers.com/attachment.php?attachmentid=372654&d=1280871021
Now seeing as I don't have the skills for this, should anyone have the skills and would like to help, having a widget for this would be extremely helpful.
Thoughts?
MSmith1 said:
First, I take absolutely no credit for this beyond bringing this to the Evo forums' attention. And, I take absolutely no responsibility for whatever happens to your phone, period, ever.
As you probably know already, when you move up to 2.2, your Pandora streaming will likely take an audio quality hit due to the stagefright encoding introduced in 2.2. The fix is to disable stagefright in your build.prop. Unfortunately, disabling stagefright permanently introduces other issues. glitzbd over in the Nexus Forum posted this method the other day in order to enable/disable stagefright on the fly.
"I just did this on MCR21 (FRF91) and what a difference! Here is what I did!
I downloaded GScript Light (buying the pay version ASAP haha)
Opened the program and ran the CPU script to give it SU
In the program hit the menu button and then add script
I put the following in:
Name: Enable
Needs SU?: Check
setprop media.stagefright.enable-player true
Save
Name: Disable
Needs SU?: Check
setprop media.stagefright.enable-player false
Save
Now go to your launcher and long press to add a shortcut, and then scroll down the GScript and it will bring up a list of all of your scripts, put both of those on the homescreen!
For convenience I will attach the scripts just in case you don't want to bother with it haha
I am not positive on how to add them, but I think you can just unzip them, and place them on your SD card and when you go to add script then hit Load File
Enjoy!"
and per beagz in the Nexus Forum
"Thanks for posting those. I was just about to do that myself. Great job.
Make sure you place them in the gscript folder on the sdcard.
Also long press on homescreen --> shortcuts --> gscript
then select which script you want to have a link to. Then you can just press the icon for enable or disable."
Link to scripts: http://forum.xda-developers.com/attachment.php?attachmentid=372654&d=1280871021
Now seeing as I don't have the skills for this, should anyone have the skills and would like to help, having a widget for this would be extremely helpful.
Thoughts?
Click to expand...
Click to collapse
Isn't that kinda what you just did, set up an enable and disable widget?
To contribute, however, you could use tasker to create a desktop widget that brought up a menu with two options of disable and enable, and you could click each of those to perform the action.
I've only been using tasker for a week, but it's pretty awesome IMO. I have already created lots of custom stuff. For example, when I plug in my headphones, it sets my volume and opens Pandora.
Anyway, could be an option without having to do coding.
You mentioned that it caused other problems, can you share what those are? I've since changed my build prop too, so I guess I've got whatever those problems are. :/
I tried this...but the problems I encountered was with streaming radio apps such as RadioTime, Yahoo Music and WunderRadio). In my experience, when you switch to false they refuse to connect and stream.
I read in another forum someone wrote Pandora about their sound issues with Froyo. They acknowledged the issue and stated they'll be making changes in their next release. Of course, they didn't state when the next release will be.
Vegasden said:
I tried this...but the problems I encountered was with streaming radio apps such as RadioTime, Yahoo Music and WunderRadio). In my experience, when you switch to false they refuse to connect and stream.
I read in another forum someone wrote Pandora about their sound issues with Froyo. They acknowledged the issue and stated they'll be making changes in their next release. Of course, they didn't state when the next release will be.
Click to expand...
Click to collapse
then you actually havent tried this.
MSmith1 said:
First, I take absolutely no credit for this beyond bringing this to the Evo forums' attention. And, I take absolutely no responsibility for whatever happens to your phone, period, ever.
As you probably know already, when you move up to 2.2, your Pandora streaming will likely take an audio quality hit due to the stagefright encoding introduced in 2.2. The fix is to disable stagefright in your build.prop. Unfortunately, disabling stagefright permanently introduces other issues. glitzbd over in the Nexus Forum posted this method the other day in order to enable/disable stagefright on the fly.
"I just did this on MCR21 (FRF91) and what a difference! Here is what I did!
I downloaded GScript Light (buying the pay version ASAP haha)
Opened the program and ran the CPU script to give it SU
In the program hit the menu button and then add script
I put the following in:
Name: Enable
Needs SU?: Check
setprop media.stagefright.enable-player true
Save
Name: Disable
Needs SU?: Check
setprop media.stagefright.enable-player false
Save
Now go to your launcher and long press to add a shortcut, and then scroll down the GScript and it will bring up a list of all of your scripts, put both of those on the homescreen!
For convenience I will attach the scripts just in case you don't want to bother with it haha
I am not positive on how to add them, but I think you can just unzip them, and place them on your SD card and when you go to add script then hit Load File
Enjoy!"
and per beagz in the Nexus Forum
"Thanks for posting those. I was just about to do that myself. Great job.
Make sure you place them in the gscript folder on the sdcard.
Also long press on homescreen --> shortcuts --> gscript
then select which script you want to have a link to. Then you can just press the icon for enable or disable."
Link to scripts: http://forum.xda-developers.com/attachment.php?attachmentid=372654&d=1280871021
Now seeing as I don't have the skills for this, should anyone have the skills and would like to help, having a widget for this would be extremely helpful.
Thoughts?
Click to expand...
Click to collapse
I've been having streaming issues with Last.FM and Pandora. I'll give this a whirl and let you guys know how it goes. Thanks for the tip though, much appreciated!
I tried adding the scripts, but it seems that the build.prop file does not get updated no matter what I do.. there are no errors when running the script and it even confirms that it ran, but the value doesn't change...
Edit: I ran Quadrant to make sure the scripts worked and yes, they do affect my scores so it looks like it's changing as it should. Thanks again, hopefully it fixes my audio issues.
Edit2: Seems to have fixed my Last.FM, thanks a bunch!
I can confirm these scripts are working for me as well. Streaming radio stations without stagefright player enabled caused the same problems so these scripts allow me to get around this relatively easily. BTW, to the above user, these scripts are adb shell commands and will not modify the build.prop.
Question: Is there a way to open an app with a shell command? I would like to set the property to the appropriate value and proceed to open the streaming app afterward. So I would have a slacker script that would disable stagefright and start slacker, etc. Thanks!
jedil1c1ous said:
Question: Is there a way to open an app with a shell command? I would like to set the property to the appropriate value and proceed to open the streaming app afterward. So I would have a slacker script that would disable stagefright and start slacker, etc. Thanks!
Click to expand...
Click to collapse
Maybe tasker can do this? I'm not sure though.
jedil1c1ous said:
I can confirm these scripts are working for me as well. Streaming radio stations without stagefright player enabled caused the same problems so these scripts allow me to get around this relatively easily. BTW, to the above user, these scripts are adb shell commands and will not modify the build.prop.
Question: Is there a way to open an app with a shell command? I would like to set the property to the appropriate value and proceed to open the streaming app afterward. So I would have a slacker script that would disable stagefright and start slacker, etc. Thanks!
Click to expand...
Click to collapse
Another plug for tasker, it is able to run ASE (Android Scripting Environment 2.0+) scripts, so maybe we could make it work there.
Running shell commands in an app is more difficult than it sounds. I tried to do it a while back with a test app I was writing, and it doesn't really translate too well with the Android API. I'm sure there is a fairly good way to do it by leveraging an outside java api, but I didn't have a ton of luck.
Here's a link to the ASE (now known as SL4) google code page:
http://code.google.com/p/android-scripting/
MSmith1 said:
Maybe tasker can do this? I'm not sure though.
Click to expand...
Click to collapse
It looks like this is on his todo list for Tasker. From his website:
rooted phone: become root/user, Run Shell Script (bash, no ASE needed), Reboot, toggle background data,key events and injection
Thanks for this. Before, I either just pulled the build.prop file and edited it there, making it permanant, but then everytime I flashed a CM6 Nightly it would go away And then I would always manually type it in on Terminal Emulator, which would be a pain, because after restart, I would have to redo it!
Now, thanks to this, I can disable/enable very quickly, and should be able to keep these scripts when I flash the CM6 Nightlies
Glad I could bring this to everyone's attention.

[Guide] Multi User Setup for Kitkat 4.4.4 (for noobs)

This tutorial will show you how to setup your device as admin and configure other user profiles (this is important when you're not the owner). Your device maker disabled multiuser functionality in Kitkat, like on my Lenovo Tab 2 A10-70L? - then this for you. At least, that's where this procedure is tested on. Afaik, this should work on Lollipop too. But will it work for your device? - No clue, you tell us!
Basically it's an accumulation of what I've read here (thanks again) and my personal experience as a noob myself.
So far, this guide is incomplete and I'm hoping for some pro tipps to perfect it. Please help me sort out the unclear parts highlighted in red and I'll update this post accordingly. The sooner the better, because this actually is not my device and someday soon I'll have to pass it over to my mom since it's my present to her, I'm only setting this slab up...
Preconditions:
Android treats the first account created as "owner". Only owner will have root privileges if installed accordingly (=admin).
Root permission and a file manager (e.g. ES File Explorer) are required for this fix so go get that first. For the Lenovo Tab 2 A10-70L, I followed this beautiful guide, besides that, I can't help much here.
Unable/uninstall all bloatware (I was adventurous with Titanium Backup with no probs so far, but some crap remained from looking at new user folders; still in search of a vendor/device-specific "save to remove" list)
Install ALL apps you and the other users suppesdly need. This will avoid the need to redownload and reinstall all the apps for each and every user wasting storage. Think thrice, usually it'll be more than desired, but better you do it instead of a DAU... Each user will be able to install apps later though. Full control over user restrictions can be applied for "guest profile" only.
Steps:
In file explorer, go to /system/ and open build.prop
Check if you have anything like the below text (you shouldn't, otherwise edit accordingly) and add these lines at the end of it:
Code:
# Multi Users
fw.max_users=[COLOR="DarkGreen"]X[/COLOR]
fw.show_multiuserui=1
Replace X with your desired digit (up to 7?)
(I've read somewhere that 7 users is maximum that system can handle, but I haven't tried)
Save, reboot and log in as "owner" (your profile)
Go to Settings>Device and say hello to new item "Users"
Create new users and/or a guest profile (important: write down the order in which you created them!)
All new user profiles are now shown as "new user" no matter what you wrote in the profile properties (only guest will be shown as "guest"). Mind you, this also applies for the lockscreen!
In file explorer, go to /data/system/users/ to find your users' folders containing some system files (what exactly?) Now guess what - the order of the numbered folders and #.xml files match the order you created them. "0" is you, the owner.
Open each .xml file and replace "Owner" with "Your Name" and "New user" with "Username"
Put the device to sleep, trigger lockscreen and log in to each user profile and
Pull down shortcut menu from top right and enable autorotate
Go to Settings>Users>Security, check all settings and note each unlock-code
Disable background services like sync, location, etc. that could potentionally drain battery where applicable
Rinse & repeat 8) for all new profiles
Install "Multi-User App Share" and set apps per user. (Or is there a newer app or more hackish approach without the need for xposed or compiling stuff etc.?)
= DONE =
If you want the user icon in status bar, follow http://forum.xda-developers.com/gal...-users-mod-t3017782/post58659868#post58659868 (haven't tried that ).
Well... build.prop fixes are working, at least for me. It's good alternative to multi-user app from Xposed (we don't want to use Xposed too much...).
Still tried with decompiling & compiling framework for fixing icon problem, and... in framework-res there is not status_bar_expanded_header.xml file, se we are in deep ****.
I am working on: LP

[APP][ROOT][PowerUser] Kernel Profile Manager

The app is made with Tasker, with focus on functionality over UI, so you may find the UI unpolished. The tasker project XML can also be found in the attached files.
Purpose
To apply and manage set of kernel settings (called "profiles" within the app). Also supports shell scripts.
Features
[ROOT REQUIRED]
– Loading profiles (+quick shortcut to swap between two profiles)
– Saving the current kernel settings in a new profile (or only some of the settings)
– Updating a profile file with the current settings (with this feature you can load a profile, then tweak in any kernel manager app and then update the loaded profile with the new settings)
– Comparing profiles (compares two profiles and outputs only the different settings with respective values for each)
– Load shell script files (such as the ones in the AKT zip file – see Downloads section – or others) *
– Convert shell script file to profile file** and profile file to shell script file
– Open/rename/delete files with a very simple file browser (tap and hold)
– Set a profile and/or script to be loaded on boot
– Uses cache for profile files, so applying a profile, which you have applied before, happens instantly.
– When applying profiles temporary changes the permissions of all non-writable files from the profile to apply all settings, after which restores them to the original permissions.
* loading scripts: when applying a script you will be asked if you want to temporarily change non-writable permissions to apply all values. If the script is more complex (such as with if/else statements) it is advised not to chose that option, since the script will not be applied correctly. In that case just choose "apply script as is". Also note that some scripts may require busybox, so you may need to install that to be able to apply them.
** converting shell scripts to profile files: the "echo" lines are converted to paths and values in the profile file. In more complex scripts (with if/else statements for ex.), multiple echo lines may cause incorrect settings to be applied if converted to a "profile file". If you know the script is such, it is not advisable to convert the script to profile. You may instead, apply the script and then save the current settings as a new profile.
Downloads
Downloads can be found in the attached files. There are two files named "AKT OP3" and "AKT OP3T". They are the scripts from the AKT thread. If you're familiar, you may find it useful. I would not advise using them on other devices.
Compatibility
The app should work on any device with two big and two little cpus. Generally any device should be supported but the saving functionallity might not correctly save the governor settings of one of the clusters, if the chip is too different. Made on OnePlus 3 and tested on a few other devices. No incompatibility reports received yet. The caveat is that some devices might need to adjust the font size in the settings for proper text visibility.
XDA: DevDB Information
Kernel Profile Manager, App for all devices with 4 cores and big.LITTLE architecture.
Besides the "Save settings as new profile", all features are device-independent and should work on any device. If you have a device with more cores or different architecture, you can use the "Update profile" feature to save settings, or better yet – pm me to add support for your device.
Contributors
Arstoien
Version Information
Status: Stable
Current Version: 1.25
Created 2018-06-03
Last Updated 2018-07-21
Changelog:
v1.25
– change: instead of holding down the "load profiles" option to swap between two profiles, the shortcut is now swipte-to-the-right
– new feature: holding donw "load profiles" option allows to compare the last applied governor to the current system settings. If you have made any manual changes (or the system for some reason has restored some of them, you will get a report with the changed values and option to reapply them
– change: change the tooltip of "load profiles" to describe the above features
– bugfix: minor workflow bugfixes
v1.24
– UI bugfixes
v1.23
– performance boost when loading file lists
– changed the SU check on app start for better user experience when granting root access
– "active profile" label resets to "none" on boot, if the profile is not applied (when the boot service is not activated)
– other minor bugfixes
v1.22
– bugfix: "apply on boot: shell script" could in certain situations not work properly
v1.21
– bugfix: when saving or updating profile the app would save the I/O scheduler in a way that would not be applied correctly afterwards
– bugfix (very minor): updating a profile could cause an extra redundant line after an empty line in the profile file
v1.20
– initial public release
Wow, thank you! That's awesome, a new toy!
On first glance everything seems to apply correctly...
Can i use these script (.sh) files with ek kernel manager?
Sam Nakamura said:
Wow, thank you! That's awesome, a new toy!
On first glance everything seems to apply correctly...
Click to expand...
Click to collapse
Thanks for the feedback. Hope you enjoy it!
anaknin said:
Can i use these script (.sh) files with ek kernel manager?
Click to expand...
Click to collapse
yes, you can also use the "profile" files with ek kernel too – just load them appropriatelly (I believe governor profiles or something similar).
I updated the "Compatibility" section of the OP, just to make some things clear, since the "save" function might not work well with some devices. If anyone faces something similar, I'd be glad to hear and it'll probably be an easy fix. Just don't have anyone with such device around me.
ask best balance tweaks suggest?
puturaya20 said:
ask best balance tweaks suggest?
Click to expand...
Click to collapse
Very difficult to say. It depends a lot on what you're looking for and your usage. I am currently using the latest FusionOBeta on OnePlus3. If you have OP3/3T, you can pm me and I'll share it. I think it's close to being stable and released pretty soon.
Arstoien said:
Very difficult to say. It depends a lot on what you're looking for and your usage. I am currently using the latest FusionOBeta on OnePlus3. If you have OP3/3T, you can pm me and I'll share it. I think it's close to being stable and released pretty soon.
Click to expand...
Click to collapse
hmm okay bro,how paste AKT_Scripts.zip ? paste in folder?
puturaya20 said:
hmm okay bro,how paste AKT_Scripts.zip ? paste in folder?
Click to expand...
Click to collapse
Unzip all files in any folder. Then, in the app, choose "load shell script file", navigate to the script you like and select it.
Update with one bugfix.
I would be very happy if a user with different cpu would assist me in testing the app, so it would offer better support for saving settings.
Also any feedback is appreciated.
Arstoien said:
Unzip all files in any folder. Then, in the app, choose "load shell script file", navigate to the script you like and select it.
Click to expand...
Click to collapse
How Look working script after select?
puturaya20 said:
How Look working script after select?
Click to expand...
Click to collapse
Open an app, with which you can see the values of the governor. Check them before and after the script. If you use KPM you can save the governor settings before and after the script and then compare.
Note that applying the AKT scripts takes a while, so give it some time. And make sure to have installed busybox in advance
Arstoien said:
I would be very happy if a user with different cpu would assist me in testing the app, so it would offer better support for saving settings.
Click to expand...
Click to collapse
What do you mean by "different CPU"? Different like SD820 vs SD821 or different like i.e. SD6xx or SD4xx or even completely different like Exynos, Mediatek?
Sent from my OnePlus 3T using XDA Labs
Sam Nakamura said:
What do you mean by "different CPU"? Different like SD820 vs SD821 or different LIKE i.e. SD6xx or SD4xx or even completely different like Exynos, Mediatek?
Click to expand...
Click to collapse
I meant other snapdragon series. Exynos and Mediatek would also be interesting to look at, I don't know how big the differences are and how easy it'd be to support them. In any case I need someone to test with such device.
Arstoien said:
Open an app, with which you can see the values of the governor. Check them before and after the script. If you use KPM you can save the governor settings before and after the script and then compare.
Note that applying the AKT scripts takes a while, so give it some time. And make sure to have installed busybox in advance
Click to expand...
Click to collapse
Thanks u bro
v1.22 Changelog:
– bugfix: "apply on boot: shell script" could in certain situations not work properly
@puturaya20 you may want this one, if you're going to use the function.
Thanks for your work, Arstoien!
I have 1.20 installed which is functioning great with the FusionBT 15 script.
Just wanted to update to 1.22 but it doesn't install. Neither does 1.21 btw.
Do I have to uninstall 1.20 before installing a new version? If so, does it keep my settings?
ericvanb said:
Thanks for your work, Arstoien!
I have 1.20 installed which is functioning great with the FusionBT 15 script.
Just wanted to update to 1.22 but it doesn't install. Neither does 1.21 btw.
Do I have to uninstall 1.20 before installing a new version? If so, does it keep my settings?
Click to expand...
Click to collapse
Thank you for the feedback!
Yes, it seems you are correct – I did not foresee that. The issue seems to be that I had reinstalled Tasker and even though I had set the package name to be the same and version to be higher, it is no longer compatible as an update to verison 1.20 or lower. After version 1.21 there should be no more issues with updates, so unfortunately I'd have to suggest to uninstall and then install the latest version.
If by "settings" you mean – lose whatever you have set up in the "settings" screen of the app, then yes, you will lose that. You will not lose any files you have created or modified though – only the info stored within the app's interface. So the app will no longer remember which is the last applied profile, etc.
No worries...problem solved by uninstalling 1.20 and installing 1.22 directly afterwards.
Had the scripts and profiles saved in a separate directory so changed settings to the correct directory and applied FusionBT again.
So up and running again! ??
Any idea when we can expect the new FusionBT profile? ?
ericvanb said:
No worries...problem solved by uninstalling 1.20 and installing 1.22 directly afterwards.
Had the scripts and profiles saved in a separate directory so changed settings to the correct directory and applied FusionBT again.
So up and running again! ??
Any idea when we can expect the new FusionBT profile? ?
Click to expand...
Click to collapse
Rather soon I'd imagine. Only minor tweaking is being done recently.
Been following these threads for quite some time. Own an HTC 10 and with the help of ZeroInfiniti have found a way to run his Engine and AKT and getting them to stick. Just wanted to say I appreciate all you guys hard work developing and maintaining. Been using AKT final 1.6 zip. Project Zhana battery. Getting fantastic results. 6+ hours on screen. About to try the new AKT app tomorrow.

[APP][TOOL] TeMeFI comprehensive system Administration

TeMeFI
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This app provides/returns a bucket load of information regarding your device and the currently running ROM, and much, much more. And hence the name "TeMeFI"; as its Too Much F????? Information. The F stands for whatever your comfortable with.
Download: TeMeFI v1.1.19
MD5: E643DD1ECC3243473A0EAEBF69CD4209
Simply download the APK and install as normal, and allow root when asked, and grant storage permissions. I *think* the very first time you run it, there possibly may be an issue with the menu. Simply stop and restart the app.
You can use it without root, but you will be HEAVILY limited in what you can do. Also, installing busybox opens another menu for you, and so does Magisk (17.*+). SQLite3 is also a HUGE feature adder (ie if you have it, it enables many many methods). Can be installed via Magisk if your ROM does not have it by default.
If you are unrooted, have a read of the following post, regarding a recently added feature for non-root users
[APP][TOOL] TeMeFI comprehensive system Administration
TeMeFI This app provides/returns a bucket load of information regarding your device and the currently running ROM, and much, much more. And hence the name "TeMeFI"; as its Too Much F????? Information. The F stands for whatever your comfortable...
forum.xda-developers.com
The "search" function is very useful for finding what you need, but it does not search inside dynamic menu's. Its the magnifying glass in the slide out toolbar/menu
The current menu can be viewed within the app at TeMeFI Configuration>Show Whole Menu or a historic example at:
CURRENT MENU [as at 2021-11-19]
XDA:DevDB Information
Contributors
DiamondJohn
Version Information
Status: Stable
Current Stable Version: 1.1.19
Stable Release Date / Last Updated: 3 Sug 2022
Current Beta Version: 1.0.3
Beta Release Date: 2018-06-21
Created 2018-06-19
I will fill in this page as I get around to it.
Fly-out Toolbar items and their Actions
The fly out toolbar has had its buttons and their corresponding actions change over time. However of recent, they have been pretty stable, and as they have changed over time, and I probably said what / how their function changed, its probably all over the thread. So, I thought it might be best to have a single location / doco of what the current buttons actually do.
Firstly, to display the toolbar, simply click on the menu. If it isn't already showing.
EVERY button, has both a "short-press" and "long-press" action.
The icons kind-of relate to their short press action.
NB The following are from v1.0..19 The main difference are a long press on the [<] arrow goes back to the previous results, and a long press of the [HOME} icon reloads the current menu (useful if you filtered the menu items), and a long press on the pencil icon saves off the action as a favourite. Also, the long press on the exit icon [X] acts to filter a menu list that was generated by code. eg any list of installed apps
For Short-press actions:
For Long press actions
If you get an error, a toast will be shown which is HEAVILY CUT DOWN, so please no screen shots! Also, in a recent release a Bomb Icon will appear on the screen after an error. Short press to display then FULL error, or long press the bomb to clear the error. It will not clear by itself.
And again, NOT a screen shot of the results. Save off the results using the save button (ie the pencil icon explained above), then get the log text file from /sdcard/TeMeFI, and attach it to a post.
please stop with the screenshots of a cut down error message
Reserved
A quick explanation of "Dynamic Lists".
These are built live on the phone at the time you click on them. For example, the "Traces" menu item lists all the trace files contained currently in your "/data/anr" directory. The results will be different between users and even at different times for the same user. It is not a fixed list.
Another example (which is a little different) is the dumpsys menu item, which makes a call to
Code:
dumpsys -l
to retrieve a list of running services for which a call to dumpsys is then valid for
V 1.0.2 released
Some changes include, but are not limited to:
* internal system improvementrs
* Better display of when its busy
* Added warning confirmation on a few longer running processes
* Handle the back button to go "up a menu" Previously it exited the app oops
* Enable "Up a menu" from "Dynamic lists"
* Faster Load of Dumpsys calls to create menu
* Added numerous new items inc, but not limited to Dropbox files, Tombstones, A few extra Busybox & others
NB:although it was there in the previous version, you may be interested in the "Duplicate files" report, which is based only off the Media DB. And off of the display_name (basically the filename) and the file size. It can be found at: SQL Based > Duplicate Files
Again, if anyone has any ideas for other details that can be added through a specific shell command, please let me know.
New version uploaded. v1.0.3 See first post (ie OP) for link
Changes include, but are not limited to:* Numerous internal stability/speed & delivery improvements
* Phone standard back button goes up a menu, instead of exiting app
* Numerous new items added. I checked on one of my phones, and found that it now reports on over 650 items
* Added long press on menu item for more info (usually the shell command that will be run)
* Improved error/warnings reporting (slight red to page background if an error code is returned OR there are any warnings or errors messages)
* Bug fixes (some were of course introduced while adding the above features...)​
New build v1.0.5 see OP for link
Some of the improvements
Long press the menu/exit button to search. NB: It does not search within dynamically created lists
Long press the "Menu Up" to return to the root/starting menu
Long press the top text boxes between the menu and the "save to" (ie ">>") to get a report of the actual script run to return the last selected results
Many many new items added
Some improvements in the menu (eg Busybox items moved to their own menu)
It now tests if you actually have root, or busybox or the specified folder before display the respective menu item.
added the ability for the user to enter added parameters/filters (see busybox>PS User Limited)​
New Build 1.0.6
New Build! With some MAJOR additions.
See OP for download link.
Version 1.0.6 is now available, and its a BIG release
this version now allows more than just reporting, but also actionable items. Like freezing and defrosting apps!
************************
These items have been added unrestricted, and therefore, if used incorrectly can render your phone inoperable. Any actions and results of such will be done at your own discretion and you are responsible for such action and results. You have been warned! and no need to say it, but I take no responsibility
************************
In Oreo, I have noticed that the reset battery stats function has been removed, it can be done within TeMeFI. YEAH! Find it under "Current State"
Find the following under the menu "Application info / Manage"
.... List Frozen apps
.... Freeze apps, including system apps
.... De-frost apps
.... Hibernate apps
.... Uninstall apps
.... Hide Apps (form the system)
.... Search for a package
Find the following under "Current State > SELinux"
.... Return and switch SELinux status
Find the following under "Configuration"
.... Manage TeMeFI log files (ie list / delete)
Get the root files ie the boot/statup sequence found in RAMDISK
Find the following under "Logcat"
.... Logcat, Last KMSG, DMesg and getting the logs are much easier than most other ways
many many MANY more items added.
And to make it even easier due to just how much there is, there is a "Search"functionality built into the menu. But note, it does not return results from Dynamic lists; ie ones built at runtime.
New Build!
New Build!
See OP for download link.
Version 1.0.7 is now available.
This version has a number of additions, too many for me to track. Making the existing search functionality a BIG plus until you get use to where to find what you wish to do.
The following is a general list of the menu items. Items that have a * at the end are "Dynamic" menu items that build up a list of things to perform the action against, based on your device/setup.
For example, the "App Hibernate" item pulls up a list of apps you have installed; in addition to a list of the system apps installed as part of your ROM/firmware.
Big items to notice are:
* the AAPT (Android Asset Packaging Tool) which will not be available to you through standard shell commands.
* the OOM and reNICE of running apps. The reNICE is wrapped so you can actually set the final layer instead of trying to work out the delta (ie the way it actually works).
* A big one for me is the ability to reset the battery statistics without having to charge the phone > 90% on Oreo custom ROMs!!!
* Retrieving & Switching the ROM between permissive and enforcing NB: It only is set till a reboot, the app does not auto start and reset it on each boot.
There are a bunch more (as seen in the list below), including Hibernating, Freezing, Defrosting apps
The following list is not really in any logical order, but simply an easy way for me to list each item. NB: I also added this same list to the OP.
Code:
PM Actions
PM Dump calls*
PM Features
PM Instrumentation
PM Libraries
PM Permission Groups
PM Permissions
PM Users
PM Path on Installed Packages*
Various Ungrouped Extras
DumpSys Dropbox Files
Hosts file check
build.prop
GPS Conf
NSLookup of Host
Possibly Unnecessary Files
Bug Report
Android Asset Packaging Tool
Dump Permissions*
Specific App Badging Dump*
XML Tree*
Application Info / Manage
Package Features
Install Downloaded APK*
Asynch PM Dump of all packages
DumpSys Activity*
App Name, Code, Version
ART Profiles*
Nice
Retrieve The Current App NICE*
Nice an app to Highest [-20]*
Nice an App to -15*
Nice an App to -10*
Nice an App to -5*
Nice an App to 0*
Nice an App to 5*
Nice an App to 10*
Nice an App to 15*
Nice an app to Lowest [19]*
OOM
Retrieve The Current App OOM*
OOM an app to Superman [-17]*
OOM an app to High [-16]*
OOM an app to -10*
OOM an app to -5*
OOM an app to 0*
OOM an app to 5*
OOM an app to 10*
OOM an app to Lowest [15]*
Packages
Sorted Installed Packages
All Installed Packages
DumpSys on Installed Packages*
Find Packages
System Packages
3rd Party Packages
Packages with paths
State
Hibernate App*
Kill App*
Kill More Apps*
Uninstall App*
Unhide & Defrost*
Enabled Apps
Frozen Apps
Defrost App*
Freeze App*
Freeze App Until Used*
Hidden Apps
Un-Hide App*
Hide App*
SQL Based
MediaDB Format Breakdown
Duplicate Files by Count
Duplicate Files by Size
File Use Count
Current State
CPU Gov Details
Date
User Name
Device Uptime
Network Name
Reset Battery Stats
LSOF
LSOF Regular Files
Netstat
Bulk
DumpSys Dropbox Print
IFConfig
IP Tables List
Ping Google
Full DumpSys
Asynch DumpSys
Asynch dumpstate
$PATH noroot
All SysCtl
Env no root
Current Running
Free Memory
Max Users
Top
SU Top
PS Mine
PS All Detailed
PS All Super Detailed
PS All Filtered Super Detailed
GFX Info*
Services List
ID
SU id
DumpSys CPU Info
DumpSys Activities
DumpSys Activitiy Services
Wakelocks
Stat of /SDCARD
Device details
Mounts
USB
Block Details mmcblk0
Block Details mmcblk1
FDisk All
DF All in Human Readable
DF
Pedantic df all
AM Get-Config
Get Properties
Get Selected Properties
Density
Display Size
Kernel Version
Machine Harware Name
CPU Info
Memory Info
Mounts Info
Kernel Info
Parrtitions Info
ProcStat Info
DumpSys Activitiy Displays
DumpSys Window
DumpSys Window Windows
Devices
Dynamic Lists
SYS Kernel File join
Dropbox Files*
DumpSys calls*
Run boot scripts*
System ROOT Files*
System etc*
Tombstones*
Traces*
Usage Stats*
Vendor etc*
Proc Files*
ROOT acct folder*
My Log Files*
Settings
Global List
Secure List
System List
System Etc Dynamic Lists
Bluetooth Files*
Default-Permissions Files*
Init Files*
Init.d Files*
Nano Files*
Permissions Files*
Preffered-Apps Files*
SELinux Files*
SSH Files*
SecComp Policy Files*
Security Files*
SysConfig Files*
WiFi Files*
Busybox
IOStat
MPStat
Traceroute Google
PGrep All
PS
PS All
PS Mine With Threads
PS All With Threads
PS Threads User Limiited
Arch
Arp
Base64 Example gps.conf
Block ID's
DU All in Human Readable
Hardware Clock Time
Multiple Checksums of /etc/hosts
One Year Calendar
PMap each process
PSTree
Running Apps
STAT of /etc/hosts
Keyboard Mode
Sys Folders
Sys/Class*
Sys/Devices*
Sys/Modules*
System Folders
EFS Folders
Various Data Folders
Data Local tmp*
Data Miscellaneous*
Data ROOT Files*
Data System Users Files*
Data/System Files*
Logcat
DMessage
Dmesg Processing Actions
Last KMsg
Logcat
Logcat - Info lines
Logcat - Warning Lines
Logcat - Error Lines
Logcat - SELinux
Logcat clear
TeMeFI Configuration
TeMeFI Logs*
Delete a TeMeFI Log*
Delete ALL TeMeFI logs
Get Settings persistance
Get default Blob Config
Toggle BUSYBOX Config
Toggle ROOT Config
Toggle Settings persistant
MediaDB SQL
Last 100 music files added to MediaDB
Last 1000 added to MediaDB
MediaDB Music Count
File Size Distribution
Songs missing Album Art
SELinux
Get SELinux Status
Set SELinux Enforcing
Set SELinux PERMISSIVE
New Build v1.0.8
Added a few items See OP for download link.
One of the items added enables post filtering any previous saved results. A very powerful and handy feature.
For example, you could save off 4 or 5 different unrelated reports, and then search all the reports/output for any mention of a single word/term eg "version" NB: the search is not case sensitive.
The above feature can be found in the menu under "TeMeFI Configuration>Search ALL Logfiles" or to check a single selected file "TeMeFI Configuration>Search a Logfile"
Cleaned up the menu a little.
whoops... forgot to update the version number within the build itself. corrected. But if you downloaded the previous version, there will be no issues. And there are no new/extra features in this new build with the correct version number.
New build!
New Version v1.0.9 See OP for download
Added a few items
Corrected the log search functionality
Clean up the menu a little
Shortened the animation time (ie a few hundred milliseconds less waiting)
Added confirmations on some "dangerous" menu items
New Build!
New Version v1.0.10 See OP for download
Fixed bug where id the menu was clicked before it first generated, it would never fully generate
Added a few items
Cleaned up the menu a little
New build!
New Build!
See OP for download
The big change in this version is that the start-up time can be reduced significantly, by pre-setting the fact you have root and/or busybox. You can find these setting under
TeMeFI Configuration>Default Startup Config>
"Set ROOT available on Start-up"
"Set BUSYBOX available on Start-up"
"Remove Set ROOT on Start-up"
"Remove Set BUSYBOX on Start-up"
"Current Startup Config"
Added a few items (including the above)
Cleaned up the menu a little
New build!
New Build!
New Version v1.0.12 See OP for download
New setting gives you the option to have the menu appear at the bottom, closer to where your fingers would be hovering over/near your nav bar etc. NB: You will need to exit (use the X in the menu) and restart the app for the setting to take effect.
PS: I would really suggest taking advantage of the start-up pre-config by pre-setting the fact you have root and/or busybox. You can find these setting under TeMeFI Configuration>Default Startup Config
All I get is a dancing banana on my Pixel running Pie. Pressing back opens the menu and tapping Application Info / Manage makes it disappear. It does not prompt for root. I see it's targeting Jelly Bean 4.1, maybe that's why.
It's working fine on Oreo.
Thanks mate for this very handy App!!!
Regards.
yochananmarqos said:
All I get is a dancing banana on my Pixel running Pie. Pressing back opens the menu and tapping Application Info / Manage makes it disappear. It does not prompt for root. I see it's targeting Jelly Bean 4.1, maybe that's why.
Click to expand...
Click to collapse
Check your root management app if you accidentally let the root message expire the first time, and thereby default to no. It will only ask once. Also maybe try wiping the data (totally safe) and restarting the app, that should re-trigger the root request. And to ask the obvious, are you sure you are rooted... Out of interest, are you using Magisk or SuperSU or simply root built into your ROM?
As for "JellyBean", that's simply the minimum targeted API. I am actually building and testing only on Oreo myself, and havent actually tested it on anything less than Nougat. I know at least one of the many commands wont work on anything less than KitKat. Just too lazy to test/support changes between Android versions, and don't want to restrict the minimum android version, as at least some of the functions will work on JellyBean.
coldgin_ said:
It's working fine on Oreo.
Thanks mate for this very handy App!!!
Click to expand...
Click to collapse
I built it to be handy for me, so am not too surprised it's handy for at least one other person.
DiamondJohn said:
Check your root management app if you accidentally let the root message expire the first time, and thereby default to no. It will only ask once. Also maybe try wiping the data (totally safe) and restarting the app, that should re-trigger the root request. And to ask the obvious, are you sure you are rooted... Out of interest, are you using Magisk or SuperSU or simply root built into your ROM?
As for "JellyBean", that's simply the minimum targeted API. I am actually building and testing only on Oreo myself, and havent actually tested it on anything less than Nougat. I know at least one of the many commands wont work on anything less than KitKat. Just too lazy to test/support changes between Android versions, and don't want to restrict the minimum android version, as at least some of the functions will work on JellyBean.
I built it to be handy for me, so am not too surprised it's handy for at least one other person.
Click to expand...
Click to collapse
I'm using Magisk 17.2. No, I did not miss the root prompt, it never comes. Android complains the app was designed for an older version of Android because the target SDK actually is Jelly Bean.
Sent from my Pixel using XDA Labs
yochananmarqos said:
I'm using Magisk 17.2. No, I did not miss the root prompt, it never comes.
Click to expand...
Click to collapse
Then open the Magisk Manager, go into the Superuser menu item, find TeMeFI in the list, and select it over to allow Superuser. Let me know how you go.
yochananmarqos said:
Android complains the app was designed for an older version of Android because the target SDK actually is Jelly Bean.
Click to expand...
Click to collapse
That must be a new Pixel check. I know that the Playstore is now limiting new/updated apps to support a specific minimum android API, so it may be that they have added a test in their new version of android OS as well. I know there is some code I can change to change that, i'll look into it before the next release, but as a guess, its probably just a warning at this stage, but that's simply a guess, as I am on Oreo and haven't tested Pixel explicitly.
DiamondJohn said:
Then open the Magisk Manager, go into the Superuser menu item, find TeMeFI in the list, and select it over to allow Superuser. Let me know how you go.
Click to expand...
Click to collapse
Again, there was no root prompt and the app is not listed.
Sent from my Pixel using XDA Labs

App for automated processes? (Navigate through other apps, fill in text fields, ...)

Hi Guys,
I'm currently looking for a possibly very special app and can't find anything but the usual suspects like Tasker that don't seem to meet my requirements.
I'm looking for an automation app that allows me to navigate in apps, fill in text fields, if possible, transfer predefined data into the text fields for each run and wait for text to be entered at certain points.
For a better explanation:
I would like to test 2 apps and their behavior. Reset smartphones should be used for this. The automation app should run through the following steps:
- Step 1: The app creates an account with Gmail. As soon as the SMS code has been requested, the app should interrupt so that I can enter the SMS code. After confirmation, the app should continue to go through its routine.
- Step 2: Another app is to be opened that has a longer waiting time before it starts. Then text fields should again be filled in with predefined data.
- Step 3: Finally, the app should go to the settings and delete the G-Mail account.
I don't care how the whole thing is realized. Either macro recording again or using symbols as with Tasker. The main thing is that it works properly. I am not familiar with such an app. Just such simple apps as Tasker that work with if and while and are not sufficient for my purposes.
Otherwise, I had the idea to use Python to implement my dream routine. A few days ago I discovered a Python SDK for Android. If I understand correctly, the SDK is based on Python 3. I just can't estimate how well the programming is going or whether scripts can be executed 1: 1 as on the PC. What do you all mean? Do you know of an app that meets my expectations or should I deal directly with the Python method?
Nobody has an idea? Or is my text not understandable?
I know you said no "Tasker" like apps, but this app called Automate can definitely achieve what you outlined without any other apps (or with them). You only need android 7 or above and These function blocks:
The app uses a flowchart logical system (essentially the basis of all programming languages) and can even execute shell scripts with/without root privileges. You can also install Termux (a terminal emulator) and use the command:
Code:
pkg install python
To install python3.7, from there the world is in your hands, provided you have sufficient java/kotlin knowledge and an understanding for android processes.
Also please tick the check mark next to my answer if I solved your question, so that others can find the solution.
Thank you Slim K. Automate looks good at the first look. I'll give that app a chance and otherwise test thy python way with termux.
If there are other ways to solve the problem, let me know.

Categories

Resources