Bootloop (frozen sys apps in Titanium Backup) - Xiaomi Mi 5 Questions & Answers

Hello, everyone. Have problem with phone. After freeze system app in Titanium Backup, phone going to bootloop.
In custom TWRP i put zip file Unfreeze_all_apps (which one on this forum). But always see "process updater ended with error 4"
I go to data/system/ take package.xml and rename all protection="2" to protection ="1" manually. It's not helped.
Anyone know how to resolve it?

same problem here

You can try to dirty flash the same version of ROM again.

Related

[Q] Any Way to Recover from a Nandroid Backup that is Partly Corrupted?

Hi guys!
I'm running Doc_Kalpik's V7.5 and I had a bad run in while trying to manually install MiniSquadron which I paid for yet have been getting download unsuccessful errors no matter what I do! But that's another story...
After I installed it, I got a force close...then I got force closes everywhere else so I decided to reboot. And I discover that once I get to the boot animation portion, I get several vibrations (the same as the force close vibration pattern) at this point and eventually the screen turns black while still doing the vibration thing..I press the home button and the backlight keys just light up nothing else. So I go into recovery to attempt to fix.
I decided to reflash the ROM via CWM so I disabled my lagfix first, then did a reboot into recovery. From there I chose to backup and restore and after all that I still run into the same problem at the boot animation.
I try to manually backup via CWM and then factory reset then restore via CWM and there I run into an error saying that no .android_secure blah was not found so it skips the restore of that. I again run into the same probem at boot.
I try to do an advance restore to just restore my data. Still the same error, and the same problem at boot.
I am only able to boot with no issues after a factory reset with no restore meaning all data is lost...So I was wondering is there any way to just restore some parts from the nandroid backup like messages and such...I would assume that the problem is with my apps that had been on sd...which were actually none at all except the manual installation of MiniSquadron I guess. I don't care for the data of the other apps, I just need my messages. I did have a titanium backup but it isn't very recent since I did not expect this problem to occur.
Any help is much appreciated!
I dont have specific information on restoration of messages because I have not yet looked into it - but I was able to recover a few files from a nandroid backup using unyaffs which extracts the content of the nandroid img files. Maybe you can extract the sms file ( /data/data/com.android.providers.telephony/databases/mmssms.db) from data.img and push it using adb shell.
In future, I'd suggest SMS backup app from the market - it backs up and restores into your gmail account.
Ohhh! I'll check out the img files later when I get home. I was afraid of looking into them expecting hard to discern, indescript file names I don't know how to make use of. But that file you pointed out seems obvious enough. I hope it's somehow usable without the full backup. Perhaps a simple move with Root Explorer app would work too? I'm not all too familiar with using adb commands...
Yes I have that app but I don't use it often for backup and restore jobs since I tried several times in the past to restore from backup and always seem to be missing more recent messages.
Thanks for the advice though! I'll report success/failure soon.
I don't seem to have anything inside my com.providers.telephony folder when I extracted data.img...Any ideas?
nvm! Found it in dbdata.img... will update this if this works.
Yes - a simple move with Root Explorer should work too.
It doesn't seem to work... No messages show up even after several retries with reboots I tried opening up the file within root explorer since it has sqlite viewer and it gives me an error..I forgot exactly what but it doesn't let me look within the database unlike if I try doing the same with the original mmssms.db file currently on my phone. I tried sqlite viewer on pc and when I attempt to open the file nothing shows up. Any work around to this? Is it possible for even this file to be corrupt in the backup...that's kinda devastating news..any way to repair this?

(Q) Clockwork backup not working...

