yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] DiamondJohn:
It looked interesting, so I had a look. I found some questionable behavior.

The get returns a number, but you set it to either "active, working_set, frequent or rare"

I then tried changing TeMeFI to "active" and did a get, then set it to "rare "and did a get again, and the number did not change between the extremes. It doesnt look like it works anymore. It is on a Pie page and I didn't find a reference to a latter version of android. It looked promising, but I think it does not work anymore.

sunfish:/ # am get-standby-bucket diamondjohndroid.utility.temefi
5

sunfish:/ # am set-standby-bucket diamondjohndroid.utility.temefi active
sunfish:/ # am get-standby-bucket diamondjohndroid.utility.temefi
5

sunfish:/ # am set-standby-bucket diamondjohndroid.utility.temefi rare
sunfish:/ # am get-standby-bucket diamondjohndroid.utility.temefi
5

PS: when setting the OOM / Nice etc you have to be certain its the service and not the UI
[Android Apps and Games] HippoMan:
Different devices and OS's handle these App Standby Buckets differently. The specs for this App Standby Bucket functionality state that these buckets can be and probably *will* be used slightly differently between different OS's.

For me on the troublesome OnePlus OOS operating system, I can assign an app to a bucket, and when I query the app's standby state, my assignment has been remembered and always seems to be accurately returned. Also, those bucket assignments seem to "stick" if I use the following command to make the bucket assignment:

am set-standby-bucket package.name active

I have spoken to someone else who is using a Samsung device, and that person claims that the App Standby Buckets under that OS seem to be non-functional.
[Android Apps and Games] Ucill1:
This app is great! Thank you!
[Android Apps and Games] DiamondJohn:
New Version v1.1.15

The following items are of special interest

New latest build of SQLite 3.37.2

New menu item for latest changes to the base script. Previous/current changes list include changes to shared code which can trigger a change log for a LOT of scripts all sharing a tiny bit of code

Overlays at Currents State>Overlays My ROM is a bit buggy in that I can change the icon shapes but changing the colour doesn't appear to work. It appears to be something internal to Android

Added a "Distinct Differences" column output (ie a diff between a full count within a group and the distinct count within the group) to the dynamic SQL grouped Reports

[edit] Added compiler / performance improvements to some SQL. I can now run against a dB with 4.4+Million records, where previously SQLite spat the dummy.

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"

Enjoy and stay safe.
[Android Apps and Games] DiamondJohn:
Regarding the SQLite3 included in TeMeFI. Its a "generic" ARM32 binary. Which of course works on 64bit devices. I recently recompiled the latest version and included it in the TeMeFI release, but I just compiled one for each architecture. Hence, I am personally running one that is specific for ARM64. There are also ones for X86 etc

see the following post for the files and quick instructions,

https://xdaforums.com/t/new-sqlite3-binary-v3-36-0-for-arm-devices.4273049/post-86236963
[Android Apps and Games] StormProductionsMusic:
Link from the first post is not working - Dropbox file removed.
[Android Apps and Games] DiamondJohn:
OOoops... was running out of space and did a clean. A little too quickly and deleted the latest version instead of a previous version. Sorry. Its now fixed in the OP.
[Android Apps and Games] NikBos:
Is there still option to remove youtube from play store update?

Application info / manage -> Detach package from playstore -> Detach: select package... -> com.google.android.youtube -> 3 - Invalidate the data... -> Yes

This worked for me me previously.
[Android Apps and Games] DiamondJohn:
AND it still works for me, and I would say others as well.

After running the above, run the test to check everything has worked.

Application info / Manage>Detach package from PlayStore>CHECK: The detach of a single package>com.google.android.youtube

Save the report off, zip and attach here. Screenshot wont show the full screen/results.

Which version of Android?, OS?, Architecture? (ie arm32/arm64/x86) & Device?

Its starting to gnaw at me that your x86, which the internal SQLite does not support. If thats the case, you would have to depend on your ROM providing it or use the builds of SQLite from my other thread.
[Android Apps and Games] c19932:
Thanks for your advice. Is there a function to set oom and nice on reboot for an app? I'm trying to prevent this one app from getting killed and the settings always reset on reboot. Thanks!
[Android Apps and Games] DiamondJohn:
TeMeFI will show you and build scripts (for these and many other functions). Setting these as boot scripts or scheduled scripts is well beyond its scope.

