Backup TWRP // Backup Apps and restore - Xiaomi Mi 9 Questions & Answers

Hey :good:
Ive got some questions and hope somebody can help me here!
I've got TWRP 3.3.1-46 installed.
I can backup the boot, recovery, system image and vendor image without any problems. However, when backing up the data, I keep getting "createTarFork()" with error 255. I have been searching on google for some time, but have not found the right solution. Has anyone had the problem with MI9 before?
Furthermore I use "titatnium backup" with the pro version to backup the apps. But since a few months I have a lot of problems with this apps too. During the restore the app hangs or the apps are not restored and I have to intervene manually again and again (out of 120apps this concerns about 30). Does anyone have a good alternative?
thank you so much!

LyDjane said:
Hey :good:
Ive got some questions and hope somebody can help me here!
I've got TWRP 3.3.1-46 installed.
I can backup the boot, recovery, system image and vendor image without any problems. However, when backing up the data, I keep getting "createTarFork()" with error 255. I have been searching on google for some time, but have not found the right solution. Has anyone had the problem with MI9 before?
Furthermore I use "titatnium backup" with the pro version to backup the apps. But since a few months I have a lot of problems with this apps too. During the restore the app hangs or the apps are not restored and I have to intervene manually again and again (out of 120apps this concerns about 30). Does anyone have a good alternative?
thank you so much!
Click to expand...
Click to collapse
1 I've had the same, you can find the problem in twrp log. For me it was the empty folder data pre_boot. Deleted and ok.
2. I've the same prob. Some apps didn't restore, only if you installed first manually the app and then restore is working.

Laptapper said:
1 I've had the same, you can find the problem in twrp log. For me it was the empty folder data pre_boot. Deleted and ok.
Click to expand...
Click to collapse
Okay. Where i can find this folder?
Laptapper said:
2. I've the same prob. Some apps didn't restore, only if you installed first manually the app and then restore is working.
Click to expand...
Click to collapse
Youve contact Titanium Backup?

LyDjane said:
Okay. Where i can find this folder?
Youve contact Titanium Backup?
Click to expand...
Click to collapse
Root data pre_boot
No. I'll hope they knew and give an update

LyDjane said:
Okay. Where i can find this folder?
Youve contact Titanium Backup?
Click to expand...
Click to collapse
Yep, same issue here fixed the same way:good:
You'll need to use a file explorer with root privileges to go to the /data folder, keep in mind.
Maybe twrp explorer could do it as well?

Laptapper said:
Root data pre_boot
No. I'll hope they knew and give an update
Click to expand...
Click to collapse
that would be good yes. I cant find a folder that name is "pre_boot"?

1) The official TWRP version for Mi 9 is 3.3.1-0, based on last version of Mauronofrio 3.3.1-52. So I suggest to first migrate onto the current version and to try again.
2) Many problems have been reported for Titanium Backup. I'm using Swift Backup instead without any issues so far.
Cheers
Toscha

LyDjane said:
that would be good yes. I cant find a folder that name is "pre_boot"?
Click to expand...
Click to collapse
It's exactly Per_boot
(Unsure about the underscore)

toscha42 said:
1) The official TWRP version for Mi 9 is 3.3.1-0, based on last version of Mauronofrio 3.3.1-52. So I suggest to first migrate onto the current version and to try again.
2) Many problems have been reported for Titanium Backup. I'm using Swift Backup instead without any issues so far.
Cheers
Toscha
Click to expand...
Click to collapse
can i flash over my twrp without problems? would install via twrp?

Exactly, just flash over the existing TWRP. And yes, you can install through existing TWRP. Just follow the installation guide here.
Cheers
Toscha

toscha42 said:
Exactly, just flash over the existing TWRP. And yes, you can install through existing TWRP. Just follow the installation guide here.
Cheers
Toscha
Click to expand...
Click to collapse
same problem again after flashing 3.3.1-0

toscha42 said:
2) Many problems have been reported for Titanium Backup. I'm using Swift Backup instead without any issues so far.
Click to expand...
Click to collapse
I've been using Swift for quite some time and it certainly lives up to it's name. It backs up so fast compared to TB that at first you assume it can't be working right. I've never had a problem with backup/restores and the UI, especially in dark mode, is great. It will also easily backup sms messages, call logs, wallpapers and wifi settings.
Can't recommend this highly enough.

