yashsingh1/xdaforums huggingface dataset:
[Asus  Eee Pad Transformer Prime] fordwolden:
Having a bit of a challenge here guys. I'm on 32bit Linux. Finished all steps just fine until trying to get the bricksafe.img when I type the command:

./nvflash --resume --rawdeviceread 0 2944 bricksafe.img

I get:

$ ./nvflash --resume --rawdeviceread 0 2944 bricksafe.img

Nvflash started

[resume mode]

failed executing command 30 NvError 0x120004

command failure: readdeviceraw failed

Tried:

$ sudo ./nvflash --resume --rawdeviceread 0 2944 bricksafe.img

[sudo] password for martin:

Nvflash started

[resume mode]

failed executing command 30 NvError 0x120002

command failure: readdeviceraw failed (bad command)

bootloader status: success (code: 0) message: flags: 0

The Prime sits in NVFlash mode telling me !!!!!device update failed!!!!! every time.

Help would be much appreciated.
[Asus  Eee Pad Transformer Prime] lilstevie:
1) Is the device docked? sometimes the dock interferes for some unknown reason preventing commands from being executed.

2) Are you using the version of nvflash recommended by the others in this thread? nvflash has many breaks in the communication protocol and nvidia have no checking to make sure
[Asus  Eee Pad Transformer Prime] fordwolden:
Got it! I wasn't docked. I changed the nvflash file with the one from post #112 and it worked perfectly. Thank you.
[Asus  Eee Pad Transformer Prime] jrfaulkin:
Any word on when nvflash is going to be updated to support TF300?
[Asus  Eee Pad Transformer Prime] fordwolden:
Heard the infinity guys got the tf300 jb rom to work on their device. Would be interesting to check if it works on the Prime to. Read in the tf300 thread that it flashed a new bootloadet too. Would it be pure stupidity to try this? Would it be "easy" to revert with nvflash? Would be fun to test!
[Asus  Eee Pad Transformer Prime] joshw0000:
We have JB roms already. Is this an official leak or OTA you're referring to on the TF300?
[Asus  Eee Pad Transformer Prime] fordwolden:
Tried the TF700/300 trick, didn't work!
[Asus  Eee Pad Transformer Prime] fordwolden:
Now I'm properly f****d. Could really use some guidance using my nvFlash backups! Thanks
[Asus  Eee Pad Transformer Prime] cam30era:
See quote above from OP. Maybe this will help you.....
[Asus  Eee Pad Transformer Prime] fordwolden:
Ok, I was able to nvflash the bootloader, said update success. Then tried to reboot. Now it won't boot, I can get into apx but the wheelie doesn't work properly. Stops at "Sending file: 100%" the device boots into nvflash, but stops at "entering nvflash recovery mode". I don't get the confirmation that nvflash is ready! Darn! :)
[Asus  Eee Pad Transformer Prime] gti3358:
Does anyone know if I can flash a stock recovery.img (blob.SOS) and system.img (blob.APP) the same way as the quoted text? I downloaded the stock firmware from Asus's website and unpacked it so now I have 5 separate files + the META-INF folder. Thanks for the help!

O and the reason I would like to do this is I am sending it in for an RMA and would like it relatively stock, unless this is a stupid idea then tell me that too!
[Asus  Eee Pad Transformer Prime] lilstevie:
yes, you can flash them like this, however... the device will never look stock to asus, they have a record of every unlocked device (device identifiers are registered with the unlock server)
[Asus  Eee Pad Transformer Prime] fordwolden:
Big thanks to the guys on #asus-transformer for helping me fix this.

Sent from my Nexus 7
[Asus  Eee Pad Transformer Prime] gti3358:
Yea, I completely understand that, I just don't want them to start it up and have it be completely different then what they're used to. Plus I think it is still important to learn these commands now too. Thanks for the help!
[Asus  Eee Pad Transformer Prime] gti3358:
I could not get the device to boot up. It got to the ASUS loading screen with the little circle at the bottom and it stayed there for over an hour or so. I thought everything was going well but it clearly did not want to boot up. I then tried going into that recovery and got the little android on his back with the exclamation point triangle over him and thought well apparently the recovery did not flash as expected. I then downloaded TWRP 2.2.2.0 and flashed in NVFlash and re-installed CM10 and everything is fine, but I still would like to learn how to get this to work properly. Can you tell me where I went wrong. Steps below.

