yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
Moved the following question from another thread, where it would of been a little long for OT.

The simplest way to start to investigate the media db (i.e. media scanner results) that I know of and use myself, is using TeMeFI's Dynamic dB Queries point and click UI.

So, from the menu select:

Database>Dynamic DB Queries>Filtered Table Data>/data/data

This will return a menu full of a long list of available app databases (an absolute treasure trove of app data inc sms, mms & call logs etc etc). To filter this list, LONG press the "X" button (a short press is the exit button) which will pop-up a text entry; used to filter the results menu. Type in "external" (without the quotes and case insensitive), and click OK. This should filter the menu to a single item. Select the single item, which will end with "?????/databases/external.db"

Select "Files" frm the menu (this is the table name, of the table which contains a list of all the files the media scanner has found on your device)

Select "_data", which is the file location and name

This action will pop up another entry box. Enter part of the file name (case insensitive and the longer and distinct/unique the string the better)

This action will return a list of files that match your search string. Hopefully if you have entered a long unique string, it should only be a single file. Click on this file or if more than one, the file you are interested in.

The next list is the order by field, but hopefully you only have the one (in this case), so click on "_id" (it should be irrelevant)

Ckick on "Yes" to continue.

This action will return a table/grid of all the details regarding the file. Do the same on your android 9 and and android 11, and compare the results for differences. The process will be effectively the same on A9 and A11, but the exact location will be different, but will be handled by TeMeFI and you will only be provided the correct location to simply click on.
[Android Apps and Games] oldman20:
excuse me! This graph is from TeMeFi app?
[Android Apps and Games] oldman20:
With TeMeFI v1.0.97 do I need instal SQL more? thank!
[Android Apps and Games] DiamondJohn:
No. A fallback SQLite3 binary has been included with TeMeFI since version 1.0.75.

I have a new Pixel 4a and I use the 64b one through magisk, as I have a heap of boot scripts that depend on it, and the one included as a fallback is 32b and is only used by TeMeFI, not the system.
[Android Apps and Games] DiamondJohn:
Yes.

Currently Running>Doze>Doze Cycle Graph>AUTO-WIDTHx4
[Android Apps and Games] DiamondJohn:
New Version v1.0.98

Interesting things in this release:

The new AdAway menu items give a lot more info than the menu name suggest Should get around to explain some of these items as it may be hard to understand at fiorst what it is telling you, and more importantly what it means when something is "missing" from a list.

Fixed the systemise/revert to work on A11 as they have removed a shell binary I was previously depending on.

Download: SEE OP!

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

Currently Running>AdAway Info>Sources

Currently Running>AdAway Info>Check Cross-Over of Source

Currently Running>AdAway Info

Currently Running>AdAway Info>Exclusive Hosts

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

The majority of those shown in the results will be because of updates to shared code; and its a BIG list.

The big modified one is

Systemize OR Revert An App

A11 dropped a shell command I was using.

Enjoy and stay safe.
[Android Apps and Games] aadeshiscool:
I got a few doubts, after setting up the doze profile under running>doze, it shows me some script to run at boot, now how do I set it up? To make sure the doze settings persist after each boot and also from where you people getting the doze graph, there are plenty of options which to choose? Sorry I'm kind of a newbie
[Android Apps and Games] DiamondJohn:
I am being overly thorough. On my current device (Pixel 4a running the latest Android 11), I have set my doze in TeMeFI once, and it has "stuck" through daily reboots, without a boot script. Try for yourself, it may operate the same. There are thousands of ROMs/devices out there, and some may need to reset it on every boot. If you do need to know how to run boot scripts, then that is WAAAAAAY beyond the scope of this thread.

Hate to be picky, but with sooooo many menu items, please check and use the letter for letter correct path to an item you are asking about.

As a newbie, you should first search a thread before asking a question.

But, I think its under Currently Running>Doze>Doze Cycle Graph There is also the search function. If you searched for "doze", one of the results would have the name with "Graph" in it. I personally use the search function a lot; for things I havent already created a Favourite for. And hence the next paragraph...

On a side note to all, most items I create/add, the first thing I do is locate it somewhere in the menu, commonly before I have totally coded it out. As such, a few items may be better in other more logical locations. If you see something that would be better somewhere else, please do not hesitate to make a suggestion.
[Android Apps and Games] pleasetouchmenot:
This app is freaking awesome. How did i missed this
[Android Apps and Games] pleasetouchmenot:
Been using this app for sometime and the detach from app store tool is one of the most awesome feature of this app. How did i missed this app for so long. To the dev, thank you very much for this very simple yet powerful app. This is freaking awesome.
[Android Apps and Games] pleasetouchmenot:
Btw i recently detached these 2 apps thru temefi. Is this good or theres something wrong in the failed or unknown that prompted?
[Android Apps and Games] edaem:
thanks for contribution :)