It can be more complex, for example, simply killing the app may function the same as a reboot as far as the app/process is concerned. I have a very customizable launcher and have set some of my icons in the launcher, to run scripts to start the app and then set OOM, NICE and IO-NICE. So, every-time I start it, its configured as such.
[Android Apps and Games] DiamondJohn:
The Google playstore has had another major update. I would suggest re-running the detach of a single app, that should correct ALL detached apps. Its strange how they flip between apps for update as being a lone sub menu, or in a screen with the recently updated below. They keep switching back and forth. Either way, they break my break by doing a major correction. But to be clear, I haven't seen an update come through, just a fail on my report/check, that something has been messed with.

I have a favourite of the check of YouTube, and the detach of YouTube, so they are quick and handy.
[Android Apps and Games] Supermatt01:
The detach list is showing apps I don't have installed and not showing some I do have installed.
[Android Apps and Games] DiamondJohn:
That is caused by shortcomings in the playstore data.

I have said MANY times in this thread, you can only detach something that is attached. If its not in the TeMeFI list to be detached, then its not attached. I also have provided a method to FIX the playstores data; NOT TeMeFI's fault.

As for aps that appear in the list, that you dont have installed. The PlayStore keeps a log of things you have or it thinks you should have installed in the past. I do not filter the list to what is installed. TeMeFI leaves that up to the intelligence of the user, as the user may know if something that TeMeFI does not. For example, I have a Pixel; device, and on first boot it schedules load of bloatware to be installed. Before it gets installed, I detach these aps so they are NEVER installed.
[Android Apps and Games] Supermatt01:
Thanks. I fixed it by wiping Play Store data and cache or at least that is what I did that got the result I wanted.
[Android Apps and Games] DiamondJohn:
Yes, you deleted the flaws in the playstore app. However, if you know which are not suppose to be there, then you have made the "app not in list" even worse, as nothing would be in the list straight after the wipe.

Also, if you had any aps detached, the detachments would also be wiped.

PS: after using the playstore, installing and uninstalling afew apps, the issue you think you had will be back.
[Android Apps and Games] DiamondJohn:
MOD EDIT: Quote removed since post removed.

What exactly are you trying to fix? "Its" NOT a bug, its the way the PlayStore operates. The fix is to understand the way they have built the playstore, and work within those parameters. You dont fix poison, you just dont consume it

PS: Fixing the playstore is well OT for TeMeFI
[Android Apps and Games] DiamondJohn:
MOD EDIT: Quote removed since post removed.

And THATS where you should speak to google. Its well beyond TeMeFI. As I explained above, I worked within the parameters/structure/methods/processes put in place by google. And even that is reverse engineered by me, not by reading any Google published doc; which i would highly doubt there is, as having such would make my stuff and other hacks soooooo much easier, and they dont want people to hack their software.

So, how to understand? LOOK and reverse engineer for yourself.
[Android Apps and Games] varunpilankar:
Hi @DiamondJohn

Have been using your doze profile for a while now.. It fits my style of use.. Thank you for a great app and contribution to the community.

I just noticed 2 things under my BBS consuming battery

1. Partial Wakelock: Android System - AnyMotionDetector

2. Alarms: Android - DeviceIdleController.sensing

Is it coz of doze settings?
[Android Apps and Games] DiamondJohn:
Not too sure, its been a while since I looked into it, sorry.

However, those two items you listed, actually look like things that have been explicitly coded to break through doze. For example, Google would not want you to miss an "Alarm" if your phone was in doze. Also, I *think* the motion detectors also break through doze. You may get more/better information from the BBS thread; which obviously u are familiar with.

i remember when I was testing, if I shook my phone, it never went into doze. Thats the way google have designed and built it. There may be some hack to disable your motion detectors, or even better, reduce their sensitivity. One thing I did include in my doze profile, was that it would enter deep-idle very quickly after a motion event.
[Android Apps and Games] Supermatt01:
Thank you.
[Android Apps and Games] varunpilankar:
I was able to fix the wakelocks AnyMotionDetector and DeviceidleController.sensing by fine tuning doze parameters.

