yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
We are all idiots, the trick is how well we can hide it from everyone else ;) and i think you have done everything as asked. thanks.:good:

So I would guess that would be another AOSP based ROM (DU was the first)

I'm not sure why you did the split screen, as it appears to be my own post, which I hope I can remember:silly:

The general thing to take away from this is that either Album art is broken in Android 10+ (AOSP and LOS based custom ROM's) OR google have moved it, and forgot to tell everyone. I say "everyone" as I have tried two album art apps from the playstore, and neither of them work on Android 10 nor on Android 11! and from what I have seen for the little album art that does get through, its actually file specific, not Album :mad::mad::mad:

why is no-one else talking about this!:confused:

I REALLY would like to see how it operates on a real Pixel ROM firmware? anyone? I don't hold much faith it would be any different, as from my understanding, AOSP would basically be built from a Pixel ROM source.
[Android Apps and Games] chooks06:
[MENTION=5417899]DiamondJohn[/MENTION]..

Reason for the split screen was to find my way through the menu to run the code as I have pretty short memory and could have gotten confused in the menu (though not anymore).

And also to identify where the result refers - internal or external db. I wasn't able to differentiate from the generated report so depended on the quoted text (from your post) to "tag" it.

And to make sure I follow to the letter.. ?.

Cheers and stay safe mate!

Edit - yes. AOSP based ROM.
[Android Apps and Games] DiamondJohn:
A couple of things regarding split screen. My ROM also has split-screen functionality, and from memory, I can expand the TeMeFI pane and it keeps the results. To further the "tag" of int/ext, the results have the database name at the far right. Zooming out and holding the phone in landscape and possibly scrolling right a little, may of brought the filename into visibility while still showing that there were no results returned.
[Android Apps and Games] chooks06:
Thanks for the tip mate! Cheers!
[Android Apps and Games] Odercra:
Just used this to detach an app from the playstore, love it :D
[Android Apps and Games] samrattt:
Thank you
[Android Apps and Games] HippoMan:
Just out of curiosity: is it possible to use TeMeFi to detach PlayStore from the PlayStore? ... so that I don't keep getting "improved" SafetyNet checking installed every time a new Google Play upgrade takes place.

Or does Google Play itself use a different upgrade mechanism than the other apps?

I don't have spare time now to reflash my device in case I hose it, which is why I'm asking here instead of simply trying this. If no one knows the answer, I'll try this in a week or so when I have more free time to unbrick and restore my device, if needed.

.​
[Android Apps and Games] DiamondJohn:
Funny you should ask. When I was building & testing the detach, I noticed one of the playstores components showing up in the list of things available to be detached.:eek: I thought that would be a road to failure, so explicitly exclude it from the list.:rolleyes: I do not know if it would achieve what you are looking for.:confused: The package that I am explicitly blocking from appearing in the list is "com.google.android.gms". Do you KNOW if that would be what you are looking to block?

There may be other items in the list that will give you what you are looking for. I would try filtering the list by "google" or "vendor". To filter the list, long press the "X" button below the menu and type in "google" and see what it shows up. Of course YouTube would be there also etc.

As I said, I did no testing on detaching it, and have no technical reason for doing it, and it would be an easy filter to remove (in the next release). It just seemed like the right thing to do at the time.
[Android Apps and Games] samrattt:
Do not remove detaching feature please sar [emoji29]
[Android Apps and Games] HippoMan:
I'm not sure, but com.google.android.gms might indeed be the "Play Store" app that I want to try to detach. I probably won't have the opportunity to experiment with this for another week or so, but if by then there is a way to try detaching this app, I'll be willing to attempt this, and I'll report my findings here.

And yes, at that time, I'll try detaching other "google" and "vendor" apps, as well.

.​
[Android Apps and Games] zputnyq:
Afaik "com.google.android.gms" is google play service, while google play store is "com.android.vending"
[Android Apps and Games] HippoMan:
Thank you!
[Android Apps and Games] kos25k:
Hello to all!

I always wondered if there's a way to FULLY remove all location services on android.I mean,even with location set to off,google has the way to permanently track us.So i want to ask,is there any way with this app to manage this?
[Android Apps and Games] RogueNeuron:
Please fix the download link in OP.
[Android Apps and Games] DiamondJohn:
There is no method for that in TeMeFI. I do not like your chances, since location can be deduced from your phone network.

OK, I checked the OP, and it has been borked by the XDA forum upgrade. It shows the latest version as 1.0.92 while the latest is actually 1.0.93 1.0.94.

I will TEMPORARILY include a link to the latest here, in case the XDA people can use the damaged OP to debug whats gone wrong.

TeMeFI v1.0.93

MD5: DFE4A4892CA1BEC9AD534C63D9883110
[Android Apps and Games] DiamondJohn:
Oops... o_O The latest version is actually 1.0.94. I have updated the OP with a link to the latest version
[Android Apps and Games] DiamondJohn:
New Version v1.0.95

Interesting things in this release:

Bug fix of Favourite of EXTEND action types

Album art - choose to link OR encode into result file

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"

The majority of these will be becaused of updates to shared code.

Enjoy and stay safe.
[Android Apps and Games] rypz79:
Hello,

Is there an option to hide a non play store app from play protect?

Thanks
[Android Apps and Games] Philnicolls89:
Why do you want to/need to hide a 3rd party app from play protect specifically? It will only warn you about 'potentially harmful' apps but shouldn't affect the app in any way.

Most likely hiding it using magisk manager will do the trick for what you need.
[Android Apps and Games] DiamondJohn:
I had no-idea what play protect was. So I did a quick search, and it appears to be check for malicious code. Now, working around that is problematic for me in a few ways

I would not want to be hiding potentially malicous code. And YES I understand the concept of false positives

If magically found a way around it, I wouldn't want it to be hijacked for nefarious purposes.

What I read was that it was very good and I would also guess some of the best coders at google are working on it, and specifically working on NOT allowing apps from "hiding"from it. i.e. sounds like a lot of work and against coders better than me

Apart from Magisk Hide, if you have Xposed installed, possibly Sudo Hide may also work

I personally don't have any need to hide any apps from play protect ;)

Not that its important, but what app do you wish to hide from play protect? I am guessing its hitting a fals positive?
[Android Apps and Games] pocketrule:
The question went to @rypz79 but I've also had sometimes the wish to hide an app from play protect. I've exported apps from Tasker and installed them manually. I don't know what preconditions an app has to fulfill to pass safetynet, but I remember that I was annoyed by the repeatedly warnings about a suspicious (unknown) app.

But it seems, play protect is learing, that *my* app is not harmful for *my* devices. I haven't seen this warning for some time.
[Android Apps and Games] DiamondJohn:
I understood, my question was also to the other poster.
[Android Apps and Games] DiamondJohn:
I moved the followng post from another thread as it was starting to OT/long on the other thread

The profile I created is the most aggressive I could find. Basically, I researched/understood what each setting was, found a bunch of profiles on github, then "intelligently" took the most aggressive version of each setting between all the others, without contradicting another setting I had made.

To summarize my profile it:

Goes to doze very shortly after screen off. as some famous/infamous legal person has recently said, "a non zero number" ;)

