yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] HippoMan:
When I tried the long press with List all App Names, Code, Version & APK Paths function, I got a pop-up which says something like, "This menu search can only be used within a Dynamic list".

Looking at the shell script code, it looks like you generate columnar output and then display it in some kind of spreadsheet-like template.

It makes sense that a "normal" row-based search would not work with this type of structure.

For this particular function, I really would like to see my more than 200 packages showing up in sorted App Name order. That's why I plan to write my own function, using yours as a starting point.

PS: if I do a Select All on that output and then copy and paste it elsewhere, I get lines which do not have a fixed number of fields. Lines with the "Name" field empty are left justified with the "Code" field positioned at the left column. Those lines therefore are shown with fewer fields in them than lines which contain the "Name" field. This is a side effect of the field separator on output being a space.

This means that I would have to parse this output by counting the fields and making assumptions about the content of each line, based upon the field count. Of course, that is doable. But as I mentioned above, I'd just rather write a script which outputs the fields in sorted order to begin with. This is more desirable than jumping through all these hoops simply to try to find out the package name of any given named app. This way, I could install the script I write into TeMeFI and use it whenever I want to find a package name for an app in order to paste that package name elsewhere within TeMeFI.

NOTE: I edited and reworded this post for clarity.
[Android Apps and Games] DiamondJohn:
That is the message if you long click the X button /menu button, not the magnifying glass icon. First click the menu to display the fly-out menu, then long click the magnifying glass icon/button

You appear to be long clicking the menu item. Short click this icon.

Thus the fly-out menu will appear, with the magnifying glass icon visible.

Enter a short string to filter the results by. I typed in "youtube"

results in the filtered list of results

Does the above work for you?

NB: The same can be done with nearly every other result(s) from TeMeFI.
[Android Apps and Games] DiamondJohn:
almost forgot, the search is a lot more powerful than I showed above. see the release notes below:

https://xdaforums.com/t/app-tool-temefi-comprehensive-system-administration.3806260/post-83373259
[Android Apps and Games] HippoMan:
Aha! That worked. Thank you very much for taking the time to give such a detailed explanation! ... including the graphics which helped me finally understand the names you use for some of the buttons.

Now I can more quickly find the package name associated with any given app label, without having to jump through all those hoops that I mentioned.

But I'm still going to write that script (although now with less urgency), because I really want sorted output.
[Android Apps and Games] DiamondJohn:
That is the package name as extracted using AAPT. It is different to the label as shown in the playstore.

For example, com.waze shows up as "Waze" in this output. However, if you go through the pre-steps of detaching (only up to generating the menu list of apps for detaching), it shows in the Playstore (which I build the menu from) as "Waze-GPS, Maps, Traffic Alerts & Live Navigation". You can filter the list by long pressing the "X" icon when the menu that lists of all apps is shown, and entering "com.waze". NB: I have found that not all app names are registered correctly on your device.

That in a way is the original purpose for the app. It acts as a starting point to build more complex and specific script from.

Remember that once you build the script, you can include it in the TeMeFI menu to run at request under Dynamic Lists>Run User Scripts and then save it as a Favourite, so it appears in the top portion of the menu. I have many of my own custom scripts specific to me (eg boot scripts) saved as Favourites for easy access.
[Android Apps and Games] HippoMan:
Thank you. Yes, I know about how to install user scripts. Once I have time to write this script, I'll let you know what I came up with.
[Android Apps and Games] DiamondJohn:
In case anyone waas wondering how, at least how I pronounce the app name.

Dropbox

bit.ly