Thank you for your support 😇 👍🏻 really appreciate it
[Android Apps and Games] varunpilankar:
@DiamondJohn if you think it's useful to add a new doze profile into your app which has motion sensing disable. It might be useful to the community members with like minded taste.. Let me know if that makes sense 😉
[Android Apps and Games] DiamondJohn:
Post it as a text file, or as a quoted code for example

light_after_inactive_to=60000,light_pre_idle_to=60000,light_idle_to=120000,light_idle_factor=2.0,light_max_idle_to=900000,light_idle_maintenance_min_budget=60000,light_idle_maintenance_max_budget=300000,min_light_maintenance_time=5000,min_deep_maintenance_time=30000,inactive_to=60000,sensing_to=0,locating_to=0,location_accuracy=20.0,motion_inactive_to=0,idle_after_inactive_to=0,idle_pending_to=120000,max_idle_pending_to=120000,idle_pending_factor=2.0,idle_to=60000,max_idle_to=900000,idle_factor=2.0,min_time_to_alarm=3600000,max_temp_app_whitelist_duration=300000,mms_temp_app_whitelist_duration=60000,sms_temp_app_whitelist_duration=20000,notification_whitelist_duration=30000

And the name you would like it to be known as. For example, DiamondJohnDroid-Comatosed I'll throw it in. Just not sure when the next release would be, I havent thought of any thing new, and have been busy on other things of late and forsee those to occupy me for a few weeks at least.
[Android Apps and Games] varunpilankar:
Here is my current profile (Updated on 5th October 2022) - I would like to call it varunpilankar-NoMotionDoze:

inactive_to=2592000000,motion_inactive_to=2592000000,light_after_inactive_to=0,light_pre_idle_to=30000,light_max_idle_to=86400000,light_idle_to=43200000,light_idle_maintenance_max_budget=30000,light_idle_maintenance_min_budget=10000,min_time_to_alarm=60000,min_light_maintenance_time=10000,wait_for_unlock=true,quick_doze_delay_to=86400000

Feel free to add it to your app whenever possible. Once again, Thank you for your support! @DiamondJohn 😇
[Android Apps and Games] AndrzejDwo:
Hi @DiamondJohn, it has been a while since I last used your app and looks like it really grows strong 👍 I came back to see the magic of detach feature and I'm amazed how simple it is to use. I have detached Vanced on my 3 samsung devices: S8 (Android 10) S10+ (Android 12) and S21Ultra (Android 12), using method 3 - works like a charm, thank you!

I'd like to ask you something. There is one annoying thing happening since Android 12 on S21 devices (and not only, i think). Samsung added root check in SHealth app above version 6.19.5.017 and it refuses to work after update. I have managed to detach it from playstore easily but it's still there whining for an update in Galaxy Store, do you think it would be possible to detach it from there as well? That would be just awesome.

All the best!

Cheers
[Android Apps and Games] DiamondJohn:
My current phone is a Pixel 4A, so i dont use Samsung store. Although my previous phone was a Samsung, I always ran AOSP or CM based ROMs, so no Samsung store there either.

For the next week or two, I have other commitments, so wont be touching TeMeFI, but, if you zip up your Samsung store app data (Use the AAPT features in TeMeFI to find the location), and PM me the zip file, and note the app code for the problematic one, *maybe* I'll get a chance to look at it; but it wont be soon; to see if they have the same vulnerabilities I found in the playstore.
[Android Apps and Games] varunpilankar:
Is there a very to block sensor wakelock or change their wakeup settings?
[Android Apps and Games] DiamondJohn:
I thought that was what you achieved with your profile?

