[Q] How to do a nand backup - other than toolkit? - Nexus 4 Q&A, Help & Troubleshooting

Hello,
I need to make a Nandroid backup of my phone, because I have to send it to service to have the screen changed.
However, I cannot do it with NRT (v1.6.4) - whenever I try to make a nand backup, the phone boots into TWRP via Fastboot (sometimes failing to check for Fastboot, prompting a re-check after pressing OK), and then it hangs on status "Waiting for the backup to complete and your device to boot back up...".
It stays there for a while and then attached window comes up. (I also got a message twice when I did something differently that a backup was creating with size 0MB).
Can I do the backup differently? Or can the problem be the filesize? My phone memory is pretty full with movies, pictures and stuff. I don't know if that is included, either way I don't care much, pictures are on Drive, music on All Access. What I care for is the ROM and the apps with settings.
I was thinking about doing the backup over terminal, is it feasible? Or can I alter some setting to make it work?

Just reboot in to your recovery and do a backup from there then move the backup your pc. No need for a toolkit ever
From my BLACKED OUT N4

spaceman860 said:
Just reboot in to your recovery and do a backup from there then move the backup your pc. No need for a toolkit ever
From my BLACKED OUT N4
Click to expand...
Click to collapse
Unfortunately, I cannot do that - the digitizer is toast and I am limited to controlling the phone from my PC over MyPhoneExplorer screen mirror. Which works quite good when bootet, but renders TWRP itself pretty much useless... I guess I will do with app backup and data backup separately.

Related

What happens if you accidentally delete the /data directory?

I'll tell you...basically not good things
After updating lots of apps, I decided to run the command to remove the boot-cache through a terminal app on my phone, rather than through adb shell (sprint needs to hurry up and fix this bug.)
Unfortunately, the terminal app doesn't like landscape, so when hitting the front slash after the data directory, my finger instead (to my absolute horror) hit the enter key.
Hilarity did NOT ensue. Basically everything started FC'ing. I rebooted into recovery, did a wipe, and started over. Everything seems to be fine, but for those that are more familiar with the filesystem than I, could there be any residual effects, or would the wipe/factory reset basically take me back to step 1? Thanks!
I'm going to try and write an app that not only clears the boot cache, but also turns on net sharing, kinda like a "utilities" app in the interim until Sprint can fix our stuff. Should be simple enough.
Factory reset should take you back to step 1.
Have you installed the recovery ROM? It doesn't modify your actual OS at all, but it enables you to do "whole phone" backups via Nandroid. Very handy for just such an occasion.
jonnythan said:
Factory reset should take you back to step 1.
Have you installed the recovery ROM? It doesn't modify your actual OS at all, but it enables you to do "whole phone" backups via Nandroid. Very handy for just such an occasion.
Click to expand...
Click to collapse
I do believe so. I followed our five star "how to root the CDMA Hero" thread, and I think the RA-Recovery part was included there.
I'm assuming since I can reboot into recovery mode, this is, in and of itself, the recovery ROM you're talking about. I have the option of a nandroid backup in there.
So, then let me ask you this. If I get my phone how I like it, can I do a Nandroid backup, and always be able to restore to that point, similar to commercially available backup apps? Thanks for the quick reply!
a Nandroid backup will restore everything on your phone (not your SDCard) so it should work to restore even if you delete the whole /data directory. It's not tested but it seems like it should work since it's an image of the whole freaking thing.

Im having problem with installing a CWM flashable addon...

