yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] 白い熊:
So what happens with the apps that are affected by this - i.e. they are running checks on where the app was installed from: I restore it from a backup in the toolbox, open the app, it'll say something along the lines of "This application was not installed from Google Play Store, uninstall it and reinstall from the Play Store."

I don't uninstall it - but run the above command, as root obviously, on the apk in the toolbox backup folder. Then the app will function normally.

You don't want to run the above command automatically by default on every restore - as there are other software stores, like f-droid etc. and this would then wrongly indicate these apps were installed from the Play Store.

It'd be better to make it a togglable option on backup and restore - on backup because then if you'd also make it so that it's saved, it would then run it when restoring a number of backups, but it would run it only where it was set - only for those apps...
[Android Apps and Games] 白い熊:
Another point - line indicators don't work very well for me.

I only use one - a battery bar. The problem I face is it randomly disappears, doesn't show, usually it stays on whilst I'm in the toolbox, then some time after I switch to some other app it disappears. Sometimes immediately, sometimes after a while - no discernible pattern I've been able to identify.

Then the only way to bring it back on is to go into its setting, exit back to the toolbox and it'll pop on.

Display over other apps, accessibility, all is set - but like this its basically unusable. I have to use Super Statusbar - another app - for this purpose and works without a glitch.

Any idea what could be causing this behavior?
[Android Apps and Games] 3c:
If the bar disappears, it means the app was stopped or killed. Simply make sure the app is excluded from any battery optimisations or task killers as explained here: https://3c71.com/optim
[Android Apps and Games] 白い熊:
This I have set up properly — iit shouldn't be getting killed. Sometimes the bar disappears even while in 3c - on other tabs than settings.

Also - if it was because the app is killed - which it shouldn't be, because I have it outside battery optimization - it would come back on after switching to 3c again. Which it doesn't - I have to do the weird step of going to the Line graph settings and out then - only then it comes on...
[Android Apps and Games] 3c:
You explained that it disappears when you exit the toolbox, so that was the only logical explanations as I'm using line indicators and have never seen it disappear, ever. What is your settings, showing in fullscreen or not? The line indicator setup is pretty straight forward and appart from fullscreen, there's no option that'll make it disappear, except other apps or OS messing with the draw over other app permission.

I'm using it without glitch for the past several years... So I can't tell what's wrong with your setup. Could even be another app with draw over other apps permissions that would draw something on top of the toolbox lol. That'd be surprising but I've seen worse on Android.

PS:

It's not because you excluded the app from battery optimizations that it cannot be killed. All manufacturers have messed this up. Please read this: https://3c71.com/optim.

Same goes for permissions granting, many manufacturers have implemented a way to remove permissions if you don't *use* an app for a while. Even if the app shows a widget, a notification or any other visible thing permanently! That's how stupid people who think they're smarter than others keep messing Android experience.

Same goes, yes again, for draw over other apps... Some manufacturer have decided that some screens/apps shouldn't be drawn over, no matter what the user decided!

Accessibility have nothing to do with draw over other apps.

Next update will backup owner package (store information) with all backups when set and restore it automatically if set. It'll save it in info.txt file, so you can edit manually to change it at your convenience. No point having special options that would only confuse users.
[Android Apps and Games] 白い熊:
You know - this brings me back to the discussion we had some time ago, when I was telling you the Toolbox is misbehaving every time I exit it and come back in, most of the times it's reloading apps again in the list, it takes a damn long time...

I think it's Samsung - I have a Fold 4 now - this problem was the same on the Fold 3. It really seems it's killing it / putting it to sleep aggressively - which would explain both, the toolbox reloading and the line graph getting killed.

The behavior is the same with display in fullscreen for the line graph set and unset. I have it out of battery optimization, but it seems it's getting killed. That would explain both of the effects I'm seeing - and this has been out-of-the-box before customizing my phone's setup... So it might be Samsung is doing something there which is causing it...

