Can I perform a backup using fastboot? - Nexus 5 Q&A, Help & Troubleshooting

My phone randomly decided to bootloop today and the only thing I can get to is fastboot.
I flashed the stock 5.0.1 system, boot, recovery, bootloader, cache, and radio (everything except userdata) to it but it still won't boot.
I can't even get into recovery. It doesn't appear to be the powerbutton because I could stay in fastboot mode long enough to flash everything.
You can "fastboot flash", but can you fastboot restore or backup?
LG is going to try and fix the phone free, but I'd like to try and backup my data beforehand.
I'm considering flash userdata, but I'd like to back it up first.
Edit: Started putting my phone back together and somehow seems to be fixed for this boot. I'm scared to reboot, so I'm backing up everything with Titanium Backup right now and transferring it to my PC, then I'm going to do a nandroid backup if possible.

Related

blank screen after twrp restore

I tried to flash a cm10 rom and i did thought i flashed the boot.img separately as i read you have to but it was stuck booting for at least 25 min so i gave up with that and tried to restore from a backup i made with twrp. I restored from the backup and tried to reboot but nothing happens, it shows the htc screen and then turns black and thats it. I can go into bootloader and recovery but im not sure what to do to get back. Should i try a ruu?
ez4nick said:
I tried to flash a cm10 rom and i did thought i flashed the boot.img separately as i read you have to but it was stuck booting for at least 25 min so i gave up with that and tried to restore from a backup i made with twrp. I restored from the backup and tried to reboot but nothing happens, it shows the htc screen and then turns black and thats it. I can go into bootloader and recovery but im not sure what to do to get back. Should i try a ruu?
Click to expand...
Click to collapse
Maybe it was a bad restore? or a bad backup? You could try restoring from your backup again.
Or blaze on and see if you can get CM10 up and running.
Did you wipe /cache/dalvik/system when coming from stock (before installing)? I've seen situations (on other devices), Where I've had to delete the /data partition as well, I'm not sure why it wouldn't boot, but it refused to get past the CM load screen until the /data partition was wiped. If it's a new phone and you don't have too much on the sdcard, this might be worth trying.
Once you have TWRP flashing ROM's shouldn't be too bad, it's just the "fastboot flash boot boot.img" that catches people out usually.
you still have to flash boot.img separate before/after a twrp restore.
Grab the boot.img from a stock rom
Wipe cache/dalvik
Factory reset
Bootloader, fastboot usb, then fastboot flash boot boot.img
Then restore the backup
Thanks everyone for the responses, I was able to get it working after trying a few more times and wiping everything. Not sure why it didnt work earlier but all of a sudden after trying it just worked.

[Q] Can't boot after making backup

I saw that TWRP was updated to 2.3.3, so I first made a backup of boot and recovery partitions in TWRP and named the backup "recovery" with compression enabled. I then rebooted system to use Flash Image GUI and the device hung at the boot animation. I reflashed the kernel in fastboot, wiped cache and dalvik, and it still hangs. I can still boot into recovery (never actually updated). Do I need to reflash the ROM? Was running King Kang and b6.
Edit: Well ended up doing a full wipe restoring rom and tibu. Still no idea what happened though. Making a backup shouldn't mess anything up like this...

[Q] Can't erase Xoom

Back when I was on Jellybean, I decided to go back to ICS because of random reboots. I backed up all of my apps, through titanium, and flashed an ICS backup. Everything seemed to work fine. After i restored my apps, everything started crashing. Since then i have tried everything from factory resetting to flashing images through fastboot. Every time i try flashing images, it says "done" but i reboot and it's just the way it was. Clockworkmod isn't working either, it either gives me an error or reboots recovery in the middle of a restore. If you need any more info, i would be happy to get it.
When you tried to restore your back up from Jb to ICS it caused issues. You can try and push a new clockwork recovery and then restore a back up or you can also just fastboot the stock image and start all over again. What xoom do you have and what clockwork based recovery were you using (rogue or something else)?

Nandroid Restore gone wrong

