Is it possible to restore from twrp? - Xiaomi Poco F1 Questions & Answers

So i run The latest miui. Rooted with magisk.
Some time ago i backup this rom. Installed a custom one. Didnt like it.
When i tried to restore The rom. My Phone data was envrypted. And no password worked. I tried every password i have ever had. So my whole internal memory was lost since i had to format everything.. I really dont want this to happen again..
How do you restore stuff without this happening?

psrkallez06 said:
So i run The latest miui. Rooted with magisk.
Some time ago i backup this rom. Installed a custom one. Didnt like it.
When i tried to restore The rom. My Phone data was envrypted. And no password worked. I tried every password i have ever had. So my whole internal memory was lost since i had to format everything.. I really dont want this to happen again..
How do you restore stuff without this happening?
Click to expand...
Click to collapse
It's not recommended to restore miui with twrp. There are two options how I would proceed:
1. Use Migrate app or Titanium backup. Flash rom, boot and than restore apps.
I always backup via Migrate app, it dumps everything in a zip as backup including call logs, sms, apps etc. That zip can be flashed via twrp.
2. Remove all passwords, lock screen fingerprint screen lock etc from MIUI, rom should not be encrypted and than backup via twrp which you can restore later. Though I personally wouldn't suggest this method.

Related

[Q] What is lost during a ROM change? How to backup phone so I can play with ROMS

I'm running streakdroid 1.9 but I would like to do some experimentation with my streak. If I flash a new rom what will I lose? How do you backup your data so you can flash to your hearts content?
Thanks
if u flash stock roms, they do a factory reset during first start up.
So u end up loosing everything.
However if u flash .zip version of the stock roms using CWM or streak recovery , u will retain almost everything but may loose somethings like root and so on.
Remember stock roms will flash its default recovery everytime it boots up
Ok thanks. Is it wise to do a factory reset anyway?
What tools can I use to backup messages, apps, photos, etc?
I use titanium backup.
If you do a nandroid backup, when you restore it, everything will be just as it was before you flashed another ROM...
As far as using Titanium... it has never worked for me completely, nor has MyBackUp Pro, they cause me more headache than being useful...
I have gotten to the point to when I flash a new ROM, I just manually install everything, I know it sounds like some hassle, but you end up with a much smoother operating phone.
I even do a nandroid backup first, then go into my ROM and manually uninstall everything, so that when I boot up my new ROM and setup my market account, it doesn't try to install everything on its own and bog down my phone at first, I install everything manually in the order I want and set them up as I go.
I know this sounds cumbersome, but I have found it creates a cleaner environment and practically eliminated force closes
That is the way I like to do things also but what about the things that you can't just re-install e.g. sms, application specific data?
Advice
I was having a sim card and constant restart issue after updating to streakroid 2.4.4, and even after flashing dsc, the problem persisted. After I reviewed the steps I had taken I realized that I never did a factory resest (fearing I would forever lose my precious app data, which I did -_-). It turned out that was the fix, after doing the factory reset, my sim card was recognized immediately and a couple of the text I had missed showed up. However, I fixed one fixed problem and developed another.
Even though I restored a MyBackup and Titanium backup I did right before resetting I recovered my several apps without their precious data (setting, notes, bookmarks). I tried doing internal backups within the apps, some conveniently had syncs to a cloud yet I missed doing that with a few apps because I have over 100+ and I use more than half on a regular basis (even if for 5 minutes). All my apps are on my device, which is a good thing but I cant appreciate that given the missing data.
So my advice is:
Use apps that have can automatically backup or sync data -- there are enough apps with similiar utility that you can avoid ones without that function.
Do a manual backup within your important apps. -- Some apps backup files to locations that may be wiped during update, doesn't have auto backup or the last backup is months old.
Pics, texts, call logs are easily backed up -- Backup programs will explicitly state or ask what to back up in that regard.
Do a nandroid backup -- I believe this only restores rom and apps but someone can correct me.
Caveat
Through all the research done before actually need to restore a backup I missed the fact when restore apps depending on the restore program every app has to be reinstalled individually. If you have more than 25 apps then #$#@!, also for some reason when restoring with titanium if during a batch restore you come across an app if you hit cancel during one of the install prompts because you actually don't want to restore that app the batch will freeze and you'll have to force close titanium and start the restore all over. Go through the list of restore options and choose each app one by one, save yourself the time.
Lastly, to piggy back off what was said before, a factory reset( FR) after updating rom is always recommended but its not always needed. Most roms will update without causing you to lose any data but like I said previously I had sim card issues when I updated without a FR. YMMV
At this point I don't know if this helps the OP but maybe it will benefit someone else who reads this thread.
This guide by _n0p_ tells how to do an upgrade and minimize the re-installation of apps.
Key items:
Use the backup function of any apps that have it
Don't count on restoring data with TB or My Backup
Make a nandroid - just in case
I have found TB and My Backup to be useful for things like browser bookmarks.
The post linked to discussed going from Froyo to Gingerbread but the same techniques apply for moving to any other ROM.
Last time i changed roms, i used the Dell backup utility for evertyhing but the apps, which can be backed up together with their data with QtADB which creates a backup folder on your SD. After installing the new rom, i chose advanced recovery from the Dell Utility and set it to recover everything but the apps, which i recovered with QtADB. However, I also strongly recommend nandroid, in case the steak doesn't boot after the install.

