Titanium Backup is not working - is there any fix or alternative?


lukesky333

Members
Jan 24, 2020
10
3
Hi,

I'm trying to restore my backup from my old phone on my new shiny Mi 9T Pro, but Titanium Backup doesn't work - it chrashes immediately.

Does anyone know a solution for this?

If not, is there an alternative for Titanium Backup?

Many thanks...
 
Which version of MIUI, which version of Titanium? What else did you install? You have root (how are you rooted)? When does it crash?
 
Which version of MIUI, which version of Titanium? What else did you install? You have root (how are you rooted)? When does it crash?

MIUI 11 Stable (latest version from here)
Titanium Backup (latest version from PlayStore)
--> device is rooted (latest Magisk version)

...it crashes immediately after launch of TitaniumBackup
 
Check Magisk -> Superuser, if it's enabled.

Delete cache and data from Titanium Backup.

Uninstall TB and reinstall.

This would be my steps, did you try?
 
Same problem here
Mi 9t pro with xiaomi.eu miui 11 stable version + root + magisk installed


Code:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
    at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
    at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
    at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
    at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
    at android.os.Handler.dispatchMessage(Unknown Source:19)
    at android.os.Looper.loop(Unknown Source:242)
    at android.app.ActivityThread.main(Unknown Source:98)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
    at com.android.internal.os.ZygoteInit.main(Unknown Source:275)
Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
    at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
    at android.database.sqlite.SQLiteConnection.open(Unknown Source:34)
    at android.database.sqlite.SQLiteConnection.open(Unknown Source:5)
    at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(Unknown Source:6)
    at android.database.sqlite.SQLiteConnectionPool.open(Unknown Source:3)
    at android.database.sqlite.SQLiteConnectionPool.open(Unknown Source:7)
    at android.database.sqlite.SQLiteDatabase.openInner(Unknown Source:6)
    at android.database.sqlite.SQLiteDatabase.open(Unknown Source:2)
    at android.database.sqlite.SQLiteDatabase.openDatabase(Unknown Source:49)
    at android.database.sqlite.SQLiteDatabase.openDatabase(Unknown Source:4)
    at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(Unknown Source:138)
    at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(Unknown Source:2)
    at o.dp.ˊ(Source:192)
    at com.keramidas.TitaniumBackup.MainActivity.onCreate(Source:397)
    at android.app.Activity.performCreate(Unknown Source:19)
    at android.app.Activity.performCreate(Unknown Source:1)
    at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
    ... 11 more
 
Hello,
Use a File Manager app (eg.: Solid Explorer).
Go to "Root" directory then follow this path -> /data/data
Find and remove "com.keramidas.TitaniumBackup" folder.
That's all! You can restart Titanium Backup.

;)
Did as you advised.
Unfortunately problem still exists
Code:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/o.々}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.content.pm.action.CONFIRM_INSTALL pkg=com.miui.packageinstaller (has extras) }
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
    at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
    at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
    at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
    at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
    at android.os.Handler.dispatchMessage(Unknown Source:19)
    at android.os.Looper.loop(Unknown Source:242)
    at android.app.ActivityThread.main(Unknown Source:98)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
    at com.android.internal.os.ZygoteInit.main(Unknown Source:275)
Caused by: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.content.pm.action.CONFIRM_INSTALL pkg=com.miui.packageinstaller (has extras) }
    at android.app.Instrumentation.checkStartActivityResult(Unknown Source:128)
    at android.app.Instrumentation.execStartActivity(Unknown Source:195)
    at android.app.Activity.startActivityForResult(Unknown Source:23)
    at android.app.Activity.startActivityForResult(Unknown Source:1)
    at android.app.Activity.startActivity(Unknown Source:7)
    at android.app.Activity.startActivity(Unknown Source:1)
    at o.々.onCreate(Source:28)
    at android.app.Activity.performCreate(Unknown Source:19)
    at android.app.Activity.performCreate(Unknown Source:1)
    at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
    ... 11 more

And
 
Last edited:
Tried debugging USB but also getting one od two errors