Hi,
I have tested the liquidremix rom which is great, but I still wanted to go back to my stock OSS
So I started TWRP, hit restore, everything seem to work fine, but when I reboot the system I'm stuck at the boot animation.
When I reboot the device to TWRP and check the file manager or my backup folder there are only cryptic and weird letters...
How do I restore my backup properly ?
Try to go back to TWRP 3.2.1.0 i think that that works
everything is gone, you will have to restore with the brick tool, happened to me last week and still not sure why, apparently backing up with TWRP you only need to ticket DATA and that's it.
You need to do two things whenever you restore with TWRP. First is factory reset in TWRP before the restore (that will wipe data). Second is restore system, boot, and data ONLY.
The weird file names and cryptic letters is from the encryption from the old rom. I strongly recommend that you invest in an OTG flash drive so you can store TWRP backups on it. Then you can properly wipe the phone. On the plus side this has happened to me before and I never needed anything special like the unbrick tool to get my TWRP backup up and running smoothly.
and there is a better twrp than twrp. The official is by Dees Troy and the un-official one by Joe Moss Jr. is here. https://forum.xda-developers.com/oneplus-6/development/recovery-twrp-3-2-2-0-touch-recovery-t3813317
Joe's big improvement is a usable 'mtp', ie. access that thumb drive.
Also puts the vibration back in to the key press.
First if you r seeing weired letters in twrp like xdjdhdhdhd folders. Then go to fastboot mode flash newest twrp. Img then ij recovery first flash your liquid remix furst, then flash twrp installer zip niw reboot to recovery.
Now factory reset your phone.
Now if you have oos backup. Then restore everything except system.
And then restore system alone at last now reboot it will work.
your gonna need the flashable oos 5.1x which is one here
https://forum.xda-developers.com/oneplus-6/how-to/oneplus-6-mirrors-official-oxygen-os-t3792244
fastboot to twrp
abd push the stock.zip to the phone <-assuming you know this.
and flash it from twrp.
reboot
fastboot twrp again and flash twrp.
this is where decryption comes in handy
Restoring backups with twrp will fail almost all the time. I've yet to do a successful restore and I've tried every method. You're gonna have to flash back to stock OOS and start over.
If anyone has successfully restored more than one backup then I would start a new thread with the exact method you used.
That worked.
I still wonder why not to restore system.
If I take a nandroid backup should one backup
system or system image, data or data image ?
I was trying a new rom the Resurection Remix V6.2.0 Android 8.1.0. i wanted to go back to my TWRP Backup of OOS 5.11 . I wiped data/cache/System . Tried to restore rom . it restored successfully but i didnt do wipe data thing. when i tried to reboot twrp blu, the recovery was lost. then i had to fastboot boot reovery. and lot of wierd folders were created on my phone internal memory. All data lost.
i had to flash the full 5.11 stock zip via twrp. tried to reboot again lost in bootloop. Switched back to stock recovery and make a factory reset then it booted.
switched off the phone back to Blu spark TWRP. again wipe data cache and system. Then restore the TWRP Backup previously double saved on a usb drive. This Time it restored successfully and booted as well fine.
i think i should have made a factory reset or format data before restoring from A Lineage OS Rom OS to OOS TWRP Backup
thats what made the whole internal drive mess and to be formatted as well
My Question is it only important to format data and then restore twrp or also backup and make restore of system.img of OOS backup as well

Problem restoring OOS nandroid backup after flashing a custom rom

I'm testing various custom rom so often I want to go back from the custom rom to OOS. I have a twrp backup of my OOS, the problem is that i cannot restore it properly. If, from the custom rom, I reboot to recovery and restore the backup, the phone bootloops. I've also tried to format data and rebooting to recovery before restoring the backup, but this doesn't work either.
The only way I've found to properly restore the backup is to completely reflash OOS via MSM tool (or fastboot), but this takes really a lot of time, because apart from the MSM tool installation itself, it relocks the bootloader so I have to wait for the system to boot up, toggle oem unlock, unlock again the bootloader, wait for the wipe and for another system boot up, boot in twrp using fastboot command, transfer 13GB of data to the phone and then FINALLY restore the backup.
Is there an easier, and most important, faster, way to restore the backup?
https://forum.xda-developers.com/on...nt/recovery-unofficial-twrp-recovery-t3932943
On this link scroll down and read the "tips", if you have backed up rom the way it says you shouldn't have any problems in restoring, hope this helps, cheers

Categories

Resources