How to clean my SGS II ?

hello
how can I clean my SGSII ,phone SD, and external SD card from old installation files, folders,. Bla bla bla
now I have my ideal settings , ROM , everything ,
is there any way to format everything then restore CWM backup ?
thx
Backup everything (Ti, Nandroid, calls, sms, etc). Format cache, data, system & internal sd card in CWM. Flash stock rom in Odin, CFRoot to get CWM, flash rom/kernel of your choice. Then clean install your apps from Google Play/wherever you got them from (preferable) & restore calendar/contacts from Google, & restore call/sms log with whatever app you used to back them up (provided this app only backs up/restores the logs/sms themselves & not the apk like some of these apps do). You could also restore your apps with Ti (not system apps) but if you do, don't restore data.
That will give you a clean start.
MistahBungle said:
Backup everything (Ti, Nandroid, calls, sms, etc). Format cache, data, system & internal sd card in CWM. Flash stock rom in Odin, CFRoot to get CWM, flash rom/kernel of your choice. Then clean install your apps from Google Play/wherever you got them from (preferable) & restore calendar/contacts from Google, & restore call/sms log with whatever app you used to back them up (provided this app only backs up/restores the logs/sms themselves & not the apk like some of these apps do). You could also restore your apps with Ti (not system apps) but if you do, don't restore data.
That will give you a clean start.
Click to expand...
Click to collapse
can I transfer the CWM backup to PC , then transfer it again to SD card after installing ROM, and restore the CWM backup ?
btw I have two CWM backups and I'm unable to restore one of them ,.it stock on " checking MD5 sums" for a while then phone boots without restoring anything
Of course you can. But what's the point of doing a clean install if you're going to restore a Nandroid which is a copy of your setup at the time you took the backup ? Kinda defeats the purpose. If you're having problems which you think are as a result of having a lot of crap on your phone; easy to happen if you haven't done a wipe for a while/have flashed a lot, if you restore a Nandroid you're going to have the same problems.
Personally, I do the steps I suggested every 4-6 weeks (instead of flashing stock after I wipe everything I normally flash CM9 Resurrection via Odin & go from there). I find it's an hour or two well spent. Phone runs much better after.
Up to you which way you want to go tho.
gitan_reel said:
can I transfer the CWM backup to PC , then transfer it again to SD card after installing ROM, and restore the CWM backup ?
btw I have two CWM backups and I'm unable to restore one of them ,.it stock on " checking MD5 sums" for a while then phone boots without restoring anything
Click to expand...
Click to collapse
MistahBungle said:
Of course you can. But what's the point of doing a clean install if you're going to restore a Nandroid which is a copy of your setup at the time you took the backup ? Kinda defeats the purpose. If you're having problems which you think are as a result of having a lot of crap on your phone; easy to happen if you haven't done a wipe for a while/have flashed a lot, if you restore a Nandroid you're going to have the same problems.
Personally, I do the steps I suggested every 4-6 weeks (instead of flashing stock after I wipe everything I normally flash CM9 Resurrection via Odin & go from there). I find it's an hour or two well spent. Phone runs much better after.
Up to you which way you want to go tho.
Click to expand...
Click to collapse
Thx , any idea why CWM gives this message" MD5 mismatch ! "
Lots of threads on here about that (understatement); search.
gitan_reel said:
Thx , any idea why CWM gives this message" MD5 mismatch ! "
Click to expand...
Click to collapse