Code:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
    at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
    at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
    at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
    at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
    at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
    at android.os.Handler.dispatchMessage(Unknown Source:19)
    at android.os.Looper.loop(Unknown Source:242)
    at android.app.ActivityThread.main(Unknown Source:98)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
    at com.android.internal.os.ZygoteInit.main(Unknown Source:275)
Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14 SQLITE_CANTOPEN): Could not open database
    at android.database.sqlite.SQLiteConnection.nativeOpen(Native Method)
    at android.database.sqlite.SQLiteConnection.open(Unknown Source:34)
    at android.database.sqlite.SQLiteConnection.open(Unknown Source:5)
    at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked(Unknown Source:6)
    at android.database.sqlite.SQLiteConnectionPool.open(Unknown Source:3)
    at android.database.sqlite.SQLiteConnectionPool.open(Unknown Source:7)
    at android.database.sqlite.SQLiteDatabase.openInner(Unknown Source:6)
    at android.database.sqlite.SQLiteDatabase.open(Unknown Source:2)
    at android.database.sqlite.SQLiteDatabase.openDatabase(Unknown Source:49)
    at android.database.sqlite.SQLiteDatabase.openDatabase(Unknown Source:4)
    at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(Unknown Source:138)
    at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(Unknown Source:2)
    at o.dp.ˊ(Source:192)
    at com.keramidas.TitaniumBackup.MainActivity.onCreate(Source:397)
    at android.app.Activity.performCreate(Unknown Source:19)
    at android.app.Activity.performCreate(Unknown Source:1)
    at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
    at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
    ... 11 more
 
Hello,
Use a File Manager app (eg.: Solid Explorer).
Go to "Root" directory then follow this path -> /data/data
Find and remove "com.keramidas.TitaniumBackup" folder.
That's all! You can restart Titanium Backup.

;)

Eventually got it to work.
What I did was, I installed titanium backup add-on (apk) which I saw titanium was trying to install while I was on global EU rom.
Back then global rom was asking for permission to install from untrusted sources.

Now I'm guessing this messes up because miui 11 isn't showing anything.(this should be fixed on more global level)

Tldr:
Fixed by installing titanium backup add-on apk found on apk-mirror
 
Mi PC Suite is the official Mi device desktop client which can be used as a backup and restore tool to backup Xiaomi phone data to PC.
You can also backup your pictures, messages, contacts, call logs and other files from Xiaomi to Mi Cloud.
A third-party tool that I stumbled upon is also very useful, MobiKin Assistant for Android, it can back up all files to the computer in a simple step
 
solution: first delete the 2 files from the titanium folder (/data/data/com.keramidas.TitaniumBackup/files/), then uninstall the app and then install again (install with an apk pack). it will probably work again. I had this same problem and I also use xiaomi.eu
30791


30792
 
Hi,

I'm trying to restore my backup from my old phone on my new shiny Mi 9T Pro, but Titanium Backup doesn't work - it chrashes immediately.

Does anyone know a solution for this?

If not, is there an alternative for Titanium Backup?

Many thanks...
solution: first delete the 2 files from the titanium folder (/data/data/com.keramidas.TitaniumBackup/files/), then uninstall the app and then install again (install with an apk pack). it will probably work again. I had this same problem and I also use xiaomi.eu

30793


30794
 
there's a fix for this issue but you need to install it as the file is .apk
just google "Titanium Backup Crash Fixer"
I've tested this and my TB now all working fine
hope this help
 
  • Like
Reactions: KiritoJPK
use migrate :) titanium backup is dead.
I have started to use it a few weeks ago and it's easier to use than TB. I was tired to waste half a day to reinstall and configure all my apps (and I have only a few). If you need another tool to freeze apps, I recommend SD Maid or App Manager. On my Mi Note 10, I have 78 frozen apps (latest xiaomi.eu beta).
 
Hello,
Use a File Manager app (eg.: Solid Explorer).
Go to "Root" directory then follow this path -> /data/data
Find and remove "com.keramidas.TitaniumBackup" folder.
That's all! You can restart Titanium Backup.

;)
It fixed my problem.
First I uninstall TitaniumBackup from my phone.
Then I use x-plore and search "titanium" from root.
I found 6 files and delete all. After that I install Titanium Backup again.
Now Titanium Backup is working well for me.
Thanks.
 
  • Like
Reactions: hotrats
My fix was to wipe dalvik and cache (or delete Titanium Backup folder in /data/data), install Titanium Backup again, didn't open, and wait for like 10 or more minutes. Then i opened it and it didn't crash anymore. No Crash Fixer needed for me.
 
Solved. On Android 11 same problem
1. first delete 2 files in
/root/data_mirror/data_ce/null/0/com.keramidas.TitaniumBackup/files
2. then uninstall titanium backup and reinstall it
3. give full permissions and start to use