Hey guys,
Can Nandroid create a backup from the command prompt, or does it have to be run via Recovery in the phone itself, thanks in advance for any help!
Can anybody give me the correct command to flash a recovery image from better terminal on the phone it self?
Thanks in advance
Same stuff, just type it in terminal the same way....make sure that you have the img file on the root of the SDcard.
Awesome, got it thanks
Hi mates,
does anybody know the commands which we can manually use in the command prompt after entering adb shell in the CMW recovery mode on our HD2?
Thanks in advance...
I set up my adb in my Ubuntu 16.0.
After a lots of guides I finally made adb detect my device!
I wanted to take a backup and entered the command and the terminal asked to unlock the device and confirm the backup operation.
But there was no popup of the backup operation ? What did I do wrong??
Hello, I would like to send my X Compact in for warranty repair. I have backed up my TA keys, now I need to find a way to flash them back. Can someone post a quick guide? Thank you!
So I did my homework and searched in other forums and found this:
- Booted back to TWRP (Also wants a password due to encrypted data - ignored!)
- Pushed TAbackup.img (I renamed it) to /data/local/tmp and verified md5sum is same as original backup.
- Did
Code:
adb shell dd if=/data/local/tmp/TAbackup.img of=/dev/block/bootdevice/by-name/TA
- Rebooted
- Everything back as it was. Original TA restored and DRM keys all active
Can anyone confirm this works?
Also how do i push the ta backup to the /data/local/tmp?
tempurastyle said:
Also how do i push the ta backup to the /data/local/tmp?
Click to expand...
Click to collapse
By ADB from your pc. You can use Minimal ADB & Fastboot. Connect your phone to pc, turn usb debugging on, grant permission that will pop up upon connection, Open CMD in the folder that contains ta backup and type:
adb push <filename> /data/local/tmp
and press enter. It should copy ta backup to that location on the phone. It works like this: adb push <file_you_want_to_push> <place_where_you_want_it_to_be_pushed>
Toldo said:
By ADB from your pc. You can use Minimal ADB & Fastboot. Connect your phone to pc, turn usb debugging on, grant permission that will pop up upon connection, Open CMD in the folder that contains ta backup and type:
adb push <filename> /data/local/tmp
and press enter. It should copy ta backup to that location on the phone. It works like this: adb push <file_you_want_to_push> <place_where_you_want_it_to_be_pushed>
Click to expand...
Click to collapse
Thanks, this is great help! Now I have the following question, to have everything confirm, so nothing goes wrong. In my post above, someone wrote the following line:
adb shell dd if=/data/local/tmp/TAbackup.img of=/dev/block/bootdevice/by-name/TA
My question is, do I just execute this, or do I have to change anything, like fill in /by-name/TA etc.
If You push ta backup to data/local/tmp then the aforementioned command should work, no changes necessary.
Toldo said:
If You push ta backup to data/local/tmp then the aforementioned command should work, no changes necessary.
Click to expand...
Click to collapse
OK, so, just to confirm that I do everything right, if I want to reset to factory state with bootloader locked, do I first do
Method 1: flash complete firmware in Flashtool, then flash TA backup
Method 2: flash TA backup to my phone, then flash complete firmware in Flashtool
To restore backup You need to have root, so if You have root, then firstly restore ta backup, then flash full rom with flashtool, and in flashtool for best effects enable the factory reset option. Do note that after ta backup restore the device may soft-brick if You had non-stock kernel or rom.
Toldo said:
To restore backup You need to have root, so if You have root, then firstly restore ta backup, then flash full rom with flashtool, and in flashtool for best effects enable the factory reset option. Do note that after ta backup restore the device may soft-brick if You had non-stock kernel or rom.
Click to expand...
Click to collapse
Ok thank you a lot, and what should i do when i encounter softbricking?
Just proceed with flashing full rom with Flashtool.
Before flashing TA back how could I flash stock rom from the Xperia flashtool? I'm downloading latest image for my region and then which options should I choose from the dialog in order to get the full ROM as it was purchased? This is how my dialog looks like: https://i.imgur.com/zfIEvQa_d.jpg?maxwidth=640&shape=thumb&fidelity=medium
Anyone? I really need to recover full stock ROM, but after flashing from the flashtool nothing boots (stuck on Sony logo). Assuming something wrong is chosen from the check boxes.
yacoco said:
Anyone? I really need to recover full stock ROM, but after flashing from the flashtool nothing boots (stuck on Sony logo). Assuming something wrong is chosen from the check boxes.
Click to expand...
Click to collapse
Flashing full ROM involves checking the boxes: WIPE - check ALL boxes, EXCLUDE - check NO boxes.
Flashing ROM should work with or without phone being unlock and TA partition beiing intact, deleted or flashed back from backup.
ondrejvaroscak said:
Flashing full ROM involves checking the boxes: WIPE - check ALL boxes, EXCLUDE - check NO boxes.
Flashing ROM should work with or without phone being unlock and TA partition beiing intact, deleted or flashed back from backup.
Click to expand...
Click to collapse
Thanks. Will try it. Suppose I should not check anything in both "Misc TA" boxes?