Monday, May 4, 2015

Guide to Recovery your TF600T!




I recently got a TF600T. Sadly, I lost its password! So it's practically useless, as I can't get pass the lockscreen. There are some ways to recover the device: factory reset and re-flashing. Unfortunately, factory reset failed me for some reasons, while re-flashing wouldn't work as I didn't back up the original image.

After spending 2 weeks trying to understand Windows RT recovery system (most of the regards go to xda-developers forum), I've finally figured out how to restore my TF600T! :)

This post summarizes what I learned and provides the steps to recover your TF600T. Hope you can benefit from this

Important Notes:

  1. You can restore your TF600 even if you forgot to make a recovery image. For this, you'll have to use someone else's image. And fortunately, it's available here.
  2. You may not be able to use TF600TG or other variants' images on TF600T. How'd you check if you're using a proper image? Just try it! If it's incompatible, your device will simply refuse to boot with a certain error code. I spent a week to realize I was using a wrong image! The tricky part is that you'd still be able to enter recovery mode even with an incompatible image! Looks like the recovery image uses some kind of generic drivers?
  3. The USB drive that you would use for recovery has to have GPT partition table and is formatted to FAT32. I personally used GParted on Linux for this. How'd you check that you do this properly? Try getting into USB recovery mode. If you can't, chances are you didn't format your drive correctly.


Different modes and how to enter them:

1. Normal Mode:
a. Push power button

2. USB Recovery Mode:
a. Plug in a properly partitioned USB drive that has a proper image
b. Press and hold vol-down button when powering the device on. Keep holding the vol-button down until ASUS logo is shown. If you do this correctly, you'll get to a screen that prompts you for a language. If you don't see this, maybe there's a problem with your USB drive or the image on it.

3. Recovery Mode:
a. You can only go here if you have a proper installed OS
b. Push power button
c. Wait until you get to login screen
d. While holding the "Shift" keyboard-button, tap the power icon, and select restart

P.S. Recovery Mode is useful if you have a working operating system and also a recovery image specific to it. In this guide, we'll be using USB Recovery Mode to restore the device.

Steps:
1. Download the image that apatcas (from xda-developers) generously provided:
http://www.alexpatcas.com/vivort.rar
or from my mirror:
https://drive.google.com/open?id=0B7ufsmtTr_EjbVdQbVVJS19wX1U

2. Prepare a recovery USB drive
a. The image from (1) is 4.2GB, so you need at least that much of space
b. Format and partition your drive as GPT. If you're using Linux, I suggest using GParted. Instruction is as follow:

  1. Open GParted
  2. Select your USB drive from the dropdown on top right.
  3. Select "Device" -> "Create partition table" -> "GPT"
  4. Format the partition to FAT32 filesystem

c. Extract and paste the image from (1) onto the drive. You should see "boot", "sources", and "efi" directories on the top-level directory.

3. Prepare partitioning script to be run on your TF600T "USB Recovery Mode"

Save the script below as "X:\recovery.txt" (change X to your USB drive):
select disk 0
clean
convert gpt
create partition primary size=350
format quick fs=ntfs label="Windows RE tools"
assign letter="T"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
create partition efi size=260
format quick fs=fat32 label="System"
assign letter="S"
create partition msr size=128
create partition primary 
shrink minimum=3072
format quick fs=ntfs label="Windows"
assign letter="W"
create partition primary
format quick fs=ntfs label="Recovery image"
assign letter="R"
set id="de94bba4-06d1-4d40-a16a-bfd50179d6ac"
gpt attributes=0x8000000000000001
list volume

4. Enter "USB Recovery Mode" on your TF600T
5. Select English, select "Troubleshoot", select "Advanced", and select "Command Prompt"
6. Type: "diskpart"
7. On diskpart terminal, type: "list volume".
8. Remember the letter for your USB drive, on this tutorial, we'll refer to this as "X".
9. Quit from diskpart terminal by pressing "ctrl+c"
10. Format and partition your TF600T properly. Type: "diskpart /s X:\recovery.txt" (replace X with your USB drive)
11. Flash the image on your USB drive onto your TF600T:
  1. Type: "dism /apply-image /imagefile:X:\sources\install.wim /index:1 /applydir:W:"
  2. Grab a cup of coffee or two while waiting.
12. Fix your TF600T partition table
  1. Type: BOOTREC /FIXMBR
  2. Type: BOOTREC /FIXBOOT
  3. Type: BOOTREC /SCANOS
  4. Type: BOOTREC /REBUILDBCD
  5. Type: bcdboot w:\windows
13. Exit the command prompt. Type: "exit"
14. Boot to windows normally! Enjoy!

Where I originally post this:
http://forum.xda-developers.com/showpost.php?p=60536721&postcount=127

