Nandroid Backup-Restore from 3Gb to 4Gb version - Xiaomi Redmi Note 4 Questions & Answers

Hi,
I have a Xiaomi Redmi Note 4 3GB Global Version and will swap with the same model but a 4Gb version. Both are unlocked with RedWolf twrp as recovery and MiUi 9.2.
What should I include in my nandroid backup if I wish to restore all my apps and their data to the 4Gb version? Until now, my backups include System-Data-Boot and wifi-bluetooth data.
Thank you for your advice.

d8v8n8 said:
Hi,
I have a Xiaomi Redmi Note 4 3GB Global Version and will swap with the same model but a 4Gb version. Both are unlocked with RedWolf twrp as recovery and MiUi 9.2.
What should I include in my nandroid backup if I wish to restore all my apps and their data to the 4Gb version? Until now, my backups include System-Data-Boot and wifi-bluetooth data.
Thank you for your advice.
Click to expand...
Click to collapse
Why not simply use MIUI backup? It also backups all your apps with data and your settings. Copy the back up folder to your SD card or computer and restore it on your new phone.

If you're rooted, you can use Titanium Backup, the best way to backup and restore apps.
If not, you can try an ADB backup but I can't guarantee it'll work well: https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
You don't need the Android SDK. Just grab the platform-tools package, unzip it to your desktop, CD into it (use a command prompt or terminal to enter the directory) and then follow the guide.

d8v8n8 said:
Hi,
I have a Xiaomi Redmi Note 4 3GB Global Version and will swap with the same model but a 4Gb version. Both are unlocked with RedWolf twrp as recovery and MiUi 9.2.
What should I include in my nandroid backup if I wish to restore all my apps and their data to the 4Gb version? Until now, my backups include System-Data-Boot and wifi-bluetooth data.
Thank you for your advice.
Click to expand...
Click to collapse
The only thing you need to do is change the device id in your backups. First backup your original device to an sdcard then put that card in your new device. Next backup just boot (this creates the new device id directory) then move full backup to new id. Last just restore the full backup. I know this works because I went from 3gb to 4gb a few months ago. Make sure you DONT restore efs from old device to new.
Noter2017 said:
Why not simply use MIUI backup? It also backups all your apps with data and your settings. Copy the back up folder to your SD card or computer and restore it on your new phone.
Click to expand...
Click to collapse
Issue with miui backup is that if you are using a custom miui rom it wont backup everything like the stock rom does.

Noter2017 said:
Why not simply use MIUI backup? It also backups all your apps with data and your settings. Copy the back up folder to your SD card or computer and restore it on your new phone.
Click to expand...
Click to collapse
Thank you for your suggestion.
After reading cidxtc comments I'll try his route because I wish to make sure everything is restored.

Noter2017 said:
Why not simply use MIUI backup? It also backups all your apps with data and your settings. Copy the back up folder to your SD card or computer and restore it on your new phone.
Click to expand...
Click to collapse
sk8223 said:
If you're rooted, you can use Titanium Backup, the best way to backup and restore apps.
If not, you can try an ADB backup but I can't guarantee it'll work well: https://9to5google.com/2017/11/04/how-to-backup-restore-android-device-data-android-basics/
You don't need the Android SDK. Just grab the platform-tools package, unzip it to your desktop, CD into it (use a command prompt or terminal to enter the directory) and then follow the guide.
Click to expand...
Click to collapse
I used Titanium before but I'd like to do something really easy and clean and in a one swoop solution like a nandroid restore.
I think I'm going to go the solution proposed by cidxtc because it's tested.
Thanks mate for chiming in.