checksums do not much, is there some other link ?
[Android Apps and Games] DiamondJohn:
I just re-checked and they DO match. I also tried downloading via the link I provided, and that also matched. Are you certain you are using the correct checksum type?

The reason I provide a check-sum, is to confirm you have downloaded the correct version and also that nothing has been corrupted by your download process.

So,, the checksum appears to have done its job. Re-download the APK, and ONLY install it if the checksum matches what I publish.

PS: There is no need to quote the WHOLE of the OP.
[Android Apps and Games] DiamondJohn:
Check 3.0 is not one I would expect to have failed. However, are you by any chance runnign Android 11?

For my daily device, I am now running A11 on a Pixel 4A, and although I get a warning on check 4.0, it has not failed (i.e. it has not been updated by the PlayStore). There are 25 or so steps / blocks, so maybe Google has actually gotten a little less demanding in the background. Wothput explicitly checking the code, I am guessing "UNKNOWN" (as opposed to "FAIL") means, the playstore has not got the "lock" for attaching the app, so I haven't blocked that specific avenue for the playstore to "see" you have you tube attached.

Keep me informed if YouTube does get updated. For now, I would assume the other 24 steps will stop an update. Remember, I built this detach using 2 or 3 phones, so there are a lot of different variations out there.
[Android Apps and Games] edaem:
[/QUOTE]

Thanks for your response,

I re-downloaded it md5sum it and gave me 2c20b3cecb29a1f76c2952506ed76293

from Linux
[Android Apps and Games] edaem:
So,, the checksum appears to have done its job. Re-download the APK, and ONLY install it if the checksum matches what I publish.

[/QUOTE]

Thanks for your response,

I re-downloaded it md5sum it and gave me 2c20b3cecb29a1f76c2952506ed76293

from Linux
[Android Apps and Games] DiamondJohn:
What does it show for the checksum in the about page?

TeMeFI Configuration>TeMeFI About

Save off the results and attach them to a post here. You will probably have to ZIP up a HTML file.

Is anyone else having issues with the MD5 not matching?
[Android Apps and Games] HippoMan:
I just now checked this by downloading the TeMeFi apk from the OP

And then ...

$ md5sum TeMeFi-v1.0.98.apk
b3a937a33b587aec21e4c952b1a6a167 TeMeFi-v1.0.98.apk

This is the same MD5 sum that is shown in the OP, except that this one uses lower-case letters, and the one in the OP uses upper-case letters.
[Android Apps and Games] DiamondJohn:
As you probably can guess, an MD5 is case insensitive. I use 3 different possible sources for getting an MD5, two of which output it as lowercase, and one (a windows extension that gives MD5 and other check-sums in the windows file properties), shows its as uppercase. That's normally the one I use. Luckily, an MD5 of an MD5 does not have to match...

And the about screen does the MD5 check on the INSTALLED apk in case it gets damaged in transferring from your PC (if you download on PC) to your phone, OR if it somehow gets damaged by the installer.

Its good to know that I am not missing something, and they do match, for at least one other person.

Could I also ask that you remove the link in your post, in time that could become an issue where someone downloads an older version. Just link the OP and people would be able to find it.
[Android Apps and Games] HippoMan:
Of course. I posted this to show that the posted-in-the-OP and downloaded MD5 sums are indeed identical.

I'm guessing that @edaem might have downloaded the TeMeFi apk from somewhere other than the link given in the OP.

And I changed the link in my post, as you requested.

PS: And the MD5 sum in the "About" screen in my installed version of TeMeFi is also the same.
[Android Apps and Games] pleasetouchmenot:
Im using MIUI on Android 10 sir. But by checking playstore app for 2 days now to see if youtube or ar core will prompt an update again, but hopefully it wouldnt until now. Will give feedbacks to you while im watching my playstore if i can break the youtube detach issue curse on me or the playstore will break me first. Btw is it okay if the number 3 is the failed ones?
[Android Apps and Games] DiamondJohn:
It actually occurred to me that another real possibility is that @edaem has some virus or malware that is modifying his downloaded files!
[Android Apps and Games] edaem:
Nope actually it seems a bit hard md5sum to have been compromised especially as checked it in Linux console :geek:

just md5sumed mistakenly previous version

o_O

thanks for commenting
[Android Apps and Games] DiamondJohn:
When I saw your MD5 issues, one of the first things I checked was if your MD5 matched a previous version (and I checked ALL previous versions) and it did not. v1.0.97 had an MD5 of d98acf04ada813df5ef4da5c6db4e555. None of the previous versions of TeMeFI had your MD5.