What's the way to solve this? How about adding an option to run the Toolbox as a service with an statusbar notification icon - those apps don't get killed no?
[Android Apps and Games] 3c:
First is to identify the cause, and considering the new information about the device being a Fold 4, I suspect the bar disappears when you switch screens. I remember there are options to prevent the OS from restarting activities or limiting the effect of screen switches on app.
[Android Apps and Games] 白い熊:
No it doesn't - I'm always on the same screen, almost never switch. Usually I just switch to another app and within some seconds it's gone.
[Android Apps and Games] 3c:
Well, you should send a support request after that happens. Did you change developer settings?

Based on your description of the symptoms, it's obvious something is interfering.
[Android Apps and Games] 白い熊:
OK, I'll turn it on — it'll close within one minute and I'll send the request.

In Developer options the only things I toggled are:

- OEM unlocking - on

- Auto update system - off

- Mobile data always active - on

- Force activities to be resizable - on

- Enable freeform windows - on

- Force desktop mode - on

- Multi window for all apps - on

OK - sent the request now - it literally takes like 20 seconds outside of the toolbox - poof, it disappears. But then doesn't come back on once opening the toolbox again - I have to go into the Line graph settings, then just exit from these settings, and only then it jumps back on.
[Android Apps and Games] 白い熊:
I don't think this a proper approach now - for someone who has restored many apps from a 3c backup - like me.

I just checked - and all apps restored from 3c backups have the vendor set as 'null' - which is improper by default. Only the ones - a handful - that I've installed directly in the above manner or from Google Play after the latest system update have it set properly as the 'com.android.vending' - so if you do it like you say - for me most everything will be saved with 'null' - thus I'll have to edit everything by hand... Whereas if one could select the vendor for multiple apps.... :O)
[Android Apps and Games] 3c:
You're original suggestion was to have an option in both backup/restore pop-ups to decide whether or not to backup/restore the actual store information. I've just made it automatic and pretty simple.

For anyone backing-up/restoring many apps, like I do when changing device, it'll be much better than having to tick an option during backup and restore to make sure store information is up-to-date.

Now, the actual issue is that as of previous versions, the store information is not there. However when Play Store will update your apps, it'll update the store information as well and every subsequent backup will have that information.

Also you mentioned that you had a handful of apps requiring the store information to be up-to-date, so you only have to edit the info.txt file for those, which I'm sure won't take that long. I did it on the few apps that do that in a matter of minutes, amongst the 500 backups I have.
[Android Apps and Games] 白い熊:
You're right, I didn't realize it gets fixed upon Store update - so it's a self-rectifying thing… :O)
[Android Apps and Games] 3c:
Have you resolved your issue? Can you try to disable the last 4 options, from force activities down-to multi window ?

Can you also check individual toolbox settings with regards to activities/windows handling by OS? I would suspect something is affecting the toolbox but not other apps!?
[Android Apps and Games] 白い熊:
I'll try and see how it goes. Did you see anything interesting in the logs?

What do you mean by “individual toolbox settitgs”?
[Android Apps and Games] 白い熊:
Separately - regarding the firewall: could you add finer filtering options? I.e. by tags and by blocked/allowed states?

Would be helpful managing apps…
[Android Apps and Games] 白い熊:
@3c and a minor point also: could you change the toast feedback and have two separate - different-worded toasts for when the freeze/unfreeze state is toggled via a shortcut?

Currently, it gives the same reaction for both when it freezes and unfreezes, something along the lines of - I'm translating from Japanese - “success” or “OK”. “Frozen” and “Unfrozen” would be more informative as to what actually happened.
[Android Apps and Games] 3c:
Filtering by tag will be added in next update

In next update, when apps are frozen, the toast will show "(frozen)" in the message.
[Android Apps and Games] 白い熊:
Can you also add filter by state - i.e. so you can only list allowed or disallowed apps? This would help greatly when you want to quickly trim the list of enabled apps for instance...
[Android Apps and Games] 白い熊:
I am also wondering how to go about preserving system app setup, i.e. blocked components, for app backup where I don't want to, or can't save cache and data.