it minimies any sensor/external delays from going into deep-idle. such as waiting for a location, and location can be very rough/inaccurate.

it minimises the time spent in light-doze after stepping down from "Normal" i.e. active / screen on, i.e. you turn screen off, or when you shake the phone, which will step you out of doze

It has a LONG time between maintenance windows ie steps out of deep-idle, and processes items such as social medioa notifications. However, rouge apps can force your phone into a wakelock and out of doze

Maintenance windows are very short (and from above, few between). This behaviour was killing the battery on my previous phone; i.e. it flipped in and out of deep idle into maintenance 00's of times a day

I am, not100% certain, but I *think* the settings can be applied by non-root, HOWEVER, I dont think you can get to the doze profiles unless TeMeFI has root.

Also, the settings are lost in a reboot, so you will need to create a script to place as a boot script to re-enable it on every boot. From memory, TeMeFI gives you one to use as a starting point
[Android Apps and Games] Goku1992:
Thank you very much for your help :) will use it :)
[Android Apps and Games] DiamondJohn:
*** WARNING ***

If you are running Android 11, do NOT run the check after detaching an app. It breaks the detachment!

I have just updated my phone to a Pixel 4a and the latest firmware is Androiud 11. I ran the detach and when I ran the check, it failed from 10.0 onwards. Looking into it, I found the check is actually removing the methods 10 and up. This is most probably to do with a workaround I had for a bug in previous android versions, where the only way I could check if it was active was basically trying to damage it, and see that the attemopt to damage it failed. Well, in A11, it succeeds!

