yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
YES. But its the point of the post you have missed. It was an opportunity for you to learn, and you clear;y have somehow riled me. And failed to realise how. Which only proves the point of the post. I explicitly said I know how to respond.

Now, please leave me alone, Im trying to complete a release for everyone else.
[Android Apps and Games] DiamondJohn:
New Version v1.2.01​

Download in OP

Updated Features

Improved / Fixed the SQLite Magisk Module creation. Could be just an issue on my device, but it is better for all now.

New Features

NONE

This all can be seen for all releases under

TeMeFI Configuration>Created / Updated Menu Items by Release
[Android Apps and Games] DiamondJohn:
I know, thats what i explicitly said. When you read, you need to use taught to gain understanding.

And I gave you a hint. SEARCH. So in addition to giving you this app, AND all my posts and my first responses that would help. should quit MY job? Of course, its so much harder for you.

For gods sake, I did that for YOUR benefit, not mine. That shovel really is getting abused.

And thats clearly not you, its YOU that is demand help but also in a timely manner that satisfies YOU.

What, A cup of coffee? are you serious? divide your donation by the total hours I have spent on this app.

I had one person who was grateful (he actually) helped himself using the app and reading the thread. He on his own drive hounded me via PM to make a donation. Instead of taking the donation I directed him to a donation to charity instead. That made us both happy. He had the drive to be thankful, not a passing comment. I dont know how much he donated, but I live in the first world, and I dont even drink coffee

I dont ask for donations because people then think I owe them something. Someone who already thinks Ive done them a disservice by sleeping during the night, would be beyond belief in what they expect if the donated a piddling.
[Android Apps and Games] Badger50:
Thread lightly cleaned.

Greetings to all. While disagreements are inevitable from time to to time, I would kindly ask you all to please be respectful towards each other as stipulated in XDA Rule 2.3:

Spoiler content hidden.

Furthermore, please keep in mind that all developers on XDA put in hours of hard work for our benefit, so please be patient and polite with your requests since they have real lives as well, as stipulated in our Forum Etiquette Guide:

Spoiler content hidden.

Please also note that it is always best to "report" certain posts rather than replying to them in a negative manner which usually leads to situations like these.

Your cooperation is greatly appreciated, and a pleasant weekend to all.

-Regards: Badger50
[Android Apps and Games] DiamondJohn:
OK, this is a little freaky. I searched ALL the script builders, and the ONLY case I could find with the above type was the case you found. I really thought it took a while before I realised, but obviously not, or I went through the clean up already (and missed this one or added it after the cleanup), and dont remember now.

So I have fixed it, and it will come through in the next release.
[Android Apps and Games] HippoMan:
So, I guess I just happened to stumble upon the one and only instance of this.

Not freaky, unless perhaps some supernatural Software Correction Spirits were at work, guiding me.
[Android Apps and Games] XtraWater:
I have the same issue. Youtube and Youtube music still appears on playstore. Even after deleting cache and data. When list detached I cam here because the module detach doesn't work anymore. May be temefi is affected too?

Edit; I red the previous few pages. There are more user who reporting that it doesn't work. Actually the same time frame as it h appened in Detach module. So I guess Google. has something changed.
[Android Apps and Games] DiamondJohn:
Clearing Data & Cache of YouTube will make no difference.

Clearing data of Playstore will DESTRIY the detachment. Dont do that.

If google do an impolite major update by chance just after you do a detach, that will kill the detach.

If you see the items still in the list of items toi be updated, then run a check immediately at that point in time. Save the results, and zip & post here.

Youtube & Muic will still "appear" in the playstore and if you click on the items, they will show there IS an update. I dont kill data googles private servers. Wat I do manage is to stop it appearing in the LIST of apps to be updated. ioe make sure you understand what is achieved. And I stop it from auto updating in the background without you knowing. Know what to expect.

As a test (not that I would recommend it) try clicking the "update" button on YouTube when its detached, and it should kill the playstore quick smart.