For instance Youtube is one such app:

— it's a system app, so I don't want to backup the app itself

— don't want to backup cache and settings as it'll be setup on system upgrade just by logging into it

— however - I'm disabling some of its activities etc through the Permissions tab - and would like to back these up, so they would be disabled again on a new system - without doing this manually

How to go about this?
[Android Apps and Games] 3c:
Will be added in next update.

Simply backup the app in its minimum form (eg APK alone). It'll save toolbox settings along with it, which you'll be able to restore later.
[Android Apps and Games] 白い熊:
So it'll not “misfire” so to speak? In the sense when you run restore on an identical version of the app, already included in system, so not r/w itself — it'll just restore the toolbox settings?

That's great - didn't expect that...
[Android Apps and Games] 白い熊:
@3c there seems to be a bug with the firewall filtering by tag. When I select any tag to filter by, it doesn't filter - still shows all the apps as before.
[Android Apps and Games] 3c:
Yep, only 'none' checkbox is working as it should. It'll be fixed in next update today
[Android Apps and Games] 白い熊:
OK - so now, I think one more thing is missing for convenience of proper batch backups.

So - for some apps you can select only to backup the app, without the settings; for some maybe some other combination - only settings etc; and you can save these individual combinations as the app default.

This is good - and on further single backups of the app, the app default settings for backup get preselected.

This is however not the case when multiselecting more apps and running backup - then whatever combo you select in the backup popup box will be observed.

Could you add some “apply app backup defaults” choice to the combo box, so that then it would observe individual app defaults when set, and observe the “all apps” default fof apps where it's not set?
[Android Apps and Games] 3c:
Not sure why you would need such an option. When all apps default is set and other individual apps are also set, you can simply tap backup (not long press) so that it backups the selected apps picking the right setting automatically.

If you re-open the backup settings, its meant to change settings, and the app wouldn't know to which apps it applies if such option were selected.
[Android Apps and Games] 白い熊:
It doesn't — I checked. I have all-apps default set for everything, and some apps for instance only app backup. Now when I select two apps — one without an app-specific setting and one with — and click backup, it brings up the backup dialog window where you can toggle the backup options — then without boggling anything I press backup, and it backs everything up fully, i.e. not respecting the individual app's specific setting.
[Android Apps and Games] 3c:
It does if you checked the box saying "do no ask again". I've set it and I can select all apps, tap backup, and it doesn't show the dialog even though settings are different.

Makes me wonder if I should simply remove that checkbox and make it the default behavior to avoid any confusion (auto "do not ask again").
[Android Apps and Games] 白い熊:
There is no “Do not ask again” checkbox — I'm on the latest beta. There's only a “Set as default” togglebox, if you're talking about that. In it you can select “No”, “App(s)” — which is what I check to make the app default to this in the future, and “All” which I've used for setting the global default.

Now — for the app where I selected only the app backup and toggled it to “App(s)” before, when I now select this app only in the list and hit “backup” it brings up the popup box with the correct — deselected — options just for this app. Then I can hit backup again and it goes on.

If I select this app and one more where its non set — the popup comes up with all to be backed up (the global default) and then backs up everything also for this app.
[Android Apps and Games] 3c:
The checkbox appears when you set default for selected apps or all apps, as you can see in screenshots attached.

You can edit default backup settings in apps settings, while you can edit individual backups settings in backups tab.
[Android Apps and Games] 3c:
I've been thinking about this problem, whether to make the check -box (do not ask again) checked by default, or changing the backup tab depending on selection.

When multiple apps are selected, load the various profiles and list them like this:

3 apps: Default backup settings

1 app: Backup APK, data, settings and cache

2 apps: Backup APK and data

1 app: Backup data and custom folder

Then user could click one profile and edit it as usual.

At the bottom of that list a 'do not ask again' check-box could update those profiles to be loaded without opening the dialog box.