I have run the detach (of YouTube) and then manually checked behind the scenes, and the protections are in place. But running the check, disables them.

DO NOT RUN THE DETACH APP CHECK ON ANDROID 11!

I'm looking into it, as it bugs me I cant run the check on my phone!

I have found a few other android 11 changes, which I am also looking into.
[Android Apps and Games] DiamondJohn:
oh, and if you have run the check, simply re-run the detach.
[Android Apps and Games] DiamondJohn:
New Version v1.0.96

Theres a porioblem with XDA which stops me from updating the OP, so the actual download for now is: =TeMeFI v1.0.96

Interesting things in this release:

Fixed the detach check

Download: SEE OP!

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

Application Info / Manage>State>List de-bloated (hidden & Frozen)

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

The majority of these will be because of updates to shared code.

Application Info / Manage>Detach Package from Playstore>CHECK: The Detach of a single package

Current State>DumpSys>Dumpsys Device Idle

Current State>DumpSys>Dumpsys Activity Details

Database>MediaDB SQL>Last 1000 music files added to MediaDB

Enjoy and stay safe.
[Android Apps and Games] baibradar:
Hello

I use Redmi note 4x with LOS 18.1. Root - yes.

I want to use yours Doze settings but i get an error.
[Android Apps and Games] DiamondJohn:
Yeah, android 11 has made some major changes. I also have to admit, the applying of doze settoing was tested on a ROM that had the feature built into it, so it was a little finicky because of my caution. So my bad on that one.