Understand WHAT it does, not what you expect to see. This is not Xposed and I do not break into google servers. Everything is local. And the BIG question is, did you get an update come through? Its about stopping an update NOT about visual presentation.
[Android Apps and Games] HippoMan:
Does the following message from earlier today answer your question? ...

https://xdaforums.com/t/app-tool-temefi-comprehensive-system-administration.3806260/post-89130174

You'd only have to read back less than one full page to get to that particular message.
[Android Apps and Games] Badger50:
Moderator announcement:

Greetings again. Can we please lower the temperature a bit and return to civil and polite discussion with a reminder of my PSA.

Thank you: Badger50
[Android Apps and Games] XtraWater:
Here's a zip file from check of Youtube and Youtube Music.
[Android Apps and Games] DiamondJohn:
FYI: I have a very small new build I think I will release. It mainly fixes and adds the following

FIX

Warning/alerts were not being shown on Extended methods ie where it fills a sub - menu via code eg list of packages. ie I typed the warning but they werent being shown. Usually something like "This will take a long time" not usually serious.

Added

ARCH check of installed packages (system & 3rd Party & disabled & ALL). So it checks if an APK is 32b or 64b. But only works for ARM. I was shocked the percentage of 32b system APK's of my current A13 ROM.

Improved

Screen record with optional logcat. Added a number of extra resolutions. including the first selection now being your actual screen resolution. I found the "common" historical ones I originally entered did not have my actual current devices specific resolution:poop: , Im really liking this method more & more as a way to report ROM / App bugs, as it shows what you did with a logcat specifically over the period you did it, showing any screen / visual fails with a matching limited logcat. And I added screen touch display, so the viewer / dev can see what you clicked on to reproduce the error.

For Run History, automated the UNCOMPRESS of previously compressed results. Previously you basically had to view the report to see the uncompressed results. Now you can temporarily Un-compress any compressed results so then search the results (you cannot search across compressed results) and then recompress them. I had thought I had already built that in, but had not :mad:

Holding the release back is a TODO, to simplify the setting of the parameters controlling the auto-purge of the run history

On run history, I recently ran a report but didnt save it off, before fixing it, and a few days later I regretted it, but then it occurred to me that it would be in my run history, and it was! It really is of great benefit for me personally. And have two favourites created of the run history list and the run history stats. Although I do have to admit, testing compression & uncompressing is almost a satisfying little game with the simple & automated diff it makes.

Also a heads up. Every year around the time Google release a new version of android, they commonly do a major fix to the playstore, and do it impolitely by blowing away their old version thus breaking some detachment objects; instead of a targeted incremental fix only of what needs fixing. I noticed a recent one that broke some of the detachment methods (but not all) and no updates actually got through, which is what its all about. So I re-detached one, and that pretty much fixed ALL detachments, as they share code. Another Favourite of mine (check and re-detach), so very easy to access.
[Android Apps and Games] DiamondJohn:
Arrrrgggghhhh... They released a new SQLite!
[Android Apps and Games] DiamondJohn:
Built & released.

New SQLite3 Binary v3.45.2 for ALL devices

I built the latest stable SQLite3 binary for ARM devices. I built it as I have an app that I requires it, and distribute it with my app TeMeFI , as a lot of people asked to not have to install it as a separate step. TeMeFI app does a LOOOOOT of...

xdaforums.com

it will be included in the next TeMeFI Build as well. But as always, only the 32b ARM version
[Android Apps and Games] HippoMan:
Regarding the sqlite3 features offered in TeMeFI ...

Is it possible within TeMeFI to perform dumps and restores of selected sqlite3 databases and tables? I didn't see anything in your menus about that, but I could have overlooked something.

I know I could use TeMiFI to see how you use sqlite3 in some of your scripts, and then use that knowledge to write my own scripts to do that dumping and restoring.

But I don't want to "re-invent the wheel" if there is aleady a way to do this from within TeMeFI that I might have overlooked.

Thank you for any thoughts and suggestions.

Oh, I found the database dump action.

