[Q] How to restore a full backup - Nokia Lumia 800 - Nokia Lumia 800

Hi all,
This morning I have installed the RainbowMod ROM in my Nokia Lumia 800. All seem very beautiful but I have a big problem for me, I can't use my Windows Live ID account, Authentication failed error is always showed.
This is the main reason because I need to restore the full backup that was generated before to install this custom ROM. To generate the full backup I executed the following command:
sudo dd if=/dev/sdc of=~/fulldump
Now, I would like to know how I could to restore this fulldump. Could you tell me the steps to restore it, please?
I have another doubt about the restore procedure: during the RainbowMod flashing I had to flash the amssadsp.img_part3 file on /dev/sdc3. When the fulldump will be restored, will /dev/sdc3 be restored too, please?
Thanks in advance.
Cheers
David Ortega.

Did you end up with one single file or with on file of each partition? Have you created a Zune backup as well?

Hi ChrisKringel,
I only have one file (16GB). I didn't generated a backup using Zune so my only way is try to restore the file (fulldump).
Thanks a lot.
Cheers.
David Ortega.

Have you tried to DD it back onto the device?

I found that the following command should resolve my problem:
sudo dd if=~/fulldump of=/dev/sdX
But I would like to confirm it with the gurus
Thanks a lot
David Ortega.

Related

[Q] Make a backup before flashing

Hi.
Last time I flashed a new firmware I made a backup of the phone. The problem was that I couldn't get it back after flashing.
So, my question is:
How on earth do I make a backup of everything before flashing. And how do I restore it afterwords.
Thanks in advance
Pemell
Hi pemell,
How did you generate the backup? Yesterday I generated a full backup of my Lumia 800 and the command that I executed was the following:
sudo dd if=/dev/sdX of=~/fulldump
This generated the fulldump file (16GB).
David Ortega.
I'd suggest that you back up in two ways: First in Zune and then via the DD. I would suggest that you create a separate backup of each partition in order to make reflashing easier.
davortsan - I didn't update by cab sending so aren't that familiar with these commands. I guess of course I could find out by some testing and reading.
chrisKringel - two partitions? are there two partitions? If the phone had a memorycard I would get where you're going.
kind of strange there are no step by step guide of how to backup pre flashing and restore afterwords. I'm too much of a noob to write it myself.
pemell said:
chrisKringel - two partitions? are there two partitions? If the phone had a memorycard I would get where you're going.
Click to expand...
Click to collapse
Let's take a computer for example. When you open up explorer on said computer you see multiple HDD-icons. One for the system, one for Music and Pictures and one for games. This doesn't necessarily mean that this computer has 3 physical HDDs as you can split up a storage device into multiple logical partitions. The computer can easily have only one physical drive.
Same thing goes for our Lumias. They have (as far as I know) only one NAND chip that stores all the data. But this chip is split up into 9 logical partitions, containing the bootloader, serialnumber, mac etc. (head over to the Development Section, a few of the early posts discuss the partitions). When you have a Linux at your hands you can use the DD command to dump every single partition. Of course you should only touch the 9th partition later but better safe than sorry. In order to backup with Linux you have to either run the full dump command from above. When you want to reflash the fulldump every single partitions gets reset to the state from when you created the backup. I never tried this but I would not advise to reflash all partitions. I'd rather advise you to create a single backup of each partition. Charge your phone and enter QUALCOMM mode. Plug it into your Linux and run the commands
Code:
dd if=/dev/sdX1 of=backup1.bin
Code:
dd if=/dev/sdX2 of=backup2.bin
... repeat for every number until the following ...
Code:
dd if=/dev/sdX9 of=backup9.bin
X refers to the mount point where your device is connected. You can use fdisk -l to get the right letter. When you need to restore your device you need only partition 9, but better safe than sorry You never know, these additional backups might come in handy sometime...
What do you intend to do? Do you want to have your Apps back after you flashed your phone?
Thanks Chris, a perfect post!
I know that most of the information on the phone comes from the cloud, but some doesn't. For exemple I use the call history a lot and I would like to keep all of my sms+mms. Reinstalling all the apps is, of course, something i would prefer not to do at every update (even though they don't come that often).
I'll look into the information you posted and see what I can come up with. / Pemell
pemell said:
Thanks Chris, a perfect post!
I know that most of the information on the phone comes from the cloud, but some doesn't. For exemple I use the call history a lot and I would like to keep all of my sms+mms. Reinstalling all the apps is, of course, something i would prefer not to do at every update (even though they don't come that often).
I'll look into the information you posted and see what I can come up with. / Pemell
Click to expand...
Click to collapse
Keeping the specified data like messages, settings and call history during a reflash is not easily possible. When you reflash (or flash) your phone all the data gets wiped and completely new data is written to the phone. There are some homebrew solutions for texts in the WP7 Dev & Hacking boards that might work, depending on your current ROM. Another thing is that the flash you do when using the methods described in this board is different from a flash in a Nokia Care Point. The official flashing flashes in a certain way that the first boot writes all the phone data in the registry, like the WP activation key and some other serials. This won't happen when you write the file in Qualcomm mode. This could cause problems when you try to restore a backup from Zune. I'm not really sure about this, though.
Another thing to note is that some ROMs are not updateable through Zune, on these ROMs you have to do a manual update or a new flash to get up to date.
I would suggest that you wait a few weeks if you can. Maybe Microsoft will announce a cloud backup for text messages when the introduce WP8. A official backup would be the safest way.
Thanks Chris, a good advice.

