yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
Just a bit of Info regarding a feature I added recently in the last two releases. Although there was a bug in the previous release, but its now fixed in the last release ie v1.1.00.

The feature I swish to cover is the Magisk Bootloop Blocker. I have a new Pixel 4a running the latest A11 (read note below) which does not have TWRP, so my options to remove a Magisk module that causes bootloops are limited, and require connecting a USB cable and/or possibly removing all modules.

So, this new feature, which can be found at Magisk>Modules>Bootloop Blocker>Automate Removal of a Module enables an automated removal of a module after a specific number of boots. So if you get in a bootloop caused by a module, you can have it automatically removed after X number of boots. Which, if your in a bootloop, shouldn't take too long time wise.

The Options/Parameters you are presented with and need to make a choice on are:

Option​

Choice / Explanation​

Module	The Name of the module. Specifically the path its located at under /data/adb/modules
Behavior	This option controls the boot count at which things occur. For example, the first in the list will mark the module DISABLED on the 3rd boot, mark the module for DELETE on the 6th boot and physically delete the module (ie the directory) on the 9th boot
post-fs-data.d script	This option lets you select a post-fs-data.d script to be deleted on the final iteration
service.d script	This option lets you select a service.d script to be deleted on the final iteration
Confirmation	Your final chance to opt out

When you go into the list, you will see that at each step, you can select *NONE* which means it wont actually do anything, so it allows you to test it before you actually need to use it in "anger".

You will also note that the script itself wont be automatically be deleted, so YOU will havce to remove it, either using the menu item found at Magisk>Modules>Bootloop Blocker>Remove All - Script & Log or manually. It can be found at /data/adb/post-fs-data.d/00_TeMeFI_Magisk_StopBootloop_*.sh

If you select it to start disabling/removal of things on say the 3rd boot, but you are on the second boot, but still want a few more test boots, you can simply re-run the process (possibly with different parameters) and the whole iterations start from 0 again. So technically you could have it running the whole time if you remenver to reset it after n boots.

In summary, I now use this feature whenever I am testing/trying a new Magisk module.

NOTES ON A11. in my testing, it fails to work on my pixel 4a running A11, i tested and developed on oreo.
[Android Apps and Games] pleasetouchmenot:
Now that's a feature worth mentioning for.
[Android Apps and Games] DiamondJohn:
oooo... almost forgot. It creates a log file in your SDCard root, telling you what it has done on each boot.
[Android Apps and Games] BillGoss:
I wanted to try out this app, so I downloaded it (v1.1.0) but, to my surprise, the MD5 in the OP didn't match that of the downloaded file. I saw the previous posts regarding MD5 mismatches, so I double checked by downloading it on my PC as well as my phone.

And I get consistent results on both devices:

TeMeFi-v1.1.00.apk has an MD5 of 79D93385D2F38690E517306C786564A5

OP has 4e4a442121bae95b394ab712e30c649c

Also, the link points to a DropBox file. Is this correct?
[Android Apps and Games] DiamondJohn:
For starters, yes, it maps to a dropbox file. One of my dropbox accounts.

My local copy of what was released MD5: 79D93385D2F38690E517306C786564A5

I downloaded directly from the link in the OP MD5: 79D93385D2F38690E517306C786564A5

OP INCORRECTLY shows: MD5 4e4a442121bae95b394ab712e30c649c

So, My bad this time. Sorry. I have corrected the OP to 79D93385D2F38690E517306C786564A5

From memory, the last mismatch was with a previous version, and that time it was the user. This time it was me, but it was good that you actually checked it! Thanks.
[Android Apps and Games] DiamondJohn:
Blimey! I just posted the above response, and @Oswald Boelcke Thanks appeared as it was rendering the post! ie before I know the post was posted. And my internet is fast.
[Android Apps and Games] Oswald Boelcke:
If real life allows I try to monitor excellent development in real time.:D
[Android Apps and Games] DiamondJohn:
Monitoring a thread is good, but that time I think I felt your breath on the back of my neck!

Also, some info on how TeMeFI can be used was discussed in the @osm0sis thread.

https://xdaforums.com/t/tools-zips-...tiple-devices-platforms.2239421/post-84737399
[Android Apps and Games] DiamondJohn:
New Version v1.1.01

Interesting things to note in this release:

Fixed deleting a fav with a bracket in file name

consolidated all set configs (internal)

added action type explanation to menu item explanation (long press a menu item to see the explanation)

Improved battery stats avoid disk IO error. I thinkunder A11 I am getting a LOT more lines in the battery stats source, causing the shell SQLite binary to soil itself

"Skip root" - For Non-Root users, use (as with anything in TeMeFI ;) ) at your own risk, and probably best to wait till I explain what it is/does it in a later post

Download: SEE OP!

New Items. within the menu at "TeMeFI Configuration>New Menu Items"

Updated Items. within the menu at "TeMeFI Configuration>Latest Updated Menu Items"

a LOT of these items will be triggered because of small improvements/corrections within shared code.

The updated items may invalidate some of your existing saved favourites. Use the documentation/details of a fav to re-create them, manually.

Enjoy and stay safe.
[Android Apps and Games] DiamondJohn:
hey, I just re-checked the MD5 after the last release malarkey (ie. borked by me :oops: ...) Hopefully, the fact that the 2nd-5th characters combine spelling DEAD is not an omen... :eek:
[Android Apps and Games] cris2d2:
I'm using TeMeFI 1.1.0.1, Magisk 22, ResurrectionRemix 8.6.7 ROM (Android 10). I have installed Youtube Vanced root edition from Vanced Manager and I tried to detach Youtube package from Play Store but it doesn't appear in TeMeFI Detach Packages List. Neither com.google.android.youtube package name nor Youtube app name are present in that list.

Do you know how can I fix this issue?
[Android Apps and Games] DiamondJohn:
You can only detach an app that IS ATTACHED.

During testing, what I used to do was go to the Google YouTube app on the play store, then click the UPDATE button, and BEFORE it finished downloading and installing, I clicked on the cancel button. This action appears to get the PlayStore to attach YouTube to your account, so TeMeFI can then detach the app. NB, make sure you have removed any detachment attempt to YouTube in TeMeFI, before you do the above.
[Android Apps and Games] cris2d2:
It worked! Thanks a lot! I didn't know about this attachment thing, I thought that as long as an app appears in Update list in Play Store, it's already attached.

A weird thing (noticed while I was looking for Vanced in detach packages list): a few hours ago I've installed a game from PlayStore and uninstalled it a few minutes later. Even now, after more times system restarted, it appears in TeMeFI detach packages list.
[Android Apps and Games] DiamondJohn:
The playstore keeps a list of apps beyond your control. For starters, you also have to remove the app from your library, as well as uninstalling it. But even then, google may track that you once installed XYZ so that it can recommend an app just like it, for you to install at a later date.

After you uninstall the app, and remove it from your library, if you still see it in TeMeFI, then detach it using method 1 and then use the new "Shallow" method to release it (ie re-attach). I haven't tested these steps, but logically I think that would cover your tracks, at least from what TeMeFI can deduce.
[Android Apps and Games] DiamondJohn:
Ok, so what IS "Skip Root"

You can find it in the menu, to turn it ON at:

TeMeFI Configuration>Default Startup Config>Set Skip ROOT on Start-Up

& to turn it back OFF at:

TeMeFI Configuration>Default Startup Config>Remove Skip ROOT on Start-Up

What it does, is that by turning it ON, causes all the actions that would be run under root, to run without root. The rationale for this feature is I assume everything interesting requires root, and testing it without root would be very onerous and time consuming (and not much benefit to me personally as I have root ;) ). As such, there are items I run under root, that do not need root to be run. By enabling this option, there would be a number of actions that were only available to root users, that now could possibly be available (and work) for non-root users.

A couple of points:

If you have root, there is very little reason to use this option.

What it does not do, is enable root actions to be performed on an un-rooted phone.

If you are rooted, this setting will break many root functions, as they will now attempt to run without root.

As with everything in TeMeFI, the onus is on you to understand what you are running.

I cant think of anything in particular, but it *may* be possible that some actions would successfully run the first few steps as non-root actions, but then fail on the step that does require root. Some of these scripts are over 1000 lines (ie steps) long.

The reason I thought this feature may be of use, is that recently I saw a user (on another thread) who wasnt rooted, ended up using a method only available within TeMeFI to root users.