cidxtc said:
The only thing you need to do is change the device id in your backups. First backup your original device to an sdcard then put that card in your new device. Next backup just boot (this creates the new device id directory) then move full backup to new id. Last just restore the full backup. I know this works because I went from 3gb to 4gb a few months ago. Make sure you DONT restore efs from old device to new.
Issue with miui backup is that if you are using a custom miui rom it wont backup everything like the stock rom does.
Click to expand...
Click to collapse
All right, please cidxtc let me resume to make sure I understand you correctly because I'm a noob.
1/ From the 3Gb phone, I entrer RedWolf TWRP recovery, make a backup of just 'System + Data' (see attached screenshot) and not Boot to a SD card.
2/ Put the SD card in the 4Gb phone, enter recovery and select to backup 'Boot' only. Then move the 3Gb backup 'System + Data' into the RedWolf folder where the 4Gb 'Boot' backup is. Afterwards, I just have to restore the 'System + Data' from there.
Is this correct ?

d8v8n8 said:
All right, please cidxtc let me resume to make sure I understand you correctly because I'm a noob.
1/ From the 3Gb phone, I entrer RedWolf TWRP recovery, make a backup of just 'System + Data' (see attached screenshot) and not Boot to a SD card.
2/ Put the SD card in the 4Gb phone, enter recovery and select to backup 'Boot' only. Then move the 3Gb backup 'System + Data' into the RedWolf folder where the 4Gb 'Boot' backup is. Afterwards, I just have to restore the 'System + Data' from there.
Is this correct ?
Click to expand...
Click to collapse
You need system, data, and boot from the 3gb device. The rest is correct.

cidxtc said:
The only thing you need to do is change the device id in your backups. First backup your original device to an sdcard then put that card in your new device. Next backup just boot (this creates the new device id directory) then move full backup to new id. Last just restore the full backup. I know this works because I went from 3gb to 4gb a few months ago. Make sure you DONT restore efs from old device to new.
Issue with miui backup is that if you are using a custom miui rom it wont backup everything like the stock rom does.
Click to expand...
Click to collapse
cidxtc said:
You need system, data, and boot from the 3gb device. The rest is correct.
Click to expand...
Click to collapse
Wonderful. Thank you very much ?.

d8v8n8 said:
Wonderful. Thank you very much ?.
Click to expand...
Click to collapse
So did it work for you?

cidxtc said:
So did it work for you?
Click to expand...
Click to collapse
The new phone should arrive next week. I was doing my homework to be ready. I'll come back and let you know how it goes. Hopefully everything will go smoothly if i do as discussed.

I received my phone today and will apply to unlock its bootloader first, then root it.
Meanwhile, could you please cidxtc explain, if possible, why I shouldn't include the boot file in the nandroid backup of the 3Gb phone to be restored to the 4Gb phone? Will the 4Gb phone boot without this file after restoring just system and data only?

d8v8n8 said:
I received my phone today and will apply to unlock its bootloader first, then root it.
Meanwhile, could you please cidxtc explain, if possible, why I shouldn't include the boot file in the nandroid backup of the 3Gb phone to be restored to the 4Gb phone? Will the 4Gb phone boot without this file after restoring just system and data only?
Click to expand...
Click to collapse
You need full backup of 3gb phone (boot,system,data).

cidxtc said:
So did it work for you?
Click to expand...
Click to collapse
cidxtc said:
You need full backup of 3gb phone (boot,system,data).
Click to expand...
Click to collapse
Thanks mate. I was correct to be insure about this bit. I would have made a serious mistake.
I'll keep you updated when all its done.

Related

[Q] N00b question regarding the Nandroid Backup

