yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] zgfg:
You really not needed to answer that long story

Your trick with update/cancel was enough. All the rest can be derived from (like the Lego pieces - the other cornerstone piece is of course the TeMeFl detach mechanism)
[Android Apps and Games] DiamondJohn:
it was not just for you, but you asked the questions / statements that many others are probably thinking. I saw by the history, that you now understood the way to re-attach. And I know I repeated myself a few times, but it was easier than reading and sorting out the whole response.
[Android Apps and Games] DiamondJohn:
New Version v1.1.11

The following items are of special interest

Bug fix, battery history can now display more hours (prev limit around vertical bars) and a few other more minor items

Added some summary info to the battery history (see below)

Added "System Apps Privileged Permissions" & "Updated System Packages"

More than 3 days

The added summary at the end of the battery history report

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"

All should be the ones mentioned above.

*** DETACH INFO ***​

Google have had a major update and numerous minor updates to the playstore, one (or more) of which have damaged the things I do to detach apps. When I recently ran a check on my detachments, they had multiple failures in the report, the report actually had its own crash, however, I did NOT have any updates sneak through from the playstore.

I ran the re-detachment of a single app, and that fixed all of my detachments. There is a lot of shared code, and i also do a little clean up every time you detach an app.

However, because I did the above before saving off the errors / issues, I lost what was actually wrong. So, before you run the detach to fix them all, if you habve the issues, could someone post the saved off report (not a screenshot) and also the error. Simply press the bomb icon and then save that off.

Enjoy and stay safe.
[Android Apps and Games] pocketrule:
Proposal: In battery history graph number not only segments of the y axis, but also time elapsed on x-axis
[Android Apps and Games] DiamondJohn:
Spoiler content hidden.

Thanks for your suggestion, but its already been through my head, many times.

The data provided by android is really NOT in any easily switchable to human readible time format; I do a lot of tap dancing to convert the times as it is. I DO provide the starting time (which could be down to a second break) in the table below the graph, but each X-Axis marker is exactly one hour, regardless of the start time. The interval/times ares based from the perspective of the phone, which in its head, existence started at the start of the graph. To aid the estimation even further, the ticks are Biggest every 4 hours, smallest every hour and the 2Hr tick is medium size. Makes it very easy to quickly estimate the interval. So, your marked interval is around 6 hours. Also, in the summary tables below the graph, I give the exact timings for a few things, in human readable format; which is NOT in the data, I had to convert it between milliseconds to days, hours, minutes, seconds and milliseconds. You will see below the graph it will say something like Shutdown 6:05:00.00

Additionally, if you click on a bar in the graph, an info box pops up with the start time, end time, duration and plotted value.

So the interval is covered by the tick marks, and the actual times are covered by the info box. Doing otherwise would be a LOT more development, for in my eyes smaller respective gains.

FYI: I have done a bit of further work on the graph with the summary info

PS: While doing/testing this work, it occurred to me it may be possible to do a quick and dirty time shift on all the data before plotting it, to bring the start time back to the nearest whole clean hour. So if the graph starts at 09:05:23.765 It MAY be easy to shift all the times 00:05:23.765 forward, so it actually starts at 09:00:00.000. Again, I repeat, haven't check if it would be easy, but even then, it will start at some"random" whole hour, so if its 9, the 4 hour breaks would be at 9am, 1pm, 5pm, 9pm, 1am etc etc etc
[Android Apps and Games] pocketrule:
It's a wish. Maybe you wanna implement additional information about elapsed time like in the attached image - in green colour.

edit: added running hours and / or time - in blue colour
[Android Apps and Games] DiamondJohn:
@pocketrule not sure if you read my first posting (when I misread your post), or the new edited posting, so I thought I better tag you to bring your attention to it.
[Android Apps and Games] DiamondJohn:
I thought u may of caught my rubbish post before I corrected it. Sorry for misinterpreting it the first time.

Also, when you click on a time interval marker, that also brings up a message window. As for marking the numbers on the graph, it got VERY messy when I ran the graph for a few days of history with not much width, with the text overlapping and thereby being completely unreadable and visually distracting. Imagine the mess if the following graph had the text on every tick; or even every 4th tick.

