yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
Just as a caveat. I understand that the rest of the people that use this app, DO appreciate the work.

It is seriously bad form to publish a modified APK of a project that is currently under continued development, in that development thread.

You obviously don't get it, its there because it is silly.The other thing you do not get, is that when I built the app (and the banana made his debut) I spent all of 5 minutes looking for a place holder. And since he does not offend me, he has stayed. This app is not "about" the banana. You clearly do not get it. All the text and the images / icons are "place holders". The icons on the toolbar have changed. But the banana has stuck it out...

And again, you do not understand. The app itself has the functionality to not only turn off the sound already built in, you can select from a number of different sounds. And/Or change the volume.

And again, you do not understand. The app itself has the functionality to alter not only the background colour of the wait screen, but also of the results screens.:rolleyes:

And again, you do not understand. The choice of the icon is not some long thought out vote for one scientist over the other. However, if you were to do a poll of the worlds whole population, I would bet more people know Einstein than Hawkins. Neither of which would be on the top of MY list of "smartest person in the history of the world". He is just a funny and easily recognizable photo (and hence the icon stands out), while a funny photo of an ALS patient, may be considered to be in very very poor taste.

Now, neither of them directly wrote any of the scripts, but I thought Einstein would be better than a photo of me:p

And again, you do not understand. We had a discussion a while back regarding the size, and people went for a doubling of the size. And not just the APK, but also the install size. We are talking MB's here! I also have released 91 versions, not a single version where I hijacked someone elses' work.

You say "people shouldnt have to mod your apps to get rid of unnecessary stuff" that is the biggest piece of assumed privilege... IIIII shouldn't have to develop and share these apps, PEOPLE should build their own damn app that does exactly what they need. I am not here to do EXACTLY what YOU want. I do not charge anything for my time and effort, nor for the support OR answering posts like yours. If the Banana is too much, dont use it.
[Android Apps and Games] panni:
I have. I didn't post a screenshot of an error message.

1. I didn't visit the YouTube page in the Playstore

2. Yes, a work profile and a split profile (MIUI)

3. See 2.

So I guess this is due to the fact that I've got multiple accounts on my system. Thanks for the answer.
[Android Apps and Games] DiamondJohn:
its not just error messages. The results screen (as I have explained in previous discussions on the detach method in particular) has hidden extra info, that is only available in the saved off source, not in a screen shot. Off the top of my head, I would expect that if you have more than one account, it would fail the test, all the time.

If you actually go through the history, you are not the first person to have two accounts. From memory, the other person got it working. Find the old post and you can see how it worked for him.

I do not have two accounts, so have not developed it nor tested it myself. As a stab in the dark, I would run it multiple times (however many accounts you have x 2). But even better would be to find the historical post, and read how it worked for him, and maybe ask him a question here in this thread.
[Android Apps and Games] DiamondJohn:
Hey [MENTION=417664]panni[/MENTION] , and anyone else who has two accounts. Something occurred to me. A bit of a thought experiment.

The one thing to remember, I don't have two accounts and never had, so don't know the interface of "switching" between accounts.:confused:

So, taking my own advice / explanation...:o

The idea goes like this.

You have two accounts. Lets call them Account-A and Account-B

You have one device shared between the two accounts, with both having YouTube installed

You go into the playstore as Account-A and accept the upgrade for YouTube.

The above step, attaches YouTube to Account-A

So, now,YouTube is Attached to Account-A. HOWEVER, YouTube is NOT attached to Account-B

You run the detach method in TeMeFI, this detaches, the attached YouTube from Account-A. And ONLY Account-A

After some time,the playstore notices that you have YouTube installed, but no attachment to Account-B. So it adds in the attachment, and then also see that the YouTube installed, is an older version.

The playstore updates your YouTube through Account-B. Viola, the detach for Account-A fails! / is side-stepped.

If my crazy theory above is correct, I would suggest the following.

1. go into the playstore under Account-A. Accept the update for YouTube.

2. Under account-A, uninstall the updates to YouTube.

3. go into the playstore under Account-B. Accept the update for YouTube.

4. Under account-B, uninstall the updates to YouTube.

5. Go into TeMeFI, run the detach of YouTube

6. As the check for detachment does not understand dual accounts, the check may show a fail for some items, but I think it will blindly detach both accounts.

7. Let me and others here know how you go.

HTH
[Android Apps and Games] lucfig:
[MENTION=5417899]DiamondJohn[/MENTION]

Thank you very much for the app and for being very responsive with everyone's queries here.

And please, keep the dancing banana!

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] HippoMan:
I have already searched through this thread and also the TeMeFI options, and I can't find an answer to the following question. Please forgive me if I overlooked something ...

Are there any scripts offered by TeMeFI which I can use to duplicate what's associated with one boot slot into the other boot slot on an A/B device?