As far as I know, you would have to modify the Android source. But I have not searched for that.
[Android Apps and Games] varunpilankar:
I did.. My doze is working fine.. This is something different I guess
[Android Apps and Games] DiamondJohn:
The checks that are faulking I have marked as Low or Very Low. The reason I did this, was because they are a little bit of fuzzy logic, and the playstore may u[date app "com.android.someapp" and that will appear to affect "com.android.someapp2"

I have had th9ose in a fail; state for over a year and never had an unwanted update sneak through. It actually because of those to that I add the level of issue / importance column to the report. Basically, you can ignore them. They were steps I took early on as a "just in case / while im there"
[Android Apps and Games] DiamondJohn:
Your doze may be working, but my understanding of what you were attempting with your doze was to disable your wake-locks. Or is it only specific wake-locks I am guessing?

If you are trying to block every wakelock, I dont think that is really possible. I could program an app, that as soon as I get the processor, I could raise a full wake-lock. Maybe disabling a permission such as "run in background" may help reduce their occurrences. IDK and IDTS (I dont think so..) One of things I do to reduce wake-lockis, is have a script run whn I click a zone on my home screen to turn the screen off, it runs through all 3rd party apps (and many google ones) and hibernates them; they cant do anything then; almost as google eventually gets their playstore up and running somehow :mad: . Its handy, as its easier to click the scree when its on, and I am facing it as I am about to stop using it, as opposed to finding and pressing the hardware power button wuith a hand reposition. So it works very well for me.

Yeah, try hibernating the problematic app whenever the phone should be in doze.
[Android Apps and Games] varunpilankar:
Specific wakelock.. I'm just trying to optimize my device for better speed and efficiency, which I have almost achieved.

Great idea.. You're doing that on your Lighting Launcher setup right? I'm running something similar on Nova. Non of my apps runs in background except for few calendar, outlook, autovoice.

BBS is giving me accurate information just the way I planned.. Expect for sensors utilization done - Tasker and Android system.

Tasker sensor issue I was able to fix it yesterday..

Now I'm only left with android system one.. I tried finding the details of sensor: device_orient wakeup and why it is used/what's running it? If I'm able to fix this my journey comes to an end 😉
[Android Apps and Games] Cares:
Odd, I cannot even see com.google.android.youtube in my list of apps but it is definitely in my list of apps that need updating in Play Store. I currently have rooted Vanced installed is that causing the issue?
[Android Apps and Games] DiamondJohn:
I am assuming by "List of apps" you are speaking of the menu you use in the detach process? There are hundreds of places that a "list of apps" is presented in TeMeFI.

Because most people do the detach for YouTube only, and its actually what I used to test/develop since it was the most thoroughly attached and hence ardently updated by the PlayStore, I have placed it at the top of the list IF IT IS ATTACHED; which I have spoke of many times. It was easier during the MANY tests to not have to hunt and scroll for it myself ;)

Rooted vanced is what detaching YouTube is ALL about! So NO.

Anither way to find an item in a looooong list of dynamically generated menu items (ie your app list for example), when the menu pops out with the long list, LONG press the X button in the menu/toolbar and enter a partial , case insensitive text to filter for the app. In this case youtube or you or tube should return a very short list instead of scrolling for it and possibly missing it. This feature is something I use extensively and would guess is not used by others as much as I would of hoped. It is VERY useful with the looooong menu lists generated by TeMeFI
[Android Apps and Games] Cares:
Thank you! I didn't realize it was named something like Language for YouTube so I thought it was a different app when I was looking line by line.
[Android Apps and Games] DiamondJohn:
Always base it off the unique code. i noticed during testing, youtube app got assigned some funky names. Just another bug in the playstore.
[Android Apps and Games] Jinnn92:
Hey I posted a link to your excellent app on Vanced subreddit.

https://redd.it/ty9sna.

I explained how to detach Vanced YouTube from Google Play Store.

But some people have problems and I wanted to ask if there's anything I'm missing.

Can you please confirm if detach function is reliant on busybox ( I concluded that but I'm not sure if I'm right)?
[Android Apps and Games] HippoMan:
I'm confused about this.

The web site for YouTube Vanced is now saying that the app has been discontinued, and it suggests a couple of alternatives.

Is there perhaps more than one YouTube-related app with the word "vanced" in its name, and are you maybe referring to such a "vanced" alternative?
[Android Apps and Games] Jinnn92:
No I mean original Vanced.