[Q] Best way to backup and restore on a number of devices

Hi
I've done a bit of searching but can't find anything too specific to what I'm trying to do. Basically we have 10 Android tablets, and I want to make them all standardised e.g. have the same Apps on, configured in the same way (e.g. enterprise wireless network added).
Now the thing is if anyone messes around with them I want a really easy way to restore them to the original config which I've done.
One way I thought was to configure one fully, install Titanium Backup on it, do a full backup of apps/system data etc, and put the backup onto an SD card. Then I already have the base ROM on an SD card so if theres any problems, I can just flash the ROM over it again, install TB, and restore all the data. Would this be suitable to do to duplicate the data onto 10 tablets, and also restore the data if required?
The other thing I looked into was customising a ROM myself, don't want to do anything too tricky it'll just be a case of removing all the preinstalled crap I don't want, preloading the Apps we do want, and if possible preloading the wireless key and getting rid of the first boot initial set up wizard.
PS I've looked at installing CWM and doing whole image backups, but supposedly the tablet isnt supported (its an Ainol Novo 7 Elf 2)
Any advice would be great, hopefully theres some fairly straight forward way of managing this
Thanks
One of the reasons I integrated a full blown GNU/Linux on my devices, was the need to run full and automated backups. If you are looking into the possibility making a custom ROM, this might be a solution for you as well. I'm using BackuPC to run backups nightly, backing them up as any other GNU/Linux machine (using tar over ssh).
See the link in my signature for more information about this.
kuisma said:
One of the reasons I integrated a full blown GNU/Linux on my devices, was the need to run full and automated backups. If you are looking into the possibility making a custom ROM, this might be a solution for you as well. I'm using BackuPC to run backups nightly, backing them up as any other GNU/Linux machine (using tar over ssh).
See the link in my signature for more information about this.
Click to expand...
Click to collapse
Hi
Thanks for the reply, not too sure this would be the right option for us. I don't really need to take nightly backups, I just need to make a backup of a preconfigured image, and then put that image onto 10 other devices. Then I want to keep the original backup and have an easy way to restore it onto any devices which have been messed up. Sort of like image cloning for PCs, I want to prepare a base image, and then flash it over all the devices.
fro5tie said:
Hi
Thanks for the reply, not too sure this would be the right option for us. I don't really need to take nightly backups, I just need to make a backup of a preconfigured image, and then put that image onto 10 other devices. Then I want to keep the original backup and have an easy way to restore it onto any devices which have been messed up. Sort of like image cloning for PCs, I want to prepare a base image, and then flash it over all the devices.
Click to expand...
Click to collapse
Ok, I see. Compile the image to you likings (boot image and system partition), and then flash it using fastboot onto you devices.
Hi
Does anyone have any more thoughts on this?
I have experimented with Titanium Backup and this seems to work quite well. I have installed a ROM, and customised it e.g. installed the apps I need and configured the apps, wireless settings and home screens etc. Then I do a full apps + system backup in TB to my SD card.
Then the plan is, I can reflash the ROM onto the other device, install TB and then restore this backup. This saves my user state and wireless settings etc.
Only problems is when I flash the ROM, I have to go through all the initial set up again and also remove some preinstalled apps which I dont want. Any ways around this?
There must be something I'm missing. Why don't you install the device, walk through the setup, remove the bloatware you don't want and then dumps the disk partitions into images you flash the other devices with using fastboot? This way you'll get'em cloned, isn't it this you want..?
Of course there's still some tinkering needed once restored/cloned, such as giving them individual Google accounts etc, but you can easily fix this without re-running the setup wizard.
kuisma said:
There must be something I'm missing. Why don't you install the device, walk through the setup, remove the bloatware you don't want and then dumps the disk partitions into images you flash the other devices with using fastboot? This way you'll get'em cloned, isn't it this you want..?
Of course there's still some tinkering needed once restored/cloned, such as giving them individual Google accounts etc, but you can easily fix this without re-running the setup wizard.
Click to expand...
Click to collapse
Hi
Yes that's what I want to do! How would I go about dumping the disk into an image and then flashing?
fro5tie said:
Hi
Yes that's what I want to do! How would I go about dumping the disk into an image and then flashing?
Click to expand...
Click to collapse
There are several methods. Some boot loaders (such as nvflash for tegra based devices) can actually read back the disk partitions to a computer via the USB port. You can also on the tablet read the raw mtd device with busybox/dd. I assume you've unlocked the bootloader and gain root access to the device, since this is a requirement for flashing them as well. A third alternative is using busybox/tar, and then recreate the filesystem image using mkyaffs (or if ext3/ext4 even easier, just loopback mount an image on you linux maching to unpack the tar archive to). Once you got the images (system and userdata partitions), you flash the devices with "fastboot flash system system.img" and "fastboot flash userdata data.img". I don't believe you'll need to tamper with the other partitions.
kuisma said:
There are several methods. Some boot loaders (such as nvflash for tegra based devices) can actually read back the disk partitions to a computer via the USB port. You can also on the tablet read the raw mtd device with busybox/dd. I assume you've unlocked the bootloader and gain root access to the device, since this is a requirement for flashing them as well. A third alternative is using busybox/tar, and then recreate the filesystem image using mkyaffs (or if ext3/ext4 even easier, just loopback mount an image on you linux maching to unpack the tar archive to). Once you got the images (system and userdata partitions), you flash the devices with "fastboot flash system system.img" and "fastboot flash userdata data.img". I don't believe you'll need to tamper with the other partitions.
Click to expand...
Click to collapse
Hi
Thanks for the quick reply, much appreciated.
Unfortunately you've lost me a bit here!
Yes the device is rooted, I dont have a linux machine though.
Any chance you'd be able to provide some more specific instructions? The device is a chinese tablet from manufacturer Ainol, the model is a Novo 7 Elf 2. Unfortunately there isn't much discussion on these online so specific help is hard to find!
fro5tie said:
Any chance you'd be able to provide some more specific instructions? The device is a chinese tablet from manufacturer Ainol, the model is a Novo 7 Elf 2. Unfortunately there isn't much discussion on these online so specific help is hard to find!
Click to expand...
Click to collapse
I can provide you specific answers to specific questions, but I have no experience of the tablet in question, so you'll have to do some digging yourself first. Make sure it supports fastboot, investigate what the proprietary bootloader is capable of, see how/if you can obtain an original image etc.
One maybe easier solution, especially if you plan to restore the tablets on a regular basis, is to only make a new boot image to reflash the devices with. The only modification done is that you change the /init.rc script to mount /data and /system from the SDcard instead of from the internal nand disk device.
Once this is done, you'll power up and run the installation wizard and everything on your master tablet. Then power it down, and clone the SDcard. This SDcard now contains everything, so you'll simply restore a device by replacing its SDcard with a copy of this master card. I guess it's easier to clone a SDcard than reflashing several internal partitions. Easier to make the master as well - you don't need to dd or tar them, they are already in "image" format. If you can get hold of the original firmware, this should be quite easy without the need to preserving data from the device itself.
fro5tie said:
Any chance you'd be able to provide some more specific instructions?
Click to expand...
Click to collapse
Issue the commands "cat /proc/mtd" and "mount" on your device at command prompt (e.g. via "adb shell" or the "ConnectBot" terminal app). This shows you if the device allows you to copy the boot image from it. Paste in the output into this thread. If you believe the "clone the tablet via the SDcard" is a good solution for you, the process is in short terms something as below;
Copy the boot image to the sdcard:
# dd if=/dev/mtd/mtd2ro of=/mnt/sdcard/boot.img bs=2048 (device dependent of contents of /proc/mtd)
Remove the sdcard, insert into a computer, split the boot image info kernel + initramfs. Read http://android-dls.com/wiki/index.php?title=HOWTO:_Unpack%2C_Edit%2C_and_Re-Pack_Boot_Images for instructions about how to work with the boot.img file. I really recommend a GNU/Linux environment for this.
Then edit /init.rc replacing the "mount yaffs2 [email protected] /system" with "mount ext3 /dev/block/mmcblk0p2 /system" for system and data (use p3 for data partition, the device name may be different on your tablet, see mount output).
Create an SDcard with three partitions: #1 vfat (standard), #2 and #3 ext3. Insert into you device and boot it up again.
# mount -t ext3 /dev/block/mmcblk0p2 /root
# cd /system
# tar cf - . | (cd /root ; tar xf - )
# umount /root
# mount -t ext3 /dev/block/mmcblk0p3 /root
# cd /data
# tar cf - . | (cd /root ; tar xf - )
# umount /root
This copies your partitions to the SDcard. Shutdown the tablet again.
Make a new boot.img using the instructions in the link above, using the edited init.rc script.
Now you can non-destrutive give this a try.
Place you tablet in fastboot mode (often vol-up (or vol-down) during power on).
$ fastboot devices
This vill verify the tablet is in fastboot mode. It should be listed. Then:
$ fastboot boot boot.img
Note here, only BOOT the tablet, do NOT use the "flash" keyword. This in case of the image isn't working, you'll just have to restart you tablet, and no harm's done.
Look around. Do a "mount" command. Everything works? Mount shows /data and /system from sdcard? Perfect. Now you can reflash it. Shutdown and flash:
$ fastboot flash boot boot.img
Now the device will use /data and /system from the SDcard every time. Customize your device, and then clone your SDcard and try it in tablet #2 you'll booting with your new boot.img and the cloned SDcard. Verify that #tablet #2 is a perfect clone of tablet #1. It is? Now you can flash the boot,img into all your tablets.
--------------------
But don't forget, there may be other solutions as well, maybe more suitable. This you'll have to investigate yourself.
And the usual disclaimer - you can probably not follow above by the letter. There sure is some obstacle you'll have to overcome, something non-standard, etc.
Also keep the original boot.img file for safekeeping in the case you want to restore the device's boot image some day.
Wow! Thanks for the info! This is really helpful, I need to set aside a bit of time to work through this and have a look. Thanks again its really appreciated, I'll be back with info once I've had chance to give it a go!
I certainly can't offer more detailed info than the fellow from Sweden who seems to really know his stuff...but what about making a nandroid backup of your fully configured reference tablet (I'm assuming all tablets are rooted). Ensure all your tabs have CWM recovery and copy your nandroid file to each one.
If any of your fleet get 'corrupted' you can simply restore the original, fully configured ROM.
In fact that sounds too obvious..likely I missed something about your scenario which precludes this option from consideration!
Good luck mate.
tweeny80 said:
I certainly can't offer more detailed info than the fellow from Sweden who seems to really know his stuff...but what about making a nandroid backup of your fully configured reference tablet (I'm assuming all tablets are rooted). Ensure all your tabs have CWM recovery and copy your nandroid file to each one.
If any of your fleet get 'corrupted' you can simply restore the original, fully configured ROM.
In fact that sounds too obvious..likely I missed something about your scenario which precludes this option from consideration!
Good luck mate.
Click to expand...
Click to collapse
Hi
Yes that was my first thought as well, tablets are rooted yes but there is no CWM for the tablet. Its an obscure Chinese branded tablet.
Unless there is another way to do nandroid backups?
hmm tricky situation. Catch 22 ! From what I know, your best bet is to backup all possible things through Titanium Backup given that you don't have the use of Nandroid backups. You can include wifi settings, messages etc but it's modular & not systemic.
I did a quick google search with no luck - time to upgrade your fleet dude :-0
Best of luck.

