Clear cache for all apps? - OnePlus 7 Pro Questions & Answers

Sony phones in settings in storage have option to clear cache for all apps. Why is it missing in our phones? Or am i missing something?
Sent from OnePlus 7 Pro, OxygenOS 10.0.3, TWRP 3.3.1-75, Magisk 20.3, EdXposed 0.4.6.1 (build 4513), Modded Play Store 16.5.15, android core.java patched and SafetyNet pass OK

It's a good question. We ought to have an option to clear cache AND data for all or selected apps in a batch mode.
Currently I just use Titanium Backup to do this but shouldn't have to rely on a 3rd-party app. OOS is decked out enough that we should reasonably expect this functionality to already be a part of the OS or baked in in future updates.

Also using Titanium, but would be if in Settings...

i know this is not hte place for this so i may get in to a bit of troubles but does titanium backup backup wifi and restore apps ok for you guys on your op7 pro? i havent been able to restore apps or backup wifi profiles since android 10 and it appears there is no support for titanium or at least they will not respond.

Related

New Pixel 3 setup: Restoring backups fails with both Titanium and MyBackup Pro

I'm setting up a new Pixel 3 (Android 9), and moving from a Note 4 (Android 6.0.1).
When setting up, Google installs some, but not all, apps from the store. The missing apps I expected to restore from redundant Titanium Backup and My Backup Pro backups.
I have successfully installed Magisk 18.1 using the Boot Image Patch method (no TWRP)
Titanium Backup Pro reports it has superuser rights. When I try to restore an app created with the Note 4, Titanium Backup hangs forever on the "Restoring App+Data AppName n.n.nn.n" overlay with the spinning circle. TiBk is unresponsive, although Android is still running and I can see home screen or notifications. Restart is required to clear the pending action. I have run TiBk with USB debugging enabled (if that is still required), but get the same failure.
I also have MyBackup Pro. When I try to restore an apk (or apk+data), it appears to run normally. MBP reports it has superuser rights. At the end of the process the status summary says: Appname: failed: cp: can't create '/data/app/appnamestring-1/appnamestring.apk': Path does not exist.
I tried using MBP to back up an app already installed on the Pixel 3 from the store, and then restore it. It gives the same error, except the place where there is "appnamestring-1" in the Android 6 backup, there is now something like "appnamestring-2fjdk56akjfkdye7dkfja9=="
Also, I observe that the app that was installed prior to this backup restore experiment is no longer present afterward. I re-installed from the store.
Can anyone suggest next steps for solving this issue?
timg11 said:
I'm setting up a new Pixel 3 (Android 9), and moving from a Note 4 (Android 6.0.1).
When setting up, Google installs some, but not all, apps from the store. The missing apps I expected to restore from redundant Titanium Backup and My Backup Pro backups.
I have successfully installed Magisk 18.1 using the Boot Image Patch method (no TWRP)
Titanium Backup Pro reports it has superuser rights. When I try to restore an app created with the Note 4, Titanium Backup hangs forever on the "Restoring App+Data AppName n.n.nn.n" overlay with the spinning circle. TiBk is unresponsive, although Android is still running and I can see home screen or notifications. Restart is required to clear the pending action. I have run TiBk with USB debugging enabled (if that is still required), but get the same failure.
I also have MyBackup Pro. When I try to restore an apk (or apk+data), it appears to run normally. MBP reports it has superuser rights. At the end of the process the status summary says: Appname: failed: cp: can't create '/data/app/appnamestring-1/appnamestring.apk': Path does not exist.
I tried using MBP to back up an app already installed on the Pixel 3 from the store, and then restore it. It gives the same error, except the place where there is "appnamestring-1" in the Android 6 backup, there is now something like "appnamestring-2fjdk56akjfkdye7dkfja9=="
Also, I observe that the app that was installed prior to this backup restore experiment is no longer present afterward. I re-installed from the store.
Can anyone suggest next steps for solving this issue?
Click to expand...
Click to collapse
The only way that worked for me is getting my apps installed from GDrive backup (the from settings - > security - > backup or so). Actually this only restores apps from the play store.
Restore via ADB also didn't work for me...
TGHH said:
The only way that worked for me is getting my apps installed from GDrive backup (the from settings - > security - > backup or so). Actually this only restores apps from the play store.
Restore via ADB also didn't work for me...
Click to expand...
Click to collapse
Thank you for the reply! It was rather quiet around here...
But seriously, you can't restore apps? Why?? What is the issue? Why can't an app designed to backup and restore, running with superuser permissions, restore an app?
timg11 said:
Thank you for the reply! It was rather quiet around here...
But seriously, you can't restore apps? Why?? What is the issue? Why can't an app designed to backup and restore, running with superuser permissions, restore an app?
Click to expand...
Click to collapse
I found it also quite annoying! Trying to copy apps via cable seems to be only fetching a list of apps from the old phone and then re-installing them. No settings, no data. Also - obviously - only apps from play store! So unusable.
My advise - export, backup etc. all you can from your old phone for import or so.
In regards to Titanium - there's a wayto make it work. I had this once that it got stuck: in the settings there's an option to change the processing mode - see https://www.titaniumtrack.com/kb/titanium-backup-kb/titanium-backup-troubleshooting.html , number 29.
You will have to ACK every app to be stored but it should work.
Not sure what I did different to you but it worked for me (titanium). Maybe try restoring app only, then data only. I think I might have done a batch restore from a nandroid originally.