If you click on a graph bar, you will get:

And clicking on a tick already gives you the same info your edited image provides.

Additionally, if you save off the graph, and transfer the file to your desktop, these extra info boxes will appear as hover text.

PS: I PERSONALLY find the "4 - Discharge rate ...." graph a lot more informative. But its a personal preference, as they both show the same amount of data.
[Android Apps and Games] DiamondJohn:
PS: I also just noticed your markers are labelled incorrectly. Each tick is an hour, and every big tick is 4 hour apart, not 10
[Android Apps and Games] DiamondJohn:
FYI: no reboot for Doze profile

I just noticed that the doze profile is restet upon a reboot (LOS16.0). ie do not follow the instruction to reboot after a change, and use the provided script by the change to implement it after a reboot in a boot script.
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.34

Bit of a clean-up of a couple of items

Download: SEE OP!

Fixed the Doze parameters for HavocOS-Oreo-Aggressive

Corrected the statement/suggestion at the end of setting the set doze method. A reboot could clear the changes not implement the changes :o

Added the first line to the script for doze config, so it could be saved and directly used as a boot script

Reformatted the doze config comparison tables to make it easier to compare between doze configs. NB: A not necessarily correct assumption is that they are in the same order and number, and therefore the tables will align, but they will not every time

tiny fix to IO Nice current values, menu list

adjustment of tick marks on time axis, in doze graph

added processing time to end of doze graph

Added

Looks interesting as there are some files referring to wake locks

One thing that snuck in the previous release was Naming of output (ie log files written from TeMeFI) files were given better extension instead of simply ".log". This means you could click on the doze graph output (saved as html) and open it directly in a browser.
[Android Apps and Games] milojoseph:
So you need root to change the five settings
[Android Apps and Games] DiamondJohn:
I don't know which "five settings" you are specifically talking about. Remember, I am working on new settings right now, so the last batch are history to me. But generally speaking, if you don't have root, then the item/method should be hidden from you. Worst case, it will error out telling you, that you don't have sufficient permissions.
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.35

Download: SEE OP!

Added viewing and modify of app permissions!

various fixes regarding pulling up an app list

move numerous numbers of menu locations around

correct su required for "Dumpsys Netstats Details"

dont show hidden/deleted in latest added

handle filter of html better

Added

SQL Based>MediaDB SQL>Duplicate Album Art References

Application Info / Manage>Permissions>All Apps for a Permission

Application Info / Manage>Permissions>All Permission for an App

Application Info / Manage>Permissions

Application Info / Manage>Permissions>Select Application then Permission

Application Info / Manage>Permissions>Select Permission then App

The big change in this release is the ability to view and modify app permissions! And this is powerful.

For example, I can take away the permissions of a specific app to access my GPS, run in background, contact and/or wake locks...

The list of permissions you can control are as below:

The Menu:

NB: the first to items end u in the same lace, its simply if you wish to get to it via the app firste or the permission. The benefit being when you go back up a menu, you can do the next App/Permission

These are the options for editing the permission:

The viewing Results of a specific permission for a specific app:

Viewing of all the permissions for a selected app:

Viewing of all apps for a specific permission:
[Android Apps and Games] m0han:
downloaded. verified md5. during installation it shows:

diamondjohndroid.utility.temefi

Version: 1.0.34, 1.

is this v1.0.35? thanks for the app.
[Android Apps and Games] DiamondJohn:
No. You have the previous version ie 1.0.34 not 1.0.35

As you are installing a previous version, then the MD5 would be different.

Download the latest, and check the MD5:fingers-crossed:, if it does not match the one I gave in the OP, then your download has failed, and the app wont and should not be installed.
[Android Apps and Games] stormy_gale:
I'm getting the same issue.

This morning I've downloaded the file TeMeFI-v1.0.35.apk again, MD5 confirmed with the one quoted in the OP.

1) Carried out upgrade of previous version &

2) Uninstalled previous version.

Neither action has rectified the wrong version number.

Menu option

TeMeFI Configuration>TeMeFI About