On the other hand, making the check-box checked by default would eliminate the need for the above, which is a lot easier ;)
[Android Apps and Games] 白い熊:
I think the above solution would definitely be good - it would need to list the packages also under the specific profile, so that you would see which ones are affected.
[Android Apps and Games] 白い熊:
Hi @3c - I have one more idea for the filtering in backups display, that would be very useful I think.

Could you add also filter by date somehow - with older than, or something?

I frequently want to carry mass backups for hundreds of selected apps - then in the middle something goes wrong, for instance one backup is too gigantic due to cache, so want to exclude it in settings - and then have to restart the mass backup.

Currently, I either have to go through pages and pages of apps listed and hand select the ones with older backups, since I don't want to redo the ones that finished... Tedious.

Like this you could filter by backup date easily and it would improve the ability to quickly select what still has to be backed up.
[Android Apps and Games] 3c:
You should use the auto update backup features, and scheduling the update of existing backups. That way the app will determine on its own which app and what actually needs to be backed-up (updated).
[Android Apps and Games] 白い熊:
I don't want to have backups run automatically and regularly or autonomously - and I control what I back up and when - based on conditionns, like before update etc. I run them only when I decide to run them - and then it's as per the above mentioned scenario - that's why having this filtering ability would be beneficial.

I think it's beneficial to have potential for advanced control of everything - and not have to - if you don't want to - rely on the app to monitor changes and decide for you when to back up.
[Android Apps and Games] 3c:
Ok, what about sorting backups by date? This will avoid having to ask user about which date to filter to/from, and will allow you to see which backups have not been updated since any particular date.
[Android Apps and Games] 3c:
I've made an update (2.7.0) which includes that solution.
[Android Apps and Games] 白い熊:
Yes - I was actually just about to write that this would be a usable alternative as a 2ⁿᵈ choice actually :O) You'd then quickly see what's older than a cutoff etc.…
[Android Apps and Games] Zaxx32:
Trying to systemize a few apps by using you apps mgr but keep getting a not enough room type error...new pixel 6a with 90gb empty. I thought android adjusted it's partition size automatically if it needs drive space. Suggestions?

Edit: I used TeMeFi instead...worked great. Thx anyway...:)
[Android Apps and Games] 3c:
Next update in beta adds sorting and filtering by date.
[Android Apps and Games] 白い熊:
I think some bug has been introduced with the change:

I select two backups for restore, one is moderately big - 200 MB, the other one huge - 2 GB. Individually they both restore fine - needing significant time to complete though.

When selected for restore together - the toggle box pops up, allowing me to toggle data and settings restore on/off. I leave it on - then a “restore” operation runs for cca 2 seconds, then reports success and it jumps back to the toolbox main window.

So obviously it doesn't restore properly…
[Android Apps and Games] 3c:
I tried selecting 2 or more apps for restore and had no issues.

Please start a debug session (in app settings, help and support), then reproduce the issue, then send a support request mentioning your issue. Make sure the zipped log is attached to the email sent, I'll check your logs for any issues that occured.
[Android Apps and Games] Stef_:
Hi,

In the battery configuration wizard Oneplus is missing. It was here in 2.58. I have a Oneplus 9pro and the battery current flow is divided by 2. Please can you add again Oneplus with 65W charging.

Thanks.
[Android Apps and Games] 3c:
Hello,

There has been an intended change to merge the 2 behavior thanks to some other data being available. However the algorithm being used appeared unstable.

This is solved in latest beta (2.7.0d), and will continue to improve. Already tested on OnePlus 10 Pro, Xiaomi 11T Pro, OnePlus 9 Pro coming soon as well as some POCO devices.
[Android Apps and Games] 白い熊:
@3c do you think you could add the possibility of displaying a running console for the ongoing backup/restore command? I'm thinking of having a button “display terminal output”-of-kinds that you could click when selecting the backup/restore operation, and you couldgsee the full zip/unzip flow…