I've got few doubts regarding the Nandroid backup. I boot into the recovery and under Backup/restore there are several options which include
- Nand backup
- Nand backup + .android_secure
- Nand + ext backup
- Nand + ext backup + .android_
Which option do I select?
Sorry am a n00b. I am running on stock 2.2.2 and I've installed the recovery and would like to flash the franco kernel, my question is when the official Gingerbread is available will I be able to upgrade without any issues since I would change the kernel?
Thanks!
bindaasathar said:
I've got few doubts regarding the Nandroid backup. I boot into the recovery and under Backup/restore there are several options which include
- Nand backup
- Nand backup + .android_secure
- Nand + ext backup
- Nand + ext backup + .android_
Which option do I select?
Thanks!
Click to expand...
Click to collapse
For stock without any Apps2SD/Link2SD stuff Nand backup + .android_secure is enough. (i.e., the system, data and apps installed on phone and apps installed on SD via the Froyo built-in mechanism.)
For the rest, we do not know, ask LG, they will not tell you the date either, no point in asking.
I've got this application App2Sd installed on the phone. So which backup do I go for? also I get this error "Error : Run 'nandroid-mobile.sh' via adb !" while creating a backup of anything other than Nand backup.
bindaasathar said:
I've got this application App2Sd installed on the phone. So which backup do I go for? also I get this error "Error : Run 'nandroid-mobile.sh' via adb !" while creating a backup of anything other than Nand backup.
Click to expand...
Click to collapse
If you partitioned your card, you need to backup the ext as well. If you are unsure about whether you have anything installed on SD card via Froyo, just back up everything.
As for the error, would guess to be corrupt filesystem on the ext partition, or SD card compatibility issue or whatnot.
What recovery are you using (incl. version) and how did you partition the card, and what filesystem?
AmonRa/modified by Drellisdee version 1.2. I haven't partitioned the card. I just installed the recovery and gives me error whenever i try to create any backup. I tired only the Nand backup and it was successful. Yes. I've installed many applications on the sd card.
bindaasathar said:
AmonRa/modified by Drellisdee version 1.2. I haven't partitioned the card. I just installed the recovery and gives me error whenever i try to create any backup. I tired only the Nand backup and it was successful. Yes. I've installed many applications on the sd card.
Click to expand...
Click to collapse
Clear as a mud. What is that App2SD "application" you are talking about, exactly? Where did you get it from, how did you install?
Clear as mud what? Obviously from android market. App2Sd... To move the installed applications onto the SD card.
bindaasathar said:
Clear as mud what? Obviously from android market. App2Sd... To move the installed applications onto the SD card.
Click to expand...
Click to collapse
"Obviously" - there is nothing obvious about this, most people here are using flashed custom apps that use ext2/3/4 partition for moving applications, cache and data to a partitioned SD card.
Well whatever, I need a market link, since searching for App2Sd will definitely not answer my question, there are loads of utilities there.
doktornotor said:
"Obviously" - there is nothing obvious about this, most people here are using flashed custom apps that use ext2/3/4 partition for moving applications, cache and data to a partitioned SD card.
Well whatever, I need a market link, since searching for App2Sd will definitely not answer my question, there are loads of utilities there.
Click to expand...
Click to collapse
I clearly mentioned that am new to these stuff and "flashed custom apps" No chance since I've just installed the custom recovery. You are confusing me further. Thanks for the confusion.
bindaasathar said:
I clearly mentioned that am new to these stuff and "flashed custom apps" No chance since I've just installed the custom recovery. You are confusing me further. Thanks for the confusion.
Click to expand...
Click to collapse
You are welcome. Until you tell me exactly which application you installed, I really cannot help. Searching for app2sd results in tons of results and there are also applications that partition the SD card themselves, so it is not even clear whether you have the card partitioned or not. Apps2SD itself is a meaningless description, sorry.
Otherwise, stick with nand backup only, use Titanium for the rest and move on.
I don't think you got my point.
1. Which type of backup do I use to back my stuff up though the Recovery's Backup / restore option.
2. Whenever I try to back up things, I get this error "Error : Run 'nandroid-mobile.sh' via adb !"
I hope you understood.
bindaasathar said:
I don't think you got my point.
1. Which type of backup do I use to back my stuff up though the Recovery's Backup / restore option.
2. Whenever I try to back up things, I get this error "Error : Run 'nandroid-mobile.sh' via adb !"
Click to expand...
Click to collapse
I cannot tell you what to backup when I do not know where you have stuff installed/stored, uh! I already answered your question in a generic way and no more detailed info can be provided since I know nothing about your particular setup.
Ditto for the second question, as said - if you cannot be bothered to get the info required to diagnose your weird error message, simply use plain nand backup for system and data and Titanium for applications backup. All I can say to this.