sooo guys!
ive tested swift backup and it works like charm! awesome no errors or problems. Bought premium directly.
after flashing 3.3.1.-0 twrp and deleten folder pre_boot now it works too!

LyDjane said:
sooo guys!
ive tested swift backup and it works like charm! awesome no errors or problems. Bought premium directly.
after flashing 3.3.1.-0 twrp and deleten folder pre_boot now it works too!
Click to expand...
Click to collapse
Swift backup is really good, but I need to restore sometimes system apps and so I've to be with titanium. Also I'm using freezing apps and other things which aren't possible with swift backup.

Related

[RECOVERY] CWM Normal & Touch Recovery 6.0.1.2

As i saw and received some pm asking about this new version that Koush doesnt have time to rebuild it, i´ve done myself and its working like a charm in our p990 devices.
All credits to Koush i´ve just compiled from cm sources
Edit: Update to cwm v6.0.1.2
Edit2: Uploaded Normal Recovery for those that dont want to use touch or doesnt use ICS kernels.
Kashamalaga said:
As i saw and received some pm asking about this new version that Koush doesnt have time to rebuild it, i´ve done myself and its working like a charm in our p990 devices.
All credits to Koush and Rusty! i´ve just compiled from cm sources
Mediafire Mirror:
Edit mirror off until i solve a unpleasure bug that always boot recovery partition
Click to expand...
Click to collapse
It's a frequent bug with cwm...
Perhaps this can help you we had this problem on my tablet: http://forum.xda-developers.com/showthread.php?t=1601942
Nice work! CWM 6 Touch was long overdue!
Striatum_bdr said:
It's a frequent bug with cwm...
Click to expand...
Click to collapse
Thanks for the info, i found the bug on postrecoveryboot
tonyp said:
Had tried it before, didn't work.
Did you use the online builder?
Didn't spend too much time into it though, I'm now with twrp.
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
Yes but like you know repo from koush are clear from p990 files so i already done from my own cm source.
Its working like a charm and incremental backups rocks, just 27mb for example a complete backup forget it about every backup 1GB
Not able to find incremental backup.
parthabhatta said:
Not able to find incremental backup.
Click to expand...
Click to collapse
Dear,
if you dont touch nothing by default dpu extension files gives you that. For example if you had a old backup just backup does a small update backup as in this screenshot.
Picture: http://i47.tinypic.com/11vp6x5.jpg
Great concept. Got to understand the thing.
will it change the previous backup? can we still restore?
Does it have the same bug as the previous one that was corrupting cache partition?
mind_challenge said:
Does it have the same bug as the previous one that was corrupting cache partition?
Click to expand...
Click to collapse
fixed.
orbital_71 said:
will it change the previous backup? can we still restore?
Click to expand...
Click to collapse
yes still can restore old backups
Kashamalaga said:
fixed.
Click to expand...
Click to collapse
Any other known bugs?
orbital_71 said:
will it change the previous backup? can we still restore?
Click to expand...
Click to collapse
mind_challenge said:
Any other known bugs?
Click to expand...
Click to collapse
No
parthabhatta said:
Great concept. Got to understand the thing.
Click to expand...
Click to collapse
This is further to my quoted post.
I made two backups of my ROM.
The first one to external card (I am on stock v20h modded by Flix) where I had previously two full backups stored - made with regular CWM. Out of the two full backups - one is of the default FROYO ROM when I bought the phone and another is of some other Custom ROM not related to v20h. Now this CWM made a backup of only 28+ mb.
The second backup I made to internal card where previously no CWM Backup existed. But again the v20h backup created by this CWM 6 (touch) which is only for 28+mb.
Its very good since so little space is being taken. But wherefrom CWM is taking its reference as the main backup on which this incremental backup is created?
I have no problems with this but only for the sake of curiosity I am wanting to know the details of this great concept.
I have still not tried RESTORE. I will try that from the backup created in my internal memory of only 28+mb and report back.
parthabhatta said:
This is further to my quoted post.
I made two backups of my ROM.
The first one to external card (I am on stock v20h modded by Flix) where I had previously two full backups stored - made with regular CWM. Out of the two full backups - one is of the default FROYO ROM when I bought the phone and another is of some other Custom ROM not related to v20h. Now this CWM made a backup of only 28+ mb.
The second backup I made to internal card where previously no CWM Backup existed. But again the v20h backup created by this CWM 6 (touch) which is only for 28+mb.
Its very good since so little space is being taken. But wherefrom CWM is taking its reference as the main backup on which this incremental backup is created?
I have no problems with this but only for the sake of curiosity I am wanting to know the details of this great concept.
I have still not tried RESTORE. I will try that from the backup created in my internal memory of only 28+mb and report back.
Click to expand...
Click to collapse
Its use the sdcard/clockworckmod/blobs files to check and recover if an error appears so its better to get all the backups in your sdcard, i´´ never use internal memory for do backups, and like you said its take that as reference from the blobs
Kashamalaga said:
Its use the sdcard/clockworckmod/blobs files to check and recover if an error appears so its better to get all the backups in your sdcard, i´´ never use internal memory for do backups, and like you said its take that as reference from the blobs
Click to expand...
Click to collapse
Thanks. Now I understand. Once it stores all necessary information in "BLOBS" folder (which is of 790+mb in my case) and makes backups of <30mb each time I backup a installed ROM. Good one.
Tested it now, everything works perfect.
mind_challenge said:
Tested it now, everything works perfect.
Click to expand...
Click to collapse
Thanks for your testing :good:
Is it normal that backup needs a lot more time than wih CWM 5?
Impact7 said:
Is it normal that backup needs a lot more time than wih CWM 5?
Click to expand...
Click to collapse
Just on first time use when you need to create blobs after that runs awesome! :silly:

[SOLVED] System.img ROM RUU TWRP BKP request

i have deleted my OS and now im stuck with cynemod(witch i hate) can anyone post a link for images when avaiable or extract a system.img from the phone.
Many thanks
decisionif it will work in other devices.
it seems it might take a while until ROMs are available so i decided to send my phone to HTC to put the system back on.
Ill do a TWRP backup first thing and share but not sure it will work in other devices.
If anybody knows out to extract the ROM, please post it here.
thank you
I have posted a complete mini 2 system dump here in another thread, if it helps
http://forum.xda-developers.com/one-mini-2/help/request-dump-t2808555
gibihr said:
I have posted a complete mini 2 system dump here in another thread, if it helps
http://forum.xda-developers.com/one-mini-2/help/request-dump-t2808555
Click to expand...
Click to collapse
yeah i saw that and got the dump but i cannot compile for a rom.
Yeah, it bad when this happens.. Been there, done that.. Currently waiting for RUU because in Croatia service they still don't have new version.. So i wait and wait... Will try again in a few days.
Finnaly
OK so i finally got my phone from HTC and here is the TWRP from original Stock.
My CID is HTC_UK001
Not sure if it work on others but just try.
Just unpack>send to phone or memory card and restore backup using TWRP
[URL="https://mega.nz/#!H8MhFLLY!WF5r4CwkXOg3Xda1YP_ESAKRNeY7AC5jkA_tIW65PwU[/URL]
Hope it helps
BTW inside the backup theres a image file. Wondering if we can change the file name to .IMG and flash
kativiti said:
OK so i finally got my phone from HTC and here is the TWRP from original Stock.
My CID is HTC_UK001
Not sure if it work on others but just try.
Just unpack>send to phone or memory card and restore backup using TWRP
https://mega.co.nz/#!msthgIJB!WF5r4CwkXOg3Xda1YP_ESAKRNeY7AC5jkA_tIW65PwU
Hope it helps
BTW inside the backup theres a image file. Wondering if we can change the file name to .IMG and flash
Click to expand...
Click to collapse
Great man, it worked on my HTC_032. Thanks!!
mad_wings said:
Great man, it worked on my HTC_032. Thanks!!
Click to expand...
Click to collapse
That sounds great guys.
How about a quick "how-to" for the rest of us. TWRP, root etc. if used, or at least how you went about flashing the stock ?
dbxoneA said:
That sounds great guys.
How about a quick "how-to" for the rest of us. TWRP, root etc. if used, or at least how you went about flashing the stock ?
Click to expand...
Click to collapse
just search in the forum you'll find loads of tutorial in how to do it.
Install TWRP
download file from link above
send to phone via sd card or TWRP adb push (google it)
use twrp to install from backup.
Need more help? come back and we'll try again.
kativiti said:
just search in the forum you'll find loads of tutorial in how to do it.
Install TWRP
download file from link above
send to phone via sd card or TWRP adb push (google it)
use twrp to install from backup.
Need more help? come back and we'll try again.
Click to expand...
Click to collapse
Good stuff, thanks mate.
Tried it, works great!
kativiti said:
OK so i finally got my phone from HTC and here is the TWRP from original Stock.
My CID is HTC_UK001
Not sure if it work on others but just try.
Just unpack>send to phone or memory card and restore backup using TWRP
https://mega.co.nz/#!msthgIJB!WF5r4CwkXOg3Xda1YP_ESAKRNeY7AC5jkA_tIW65PwU
Hope it helps
BTW inside the backup theres a image file. Wondering if we can change the file name to .IMG and flash
Click to expand...
Click to collapse
sorry for noob question, can you tell me about its version and other details?
nsnobel2 said:
sorry for noob question, can you tell me about its version and other details?
Click to expand...
Click to collapse
there you go bud
kativiti said:
there you go bud
Click to expand...
Click to collapse
But it could not remove demo video from phone, its not live demo unit, its working phone but htc add this **** in phone, any idea to remove this?
nsnobel2 said:
But it could not remove demo video from phone, its not live demo unit, its working phone but htc add this **** in phone, any idea to remove this?
Click to expand...
Click to collapse
are you using my backup? thats weird. The backup its from retail and nobody else complain. try Wipe data & factory reset.
kativiti said:
are you using my backup? thats weird. The backup its from retail and nobody else complain. try Wipe data & factory reset.
Click to expand...
Click to collapse
My phone is also retail and already have demo on it before using your backup but unfortunately your backup could not delete that aap , Wipe data & factory reset is also not helpful ,
Any other suggestion?
nsnobel2 said:
My phone is also retail and already have demo on it before using your backup but unfortunately your backup could not delete that aap , Wipe data & factory reset is also not helpful ,
Any other suggestion?
Click to expand...
Click to collapse
according to a search in Google its not possible to be retail and have a demo because its 2 different ROMS.
you can use TWRP to wipe everything Data, Dalvik and System.
Then use the backup.
This are tips so please use at your own risk.
kativiti said:
according to a search in Google its not possible to be retail and have a demo because its 2 different ROMS.
you can use TWRP to wipe everything Data, Dalvik and System.
Then use the backup.
This are tips so please use at your own risk.
Click to expand...
Click to collapse
I can use sim on it, believe me its a retail phone with demo app, I did wipe everything Data, Dalvik and System and restore your backup but same result,
nsnobel2 said:
I can use sim on it, believe me its a retail phone with demo app, I did wipe everything Data, Dalvik and System and restore your backup but same result,
Click to expand...
Click to collapse
dont know what to say to that, however, you can try this:
http://repo.xposed.info/
install framework (use flash mode) and look for module BootManager. You can choose witch apps will run at system start. Disable demo app.
Make sure you follow all instructions and good luck.
let us know how it goes.
kativiti said:
there you go bud
Click to expand...
Click to collapse
I can't restore that backup. Have other suggestion.
nasirum said:
I can't restore that backup. Have other suggestion.
Click to expand...
Click to collapse
theres nothing else at the moment. why cant you restore?

[Q] twrp can't do any backup

I can't do any backup of stock rom, I already have bootloaded and rooted the device...
is it just of me?
Depends on which TWRP you are using.
The one from suhas.holla seems to have some problems while adrianom claims to have fixed it.
just use this one - https://drive.google.com/folder/d/0B0AbMwIJ-N7xM25CdjlQOUl2Qlk/edit
It's the previous version. This one is relatively bugless except it only backs up to external sd
mahendru1992 said:
just use this one - https://drive.google.com/folder/d/0B0AbMwIJ-N7xM25CdjlQOUl2Qlk/edit
It's the previous version. This one is relatively bugless except it only backs up to external sd
Click to expand...
Click to collapse
Does restoring the backup work? IIRC that doesn't work in any TWRP.
Rochambeau said:
Does restoring the backup work? IIRC that doesn't work in any TWRP.
Click to expand...
Click to collapse
Oh boy, I haven't checked this since I haven't had the need to
Thanks for the information and help.
I think i'm gonna wait for TWRP Updates Coming Soon with Fixes.
I want to backup before install and use xposed...
Already installed xposed, but uninstalled it to make the backup...

Complete backup

I really would like to try the new CM12 ROM, but using this device as a daily driver I'd like to be able to go back to the current ROM without too many difficulties. So I was wondering if there is a way to fully backup the device (on PC would be perfect) and by that I mean firmware, installed apps, settings, data, ... all of it; install the CM12 and if something goes wrong flash the backup with everything in it.
Thank you guys.
psixda said:
I really would like to try the new CM12 ROM, but using this device as a daily driver I'd like to be able to go back to the current ROM without too many difficulties. So I was wondering if there is a way to fully backup the device (on PC would be perfect) and by that I mean firmware, installed apps, settings, data, ... all of it; install the CM12 and if something goes wrong flash the backup with everything in it.
Thank you guys.
Click to expand...
Click to collapse
I have a G800H and have TWRP working fine. Search and ye shall find!
Regards
Keliuss
keliuss said:
I have a G800H and have TWRP working fine. Search and ye shall find!
Regards
Keliuss
Click to expand...
Click to collapse
Do you mean the version available here? does it neet to be this special version or is there a version for G800H in twrp website? thanks.
TWRP is unofficial, no have it in official site! Look in http://forum.xda-developers.com/galaxy-s5-mini/orig-development/recovery-twrp-2-8-t2924611
Do fully backup and restore whenever you want
P.S: dont use wipe dalvik/cache button after flash anything, will crash your partitions.

[RECOVERY][3.1.1-0] TWRP for hi6250 devices [METICULUS]

No more development from me.
XDA:DevDB Information
TWRP for the Hauwei P9 Lite, Tool/Utility for the Huawei P9 Lite
Contributors
Meticulus
Source Code: https://github.com/Meticulus
Version Information
Status: Beta
Created 2016-11-01
Last Updated 2018-01-18
Installed using my old TWRP, I can confirm that its working properly on my Huawei P9 Lite
So that means when we are using CM13, we can revent back to stock by just restoring our nandroid backup?
Works fine, but you made a mistake in assert lines il your CM13 updater script, you wrote hi2650 instead of hi6250 haha
installed and perfect, thanks
Johnny TDN said:
So that means when we are using CM13, we can revent back to stock by just restoring our nandroid backup?
Click to expand...
Click to collapse
Not quite... Please see FAQ on download page...
enzo24754 said:
Works fine, but you made a mistake in assert lines il your CM13 updater script, you wrote hi2650 instead of hi6250 haha
Click to expand...
Click to collapse
Really... I thought I had that fixed... [emoji6]
So can use this twrp to flash cyanogenmod? And flash stock? Thanks in advance.
Edit: already know it
finely the error 255 is gone , i manage to make a backup , thanks
Link offline
Please, can someone share the file, the download link is offline.
Thank you in advance.
tonioricciato said:
Please, can someone share the file, the download link is offline.
Thank you in advance.
Click to expand...
Click to collapse
The link isn't offline.
Sent from my P9-Lite using Tapatalk
tonioricciato said:
Please, can someone share the file, the download link is offline.
Thank you in advance.
Click to expand...
Click to collapse
Incorrect: tested working...
Meticulus said:
Incorrect: tested working...
Click to expand...
Click to collapse
Hi,
using the dns of google (8.8.8.8/8.8.4.4) the site is unreachable.
Solved thank to opendns.
Hey Meticulus. When I was going to flash your CM, firstly I wiped all the partitions including system. Then I thought maybe restarting the recovery may be good idea. Afterwards the recovery could not boot and the screen was flickering. After some time I figured out that the chinese TWRP worked. So if there is no system installed the recovery couldn't tell if there is stock or CM installed and so it did nothing. Could you look into that? Maybe I am wrong. Thanks.
twrp no full support selinux. how to fix? I'm on stock
Have Problem with
Slect Storage
Micro SD card (0 mb) can't select.
Is with offical twrp same
[EDIT]
Okay i have fixed.
SD card formatted with phone
I cant mount /data partition on stock rom (red recovery).
adek350 said:
I cant mount /data partition on stock rom (red recovery).
Click to expand...
Click to collapse
Did you restore a back up while on CM without restoring the "dump"?
Meticulus said:
Did you restore a back up while on CM without restoring the "dump"?
Click to expand...
Click to collapse
Yes, what do I do now?
adek350 said:
Yes, what do I do now?
Click to expand...
Click to collapse
If you did a dump and have the files then restore the dump ( follow on screen instruction at the end ) and the restore your back up again. If you do not have a dump then you'll need to go through the process of restoring a stock ROM. To be honest, I've never flash a stock ROM but there should be plenty of info around here about how to do it, and plenty of people willing to help you with it.

Categories

Resources