I have a Magisk-rooted OnePlus 7Pro (GM1917) running OOS 10.3.4, and I boot up via slot B. Booting from slot A gets me into a boot loop because of previous flashing errors, and I'd like to somehow copy everything which is currently associated with slot B so that it's also associated with slot A, so that I could boot up from either slot into an identical system.

Is there anything offered here among the TeMeFI scripts which could help me accomplish this?

Thank you very much in advance.

.​
[Android Apps and Games] panni:
Some more testing and info incoming:

First of all, thanks for your extensive answers.

To try and rule out issues with apps installed in multiple accounts, I've uninstalled youtube in my work profile. Afterwards I cleaned everything up, installed youtube on my main account, vanced on top of it, then detached using method 3.

The first file in the attached zip was taken immediately afterwards, showing one failure. The second one was taken immediately afterwards, after a reboot, showing no failures.

Vanced definitely stayed longer than before - about twice as long. Two days ago one of the checks showed a failure, but vanced was still active.

Today the stock youtube overrode vanced again, which is the last HTML in the zip.

Does this help more than the Screenshots?

Thanks!
[Android Apps and Games] DiamondJohn:
I do not have an A/B device, so no. You would need to script this yourself.
[Android Apps and Games] DiamondJohn:
I haven't checked the zip as yet, but on skim reading, you said you removed YouTube from one of your accounts. I dont use two accounts, but if your YouTube is installed as a system app, then I would be very doubtful that you would be be to truly uninstall it from both accounts, as they both share the system partition. Is YouTube installed as a system app?
[Android Apps and Games] panni:
It's not.
[Android Apps and Games] DiamondJohn:
As I walked away form my keyboard, I realised that both accounts actually share the data partition as well, so it may not be as important if it was a system app or not.
[Android Apps and Games] DiamondJohn:
and for anyone else looking for the same thing. See this response from [MENTION=4544860]osm0sis[/MENTION], for the same question.

https://xdaforums.com/showpost.php?p=83324983&postcount=2790
[Android Apps and Games] rsngfrce:
This feels like a stupid question to me, but it has been confusing me for a long time now and I can't figure it out. I am trying to find the option in TeMiFi to detach apps from the Play Store, as well as freeze/hibernate/hide, but I don't have those options in the menu. Do those options require root?
[Android Apps and Games] DiamondJohn:
Are you rooted?

if so, did you grant root to TeMeFI?

A LOT of the menu items / methods in TeMeFI depend on root, and will only be available IF root is available and granted to TeMeFI.
[Android Apps and Games] HippoMan:
Yes. I asked both here and there. Further discussion about this topic continues in that thread.

.​
[Android Apps and Games] rsngfrce:
No, my current phone is not rooted. The OP mentions that you will be heavily limited without root, but doesn't specify what works and what doesn't, so I wasn't sure. Thanks.
[Android Apps and Games] lucfig:
Hi,

I always use the same battery graph with default wide, discharge rate as vertical height and 15%.

Is there a way to run it quickly without having to select all items each time? When I press the pencil icon, it says it is not allowed to be saved as favorite.

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] DiamondJohn:
No. There is currently no way (at least that I can think of) to save the graph as a favourite. Sorry. Out of the 600+ methods, I only disable favourites on a handful of items; the graph being 1, and detach related items being the other main "group" I can think of.

However, I will put it on the my virtual list of things at the back of my head to possibly enable in the future.

Not that it will be any comfort for you, but I also have a similar habit of running the same version of that graph:(. Overtime, I started to run it less and less. i.e. my obsession :silly: faded and now I only run it intermittently. But yes, the exact same way, again and again and again.:mad:

I am slightly pleased that you also find it of use / interest like me.;) It did become a bit of obsession when I was creating it.

oooo... I just had an idea of a new version/method of a favourite type-of-thing. Instead of saving the thing as a favourite (which literally saves the source code with your selections hard coded in, and hence its completely independently repeatable, and why I always suggest to delete your favs on a new version as the old code is saved), I could instead save your selection/parameter values, and a pointer to the method (ie the which script to run using your selections/parameters). Combining the two, would provide the same functionality / end result as a Favourite :highfive:. Thus solving the problem. hmmmm... that could be a good addition to TeMeFI. But what to call it? Favourites v2?:eek:
[Android Apps and Games] lucfig:
Thanks for the detailed response.

Hum, I see, so your idea is to save the parameters and run the commands the same way it would if we manually select those settings, is that it?

Lol, I'm slightly pleased as well, especially since you are the developer and this is something you are interested as well. XD

And I find the graph/table extremely useful and unique. There are apps that can generate something similar, but they require a background service and do not generate graphs exactly the way we want. I must admit as well, it's kind of an obsession.

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] DiamondJohn:
The current Favourites system basically does the exact same thing, but ALSO saves a copy of the source code with the Favourite

