[Q] problem with nandroid backup, pleas help me :) - Xiaomi Mi 8 Questions & Answers

guys I have a problem with restoring the nandroid backup on MI 8 Global
I have the TWRP 3.2.3-3, I made the complete nandroid backup of weekly rom 9.8.1 (system, vendor, image system, efs etc ... etc .. etc. ..) .... after executing the wipe data , dalvik, system and cache I tried to install another rom (not old miui firmware but AOSP resurection remix) but it returned error 7 and I then gave myself the restore .... I tried to restore the complete nandroid backup excluding only efs (system, vendor, image system etc ... etc .. etc. ..) but the phone no longer starts the miui but restarts continuously (it is not brick but no longer loads the rom)
for greater clarity I write the various steps performed
entered recovery
resurection remix installation but gave me the error 7
I redid the advanced wipe for system, data, dalvik, cache
I did the full restore except for EFS and recovery (boot, system, vendor image etc .....)
reboot
bootloop
where would I have gone wrong and in particular how can I correctly restore the nandroid backup ?????

pollopopo said:
guys I have a problem with restoring the nandroid backup on MI 8 Global
I have the TWRP 3.2.3-3, I made the complete nandroid backup of weekly rom 9.8.1 (system, vendor, image system, efs etc ... etc .. etc. ..) .... after executing the wipe data , dalvik, system and cache I tried to install another rom (not old miui firmware but AOSP resurection remix) but it returned error 7 and I then gave myself the restore .... I tried to restore the complete nandroid backup excluding only efs (system, vendor, image system etc ... etc .. etc. ..) but the phone no longer starts the miui but restarts continuously (it is not brick but no longer loads the rom)
where would I have gone wrong and in particular how can I correctly restore the nandroid backup ?????
Click to expand...
Click to collapse
Xiaomi.eu ? If yes, install 9.8.1, restart to system, restart to twrp and restore only data. Change old twrp to the latest 3.3.1.1

mar.ur said:
Xiaomi.eu ? If yes, install 9.8.1, restart to system, restart to twrp and restore only data
Click to expand...
Click to collapse
before installing the 9.8.1 I have to do a full wipe (system, data, dalvik etc.) or just a soft wipe (without system)
a curiosity I have the xiaomi.eu for a long time, the xiaomi.eu has the rool back or not ?? why resureciont remix gave me error 7 using 9.8.1 by first running a full wipe or simply not having to delete system ??
because nandroid backup not working correctly??

pollopopo said:
before installing the 9.8.1 I have to do a full wipe (system, data, dalvik etc.) or just a soft wipe (without system)
a curiosity I have the xiaomi.eu for a long time, the xiaomi.eu has the rool back or not ?? why resureciont remix gave me error 7 using 9.8.1 by first running a full wipe or simply not having to delete system ??
Click to expand...
Click to collapse
Do a full wipe.The old twrp probably caused error 7 when you installed RR. Try 3.3.1.1. Besides that firmware 9.6.20 is the best for almost all custom roms based on Pie

mar.ur said:
Do a full wipe.The old twrp probably caused error 7 when you installed RR. Try 3.3.1.1. Besides that firmware 9.6.20 is the best for almost all custom roms based on Pie
Click to expand...
Click to collapse
ok, thaks for the advice i resolve for bootloop and i test the old firmware 9.6.20 with the 3.3.1.1 TWR
I offered you a cup of coffee :good:

pollopopo said:
before installing the 9.8.1 I have to do a full wipe (system, data, dalvik etc.) or just a soft wipe (without system)
a curiosity I have the xiaomi.eu for a long time, the xiaomi.eu has the rool back or not ?? why resureciont remix gave me error 7 using 9.8.1 by first running a full wipe or simply not having to delete system ??
because nandroid backup not working correctly??
Click to expand...
Click to collapse
Not exactly about NANDroid backup but about TWRP.
a) some twrp versions won't restore and backup properly. The suggested twrp above has no issues.
b) you can't use NANDroid backups with different versions of TWRP. You need to restore it using the version you had the backup, so your backup is probably trashed now.