Titanium backup: Apps crash after restore

Migrating to a new phone and discovered an issue with the backups on my old phone. This is tested and happening on both btw.
If I backup and restore a working app it then will force close on opening. Clearing cache and data and still force closes.
I tried uninstalling titanium, deleting titanium folder and reinstalling.
Same issue after a backup and restore of an application.
Running Oneplus 6 and Oneplus 7 pro
Unlocked and unrooted with magisk
Titanium at latest version from market.
logcat
https://pastebin.com/6R8Wv12D
Thanks for any help available
tabooki said:
Migrating to a new phone and discovered an issue with the backups on my old phone. This is tested and happening on both btw.
If I backup and restore a working app it then will force close on opening. Clearing cache and data and still force closes.
I tried uninstalling titanium, deleting titanium folder and reinstalling.
Same issue after a backup and restore of an application.
Running Oneplus 6 and Oneplus 7 pro
Unlocked and unrooted with magisk
Titanium at latest version from market.
logcat
https://pastebin.com/6R8Wv12D
Thanks for any help available
Click to expand...
Click to collapse
App restore with titanium doesn't work for switching to a new phone, only restoring to the same phone and same os. When it does work the apps tend to be super glitchy. I'll drop a link to the xda thread where you can get more info/ help. Good luck.
https://forum.xda-developers.com/showthread.php?t=2717159
Sent from my GM1917 using XDA Labs
swiftbones74 said:
App restore with titanium doesn't work for switching to a new phone, only restoring to the same phone and same os.
Click to expand...
Click to collapse
Agreed. I've only migrated app data to a new phone using TB import/export (.TiBkp) feature. AFAIK, you can only do that one app at a time. So I've only done it with a few apps that I really wanted to save the user data.
More folks on this forum are recommending Swift Backup these days. It seems more reliable for this phone. I've use TB for years, but now I've just started trying out Swift Backup.
It appears TB is not compatible with the newer "split apks" format for newer apps in the appstore.
Basically TB will only backup the "base.apk" for an app when it does a backup. But with split apks, there are other APK files besides base.apk, like one for the app's language (split_config.en.apk) or the cpu type (split_config_arm64_v8a.apk) and the screen resolution (split_config.xxhdpi.apk).
So, since TB does NOT backup these extra apk files, these files will be missing when you do a restore with TB and thus the restored app will crash when you try to run it.
Luckily there is a new open-source backup app that works well with Slit-apks on Android 8+:
GitHub - NeoApplications/Neo-Backup: backup manager for android
backup manager for android. Contribute to NeoApplications/Neo-Backup development by creating an account on GitHub.
github.com
And I think it's better then Swift backup because:
1) Swift backup requires your google account login
2) Swift backup throws errors if you block internet access to it for security reasons
3) Swift backup is not open-source, so it could go the way of TB in the future.
4) And OandBackupX is FREE
JohnC said:
It appears TB is not compatible with the newer "split apks" format for newer apps in the appstore.
Basically TB will only backup the "base.apk" for an app when it does a backup. But with split apks, there are other APK files besides base.apk, like one for the app's language (split_config.en.apk) or the cpu type (split_config_arm64_v8a.apk) and the screen resolution (split_config.xxhdpi.apk).
So, since TB does NOT backup these extra apk files, these files will be missing when you do a restore with TB and thus the restored app will crash when you try to run it.
Luckily there is a new open-source backup app that works well with Slit-apks on Android 8+:
GitHub - NeoApplications/Neo-Backup: backup manager for android
backup manager for android. Contribute to NeoApplications/Neo-Backup development by creating an account on GitHub.
github.com
And I think it's better then Swift backup because:
1) Swift backup requires your google account login
2) Swift backup throws errors if you block internet access to it for security reasons
3) Swift backup is not open-source, so it could go the way of TB in the future.
4) And OandBackupX is FREE
Click to expand...
Click to collapse
So I tried this app and maybe you can help me out and tell me why after trying a restore I ended up with all of these errors , any advice or hints would be great,,,also prior to attempted install I was rooted and about 40 plus apps installed fine,
Swift does not give me these errors
Thanks
[email protected] said:
So I tried this app and maybe you can help me out and tell me why after trying a restore I ended up with all of these errors , any advice or hints would be great,,,also prior to attempted install I was rooted and about 40 plus apps installed fine,
Swift does not give me these errors
Thanks
Click to expand...
Click to collapse
Those errors seem like there is a problem with xandbackupx not being able to gain root access.
When you first started OABX, it has a bunch of cards where each card requires a different permission on your device - did you go through each card/step and give all those permissions, including root?
Are you using android 8+?
JohnC said:
Those errors seem like there is a problem with xandbackupx not being able to gain root access.
When you first started OABX, it has a bunch of cards where each card requires a different permission on your device - did you go through each card/step and give all those permissions, including root?
Are you using android 8+?
Click to expand...
Click to collapse
Thanks for the reply,,, yes I checked all and granted all permissions, Iam on a11 firmware running a a12 rom Bliss, ,, I will mess with it some more with it , it looks really robust with alot of options so maybe one of the settings need to be ticked or maybe it's just this rom, it's not a big deal as I have the other one to fall back on until I do some more testing

