How to restore Asus EEE Pad TF101 stock Image on Linux

DISCLAMER : This method does not target all TF101 Tablet.

First Activate Nividia APX mode, by pressing [Vol UP] and [POWER]. You shloud only get a black screen. Connect the tablet to your computer with the USB cable.

Verify with lsusb the APX mode is activated.
% lsusb
Bus 002 Device 008: ID 0955:7820 NVIDIA Corp. T20 [Tegra 2] recovery mode

Retrieve an official image from Asus ( WW_epad-user-9.2.1.24.zip ) and unzip it. After unpack images from the binary blob file. The utilities can be found here https://github.com/AndroidRoot/BlobTools .
./blobunpack ./WW_epad-user-9.2.1.24/blob
Bypass the SBK 2 with wheelie to access the APX.
sudo ./bins/wheelie -2 -c ./transformer.bct --bl ./bootloader.bin -o 0x300d8011
Modify the config file ./flash.cfg  to point to the file extracted from the blob.

And finally flash your tablet.
sudo ./bins/nvflash -r --bct ./transformer.bct --setbct --configfile ./flash.cfg --create --odmdata 0x300d8011 --sync
Also for windows https://forum.xda-developers.com/showthread.php?t=1688012

flash_stock_tools


So, what do you think ?