MD5's do not get "corrupted", but the files you run it against CAN get "corrupted" and hence the concept of a checksum. A virus / malware CAN and does affect the binary contents of a file and hence the MD5 will be altered/different. Its a shortcut to a byte for byte comparison of two files.
[Android Apps and Games] edaem:
_[DiamondJohn]

A virus / malware CAN and does affect the binary contents of a file and hence the MD5 will be altered/different....

thanks @DiamondJohn , there is no virus around double checked (windows)

maybe I was checking some other file (?) can not bring it up

that noon I was completely :sleep:
[Android Apps and Games] DiamondJohn:
Please next time double check, I spent some time double checking / searching for the MD5. That time and the reading/posting time could of been spent on the next release.
[Android Apps and Games] HippoMan:
I know that the following feature is not part of TeMeFi. However, I'm asking here because you (@DiamondJohn) are very knowledgeable about many of the internal details about ROMs, and because lots of the readers here are also knowledgeable..

My question: does anyone know of a utility which can run on android phones (or at least *some* android phones) which could extract the current ROM into a flashable zip file? I'm not talking about a restorable nandroid backup, but rather, a zip file that can be flashed onto the phone via "Install" from Recovery, in order to install the OS.

I'm not optimistic that such utility exists, but I thought I'd at least ask.

Thank you very much in advance.
[Android Apps and Games] DiamondJohn:
a LOT OT and I do not want to encourage such.

But, maybe ask the question on https://xdaforums.com/t/tools-zips-scripts-osm0sis-odds-and-ends-multiple-devices-platforms.2239421/

And when you say "Recovery" are you talking specifically about TWRP? if so, then a backup NOT including your DATA partition I think would do the same. Also, if you are so adverse to a nandroid, you could convert a nandroid (without data) into a flash-able zip. Again, @osm0sis would be a much better person to ask, as I think he has some flash-able script project already.
[Android Apps and Games] HippoMan:
Thank you for your helpful reply, even though this is a LOT OT. I'll go to the thread you mentioned. I was already planning to go there as my next option.
[Android Apps and Games] DiamondJohn:
New Version v1.0.99

Interesting things in this release:

Magisk Module Bootloop Blocker

User Apps Installed By Date

Minor revision / adjustment to PlayStore detach and check

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"

Although the detach has changed, there is no significant reason to re-detach your apps. It was a pretty minor bug that was corrected.

Enjoy and stay safe.
[Android Apps and Games] pleasetouchmenot:
The detach feature of this app is so freaking awesome honestly. YouTube or even Ar Core wouldnt appear even a glimpse once you detach it. Plus the AppOpps and Permissions feature is good. Thank you so much for this all-in-one tool. It is very useful.
[Android Apps and Games] DiamondJohn:
I actually have another release in the wings (un-coded yet) I have come to realise that the PlayStore is not as obsessive with attaching other apps as it is with YouTube, so if you detach then clear the detachment in TeMeFI, it doesnt find all the expected attachment artifacts to enable a detach. I did this to my self with an app that I had Themed, but it was the latest (basically abandoned), so I couldn't trigger a re-attachment from the playStore, via an "Update" so I could then re-detach it in TeMeFI. So expect a another release pretty soonish. I'm actually surprised no-one else has reported this situation before.
[Android Apps and Games] pleasetouchmenot:
Maybe because everything seems working pretty fine for them (even on me). Honestly, i redetached YouTube and Ar Core after i updated from latest TemeFI update, and that's when the checks had all passed. Maybe i did something wrong? What do you think? Do i need to reattach the detached apps then clear TeMeFI detach remnants before redettaching them again or, let the app do it's magic without messing the Detach again? Should i redo the process again?

I flashed aosp rom on my phone and everything was passed in detach info.