Procedure for (re)flashing ROMs (and backup)

i've really only used rom manager in the past, and now with the LTE i'm using Goo manager, and TWRP for a recovery. my question is, for those that want to try a new ROM, what is your procedure for backing up your ROM and apps, etc.? i ask because i flashed to viperROM, and backed it up via TWRP recovery, went to try another ROM out, and then wanted to reflash with the backup i had created, but wasn't sure where to find it to flash back. was it just a matter of not knowing what directory it had been saved into? also, when you make a backup (is it still referred to as nandroid?), do you have to use something like titanium for backup of apps and their data? i take it that's the case but wanted to be sure... maybe i need to do more searching for titanium backup i guess.
edit: just to add that i have used TB root in the past after flashing, only to find that things like some of the games etc. were as if it was a fresh install... no save game data. what's the proper way to ensure that apps are backed up with all of their associated data? or is that something that's more of a case by case/manual thing?

[Q] Unfreeze/Defrost without Titanium Backup

Hi there!
Using SGS 2, Rootet, CWM-based Recovery 6.0.3.1, AOKP-Rom patched with OpenPDroid
I was experiencing some Battery Drain and found an app that was using CPU all time.
Used Titanium Backup to freeze that app.
The app was "Einstellungsspeicher" (Guess something like "Settingsstore" in English) and it was NOT marked as system-app. But still i haven't installed it manually.
Unfortunately the system wasnt able to boot afterwards.
Id like to keep my data, so a factory reset is not the first choice, but the last resort.
Is there anything i can do to unfreeze/defrost the app?
[Q] Can i just flash the patched AOKP-Rom again and the system-apps will be restored (and the normal apps will still be installed)?
[Q] Is there a recovery-zip i can install to defrost all apps that are frosted?
[Q] Can i defrost it manually?
[Q] When i made a backup with CWM after i freezed that app, can i install the rom, then recover the "normal apps" by doing a advanced restore? what would i have to restore in order to not restore the frost-state?
What kind of data u want to save?
I think u should check ur choosen ROM for auto wipe during install feature.
Look the thread and name the ROM btw
If its non autowipe u should just flash it again from recovery without any wipes. all the user apps will remain
WarcoLLapsE said:
If its non autowipe u should just flash it again from recovery without any wipes. all the user apps will remain
Click to expand...
Click to collapse
Thanks for that. I flashed it again, but the system still wont boot up. At least i got my boot animation back, so i guess the system-settings have been reverted already. (I disabled that animation in the settings before)
Since it still wont boot, I guess the question is still how i could possibly defrost the app from CWM.
The flashed rom was http: -- aokp.co - devices - i9100 Milestone 1 (2013-04-16)
I want to keep the app-data i stored since the last backup (which was when i installed the rom last time, a few weeks back).
If i could backup that data for certain apps now, i could make a factory reset.
Beelzeb00b said:
Thanks for that. I flashed it again, but the system still wont boot up. At least i got my boot animation back, so i guess the system-settings have been reverted already. (I disabled that animation in the settings before)
Since it still wont boot, I guess the question is still how i could possibly defrost the app from CWM.
The flashed rom was http: -- aokp.co - devices - i9100 Milestone 1 (2013-04-16)
I want to keep the app-data i stored since the last backup (which was when i installed the rom last time, a few weeks back).
If i could backup that data for certain apps now, i could make a factory reset.
Click to expand...
Click to collapse
BTW Uve got a Titanium Backup for freezing, but did u have any apps backup made?
try clear cache and dalvic in recovery after flashing rom.Reboot
If u made cwm backup with normal boot try advanced restore. Step by step trying to restore parts
U can upload cwm backup somewhere and send me a link via PM. Ill have a look