Problem restoring backups from TWRP

I've got 2015052 device from jd.com and flashed stock rom from here: http://en.miui.com/download-274.html using stock recovery. Then I've flashed twrp from here http://en.miui.com/thread-152550-1-1.html using stock recovery again.
Now I have twrp that can do backups but can't restore them. my twrp alsco can't install anything that modifies system partition.
I store backups on 64gb sdcard.
When I restore backup twrp starts restoring system as usual but then dies in few seconds with following message:
Code:
E:extractTarFork() process ended with ERROR=255
Does anybody have recovery for this phone that can do backup/restore? Please report what recovery works for you and where you get one.
nETPOBu4 said:
I've got 2015052 device from jd.com and flashed stock rom from here: http://en.miui.com/download-274.html using stock recovery. Then I've flashed twrp from here http://en.miui.com/thread-152550-1-1.html using stock recovery again.
Now I have twrp that can do backups but can't restore them. my twrp alsco can't install anything that modifies system partition.
I store backups on 64gb sdcard.
When I restore backup twrp starts restoring system as usual but then dies in few seconds with following message:
Code:
E:extractTarFork() process ended with ERROR=255
Does anybody have recovery for this phone that can do backup/restore? Please report what recovery works for you and where you get one.
Click to expand...
Click to collapse
Copy the backup into internal-storage and restore again, it should work now.
jwchen119 said:
Copy the backup into internal-storage and restore again, it should work now.
Click to expand...
Click to collapse
Same error with internal memory. I have a feeling that wiping data from twrp makes it unable to restore and install zips.
nETPOBu4 said:
Same error with internal memory. I have a feeling that wiping data from twrp makes it unable to restore and install zips.
Click to expand...
Click to collapse
DId you ever figure this out? Have the same issue on my Nexus7 2013 Wifi, installed CM, want to move back to backup of stock. But crash in to that proverbial Wall. And given that it's a Nexus, it's on Internal Storage, as it's all one big internal Storage.
thanks...
vevmesteren said:
DId you ever figure this out? Have the same issue on my Nexus7 2013 Wifi, installed CM, want to move back to backup of stock. But crash in to that proverbial Wall. And given that it's a Nexus, it's on Internal Storage, as it's all one big internal Storage.
thanks...
Click to expand...
Click to collapse
Nope. I've tried 4 to 5 twrps for my device but none of them can restore backup reliably.
Отправлено с моего Redmi Note 2 через Tapatalk

External SD backup invisible

Hi to y'all. I have a little big issue. When I do a nandroid backup with TWRP, (2.8.7.0 and r9 by eng) it does. All process go well. After that, when I try to do a restore immediately it show me the backup just done but if I reboot the phone and I search the backup file on extsd it is not present. So I reboot in recovery, tap on restore and magically the backup there isn't. Anyone has got this kind of issue before?
In the flash zip option on top is an option to change between internal and external storage, just make sure external is selected and do a backup again then check if you can see the backup,
sgroimax said:
Hi to y'all. I have a little big issue. When I do a nandroid backup with TWRP, (2.8.7.0 and r9 by eng) it does. All process go well. After that, when I try to do a restore immediately it show me the backup just done but if I reboot the phone and I search the backup file on extsd it is not present. So I reboot in recovery, tap on restore and magically the backup there isn't. Anyone has got this kind of issue before?
Click to expand...
Click to collapse
ontheredline said:
In the flash zip option on top is an option to change between internal and external storage, just make sure external is selected and do a backup again then check if you can see the backup,
Click to expand...
Click to collapse
Thanks for your answer mate but I'm not a noobie. I mod android since HTC touch with windows in 2008. I did the backup into external SD. Immediately without exit from recovery it shows me the backup made in bit when o reboot into recovery and on android booted it is not more present
Maybe you have one of those cheap no brand sd cards, get a better one and try again (check the one you have with H2testw first)
sgroimax said:
Thanks for your answer mate but I'm not a noobie. I mod android since HTC touch with windows in 2008. I did the backup into external SD. Immediately without exit from recovery it shows me the backup made in bit when o reboot into recovery and on android booted it is not more present
Click to expand...
Click to collapse
You probably have got the issue mate. I think like you. And......thanks for tip
Sorry but what about H2testw?

