FORUMS
Remove All Ads from XDA

Partition information / Unbricking

99 posts
Thanks Meter: 125
 
Post Reply Email Thread
This is the place for various bits and pieces of information/facts/wtf collected whilst digging around in our TF701.
Use at your own peril.

UPDATE: I know the staging partition is where to blob (bootloader) goes, but as I found out, that's only half of the story.
It seems like the bootloader takes the contents of staging at boot time and puts them where they belong.
Now if anybody has more details about this, that would be great.

Partitions
Code:
name  device                    mountpoint  fs    description
/dev/block/platform/sdhci-tegra.3/ADF   /dev/block/mmcblk0p7      /ADF        ext4  ?
/dev/block/platform/sdhci-tegra.3/APD   /dev/block/mmcblk0p6      /APD        ext4  ASUS Product Demo
/dev/block/platform/sdhci-tegra.3/APP   /dev/block/mmcblk0p4      /system     ext4  Android OS
/dev/block/platform/sdhci-tegra.3/CAC   /dev/block/mmcblk0p5      /cache      ext4  recovery logs
/dev/block/platform/sdhci-tegra.3/CRA   /dev/block/mmcblk0p11                       ?
/dev/block/platform/sdhci-tegra.3/DTB   /dev/block/mmcblk0p2                        ?
/dev/block/platform/sdhci-tegra.3/EKS   /dev/block/mmcblk0p13                       NVEKSP
/dev/block/platform/sdhci-tegra.3/LNX   /dev/block/mmcblk0p3                        Linux kernel (8388608 b)
/dev/block/platform/sdhci-tegra.3/MDA   /dev/block/mmcblk0p12                       ?
/dev/block/platform/sdhci-tegra.3/MSC   /dev/block/mmcblk0p8                        empty (misc, bootloader etc.)
/dev/block/platform/sdhci-tegra.3/PER   /dev/block/mmcblk0p10     /persist    ext4  config/calibration data
/dev/block/platform/sdhci-tegra.3/SOS   /dev/block/mmcblk0p1                        Recovery kernel (8388608 b)
/dev/block/platform/sdhci-tegra.3/UDA   /dev/block/mmcblk0p14     /data       ext4  Android user data
/dev/block/platform/sdhci-tegra.3/USP   /dev/block/mmcblk0p9                        Staging (blob)
recovery.fstab
Code:
/dev/block/platform/sdhci-tegra.3/by-name/APP   /system             ext4      ro                                                    wait
/dev/block/platform/sdhci-tegra.3/by-name/CAC   /cache              ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait
/dev/block/platform/sdhci-tegra.3/by-name/UDA   /data               ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
/dev/block/platform/sdhci-tegra.3/by-name/MSC   /misc               emmc      defaults                                              defaults
/dev/block/platform/sdhci-tegra.3/by-name/LNX   /boot               emmc      defaults                                              defaults
/dev/block/platform/sdhci-tegra.3/by-name/SOS   /recovery           emmc      defaults                                              defaults
/dev/block/platform/sdhci-tegra.3/by-name/USP   /staging            emmc      defaults                                              defaults
/devices/platform/sdhci-tegra.2/mmc_host/mmc1   /storage/sdcard1    vfat      default                                               voldmanaged=sdcard:auto
/devices/platform/tegra-ehci.0                  /mnt/usbdrive       vfat      default                                               voldmanaged=usbdrive:auto
Blob
Code:
name        size                description         status
10.14.1.47:  47blob.tar.gz
blob.BCT    8,192 Bytes         Boot Config Table   (original)  47blob.BCT.tar.gz
blob.BC1    8,192 Bytes         ?                   (original)  47blob.BC1.tar.gz
blob.EBT    1,396,736 Bytes     Bootloader          (original)  47blob.EBT.tar.gz
blob.PT     2,202 Bytes         Partition Table     (original)  47blob.PT.tar.gz

10.26.1.7:  7blob.tar.gz
blob.BCT    8,192 Bytes         Boot Config Table   (unchanged) 7blob.BCT.tar.gz
blob.BC1    8,192 Bytes         ?                   (changed)   7blob.BC1.tar.gz
blob.EBT    1,421,312 Bytes     Bootloader          (changed)   7blob.EBT.tar.gz
Unbrick
How to unbrick a TF701 that still has fastboot running (possibly partially redundant):

