PS: It is obviously finding the library dB, as SQLite will create a new empty dB if the file is not found (but the path exists)
Thank you for the response.Sincerely, thank you. its my own private bug-bear.
Umm... to get the list of apps? I mean it IS the "library"
The library db file will let me hopefully duplicate the issue. A stack trace is more jibberish than I need to see. And, the error (if you click the bomb icon) would be more targeted to TeMeFI anyway. But, I dont think it will g9ie any more info than "its not valid"
I actually had some more ideas you could check/try so I came back here to post, and just noticed you already responded.
Actually, you look like you already had a look with another app? which app? and to be clear, its probably not a shell app and so would not be using the sqlite3 binary.
- Check the version of sqlite3 you are currently using
- switch to the TeMeFI internal sqlite binary Config>startup>Use Internal TeMeFI supplied SQLite
- Make a copy of the library db onto your sdcard, then use TeMeFI's dynamic query against it
Dynamic DB Query>All Table Data>/storage/emulated/0>/storage/emulated/0/.../library.db>ownership
Just had another idea, maybe something else is locking the db all to itself. Its finding the dB, but says it cant open it (my previous assumption is that its corrupt or the sqlite3 is old) I kill the playstore to stop it from stopping me (as a bonus its fun to "stick it to the man" ). I would try a reboot and go into TeMeFI first thing and try again.
The moment I first saw the error toast I checked to make sure the database files even existed on my device.PS: It is obviously finding the library dB, as SQLite will create a new empty dB if the file is not found (but the path exists)
Just to be clear, the toast is the old/original error system Its a cut down error message. Its just a "tap on the shoulder". Clicking the bomb icon should give MUCH more detailed info. IThe moment I first saw the error toast I checked to make sure the database files even existed on my device.
DETACH: Select Package then Protection Level v6
) does not reference the library db???? This is difficult unless you are specific about exactly at which step the error occurs.I previously had a pretty good on device SQL Editor, but it stopped working on newer android versions, and is no longer developed. Still searching for a replacement, I am guessing you are using MiX as your explorer. I do NOT want to develop my own, but there really seems to be a hole in the market. I have been using SQL 25+years, so have seen many interfaces/features across many platforms, and I dont see what the issue would be. I dont want to build another mouse trap, even though the current offerings seem poor. I think its just that I haven't come across it yet. Its not quantum mechanics; says the guy who hasn't built one... But I do have an app that queries its own internal dB, and that old app could be a good template/feature list...
No. It ONLY changes the parameters of the Doze settings that were available back in Oreo. The source code of exactly how/what it does is available for YOU to examine and compare with the other link. Also, I only created 1 of the profiles, all the rest were created by others, that I collected from github or such. I have not read your link, there is already too much to read. Motion sensors are not an issue for me, and reading the OP will explain why it is not therefore included.@DiamondJohn - does your Doze profile disable the MotionSensor as well, just like how ForceDoze does it?
...snip...
I was able to fix the wakelocks AnyMotionDetector and DeviceidleController.sensing by fine tuning doze parameters.
Thank you for your support really appreciate it
I have just updated the profile, to the one I'm using currently.Here is my current profile (Updated on 5th October 2022) - I would like to call itvarunpilankar-NoMotionDoze
:
Code: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
wait_for_unlock=true,quick_doze_delay_to=86400000
Yes you have. Its part of nearly every doze profile I have in TeMeFI. AND its even explained in the description of parameters that are included in TeMeFI.Thanks, I'll test it and see how it goes.
I noticed your code is very similar to the one from the section "limbo light doze" of this really awesome article:
Except that you have this part at the end:
Code:min_light_maintenance_time=10000,wait_for_unlock=true,quick_doze_delay_to=86400000
Could you briefly explain what that part does? I don't think I've seen this in any other doze profiles that others have provided.
The TeMeFI version has nothing to do with which apps are displayed. It uses code to bring up a list; the exact same code in both versions. If any app is not in the list, then its not attached. Search the thread (or at least read the last few pages)Hi There!
where i can download previous versions of TeMeFi?
Version v1.1.19 not showing all app's in Detach menu
ummm.. YES IT IS. And the code you have shown as mine is 1000% percent incorrect. That IS NOT my doze profile. I cant believe you are doubting the person who not only has access to the code (and on this method you have access to the script code also), but wrote the code. It is clear that you do not know how to use TeMeFI or what you are looking at. I not only checked to confirm before I made the statement, but I also have been running it for a few years now. I would of thought at least you would ask yourself, how the heck would two parameters have such a huge effect on the doze behaviors?No, it's not.
This is YOUR doze profile. I've also tried out a bunch of other doze profiles as well. Please point out exactly where in the doze profiles is this part of the code being used:
Not specifically in TeMeFI. HOWEVER, I actually had started a whole thread on how to do this exact same task. To check without having to ask me, you could also use the search icon in the flyout toolbar (magnifying glass) and searched for "sound"@DiamondJohn Is there a method within the app to disable or at least change the charging starting sound when plugging in device?
"adb shell settings put global charging_started_sound=/storage/emulated/0/Download/Silence.ogg" yields no results.
I mentioned 'no results' in my previous post as a less draconian way of expressing my displeasure of not hitting paydirt. I would agree that it could be a hindrance within Android and or OOS considering that I am on a OnePlus device.Not specifically in TeMeFI. HOWEVER, I actually had started a whole thread on how to do this exact same task. To check without having to ask me, you could also use the search icon in the flyout toolbar (magnifying glass) and searched for "sound"
If you go to settings and filter the results for "sound" you can get a list of the different sounds, including ones not in your settings UI.
And when you say "no results" are you saying that a get shows no change? I also run under root & have the files in a more permanent location.
You may also (but not for charging sounds) be being hindered by another operating behavior of Android. That feature is that, some sounds use a file URI while other sounds use a media content link to the file from the Media DB. I hit this a few years ago, so I use the attached file as one of my many boot script to correct or reinstate when I flash an update or new ROM. I use to build from source, so I tested/flashed ROM after ROM. Its specific to me, and the includes that you care about, probably set up the SQLite location and the MediaDB filename/location. But for the charging sounds, I cover two settings in the script (wireless and wired) and also in the above thread.
Did you try my suggestions? ie root & covering both settings? This method has worked for me across multiple ROMs, android versions and devices. But I have never had a OnePlus. And, on that other thread, it appears to have worked for others.I mentioned 'no results' in my previous post as a less draconian way of expressing my displeasure of not hitting paydirt. I would agree that it could be a hindrance within Android and or OOS considering that I am on a OnePlus device.
Coincidentally, I visited your aforementioned thread which brought me back to the magic question.
Which of the doze profiles listed within the app actually disables doze globally?ummm.. YES IT IS. And the code you have shown as mine is 1000% percent incorrect. That IS NOT my doze profile. I cant believe you are doubting the person who not only has access to the code (and on this method you have access to the script code also), but wrote the code. It is clear that you do not know how to use TeMeFI or what you are looking at. I not only checked to confirm before I made the statement, but I also have been running it for a few years now. I would of thought at least you would ask yourself, how the heck would two parameters have such a huge effect on the doze behaviors?
Wait a sec, it passes all the checks! so what makes you say it doesn't detach? Has it been updated? Google have made some changes where detached apps may still appear in the list of apps to update, but they won't and can't be updated. This has been discussed previously.hi
youtube doesn't detach for me anymore
i use revanced magisk module
SM-N975F A12 Magisk 25.2
tnx
Possibly, but I have other things in my life of higher importance. Don't forget what you paid for it, and why I built it (ie for me). AND maybe its something google need to "FIX" at their end.... Remember, this all works because I am abusing less than steller code at their end.
And thats is what it does already!
Again, there already is!!!which leads me to the 2nd question i have 812 entries some are apps that were installed years ago and no longer exist. can you add a search function to the detachment submenu?
I'll leave my detached test as ids, But it is not a daily.In a hurry so just a quick reply to this aspect: It does not happen immediately, but after some days.
Which version of TeMeFI?hi
youtube doesn't detach for me anymore
i use revanced magisk module
SM-N975F A12 Magisk 25.2
tnx
Application Info / Manage>Detach Package from Playstore>Select Package then Protection Level v2
Application Info / Manage>Detach Package from Playstore>List all configured detached apps
Currently Running>Memory>Meminfo Usage Graph by Category
Currently Running>Memory>Meminfo Usage Graph by Process
Currently Running>Memory>Meminfo Usage Graph by OOM
Various Ungrouped Extras>COVID-19 Status Update
Various Ungrouped Extras>COVID-19 Status Update>COVID-19 Status Update Desktop
Current State>Timezone>Set Current Timestamp (ROOT)
Current State>Timezone>Set Current Timezone
Current State>Timezone>Get Current Timezone
Current State>Timezone
Current State>Timezone>Get Current Timezone (ROOT)
These first two are simply shortcuts to the original items found in a different location within the menu. Just saves navigating back and forth when investigating/correcting the MediaDB
Database>MediaDB SQL>Extend Shortcut: Media Scan File(s) [Java] - Date Range
Database>MediaDB SQL>Extend Shortcut: Media Scan File(s) [Java] - Start Character
General info regarding the internal action items. I mainly use this for info and as an integrity check of the menu system before I do a release, in case of a typo.
For example, The first one is a listing of where I have used shortcuts, which in a way are a duplicate, but only as an entry point. There is only a single version of the code.
TeMeFI Configuration>TeMeFI Internal Database Information>Menu / Action Shortcuts
TeMeFI Configuration>TeMeFI Internal Database Information>Action Type Breakdown
TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>TeMeFI Internal Database Information>Duplicate Sort Order
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Parent Menu Item
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Expand Prefix
TeMeFI Configuration>TeMeFI Internal Database Information>Menu with No Children
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Action Command
TeMeFI Configuration>TeMeFI Internal Database Information
These allow you to view AND modify your LMK. NB: The third item in the list actually has ALL the config detils (mem va;lsand OOM val's) while the first has a bit of textural background explaining LMK values somewhat.
Currently Running>Memory Info>Low Memory Killer (LMK)>Current OOM to LMK Min Memory
Currently Running>Memory Info>Low Memory Killer (LMK)>Current LMK Min Memory Free Values
Currently Running>Memory Info>Low Memory Killer (LMK)>Set OOM to LMK Min Memory Free Break Points
Currently Running>Memory Info>Low Memory Killer (LMK)>Set LMK Min Memory Free Values
Currently Running>Memory Info>Low Memory Killer (LMK)
Currently Running>Battery>Battery Files /sys/class/power_supply/battery
Currently Running>Broadcasted Activity Intents
Currently Running>Battery>Battery Properties & Health
Currently Running>Battery>Battery Reset
Device Details>Kernel>CPU Scheduler Features
Dynamic Lists>Files>Data System
Currently Running>Running Processes
Currently Running>Battery
TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>Get default Blob Config
Currently Running>Memory Info>Low Memory Killer (LMK)>Current OOM to LMK Min Memory
Currently Running>Memory Info>Low Memory Killer (LMK)>Set OOM to LMK Min Memory Fre
Database>Dynamic DB Queries>Two Field Table Filter
Database>Dynamic DB Queries>Filtered Delete Table Data
Database>Admin Actions>Individual PRAGMA statements against a Table
Database>Dynamic DB Queries>Complex Filtered Table Data
Database>Dynamic DB Queries>Filtered Delete Table Data
Database>Dynamic DB Queries>Filtered & Grouped Table Data
Database>Dynamic DB Queries>Filtered Table Data
Database>Dynamic DB Queries>Grouped Table Data
Database>Dynamic DB Queries>Two Field Table Filter
Database>Dynamic DB Queries>All Table data
TeMeFI Configuration>TeMeFI Internal Database Information>Action Type Breakdown
TeMeFI Configuration>TeMeFI Internal Database Information>Duplicate Sort Order
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Action Command
TeMeFI Configuration>TeMeFI Internal Database Information>Menu with No Children
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Expand Prefix
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Parent Menu Item
TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>TeMeFI Internal Database Information>Menu / Action Shortcuts
Database>Dynamic DB Queries>All Table data
Database>Dynamic DB Queries>Grouped Table Data
Database>Dynamic DB Queries>Filtered Table Data
Database>Dynamic DB Queries>Filtered & Grouped Table Data
Database>Dynamic DB Queries>Complex Filtered Table Data
Device Details>Display Size
Currently Running>Memory Info>Low Memory Killer (LMK)>Current OOM to LMK Min Memory
Database>Admin Actions>Run ALL PRAGMA statements for a Database
Database>Admin Actions>Individual PRAGMA statements against a Table
Database>Dynamic DB Queries>Complex Filtered Table Data
Database>Dynamic DB Queries>Filtered Delete Table Data
Database>Dynamic DB Queries>Filtered & Grouped Table Data
Database>Dynamic DB Queries>Filtered Table Data
Database>Dynamic DB Queries>Grouped Table Data
Database>Dynamic DB Queries>Two Field Table Filter
Database>Dynamic DB Queries>All Table data
TeMeFI Configuration>TeMeFI Internal Database Information>Action Type Breakdown
TeMeFI Configuration>TeMeFI Internal Database Information>Duplicate Sort Order
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Action Command
TeMeFI Configuration>TeMeFI Internal Database Information>Menu with No Children
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Expand Prefix
TeMeFI Configuration>TeMeFI Internal Database Information>Missing Parent Menu Item
TeMeFI Configuration>TeMeFI Internal Database Information>Count of Child Menu Items
TeMeFI Configuration>TeMeFI Internal Database Information>Menu / Action Shortcuts
Currently Running>Battery>Battery History Graph
Device Details>Kernel>SYS Kernel File join
Currently Running>Battery>Battery Simulate>Battery Reset
NB: the changes made to the detach methods, are only spelling and extra info. There are no structural/technical changes to the detach methods.
The battery history changes are covering two aspects.
1. The formatting is now more in-line with the doze graph (black on white table text for headers/labels)
2. The Auto-Height has been corrected. I think it currently runs off of a % of items by count, not by time at that discharge rate. Previously it rounded the max up so much, it basically included nearly everything every time.
Currently Running>Battery>Battery History Graph
Application Info / Manage>Detach Package from Playstore>ENABLE ATT: One App for re-attachment
Application Info / Manage>Detach Package from Playstore>List all configured detached apps