When trying to make backup with cvm (doesn't matter if from rom manager or cvm recovery menu) I always get stuck.
Backup proceeds ok with system and most of data, then get stuck at "kanal" or "channel" and backing up some *. Png file.
Have seen some post with this error, but can't seem to find a solution... please help! Having this error no matter what rom I'm on... now on Docs JPU 2.0
Sent from my GT-I9000 using Tapatalk
Solved...
Found one application "tv.nu" causing this error, no clue why, but after uninstalling this backup is working fine again...

[Fixed] Screwed up motorola.blur.providers.contacts

Tried to view one of my contacts and got a FC on Contacts Storage (motorola.blur.providers.contacts). Do not know whether this has ever worked. Have had this Bionic for a couple days and froze a bunch of Motorola ****. The list isn't very long and I can provide that if necessary, but I'm just assuming this is what has caused my Contacts issue.
On to the actual issue, I uninstalled Contacts Storage (using Titanium Backup) and was going to reinstall it from the backup, but TB just hangs.
Tried all three different "App Processing modes" in TB and it hangs on restore regardless of this setting.
Extracted the apk out of Titanium Backup folder and tried to run it manually and it won't go (using ES File Explorer, mounted System as R/W).
Tried moving it to /system/app/ and running it (still mounted R/W) and it fails.
Will restoring ONLY "System" fix my problem and not delete all my other data that I've been busy setting up? Is there even a way to restore only System, using that FXZ?
If I can just chill and not worry about it until they come out with Clockworkmod Recovery, how do I make a flashable zip with just Contacts Storage in it?
Edit: Tried installing with adb and it fails with Failure [INSTALL_FAILED_DEXOPT]. I see other apps in the /system/app folder have .odex files with them. Am I just missing this one for the contacts (did it get removed by TB?)?
Edit: Got the .odex file from here and it still fails trying to install via Root Explorer.
Edit: Installation via adb with NO switches fails with Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]
Installation via adb with /l switch to Forward Lock it fails with Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
That Forward Lock one was a little past my point of not knowing what the hell I'm doing, so I will just chill and wait for a response. Thanks!
Edit: FXZ'd back to stock, installed CWM Recovery, backed up, restored Data only from the damaged instance via CWM Recovery, wiped cache. Everything is great and I didn't lose any data! Just had to get a fresh /system/ in there...

Titanium Backup update.zip doesn't restore data