You (ie non-rooted users) may find that the filling of sub-menu items may now work, even though the actual final action will fail, as that step does require root.
[Android Apps and Games] Sir_gpm:
Having problem downloading from Dropbox.
[Android Apps and Games] DiamondJohn:
That would be on your end. I just tested the link and it worked. Also, ironically, the last 24hrs has been the most in a single day of downloads that has occurred.

EDIT: I also tested from a TOR browser, to avoid any auto-login type issues, and that also worked.
[Android Apps and Games] DiamondJohn:
A favour to ask.

I am working on a major upgrade to the Battery History Graph. To better test the changes, I require battery histories with 4+ days in them. On all phones I have owned preciously, the battery history resets itself if you charge over 90%, and I think a few years back when I was testing it originally by trying to hold onto >4 days of history, it also automatically reset after about 4-5 days. i.e. the history is wiped And hence I keep failing to get more than 2 days., which then sets me back 2 days

What I request are simply the battery history reports (NOT the graphs), with 3+ days of history, multiple reboots would also push the testing. ie turning off overnight is better

The source data I wish, can be acquired by running Currently Running>Battery>Battery Stats , which is a textural report. Save off the data, zip it up with a password, attach the encrypted/PW Protecteed zip, and PM me the password. Or, upload the file to a text host (such as del.dog or pastebin.com etc) and privately PM the link to me. I am cautious about the contents a little, as it holds a LOT of data, and some of it may be identifying (such as WiFI SSID's)

Thanks in advance.
[Android Apps and Games] freakerload:
Detach on Youtube is not working permanently.

The update comes back to playstore after a wile.
[Android Apps and Games] DiamondJohn:
Post your screen (prefably the saved off html) of your detach test for youtube.

To be clear to others, if you have done it correctly, and it does not work, then you would be the first. I have been using it for a number of years on a number of phones, versions of android and ROMs, al successfully.
[Android Apps and Games] Zechz:
I'm facing the same issue I think. I detached Vanced using the third method but still shows update on play store.

Youtube doesn't show up in the "my apps and games" available update list though. So I'm not sure if this is how it's supposed to be.

The annoying asf "update youtube" popup in opening Vanced Itself seems to have gone away which was my main reason for doing this. When I click the update button playstore FCs.
[Android Apps and Games] freakerload:
Iam using Vanced YouTube and the same with all 3 options.

The update information comes on Playstore after some time back. One, two, three days or later or faster.

If i detach it is right away.
[Android Apps and Games] DiamondJohn:
Arrrrggghhhh! Thats not the whole screen. This is why I suggested you post the saved off HTML. If you are going to use a screen shot, you will need TWO screenshots to show everything.

Also, whats with the brown background? That is not one of the colour options TeMeFI provides by default. There is a manual way to set it, but it is a manual step.
[Android Apps and Games] DiamondJohn:
I have said this many times before.

YOU SHOULD NEVER VISIT THE YOUTUBE PAGE IN THE PLAYSTORE!

We are playing hide and seek, and you just yelled out where your hiding.

As for the update when you start YuTube, thats an issue with the app itself checking for updates. If anything, Vanced should modify this behavior, as its in the YouTube app. TeMeFI only stops the PlayStore from updating behind your back.
[Android Apps and Games] DiamondJohn:
So, what I am hearing (even though you visited the youtube page), YouTube is NOT being updated. So, IT IS WORKING! despite your actions. Its "detach" to stop background updates, not remove from all existence.
[Android Apps and Games] pleasetouchmenot:
Why does everyone visits the YouTube page in the Playstore and then says that Detach is not working? Eversince i used TemeFi in detaching YT and AR Core on Playstore, i never saw any update prompts regarding on those 2 apps. It is working flawlessly. Also as DiamondJohn says, TemeFi stops your update prompt, but why would you need to visit the page itself? Just to bother yourself that the YouTube app still requests for an update?

If you want to fully detach the YouTube from the Playstore, then ask the Vanced team regarding on that so they can fully detach their modded app in the Playstore like what they did on YT Music.
[Android Apps and Games] freakerload:
I am not visiting the YouTube page in playstore.

On the update page with all other apps there comes YouTube back.
[Android Apps and Games] DiamondJohn:
You have not answered my question/request. I cant help you without these details as the first step.
[Android Apps and Games] DiamondJohn:
umm.. just to be clear. The "update" button on the YouTube page itself will always appear. What the detach is meant to do, and succeeds at doing, is stopping the play store from updating in the background without your knowledge.

It does not achieve this goal by hiding youtube from the playstore. It does it by stopping the update. And hence, if you got to the youtube page (which you should not do) it will show that there is an update available, and if you try to manually update while its detached, I kick the playstore in the most impolite way, and hence you get a FC. i.e. that's all exactly how its suppose to work, except you should never visit the YouTube page. There is no reason to do so as you detatch to not get the update.

As for the pop-up within YouTube, that is within youtube and not the playstore. However, I ppersonally have not seen one of those for over a few year now. What I have seen is offers to upgrade to the premium version of YouTube, which is a completely different case to a simple direct upgrade to googles latest youtube.
[Android Apps and Games] freakerload:
saved off HTML what do you mean exactly? What must i screenshot.

And the brown color is i have set force dark mode in developer settings.
[Android Apps and Games] DiamondJohn:
When you click the menu button, the fly-out menu has a pencil icon on the far right. That saves off the results into the path /sdcard/TeMeFI

its NOT a screen shot but exactly what TeMeFI is displaying to you. You can also view the reports (such as a battery history) using the full screen of your desktop PC! Viewing that report on the desktop has a lot more advantages as there are interactive features when you hover or click on items. Its hard to hover with a finger...

Run the report, press the menu icon, click the pencil icon, Zip up the file (in the directory above) and attach that to your post.

NB: Every icon in the fly-out menu has a short press AND a long press action. I have corrected the 2nd post with the original images (from v1.0.19) as it was clearly damaged in the conversion of XDA.
[Android Apps and Games] DiamondJohn:
Thats weird. Does all the internet also come out in altered colours? Dark mode in android should only affect system components (ie screen backgrounds and buttons etc). I explicitly set the colours in the TeMeFI reports display, and your ROM is disregarding it. The Doze and battery history is based heavily on colours, so must really be screwed. Kinda annoying as I spent a looooot of time getting the colour blends to look right. PS: I use dark mode.
[Android Apps and Games] freakerload:
I must detach very often it updates automatically. The update is showing under all apps with an update.
[Android Apps and Games] HippoMan:
I've been using Titanium Backup for years, but I just now noticed that it offers the following function which can be applied to any app: "Detach from Market". I'm just wondering: do this and the TeMeFi "detach" function have identical functionality? In other words, are they interchangeable, or does one perhaps do more than the other?
[Android Apps and Games] ipdev:
Hi.

I haven't use a detach method in awhile.

The last time I did..

Titanium's Detach from Market worked but, it would eventually fail.

Since PlayStore defaults to Auto-Update when it finds an app, the app may be updated before you notice it.

TeMeFI's detach worked flawlessly.

Cheers. :cowboy:

PS.

Currently I just utilize the Auto-Update option in PlayStore.
[Android Apps and Games] loco-cork:
I'm trying to use this app on my OnePlus 5t to fix the problem with Viper4Anfroid being killed. Phone is rooted with Magisk, app has root and storage permissions.

When going through various menus like for example 'Kill app' or 'Hibernate app' I can see a list of apps showing up form which I could pick one. When trying to do the same with 'Nice' or 'OOM' no app list shows up. Tried reinstalling, clearing app memory, revoking and granting root access again. Still the same. Any ideas?
[Android Apps and Games] DiamondJohn:
TeMeFI is basically an interface to the command shell. As such, it is dependent on the ROM build of ToyBox.

TeMeFI also allows you to actually see the commands to be run for both any action as well as for dynamically built lists; such as a list of installed or running apps. If you long press the "OOM an app to Superman [-17]" and select "Preview", you will see in the results

ps -Aw | grep -E "sys_epol|ep_poll" | grep "\." | tr -s ' ' | cut -d" " -f"9" | sort -fb

This is the shell command that is run to retrieve a list of running apps. My guess is that your installation of toybox is retrieving a different result than that which I have seen on LOS and AOSP ROM's. I would assume its the

ps -Aw

that is the culprit. Please run the above in a shell and post your results up on www.hastebin.com and put the link here.

su;
ps -Aw;

FYI: for Viper, the following two scripts (in attached zip) is what it will actually end up running.

NB: these scripts do not have the header bang op, and are named as log files, so to run you will need to rename to sh extension and run via "sh XXXXX"
[Android Apps and Games] loco-cork:
Here you are

https://www.hastebin.com/idinurenaj.apache

... and thanks for the scripts. They work fine.

Any idea how to make them run automatically every time I start Spotify?

I have Tasker starting Spotify when bluetooth headphones are connected. Can those scripts be included in this task?
[Android Apps and Games] DiamondJohn:
Your output looks fine for "ps". My guess that "ps" was the issue, is incorrect:o

Try running each of the following, to see when the results stop being returned?

su;
ps -Aw | grep -E "sys_epol|ep_poll";
ps -Aw | grep -E "sys_epol|ep_poll" | grep "\.";
ps -Aw | grep -E "sys_epol|ep_poll" | grep "\." | tr -s ' ';
ps -Aw | grep -E "sys_epol|ep_poll" | grep "\." | tr -s ' ' | cut -d" " -f"9";
ps -Aw | grep -E "sys_epol|ep_poll" | grep "\." | tr -s ' ' | cut -d" " -f"9" | sort -fb;

If the last line is still returning results, then there is something else (as in I cant see what) is going on. Maybe a logcat would be the next step.

I do not use tasker.

Generally speaking, to re-use the scripts as standalone scripts, I think all you would need to do is:

1. rename the script to have the extension".sh"

2. insert the following line at the top

[COLOR="Green"]#!/system/bin/sh[/COLOR]
[Android Apps and Games] loco-cork:
It's either me doing something wrong or that's how it is on my phone.

ps -Aw returns what you've seen before.

The rest of lines return nothing.
[Android Apps and Games] DiamondJohn:
I don't think you are doing anything specifically wrong, if the following line returns nothing, then it would appear your phone/ROM has an issue with "grep", which is pretty central to a lot of shell functionality.

ps -Aw | grep -E "sys_epol|ep_poll";

Absolute worst case scenario is that you have done some customization which has in some way broken your shell.
[Android Apps and Games] loco-cork:
When I have some more free time over Xmas, I'll try to clean flash the ROM. Was planing that to clean the clutter anyway. Will see then.

Thanks for your help.
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.28

Download: SEE OP!

Added result screen colour options (find in the menu under "TeMeFI Configuration>Results Screen Colours")

Added "SEND KEYS" (find in the menu under "Current Running>Send Keys")

When changing the "Results Screen Colours" the actual change will not be visible until after the next report run. A quick check I use is to simply make the change twice, and the actual colour changes will be visible the second time it is set.

The SEND KEYS functionality (Current Running>Send Keys) is a loooong list. If you long press the "X" button at the base of the menu, it will pop up a filter option to limit the menu list. For example, typing in "media" (NB: the filter is not case sensitive) will limit it to media control send key events such play/pause/stop/next/previous etc etc
[Android Apps and Games] DiamondJohn:
You can manually set the screen results window items to any colours you like.

For example, the following would do it. Simply change the red values to the corresponding HEX RGB values you want.

For a yellow theme:

echo "#[COLOR="red"]101000[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_PAGE;
echo "#[COLOR="red"]FFFFAA[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_TEXT;
echo "#[COLOR="red"]101000[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_PAGE_ERROR;
echo "#[COLOR="Red"]FF0808[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_TEXT_ERROR;

For a mauve theme:

echo "#[COLOR="red"]100010[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_PAGE;
echo "#[COLOR="red"]FFAAFF[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_TEXT;
echo "#[COLOR="red"]100010[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_PAGE_ERROR;
echo "#[COLOR="Red"]FF0808[/COLOR]" > /sdcard/TeMeFI/.config/HTML_COLOR_TEXT_ERROR;

NB: the "#" at the start is required, and the colours can be attained from many many online suites eg https://www.rapidtables.com/web/color/RGB_Color.html
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.29

Download: SEE OP!

Upgraded to support both Magisk 18.1 and the previous 18.0 (NB: Only tested with v18.1)

Added "Magisk>Magisk Repo List" use the filter results (ie long press magnifying glass) to do a text search across all details within the repo, including description etc

Added "Various Ungrouped Extras>Current DNS" use to see the change in DNS between WiFi and Mobile data