Related

[Q] Steps to restore backup file using cwm recovery

Hi guys,
I believe this question has been asked multiple times, and i myself tried searching for answers from many various source to clarify my doubts, only to get more confused due to conflicting information.
Let's say now i am on a custom ROM. Before flashing the custom ROM, i made a backup of my stock touchwiz rom using cwm. However i want to revert back to the exact same state before flashing the custom ROM. What are the steps i need to do to restore the backup file?
1) Some sources mentioned just booting into cwm recovery, selecting "backup and restore" option, select "restore" and choosing the desired backup file will allow the phone to restore to the state prior to flashing.
2) Some other sources mentioned needing to wipe cache/wipe delvik cache/format system/format cache etc. first before i can restore the backup file.
So which is it?
Thank you!
Personally, I always choose option 2 if going to another rom. If restoring an earlier backup within the same rom i use option 1.
Don't know excact what the right thing to do is, but it never hurt to wipe cache / dalvik cache / system because you have it all backed up anyway. At least if you backup regulary. I back up regulary and delete the backups i don't want.
Cundis said:
Personally, I always choose option 2 if going to another rom. If restoring an earlier backup within the same rom i use option 1.
Don't know excact what the right thing to do is, but it never hurt to wipe cache / dalvik cache / system because you have it all backed up anyway. At least if you backup regulary. I back up regulary and delete the backups i don't want.
Click to expand...
Click to collapse
Thanks for the tip!
Is wiping cache/delvik cache sufficient in most cases?
Cos i saw a youtube video, where the guy did not wipe cache/delvik cache. instead, he formatted cache, data and system.
chainer22 said:
Thanks for the tip!
Is wiping cache/delvik cache sufficient in most cases?
Cos i saw a youtube video, where the guy did not wipe cache/delvik cache. instead, he formatted cache, data and system.
Click to expand...
Click to collapse
Wipe /
If problems format .
jje
Any other things i should look out for or preventive measures i should take for restoring backup from cwm?
i have been reading of cases where restoration through cwm fails and they have to go through the whole process of re-rooting and flashing before being able to restore it
there is no need for wiping, the recovery does it on its own prior to restoring.
got stuck
i erased everything followed 2nd step now its stuck on logo not starting
rishiud said:
i erased everything followed 2nd step now its stuck on logo not starting
Click to expand...
Click to collapse
Factory reset
factory reset
my phone is Zen Ultrafone 701HD there is no shortcut for recovery mode
rishiud said:
my phone is Zen Ultrafone 701HD there is no shortcut for recovery mode
Click to expand...
Click to collapse
Well you are in the wrong forum this is SGS3 I9305 .Not your phone ,
.......................................................................

Cannot install ROM - but I am rooted?

Hey guys,
I have unlocked the bootloader and rooted the device - but for some reason, I cannot install ROMs.
When I access the recovery and attempt an install, it merelty aborts me from the process. I don't get it.
I believe the problem may be due to an accidental OTA update - but every time I try to rectify this with a factory reset, the update occurs automatically, before I am even granted access to the phone. Heck, every time I turn the device on, it says "android is upgrading".
Has anyone ever experienced this? Any idea on a course of action? The stock firmware just eats my battery like its a buffet.
Take a backup in twrp(data , system , boot) , take a titanium backup of ur apps..
Download the rom and gapps.
Go to recovery and wipe >advanced wipe > system, data, cache and dalvik cache
If it's a 5.1 Custom rom, flash cm 12.1 boot img or 12.1 rom first.
Then wipe , system, data, cache and dalvik cache.
Flash the Downloaded rom And gapps , it will take 5-10mins to boot up at first.
If ur gonna flash cm13, directly flash it (if u were on lollipop) , no need to flash cm 12 and then cm 13
If ur experiencing any errors, post a screenshot of the error.
Hope this solved ur problem
james11705 said:
Take a backup in twrp(data , system , boot) , take a titanium backup of ur apps..
Download the rom and gapps.
Go to recovery and wipe >advanced wipe > system, data, cache and dalvik cache
If it's a 5.1 Custom rom, flash cm 12.1 boot img or 12.1 rom first.
Then wipe , system, data, cache and dalvik cache.
Flash the Downloaded rom And gapps , it will take 5-10mins to boot up at first.
If ur gonna flash cm13, directly flash it (if u were on lollipop) , no need to flash cm 12 and then cm 13
If ur experiencing any errors, post a screenshot of the error.
Hope this solved ur problem
Click to expand...
Click to collapse
Thanks, mate. I don't know what I was doing wrong - but following your steps reconciled my problem. I appreciate it. :good:

Custom ROMs upgrades

Stupid Noob question... Once a Custom ROM (CM or SlimLP) has been installed..
- What is the easiest way to keep it upgraded?
- Are there OTA upgrades for them?
- Or only flashing a newer ROM version is the only option? If this is the only way, what is the best way to preserve the apps and settings?
The easiest and safest way to keep the ROM updated (from what I know, anyway) is to download the newest version of the ROM and clean flash it (erase system, dalvik, and cache). I don't think there's OTAs for this version, as none of the ROMs here are official. When you flash a newer the ROM, all your data will be saved, unless you wipe internal storage.
loocool2 said:
The easiest and safest way to keep the ROM updated (from what I know, anyway) is to download the newest version of the ROM and clean flash it (erase system, dalvik, and cache).
Click to expand...
Click to collapse
That's not a clean flash, that's called a "dirty" flash.
User data and settings are retained by doing a dirty flash but if you experience any bugs or problems after a dirty flash, then backup your apps, user data, settings & do a clean flash instead. Backup using Titanium Backup or your choice from the multitude of backup apps.
Dirty flash = wipe cache, dalvik cache and system.
Normal clean flash = wipe dalvik cache, cache, data and system. Always do this if you come from stock or another rom.
blueberry.sky said:
That's not a clean flash, that's called a "dirty" flash.
User data and settings are retained by doing a dirty flash but if you experience any bugs or problems after a dirty flash, then backup your apps, user data, settings & do a clean flash instead. Backup using Titanium Backup or your choice from the multitude of backup apps.
Dirty flash = wipe cache, dalvik cache and system.
Normal clean flash = wipe dalvik cache, cache, data and system. Always do this if you come from stock or another rom.
Click to expand...
Click to collapse
Think it'll depend what you restore from Titanium as to how clean it remains afterwards.
blueberry.sky said:
That's not a clean flash, that's called a "dirty" flash.
User data and settings are retained by doing a dirty flash but if you experience any bugs or problems after a dirty flash, then backup your apps, user data, settings & do a clean flash instead. Backup using Titanium Backup or your choice from the multitude of backup apps.
Dirty flash = wipe cache, dalvik cache and system.
Normal clean flash = wipe dalvik cache, cache, data and system. Always do this if you come from stock or another rom.
Click to expand...
Click to collapse
so if you already have installed SlimLP and want to upgrade and not lose your stuff, do a "Dirty flash"?
Yes.
But if you see any problems after a dirty flash, refrain from posting about the problem. First do a clean flash then check if the problem still exists.
thanks for the info all!

System wipe