Showing the wrong version number.
[Android Apps and Games] m0han:
well, my download (twice) is fine; md5 matches. please see the screenshots attached.
[Android Apps and Games] Oswald Boelcke:
@DiamondJohn: I confirm the above mentioned issue (please refer to attached screenshots).

On 2019-03-28, download v1.0.35 from OP and installed it yesterday. However, the first four screenshots show that v1.0.34 is indicated.

Just to make sure, downloaded v1.0.35 from OP again a few minutes ago and installed it. The last three screenshots show the downloaded apk, the MD5 hashes match the one provdided in the OP, but TeMeFl "about" still indicates v1.0.34 with the installation time just minutes ago.

Please advise if more information and/or logs (type?) are required.
[Android Apps and Games] DiamondJohn:
oooops

yep yep yep. you are all correct. :o ooops. I checked my source, and I forgot to update the version name :silly: I am always running the next version and also did not notice I jumped two versions to get to my currently running version. Which also means I am not running the current version anymore.

There is no real issue apart from the last two versions actually sharing the same version label. I will publish a new binary, with the correct version number (1.0.36) just to clean that up. Sorry. It will also include a couple of items I have been working on rather than rolling them back. Mostly clean-ups.
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.36

Download: SEE OP!

Corrected version number - now v1.0.36 :o

new permissions, which affect most items under "Application Info / Manage>Permissions"

Added App APK MD5 to TeMeFI about, if busybox is available.

Totally reworked "Application Info>Manage App / Process Status"

Totally reworked "Application Info>Manage App / Process Idle State"

cleaned up dexdumps

Added sorting to a few app list that were not being sorted

Added

Application Info / Manage>Status

Application Info / Manage>Status>Selected Running App

Application Info / Manage>Status>Selected Running Process

Application Info / Manage>Idle State

Application Info / Manage>Idle State>All Apps Idle State

Application Info / Manage>Idle State>Get a selected Application Idle State

Application Info / Manage>Idle State>Set Application Idle State to Active

Application Info / Manage>Idle State>Set Application Idle State to Idle
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.37

This release is VERY minor, and was really just to fix the first boot issue on new installations. There are no new features, so you could stick with v1.0.36.

Download: SEE OP!

Fixed the first boot crash

better handle deny of storage permissions

Remove a dead end menu item related to last status/idle changes)

Fixed the "Magisk>Magisk Repo List". They must of changed the database in a recent release

NB: TeMeFI's Magisk reports will need to be modified to be compatible with the new BETA.
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.38

The BIG new feature in this release is the "Dynamic DB Queries". And it is a pretty powerful! It allows a user defined query against all databases with the selected paths. It actually searches deep down (up to 4 levels deep) within the sub directories of every app for a database file, including system apps (eg Media dB, SMS/MMS etc etc)

It basically takes you through a "wizard" collecting the info it needs to build and perform a query to your specifications against any database. As you go through the steps, a toast will prompt you telling you what you are doing/selecting.

An example. This example will show the number of SMS and MMS messages sent/recieved and read to a specific phone number (or group of numbers).

Filtered & Grouped Table Data

Select the root path within which to find the database "/data/data/"

OPTIONAL SHORTCUT: The list returned will be quite long, so press and hold the "X" button,and enter "mms" and press ok.

Select the database file ending in "/ipa_mmssms.db" NB: you can scroll the menu horizontally to see the end

select the table "mmssms"

Select the field to filter by as "read"

Select the value "1" to filter "read" by.

Select the field to group by as "phone_numbers"

If I get some time, I post a video/gif of it in use. I have also found it pretty handy to press the "home"button to go back in the menu instead of pressing "up" multiple times, to start from the beginning. NB: the last selection can be changed by simply selecting it from the existing menu.

Another table with a lot of interesting info in it is the "external.db" database of android media provider . It basically lists all the files on your device.

Added a dynamic SQL query of virtually any SQLite database on the device (under SQL Based>Dynamic DB Queries)

Added a toast on the "Dynamic DB Queries" for each step. Lets you know what you are selecting from

Combined app info>status with Currently Running>status to make a much more detailed report, with the flexibility of selection of the app menu item\

Respect your screen colour choices when returning tabulated data at numerous places

Numerous/Various smaller fixes while enabling the "Dynamic DB Queries"