But i'll defintely wait for the next release. Thank you.
[Android Apps and Games] DiamondJohn:
The issues I have seem with not being to re-detach an app after allowing it to re-attach have been with non google apops, and specifically non-youtube. ie I dont thingk the p[laystore is so adamant about all the techniques it usses to attach. So, I previously would fail it if one of the techniques were missing, but now I see they appear to have maybe relaxed their measures. Especially when its not their app. I was also in a state where I re-attached an app that WAS the latest version, so I couldnt "click the update and then cancel" to force it to re-attach. You have done nothiong wrong, its just the black-box that is the playstore is a black-box.

The more I think of it, the most surprising missing item I block if they triy to rest it back to working, so, if they try to instigate it if it was missing, I think my code will also block their attempt to instigate a missing step.

Either way, taking the exit out off the detach, lets it continue with all the other detach steps, which should give protection. YouTube is the one that really needs everything to be on.
[Android Apps and Games] pleasetouchmenot:
Understand. Will report to you if something weird happens in detach feature, also if YouTube or Ar Core appeared in my Play Store again without my, or TeMeFI's permission (which i guess never again because of how powerful the TeMeFI detach feature has).

Nonetheless, this is a must-have app especially for all the advanced and and not-so-advanced users. This app is very simple yet powerful. It's one of my main favorite apps now. Thanks to you.
[Android Apps and Games] DiamondJohn:
New Version v1.1.00

Interesting things in this release:

Playstore Detach check upgraded

Playstore Detach - loosen failure to allow less serious items to continue to be detached

Magisk Module Bootloop Blocker Fixed

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"

Although the detach has changed, there is no significant reason to re-detach your apps. It was a pretty minor bug that was corrected.

Enjoy and stay safe.
[Android Apps and Games] Exameden:
Hi, I see that this impressive app relies heavily on calling everything with su with command line options. In my case the device is semi-officially rooted (Meizu), but the su is default from stock so doesn't support command-line options (-c). I can successfully work in shell (termux) by entering su without parameters and executing everyting else after. Can TeMeFI do something like this or my only option is to "root more deeply"?

Thanks
[Android Apps and Games] DiamondJohn:
I have no experience or any device to test your setup. One option before actually doing as proper root of your device is to use the TeMeFI Configuration>Default Startup Config>Set ROOT available on Start-Up Setting this option will display all the available menu options, from which you could then "Preview" the item to run (to get the script) and then run the script manually in your terminal; such as termux.

Personally, Magisk adds many features alone, that its worth installing in itself, if possible.
[Android Apps and Games] curiousrom:
CURRENT MENU Update?

I find that CURRENT MENU linked in the OP really helpful but @ the present it says "Last Menu Update: 2021-01-12..." so the new stuff listed here is not included (screenshot):

BTW a [ bracket is missing in that post's title bold BB code:

B]New Version v1.1.00[/B]

***
[Android Apps and Games] DiamondJohn:
Thanks, fixed the copy paste error for bold.

As for the latest menu, you can also view it in the app, under: TeMeFI Configuration>Show Whole Menu Thats how I created the output in the link you are using, before I added it as a feature within TeMeFI.

It does take 30-50sec to generate, so if that's too long or you use it often, then simply run it once (after each upgrade) and save the results off, and then you can view them locally within TeMeFI.

Personally, I find the menu search function very handy to find where things are i.e. the magnifying glass on the fly-out toolbar. Also to note, is that this search searches everything. Including the Menu item name, the code, toast message instructions (both of these for each step/level of the function) & any comments I have made within the code. More thorough when looking for something than just the menu title itself.

PS: There's a little surprise added at the bottom of the about page ;)
[Android Apps and Games] Exameden:
Thanks, even without full-capable su, using TeMeFi like a queries database looks promising, although without ability to copy the preview command to the clipbaord it would be a challenge sometime to reproduce it manually. As for su, I even failed to disable sounds for menu in TeMeFi since it also told be about an error when I navigated the app setting.
[Android Apps and Games] DiamondJohn:
If you save the file, then you have the script. You do not need to copy paste it anywhere.

HGowvere, there is nothing stopping you from copying it and pasting it else where if you want ti go down that path.

If you have an error, save the error and post it. It is also documented above hgow to get to the last error. Simply long press the second text box in the middle of the screen.

In short, its all there, simply read. If you dont know how to do something, dont' assume it cant be done. ask a question on how it is done, not an inaccurate statement.
[Android Apps and Games] Exameden:
Ok, sorry if my message was inadequate. I tried to follow your suggestion to use your commands in termux and the simplest way would be to copy it from somewhere around preview action (either from the dialog or menu) and paste it in my termux/su session. If my only option is to save the preview output and copy the command from there, ok, I'll live with that.
[Android Apps and Games] DiamondJohn:
No, Its not your only option. You could preview (long press the menu item) the command / script, then save that off. then run the SCRIPT from termux. Many of these scripts are waaaaaaay longer than a single line command. Run the script you want, and redirect the output to a file. Also, a lot of scripts will output in HTML.

However, without proper root, you wont be able to use many of the child-menu's, as they are built running su scripts. So, you will probably only be able to preview the build of the next child menu. If you want root abilities, then you are going to have to root your device for real. MAYBE you could set up an su "alias" script that accepts the -c parameter and passes it on to your simplified su without -c. But I use the -c for a reason.