Trouble extracting app from TWRP Nandroid backup on USB stick - General Questions and Answers

My phone got stuck in a bootloop where it could only get to recovery. Using the recovery I created a nandroid backup to the a USB stick using an OTG cable. I flashed the stock firmware and got things setup but I can't restore individuals apps from the nandroid. I copied the nandroid from the usb to sd card but it still doesn't work. I tried restoring apps using Nandroid Manager but when the app is launched it gives the error "app has stopped, close app". For some reasons sms succesfully restored but no user apps. I tried restoring with AppExtractor but it gives the error "unable to generate apk listing"
I also have titanium backup pro but couldn't get it to find the location of the nandroid to try extracting with it.
Any ideas? I really just want my messages back from Whatsapp.
My phone is a moto g4 plus running stock Nougat with busybox installed and elementalx kernel. It should be the same environment now as when the backups were made.

Related

[Q] CWM 3.0.0.6 Failure question

I am not sure how or why but I have had two instances now where the Nandroid backup has failed. Once with a backup of CoreDroid 4.9 MD5 mismatch wont restore and once now with CoreDroid 5.0 same error when i try to restore. I have tested and verified that it is not the rom.
I did a full wipe again
reinstalled full version ROM
set it up with a few apps
did a nandroid backup
rebooted
restored backup from SD card
Restored and booted no issue
All Normal! I do not know what happened on the other two backups?
Normally I boot to CWM by means of Rom Manager which gives you the option to name your backup. It is possible that I did those by means of CWM (Going directly to CWM with ADB) which does not allow you enter a name. It just starts and assigns it a name (number) and then I changed the name later on? Not sure. I am also not sure if this would cause a MD5 mismatch?
Always a concern if a backup does not work 100% of the time until I find a cause.
Has anyone seen this before?
Thanks all.....
Has there been any other reports of this? This is the first time I have had an error with CWM and I have had it twice.....

[Q] How Do I Restore Backup of Cyanogen 11 using CWM v6 Error while restoring /data!

Okay wow, I'm very confused and have been Googling/reading the forums for hours now. I'm a complete noob and here's exactly what I did.
Currently have CWM touch v6 and Cyanogenmod 11
1. I have been running everything for a month with no problems at all.
2. I made a backup of my stock rom before I switched to Cyanogenmod 11, and I've also tested going into it and back to 11 in the past.. I know it works!
3. Today I decided I wanted to go into the the stock rom again and view some old text from my gf.
4. Before going back to my old stock backup, I decided to make a current backup of my Cyanogenmod 11
5. I also decided to make sure that one worked, so I made another backup of my current 11
6. Upon trying to access the backup I ran into a md5 hash error and noticed it wasn't creating a nandroid file for the cyanogenmod backups like it did for the old stock rom backup.
7. I went in and created a new file blank file "nandroid.md5" for both the Cyanogen backups I created.
8. Upon trying to restore again, I now received, "error while restoring /data!"
9. I was able to access the rom, however it only seemed to have loaded a partial amount of my /data ...I even I had to go back through the cyanogenmod prompts as if I freshly installed the rom, but my text messages/apps were all there.
10. I then attempted to wipe everything (using the wipe settings cache/dal/etc in CWM) and install the stock rom (since I know it works). Again I received the, "error while restoring /data!". But, again the same story, it loaded the stock rom, but with partial data and as if I freshly installed it.
11. I found online the problem could be due to the partition size not being able to handle the backup size (and my backups are over 600mb)..I deleted the stock rom (taking up 1gb) and again tried to install my Cyanogenmod 11 backup, to again be greeted with, "error while restoring /data!"
QUESTION 1:. I've read that using the Titanium app or nandroid manager can help alleviate the issue by restoring items, but how can I solve this annoying "error while restoring /data!" error?
QUESTION 2: I have the entire backup folder pulled from adb on my desktop, would it be advisable to use the format /Data and /Data/Media option on CWM and then push the Cyanogenmod 11 backup back into my phone and then try restoring? I've also read someone was able to factory restore their phone from settings, then try restoring the rom.. is this advisable?
Thanks in advance for the help, I have a headache

[Q] Textsecure backup issue -nandroid