Download: SEE OP!

New Menu Items:

SQL Based>Dynamic DB Queries

SQL Based>Dynamic DB Queries>All Table data

SQL Based>Dynamic DB Queries>Filtered & Grouped Table Data

SQL Based>Dynamic DB Queries>Filtered Table Data

SQL Based>Dynamic DB Queries>Grouped Table Data

Current Running>Process Details

Current Running>Process Details>Selected Running App

Current Running>Process Details>Selected Running Process
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.39

Re-Worked the menu around the database features

Added a heap of pragma / dB info actions

various small internal fixes

Download: SEE OP!

New Items. NB: a LOT of the items below create dynamically built lists hiding the fact that there are MANY sub menu created on the fly under them:

Database>Admin Actions>Run ALL PRAGMA statements for a Database (see below for all the individual statements see https://www.sqlite.org/pragma.html for all doco)

Database>Return an Objects SQL Create

Database>Admin Actions>Run PRAGMA statements against a Table

Database>Admin Actions>Run REINDEX statement against a dB

Database>Admin Actions>Run VACUUM statement against a dB

Database>Admin Actions

Database>Admin Actions>Run Individual PRAGMA statements against dB

Database>Dynamic DB Queries>Complex Filtered Table Data

Database>Dynamic DB Queries>Filtered Delete Table Data [*** USE WITH EXTREME CAUTION ****]

Database>Dynamic DB Queries
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.40

Fixed bug when something running and switch to another app and back again. Or when screen goes off then on again.

Add a few items (see below)

Small clean up to the set doze script generated

Fixed all the file "cat"s directory formatting

added some dynamic sql multi-filter abilities

various smaller internal fixes

Download: SEE OP!

New Items.

Dynamic Lists>Files>Usage Stats

Database>Dynamic DB Queries>Two Field Table Filter

Database>Dynamic DB Queries>Complex Filtered Table Data

Database>Admin Actions>PRAGMA ".DOT" Command Help

Database>Admin Actions>PRAGMA ".DOT" Commands Against a dB

Database>Admin Actions>Database .DUMP (ASYNC)

Database>Admin Actions>Database .SCHEMA
[Android Apps and Games] DiamondJohn:
New Build!

New Version v1.0.41

Added a heap of new methods (see below)

Moved some ROOT items out to non-root

Cleaned up some of the menu structure

A number of small internal improvements and bug fixes

Download: SEE OP!

New Items.

Currently Running>Memory Info>Dumpsys Memory Info

Currently Running>Memory Info>Virtual Memory Allocation

Currently Running>Memory Info>Virtual Memory Info

Currently Running>Memory Info>Memory Info

Currently Running>Memory Info

Database>Admin Actions>OPTIMIZE statement against a dB

Currently Running>Dumpsys Checkin

Currently Running>Dumpsys Checkin>Checkin Package

Currently Running>Dumpsys Checkin>Checkin Usage Stats

Currently Running>Dumpsys Checkin>Checkin Proc Stats

Currently Running>Dumpsys Checkin>Checkin Mem Info

Currently Running>Dumpsys Checkin>Checkin Battery Stats

Currently Running>Dumpsys Device Idle>Un-Whitelist an App

Currently Running>Dumpsys Activity Details for App

Currently Running>Dumpsys Activity Details

Currently Running>Battery Stats for App

Currently Running>Battery Stats

Currently Running>Battery Simulate>Battery State

Currently Running>Dumpsys Device Idle>System Whitelist RESET an App

Currently Running>Dumpsys Device Idle>System Un-Whitelist an App

Currently Running>Dumpsys Device Idle>System Whitelist an App

Currently Running>Dumpsys Device Idle>Whitelist an App

Currently Running>Dumpsys Device Idle>Execept Whitelist App Actions

Currently Running>Dumpsys Device Idle>Remove App from Temp Whitelist

Currently Running>Dumpsys Device Idle>Temp Whitelist an App

Currently Running>Dumpsys Device Idle>Temporarily Whitelisted Apps

Currently Running>Dumpsys Device Idle>Whitelisted Apps

Currently Running>Dumpsys Device Idle

Currently Running>Dumpsys Device Idle>Trigger Motion

Currently Running>Dumpsys Device Idle>Set Idle State Disable

Currently Running>Dumpsys Device Idle>Set Idle State Enabled

Currently Running>Dumpsys Device Idle>Check Enabled Idle State

Currently Running>Dumpsys Device Idle>Get Idle State Enabled Status

Currently Running>Dumpsys Device Idle>Unforce

Currently Running>Dumpsys Device Idle>Force-Inactive

Currently Running>Dumpsys Device Idle>Force

Currently Running>Dumpsys Device Idle>Step

Application Info / Manage>State>Freezer>Freeze App - User 0 - No Root

Currently Running>Battery Simulate

Currently Running>Battery Simulate>Battery Set Level

Currently Running>Battery Simulate>Set Battery Status

Currently Running>Battery Simulate>Battery - Unplug

Currently Running>Battery Simulate>Battery Reset
[Android Apps and Games] Oswald Boelcke:
Sir! Any intentions to make the apk available via XDA Labs? Just for convenience of lazzy users like me.

But I really appreciate your great job. Thanks very much in deed.
[Android Apps and Games] DiamondJohn:
No intentions. Mostly because i don't know how, and don't have a known reason to do it. If you have a link to a page listing the benefits to me, and how to do it, and it isn't too much extra work, then maybe.
[Android Apps and Games] Oswald Boelcke:
This would be the page; login is the same as for XDA - just click on "Publish my app": https://labs.xda-developers.com/

Just for completeness the thread about "[OFFICIAL XDA][BETA][MAR 19]XDA Labs: Forum App + App Installer + Xposed Repo".

Quotes from its OP:
[Android Apps and Games] pocketrule:
No Problem, thanks for your detailed replys!

Got it, I didn't think of it. That's a pity, because the elapsed hours would help me much to see when things happened at a glance. But I understand the problem.

The HTML-export is the best thing ever, you've done a great job. Thanks!

For me it's the opposite. I've got used to see the battery level, so I get confused if the y-axis is showing something different 😁️
[Android Apps and Games] DiamondJohn:
The 3 different size / thickness markers really do (at least me) help with INTERVALS, not as helpful with actual exact times.

I can see the Matrix ;)
[Android Apps and Games] DiamondJohn:
New Version v1.1.12