It was generated by tricking an online text to sound interface. i.e. its not me, but It sounds like I would say it, except maybe a little faster than I would say it.
[Android Apps and Games] pleasetouchmenot:
L
[Android Apps and Games] HippoMan:
I like calling it "Tea Emm Eff Eye" (even though that doesn't quite fit the spelling) in keeping with the original acronym upon which you based its name. :)
[Android Apps and Games] DiamondJohn:
I have a person bug-bear with "translations" of peoples names.. A chair I can understand. Someone speaking one language can say "this is a chair" the other person can say we call that a " silla", but with a person, it doesn't make sense. So pronounce it however you wish. I was just making clear that its a single word, and not an acronym requiring every letter to be pronounced separately.
[Android Apps and Games] HippoMan:
I know. I was just making a joke.
[Android Apps and Games] rodken:
I loved the detailed explanation, I wish that could figure out why am I having difficulties saving 'Detach from Playstore' as a favorite?
[Android Apps and Games] DiamondJohn:
For starters, detach method is at the extreme end of what TeMeFI can do. It cannot save favourites of methods that go out of the "norm" of actions, say compared to a simple shell script (the bread and butter of TeMeFI)

Secondly, you should not need to run it more than once against any specific app, and a Favourite would include the specific app you selected. If there is a reason you need to run it more than once, I would like to know it? To be honest, I never even tested i.e. checked if and how favourites would work on detach.

The only reason I can think of is that you are doing clean installs (ie wiping playstore data) on your ROMS, and are manually restoring your favourites.
[Android Apps and Games] DiamondJohn:
Actually, scratch that, maybe.... I just gave it a go, and it appears that the favourite saves NO selections. Hence, it assumes you did not click accept as your final selection. If you notice, after selecting the final option, it currently runs AND THEN RESETS back to the parent menu. I *think* that by resetting the options, it reswts what you did, and hence the favourite cant save your selections. I just had another thought, and I "tricked" it to save up to the last selection (but not including it), but, as its not selected, it assumes NO on the confirm step. ie that failed, but it was closer. I manually edited the file, and it now works as a saved favourite. I might have a chance to look into it tomorrow. I have a new release in the wings that I was hoping to releaase tomorrow.

But still I do not understand WHY you need it as a Favourite; though I am happy someone is using Favourites. I know I have around 30 of them.
[Android Apps and Games] rodken:
The only reason why I need it as a fav is because I am constantly flashing new Custom ROMs and restoring 3rd party apps.
[Android Apps and Games] rodken:
Are you willing to share some of your custom scripts?
[Android Apps and Games] DiamondJohn:
Yep, that was the only reason I could see why. Just an extra note in case you didn't realise already, you can save off /sdcard/TeMeFI/* and simply copy back over after installing TeMeFI, and all your favourites and config and saved off reports will be re-instated. on your next restart of TeMeFI.

Are you talking about my Boot scripts and also my app-start scripts? I use a very powerful custom launcher that allows me to run shell scripts when I click an icon (or an invisible hotspot/area) and a different shell script if I long-press, swipe up, swipe down on the icon, its really very powerful (I can even free rotate or size an icon). Many of my boot scripts are very specific to my device, and how I specifically use my device. A lot of the scrpts within TeMeFI have been originally sourced or inspired from my boot scripts that I have used over the years. My current device (Pixel 4a) has a LOT less boot scripts, as my previous device I had a lot of scripts to optimize my lowly devices / ROMs. I started with a 1GHz (overclocked to 1.7GHz) with only 512mb of RAM running GingerBread. Another major avenue for my scripts are in regard to my obsession with my MediaDB, and are thereby specific to me. I also have another script or two that configures waze (removes the ads but also restores all my favourites as Waze has a nasty habit of loosing them) Again, my locations (saved in a template dB) are very specific to me, and I would have to explain how to configure them, otherwise they are useless or will cause damage.

Short answer, the time of supporting these scripts (ie answering ANY questions or making warnings) would be time away from TeMeFI which could help a lot more people.

One thing I have been meaning to start a thread on, is the framework I use to run my boot scripts. Its very powerfull and complex. It runs scripts asynchronously (ie in parallel) OR in sequence (all controleld by the directory structure, as some cannot run in parallel). I have been using it since my very first android device. But in the last few years, boot scripts are becoming less and less common. Even I have fewer now. I still have about 8, from over 20 a few years back. Plus another 10 triggered by hot-spots / icons / gestures on my launcher.

PS: My current obsession with MediaDB is focused on the fact that album art for media without embedded artwork is broken in Android 11
[Android Apps and Games] ipdev:
You have a great app and scripts.

One of these days I really have to look at all this app offers. :)