Hey. What are the advantages/disadvantages of wiping system when installing new ROM? For example Xiaomi.eu rom instructions says you should not wipe system or phone can be bricked. But there are many tutorials that say to wipe also system when installing new ROM.
I've had cm 13, cm 14.1 and different versions of Xiaomi.eu but I've never wiped system - just cache, dalvik and data. I wonder if this causes some problems on my mi 5.
Full wipe of your Mi 5 storage does NOT cause problems to your phone of any sort. In fact, it is good to perform a full wipe of your phone when you are upgrading from one android version or another, for example cm13 to cm14.1! Full wiping completely removes all junk on your phone as it literally removes everything. One thing to not however, is that you will need to reflash your recovery and your preferred ROM after performing a full wipe. If you are just thinking of flashing between different builds of the same ROM such as between CM14.1 nightly builds, only a dirty flash is needed (Clearing cache/dalvik). Hope this clear things up for you!
achickennugget said:
Full wipe of your Mi 5 storage does NOT cause problems to your phone of any sort. In fact, it is good to perform a full wipe of your phone when you are upgrading from one android version or another, for example cm13 to cm14.1! Full wiping completely removes all junk on your phone as it literally removes everything. One thing to not however, is that you will need to reflash your recovery and your preferred ROM after performing a full wipe. If you are just thinking of flashing between different builds of the same ROM such as between CM14.1 nightly builds, only a dirty flash is needed (Clearing cache/dalvik). Hope this clear things up for you!
Click to expand...
Click to collapse
I understand. Just thinking the term "full wipe". Somewhere that is data/dalvik/cache wipe, somewhere data/dalvik/cache/system wipe. I always do clean flash when i change between roms and clear cache/dalvik/data. But I'm just unsure about wiping system partitition. At least with xiaomi.eu rom you should NOT wipe system, just data/cache/dalvik.
Some AOSP roms are advicing wiping also system partitition.
The "System" partition is essentially where your OS resides (correct me if I'm wrong!), hence by wiping it, you are essentially removing your OS. Reinstalling the ROM afterwards then ensures that the ROM is in a sense "cleanly" flashed and will not have any unnecessary or corrupt files of sorts. Wiping system partition will NOT cause issues, that I can guarantee you, just that your phone will not have any OS to boot into when you reboot. Which is why I recommend you to have the ROM and recovery zip on your computer to flash it afterwards!
Well it's safe to wipe system partition but I am not sure about xiaomi.eu nougat ROM's the first nougat update bricked many devices, anyways wiping system is safe.

Wiping data after install Custom ROM?

Can i wipe data after install any ROM and before reboot to OS? Tks
You can always wipe data, preferably before flashing clean, but you may flash after also.
For some pre-installed programs, you may have to flash rom again after wipe.
Verstuurd vanaf mijn ONEPLUS A3003 met Tapatalk
A clean flash (wipe data, cache and Dalvik/ART - the default wipe in TWRP) is typically recommended before flashing a custom ROM. Yes, you can wipe after flashing, but I don't see a benefit if you already wiped before flashing the ROM.
redpoint73 said:
A clean flash (wipe data, cache and Dalvik/ART - the default wipe in TWRP) is typically recommended before flashing a custom ROM. Yes, you can wipe after flashing, but I don't see a benefit if you already wiped before flashing the ROM.
Click to expand...
Click to collapse
Sorry, The correctly question is: Can i wipe internal storage after Flash a ROM using twrp, and before boot to the system?
rgregor210881 said:
Can i wipe internal storage after Flash a ROM using twrp, and before boot to the system?
Click to expand...
Click to collapse
Yes
rgregor210881 said:
Sorry, The correctly question is: Can i wipe internal storage after Flash a ROM using twrp, and before boot to the system?
Click to expand...
Click to collapse
Technically yes. But if you intend to do this, there are some considerations: If you made a TWRP backup of your current ROM (which you should always do before flashing a new ROM), than that backup will be lost when you wipe internal storage. Similar thing with Titanium Backup or any other similar backup tools.
You'll also lose whatever ROM zip you are flashing. And it's not that unusual that things do go quite right with a ROM flash, and you want to flash it again.
These points can certainly be worked around, for instance with adb sideload or adb push, or mounting storage in TWRP. But it's extra steps, that should be considered. At a minimum, you should know how to (be prepared to) put a "known good" TWRP backup or ROM file back onto the phone.

Categories

Resources