But does there happen to be a table dump action and a table restore action? That's somthing I still don't see. I want to only dump and restore a single table within a certain database.
[Android Apps and Games] DiamondJohn:
I haven't explicitly checked myself within SQLite, however, dumping the data from a single table is problematic in a RDBMS, as the data from one table possibly cannot exist without the data from a second table, which could then depend on a third table etc etc etc, ie in practice you end up with a full DB Dump. And before you say you can check the ref integ, its actually even more complex than that.

I personally, would do a full dump and manually edit the file on a desktop to meet my specific needs. A lot easier than creating all records from scratch. I have seen a lot of GREP based examples online.

Unless you read the sqlite doco and find something.
[Android Apps and Games] DiamondJohn:
New Version v1.2.02​

Download in OP

Updated Features

Use the menu to get all the historic release info

Updated SQLite to 3.44.00

New Features

32/64 bit APK check

This and MORE all can be seen for all releases under

TeMeFI Configuration>Created / Updated Menu Items by Release
[Android Apps and Games] HippoMan:
Yes, I was thinking of a similar procedure: copy the entire database to my Linux desktop and do the dumping and restoring from there, and then copy the db back to my Android device.

Yes, I agree that table relations could complicate dump and restore operations.

And so it indeed makes sense that you chose not to offer these table-level operations.
[Android Apps and Games] DiamondJohn:
Not really my choice, it was decided / not coded by the SQLite team. for me to piggy back off of I personally could code a few simple steps to enable it, but I have no use for it, and would probably copy the dB to desktop and delete / drop what I dont want. And maybe that might be a better path for you too. Mabey make a db copy, then issue drops (on ref and then tables), from within TeMeFI. Or attach and insert the data across to a different dB with a select into. Theres more than one way to skin a cat
[Android Apps and Games] HippoMan:
Yep, that's what I just wrote that I would probably do.

With regard to the particular database in question, I know in this special case that there are no relations between the table I want to dump and restore and any other tables.

But of course I know that this can never be assumed in general, and again, it therefore makes sense that table dump and restore would not be part of TeMeFI.
[Android Apps and Games] HippoMan:
PS: The sqlite3 executable that's available on linux does indeed support dump and restore.

It's done like this:

To dump the contents of a table into a file ...

.output filename

.dump tablename

The "filename" file will then contain ...

PRAGMA foreign_keys=OFF;

BEGIN TRANSACTION;

CREATE TABLE tablename

... etc. ...

And then a bunch of INSERT statements.

And then ...

COMMIT;

And to restore ...

.read filename

I'm not trying to suggest that you make use of any of these commands in TeMeFI. The fact that they turn foreign_key processing off demonstrates that this kind of dump/restore functionality indeed does not play well when there are relations between the dumped/restored table and other tables.

I just want to point out that sqlite3 indeed offers these capabilities. And I have actually successfully used them before on several different linux machines.
[Android Apps and Games] DiamondJohn:
Actually, I have a boot script that I think backs up a single table. Nope, just checked, and this dB only has the one user table, so its a no brainer with a normal dump.

Maybe if you create a new database, attach the one table into the new dB, and then dump that new database? But, you already have a solution. I have a number of my scripts registered within TeMeFI, which now brings in the extra feature of run history & compression, to my script output.
[Android Apps and Games] DiamondJohn:
And google have done another nuclear playstore update. Check your detachments (should only need to rerun 1, I keep it as a favorite since its a google yearly thing). But to be clear, I did not have any failures in detachment, I just notice a few of the 20 odd steps were failing. And hence one of the reasons I go with so many different block methods/steps
[Android Apps and Games] DiamondJohn:
NOPE!

I noticed after re-running the detach and then checking a few hours later (ie the next morning) the fails were back. 🤬 BUT no updates had slipped through. (y):unsure:

So I checked what was going on, and to my surprise, it was a "consolidation" by google. Some would call it a simplification.

What was happening, was that I placing code and artifacts against a stream of google code, that they had removed/deleted references to, so they made the artifact an empty shell, Because I was attaching to it, it looked to them the thing was back, so they re-initialised it to empty, and in doing so, blew me away. Basically, they are no longer using it, so there is no need for me to block this avenue.