NB: a favourite is saved in a file at /sdcard/TeMeFI/.favourites/ and you can also get the definition, ie whats in the file in human readable form, in the menu at

TeMeFI Configuration>Manage Favourites>Definition Details (Re-Name)

The new idea would instead save a link back to the source code and get the code from there, instead of directly from the Favourite. End result, the SAME result. And now that I think about it, I think I might just use the same interface as Favourites, and handle all the difference behind the scenes, and not concern the user with the messy details.

The reason I created it, as there was nothing I knew of that displayed the data the same way. Similar, but not the same with all the options on how to display it. And battery life is such an important component of a mobile phone, I would of thought there would of been more. Especially since I managed to do it purely with the available shell scripting. The closest one I knew of (which sounds like what you are speaking of) was some "samsung battery thing". Or are you talking of something else? I am interested to know.
[Android Apps and Games] asripath:
Thanks for this wonderful tool.

Appreciate if you could help me understand

- SELinux status change needs a reboot ? and does it persist reboots ?

- Is there any option like Boot Manager to stop some apps from startup ?
[Android Apps and Games] lucfig:
Oh, now I got it.

That would be awesome, so there won't be a need for favourites v1 and v2. Lol.

Great work creating it, it is really an impressive tool. Thank you very much.

Well, the one I was using before to track battery is 3c Toolbox. It has graphs for battery usage/drain/temperature that you can zoom in and out. It is not as easy to read as yours and need a background service. I attached some screenshots of the battery information.

I can't say it is a beautiful app, but it is another really nice app and very complete: terminal emulator, backup/restore apps, freeze, manage permissions, task manager, etc. It's backup features actually replaced titanium backup on android 10 for me.

https://play.google.com/store/apps/details?id=ccc71.at.free

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.92

Interesting things in this release:

Fixed when you search a table, that the results now include the whole row, not just the cell. It also includes the heading row, so you know what each cell / column means.

Enabled searching results to include a specified number of rows above and below. Including for tabular results. Long press the magnifying glass, and (optionally) use the search format below.

The format / interface is:

SEARCH_TERM[|[ROWS_BELOW][|ROWS_ABOVE]]

The "[" represents an optional entry/parameter. It does appear convoluted, but the examples below show its very easy to understand. Make note that the parameters are separated by a piping character (ie "|"). Its hard to find the first time on your keyboard, but its there, and easy once you know where it is. Also, not putting in a value, or skipping the param makes it assume a "0".

Some examples:

Search/filter results down to only lines with ".apk" in them. ie the old simple way, which still works if you only want the lines that match.

.apk

Search/filter results down to lines with ".apk" in them, and all 5 lines below (ie that follow)

.apk|5

Search/filter results down to lines with ".apk" in them, and all 5 lines below (ie that follow) and all 2 lines above (ie before/precede)

.apk|5|2

Search/filter results down to lines with ".apk" in them, and 0 lines below (ie that follow) and all 2 lines above (ie before/precede)

.apk|0|2

Search/filter results down to lines with ".apk" in them, and 0 lines below (ie that follow) and all 2 lines above (ie before/precede)

.apk||2

The above means that you cannot search for lines with a vertical piping character (ie "|" )in them, as I use it as an escape character.

Download: SEE OP!

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

No New Items.

As usual after an update, its strongly recommended to delete and re-create your favourites.

Enjoy and stay safe.
[Android Apps and Games] ephemunch:
I've read this here: https://xdaforums.com/showpost.php?p=81803185&postcount=206

2 questions.

Will it be detached even after ROM-Update (LineageOS 16+)?

And if I want reset it to default only click on ''Remove ALL TeMeFI detach artifacts''?
[Android Apps and Games] DiamondJohn:
All my changes/blocks are in the data partition (ie systemless). So, if you do a dirty flash (ie no wipes of data, i.e. keep your data), the detach would remain effective. You can also run the check before and after to be comfortable, or simply re-run the detach after flashing; re-running it does not do any harm.

Running "Remove ALL" will remove all artifacts i add to enable detaching apps, so ALL your detached apps will be up for re-attachment. To simply remove a single app from detachment, you can run the "ENABLE ATT: One app for reaachment". If you only have the one app detached using TeMeFI, then I would suggest running the ALL method. The other more nuclear bomb method is to wipe your playstore data. Doing this step will remove all my things but also detach every app you have in the playstore from your local device; the playstore still has the reference of your install.

As soon as you run either of the above methods, the app will still be technically detached, but I would have removed everything protecting the playstore from re-attaching the app. The playstore will not reattach the app in an instance, it will take time before it "heals" the wounds i made:p. Sometimes in seconds but sometimes over a day.

Some of the things I have done to speed up the process when I was testing it, is to:

1. Wait patiently for it to happen on its own volition