Please provide me your backup.ab

Hey guys, as you all know from several threads : I semi-bricked my tablet s. especially with missing shell commands, missing location information and no possibility to root with the new convinient method.
But maybe there is a chance. Since my tab still restores the settings.ab , it should be able to restore a complete backup.ab aswell. Targeting at the system, i need your help here to get a clean system-image.
Please try out, this adb command and provide me your backup.ab.
" adb backup –all –f c:\backup.ab "
thx in advance.

What will happend; Rainbow 2.1

I would like to know what will happend if i will flash the rainbowmod 2.1 rom on my Lumia 800 with the One key flashing tool.
Does it work ? or it is necessary to flash the partition 3 files under linux.
It would be easyer for me to do it under windows; not having eny experience with ubuntu.
As it says on the rainbowmod instructions;
Before flashing this custom ROM you must flash this file to sdb3 partition (thx biktor_gj)
Thank you,
Hi there,
as far as i know, RainboMod 2.1 will only work with updated files on partition 3.
The actual files for partition 3 (in the first post) are not up-to-date and will only work for RainbowMod 2.0.1.
We still have to wait until lucifer puts his 2.1 version back online, with the updated files for partition 3 i posted on page 12 of the thread.
For now, you can only use 2.0.1 version.
You can try if the rom works, if you only flash partition 9 using nokia lumia downloader in windows.
If it does not work, you have to flash the files of partition 3, which can only be done in linux.
It's very simple, i can help you when you need help.
cheers
help needed
Hello,
So i would gladly use your help,
I just finished installing ubuntu.
As i understand the procedure should be the same for my lumia800 as in these instructions for the lumia 700.
http://forum.xda-developers.com/showthread.php?t=1626317 (100%noob instructions). Am i right?
only thing missing there is the 3rd partition instructions, but if im not wrong the commands should be the same, only have to flash the 3rd partition.Yes?
(6.4: Now using the partition we obtained in step 4 (In my case: sdc9) use this command to flash your phone with the unlocked firmware:
Code:
dd if=os-new.nb of=/dev/sdX9
Replace X with your partition letter (In my case it's c)
so in my case I would enter:
Code:
dd if=os-new.nb of=/dev/sdc9)
Thanks in advance Lordmaxey
hi there,
yes, first, check your drive letter using
sudo fdisk -l
this will show you if your phone is sda, sdb, sdc etc...
for flashing partition 3 it's the same as flashing partition 9 ( dd if=os-new.nb of=/dev/sdc9 )
of course you have to replace 9 with 3 and the input file (if), so it will be: dd if=partition_3_file of=/dev/sdc3
cheers
CAUTION:
Before flashing anything i strongly recommend you backing up every single partition.
eg. sudo dd if=/etc/sdX1 of=backup_partition_1
sudo dd if=/etc/sdX2 of=backup_partition_2
...
repeat for every drive letter
...
sudo dd if=/etc/sdX9 of=backup_partition_9
Thank you lordmaxey,,
i will try..
Done,,
Feeling good.
Thank you again lordmaxey.
So now i checked around a little bit, and i like it allot, especially file explorer, what i was missing . Only one app what i miss is the nokia drive,
i used it allot. Is it possible to deploy this or is this complicated.
whitenegga said:
Done,,
Feeling good.
Thank you again lordmaxey.
So now i checked around a little bit, and i like it allot, especially file explorer, what i was missing . Only one app what i miss is the nokia drive,
i used it allot. Is it possible to deploy this or is this complicated.
Click to expand...
Click to collapse
No worries, you're welcome
You're missing Nokia Drive? Then simply install it via Marketplace
cheers
Ok tried that,but incountered a small problemo, live id key.
searched the forum for eny useful information, . Found some, but aint very shore, how to obtain the live id key asked by microsoft.
so if you have some useful informatipn, i would appreciate it,
hope i wont bother you after this, at least for a while,
Tnx Lmaxey,
did you make a backup of all partitions as i recommended?
if yes, you can use DPPImplant to "extract" your activation code from your backup file.
you'll find dppimplant here: http://forum.xda-developers.com/showpost.php?p=25126572&postcount=642
no worries, that's what we're here for: helping
So i have to tell you the whole story. (you can laugh on my stupidity, no harm don )
Wanted to unlock my lumia by TP. So i ordered the atf box, cables and everything. Not beeing the best solderer in the world i managed to destroy a resistor, but fortunatly the phone still works(only not giving the tp connection). Im no quitter , so i bought a used phone with a brocken LCD.
So now;
1. i have my old phone with DLOAD where should be my Live ID. (is it possible to exctract the key under linux from dload?)
2. And the TP unlocked used phone what i flashed with some old rom, dowloaded when i was searching information about the TP unlock .
After that i managed to flash the rainbowmod by your help.
And yes , i didnt make partition backups,
because I THOUGHT :good: that if i allready flashed it with the older rom , this live id info would be owerwritten.
so it wouldn be eny use for me to backup a custom rom partitions.
And maybe this used phone had somebody elses ID, what i couldnt have used enyway.
This all has to happend to me.
what are my chances?
Wow... holy sh**
whitenegga said:
And yes , i didnt make partition backups,
because I THOUGHT :good: that if i allready flashed it with the older rom , this live id info would be owerwritten.
so it wouldn be eny use for me to backup a custom rom partitions.
And maybe this used phone had somebody elses ID, what i couldnt have used enyway.
Click to expand...
Click to collapse
Yes, the live ID was overwritten anyway, so you're right
Of course i didn't know this situation, that's why i told you to make a backup.
What you can do now:
- TP unlock your resistor-broken DLOAD Lumia, backup and do the DppImplant thing i posted above
- use the avtivation code posted in this thread: http://forum.xda-developers.com/showpost.php?p=32700983&postcount=7
but note: this is not your activation code, so i don't know what happens if you're using it.
hello again
I'm back,
Succeeded with everything. Most of it thanks to you lordmaxey.
So now I have another question.
As it is all new to me, can you explane to me how to use the wm device center to connect it with PC.
So I could see the folders in my computer.
Thx.
whitenegga said:
I'm back,
Succeeded with everything. Most of it thanks to you lordmaxey.
So now I have another question.
As it is all new to me, can you explane to me how to use the wm device center to connect it with PC.
So I could see the folders in my computer.
Thx.
Click to expand...
Click to collapse
Yeah, sure
you have to install Wmdc on your pc, and you have to install the wmdc launcher on your phone.
- then open the application on your phone, select "launch" (click launch to run windows mobile device center phone client)
- then swipe right and selcet all 3 boxes (start wmdc automatically, start debugger automatically, use vs debugger from pc)
- connect your phone to your pc
if wmdc is not starting automatically on your pc, open it.
you should now see your phone.
strange, its not connecting.
I have tried with the zune running in the background, and viceversa.
Allso in the device manager it shows prtable devices-lumia 800 ---This device is working properly.
Eny ideas,
All the best,

[ROM][STOCK][TWRP] needI am requesting for anyone with nokia 1 with twrp installed to

Howdy everyone,
My friend installed TWRP(custom recovery) on my phone and "accidentally" he wiped all of the partitions using Advanced Wipe within TWRP.
So, I request anyone with TWRP custom recovery installed on their Nokia 1 to create a backup of all the partitions that show up in the backup section, and share me the backup files (you can zip or compress them if you want,for convenience on both ends) so that i can revive my now bootlooping Nokia 1.
I searched the entire internet for a twrp backup and found nothing(XDA Developers had one thread dedicated to it but they deleted the files for some unknown reason).Please,my dear friends put me out of my misery for having a perfect phone with no software.......And I made myself a promise (to never trust my friends with my phone and I posted a thread on XDA asking for the same:
' anyone with TWRP custom recovery installed on their Nokia 1 to create a backup of all the partitions that show up in the backup section, and share me the backup files (you can zip or compress them if you want,for convenience on both ends) so that i can revive my now bootlooping Nokia 1.'
the first place to provide me with what I want,that place shall receive the topmost priority i.e,i will spend all of my time solving any issues regarding Nokia 1.
Please help me revive my one and only phone(I'm stranded at the moment with only a raspberry pi 3b+ and an internet connection,please help.

Categories

Resources