Downloaded firmware from Asus support->unpacked the blob->got 5 files->blob.SOS, blob.APP, blob.EBT, blob.LNX, blob.PT

Rebooted to APX ->loaded the wheelie app->booted to NVFlash->nvflash -r --download 5 blob.SOS->successful->nvflash -r --download 6 blob.LNX->successful->nvflash -r --download 10 blob.APP->successful->nvflash --resume --go and then rebooted and got stuck booting for a LONG time.

Thanks for your help guys!
[Asus  Eee Pad Transformer Prime] lilstevie:
nothing is wrong there, that is what recovery is meant to look like, probably just need to wipe /data after being on cm10, you can do this by holding down the volume-down button until the menu appears and selecting wipe all
[Asus  Eee Pad Transformer Prime] gti3358:
OK I just repeated the steps with wiping data and now it is booting again and BAM it looks like we have a stock ROM 9.4.2.28, thanks for the help lilstevie!!!!! BTW don't ever go back to stock ICS, it is just plain bad compared to AndroWook, CM10 or any JellyBean ROM out there!
[Asus  Eee Pad Transformer Prime] Fmstrat:
How long does it take to run "nvflash --resume --rawdeviceread 0 2944 bricksafe.img" ? It's been sitting here for a looonnggg time:

C:\Users\Fmstrat\Desktop\TF201 Unlock\nvflashwin32_adb_fastboot\nvflashtf201>nvflash --resume --rawdeviceread 0 2944 bricksafe.img
Nvflash started
[resume mode]

Should I control-c?

*edit*

Tried this on a Win7 64bit and Win7 32bit machine with the same results using the files in previous posts.

*edit 2*

For anyone else who has this problem, you must run the wheelie command with blob.img, THEN run the nvflash commands while it is sitting at the boot screen.

Thanks,

Ben
[Asus  Eee Pad Transformer Prime] frickinjerms:
everytrhing worked like a charm :D my prime is now unbrickable >:D
[Asus  Eee Pad Transformer Prime] Subsonic44:
Before I flash Official ASUS JB...

I understand the forthcoming official update to Jellybean installs a new bootloader. Will this mess up the bootloader that nvflash used?
[Asus  Eee Pad Transformer Prime] joshw0000:
No worries, you wont get that update. Someone will package it up into a rom for us to flash.
[Asus  Eee Pad Transformer Prime] lilstevie:
if you already have your nvflash blobs no, otherwise yes
[Asus  Eee Pad Transformer Prime] Subsonic44:
So I take it that if we flash the official ASUS JB and end up with the new bootloader. Then later, do something to brick our prime... We could push the NVFlash bootloader back on to the prime and then use our NVFlash blobs to fully restore?
[Asus  Eee Pad Transformer Prime] shreddintyres:
If you use the official update on an unlocked prime you will brick your prime. Whether it will be fixable via nvflash is a different story considering it may wipe out the root.mobi bootloader. You are better off waiting for a rom using the new firmware as a base than flashing the official update
[Asus  Eee Pad Transformer Prime] RayHeath:
Ok guys... I have unlocked bootloader, and have Android root, and have installed the native drivers... I have also saved my blobs. Now, my biggest problem is the wheelie command :(

Here´s what I get...

C:\Android>wheelie --blob blob.bin

Wheelie 0.1 - Preflight for nvflash.

Copyright (c) 2011-2012 androidroot.mobi

========================================

[-] Failed to open blob file: blob.bin

I have been trying this for days now... And very nice video Josh.
[Asus  Eee Pad Transformer Prime] kakesen:
Im no expert by any means, but the guide worked for me so just to check: Did you "reinstall" the naked drivers after entering apx mode (the same ones as when you started the guide)? You should see an "unknown" device in device manager. And also, did you add the binary package files from this post http://xdaforums.com/showpost.php?p=28968851&postcount=125 to your platform-tools folder?
[Asus  Eee Pad Transformer Prime] RayHeath:
I know... somewhere, somehow... I am definately doing something wrong! I have been doin this stuff for a while, but never with nvflash, or lenux... I hope that I figure this out, and I bet that I already know what I did wrong, but can only check later when I get up... Gnite all :)
[Asus  Eee Pad Transformer Prime] lilstevie:
it means that blob.bin is not in the same directory as wheelie
[Asus  Eee Pad Transformer Prime] mroshaw:
Hi all!

