yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] 3c:
Beta 2.3.2b

Beta version 2.3.2b is now available.

It contains the following UI changes:

- Battery Manager tab reorganizing

- Cleaned-up 'useless' data from status and calibration tabs

- Status tab now shows remaining time, battery aging and current flow

- Removed statistics tab from App Manager

- App Manager one-click tab revamp

Please let me know if it feels like UI improvements going in the right direction.

It contains the following new features:

- Debloat features in one-click tab. Can load debloating script or save your current debloat settings (frozen and uninstalled system apps).

Apps uninstalled with magisk will be added to your saved configuration, however apps physically uninstalled from /system (files deleted) will not be considered.

If you debloat your device, would you mind sharing your configuration file? I could integrate and merge all of them by brand.
[Android Apps and Games] 3c:
Thanks, this concerns only the toolbox. Other apps still have Google ads (and their forced tracker), however any user worldwide (not just EU) can now refuse to provide any data (to get personalized ads).

So, in theory no tracking should occur if user decides so. Do you think Exodus might be able to check that on latest betas ? Battery Manager or CPU Manager have been updated with worldwide user consent.

That seems interesting and offer a solution to go Google-free without loosing access to all apps.

I'll have to dig into this, as well as XDA Labs publishing and using PayPal for unlocking features. Couldn't figure out yet if PayPal has a solution for this.
[Android Apps and Games] beeshyams:
Haven't dived deep but first look out looks much cleaner and nice:good:
[Android Apps and Games] 3c:
Thanks for your quick reply, at least I'm heading in the right direction.

I've mainly changed the battery, app, system and network managers at this time.

Also changed all settings on/off switch to a more conventional switch, which seems (imo) better too. I've actually changed all the on/off switches I could throughout the UI, in battery config wizard to name one.

There are still a number of switches with 3-states or using named states I cannot change that easily. Some switches can actually show 2 or 3 states depending on device config (if init.d is supported, that might be obsolete these days, but hard to tell).

Biggest changes are in battery manager though, showing what I feel is the most useful data: current flow, run time and battery aging. Further details would be found in other tabs.

If you have further comments/suggestions don't hesitate, it's very helpful.
[Android Apps and Games] 3c:
This should be fixed in last beta update. Please review it and let me know how that works for you.
[Android Apps and Games] beeshyams:
Welcome. I mostly use battery (which is the best for me with 3C Legacy) and App manager

They both look much cleaner now ?

Two suggestions, if it's not too much work

1. Please make the slider in the graph that corresponds to the scrolling state at bottom in red and thicker if possible,;easier to co-relate with graphs. Now, one needs to strain a bit (could be old age too)

2. In the app manager, when you select an app, it can do with additional info (by splitting backup option which runs all across). This could include, the app package name, it's path and it's data directory path which can be copied and on clicking that opens up the built - in file manager to that path, without using another file manager. This is useful when you want to quickly go to the app directory and have a look, maybe see the sql database etc. This requirement may not be felt by all or by you, just suggesting. If this doesn't find favour, at least add the package name below the app name, right at top

Appreciate your efforts in improving this powerful app:good:

Edit : just noticed that status bar battery shortcuts aren't displaying correctly (accessed from settings - notifications - notifications in status bar- battery)
[Android Apps and Games] 3c:
Thanks for your feedback.

1. Are you using light theme by any chance? In dark mode, the slider (a rectangle showing visible text history, right?) is yellow and after checking it's just black/grey when in light theme. I'll definitely change the color in light theme as I couldn't tell the difference between the grid and the slider.

2. You can already open app's APK or data directory. Tap open, then tap data or app directory buttons to open integrated file manager.

As for package name, it's the only info missing (appart from directories, but I think you don't need it if you have the open button?).

I'll add a line below app name with package name, and will put the tags on the same line. Backup info will remain below but extends the whole width whether there is tags or not. I bet you don't use tags, right?

I was afraid adding a line would make each app too tall, but it actually looks good. Thanks.
[Android Apps and Games] beeshyams:
Thanks for a prompt reply

1. Even on dark theme, I don't see the "rectangle with visible history" on One Plus 7, Android 10. Just to be sure, we are talking of the same thing, screen shot below. The marker is on the last quadrant on right side

2. Sorry for the app suggestion, I clearly didn't look hard. Very good. Discovered. TBH, I feel like a fool for asking this but it doesn't matter since I learnt about this :). Is it possible to add a "copy path" feature to the file manager? Reason for suggesting this is when I am automating something using scripts, I don't want to end up using another file manager that let's me copy the path

Anyway glad that you found the package name suggestion useful. And you guessed right, I don't use tags

3. I guess you missed seeing the edit in previous post regarding status bar shortcuts not working properly
[Android Apps and Games] 3c:
1. Yep, that's the yellow rectangle starting from bottom graphic, with your setup and zoom, it's hard to spot it indeed. See attached screenshot showing how it looks with dark/light themes. The box is yellow, but on the device it's taken it turns grey. So screen technology and contrast ratio are affecting this in a bad manner too. Will look into this.

2. Copy the file or folder you want the path for. Actual path is then in clipboard ;)

3. Indeed. You mean the battery specific options in notification settings? Those affect notifications packs and optionally on the shortcut, but never on recording shortcut. I couldn't make it fail, can you post a screenshot and your config?
[Android Apps and Games] BostonDan:
One suggestion, on the network firewall, instead of x or x with background, make it a check for permit and x for no network access by apps.

Less confusing.

Cheers,

B.D.
[Android Apps and Games] beeshyams:
Thanks for Clearing up everything.

Status bar shortcuts work fine. Just needed to clear the 3C cache!
[Android Apps and Games] 3c:
Well, it's a tough one cause it used to be like that, but it turned out unmanageable with all the theming options, between material/3d/tinted/dark/light, it was often impossible to know if one was checked, unchecked or disabled. After hours of messing around I gave up and made it 'simple'.

Long story short, it will be as you expect in next update.

Yep, the setting doesn't apply unless the app is restarted or the shortcut is removed/added again. This will be fixed.

EDIT: Found another issue, upon app starting, battery data is possibly not yet available when the shortcut is added. so it will take a little bit of time for the shortcut to show battery data. Hard to fix, this one.
[Android Apps and Games] BostonDan:
Appreciate the feedback, and please do not take my suggestion in any way other than a suggestion. I have great admiration for Developers and understand the complexities you have cited. Maybe just a color circle - red = blocked, green = permitted. Again, these are just suggestions.

Also, a public thanks for all your hard work. I have used 3C for many years, I believe starting with my Motorola RAZR Maxx many years ago (but it may have been my thunderbolt). In any case this is one of the reasons why I love Android - the control of the phone, compared to apple products.

Cheers,

B.D.
[Android Apps and Games] bege10:
AFAIK Exodus checks whether there is any access to tracker URLs, so I think that user consent doesn't make any difference. That Google does not send personalized ads does not mean that they don't collect data. If people want a Google-free system they want it because they don't trust Google.

---------- Post added at 05:48 PM ---------- Previous post was at 05:44 PM ----------

Aurora Store cannot handle purchases, neither in the store nor in-app.
[Android Apps and Games] pratyush28:
Hello, [MENTION=253258]3c[/MENTION] just wanted to make a quick suggestion. Is it possible to add a delay before crystalization is triggered after screen is turned off? Sometimes I reluctantly turn off the screen to save battery and the app in foreground is immediately killed.

I use this feature on shopping apps as they keep sending useless promotional notifications but would also love it if they stay alive for say 10 mins after screen turns off so that shopping can be resumed even if the device is idle and screen is turned of after a while.

When I searched about this I came to know that this has been suggested in the past but was probably missed or is difficult/not worth working on. I really love your app and of the gazillion features available this is the only feature which I felt could be further enhanced to improve its functionality. Sorry if this has already been implemented/answered.

Thanks so much for your support totally in love with this app :)
[Android Apps and Games] rsngfrce:
I didn't use the 3C Companion app, because I do not have access to a computer, but I gave 3C the three permissions that it needs through ADB. 3C is still not stopping apps transparently. Is there something else I need to set? Thanks.
[Android Apps and Games] 3c:
Indeed it was asked before and I didn't implement it for many reasons.

The first is that if you are using a crystallized app (it's the top app), it won't be stopped, and that alone seems enough to accommodate most scenarios.

The second is that waking-up the device after one minute or more is a battery drainer in itself, defeating the original purpose.

As of now, when xposed is used, the process is very efficient as the app will simply stop itself when it receives the screen-off event. Quick and clean.

Now if a delay is added, the handling will have to be centralized outside those apps, and each stop can take about 1 to 2 seconds, meaning if you crystallize 30 apps, it'll take a minute to clean-up the device!

And without xposed, that's how it works by default.

So I'm really not keen on implementing such delay.

If you don't use 3C Companion or don't have root, you cannot stop apps transparently. I'm testing some way of hiding what's happening when stopping apps, so it might improve the process.
[Android Apps and Games] 3c:
The foreground app should not be killed, unless you have crystallized another app it depends on, like Play Services for example. Play Services are often used for ads, and if killed any apps displaying Google ads will be killed as well.

Is that the case?
[Android Apps and Games] pratyush28:
No that is not the case I have crystalized only independent apps for example aliexpress, flipkart and amazon and have not touched any google services. Maybe it is because i am using xposed and like you mentioned earlier that as soon as the screen off intent is received the apps are killed. I tried disabling the xposed module for 3c and the crystalize feature is working as you described, the foreground app doesn't get killed if only root mode is enabled.

Also do I lose any additional functionality apart from the 2 second delay in app killing if xposed module is disabled?

Thanks for your reply :)
[Android Apps and Games] 3c:
The only features that require xposed are hidding battery/alarm icons and permissions control (if I don't forget anything). However xposed is far more effective in handling crystallize, force screen-on, full-screen, rotation and lock features.

That said, I have xposed and I can confirm apps stop themselves whether they are in foreground or not.

As I found a quick way to check if an app is in foreground, this will be fixed in next update.
[Android Apps and Games] rsngfrce:
Thanks. You have probably already answered this, but I just want to be sure. Since I granted the three additional permissions to 3C through ADB, the 3C Companion does something additional that I cannot do through ADB?

https://www.3c71.com/android/?q=node/2637
[Android Apps and Games] 3c:
Yes and no, 3C Companion can only use ADB to configure your device for extra features. It will grant extra permissions as mentioned in above URL, but also allow for extra features, like force-stop and many others as described within the UI, and actually more already. Including data backup/restore, reading process memory, freezing apps, crystallizing.
[Android Apps and Games] Icetea:
ok, time for next questions...

i don't have a windows pc! I only use LINUX! So my question: Can i grant all permissions they are needed for Battery Manager using ADB shell or is it necessary to start your companion app at first to get all options?

Until now, i grant several permissions like:

adb shell pm grant ccc71.bmw android.permission.SYSTEM_ALERT_WINDOW

adb shell pm grant ccc71.bmw android.permission.PACKAGE_USAGE_STATS

adb shell pm grant ccc71.bmw android.permission.WRITE_EXTERNAL_STORAGE

adb shell pm grant ccc71.bmw android.permission.READ_EXTERNAL_STORAGE

adb shell pm grant ccc71.bs android.permission.BATTERY_STATS

adb shell pm grant ccc71.bmw android.permission.WAKE_LOCK
[Android Apps and Games] 3c:
Well, the companion also installs some binaries that enables many other features, and this is way more complex than just granting Android permissions.

I'll try to create a Linux version asap. I was originally hoping to make a .NET-based app that could run on Linux, but it seems Windows Core is not available on Linux (haven't made much search so far) ? I'm wondering about making a Java-based version, or (much better?) a Google-extension.
[Android Apps and Games] Icetea:
THX for the informations.

Unfortunately, i have change to GSAM now because there stats seems to be are even more interesting.

Battery monitor at my opinion usability is a little bit confusing me. Sorry Sir.
[Android Apps and Games] jaggillararla:
Hey 3c for the battery manager. Is it possible to add a reference? "Since unplugged"?
[Android Apps and Games] 3c:
Hello, what do you mean a reference? You can already view graphs auto-zoom with since unplugged or since charged.

Would that be a reference in battery stats?

If so, is your device rooted? Are you using 3C Legacy Battery Stats or new Android usage stats?
[Android Apps and Games] beeshyams:
Maybe have a look at how "search" is implemented in FairEmail (https://github.com/M66B/FairEmail/blob/master/FAQ.md#user-content-faq159)?

I am not a developer and can't read code

Thanks for your time
[Android Apps and Games] 白い熊:
[MENTION=253258]3c[/MENTION] there seems to be an issue properly backing up and restoring some apps — apparently to do with multilevel symlinks, I have had this behavior lately with some apps.

The app will backup without complaint. If you restore only the app, it'll work — if you restore with data it'll not start, always FC.

Upon testing, Oandbackupx backs it up, then when restoring it'll throw an error message “Too many levels of symbolic links.” However the restored app will run.

Titanium restores without errors and runs — I can send you the 3C and other backups for one app, if you'd like to inspect what's wrong…
[Android Apps and Games] 3c:
Thanks for letting me know. Please send a support request from app settings, help and support, so I get the FC information as well as some details about app's setup.

Then send me an app's backup that fails to restore if you can so I can test the behavior directly.
[Android Apps and Games] 白い熊:
OK, done.

I sent you a link in the follow up mail with the backup location — it's 75 MB. Let me know when you've downloaded it, I'll take it down.
[Android Apps and Games] 3c:
Thanks got the file and was able to fix it. My bad, some side effect of applying the same technique as bu utility applies. Fixed in 2.3.9d wish is going to be published today in beta.
[Android Apps and Games] 白い熊:
Also, when backing up and restoring, the permissions get properly restored — however the “Have full network access” is then always enabled after a restore.

Why is that?
[Android Apps and Games] tramp20:
Please could you finally change the text Gebühren... to Ladung...?

Thank you.
[Android Apps and Games] 3c:
That would depend on your Android version. On recent versions network access is blocked using firewall, so if you use black-list mode, all new apps have internet access.

Done. Note that you can always use translation screen in app settings (at the bottom).
[Android Apps and Games] 白い熊:
I just checked — it doesn't seem to behave as expected: I'm on Android 10.

When using the firewall in whitelist mode, I'd expect apps that are whitelisted to have this information saved on backup.

But it isn't so, indeed even when whitelisted, backed up, uninstalled and restored, it's not whitelisted then.

Can you implement that the firewall settings get saved also?
[Android Apps and Games] 白い熊:
So after the update, it doesn't fail after restoring, many of the apps now run.

I have some apps though now where it seems it doesn't restore the data properly — as the app runs, but no progress etc. Essentially it's as if only the app was restored whereas Titanium restores properly, including the saved data and the app resumes where it should be.

If you want I can send the logs again and the backup which misbehaves this way…
[Android Apps and Games] 3c:
I'll have a look to save firewall settings for each app. Or reapply all saved permissions blocking, starting with internet.

Yes, the backup can help. No need for logs, I'll try on my devices first.
[Android Apps and Games] 白い熊:
OK, sent — the backup should restore progress past level 14 , Titanium does and restores properly.

This backup however restores without any progress.

Please let me know when I can take it down.
[Android Apps and Games] 3c:
Got it, would you mind sending Titanium's backup as well? That way I can compare both content to make sure the backup contains what's needed.

I'll test this right now.

EDIT: Just restored and I got a player Adam unlocked 14/24, is that what's expected? If so, no need for Titanium's backup, but a support request after restoring the app should help to begin with.

EDIT2: The game connects to Play Games, so I was expecting it to load progress from Play Games instead as I didn't find relevant data in the backup, only a unity session id and cloud user id. But then player's at level 14and there's more money/gems than I would expect on starting the game.

EDIT3: There's one thing the app does not do is warn if it didn't gain root for any reasons, so when you restore, just make sure data backup date is shown (otherwise it means there's no root).
[Android Apps and Games] 白い熊:
Yes, should be 14/24 without connect to Google Play — that's what I get on Titanium restore. On 3c restore I get 0/24.

I'll send the log after restore now — there must be some device specific stuff going on if you get 14/24.

Data backup date I see upon restore…

Edit: Sent the support request now.

---------- Post added at 10:12 PM ---------- Previous post was at 09:31 PM ----------

I looked at what Titanium restores and 3c and see there is a difference in the app's Android/data dir contents.

I just sent you a zip, where the 1 dir is the Titanium working dir, the 0 is the non working dir.

Just replacing the 0 contents with 1 after restore I also now get 14/24, so somehow it must restore it somehow differently on your phone and mine.

The zip also contains a diff of the two directories.
[Android Apps and Games] 3c:
Try to grant storage permission to the toolbox it'll work better.
[Android Apps and Games] 白い熊:
Don't know how this slipped me — that it wasn't granted… :@) Thanks.

---------- Post added at 04:55 AM ---------- Previous post was at 04:50 AM ----------

Also with the Firewall and Network access now — when the firewall is in whitelist mode, currently after restore you have to manually set the firewall access to enable it — however the Full network access permission is now disabled after restore, so you have to manually enable it… Caught me off guard.

Once you implement the Firewall rules being saved on backup, it would make sense to save also this full access permission state — as it would seem counter intuitive to have access rules enabling access restored and at the same time have the full access permission flipped to negative.
[Android Apps and Games] tukusejssirs:
@3c, I think the 3C Toolbox does not ask for permissions when they are about to be used. I think it should if they are not grated.
[Android Apps and Games] 3c:
It does, the problem is there are 2 different permissions and a third coming on Android 11. Storage, scope storage and manage storage. App has to pick the right one for the right device at the right time. Even if you get storage permission, it will not even be enough to write to external storage (the true SD if device has one), and will need to request another permission on a specific folder!

With recent Google's restrictions, apps have to move to scope storage, the buggy and slow SAF crap that Google is so proud of. LOL. Apps may opt out of scoped storage on Android 10 (because it's 50+ times slower and buggy like hell, capable of telling you a file doesn't exist and then it exists when you try to create it, amongst other nasty bugs, not all solved in Android 11).

So in last update, I moved to scoped storage (so much documentation is misleading) and last beta implements the opt-out thingy, that do not work on all Android 10 devices by the way. not LOL :(

Given there are 100+ features, yeah sure, there might be places where the right permission is not requested if not absolutely necessary, but I've checked all by installing clean on many devices, too many.

Long story short, it asks for the appropriate storage permission, but there was another bug in scoped storage, where an app cannot create an extension-less filename, so granting the legacy storage permission solved it quick, even though it's not actually needed. The extension-less filename creation will be fixed in next update, using a rename, that hopefully is working on all Android devices, at least on mine it does :(.

This update might be delayed because I started working on xposed settings, which are currently copied to every app that xposed setting are applied to, for performance reason. I'm testing ContentProvider but then loading config is way too long (250ms instead of a few ms) and some actions are no longer performed correctly!
[Android Apps and Games] beeshyams:
Appreciate efforts with all the help from Google ?