It had been discontinued yes but it's still working and most of the people think there's no better alternative (since these are smali modifications and they won't publish them) and we're hoping no Google server side update will break it anytime soon.

And since I'm still using it and I always had problems with different detach methods which fail to do it permanently till I found TeMeFI I wrote a guide on their subreddit and it actually got a lot of attention so I just wanted to clarify since some people have been reporting it doesn't work for them.
[Android Apps and Games] HippoMan:
I see. Thank you for explaining!

I was just hoping that there could another "vanced" or vanced-like app somewhere that works similarly to the original.
[Android Apps and Games] Lughnasadh:
There is a mod called "ReVanced" in the works. You can find them on Discord and Github.
[Android Apps and Games] Zorro12345654321:
Love the app, thank you very much for that.

May I ask a Feature Request?

Would be very cool if you find any way to re-enable clipboard history in A11+. There was once amagisk module, sadly its development is not continued.
[Android Apps and Games] DiamondJohn:
Just answering in reverse order, as I have personally always wondered about the history.

It doesn't need to be "re-enabled", it works on my A11 Pixel 4a using GBoard.
[Android Apps and Games] DiamondJohn:
RE Vanced alternatives:

See

Startpage Blocked

Startpage's blocked page

www.startpage.com

Best YouTube Vanced alternatives in 2023

If you're looking to hop off of YouTube Vanced and try something new, we have a list of some of the best alternatives around.

www.xda-developers.com

8 Best YouTube Vanced Alternatives to Watch YouTube Videos

Looking for an app like YouTube Vanced to watch YouTube videos without ads? Here are the best YouTube Vanced alternatives to try out.

beebom.com

https://xdaforums.com/t/app-mod-root-nonroot-vanced.3758757/post-86695621

But Im still using the last vanced and will do so until it stops working.
[Android Apps and Games] DiamondJohn:
SOOOO much to cover, and am on my way out.

1. it is NOT dependent on busybox.

I have developed the app to not be dependent on BusyBox EXCEPT for the items within the busybox menu tree.

And from the link

1. Small typo on step 5, its ""Detach: Select package and protection level V5"" as in version 5. Also on step 7 you have a typo of "nad" instead of "and" ;)

2. Step 9 you say "you may need to force close the playstore". thats a definite NO, as that is one of the first things I do before I start messing with the playstore, to stop it, from stopping me

3. "nomnomtastic: Thanks for this. However, YouTube isn't appearing in the list." Thats because it isnt registered in the playstore data as actually being fully attached. Do step 1 of the following.

https://xdaforums.com/t/app-tool-temefi-comprehensive-system-administration.3806260/post-83764913

4. "YouTube doesn't show up. Any ideas why? Edit: I found the app under there name 'language for YouTube - com.google.android.youtube' and after running the process it worked like a charm. Thanks OP " Thats a BUG IN THE PLAYSTORE! Thing to remember is the attach/detach is by the unique code, not the label/description. So look for "com.google.android.youtube" See the point below, it will still be at the top of the list!

5. Also, because i was testing it with youtube, over and over and over and over and over and over, I put it out of order and at the top of the list, if it is attached (see point 3)

6. "Vatsune: Followed all steps but YouTube still shows "Update" in Play Store" sorry, but i dont belive you have "followed all the steps" OR there is another issue with your device (maybe a bad SQLite binary; did he read the output for any reported issues?) To check if you have done it correct or have another issue with your specific device, run the CHECK

Actually, maybe he meant that when he explicitly browses to the playstore app page for YouTube, the update button shows. That's NOT relevant. The detach is to stop it from auto-updating and to not appear in the list of scheduled updates. NOT to hide that you have it installed. So if you browse to the app, then it wil see you have an older version installed. Not that I suggest anyone do this, but, i dare him to press the "Update" button and see where that gets him. The playstore will be abruptly and rudely shut down!

Actually... I think I covered it all
[Android Apps and Games] Jinnn92:
Thanks I copied and pasted it.

Sorry for typos and inconsistencies, I'll try to correct them when I'm home if I don't forget.