[HELP] Does a CWM / nandroid backup includes WhatsApp images?

Yesterday I whiped my internal storage. Sadly I forgot to secure my WhatsApp images from the respective folder.
Before whipping the device I've made a nandroid backup with CWM.
The question is: does a nandroid backup includes also the images and videos from the internal storage folder of WhatsApp? Can I restore it with the nandroid manager?
I would be pleased for a fast answer :good:
funk_doc said:
Yesterday I whiped my internal storage. Sadly I forgot to secure my WhatsApp images from the respective folder.
Before whipping the device I've made a nandroid backup with CWM.
The question is: does a nandroid backup includes also the images and videos from the internal storage folder of WhatsApp? Can I restore it with the nandroid manager?
I would be pleased for a fast answer :good:
Click to expand...
Click to collapse
Yes it should because it backed up /data which some devices have their internal sd partition. Extract the data and see. It should be there as long as you didn't store images on the external sd.
kirito9 said:
It should be there as long as you didn't store images on the external sd.
Click to expand...
Click to collapse
Guess what I did... :laugh:
Thanks for the answer. There was nothing in nandroid manager. So I think I need to deal with it.
funk_doc said:
Guess what I did... :laugh:
Thanks for the answer. There was nothing in nandroid manager. So I think I need to deal with it.
Click to expand...
Click to collapse
So you're saying that there was no backup in the first place? Or it was wiped?
There is a backup on the external SD. What I meant is that I used nandroid manager for a restore but it only restored the WhatsApp data and sadly no images or videos at all. Maybe there is another possibility?
funk_doc said:
There is a backup on the external SD. What I meant is that I used nandroid manager for a restore but it only restored the WhatsApp data and sadly no images or videos at all. Maybe there is another possibility?
Click to expand...
Click to collapse
It should be in a Whatsapp folder on the sdcard.
funk_doc said:
There is a backup on the external SD. What I meant is that I used nandroid manager for a restore but it only restored the WhatsApp data and sadly no images or videos at all. Maybe there is another possibility?
Click to expand...
Click to collapse
As far as I know...
A cwm backup will restore data but it won't restore the files.
sorry

Back to MIUI from CustomROM

Hi, how can I back to "stock radios?" from radios CM13 ?
Even, after recover backup with MIUI, I Have CM logo on start (Not white Mi)
Check this guide: http://en.miui.com/a-234.html
Make sure that the rom you download from the link is placed under this path: C:/. Don't put it in a long path or you'll get errors when trying to flash with the program. If you face any problems, feel free to ask.
This will erase my all data from the internal storage?
pyt.h said:
This will erase my all data from the internal storage?
Click to expand...
Click to collapse
Not sure, but in bottom right area of the mi flash program, you get options such as flash all, flash all except storage etc...try the option "flash all except storage" but do make a backup first just to be sure.
pyt.h said:
This will erase my all data from the internal storage?
Click to expand...
Click to collapse
Yes it will erase all data...
jimakos98 said:
Not sure, but in bottom right area of the mi flash program, you get options such as flash all, flash all except storage etc...try the option "flash all except storage" but do make a backup first just to be sure.
Click to expand...
Click to collapse
Try this and check... for me it didn't work and since my device was bricked had no option to take backup... hence lost all photos and other things from internal storage :crying:
mGforCe said:
Yes it will erase all data...
Try this and check... for me it didn't work and since my device was bricked had no option to take backup... hence lost all photos and other things from internal storage :crying:
Click to expand...
Click to collapse
It will probably work for they OP if he has a custom recovery installed but making a backup is rule #1 when you mess with flashing and ROMs.

Categories

Resources