I have used this app/scripts off and on a few times.

I realize I have been adding a "L" when reading the name.

TelMeFI​

Tel Me FI

I always assumed it was short for Tell Me Full Information.

Guess it's just my interpretation, influenced by the way I write.

Sometimes I will mix uppercase and lowercase together, especially in a file name or if I am explaining how to do something that has a variable name.

Boot TWRP by using fastboot. fastboot boot NameOfTWRP.img

In a script I normally use just uppercase for variables.

FLTM Who would not read that as File Time?

Since Google wants to be more like Apple (iOS). ;)

I use aOS for Android build release version.

aOS=11

I think I have written/created/use too many variable names. :p

Cheers. :cowboy:
[Android Apps and Games] DiamondJohn:
Sorry If I gave off the wrong impression; as I got a PM asking me. There is no secret regarding which launcher I use. I am only hestitant to give the name, because a default install gives a really crappy user experience (and its a paid app). It really is reliant on the user configuring their screens. It really is a case of if you can think of it, you can do it. BUT it may take a lot of time or be beyond your care to implement it or do it. But I have yet to be hit by a "I cant do that", only a "I dont have time to learn how to do that". I have used it since gingerbread, so have been buiding my homescreen in little chunks over many many years.

Lightning Launcher - Apps on Google Play

The Lightning fast launcher, packed with unbeatable customizability.

play.google.com

Its a devs launcher, and there are even examples of launcher run, user generated code to draw clocks on the home screen, that actually keep time. I think the scripting engine is JavaScript; but you hook into Java . For example, I use the following script to start a shell script, which starts Viper, then my music player, starts playing the music and then starts Waze. i.e. gets ready to drive somewhere with a single long press on the Waze icon.

I can copy this code, change the shell script name (possibly generated from TeMeFI), and thereby reuse it all over the place.

var b = LL.bindClass("java.lang.Runtime");
var f = LL.bindClass("java.io.DataOutputStream");

Android.makeNewToast("Navigation started...", true).show();

// start as SuperUserSU
var process = Runtime.getRuntime().exec("su");

var os = new DataOutputStream(process.getOutputStream());
var command = "/system/bin/sh /data/local/userasynch.e/utility/start_navigation.sh;";
os.writeBytes(command + "\n");
os.writeBytes("exit;\n");
os.flush();
// Non blocking, so no wait
// process.waitFor();

One of the other scripts I use hibernates selected (just about all) apps, and then turns the screen off. I use it instead of the power button, via a hot-spot area on my screen.
[Android Apps and Games] freakerload:
Now after 12 Days without any issues. Playstore shows me an update for YouTube under all updates.
[Android Apps and Games] DiamondJohn:
And you quoted me with the exact instructions of what you should do! RUN THE TEST!!!Save off the results, and attach them here. Otherwise no one can help or check if you have done anything wrong.

But, even with the update in the list, i gather it has not updated behind your back. That is the actual purpose of the method, but as you expect, I have NEVER seen it in the update list on two phones for a few years.

Oh, did I mention, run the test...
[Android Apps and Games] DiamondJohn:
New Version v1.1.03

Interesting things in this release:

Enabled saving Detach as a Favourite. Shout out to @rodken

Updated the internal SQLite binary to v3.35.3. I compiled it from the latest stable source, using the latest stable NDK. For people who know the history, I did not wish to be compiling SQLite so as to include in TeMeFI, but all the other sources are just so old. It is about 40% of the size, but does not support x86, only ARM. You can also read the brief instructions at the following thread, to know how to install it if you are running the old Magisk module; which by default will support x86. The link below includes a link to a github project that has very simple instructions on how to compile it yourself.

https://xdaforums.com/t/new-sqlite3-binary-v3-35-5-for-arm-devices.4273049/

Added a new button to enable viewing warnings and or errors that occur whilst running a script. Including errors encountered whilst building a menu. see below