First up, thanks for the awesome work. Took me 30 mins or so to get the modded bootloader on my TF201.

One question I had, and I've seen loads of posts that would not have appeared if possible, is there any reason not to bundle ALL required files into a single .zip for people to download? Along with .bat files for individual steps, it would make the whole process a little less risky.

I guess licensing problems prevent nvflash.exe being distributed in this way, or something similar. Just a thought. Merging wheelie and adb folders into one also prevents confusion as to where you need to be to run commands.

Thanks again for the great tools!
[Asus  Eee Pad Transformer Prime] kevinm2k:
Hi Guys,

Im on the final bit where I need to run nvflash... when I run the command though I get 'nvflash' is not a recognised command...

Where is the nvflash bat/exe/cmd file?? EDIT: I believe I found what I needed in post 125 in this thread - finished the nvflash guide and think i'm now 'unbrickable' :D

Thanks
[Asus  Eee Pad Transformer Prime] bigaj:
Last step of flashing NVFlash

Hello im on the last step of flasing NVFlash with the blob blob.bin file and it just says Waiting fordevice in APX mode...IT just stays at this point.any ideas whats wrong.Thanks.
[Asus  Eee Pad Transformer Prime] manderspaul:
For 99% of cases, you can restore by simply flashing the partitions that have been broken, e.g.

Bootloader having issues => nvflash -r --download 4 bootloader.bin

Broken or stock recovery => nvflash -r --download 5 recovery.img

Broken or stock boot partition => nvflash -r --download 6 boot.img

Broken system partition => nvflash -r --download 10 system.img

i tried this the first time Bootloader having issues => nvflash -r --download 4 bootloader.bin worked but after that it says it can't find the file

any idea what I did wrong
[Asus  Eee Pad Transformer Prime] bigaj:
i

i followed the NVFlash steps to the T then when i get to the last step it says that..So your saying one of the partions is broken.So Did the step you applied fix it permantely asking because at the end of your post you say it couldnt find the file.
[Asus  Eee Pad Transformer Prime] manderspaul:
something went wrong

I'm new to Nvflash but i did get to manage the files i need atleast i did everything the guide told me to and got 8 files

i did something wrong and now its bricked i think but when i try to restore them it says it can't find the files

can someone please explain me how to do this

---------- Post added at 09:20 PM ---------- Previous post was at 09:14 PM ----------

it diddent fix anything :( but when i use those commands now it says File not found: bootloader.bin ect.ect

how do i get this file ? i got the files from nvflash i followed the guide but this is new for me

update i checked my files i got from nvflash i dont have bootloader.bin but bootloader.ebt and recovery.bct and not recovery.img

i tried to unpack but i dont know how to do this
[Asus  Eee Pad Transformer Prime] manderspaul:
Can someone please help me
[Asus  Eee Pad Transformer Prime] joshw0000:
You might try PM'ing the OP. No guide exists yet so he'd probably be your best bet to restore via nvflash.
[Asus  Eee Pad Transformer Prime] manderspaul:
i tried to bad no response yet :)
[Asus  Eee Pad Transformer Prime] manderspaul:
How did you fix this ?
[Asus  Eee Pad Transformer Prime] manderspaul:
Really hoping for a reply from someone a developer or someone who knows how this works