WARNING: Any damage caused by following these instructions...

Yeah, right... Nevermind that... If your fastboot works, this will save your tablet

Required tools: I assume you have them already

Required files:
  • UL-K00C-xx-10.14.1.47-user.zip (on micro SD card in TF701)
  • 10.14.1.47 blob and boot.img (unpacked from UL-K00C-xx-10.14.1.47-user.zip)
  • drgravy's recovery.img

Code:
fastboot erase boot
fastboot erase staging
fastboot format system
fastboot flash staging blob
fastboot flash boot boot.img
fastboot flash recovery.img
fastboot reboot-bootloader
  • check the version displayed. Is it 10.14.1.47? if not, hard reset to bootloader ([vol-] + [power])
  • boot recovery kernel (RCK)
  • install zip
  • choose zip from sdcard
  • UL-K00C-xx-10.14.1.47-user.zip
  • Yes
  • wait and pray to odin
  • +++ go back +++
  • reboot system now
  • Yes - Disable recovery flash (doesn't actually matter)
  • Yes - Root device (/system/xbin/su) (just kidding, this doesn't work)
Please consider clicking thanks

Sources:
Lots of own work
http://forum.xda-developers.com/show...2&postcount=71
https://github.com/AndroidRoot/BlobTools
The Following 19 Users Say Thank You to lpdunwell For This Useful Post: [ View ] Gift lpdunwell Ad-Free
 
 
4th December 2013, 07:08 PM |#2  
schmeggy929's Avatar
Recognized Themer
Flag New Jersey
Thanks Meter: 1,768
 
Donate to Me
More
im trying to find pretty much the same info

mmcblk0p? for boot and external_sd

This helped alot thanks!

nevermind find both

LNX = boot

/dev/block/mmcblk1p1 is external_sd
4th December 2013, 09:16 PM |#3  
lpdunwell's Avatar
OP Member
Flag The Lost Woods
Thanks Meter: 125
 
Donate to Me
More
Quote:
Originally Posted by schmeggy929

im trying to find pretty much the same info

mmcblk0p? for boot and external_sd

This helped alot thanks!

nevermind find both

LNX = boot

/dev/block/mmcblk1p1 is external_sd

things that will appear here tomorrow:
  • by name symlinks
  • recovery fstab info
  • unpacked blob contents
  • more detailed bootloader related stuff
  • anything fun I'll find on the way

for the next 12 hours that's it...
The Following User Says Thank You to lpdunwell For This Useful Post: [ View ] Gift lpdunwell Ad-Free
14th January 2014, 03:59 AM |#4  
super0dd's Avatar
Member
Gotham
Thanks Meter: 11
 
More
Smile
Quote:
Originally Posted by lpdunwell

This is the place for various bits and pieces of information/facts/wtf collected whilst digging around in our TF701.
Use at your own peril.

UPDATE: I know the staging partition is where to blob (bootloader) goes, but as I found out, that's only half of the story.
It seems like the bootloader takes the contents of staging at boot time and puts them where they belong.
Now if anybody has more details about this, that would be great.

Partitions

Code:
name  device                    mountpoint  fs    description
/dev/block/platform/sdhci-tegra.3/ADF   /dev/block/mmcblk0p7      /ADF        ext4  ?
/dev/block/platform/sdhci-tegra.3/APD   /dev/block/mmcblk0p6      /APD        ext4  ASUS Product Demo
/dev/block/platform/sdhci-tegra.3/APP   /dev/block/mmcblk0p4      /system     ext4  Android OS
/dev/block/platform/sdhci-tegra.3/CAC   /dev/block/mmcblk0p5      /cache      ext4  recovery logs
/dev/block/platform/sdhci-tegra.3/CRA   /dev/block/mmcblk0p11                       ?
/dev/block/platform/sdhci-tegra.3/DTB   /dev/block/mmcblk0p2                        ?
/dev/block/platform/sdhci-tegra.3/EKS   /dev/block/mmcblk0p13                       NVEKSP
/dev/block/platform/sdhci-tegra.3/LNX   /dev/block/mmcblk0p3                        Linux kernel (8388608 b)
/dev/block/platform/sdhci-tegra.3/MDA   /dev/block/mmcblk0p12                       ?
/dev/block/platform/sdhci-tegra.3/MSC   /dev/block/mmcblk0p8                        empty (misc, bootloader etc.)
/dev/block/platform/sdhci-tegra.3/PER   /dev/block/mmcblk0p10     /persist    ext4  config/calibration data
/dev/block/platform/sdhci-tegra.3/SOS   /dev/block/mmcblk0p1                        Recovery kernel (8388608 b)
/dev/block/platform/sdhci-tegra.3/UDA   /dev/block/mmcblk0p14     /data       ext4  Android user data
/dev/block/platform/sdhci-tegra.3/USP   /dev/block/mmcblk0p9                        Staging (blob)
recovery.fstab
Code:
/dev/block/platform/sdhci-tegra.3/by-name/APP   /system             ext4      ro                                                    wait
/dev/block/platform/sdhci-tegra.3/by-name/CAC   /cache              ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait
/dev/block/platform/sdhci-tegra.3/by-name/UDA   /data               ext4      noatime,nosuid,nodev,nomblk_io_submit,errors=panic    wait,encryptable=/dev/block/platform/sdhci-tegra.3/by-name/MDA
/dev/block/platform/sdhci-tegra.3/by-name/MSC   /misc               emmc      defaults                                              defaults
/dev/block/platform/sdhci-tegra.3/by-name/LNX   /boot               emmc      defaults                                              defaults
/dev/block/platform/sdhci-tegra.3/by-name/SOS   /recovery           emmc      defaults                                              defaults
/dev/block/platform/sdhci-tegra.3/by-name/USP   /staging            emmc      defaults                                              defaults
/devices/platform/sdhci-tegra.2/mmc_host/mmc1   /storage/sdcard1    vfat      default                                               voldmanaged=sdcard:auto
/devices/platform/tegra-ehci.0                  /mnt/usbdrive       vfat      default                                               voldmanaged=usbdrive:auto
Blob
Code:
name        size                description         status
10.14.1.47:  Attachment 2435244
blob.BCT    8,192 Bytes         Boot Config Table   (original)  Attachment 2435246
blob.BC1    8,192 Bytes         ?                   (original)  Attachment 2435245
blob.EBT    1,396,736 Bytes     Bootloader          (original)  Attachment 2435247
blob.PT     2,202 Bytes         Partition Table     (original)  Attachment 2435248

10.26.1.7:  Attachment 2435238
blob.BCT    8,192 Bytes         Boot Config Table   (unchanged) Attachment 2435241
blob.BC1    8,192 Bytes         ?                   (changed)   Attachment 2435240
blob.EBT    1,421,312 Bytes     Bootloader          (changed)   Attachment 2435242
Unbrick
How to unbrick a TF701 that still has fastboot running (possibly partially redundant):

WARNING: Any damage caused by following these instructions...

Yeah, right... Nevermind that... If your fastboot works, this will save your tablet

Required tools: I assume you have them already

Required files:
  • UL-K00C-xx-10.14.1.47-user.zip (on micro SD card in TF701)
  • 10.14.1.47 blob and boot.img (unpacked from UL-K00C-xx-10.14.1.47-user.zip)
  • drgravy's recovery.img

Code:
fastboot erase boot
fastboot erase staging
fastboot format system
fastboot flash staging blob
fastboot flash boot boot.img
fastboot flash recovery.img
fastboot reboot-bootloader
  • check the version displayed. Is it 10.14.1.47? if not, hard reset to bootloader ([vol-] + [power])
  • boot recovery kernel (RCK)
  • install zip
  • choose zip from sdcard
  • UL-K00C-xx-10.14.1.47-user.zip
  • Yes
  • wait and pray to odin
  • +++ go back +++
  • reboot system now
  • Yes - Disable recovery flash (doesn't actually matter)
  • Yes - Root device (/system/xbin/su) (just kidding, this doesn't work)
Please consider clicking thanks

Sources:
Lots of own work
http://forum.xda-developers.com/show...2&postcount=71
https://github.com/AndroidRoot/BlobTools

Sorry, how should I extract the recovery.img from the OTA zip file?
I can only find several files: install-recovery.sh recovery-from-boot.p recovery-resource. dat

Or if I can extract it anywhere else?
19th January 2014, 10:43 AM |#5  
sbdags's Avatar
Recognized Contributor
Flag Kenilworth, Coventry
Thanks Meter: 15,732
 
Donate to Me
More
Smile
Quote:
Originally Posted by lpdunwell

Code:
10.26.1.7:  Attachment 2435238
blob.BCT    8,192 Bytes         Boot Config Table   (unchanged) Attachment 2435241
blob.BC1    8,192 Bytes         ?                   (changed)   Attachment 2435240
blob.EBT    1,421,312 Bytes     Bootloader          (changed)   Attachment 2435242

@lpdunwell

Any ideas what BC1 is for? Also there is no SOS file inside the BLOB. I have repacked the BLOB as I wanted to make a bootloader and recovery flash package but not sure how to flash a recovery.

On the TF700 you could just pack it back into the BLOB using the below and it would flash to staging fine. Any ideas?

Code:
blobpack -s blob EBT blob.EBT SOS blob.SOS
I wonder if the same can be done like this?

Code:
blobpack -s blob BCT blob.BCT BC1 blob.BC1 EBT blob.EBT SOS blob.SOS
24th January 2014, 09:01 AM |#6  
lpdunwell's Avatar
OP Member
Flag The Lost Woods
Thanks Meter: 125
 
Donate to Me
More
Quote:
Originally Posted by sbdags

@lpdunwell

Any ideas what BC1 is for? Also there is no SOS file inside the BLOB. I have repacked the BLOB as I wanted to make a bootloader and recovery flash package but not sure how to flash a recovery.

On the TF700 you could just pack it back into the BLOB using the below and it would flash to staging fine. Any ideas?

Code:
blobpack -s blob EBT blob.EBT SOS blob.SOS
I wonder if the same can be done like this?

Code:
blobpack -s blob BCT blob.BCT BC1 blob.BC1 EBT blob.EBT SOS blob.SOS

TBCH, I'm not sure about the BC1.
The recovery is not part of the blob (anymore?). And the exact way an official update flashes it is probably not the best way to go when flashing manually. My advice for the moment probably is: Keep flashing the bootloader to a minimum, and flash recoveries via fastboot.
The Following User Says Thank You to lpdunwell For This Useful Post: [ View ] Gift lpdunwell Ad-Free
24th January 2014, 06:38 PM |#7  
sbdags's Avatar
Recognized Contributor
Flag Kenilworth, Coventry
Thanks Meter: 15,732
 
Donate to Me
More
Quote:
Originally Posted by lpdunwell

TBCH, I'm not sure about the BC1.
The recovery is not part of the blob (anymore?). And the exact way an official update flashes it is probably not the best way to go when flashing manually. My advice for the moment probably is: Keep flashing the bootloader to a minimum, and flash recoveries via fastboot.

Yeah I tried a number of ways to get it to flash but it looks like the nvcopy tool that Asus use doesn't work outside the stock recovery.
3rd February 2014, 09:32 AM |#8  
Junior Member
Thanks Meter: 0
 
More
Angry Search the UL-K00C-WW-10.14.1.47-user.zip file
Hi,

And thank you. But Do you know where I can download the UL-K00C-WW-10.14.1.47-user.zip ?

On ASUS and can find only WW_epaduser_10_14_1_47_UpdateLauncher.zip.
Oups UL-K00C-WW-10.14.1.47-user.zip is in WW_epaduser_10_14_1_47_UpdateLauncher.zip.
3rd February 2014, 10:59 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Thumbs up Question
Hi

A question : Is it possible to use the same procedure with UL-K00C-WW-10.26.1.7-user.zip or UL-K00C-WW-10.26.1.18-user.zip ?

Best regards
22nd March 2014, 09:45 AM |#10  
sbdags's Avatar
Recognized Contributor
Flag Kenilworth, Coventry
Thanks Meter: 15,732
 
Donate to Me
More
Bumping this as it should be stickied
4th May 2014, 04:33 PM |#11  
Quote:
Originally Posted by Xstof

Hi,

And thank you. But Do you know where I can download the UL-K00C-WW-10.14.1.47-user.zip ?

On ASUS and can find only WW_epaduser_10_14_1_47_UpdateLauncher.zip.
Oups UL-K00C-WW-10.14.1.47-user.zip is in WW_epaduser_10_14_1_47_UpdateLauncher.zip.

Did you ever find out where to get this file? I've been looking everywhere and I fear my device is hosed without it. HELP!
Post Reply Subscribe to Thread

Tags
unbrick partitions

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes