yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] beeshyams:
Thanks

Recommended it here

https://android.stackexchange.com/q/226066/131553

PS: [MENTION=253258]3c[/MENTION] Time permitting, you may like to visit and answer questions there - would be good since it draws a lot of Google hits
[Android Apps and Games] bege10:
Restore contacts and calendar?

Hi,

(how) is it possible to restore contacts and calendar with 3C Toolbox on a rooted system?

I backup contacts and calendar provider com.android.providers.calendar and com.android.providers.contacts

When I restore data only the app manager gives the notice that the restoring was successful - but the data has not been restored.

When I restore both data and app of calendar (to system, of course) the data will be restored.

For contacts this only works if I delete the respective data folder before restoring.

So far so good. But now the data partition cannot be backed up with TWRP any more. TWRP reboots to recovery without notice during the backup. Are permissions getting corrupted during these procedures?

Is there a way to use the Toolbox to restore contacts and calendar safely?
[Android Apps and Games] 白い熊:
[MENTION=253258]3c[/MENTION] I just realized the “Backups” shortcut is not what I assumed it is — I thought it'd have the same functionality as the “Freeze apps” shortcut, i.e. you'd select an app on creation…

For this you'd probably have to have separate “Backup” and “Restore latest” shortcuts — but for my user case it'd be handy to be able to select the app on shortcut creation and then quickly just hit the shortcut every time I want to backup the app — ideally with “Backup finished.” notification or something.

Do you think you could add it?
[Android Apps and Games] 3c:
Never tried it that way before, and app is and will never offer contacts/calendar backups. This feature might be added to 3C Sensitive Backups in the future.

I suspect restoring data only, will restore it however the providers are not restarted and will not show anything updated. You'll have to check database files manually and force-stop the providers to confirm.

So, I've added a force-stop/kill after restoring data only.

As for TWRP, permissions are restored to their original (permissions are backed-up as well as part of the data backup), and even if those are changed, I don't see why TWRP would fail to backup data partition.

And if permissions where corrupted, the contacts or calendars would not longer be accessible.

There's a "Freeze/Unfreeze predefined app(s)" shortcut, but none shows "backup predefined apps".

Why not use scheduler to update backup for tagged apps?
[Android Apps and Games] 白い熊:
Because I want to sync apps with data progress between multiple devices I have. The way I to do this, when I do something on one device — I back it up, sync the backup to OwnCloud on that device, then sync it from OwnCloud on another device, and restore the app data from the synced backup.

There is no way to time this via scheduling as you say, because progress happens arbitrarily on the device I work on at the time.

I can however program a Tasker task to sync specific OwnCloud pairings on task run — I have FolderSync app's shortcuts for that.

Now the last step missing, is the backup shortcut, so I can program the full workflow in Tasker: backup, sync up to cloud.

On the other device I'd program the reverse: sync down, restore — very elegant. Runnable when needed.

I need to do this for many apps, but each one independently. I'd have individual tasks for each…
[Android Apps and Games] 3c:
Makes sense, I will add 2 shortcuts for backing-up/restoring selected apps in a future update. Will get on it as soon as I finish implementing data backup for non-rooted devices ;)
[Android Apps and Games] lucfig:
Great, thanks! I am also interested in this. Also for Tasker.

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] 3c:
Just to let you know beta 2.2.8a was published minutes ago and includes backup/restore data for non-rooted devices as well as the requested shortcuts. Please let me know how that works for you.
[Android Apps and Games] lucfig:
You are fast!

Thank you very much! Will try and report back.

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] bege10:
Thanks for your answer. The data has not been restored, the databases still had the old time stamp. Maybe the provider prevents overwriting the data and it needs a force-stop before restoring data?
[Android Apps and Games] lucfig:
The update just became available and I tried it.

The backup worked perfectly. Just chose the apps and, done! Runs in background. Can you add an option to select all, if I'm not asking too much?

But I could not get the restore shortcut to work. It doesn't seem to do anything. The same apps that were backed up, were not restored. Any log I can get you?

Enviado de meu HD1903 usando o Tapatalk

---------- Post added at 03:35 PM ---------- Previous post was at 03:33 PM ----------

Also one question. How does the keep backups up to date, from settings, apps, active tweaks, works? How often it is triggered?

Best regards

Enviado de meu HD1903 usando o Tapatalk
[Android Apps and Games] 3c:
It might be Android (starting with version 10 or 11?) doing it, I saw some weird things restoring some apps and their data. Got to investigate further.

My bad, the feature is not linked to the shortcut properly. 2.2.8b will make your existing shortcut works as expected.

Whenever the app is updated, a backup is made. Whatever APK version is installed is thus backed-up.

On top of that, I usually schedule a backup update twice a week (or daily depending on device).
[Android Apps and Games] Cedoresti:
I have one question: Why you have make so many app and you ask money for anything, and you have more app not only this ?
[Android Apps and Games] 3c:
Why many apps:

1- I first developed Battery Monitor and Process Monitor. Process Monitor became System Tuner, and I only received complaints (from ST users), often that both needed to be a single all-in-one app or that System Tuner had too many features in one. So I built smaller apps, but it was not such a good idea.

2- Back in 2012 I created the Toolbox. End-results more complaints. Too expensive, too many features, ugly UI, etc...

3- Then came Google, and they asked me to remove SMS/Call-log backup from the toolbox. So I built Sensitive Backups.

4- Then came Google again, and they blocked battery stats permissions entirely, so I built Legacy Battery Stats (and I cannot update it).

5- And Google is coming back soon, planning to do the same with storage permissions (used by explorer) and localization permissions (used by task recorder). I might be able to keep explorer in the toolbox, but I doubt task recorder, which records GPS states (used/localized/off only), will be allowed within the toolbox.

And in between all that, Toolbox was removed by Google from Play Store 3 times. Each time I barely manage to get it back online. Reasons go from unauthorized name (Android Tuner) to helping user root their device (this one was a false positive on a page titled 'how to root your device', explaining I cannot help!).

Ask money for anything: As in for everything? IMO, all core features are completely free. Used to have only unlock APK (pro versions), but users expected the price to be 1 to 2 bucks for the toolbox. The toolbox that replaces easily 20 apps from play store, many of them priced at 5 bucks or more!

With the 15 apps aside from Toolbox, and in-app purchases, I've not received any pricing complaints for the past year. User can get the features they actually use for very little. Many users don't want an all-in-one toolbox.

I still hope that building apps for Android would turn into my main job, but it doesn't look that good. End of last year was very promising.
[Android Apps and Games] beeshyams:
Appreciative of your apps +support

We are with you @3C
[Android Apps and Games] deitrich:
Sure!
[Android Apps and Games] DeerP1976:
I have a Huawei Honor 8S non root EMUI 9.1.0 and love using your app to see what exactly is going on behind the scenes.

I am most interested in your network manager. I recently swapped sim cards on 30th June and your app is able to accurately get data usage before and after I swapped the sim card. Can I ask how you are able to do this on non rooted phones? I ask because I have tested a few other data usage apps and no other app can accurately record data usage prior to me swapping SIM cards. One app actually has Google Chrome as using only 17.6k data for an entire week when in reality it should be about 2gb. Also can you explain what root is with regards to data usage and how this is different to Android OS? I'm curious as to what root is actually using data for and an explanation to the amount of data used.

Keep up the good work. Love 3c Toolbox Pro. One of my most used apps and I frequently use lots and install new ones all the time.
[Android Apps and Games] 3c:
Simply using Android API for accessing app usage data, and following Google's guides.

Using root, one can access network usage of all apps and processes (at linux level), since boot. Hard to get "last cycle" or other data which are "easy" to get with Android APIs. With root, one can monitor network usage "in real-time".

Actually, you don't need root to get the best of both, simply run 3C Companion app (https://3c71.com/3cc) to configure your non-rooted device and you'll have access to lots of features that require root.

Such as force-stopping apps without flicker, debloating, disable events and startup apps, backing-up/restoring apps data (with possible restrictions), accessing detailed CPU, memory and network usage, to name a few.
[Android Apps and Games] DeerP1976:
8

I will be sure to check out your companion app but it will be difficult for me to use because I do not have a pc at home. I can access one elsewhere regularly though.

If it is not much trouble, could you point me in the direction of these Android API's you've used for Network Manager and the Google guides you've used please? I have a friend who has developed an app which is currently going through the process of going on FDroid which includes a data and app usage option but the actual usage is way out to what I compare to your app, the settings app on Android and another data usage app I use.

I appreciate the assistance anyway.

Oh one last thing, is your app open source? If so is the source code on Github to check it out or anywhere else?
[Android Apps and Games] 3c:
The companion app is a one-time use with mobile connected to PC. If you reboot your mobile, you'll have to run it again. Other than that the configuration enables features within the app 'permanently', at least until next reboot.

Not open source.
[Android Apps and Games] DeerP1976:
I think I understand you. In a nutshell, your companion app is able to change or include certain settings that get wiped the next time you reboot.

I will certainly have a go with it as I enjoy seeing how far I can get inside a phone before it starts to fight back! At the moment I am attempting to keep apps that have accessibility permission such as yours from not losing the ability or have it broken by Huawei's delightful app called Power Genius. It certainly is a genius because it has no permissions to speak of, keeps its own whitelist of apps that is impossible to add to and decides for itself if it likes an app or not. If the package name starts with com.huawei or com.hw then it will allow it to open up in the background up to 200 times a day without your consent but ask it to give an app accessibility permission to kill apps with a simple widget or shortcut and the app has fits!

If your companion app allows me to get back at Huawei to bypass any of their oversensitive apps, I will buy a pc to keep at home so can use your app every reboot!
[Android Apps and Games] 3c:
That's exactly it.

I'm getting a P40 Lite E next week to test my apps without Google services and a different processor than the usuals. Every manufacturer these days add some optimizations on top of the doze feature, all of which appears to be useless (be it from Samsung, Xiaomi, Doogee, Huawei and even OnePlus) when checking battery run times. I've made a page to cope with these optimisations that cause more problems than offer any benefit: https://3c71.com/optim.

I've already tested publishing my apps on Huawei store, however it doesn't seem to give much visibility, and the hope to reach Chinese market is hindered by complexity, Chinese-only registration, which I'm unable to complete.
[Android Apps and Games] bege10:
That's good news. I'd love to be able to install and run the 3C Toolbox Pro on a phone with /e/OS which is based on LineageOS for microG and Google-free. On another phone I have LineageOS for microG, but it needs a patched Play Store to get the Toolbox Pro working.
[Android Apps and Games] DeerP1976:
Yes the Huawei App Gallery is a strange beast indeed. It gives priority to apps which have IAP's such as all the useless online strategy games you see.

They have recently developed an app called Petal Search. While on the surface it appears useless, it does have the benefit of searching for apps outside its own ecosystem such as on APK Mirror, Aptoide, APK Pure. At the moment it doesn't seem to work properly because every update they say I have is for ARMv64a architecture and mine is Armv7a. It even found a modded version of RAR in Aptoide.

I often change location for App Gallery to China where there are much more interesting apps such as 1 I found yesterday called X8 Sandbox which creates a virtual space on your phone which is Android Lollipop and comes rooted so I'm able to test rooted options. I've copied your app over to it and looking to see what I can access. It's very similar to VMOS if you've heard of that but unlike VMOS, it doesn't come filled with Chinese malware designed to monitor your internet, phone calls and text messages.
[Android Apps and Games] Riski3Run:
Hello.

I wasn't using 3C that much so I deleted it in Magisk...

Now looks like my system is Read Only - I can't change bootanimation even.

Any new installed magisk module is not visible. What I need to do to "see" 3C Toolbox in modules?

Looks like now is only APK file available instead of zip file which I can flash via Magisk.

Please advise.
[Android Apps and Games] 3c:
I'm not sure what you did, but deleting 3C Magisk Module will not affect anything, only remove features from app.

You can't change bootanimation from what app? /system on most devices come read-only these days, hence the use of Magisk to make modifications, so I'm not sure how this relates to Magisk not able to flash zip.

The app configures its Magisk module only when required, for example if you try to install 3C Helper app or try to uninstall a system app (you'll be offered an option to remove with magisk, when magisk is actually available).
[Android Apps and Games] Riski3Run:
I don't know what happened but before I was able to overwrite bootanimation.zip i system/media and now I can't.

Starange thing...Maybe because I still have stock recovery on my OP7T?
[Android Apps and Games] 3c:
I'm sorry but I won't know more than you do. Not only you did remove 3C module in/from Magisk, so whatever it did is unrelated to the toolbox, and removing a module is unrelated to /system/media permissions.
[Android Apps and Games] Riski3Run:
Hi 3C.

Can you tell me what are default system settings in system?

I have rwxr-xr-x

And also PLEASE tell me if rest is good. Take a look at the screens. I am afraid I change something exactly in this settings.

That's why can't overwtie any file in system and also have permissions denied even to props via Termux.

HELP! View attachment 5057575View attachment 5057577

Wysłane z mojego HD1903 przy użyciu Tapatalka
[Android Apps and Games] DeerP1976:
I've noticed you have got most of your apps on the App Gallery. You don't have the main one - 3c Toolbox on there yet. Any reason for this?

When I manually went into installation manager on App Gallery which is basically a list of apps you've installed yourself system & manual installs, I notice there is a version of 3c Toolbox on App Gallery but it's not available in my region - United Kingdom. I changed location to China and it was available for me to download but it is called Android Tuner Free and the last version was 2014. The app description looks like it was for the European Market as you have mentioned Euros on there. The developer name is different too. Just thought I would check to see if you were responsible for this or someone has stolen your work. This is actually more likely than you think on the App Gallery. I've seen paid games in there completely free to install on Chinese App Gallery.

See screenshots if this is all news to you.
[Android Apps and Games] 3c:
I got the same permissions and security context on /system as weel las on /system/media.

If you have a Magisk module that have overwritten a file, you won't be able to overwrite it. You should search installed module having replaced files, under /sbin/.magisk/img.

It won't help run the key without license validation if that's what you're hoping for. Furthermore I will unlikely publish it on AppGallery.

That's interesting. I already noticed that every Play Store apps had an icon in App Gallery but wasn't necessary available. But I didn't know they made them available in China, while asking foreign developers to prove ownership! They ask others to play fair, but they don't.

Is there in-app purchases in this toolbox version? Because if so, I'm not getting anything from it.

I'm still testing how App Gallery works and if Huawei is actually worth the effort. While they mention having access to 1.7 billion users worldwide, the download rates is actually 100-500 times less than Play Store! At this point it doesn't look like worth it.

I've managed to make my apps available in China, supposedly, but noticed I can't publish paid apps in China, and there is no explanations for this.
[Android Apps and Games] DeerP1976:
The only way for me to find out is to uninstall the up-to-date version I have now -2.2.9c and install this 6 years out of date one. I don't mind doing that for you.

If it found it in my installation manager then it must have same package name to tell me they have it in China.

With regards to in-app purchases in China, Huawei have an extremely strict policy for all users before they are even allowed to download apps that have the option to purchase in-app. With the Play Store you can download any app that has IAP's. and only when you use the app and attempt a purchase will Google check your details. Huawei want to know BEFORE you even download an app that you agree consent and you must provide not only your card details but photos of your card and proof of address. If you can't provide this, you can't even download an app that has IAP's. And forget attempting this if you live in Taiwan or Hong Kong as there is even more restrictions than this. They check the phone state permission and other custom permissions to compare to your GPS.

What I can do is download this very old version and if you can think of anywhere for me to upload it to let me know and you can check the md5 and signatures of this Chinese version.

I have a feeling it wasn't you who uploaded it but won't say 100% until I get the APK.
[Android Apps and Games] 3c:
I would suspect that if you can't install, it has the same package name as the one already installed? Do you have a open button that would actually open the toolbox, as it would be once app is installed? I tried to locate the package name before installing, but it's nowhere.

If you proceed with installing this hugely old version, don't forget to backup the original (or export data from help and support) so you can revert after. I'm mildly interested as there's very little I can do these days when I find my app cracked. And with current model (main+key) it has made it harder for hacker. Slightly I suppose.

The toolbox is being reviewed by Huawei atm, so it should become available soon. Note that package name is different from Play Store: ccc71.at.free.huawei, the .huawei is mandatory to make in-app purchases. So you could install it side-by-side. No plan to publish the pro key on Huawei at this time.

Huawei, seems to be very cautious on everything, which seems a good sign.

EDIT: FWIW: I'm making all app icons red, like Huawei AppGallery icon.
[Android Apps and Games] DeerP1976:
Well out of curiousity, I installed this version on Chinese App Gallery to take me back down memory lane and to see what is inside it. My God it's ancient! Target SDK is 19, it requests full screen display because app is not optimised for full screen, it's the only app I've ever downloaded from App Gallery that warns you about permissions and the fact it was designed for an older Android OS, hardly anything works in the app as you need root for even task manager (I'm assuming there was no option for accessibility permission back then) and I checked thoroughly - no in-app purchase option. I checked the permissions, activities etc and all the app does is a licence check!

When I go in Play Store after installing this ancient version, it does say I can update it so package name and certificate match. I'm providing a screenshot of the MD5 info etc if you really needed to check it out.

I also searched for your other apps on Chinese App Gallery and used many different search parameters. Only 1 was found - 3c battery manager. When you click on the app in app gallery it takes you to app description and full list of developer apps you can download. There was nothing there.

How this ancient version made it on App Gallery is a mystery to me but it's blatantly obvious you have not not done it as it's not part of your developer apps. Plus it's very suspicious this 3c Toolbox/Android Tuner is freely available in China and not in UK where all your other apps are (I did spot 1 paid app of yours on UK App Gallery).

Well it was very interesting going back to apps that give you the choice of Jellybean or ICS icons I can tell you!
[Android Apps and Games] 3c:
That's indeed interesting. APK signature does not match so if you tried to update from Play Store, it'll fail. Play Store (as far as I know) doesn't check signature at all, it's the package installer that will. Thus the package name is the original and cannot use in-apps (must end with .huawei). So I suppose this APK have all features unlocked?

I couldn't find the tuner app on Chinese AppGallery though, but found only 3C battery manager too, while 3C task manager was the first app I published in China, 3 days ago.

I'll get app's description translated (thanks to Google Translate) in the mean-time, hopefully they'll be all available there soon.
[Android Apps and Games] DeerP1976:
I actually got it to update from Playstore remarkably. First attempt, Playstore gave me an error, second time it went through perfectly. No, the old version had adverts and all the pro options were greyed out. Only option in-app was to go to play store and support you. I also got the APK analysed at Hybrid Analysis The results are not good but that might be because you are using old permissions. Hybrid Analysis did say there was code embedded in the APK to activate SMS code. See for yourself -

When I searched for it on Chinese App Gallery, it wouldn't find it and I used a translator to input Chinese simplified Han and traditional Han. Nothing showing. Only reason I found it at all was because I already had it installed on my phone and was in list of my installed apps on App Gallery.

https://www.hybrid-analysis.com/sam...75608e331514a88d3db2e2e55a46b20c0fead63c0eb40

https://www.hybrid-analysis.com/sam...b2e2e55a46b20c0fead63c0eb40?environmentId=200