The reason for this is the following: I'm currently experiencing issues with a single - albeit critical - backup.

I'm trying to backup FairEmail - it's an advanced email app. Its data directory isg1GB in size, mostly due to the downloaded email attachments. If I backup without the data option, it concludes momentarily - couple of seconds.

With the data option, the progress popup gets “stuck” momentarily on showing some file progress of 100%, and that's it - I let it rundovernight to make sure it's not just extra slow but it never finishes and the data is not backed up.

I have an older backup of this app with data, so something is happening now that's causing the zipping to either not start or not finish...

The zipping of the data directory of the app in Termux takes let's say 30 seconds so runs fast.

That's why I'd like to see what the zip operation during backup chokes on. Anyhow live terminal display isn't necessary per se - if the ongoing operation output could be tee'd to some log somewhere during the operation (not after finishing obviously) that'd be enough to inspect what's happening.
[Android Apps and Games] 3c:
Publishing of 2.7.0d has been pending Google's review for the past 4 days, Google questioning the use of accessibility services and how the app is disclosing those before user can enable them.

Won't add debug window on a service that's not using shell commands at any time. Maybe zipping with root tools is fast, but when you have to go through Google apps' restrictions it can get very messy. Doesn't mean backing-up will be slow.

I just tested a 3GB data backup and it worked like a charm, in about 45 seconds.

Anyway, I assume your device is rooted and you're referring to internal data (eg /data/data/...) ? Because if not, that's a whole different story. If you're backing-up external data, that is yet another story.

That said, the app must be stuck on a specific file, and in the past special files may have caused this but it has been long fixed.

To actually know if zipping starts or does not finish, please check backup folder, data/<ID>/<package_name>.zip file if it exists, its size and possibly content.

Do you mind sending me a " ls -zRl /data/data/<package> " of the data folder that contains 1GB of files? That way we may be able to identify the faulty file if any.

What do you mean stuck momentarily (and what after that moment?) on showing some file (what file?) progress of 100%.

Maybe you can check that file for size, type, permissions, etc ?
[Android Apps and Games] rsngfrce:
Not sure if it is my phone or the app, but 3C Toolbox continually crashes since upgrading to 2.7.0d. I have not yet tried downgrading.

Samsung Note20 Ultra 5G, Android 12.

(Requesting support from the app does not work, it said something about not being able to attach an empty file. I just emailed logs that I attached manually.)
[Android Apps and Games] 3c:
Can you try sending a support request from app settings, help and support? It should include crash stack trace to help fix this asap.
[Android Apps and Games] 白い熊:
Right, skip that - I'm thinking in Linux terms - everything as a shell process... :O)

Yeah, it must've been getting stuck on something there - indeed i had /data/data/... in mind.

Yeah, that's where I looked - didn't create a zip there - I thought it might be creating it temporarily somewhere else - that's why I speculated it might not be finishing. So it didn't even start...

What i meant - the "Backing up..." popup window (I hope that's what it says in English - translating from Japanese here) pops up - and I the top progress bar stays at "0/1" - logically. The bottom progress bar - it would go to 100%, as of the first file - and then it would freeze there...

I don't know which file it is - because the file name etc. is not displayed in the popup window right - this is by design? You don't display it - just the file size, and proress within it. Or is it that your popup window should display it - and it's just malformed on my phone due to the screen dimensions on the Fold 4? But that shouldn't be no?

Anyhow - I just went and deleted - randomly - a whole bunch of older emails within FairEmail and made sure all it's ongoing processes were closed - my thinking was - it might be storing some temp special files and then removing them within /data/data/... and this could've been what was making it stuck - and indeed it did backup the whole app with data now like in one minute - so not getting stuck anymore.

Don't know what it could've been.

Anyhow - maybe really as a lesson from this - it might be helpful if you increased the amount of data displayed ind the popup window - as to which file is getting backed up - instead of just showing the individual file size.

The popup window is only a couple of lines tall and there is definitely room for display of more - and it would be helpful, I think... :O)