2.Visit the app page/details on the playstore

3. Accept the/any updates from the playstore

4. Press the uninstall then install button in the playstore. Note, doing these steps will lose any and all data you have for the app.

The effectiveness of each of these is in the order I presented them in. ie 4 is the fastest and better guarantee than 1.
[Android Apps and Games] HippoMan:
It turns out that I solved this problem today and have discussed the solution in that [MENTION=4544860]osm0sis[/MENTION] thread.

You can get all the details of this solution in this post: https://xdaforums.com/showpost.php?p=83389563&postcount=2818

Also read the other discussion concerning this in that thread, as well as reading the other related thread that I mention in my post there.

.​
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.93

Interesting things in this release:

New Grouped data. This allows a powerful slice and dice type view of your data. Its basically a combined grouped data followed by the details making up the grouping.

Favourites have been reworked, big time. You can now save favourites of things not possible before. It will also always run the latest code against your saved off filters/selections. The previous version saved a snapshot of the old code, and ran that.

As you can see below, it will now tell you when a favourite should be deleted and recreated

I have added some extra info in the doco of a favourite which will make it easy to recreate a fav that does need to be deleted.

Generally speaking, favourites should not have to be deleted for simple ACTIONS (ie no user set filtering eg "host file check", "build.prop") UNLESS I delete the action. Any updates I do, will mean the fav will run the new version (this was already actually happening in the background ;) )

Separators will never need to be deleted.

The others will only need to be deleted if I specifically change the interface or the specific code for the item, but not if I change some underlying shared code.

And the big thing is that you can now save favourites of things that were not possible before! Such as the Battery history graph.

Download: SEE OP!

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

Here is a screen shot for a specific and unique database I have

View attachment 5097285

Although its basically a combination of Grouped data and All table data, it really is a powerful way to slice and dice your data. And android has a LOT of data. Many apps you have installed also use SQLite to store their data.

Some databases you may find interesting.

Go under /data/data and then filter the list for:

external	this should give you your media db

mmssms	this should get you to your SMS & MMS database

calllog history of your calls

and there are plenty more to investigate

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

There are a BUNCH of database ones that have changed due to a change to some shared code. You will now be able to see more of you databases under /data/data

Below is a select list, beyond the dB changes triggered by the shared code.

Enjoy and stay safe.
[Android Apps and Games] DiamondJohn:
oooo... Almost forgot, I also moved all the things in "Various Ungrouped" menu item off the root (so one less item), and placed the items in a specific area.

The following is a list of where they can be found in their new locations.

build.prop	Device Details
GPS Conf	Device Details
Hosts file check	Device Details
Charger	Device Details
Possibly Unnecessary Files	Currently Running
COVID-19 Status Update	Current State

The last one really doesn't really belong in TeMeFI, so finding a home was hard, but I didn't want to have the old menu item just for this item.
[Android Apps and Games] lucfig:
Thank you very much!

The new favourites are great and is working perfectly.

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] pocketrule:
I'd like to block incoming numbers and have found shell commands that should do that.

Implementing Block Phone Numbers

https://source.android.com/devices/tech/connect/block-numbers

But I'm not able to get them running (except the query of the blocked numbers) :(. Maybe it's possible, to implement this feature in TeMeFi?
[Android Apps and Games] DiamondJohn:
Most of that is Java,not shell scripting, except for

adb root
[COLOR="SeaGreen"]adb shell content query --uri content://com.android.blockednumber/blocked[/COLOR]
[COLOR="Red"]adb shell content insert --uri / content://com.android.blockednumber/blocked --bind / original_number:s:'6501002000'
adb shell content delete --uri / content://com.android.blockednumber/blocked/1[/COLOR]

From what you are saying, I will guess you mean only the very first line works for you?

If you cannot get it to work using a shell script, I don't think you could expect me to debug android to work around the bug.

HOWEVER, most of these "content" queries are in fact simply shell interfaces to some SQLite database queries/updates/deletes. i.e. find the database and table and you could probably directly insert the data ie the blocked number.

TeMeFI already enables you to query the SQLite databases on your phone (ie Databases>Dynamic SQL Queries),

I actually did a quick test. I added a blocked-number using the ROMs GUI, then used the DBCC recent SQL (Current State>Dumpsys>Dumpsys Service Calls>Recent SQL by .dB) to find where it was inserted (I have that command as one of my Favourites;)). Searched those results for "blocked" and it gave me the database location, and when I queried it (using the dynamic SQL feature in TeMeFI), it had the blocked number I added!:highfive:

I haven't told you the exact location, as the method itself will help you and others use TeMeFI to achieve a lot more than you thought was already possible. ie follow the steps above and you will get there and learn how to possibly get a LOT more done in the future. "Teach a man to fish" and all that;)

Actually, come to think of it, there is something I have been meaning to learn the location of...