Unable to get Titanium Backup to work on Android 10

Have been unable to get Titanium Backup to work to migrate apps from my old phone to a new pixel 3. From searching around it sounds other people have had issues, but I have been unable to get TB to work.
Phone is newly flashed with Android 10 and google's factory images, after installing Magisk Manager to manage root I've tried the following:
a) install TB through the app store, if I do this TB hangs on restore, but if I install the app through the marketplace and then restore data in TB, that seems to work is some (not many) cases
b) install an older version of TB from apkmirror which was suggested in some threads, TB just hangs if I try that.
This thread suggested disabling "Verify apps over USB" would solve the above issue, but I had no luck. https://forum.xda-developers.com/oneplus-7-pro/help/issues-restoring-titanium-backup-t4011085 and in this thread had the same issue https://forum.xda-developers.com/pixel-3/help/pixel-3-setup-restoring-backups-fails-t3919228
Any suggestions on other things I should try to get TB to work? I've used TB for every phone migration for 10 years now, but am struggling to get it to work. Maybe another backup/restore tool is better, or maybe I should factory reset to Android 9 and stay on that. Thanks!
I couldn't restore a lot of my ~300 user apps, e.g. Zoom, Youtube, Advanced Root Checker, GMail.
All these apps are restoring for ever (hanging while restoring).
A lot others worked without any problem.
The main solution was to disable "Verify over USB" in developer settings.
I restored most of my apps with Indirect method, but later used Direct method (and tried on some of the others), which didn't make a difference.
However the suggested "Disable Play Protect" (in play store) didn't make a difference for all of my apps.
Youtube and Android Auto were the only ones that still didn't restore (still hanging), even with both options disabled.
Even the interactive method didn't help here.
May be this also affects other Google Apps like GMail, but I installed those manually from Play Store and connected them to my account, so I don't know.
I then installed Youtube via the market link and restoring via "data only" worked fine.
When looking at an app backup by Total Commander (just for fun) or Xplore, I see that all these apps seem to have split apks, so I guess that's the real reason.
You just don't use titanium backup i use swift backup pro it does the same job for me
I was able to restore TB backups after a full factory image wipe and Magisk installation.
I had to disable both "Verify Over USB" and "Play Protect" from the Play Store to get it to work. Hope this helps.
luckana said:
You just don't use titanium backup i use swift backup pro it does the same job for me
Click to expand...
Click to collapse
Thanks for this suggestion. Ti Backup has not worked on my Pixel 3 - ever.

A few questions - Nandroid back up - Disable System update/notification

Hello folks.
Slowly but surely getting my nord ready.
I installed xxxnolimits and have a few questions.
1) Nandroid/Backup - what are my options here as I see TWRP does not fully work yet. Also I will have parallel apps installed.
Is there a way to backup with parallel apps? TWRP used to give an error.
Titanium backup - will backups made on titanium backup be safe and still work when restored? Is this my only option of a "backup" at present?
2) Is there a way to disable system update and system update notification - I used to to it in titanium but ive read that wont work on current android versions.
Any help appreciated. Thanks.
Hi!
My Nord is unable to restore apps with Titanium in android 10.
The new app called "migrate" is the best alternative to save all your apps, data, permissions and more.
This app make a flashable zip for your twrp companion (for a new clean rom install) or direct flash (like magisk) to reinstall your apps without reinstall a new rom.
You need others apps for direct flash: "migrate flasher" and "migrate helper".
Find all stuff in google store.
The full backup work on the (new) last version of twrp for the Note (exclude user data).
Migrate and twrp is best solution to make a full full backup
For remove system update, use a debloater terminal (magisk module) to remove com.oneplus.opbackup package or just disable it by this command:
Code:
su
pm uninstall --user 0 com.oneplus.opbackup
No more update notification after that.
It's possible to remove update menu in your settings menu:
Use a setting editor on edxposed or other source (magisk, root app,... ?? I don't know if exist)
Bonus: use oxygen updater on play store and you able to find the last fw for you and flash it in ota without remove root stuff.
Bye!
I got my Nord a few days ago and restored all my (200+) apps from my previous phone with TB. At first try it couldn't restore some apps but disabling Verify apps over USB in dev mode fixed it.
I made backup through the adb backup command. Because any recovery backup solutions is unavailable and backups from the apps can't be restored if my phone is in brick mode or on bootloop.

Alternative to Titanium Backup?

Hey everyone,
I've been using Titanium backup for a few weeks now but one thing irks me about it.. even though it successfully backs up my apps and I assume my data - when it comes to restoring the backup, it always re-installs the apps in a broken state.
After restoration is complete, about 1/3rd of my apps have to be re-installed. When I tap on an app, it crashes soon as it opens.
I'm currently trying out Migrate - but TWRP throws an error 7 when attempting to restore the backed up ZIP that Migrate created.
Swift I read is awesome, unfortunately it's a google focused app, and this device is degoogled for privacy and security reasons.
Any free options to replace Titanium Backup?
Device info
Hardware: OnePlus 8T (KB2003)
Android Version: 11
OS: LineageOS for microG 18.1 (Kebab)
Magisk Version: f822ca5b (23001)
App: f822ca5b (23001) (21)
Package: com.topjohnwu.magisk
TWRP version: twrp-3.5.2_11-0-kebab-20210726-alpha
Fumetsu_Guritto said:
Hey everyone,
I've been using Titanium backup for a few weeks now but one thing irks me about it.. even though it successfully backs up my apps and I assume my data - when it comes to restoring the backup, it always re-installs the apps in a broken state.
After restoration is complete, about 1/3rd of my apps have to be re-installed. When I tap on an app, it crashes soon as it opens.
I'm currently trying out Migrate - but TWRP throws an error 7 when attempting to restore the backed up ZIP that Migrate created.
Swift I read is awesome, unfortunately it's a google focused app, and this device is degoogled for privacy and security reasons.
Any free options to replace Titanium Backup?
Device info
Hardware: OnePlus 8T (KB2003)
Android Version: 11
OS: LineageOS for microG 18.1 (Kebab)
Magisk Version: f822ca5b (23001)
App: f822ca5b (23001) (21)
Package: com.topjohnwu.magisk
TWRP version: twrp-3.5.2_11-0-kebab-20210726-alpha
Click to expand...
Click to collapse
Migrate works great for me. Migrate On Apkpure
MirageSteezyBoi said:
Migrate works great for me. Migrate On Apkpure
Click to expand...
Click to collapse
Okay, I figured Migrate was a good choice. I'll spend some time troubleshooting Error 7.
Fumetsu_Guritto said:
Okay, I figured Migrate was a good choice. I'll spend some time troubleshooting Error 7.
Click to expand...
Click to collapse
After using Titanium Backup Pro for years, I've pretty much switched over to Swift Backup. I just use it locally without any cloud backup. Not sure how it would react without Gapps. However since you have microg I would assume it should work.
OhioYJ said:
After using Titanium Backup Pro for years, I've pretty much switched over to Swift Backup. I just use it locally without any cloud backup. Not sure how it would react without Gapps. However since you have microg I would assume it should work.
Click to expand...
Click to collapse
+1000, the best for me
There is also fully free backup tool OAndBackupX
GitHub - NeoApplications/Neo-Backup: backup manager for android
backup manager for android. Contribute to NeoApplications/Neo-Backup development by creating an account on GitHub.
github.com
Titanium stopped working nicely for me too. I just use it to freeze apps and small stuff.
Migrate works good.
TheDidek said:
There is also fully free backup tool OAndBackupX
GitHub - NeoApplications/Neo-Backup: backup manager for android
backup manager for android. Contribute to NeoApplications/Neo-Backup development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
OandbackupX is a great choice. It's what I use.
For TB, i noticed it hangs on restoring of apps. But if i install app via PlayStore or manually via APK and then restore app data in TB it works as promised.
TheDidek said:
There is also fully free backup tool OAndBackupX
GitHub - NeoApplications/Neo-Backup: backup manager for android
backup manager for android. Contribute to NeoApplications/Neo-Backup development by creating an account on GitHub.
github.com
Click to expand...
Click to collapse
Thanks was able to make use of this
Rootk1t said:
For TB, i noticed it hangs on restoring of apps. But if i install app via PlayStore or manually via APK and then restore app data in TB it works as promised.
Click to expand...
Click to collapse
That's because TB can't handle split apks.
swift backup is recommended and i can restore without any issue with it
BillGoss said:
That's because TB can't handle split apks.
Click to expand...
Click to collapse
You mean, its developer is too lazy to work that out. He's been promising for years, because some people paid for his Pro version, but he's not been doing much. Maybe he died from CoViD.
jult said:
You mean, its developer is too lazy to work that out. He's been promising for years, because some people paid for his Pro version, but he's not been doing much. Maybe he died from CoViD.
Click to expand...
Click to collapse
As far as i know, latest release of TB dates back to 2019, even before Covid widespread.
Maybe the author is not interested in developing TB anymore for some reason.
[deleted]
Swift is the best. Latest version only.
I had the same problem when I switched form my S9+ running Android 9 to my new S20 Ultra running Android.
Almost all apps crashed after restore.
I got the tip to try "Swift Backup" and I must say it works perfectly. You can choose to backup your apps and data locally or on google drive or something similar. If you backup your apps in the cloud you can easily access those backups from another phone and restore them
The only problem with Swift Backup is that backed up data is encrypted and you can't decrypt it on your own.

Categories

Resources