Hi,
I did backup with Titanium Backup, then I created update.zip. After wiping and installing ROM again, I also install update.zip from TB. All apps installs properly, but their data isn't recovered. Every app looses its settings.
What am I doing wrong?
maybe you need to have the right version --
http://www.androidpolice.com/2012/1...ate-flashable-zips-of-all-your-apps-and-data/
Ran into the same problem as well, turns out you will need TB installed and granted SU permissions before flashing update.zip in recovery so that data restore will work.
1. Install custom ROM
2. Boot into android, complete setup questions
3. Install TB from Google Play
4. Open TB, grant SU
5. Boot into Recovery and flash update.zip
6. Boot into Android, TB will autostart and start restoring data.
Hope that helps!
why restoring via cwm, while u can restore from TB?
thermax04 said:
why restoring via cwm, while u can restore from TB?
Click to expand...
Click to collapse
It's old, but I'm going to answer: the update.zip file generated with titanium backup may have a lot of apps and you can flash the zip file and the will all install at once. Otherwise, if you just boot the device and run TB app, it will ask you if yoy want to install or cancell befor installing, and after, it will let you choose between open new app or job done.
Then if you have like 35 apps to restore, you're like: install - done- install- done - install - done- install- done.............. like crazy.... zip file is just 1 for all and it's done
NOTE: restoring with update.zip is giving me a hard time with a few apps like whatsapp, waze and nikon wifi. You should have the regular TB backup in your sd just in case if you're wiping/flashing a rom.
figo_yjm said:
It's old, but I'm going to answer: the update.zip file generated with titanium backup may have a lot of apps and you can flash the zip file and the will all install at once. Otherwise, if you just boot the device and run TB app, it will ask you if yoy want to install or cancell befor installing, and after, it will let you choose between open new app or job done.
Then if you have like 35 apps to restore, you're like: install - done- install- done - install - done- install- done.............. like crazy.... zip file is just 1 for all and it's done
NOTE: restoring with update.zip is giving me a hard time with a few apps like whatsapp, waze and nikon wifi. You should have the regular TB backup in your sd just in case if you're wiping/flashing a rom.
Click to expand...
Click to collapse
How is creating an update.zip easier than just using the filter/batch function from within TiBU?
scooterbaga said:
How is creating an update.zip easier than just using the filter/batch function from within TiBU?
Click to expand...
Click to collapse
If it would work right, it's way faster, just try next time you wipe your phone.
The problem is that not all apps work properly this way. But via recovery it's just too fast, yet not recommended as the only backup as you might have to uninstall and restore a few apps that don't work right (force close)
It wold be nice to have all methods available working ok, but there's no doubt that the the app works better.
Just learned from experience. Many apps force closed when using update.zip. I'll stick with using TB app despite it taking longer
I can't restore my backup from april. Is it because of a new version? That would help me a lot guys I lost all my contact numbers....but I still have all my backups but titanium backup can't open it...
Salty Wagyu said:
Ran into the same problem as well, turns out you will need TB installed and granted SU permissions before flashing update.zip in recovery so that data restore will work.
1. Install custom ROM
2. Boot into android, complete setup questions
3. Install TB from Google Play
4. Open TB, grant SU
5. Boot into Recovery and flash update.zip
6. Boot into Android, TB will autostart and start restoring data.
Hope that helps!
Click to expand...
Click to collapse
Great guide!
Does TitaniumBackups restores data as well? When I tried to restore, "apps+data" it shows, ""E: Failed to sysmapfile". Does that means TiBackups can ONLY restore apps?
PapaWangsta said:
Great guide!
Does TitaniumBackups restores data as well? When I tried to restore, "apps+data" it shows, ""E: Failed to sysmapfile". Does that means TiBackups can ONLY restore apps?
Click to expand...
Click to collapse
I had same error when trying to apply the update.zip from Titanium backup via TWRP. In my situation the reason was that TWRP seems to have a limit of max. 2GB for an update.zip, as found somewhere in a discussion at XDA.
paarnoutse said:
I had same error when trying to apply the update.zip from Titanium backup via TWRP. In my situation the reason was that TWRP seems to have a limit of max. 2GB for an update.zip, as found somewhere in a discussion at XDA.
Click to expand...
Click to collapse
Yeah, that's what I though. Mine update.zip was 5.4GB. Shoot, that's whole lotta apps+data. Oh haha, looks like TRWP was freakin out and gave up. :laugh:
So.. what do you do if the update.zip > 2 GB? Googling led me to this post, but I'm looking for an answer. I have a 2.6 GB update.zip file and TWRP just gives an 'Error 3' when I try to install it.
Vortran said:
So.. what do you do if the update.zip > 2 GB? Googling led me to this post, but I'm looking for an answer. I have a 2.6 GB update.zip file and TWRP just gives an 'Error 3' when I try to install it.
Click to expand...
Click to collapse
max size 2GB
It's an old thread but did restoring via update.zip as improved? Also, is there still the 2gb limit since we are like 4 years after the last post Thnx for your feedback
Seems not like it. With latest Titanium backup version on 14 November 2018 I can't restore an update.zip bigger than 2GB (haven't tried smaller though).
Error 3 I get in TWRP

Titanium Backup / Restore

Hello everyone .
I'm experiencing some setbacks with my backups.
It is the following: I can not flash to backup my apps next to ROM, I simply need to wait for ROM to start, then yes, I will flash the zip of my applications !!!
With the zipme it is possible to flash together with the ROM, but with the titanium not! But the zipme on my phone to the apps are giving FC, so I have to use the titanium!
But do you have a solution for that? Something I can change in the script or something? To be able to flash apps in conjunction with the rom installation?

Categories

Resources