25 comments:

  1. You are my heroo!!Thank you! I solved my problem!

    ReplyDelete
  2. when I do the "diskpart /s D:\recovery.txt" command I get the response "There is no disk selected"

    ReplyDelete
  3. If u guys get error "There is no disk selected" review ur recovery.txt
    open it with wordpad and edit cript to be like every command new row. not like "select disk 0clean" it should be "select disk 0 clean" next u will bump in error on step 11 "dism /apply-image /imagefile:X:\sources\install.wim /index:1 /applydir:W:" WRONG COMMAND it should be "dism /apply-image /imagefile:X:\sources\install.wim /index:1 /applydir:W:\" Now with all due respect to Author learn to fucking copy/paste i lost 2 hours of my life cause u noob <3 :D

    ReplyDelete
    Replies
    1. Wow, first you said "with all due respect" and then telling me to "fucking learn to copy/paste" because you wasted 2 hours?

      Do you know how much time I spent on coming up with the tutorial above? I'm providing the result of my WEEKS of research for you for FREE. You should learn to be grateful and have some manner.

      Delete
  4. hey friend
    i cant boot my asus...can you please get in touc with me?

    ReplyDelete
    Replies
    1. Hi Bruno,
      Could put more details here? Was there an error message during booting?

      P.S. sorry for the late reply.

      Delete
  5. Thanks, your instructions are well done.. but... maybe i'm missing something because i cant get it to boot... as for the recovery.txt, the "label" command doesn't seems to work properly... if i edit the txt file to remove the label instruction, it runs ok... otherwise, it stops as soon it get to the first label instruction... any thoughts? anyway, i haven't any luck so far...

    ReplyDelete
    Replies
    1. Hi Jack,
      Sorry I didn't realize that the commands were clumped together like that. I've re copy-pasted them with a better formatting. Could you try again and see if it works?

      Delete
    2. well, i manage to re-arrange the recovery.txt, now it run fine and disk is partitioned correctly... but... and always is a but... it seems i'm doing something wrong or in effect the tablet is beyond repair.. i have done everything by the book, still i get the "repair loop" all over again...
      here is what is happening in short;

      disk partitioning is OK
      dism image is OK (completed succesfully)
      bootrec /fixmbr is OK
      bootrec /fixboot is OK
      bootrec /scanos is OK (indentified win installation: 1)
      here, i got W:\Windows path
      bootrec /rebuildbcd "add isntallation to boot list? = Y
      "The system cannot find the file specified"

      I ran the command on the "W:\Windows" directory, still "cannot find find the file specified" error.

      i ran "bcdboot W:\Windows" and i got this;
      "BFSVC Warning: Failed to open handle to fwbootmagr object. Status =0x0000034"
      "Boot files successfully created"

      Turn off and turn back on, guess what!... same "repair loop"...

      Any thoughs?



      Delete
    3. Did step number 11 run fine? Could you check if the windows OS files indeed get copied over to W:\Windows?

      Delete
    4. Yes, it runs OK... writing progress shown to 100%... checked directory content and shows all corresponding files and folders...

      Delete
    5. Hi,

      Thanks for those clear instructions
      I'm getting the same issue :(
      Do you have any idea on how to solve it?
      Thanks

      Delete
    6. Totally sorry, but I'm no longer in touch with this tablet.. Your best bet would be to go to http://forum.xda-developers.com and ask there. Again, sorry..

      Delete
  6. Thank you for all your hard efforts.
    Even a noob like me managed to do it!
    Thanks

    ReplyDelete
  7. Ran into a wall. BOOTREC /REBUILDBCD
    total identified windows installations:1
    C:\windows.old\windows
    Asking add install windows to boot list. (Yes) (No) (All)

    no matter the selection error
    The system cannot find the file specified

    bcdboot w:\windows
    failure when attempting to copy boot files

    ReplyDelete
  8. Do you think this general process would work, or has anyone tried to use this method, to install linux AFTER unlocking the boot loader?
    (script at bottom of http://www.theregister.co.uk/2016/08/10/microsoft_secure_boot_ms16_100/ )

    ReplyDelete
  9. Unintentional arrangements, infection issues, programming glitch, document/registry erasure or damage - these are potential risk to information recovery. Encountering hard drive accident or information misfortune fiasco is not extraordinary. This is the place information recuperation administrations come in.Flash Miui

    ReplyDelete
  10. This worked great! Thanks for posting the process and instructions clearly.

    ReplyDelete
  11. I love you bro, it is crystal clear, it went smooth, thank you.

    ReplyDelete
  12. Thanks a lot for your work and documentation. Your mirrored image saved me as the original link is not working any more. �

    ReplyDelete
  13. hello and thank you for your tutorial it worked perfectly for me but I have a little connection problem with winstore I think it is because of the unknown owner
    I will be very grateful if you want to help us more on this point here is my email benziane90@gmail.com

    ReplyDelete
  14. Hello can you make your mirror available? I can't find the image for the Asus VivoTab RT on the Internet. That would help me a lot! Thanks!

    ReplyDelete
    Replies
    1. Try https://drive.google.com/file/d/0B7ufsmtTr_EjbVdQbVVJS19wX1U/view?usp=drivesdk&resourcekey=0-9NVlu5KeXFEfbtXprjU8DQ

      Delete