I have started coding removing my blocking down this path, and removing the check for it from still existing. It will be in the next release. Until then, ignore failing checks 1.0, 2.0 and ALL 11.*.
[Android Apps and Games] DiamondJohn:
Fail

Not for update

Still ReVanced - not updated by google

I.e. Update blocks STILL WORKS.

You can also look in the app update history within TeMeFI to confirm no update has slipped through
[Android Apps and Games] HippoMan:
Are you sure that this actually is new Google functionality and just some temporary glitch on their part?
[Android Apps and Games] DiamondJohn:
its a black box. They dont call me to tell me nuttin. Google moves in mysterious ways...This is nothing compared to the years they have broken and failed to fix, non-embedded album art🤬:poop:

However, they have had these shenanigans happen for at least a week I think. And to keep me in a position to get everything back, not only do I have the previous versions (ALL history) in source control, the changes I have made are simply as commenting out the now redundant code, ready to bring it back in a flash.
[Android Apps and Games] DiamondJohn:
ooOOooo... I am working on the feature of being able to export favourite's from one device & then import then onto another device, so they can be transferred / passed around. For me, it was a quick way to transfer ALL (I have a few, 32 + 9 separators) my favourite's (with or without their results, possibly compressed) from one device to another device. And, I just realized an interesting thing. I kind-a unexpectedly brought in the feature of being able to transfer one or multiple reports with their results (if they were flagged as a favourite) between devices. 41 possibly compressed reports in a single file. hmmmm. Currently its all around favourite's, but maybe extending out to all reports could be handy. Currently, limiting to only favourite's is me restricting it to only ones simply flagged as favourite's AND the extra data associated with being a fav i.e. others would be much simpler.
[Android Apps and Games] HippoMan:
I hope you'll forgive my ignorance: what favorites are you referring to? Web-browser favorires (a.k.a. "bookmarks")? Or something else?

Anything which facilitates the transfer of any information or settings from device to device can indeed be useful. I'm just not sure which information you're referring to.
[Android Apps and Games] DiamondJohn:
oh man, you are missing out.

Now, there are 000's of possible reports to run, but for each person, there may be 10-50 they wish to run every day or even multiple times a day with say 5 settings.

For example, I run a Currently Running, Battery, Battery history, @ 4x width, Discharge rate, @ 4% VERY often. Instead of having to dig down to the menu EVERY time and select my filtering, I have a favourite (if you notice its at the top of the Menu!) I have renamed the favourite as well/So now I just click Favourites and then "Battery history Idle drain" All my selections / filters are set in/as the fav.

I thought it wasnt being used by many, as there are two ways to create a favourite, and the easiest seems to be broken. If You LONG PRESS the pencil icon, that gives you the option. But its broken 🤬 However, the other method still works.

So 1st step is to run the report, then, In TeMeFI Configuration>Run History> (un)lock / Make Favourite /clear....>General - Unlocked & non Favourites>Make Favourite>(*** select the report ***) NB: the "General - Unlocked & non Favourites" option is a trap for young players, but its crucial.

It should now appear in your "Favourites" and be runnable by a single click! after you go in fav, where I run multiple reports at a time. Its a great place to "put" things without having to remember where the heck in the multi level menu it is.

You can rename the favourite. It defaults to the full menu path. Its under Run History>Admin or just do a search for "rename"
[Android Apps and Games] HippoMan:
Oh, now I see that you mean TeMeFI favorites. Yes, I definitely was missing out.

Thank you for explaining!

And for sure this is a beneficial feature.
[Android Apps and Games] DiamondJohn:
I wonder what people thought if they weren't setting Favourites, what the TOP menu item,l which would of been EMPTY! was all about? no-one even asked? what were you thinking it was?

With the new import/export, I could pass at least my favs to get people started. Or anyone could.
[Android Apps and Games] HippoMan:
I wasn't thinking about TeMeFI itself. I was incorrectly thinking solely about some sort of "favorites" that could be available concering the use of the Android device, itself.