still dont got a working prime
[Asus  Eee Pad Transformer Prime] fordwolden:
Have you tried to ask at the #asus-transformer irc channel? That's the place to go for assistance!
[Asus  Eee Pad Transformer Prime] leond:
i have followed the procedure and was able to install everything and create backup files, then Iinstalled AndroWook Hairy Bean v1.2 ROM and thus lost access to NVflash again. do I need to re-do the entire procedure to restore it? Is it possible on 4.1.1 Jelly Bean based ROM?
[Asus  Eee Pad Transformer Prime] RayHeath:
Okay, it works... Actually perfectly!

The most important thing is to create you files as instructed in the guide, via fastboot. Then save these files within your AndroidRoot guide at different locations, dropbox, thumbdrive, another pc, and so forth.

Then when you need them, just copy them in your fastboot folder along with all the other files that have been covered i.e wheelie.

Now if your Prime bricks... mine did :eek:... Then just enter APX mode, and wheelie your prime, and I personally nvflashed all files.

It worked! My prime booted up again. Just wanted to let you all know! Thanks Rayman and your team! Hats off to you all! :)

---------- Post added at 11:03 AM ---------- Previous post was at 11:02 AM ----------

Bro, you only need nvflash to make a repair when you prime is down... :)
[Asus  Eee Pad Transformer Prime] jcoleridge:
You have been very helpful in the androwook thread with your last post. but i have two other questions, and i would be very happy if you can answer me. the files you put in your fastboot folder, together with wheelie and nvflash, are blob.bin, create.bct, recovery.bct, bootloader.ebt, bricksafe.img, factory-config.img and unlock-token.img or am i missing some files?

so if i brick i enter in apx mode and to wheelie i use "wheelie --blob blob.bin" command, right? and then i use the commands given by rayman written exactly like he wrote them?

thanks in advance for your help.
[Asus  Eee Pad Transformer Prime] leond:
Thanks, but wouldn't it be too late, when I am bricked and no access to NVFLASH? For example I can't enter APX mode now with:

wheelie --blob blob.bin (probably because my bootloader got overwritten when I've installed custom ROM)

Isn't rrecovery guaranteed only if you have

"instead of the text “This Device is UnLocked” appearing in the top left of the boot screen the text “AndroidRoot 9.4.2.28r01″ or “AndroidRoot 9.4.3.30r01″ is present instead. "?? I used to have it prior to ROM FLASHING , now it is back to “This Device is UnLocked”

Or are you saying that as long as I can get in to fastboot, I will be able to follow the entire procedure and get access to NVFLASH when I will need it?

I want't to simulate recovery once so I understand the process when I need it.

Thank you, again
[Asus  Eee Pad Transformer Prime] RayHeath:
Yes, these five files are the ones that you will need. These were created through the fastboot commands. :) These you should keep in several different locations for safe keeping.

Then if a brick does happen, you will use nvflash "wheelie --blob blob.bin. You will need to copy these files then to your fastboot folder of course. :)

---------- Post added at 03:43 PM ---------- Previous post was at 02:46 PM ----------

If you cannot get into APX mode, then I don´t have another solution. These files do have to be created before the brick, because you need fastboot to create these files. This is normal that the AndroidRoot disappeared after flashing a custom rom with a different bootloader. At least for me it was. But if you cannot enter APX, then I have a feeling that it´s a hard brick then. :)
[Asus  Eee Pad Transformer Prime] jcoleridge:
Perfect. And after the wheelie command? What did you do exactly to revive tour prime? (However, i'm glad everything went fine :) )
[Asus  Eee Pad Transformer Prime] cam30era:
When you flashed the new ROM, did you also possibly flash a new bootloader? I would try flashing the Androidroot.mobi bootloader again.
[Asus  Eee Pad Transformer Prime] pbezza:
Finally fixed my prime with NVFlash thanks to the following comments in the NVFlash guide.

rayman on July 18, 2012 at 9:13 pm said:

Try the following:

1) Download http://androidroot.mobi/download/rec_bootloader.bin

2) Boot device into nvflash with Wheelie (wheelie --blob blob.bin)