Fixed the Detach, which was sometimes giving a warning, when it was actually possibly OK. It does not change anything about the actual detach method, just the output from the script, so no need to re-detach anything.

Fixed a typo (ie bug) in the re-attach method

Improved the generation of source code for presentation to the user. If it ran as a script, it actually now includes the header (bang operator) and footer (exit), and a few other things.

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 new "View last error" button.

It will appear in the top left of the results screen. Its a picture of a cartoon bomb. i.e. the script "bombed out", and will only appear when there is a history of an error. Since in previous versions there was no way to delete the error, I would assume everyone will see the icon on first start of the new TeMeFI. Long pressing the bomb will clear (ie delete) the error and thereby hide the bomb.

One thing to note, is that even building many of the menus is via a shell script, which could generate an error, and hence make the bomb icon appear, while you are only navigating through the menu.

If you can see the icon, to view the error, simply click on it. i.e. short press. To delete the last error recorded, LONG press the icon, which would obviously also make it disappear. Also remember that the last error is not deleted by running a new script. As such, the last error could of been from last year. There is a date at the top of the error text. Because of this fact, chances are everyone will see the bomb icon on their first start of the new version, until you long press the icon. This new icon has already highlighted a very small error in the confirmation menu item (as used in methods such as detach) which I did not realise was happening.

Enjoy and stay safe.
[Android Apps and Games] furomin:
Hey guys, im a longtime lurker but a posting noob so please be patient with me :)

I'm trying to detach vanced app from playstore with temefi but i can't find even youtube in the package list under detaching apps -> DETACH: Select Package the Protection level.....