Backup App and User Data Help?

I have been searching for an answer for this question for a couple of days now but have yet to find one, so I decided to go ahead and make a thread for it. What I am wondering, is how to create a backup of all my user data, apps, and app data that I can restore on different roms? I am currently stock rooted, however I have downloaded and wish to flash ARHD Rom, but I don't want to have to re install everything from scratch I just want to be able to click "restore" and have all my apps and data back.
Any Help is greatly appreciated. Thanks Guys.
Pure+ said:
I have been searching for an answer for this question for a couple of days now but have yet to find one, so I decided to go ahead and make a thread for it. What I am wondering, is how to create a backup of all my user data, apps, and app data that I can restore on different roms? I am currently stock rooted, however I have downloaded and wish to flash ARHD Rom, but I don't want to have to re install everything from scratch I just want to be able to click "restore" and have all my apps and data back.
Any Help is greatly appreciated. Thanks Guys.
Click to expand...
Click to collapse
Because you are not rooted go this route. You do not require root.
1. Use the Helium app and copy the folder it creates onto your computer, it's called "CARBON." This will copy all apps and app data.
2. Use HTC Backup from the app store and backup everything onto dropbox. This will also backup your apps + data. It will be on a cloud storage so no need to push anything to anywhere.
3. Go into your SMS and hit the menu button. Backup all user text messaging. Copy to computer.
now you can report everything to anything.
After you are on your new ROM.
1. Run HTC Backup (comes with rom) and restore everything.
2. Use Helium to restore any missing apps.
3. Restore SMS.
Done.
SlimJ87D said:
Because you are not rooted go this route. You do not require root.
1. Use the Helium app and copy the folder it creates onto your computer, it's called "CARBON." This will copy all apps and app data.
2. Use HTC Backup from the app store and backup everything onto dropbox. This will also backup your apps + data. It will be on a cloud storage so no need to push anything to anywhere.
3. Go into your SMS and hit the menu button. Backup all user text messaging. Copy to computer.
now you can report everything to anything.
After you are on your new ROM.
1. Run HTC Backup (comes with rom) and restore everything.
2. Use Helium to restore any missing apps.
3. Restore SMS.
Done.
Click to expand...
Click to collapse
I am rooted, what I'm really wondering now is if I can restore the data portion of my nandroid backup after flashing the new rom or if that will result in a bunch of FC's?
Pure+ said:
I am rooted, what I'm really wondering now is if I can restore the data portion of my nandroid backup after flashing the new rom or if that will result in a bunch of FC's?
Click to expand...
Click to collapse
Use Titanium Backup and it can grab apps from a nandroid backup and restore them. navigate for this feature through the options menu.
http://www.guidingtech.com/13501/restore-apps-nandroid-titanium-backup/
Yes, you can flash a clean Rom then restore your data file from a previous backup. the only problem with that is that whatever problems you may have had before, may be present still. Otherwise, it doesn't hurt anything. In fact, both CWM and TWRP allow advanced restore where you can select portions of your back up to restore..one a time. In my opinion, it allows you to see, if a backup fails to restore, where exactly it is having trouble, be it in system, boot, data..etc. I literally just did this, restoring a data backup onto a clean Rom, and so far no issues. I understand what you mean by not wanting to set everything back up. System settings, widgets and app placements. You had the perfect setup and it took you forever to get it that way. Titanium backup and Rom Toolbox don't always restore these things like they claim to do.
Edit: I am finding the hard way with this phone, that unlike my old LG Mytouch, when you flash a firmware upgrade, non OTA push I mean, it doesn't stick to system. It's saved to data. So if you flash a data file from a backup with an older version, your back to that version. With my old phone, we could swap Roms after an update all day, and the baseband and firmware updates would stick every time.

Categories

Resources