3) nvflash -r --download 4 rec_bootloader.bin

4) nvflash -r --go, shutdown regularly and see if it boots again normally.

After that i was able to boot into twrp and install a new ROM.
[Asus  Eee Pad Transformer Prime] TanKCR:
IDIOT

Hey all, like an idiot I started installing AdroWook without any backups, now my device locks at the boot screen, I can't get into fastboot or recovery. I can get it to boot to APX but thats it. Is there a way that you can force an install of recovery or fastboot with NVFlash and no backups???
[Asus  Eee Pad Transformer Prime] wwjoshdew:
"adb reboot recovery" doesn't get you into recovery?

TWRP 2.2 - Asus Transformer Prime page!
[Asus  Eee Pad Transformer Prime] TanKCR:
adb commands don't work from within APX mode.
[Asus  Eee Pad Transformer Prime] lilstevie:
nvflash -r --download 5 recovery.img

where recovery.img is extracted from a blob
[Asus  Eee Pad Transformer Prime] TanKCR:
OK, but where do I get the recovery.img from? you say it is extracted from a blob, which blob?

---------- Post added at 10:13 PM ---------- Previous post was at 09:58 PM ----------

I found a recovery.img from twrp.zip and ran the command but it just sits on this

nvflash -r --download 5 recovery.img
Nvflash started
[resume mode]
[Asus  Eee Pad Transformer Prime] wwjoshdew:
I think you're having the same issues I was!

http://www.youtube.com/watch?v=J3ypzUaKxvo

[YOUTUBE]J3ypzUaKxvo[/YOUTUBE]

If you go about 10 minutes and 50 seconds into the video, you'll see... well, hopefully! :)
[Asus  Eee Pad Transformer Prime] TanKCR:
Those are great directions, except I don't have a blob.bin, and from what I have read you have to have made it ahead of time.
[Asus  Eee Pad Transformer Prime] TanKCR:
So, I have no blob.bin, and I can't get into fastboot, so am I screwed? I would think there would be something I could do in
[Asus  Eee Pad Transformer Prime] skarfreak:
same thing happened to me. I have a "your device is unlocked" text replacing the androidroot text. Is is safe to flash Androidroot mobi again? thanks..
[Asus  Eee Pad Transformer Prime] cam30era:
Yes, just follow the instructions.
[Asus  Eee Pad Transformer Prime] skarfreak:
sorry but is it still the same procedure when i did the nvflash?

Now that you are in fastboot mode please run the following command to flash the AndroidRoot bootloader:-

$ fastboot -i 0x0b05 flash staging ebtblob.bin

Please ensure flashing succeeds before continuing this guide.

You can verify you have the AndroidRoot bootloader installed as described below.

After the flash process has completed you will need to reboot your device into fastboot again by following the process above (or otherwise) ensuring this time that instead of the text “This Device is UnLocked” appearing in the top left of the boot screen the text “AndroidRoot 9.4.2.28r01″ or “AndroidRoot 9.4.3.30r01″ is present instead. We recommend rebooting with the following command:

$ fastboot -i 0x0b05 reboot
[Asus  Eee Pad Transformer Prime] -Sumsy-:
When do this command it doesnt do anything on my device

C:\android-sdk-windows\platform-tools> fastboot -i 0x0b05 flash staging ebtblob.

bin

sending 'staging' (998 KB)...

OKAY [ 0.933s]

writing 'staging'...

OKAY [ 3.166s]

finished. total time: 4.100s

It says it does by command but doesnt on my t201 as there is no progress bar and when i use the reboot command it doesnt reboot either anyone have any ideas

I had flashed the androwook jelly bean that makes your device a tf300 i have no idea how to flash other roms again
[Asus  Eee Pad Transformer Prime] skarfreak:
yap, mine did exactly like you said. i guess because we're on JB now thats why it wont work?..
[Asus  Eee Pad Transformer Prime] lilstevie:
It appears it needs to be said once again.