Hey, I'm in a bit of a bind.
I updated cyanogenmod yesterday, and stupidly didn't do a nandroid beforehand or use titanium backup. I had to wipe because it was boot looping.
The only thing I really want is my textsecure SMSs. After it bootlooped, I did a nandroid of the broken system and then wiped and reflashed hoping to extract out of the nandroid.
I first tried the process using Titanium Backup, and then Nandroid Manager. Titanium backup crashes when trying to restore anything. Nandroid Manager app can successfully restore apps from the nandroid backup, however if I try that with Textsecure, Textsecure just force closes when i try to open it.
Considering I still have an intact backup of my old system, just not able to be booted into, do you think there is any way I can get my TextSecure messages back. My last titanium backup was over 9 months ago, so I'd rather not lose that.

Titanium Backup error 3 when flashing "update.zip" from TWRP!

TL;DR: How to fix Titanium Backup error 3 while flashing "update.zip" from TWRP?
I have been using Android for more than five years now seriously and it is a bit funny that I did not know I could restore data to newly flashed ROM.
Previously, I would just wipe system and flash new ROM not touching data partition and that worked just fine.
That is past seems.
I have flashed new ROM which is based on stock Samsung Galaxy S9 Plus ROM so I could get official updates. The problem is my phone lost one fifth of its performance according to benchmark and it experiences random reboots (I hope not while I am typing ?)
All in all, by restoring previous data on new ROM some of the files seem not to be overwritten well on new ROM (possibly application versions not getting downgraded well).
LogCat did not help.
I deleted my data (I have backup of course) and my system works normally so it is a data problem.
That is where Titanium Backup came into play.
I made backup of all user applications and an "update.zip".
When I want to flash "update.zip I get error code 3.
Some say it is due system partition but I formatted it in couple of manners and I am still unable to restore.
Is there any other way to restore applications and its data to new ROM?
I have tried backing up the applications and moving the Titanium Backup folder to SD card and moving it back when I flash new ROM. Backup does not get detected.
Thank you in advance!
dedq said:
TL;DR: How to fix Titanium Backup error 3 while flashing "update.zip" from TWRP?
I have been using Android for more than five years now seriously and it is a bit funny that I did not know I could restore data to newly flashed ROM.
Previously, I would just wipe system and flash new ROM not touching data partition and that worked just fine.
That is past seems.
I have flashed new ROM which is based on stock Samsung Galaxy S9 Plus ROM so I could get official updates. The problem is my phone lost one fifth of its performance according to benchmark and it experiences random reboots (I hope not while I am typing [emoji854])
All in all, by restoring previous data on new ROM some of the files seem not to be overwritten well on new ROM (possibly application versions not getting downgraded well).
LogCat did not help.
I deleted my data (I have backup of course) and my system works normally so it is a data problem.
That is where Titanium Backup came into play.
I made backup of all user applications and an "update.zip".
When I want to flash "update.zip I get error code 3.
Some say it is due system partition but I formatted it in couple of manners and I am still unable to restore.
Is there any other way to restore applications and its data to new ROM?
I have tried backing up the applications and moving the Titanium Backup folder to SD card and moving it back when I flash new ROM. Backup does not get detected.
Thank you in advance!
Click to expand...
Click to collapse
When switching ROMs, restoring data from a previous ROM causes issues, especially when the data contains system data and apps from the previous ROM, user apps and their data usually restore fine, but the system stuff doesn't.
Sent from my SM-S767VL using Tapatalk
Solved using Migrate.

How to restore TitatniumBackup backup?

I have been successfully backing up WhatsApp using TitaniumBacup. Now I need to restore it but it just says "restore failed". Is there anything way I can still restore the backups? I'm on a rooted Android 13 phone.
Was Android when you backed up another version than 13?
xXx yYy said:
Was Android when you backed up another version than 13?
Click to expand...
Click to collapse
Yes
For anyone else looking for a way to restore backups made with Titaniumbackup, I used this work around.
Install Phoenix OS. It comes with root access. I downloaded the ISO from here and installed it on a virtual machine. Then install TitaniumBackup, put the backups on a USB and connect it to the VM, then restore the backups using TitaniumBackup. Then find an alternative to Titaniumbackup that works. I used Swift. Then use Swift to backup the now restored app and its data. Copy the backup Swift created to a USB drive. Then transfer the backup to the device you actually want to use it on, install Swift and restore.
Official updates for this still out there?

Categories

Resources