You can criticize my incorrect thought process all you want, but that doesn't change the fact of that previous incorrectness.
[Android Apps and Games] DiamondJohn:
I am NOT critising i am asking a question.

TeMeFI tries NOT to have any real persistence, that it can avoid. Yes, the settings will affect your device globally, but TeMeFI itself stays "within its lane" as much as possible.
[Android Apps and Games] HippoMan:
Oh, OK. I wasn't sure. Thank you for making that clear.

In answer to your question, in my case, I wasn't thinking about the TeMeFI *gui* itself, so it didn't occur to me at the time I posted my message, and the idea of the TeMeFI favorites "me pasó por alto", as they might say in Spansh. "Passed right over my head" is a loose translation. I incorrectly thought that you were possibly talking about some sort of Android system functionality that we might be able to control via TeMeFI.

I doubt very many people would have made the same kind of error, so I don't think very many other people would have misunderstood what you were writing about.
[Android Apps and Games] DiamondJohn:
A little off topic, but since this app is all about running scripts, and its my thread, I think if you dont already know about the following, your going to be pleasantly surprised.

I have found a busybox that runs on windows! This basically means you can run 90% of your ash scripts on windows.

BusyBox for Windows

The things I like about this assembly:

No need to install, just place the exe in a known location

There are 3 ways to run it (see below)

I have used it to replace the windows command shell which is absolute rubbish and buggy & I dont wish to learn PowerShell to add things i need to remember. I have run C# scripting before, but I cant find the interpreter, it was on an old PC

One shared language between android shell, linux shell and now windows shell

Three ways I have found to use it:

Push DOS command out through busybox applets. So, you can pass the output from a windows DIR command through busybox GREP eg dir c:\temp\*.* | busybox grep -i "hello" and not just grep, we are talking awk, tr, cut, sort etc etc etc

Open a busybox shell. This feels like you have adb'd into a windows box. eg busybox sh -l

Run an ash script eg busybox sh "C:\temp\myscript.sh"

I also had a surprise when I think I tried to switch to a windows protected folder, and it gave me a permission/security error. So I typed in su and it opened a new superuser enabled window!

The one thing I haven't been able to work out just yet, is how to run a windows assembly from the bash shell. If I can get this to work, I could run SQLite for x86 from the bash window and use its output. AND running at the full speed of my desktop.

Its 32b and there's a 64b version, but thats supposedly a little buggy.
[Android Apps and Games] HippoMan:
It's good to know that we now have this busybox-on-windows option!

Just keep in mind that there also is something called "cygwin" which runs under windows and which sets up an entire unix-like command environment with a fairly complete set of GNU utilities. Cygwin has been around for more than 25 years.

Whenever I have to spend a lot of time running things on a Windows machine, I always set up cygwin.
[Android Apps and Games] DiamondJohn:
regarding cygwin, I knew about it, and that was the first thing I loved about this implementation. NO INSTALL!

Now to run a shell, your 90% (only functionality within busybox) there by just copying a single exe, and your off, and you can mix dos with busybox. For more serious scripting, I have a Virtual Box i use to build ROMs from source. Now, I don't even need to start-up the VM. But i still prefer ADB over WiFi onto my Android device for the serious stuff, like whats in TeMeFI. Its more that writing automating scripts for windows is soooooo much simpler now. I'm currently building a ASH/busybox shell script to build my firewall rules from various files downloaded from he internet and also tailored to the sites I use. Last I checked it was around 3.2M blocked IP addresses, and (safe) web-browsing is still working; its not finished yet.
[Android Apps and Games] DiamondJohn:
And now I can run win executable from BusyBox, and stream/manipulate the win output, within the BusyBox shell. I have windows with a linux shell. From what I read its a "POSIX" shell

test="$(cmd /c "G:/Temp/PeerBlock/sqlite3" "G:\Transfer\AndroidInitScripts\Pixel4A\_MUSIC\music_played.db" "SELECT * FROM played LIMIT 10;")";
echo "$test";