Can anyone help me out what i have to do next? Root access is a given...
[Android Apps and Games] stephtban:
The packages names are "com.google.android.apps.youtube.music" and "com.google.android.youtube" . Use method 3 to detach.
[Android Apps and Games] furomin:
not there :( maybe because im using german language???

Edit I can finds speech for youtube: with com.google.android.youtube
[Android Apps and Games] furomin:
One more question sorry for double posting... Will I loose connection to my yt account? I cannot live without my subscriptions the comment feature etc....
[Android Apps and Games] stephtban:
You'll find the packages here (see screenshot for the exact names):

"Application Info/Manage > Detach Package from Playstore > DETACH: Select Package the Protection Level"

Vanced will handle your subscriptions just like the official Youtube app.
[Android Apps and Games] furomin:
and this will survive a reboot? :D

btw it was the speech thing wehatever idk anything
[Android Apps and Games] stephtban:
yes , it will survive reboot
[Android Apps and Games] DiamondJohn:
Whenever trying to find an item in a long menu list, that is generated on the fly (such as a list of apps on, or registered to your phone), click the menu button so the fly-out menu is shown, then LONG press the"X" button, which will pop up an entry box for you to type in a non case sensitive filter. In this case enter "youtube". This will filter by package / document ID, which is NOT language sensitive. IfI have seen the label for the doc id have some crazy description text, which is an issue with the playstore, not TeMeFI. TeMeFI uses what the playstore provides; right or wrong.

Long press the HOME button in the fly-out menu to remove the filter and re-load the long/full/unfiltered menu list.

The detach only affects the playstore, not the app you are detaching.

yes. It would be useless if it did not.

Do not clear your playstore data and do not visit the YouTube page in the playstore. Even if you manually try and update YouTube (which you should never do, see previous instruction), or whatever app you have detached using method 3, the playstore will be killed.
[Android Apps and Games] furomin:
THANK YOU GUYS. I was literally working my ass off to achive this a few month ago just because I was too shy to ask. This will be a lesson for my life (and im rather old). <3 XDA
[Android Apps and Games] kamild_:
What if even by searching for "youtube" this way there's nothing on the list? I went through that list like 5 times by now...

EDIT: Nvm, was doing something else and I had to wipe data for Google Play Store and Google Play Services, now they show up.
[Android Apps and Games] HippoMan:
A marginally related issue: I have noticed that if I freeze an app via Titanium Backup, its package name no longer shows up in the package lists for the Detach function in TeMeFI, and it's also missing from some other TeMeFI package lists. I have had to perform a Defrost in Titanium Backup before I can properly perform some of these TeMeFI functions on the app. I'm guessing that this might also occur when using some other non-TeMeFI apps to modify packages.
[Android Apps and Games] HippoMan:
I have read a number of times here about Playstore being killed when accessing a Method-3-detached app there. I have a bad memory and am a little clumsy, and so I have avoided Method 3, lest I forget that I had previously detached a given app when I am using Playstore, or I accidentally click on the wrong app from Playstore.

But I'm wondering whether this Playstore killing is actually all that egregious. Once killed in this manner, will Playstore restart properly the next time I invoke it, or will it be permanently non-restartable from that point forward? If it's the former, then I don't mind it being killed if I accidentally select a Method-3-detached app.
[Android Apps and Games] DiamondJohn:
The list I present is based on the doc_id and IF a description is provided by the playstore internals, then I prefix it with that. It will ALWAYS have trhe doc_id so youtube if it is attached will appear in the list 100% as its part of the doc id.

However, the playstore does not store the description for every app, and sometimes for the same app it does not store it, and sometimes it even stores rubbish. I have been testing youtube for a while, and I have seen it labeled correctly, no label, and labeled something like "Languages for youtube". Its a mixed bad, and its all on google, not TeMeFI. I simply use what I am being provided, and as they say, "rubbish in, rubbish out". However, the doc_id will always be there. Do the detachments based on the doc_id, NOT the description.

You can not only freeze but also Hide apps using TeMeFI. Historically I found that apps that were "simply" frozen, still appeared in the memory of my running device. So I dont trust freezing anymore (once bitten twice shy, but maybe they have fized it in newer androids). I freeze and then Hide using TeMeFI.

As for it appearing in the list of apps for detaching, I go back to what I have said MANY times before. You can only detach something that is attached in the playstore. I havent explicitly tested if freezing/hiding removes it from the playstore (I RAELLY dont think so). I would of expected it to remain in your Library, but I have not tested it. Maybe, but highly likely by what you are saying, Titanium is doing a freeze AND detaching it from the playstore as part of a Freeze. And I repeat, You can only detach something that is attached in the playstore. And Titanium is a black box on what it does, and I am not about to debug Titanium.

I only induce the playstore to have an internal error; it would appear as a bug/crash, and because it appears to be poorly handled and untapped by google, it crashes and dies. I have never had an issue, and it would be VERY poor programming by google if they were to be totally unrecoverable from an "internal" error; triggered by TeMeFI ;).

The only draw back I have seen, is that with only YouTube detached (using Method 3), the background auto updates still occurred (but maybe delayed). Now with 10-20 apps detached (all method 3), the auto updates have never occurred, so I just press the update all button; which is safe as no detached apps appear in the list. On my Pixel 4a running A11, at the end of the day, if there are apps to be updated, I get a lock-screen notification, which I click on, and that takes me directly to the update all screen.
[Android Apps and Games] HippoMan:
The apps I have frozen via Titanium Backup still appear in the Playstore. I don't expect you to know anything about the inner workings of Titanium, nor am I asking you to change or fix anything in TeMeFI.

I'm just reporting this behavior, in case anyone else might have encountered this issue of apps not appearing in some TeMeFI lists if they have been frozen via some other program. If so, they should just "Defrost" the app from Titanium (or perhaps via whatever other program they might have originally used to freeze the given app), and it should subsequently show up in these TeMeFI lists.
[Android Apps and Games] HippoMan:
Thank you for explaining. Now, I won't be worried about the consequences of Method 3.
[Android Apps and Games] furomin:
What about apps detached from playstore with titanium backup pro? (oh ye good ol' days) ;)
[Android Apps and Games] HippoMan:
I've never tried Titanium's detach functionality, I only started thinking about detaching apps from the Playstore since I began to use TeMeFI, which I then have always used for detaching.

I'll be surprised if Titanium's detach works as well as any of TeMeFI's detach options.