hi
I have a samsung note which i rooted when i bought it. when i go to recovery mode sig cwm and trying to install this auto brightness mod from this thread
http://forum.xda-developers.com/showthread.php?t=1373008
I get the error
E: failed to verify whole-file signature
E: signature verification failed
any ideas what could be causing this? Im pretty new to android... used to have an Iphone
ps: when I start CWM it says "This version of CWM manager should be used with CF-Root v5.0 or newer.
It appears you are running a different kernel. Various features has been disabled."
and also when entering recovery mode I get an error which says "Can't access to '/system/csc/XEF/system/"
my phone is a mess now ((
ive flashed kernel with cd-root 5.0 ..then seemed like cwm issue was fixed
then i added auto brightness update and now the phone is totally messed up :O
when phone started it didnt ask for pin... i keep hearing the samsung boot sound and the screen goes on and off with menu showing..
please someone help the noob (
i am able to go to recovery mode...any chance i can redo the last mess i did??
Ok, hope you have made a backup (nandroid or Titanium), because now that you are in this situation the best way to recover is to flash an other ROM (custom or stock) and wipe cache & Dakvik-cache, depending if you use a WIPE or NON-WIPE Rom, you might get back your "stuffs". Try first to flash a Stock NON WIPE ROM for your country for ex. and clear cache and dalvik and see how it goes, you might have to manually clear data from som apps that will FC (or even uninstall and reinstall them if clear data is not enough) but has long that you have access to CWM your note is not brick you can always "repair" it good luck.
When you wanted to try patch/mod apk:
- first verify it apply to your build (KKA or such)
- second do a nandroid, and if anythings goes wrong you can always restore to previous state
Good luck
PS: for the kernel missmatch it is not that big of a deal, some kernel have been built in order to have access to some features from CWM from the running OS itself while other does not, but has long that you can go manually in CWM you can do manually all things from there
jayGGjay said:
Ok, hope you have made a backup (nandroid or Titanium), because now that you are in this situation the best way to recover is to flash an other ROM (custom or stock) and wipe cache & Dakvik-cache, depending if you use a WIPE or NON-WIPE Rom, you might get back your "stuffs". Try first to flash a Stock NON WIPE ROM for your country for ex. and clear cache and dalvik and see how it goes, you might have to manually clear data from som apps that will FC (or even uninstall and reinstall them if clear data is not enough) but has long that you have access to CWM your note is not brick you can always "repair" it good luck.
When you wanted to try patch/mod apk:
- first verify it apply to your build (KKA or such)
- second do a nandroid, and if anythings goes wrong you can always restore to previous state
Good luck
PS: for the kernel missmatch it is not that big of a deal, some kernel have been built in order to have access to some features from CWM from the running OS itself while other does not, but has long that you can go manually in CWM you can do manually all things from there
Click to expand...
Click to collapse
thanks for the reply..
another noob q... when I rooted it the first time I just put the stock rom onm y sc card and flashed, but now since it wont go to the phone menu, my pc cants see my phone...
so the question is, how do i put the rom file on the phone to flash it?
I dont have a microsd reader either
btw
i did take a titanium back ..its on the phones sd card
Ok, do you have another phone or sdcard reader somewhere, in order to transfer the ROM in it then you can put it back in your NOTE and flash it. If not you are in a not so good situation, you can always go to CWM plug the usb cable, go to advance settings mount the sdcard and with adb you can push the ROM in your sdcard.
For adb, you have to install KIES to have to right driver, then download adb from android sdk then from a command prompt go to your adb folder (put the ROM in it) and then from the command "adb push MYROM /sdcard/" and you you should see it transfer to your sdcard.
For the titanium, it will be use only if you use a WIPE rom and once booted OK install Titanium and restore everythings. GL
jayGGjay said:
Ok, do you have another phone or sdcard reader somewhere, in order to transfer the ROM in it then you can put it back in your NOTE and flash it. If not you are in a not so good situation, you can always go to CWM plug the usb cable, go to advance settings mount the sdcard and with adb you can push the ROM in your sdcard.
For adb, you have to install KIES to have to right driver, then download adb from android sdk then from a command prompt go to your adb folder (put the ROM in it) and then from the command "adb push MYROM /sdcard/" and you you should see it transfer to your sdcard.
For the titanium, it will be use only if you use a WIPE rom and once booted OK install Titanium and restore everythings. GL
Click to expand...
Click to collapse
I used odin to flash the stock rom, rooted & now restoring now with titanium everything seems fine & dandy ..
Im not gonna touch anything until the ICS is out ..hehe
Merry xmas to you!
This little issue should not scare you that much, the things you should remember from that is to always make a nandroid backup before falshing anythings or changing things.
Do not stop "messing" around your phone because a that experience, go for it but REMEMBER ALWAYS HAVE A VALID BACKUP.
Merry Xmas to you and all the other too
jayGGjay said:
This little issue should not scare you that much, the things you should remember from that is to always make a nandroid backup before falshing anythings or changing things.
Do not stop "messing" around your phone because a that experience, go for it but REMEMBER ALWAYS HAVE A VALID BACKUP.
Merry Xmas to you and all the other too
Click to expand...
Click to collapse
well ..titanium backup screwed me pretty good... apparently sms/contacts was not backed up by default
For contact use google sync and your google accounts
For sms use SMS backup and restore or some other backup (some apk can backup your SMS in your gmail account also)
Sorry to hear for your "lost"
That is why you should always have a nandroid to be able to extract what (backup the working one, restore the old one backup your contaact and email, then restore your new ROM and restore your missing stuffs) is missing and restore to your new ROM
GL
jayGGjay said:
For contact use google sync and your google accounts
For sms use SMS backup and restore or some other backup (some apk can backup your SMS in your gmail account also)
Sorry to hear for your "lost"
That is why you should always have a nandroid to be able to extract what (backup the working one, restore the old one backup your contaact and email, then restore your new ROM and restore your missing stuffs) is missing and restore to your new ROM
GL
Click to expand...
Click to collapse
It was my own fault. I took for granted that titanium backed up everything by default I acrtually had sms backup/restore on the phone.. hehe
well... these stuff happen when Im on new platforms. Im gonna go trough this forum to figure more about flashing costume roms.

[Q] Any way to do a full offline backup?

I just noticed that the current clockworkmod for the Nexus 4 generates backups that only include images for boot and recovery.
Is there any way to get a full backup of everything on the device, which can be restored to return the phone to exactly the same state it was in? Having all files in formats that can be restored via fastboot would be ideal (just reflash boot/recovery/system/userdata).
Typically the solution is to dump all of this to the sd card, but since this phone doesn't have an sd card it would probably make sense to just send it over adb to be written to a PC (which is how I believe nandroid used to work when I first started using it on my G1).
If nothing exists I guess I can probably just whip up a script that runs over adb from an insecure recovery.
Why not just use titanium/etc? Well, I do, and that would be my solution for restoring individual apps/etc. However, if I want to mess with an experimental ROM for a few hours I'd rather just do a full image of the whole device and then restore it when I'm done. If I have image files I can restore via fastboot then I know that the phone is restored to the exact state it was in when I started.
I just use TWRP once a month or anytime I make critical changes to my system. (aka NANDROID backup) And also Titanium Backup Pro for individuality of app storage.
Sent from my EVO using Tapatalk 2
Hate to self-reply, but the other reason I don't like Titanium is that it isn't atomic. Time passes between the first and last backup, so the phone might not be restored to a consistent state. It is better than nothing, and it is as good as you can do for an online backup without converting the phone to something like btrfs, but I'd really prefer an atomic backup, which is best done offline unless the OS is designed for it.
chinchillables said:
I just use TWRP once a month or anytime I make critical changes to my system. (aka NANDROID backup) And also Titanium Backup Pro for individuality of app storage.
Click to expand...
Click to collapse
Believe it or not I hadn't heard of TWRP. That seems to work better - I'll see if I prefer it to clockworkmod - if nothing else I'll just boot it from fastboot for backups.
I also use Ti Backup Pro for individual apps. I think that there is a place for both.

[Q] Please help, S4 Complete Backup (Nandroid) tool/ dicerctions needed

Hey everyone, I'm new to android game, I've been cracking iPhones since 1st gen, decided to challenge myself. I have an S4, rooted, but no CWM installed. I want to save the recovery so if any issues ever occur, I can just flash it and have it covered under warranty, and also to be ble to return to stock wen I sell the phone.
Is there a tool i can use to make a nandroid backup? On my Nexus 7, There is an all-in-one tool and I can make a nandroid straight from my PC. Is there anything similar for the s4? If not, how to I make a nandroid backup? thank you everyone for your help, I appreciate it
Odin back to stock if you ever need to.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Dimon1990 said:
Hey everyone, I'm new to android game, I've been cracking iPhones since 1st gen, decided to challenge myself. I have an S4, rooted, but no CWM installed. I want to save the recovery so if any issues ever occur, I can just flash it and have it covered under warranty, and also to be ble to return to stock wen I sell the phone.
Is there a tool i can use to make a nandroid backup? On my Nexus 7, There is an all-in-one tool and I can make a nandroid straight from my PC. Is there anything similar for the s4? If not, how to I make a nandroid backup? thank you everyone for your help, I appreciate it
Click to expand...
Click to collapse
I'm not entirely sure it's possible to do a nandroid backup without first having a custom recovery. However, it is "always" possible to use the Odin method to return to stock (including stock recovery). Personally, I installed TWRP and immediately did a full nandroid (including system, boot, cache, etc...) and I've frequently found myself restoring pieces of it as I manage to screw up different things. I did return my recovery back to stock once by using the "dd" method to flash the stock recovery.img onto the correct emmc block. There's instructions how to do this exactly on the TWRP homepage (make sure you get the correct phone - block numbers are different for different devices) - but instead of re-flashing TWRP, I pulled the recovery.img from the giant Odin image available here on XDA.
It may also be possible to use "dd" to pull a copy of your existing recovery image as well, but I've never tried it.
Aou said:
I'm not entirely sure it's possible to do a nandroid backup without first having a custom recovery. However, it is "always" possible to use the Odin method to return to stock (including stock recovery). Personally, I installed TWRP and immediately did a full nandroid (including system, boot, cache, etc...) and I've frequently found myself restoring pieces of it as I manage to screw up different things. I did return my recovery back to stock once by using the "dd" method to flash the stock recovery.img onto the correct emmc block. There's instructions how to do this exactly on the TWRP homepage (make sure you get the correct phone - block numbers are different for different devices) - but instead of re-flashing TWRP, I pulled the recovery.img from the giant Odin image available here on XDA.
It may also be possible to use "dd" to pull a copy of your existing recovery image as well, but I've never tried it.
Click to expand...
Click to collapse
Thank you! I'll be installing TWRP today, what is Odin if I can ask? I've never heard of any of it from Nexus 7.
Also, If i do a titanium backup, can I easily restore apps with setting and save games while I'm running CM10.1?
Dimon1990 said:
Thank you! I'll be installing TWRP today, what is Odin if I can ask? I've never heard of any of it from Nexus 7.
Also, If i do a titanium backup, can I easily restore apps with setting and save games while I'm running CM10.1?
Click to expand...
Click to collapse
You better find out what odin is because it's the only way you'll be installing twrp. And don't count on tibu restoring all your apps seamlessly. Never reinstall system apps.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
jd1639 said:
You better find out what odin is because it's the only way you'll be installing twrp. And don't count on tibu restoring all your apps seamlessly. Never reinstall system apps.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I installed TWRP through GooManager. I looked up ODIN and got general info, hopefully I won't get stuck, but I'm sure I'll find my way around. Thank you so much for your help! I figured that sys apps will just be for stock, but i have a MC4 save that i don't want to lose ::cyclops: it looks like it's CM10.1 time for me!
Dimon1990 said:
Thank you! I'll be installing TWRP today, what is Odin if I can ask? I've never heard of any of it from Nexus 7.
Also, If i do a titanium backup, can I easily restore apps with setting and save games while I'm running CM10.1?
Click to expand...
Click to collapse
Here's the thread that explains how to return to stock using Odin. Be prepared for a large download.
http://forum.xda-developers.com/showthread.php?t=2261573
In short, "Odin Mode" is the download mode that's built-in to just about every modern Samsung device, beginning as far back as the Captivate, afaik. Each device has a button combination to enter "download mode" or "odin mode". This special mode sometimes requires specific drivers to connect to your PC. Flashing stock firmware using this method is common, but with an unlocked bootloader, it could be used to flash about anything. It's like a secondary recovery in a sense. It's harder to destroy download mode, but still possible if you mess up the bootloader somehow.
For our device the easiest methods to get to download mode are:
- Hold down the power button until the device force-resets itself. The moment the device turns black, release the power button and begin holding down the Vol-Down button. The device with vibrate once as usual, but then you'll see a screen that you've never seen before (begins with "Warning!!").
- Using any shell, such as ADB Shell or a terminal emulator, give the command "reboot download". This may require root privileges, I'm not sure.
- There's apps for this - haven't tried them yet.
As for Titanium backup - I love this program and have purchased Pro (totally worth it). As others have said, it's a bad idea to backup/restore System apps. Only do so with extreme caution. It is possible to restore only the data from system apps, but again do so with caution.
While Google does its own job at re-installing apps after a factory reset (if you allow it to), it usually doesn't backup data for each app. I have a couple authenticator apps that I backup this way, and it works great for this. I've also managed to keep my copy of Angry Birds Samsung Edition from my Infuse. Other applications that have since disappeared from Google Play are still backed up and get migrated to each new device I purchase.
And for that matter, with almost every User application, you can easily back it up (with data) and restore it on a completely different ROM. When changing major android versions, you sometimes will find apps force-closing on you, requiring that you wipe their data... but I haven't had that problem in a long time.
You'll see some other things that you can backup, like SMS, Access Points, Bluetooth Pairings, etc. .... I recommend only restoring these with caution - especially cross-ROM or cross-device.
Okay, I'm done being long-winded. Good luck, have fun.
Good write up
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Aou said:
Here's the thread that explains how to return to stock using Odin. Be prepared for a large download.
http://forum.xda-developers.com/showthread.php?t=2261573
Thank you so much!
In short, "Odin Mode" is the download mode that's built-in to just about every modern Samsung device, beginning as far back as the Captivate, afaik. Each device has a button combination to enter "download mode" or "odin mode". This special mode sometimes requires specific drivers to connect to your PC. Flashing stock firmware using this method is common, but with an unlocked bootloader, it could be used to flash about anything. It's like a secondary recovery in a sense. It's harder to destroy download mode, but still possible if you mess up the bootloader somehow.
For our device the easiest methods to get to download mode are:
- Hold down the power button until the device force-resets itself. The moment the device turns black, release the power button and begin holding down the Vol-Down button. The device with vibrate once as usual, but then you'll see a screen that you've never seen before (begins with "Warning!!").
- Using any shell, such as ADB Shell or a terminal emulator, give the command "reboot download". This may require root privileges, I'm not sure.
- There's apps for this - haven't tried them yet.
As for Titanium backup - I love this program and have purchased Pro (totally worth it). As others have said, it's a bad idea to backup/restore System apps. Only do so with extreme caution. It is possible to restore only the data from system apps, but again do so with caution.
While Google does its own job at re-installing apps after a factory reset (if you allow it to), it usually doesn't backup data for each app. I have a couple authenticator apps that I backup this way, and it works great for this. I've also managed to keep my copy of Angry Birds Samsung Edition from my Infuse. Other applications that have since disappeared from Google Play are still backed up and get migrated to each new device I purchase.
And for that matter, with almost every User application, you can easily back it up (with data) and restore it on a completely different ROM. When changing major android versions, you sometimes will find apps force-closing on you, requiring that you wipe their data... but I haven't had that problem in a long time.
You'll see some other things that you can backup, like SMS, Access Points, Bluetooth Pairings, etc. .... I recommend only restoring these with caution - especially cross-ROM or cross-device.
Okay, I'm done being long-winded. Good luck, have fun.
Click to expand...
Click to collapse
Thank you so much!

[Q] How to get data off phone in recovery mode

I tried to install the 4.4 Android update on my Nexus 4 but upon reboot my phone started at the "four circles" screen. I thought it was installing correctly so I let my phone sit while plugged in, but when I checked back in four hours it was still stuck. Every time I reboot it gets stuck at the same screen.
I can access Recovery Mode but I don't have any backups for the system before I tried to install this update (really bad planning on my part, I know). After searching on Google it appears the only solution is a factory reset and installing files found on this website, but before I do that I want to pull my data off my phone. When I connect my phone to my computer via USB it doesn't show up at all under Computer.
I have the following programs installed that I think are relevant:
Team Win Recovery Project
SuperSU
Titanium Backup (with paid key)
I've tried scouring Google for days but I must not be using the right key words because I can't find anything relevant to my specific issue. I've found mention of "ADB Sideload" but I don't understand how that factors in-- I haven't found anything in simple enough terms for me to understand (I'm extremely un-knowledgable of phone-related tech talk).
Please help! Thank you!
Google adb backup xda
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
Google adb backup xda
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
From what I'm reading after Googling "adb backup" you need your phone to be able to start up. My phone can't start up, it can only go in to recovery mode. Also, when I backed up my files with TWRP and restored it, it also restored the faulty installation of Android 4.4. As far as I'm reading on adb backup it will backup everything the same way, so it will also reinstall the faulty installation of Android 4.4, in my understanding.
Is that right? Or is there something I'm missing where the adb backup file can be modified while on a computer where the old system files (for the phone) can be removed so it only restores the data? Also, I've read that the adb backup does not save any SMS messages, will it still save the SMS backup files I have through Titanium Backup?
Nexus4Noob said:
From what I'm reading after Googling "adb backup" you need your phone to be able to start up. My phone can't start up, it can only go in to recovery mode. Also, when I backed up my files with TWRP and restored it, it also restored the faulty installation of Android 4.4. As far as I'm reading on adb backup it will backup everything the same way, so it will also reinstall the faulty installation of Android 4.4, in my understanding.
Is that right? Or is there something I'm missing where the adb backup file can be modified while on a computer where the old system files (for the phone) can be removed so it only restores the data? Also, I've read that the adb backup does not save any SMS messages, will it still save the SMS backup files I have through Titanium Backup?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1021625

Categories

Resources