I have a HEAP of fixes to do because of A11 changes (and BUGS, google broke album art in A10 and didn't fix it in A11:devilish:) Your a little lucky because I just upgraded my device to the new Pixel 4a running the latest A11 patch, so I actually checked this exact feature out on my new device with your same results. I know what needs to be done, but there is just sooooo much to do everywhere because of A11 changes.

I have tested my old doze profile myself, and was surprised that although it made a huge difference to the doze behaviour, it only made a meager improvement in battery consumption. But it was a quick test. The other thing that really shocked me, is that even with my aggressive doze profile :sleep: , "OK Google" operated perfectly o_O

To play with it before I get it released into TeMeFI. First check and save of the results for viewing purposes using the MENU item:

Use the following code run in a terminal shell or over ADB or even a saved script run from TeMeFI,to save a backup of your existing doze profile.

settings get global device_idle_constants;
settings get global device_idle_constants_user;

And the following code to set my "DiamondJohnDroid-Comatosed" doze profile

doze_settings="light_after_inactive_to=30000,light_pre_idle_to=35000,light_idle_to=30000,light_idle_factor=1.7,light_max_idle_to=50000,light_idle_maintenance_min_budget=28000,light_idle_maintenance_max_budget=300000,min_light_maintenance_time=5000,min_deep_maintenance_time=10000,inactive_to=30000,sensing_to=0,locating_to=0,location_accuracy=1000,motion_inactive_to=5000,idle_after_inactive_to=0,idle_pending_to=30000,max_idle_pending_to=60000,idle_pending_factor=2.1,idle_to=3600000,max_idle_to=21600000,idle_factor=1.7,min_time_to_alarm=1800000,max_temp_app_whitelist_duration=20000,mms_temp_app_whitelist_duration=20000,sms_temp_app_whitelist_duration=10000,notification_whitelist_duration=20000";
settings put global device_idle_constants_user "$doze_settings";

And to finally check if it is being used, run the following again and compare it to the previous run. The parameters at the top of the results.

I have also noted that A11 has brought in a few new parameters, but I havent looked into them or noticed it affected my doze profiles tendency to sleep and sleep hard and fast. (y)

One of the powerful things on TeMeFI is that the source code is available, so with a little bit of effort and knowledge, the above would of been within reach.

I would be interested on your results, best to test using the methods (ie no need to install it) of the idle drain tests as used / recommended in the BBS thread. Although, I think the real power of my profile is getting back into deep-idle between uses/checks of the phone (ie SMS and calls) as opposed to just sitting around on a nightstand for 6 hours. Thats not how I use my phone.
[Android Apps and Games] baibradar:
I applied code for doze settings but nothing has changed in

Current Running>Doze>Dumpsys Device Idle History
[Android Apps and Games] DiamondJohn:
What were the results from the get before ypu set it?

Also try

doze_settings="light_after_inactive_to=30000,light_pre_idle_to=35000,light_idle_to=30000,light_idle_factor=1.7,light_max_idle_to=50000,light_idle_maintenance_min_budget=28000,light_idle_maintenance_max_budget=300000,min_light_maintenance_time=5000,min_deep_maintenance_time=10000,inactive_to=30000,sensing_to=0,locating_to=0,location_accuracy=1000,motion_inactive_to=5000,idle_after_inactive_to=0,idle_pending_to=30000,max_idle_pending_to=60000,idle_pending_factor=2.1,idle_to=3600000,max_idle_to=21600000,idle_factor=1.7,min_time_to_alarm=1800000,max_temp_app_whitelist_duration=20000,mms_temp_app_whitelist_duration=20000,sms_temp_app_whitelist_duration=10000,notification_whitelist_duration=20000";

settings put global device_idle_constants "$doze_settings";

Then run the gets again to see if the settings have actually been changed.
[Android Apps and Games] baibradar:
Тhis code works. before I apply it

after I apply it

I will now see if it affects battery consumption.
[Android Apps and Games] bege10:
I used TeMeFI on a Fairphone 3, /e/OS 0.13 (based on Android 10, LineageOS, microG), rooted with Magisk, to get a boot log for a Magisk issue.

After a OTA update TeMeFI complains about several not existent or accessible files, and root functions like the boot log are not available any more. Magisk says TeMeFI has root permission and the other apps with root permission work correct. Toggling root permission and re-installing TeMeFi does not help.

Does anyone know what the cause for this problem may be?
[Android Apps and Games] DiamondJohn:
Good to know. I actually tried it myself, and I too had the same issue. "user" did not work. but I was sure when I tried it the first time, that's the one that worked, but obviously not :oops:

As I said,when I first tried it quickly, although the doze histoiry had some major behaviour changes, I did not see a major change to battery consumption, although that may be because of how short I tested it for.

I actually was not impressed with my phone's ability to enter deep-idle this morning, so I too have switched to my profile on my daily (Pixel 4a Running the latest A11).
[Android Apps and Games] DiamondJohn:
There are over 500+ methods and as such, talking generically does not help.

Pick a single one method and detail with logs of what is not working, and then maybe then I might be able to help.
[Android Apps and Games] DiamondJohn:
Just a litle FYI, the following is a comparison of before and after, showing the new params under A11 as well as the changes my profile makes to previously existing ones.

Mine are on the left, the stock Pixel 4a are on the right. The white lines are the ones I suspect are new parameters for idle. But as I said, on my previous quick test, my phone still went to deep idle damn quickly and is now as well.

And here is a quick check of the actual doze history showing the behavioral changes.
[Android Apps and Games] DiamondJohn:
FYI: I did a summary check last night of idle battery drain (its a new phone), and these were my results. I think down to 0.47%/h is pretty good.

As you can see, it went into and stayed in deep-idle the whole night; apart from only 3 very quick light-maintenance windows,

And the battery drain dropped down to 0.47% The high bars before "bedtime" were when I was using my phone before I went to bed. Normally I switch my phone over night. What probably makes the 0,.47% even more impressive, is that I was at the furtherest point from my WiFi which means it would of been seeking to makle a connection. I have read in the BBS thread how this can cause battery drain issues. But in my mid, if its in deep-idle and hasnt been touched, it shouldnt be trying too hard to connect the WiFi.

Although they are in different scales, you can see a general correlation between the peaks in idle (ie "Normal" / Red) with the higher battery drain times. Such as just before I go to bed.
[Android Apps and Games] baibradar:
The device Redmi note 4x. Wifi - off, GPS - off, Mobile data - off, Bluethoot - off.

LOS 18.1 no gapps instaled.

Per night around 8 hours with stock doze setiings battery consumption is 4-5%.

Per night around 8 hours with DiamondJohn doze setiings battery consumption is 2-3%. The difference is not large .
[Android Apps and Games] DiamondJohn:
Thats around 50-60%, which I think is a pretty good improvement. But its a big improveent on somethong that was small to begin with (PS: most people convert their numbers to a percentage per hour). I do not really care what my drain is when the phone is not in use. I made the profile because my old phone constanty thought that it was in use.

I think in Android 11, Google have sorted the battery drain better, so my doze profile has relatively smaller gains than what is seen in previews android versions.

So in A11 the idle drain is pretty good (out of the box), so the drain during the day and while in use is the target for improvement. And the idle drain has been fixed by getting wake-locks under control (by Google), while in deep-idle; so theres little to investigate.

For me, the big thing now will be to monitor and investigate my drain between deep-idle times. However, I have a new phone, bigger battery and am running the latest Android, so i would need to be really picky. Although i dont think I am seeing the screen on times others are reporting. I do run at max brightness, all the time.
[Android Apps and Games] DiamondJohn:
FYI: I have found another use for the detatch method in TeMeFI.

My new phone (a Pixel 4a) on rebiooting after flashing the latest stock ROM release, booted up with 20 apps lined up in the playstore to be installed. Basically bloat-ware from google, which they didn't actually include with the firmware ROM image, but try and force you to install on boot/connection to google play. Because they weren't installed yet, the stock settings app didn't allow me to disable them (not that I ever use that considering I have the "Clear-Hibernate-Freeze-Hide" in TeMeFI), however, because they were registered to my account (without my knowledge), they were available to be detatched in TeMeFI, and therefore blocked from being installed behind my back.

The weird thing, most had some crazy image name (eg com.google.android.as) that didn't align easily with their title, and even worse, some were not even searchable on the playstore by their name. To get their ID's, normally I find them on the paystore in a browser, and source the code off the URL; but as I said, they were not searchable by name in the playstore. I had to search for them on APKMirror to get their codes, which I then used to detach them in TeMeFI.

I also have some apps preinstalled, that are disabled in the ROM, but not "disabled enough" for me, as they still have data. For example, a few Verizon apps, when there is no Verizon in Australia. I think I am going to need to expand my "Clear-Hibernate-Freeze-Hide" to enable doing it on apps that are "lightly" disabled as well.
[Android Apps and Games] DiamondJohn:
New Version v1.0.97

Interesting things in this release:

Enabled / enhanced the set doze profile, and combined the view/set into one menu item

Added another line to the detach check

started adding support for Android 11 - theres a LOT more to do

Download: SEE OP!

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

Current State>System UI Tuner

Database>MediaDB SQL>Duplicate Files

Application Info / Manage>Packages>List Packages with UID

Application Info / Manage>Packages>List Disabled Packages

Application Info / Manage>Packages>Include Uninstalled Packages

Application Info / Manage>State>List de-bloated (hidden & Frozen)

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 cut-down list below is a filtered list showing items directly modified. And many of these would be to make them compatible with both A11 as well as older android versions.

Currently Running>Doze>Set or Compare Doze Profiles

Application Info / Manage>Detach Package from Playstore>DETACH: Select Package then Protection Level v4

Application Info / Manage>Detach Package from Playstore>List all configured detached apps

Application Info / Manage>Detach Package from Playstore>CHECK: The Detach of a single package

Application Info / Manage>Packages>List Disabled Packages

Current State>GPS Conf

Application Info / Manage>State>Clear-Hibernate-Freeze-Hide

Database>MediaDB SQL>Top 1000 albums with no songs attached

Application Info / Manage>Android Asset Packaging Tool>List all App Names, Code, Version & APK Paths

TeMeFI Configuration>Show Whole Menu

Enjoy and stay safe.