DO NOT FLASH ANY TRANSFORMERS JB ROM BECAUSE IT PREVENTS FLASHING THE ANDROIDROOT BOOTLOADER

but crossflashing device bootloaders isn't the smartest idea anyway
[Asus  Eee Pad Transformer Prime] cam30era:
I assume you mean tf201 stock based ROMs and not AOSP based 4.1 ROMs like CM10.
[Asus  Eee Pad Transformer Prime] rayman:
Correct. AOSP based roms are generally OK as they won't flash the bootloader.
[Asus  Eee Pad Transformer Prime] wwjoshdew:
Good to know! I've actually had that question too, after reading some replies on this thread.

Hey, what do you think of my video on how to do this? Do you like it, hate it, or etc?

http://www.youtube.com/watch?v=J3ypzUaKxvo
[Asus  Eee Pad Transformer Prime] -Sumsy-:
Thanks for the reply im glad im not the only one who is stuck im sure some brainiac on here will work it out
[Asus  Eee Pad Transformer Prime] KingDavid63:
Damn i knew that was stupid just thought nvflash was untouchable, hence i could do the whole hairy bean thing and restore later using nvflash... Damn i knew better, were probably stuck like this huh?
[Asus  Eee Pad Transformer Prime] kmdm:
If you have your blobs NOTHING can take nvflash away from you.
[Asus  Eee Pad Transformer Prime] sashajovicic:
and if i don't have my blob?
[Asus  Eee Pad Transformer Prime] Flasher8:
I have the backup blob file and use NVflash to restored so far no problem to boot in my system, but i can't get into the recovery. What the problem's now ? Just can't manage to boot into recovery.

Already used fastboot and NVflash to recover the recovery but still the same. :crying:

EDIT : Maybe i'm screwed! I using this command "nvflash -r --download 4" to restored my create.bct, bootloader.ebt, recovery.bct & blob.bin"

Now i can't enter to the NVflash mode, when i type this command "wheelie --blob blob.bin" i get this error "sending bootloader... the get "Error -1 sending command"

Can OP or someone confirm that my prime now is fully brick ?
[Asus  Eee Pad Transformer Prime] msfguard:
ahh sob, im in the same spot could use some help to
[Asus  Eee Pad Transformer Prime] JoeyDelp:
Okay so this is my situation.

I was on hairybean 1.2 (so in essence my tf201 was a tf300) then using NVflash i did nvflash --resume --..... safebrick.img and now appear to be back on the AndroidRoot 9.4.2.28r01 bootloader and can manage to acces fastboot and flashed twrp 2.2.2.0 and tried to install something basic like androwook 2.1 just to have a base so i can get into a rom but this didnt help at all. after the installation the device reboots but stays stuck on the Eee Pad splash screen with AndroidRoot in the top left corner. Can still access fastboot etc and recovery but doesnt go any further than this.

Anyone have any suggestions i can try?

Thanks

EDIT: Nevermind this question. I guess I was just tired since was 1am and had been struggling for some time. All i needed to do was blobunpack an official asus blob and restore the 4 files using nvflash as rayman stated quite a few pages (page 23) back.

THANKS RAYMAN!
[Asus  Eee Pad Transformer Prime] TanKCR:
So I am following up, is there anything I can do, or am I out of luck???
[Asus  Eee Pad Transformer Prime] sashajovicic:
+1

i'm taking to official asus service today. lets see what they say
[Asus  Eee Pad Transformer Prime] lilstevie:
Without blob.bin you are out of luck

---------- Post added at 08:55 PM ---------- Previous post was at 08:53 PM ----------

If you are suffering from "Error -1" with wheelie and you use linux if you could connect to freenode and join #asus-transformer that would be much appreciated. Thanks.
[Asus  Eee Pad Transformer Prime] rayman:
No, not fully bricked. However, writing random things to random places with no clue what you are doing is definitely making it a ton harder to recovery.

wheelie -r --blob blob.bin

might work.

For the cases where it doesn't, we're working on a fix! Bricking is almost impossible, but we clearly didn't account for all possible ways that people would manage to brick their devices in ;)