Hello.
Today I broke my nexus's screen Touch isn't working so I can't use TWRP.
Tomorrow I'm going to buy another N4 and restore all data.
How can I backup my all data, whole system + data ?
Is there any easier way to backup or I have to flash CWM recovery and use volume buttons ?
If you can get into cwm and use vol buttons that would be the easiest way. Then use adb to pull your /sdcard to your pc
Sent from my Nexus 5
Thanks I will try to boot CWM. I hope everything will go smooth
Edit: I got no space to backup data partition. How can I delete folders to get more space and pull files through fastboot or adb ?
CWM recovery USB mount doesn't work/
Edit2: Got it working, adb working great, so I can delete/push/pull files. I hope I will recover all my data
Very nice! Good job on figuring it out yourself! Goodluck
Related
I rooted my Nexus S a couple of weeks back and installed Clockworkmod. Not problems there.
But today I rebooted the phone via adb (issuing the "reboot" command), and now the phone is stuck in Clockworkmod recovery. I'm able to connect with adb, and I'm able to go to the stock recovery (home + volume up), but I'm not able to boot into Android at all
What can I do to get my phone to boot again?
Did u do a nandroid Backup?
Sent from my Nexus S using XDA App
Factory wipe and reboot.
Does usb mount work?
Thanks for the answers!
I found a nandroid backup on these forums, and that solved it.
I think the reason must be that I did a command line reboot while /system was mounted read-write, and that borked the file system somehow. Which is weird, because I'm able to mount /system from CWM.
USB mount works as well.
The nandroid backup was 2.3, though, and the OTA didn't work on it. Will a factory wipe reset my phone to a state where the OTA will work?
Hello
I formatted /sdcard on recovery mode by mistake, was going to format /data, /system and /cache
now I lost all of my backup and ROM files and my N7 stuck at Google icon when reboot.
recovery and bootloader can still access....if that help.
Any way i can get my baby to boot up like it used to be? or How to put files back to N7? (maybe I can install the ROM if it's there?)
Thanks in advance >___<
First make sure you have the Nexus 7 plugged into a PC while attempting to start bootloader and choosing recovery. You might be able to do a factory reset from there. Wipe data, cache and dalvik. You may want to hit 'Fix Permissions' last just in case, then reboot. If you're familiar with ADB and fastboot you can find info on flashing stock images here http://forum.xda-developers.com/showthread.php?t=1907796. If neither of those helps you'll need to go to this post http://forum.xda-developers.com/showthread.php?t=1766475, download and install the toolkit and choose 'Flash Stock + Unroot' with the option 'Soft-Bricked, Bootloop' (assuming that is still the case) checked. It will ask which image to download, pick the latest (4.1.2). You shouldn't have to relock the bootloader. From there it's just like stock so play with it as you like, just watch what you're wiping, lol.
Thank you very much!!!!
everything work now.
Hey guys,
I recently encrypted my phone for my work e-mails (the Exchange server required it). I made a complete Nandroid backup and also entire Titanium backup before encrypting, just in case something went wrong. But the encryption went beautifully.
However, I've noticed that I cannot mount /sdcard or flash anything from recovery. I can't update my Franco kernel or CM nightlies... It's a bit annoying because I want to keep flashing! lol.
My phone asks for my password everytime I reboot (in order to decrypt sdmount and mount the ROM), so I'm assuming this is the reason I can't mount it in CWM recovery.
Anyone know of a bypass or fix for this?
I don't really feel like restoring nandroid backup or doing a factory reset everytime I want to flash a new nightly, it just doesn't make any sense (besides I haven't even tried to see if I can restore from nandroid or factory resetting, they might not even work because it can't mount /sdcard?...)
I've searched around the forums for some complex solutions such as using ADB or Odin but I'm not interested in that.
Thank you!
UPDATED:
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here:
http://forums.androidcentral.com/nex...e-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
scream4cheese said:
Why don't you just transfer the files regularly without entering recovery mode?
The recovery doesn't allow mounting to the PC. It just doesn't work.
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
I've never mounted to PC in recovery. My files are backed up on my computer and nandroid as well.
My issue here is that I can't regularly flash new nightlies (and thus mount internal /sdcard to do so) following the phone encryption.
Since my internal /sdcard path is encrypted with a password, CWM recovery can't bypass this and it gives me the error "cannot mount /sdcard".
bump?
Any help would be highly appreciated!
Is this a lacking feature in CWM Recovery? Have the developers looked in it? Or is there already a fix for this without doing an entire factory reset?
Daily bump.
Anyone there? (echo...)
Ok guys so basically restoring from nandroid did not work because of the sdcard mount error.
I did a factory reset, erased all data and format system. But I couldn't format sdcard or even user data as it didn't have access... Basically the phone got bricked from then on and I had to restore back to stock using this:
http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
Hopefully this will come to use to someone else. I've heard that TWRP does not have this sdcard mount problem with encryption as does CWM, so that's what I installed this second time around.
If you want to recover the data from SD card, you do not use the SD card.
You can try to recover the data from the card with some specific software.
I will try to fin one I used before.
It will take few minutes... do not use the card.
cyrus_e said:
Basically the phone got bricked from then on and I had to completely restore back to stock bootloader/recovery/stock rom with adb/fastboot. Instructions are found here: ...
Click to expand...
Click to collapse
Many thanks, this link helped me restoring my Nexus 4. I enabled "encrypted storage" and wanted to root the phone and almost bricked it.
It's also possible to flash the stock recovery with odin, then do a real factory data reset and be able to install a custom rom, after (or before) which you can reinstall a custom recovery.
So I decided to try and flash Ubuntu last night... I booted into recovery made a backup 15min and 2.5 GB later it was done... wiped flashed no go would not boot... so back to recovery I choose my restore file... system says it was successful but when restoring the data it fails... I'm on twrp 2.5 ...then I tried to just restore the system when booting up I get that static image you see on cm flash every 5 sec but never boot nor goes inyo the boot animation...is there anyway to use this restore file... I just need the data part.. I have messages that i need to show my lawyer and numbers that I need... TiB won't restore my messages either....
Sent from my XT907 using xda app-developers app
You will need TWRP 2.6.3 / PhilZ / or a newer CWM that supports adb in recovery (not sure is 2.5 does)
First off, all of your pictures and other stuff are stored at "/data/media" or "/data/media/0" and are not "wiped" unless picked. These are both accessible in recovery, and you could do an "adb pull ....." to get those files to a PC. At this point you should have your pictures.
Sounds like Ubuntu messed some things up, and when you restored "/system" only it won't boot because of missing data. I once had a problem like this bouncing back and forth between 4.3 and 4.2. Assuming you were on a custom ROM, maybe try wiping completely including "/data/media" DO NOT WIPE "/DATA/MEDIA" IF YOU HAVEN"T BEEN ABLE TO PULL THE FILES VIA ADB IN RECOVERY!!! YOUR PHOTOS WILL BE GONE!!! Sorry for the bold caps, I just didn't want you to miss it. Next install your custom ROM, boot, and do enough setup to get to the home screen. Now go back to recovery and your backup should restore. From here you could "adb push ..." your files back.
Updating TWRP is one way to solve this in the future, like JB already posted. However, to remedy on 2.5, do a clean wipe prior to restore, mounting system prior. Then, restore only the boot.img from the ROM you want and then restore the full ROM you want. This is how I was able resolve this same issue. Hopefully, it will work for you.
I was on stock deodexed debloated prior to all this... after a few tries at the restore I just flashed that same ROM and used TiB to restore what I had on last back up... tonight I'll try and restore that twrp backup ... but either way I guess I'll be updating my recovery... I'm not worried about all my pics n what not I keep all that on the external SD card now...
Sent from my XT907 using xda app-developers app
So I have a 8GB N4 with a broken digitizer, phone works fine otherwise, boots and can unlock it and can boot into recovery.
I have TWRP installed and stock rooted 5.0.1 w/ busybox just wondering what is the best way to backup all my data (is there a script to launch a nandroid backup in recovery via ADB?).
Also I have purchased a 16GB N4 to replace it, will moving data from a 8GB to a 16GB lead to any issues?
Can you make the nandroid in twrp? If so just copy it to your new device and it'll work fine. You can't make a nandroid with adb. But you can backup the device with adb, although I haven't done it successfully. Google adb backup
Sent from my Nexus 9 using XDA Free mobile app
Thanks,
I think I have it, it's running a backup as we speak. I couldn't make a Nandroid, I have zero input from the digitizer.
But I was able to run the backup command, and then a series of commands to unlock the screen and simulate a screen tap in the lower right corner to get it confirm. After this is complete I will see if I can use the same input tap commands to get it to launch a Nandroid backup in TWRP.
I figured the size difference wouldn't matter, just wasn't sure if the difference in partition sizes (I assume its only the /data partition thats different on the 16GB models) would screw things up or not, i.e. does it specify a start and end point for each partition or not.
No go on the input tap commands in TWRP, is there an older version that goes old school with volume rocker and power button?
jakejm79 said:
No go on the input tap commands in TWRP, is there an older version that goes old school with volume rocker and power button?
Click to expand...
Click to collapse
Try a non touch version of clock work mod
Sent from my Nexus 9 using XDA Free mobile app
Thanks, I now have both a nandroid and adb backup (and also a pulled all the files off the 'sdcard') so hopefully I should be all set when the new one comes in.
Now to survive the weekend with no phone.
Lastly can I restore a CWM nandroid with TWRP? oh should I boot to CWM restore the nandroid and then flash TWRP.
jakejm79 said:
Thanks, I now have both a nandroid and adb backup (and also a pulled all the files off the 'sdcard') so hopefully I should be all set when the new one comes in.
Now to survive the weekend with no phone.
Lastly can I restore a CWM nandroid with TWRP? oh should I boot to CWM restore the nandroid and then flash TWRP.
Click to expand...
Click to collapse
You'll need to use cwm. The nandroid between twrp and cwm are not compatible
Sent from my Nexus 9 using XDA Free mobile app
OK, good to know. Having a hard time getting it to complete the nandroid, keep getting an error while making a backup image of /data. I think I might be running out of room, I had about 1.8GB free, but I've already cleaned out the 'sdcard' and cache, it's all apps and data left which is what I'm trying to backup.