The following items are of special interest

Battery History: Updated / Added the calculated summaries (see below)

Battery History: Added a hide/show toggle on the additional table/parts

Disconnected the version number from the interface version. In Short, If I update the script and not the interface, existing favourites will continue to work. You will see updated items more often now when I simply do typo corrections etc

updated the full menu in the OP. NB: You can always get the actual menu by going to TeMeFI Configuration>Show Whole Menu

Calculated Summaries example:

The hidden sections / And show/hide Buttons

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"

All should be the ones mentioned above.

Enjoy and stay safe.
[Android Apps and Games] DiamondJohn:
Doh! I noticed the typo yesterday, in the "WEighted Average Battery Charge". But it does give an opportunity to show off the other new feature, where I can edit the script AND update the version/updated date, without invalidating any saved favourites. Always look for the silver lining...
[Android Apps and Games] Michael Westen:
Thanks for the app OP! That worked! Youtube is now detached and stopped appearing in the play store updates list.

I'm still on Vanced version 14-something, which works perfectly on my phone running Lineage OS Pie equivalent.
[Android Apps and Games] evildog1:
Worked for me too! I can finally enable auto update again

My device is Moto G G5 running Android 11
[Android Apps and Games] DiamondJohn:
The catch 22 on that, is if you have Method 3 enabled, your auto-updates will be slowed down, as every time it attempts to auto-update a detached app (method 3), I induce an error in the PlayStore, and it has a tendency to not handle the error and crash out.

When I was first testing, I thought it was completely disabled, but after a while I realised it was simply delayed. I now have over 10 apps detached (a pixel phone, and google try to push out a lot of bloat) and I haven't waited long enough for any auto-updates to occur; apart from the playstore itself, which has recently gone under many updates.
[Android Apps and Games] evildog1:
I used method 3 as i followed the instruction from Vanced. If it happens, i will just manual update but i don't have to worry about updating youtube by accidently