VZW Galaxy Nexus toro pit.img xloader.img and sbl.img

kpetrie77

Senior Member
Aug 14, 2007
280
171
0
Fort Worth
www.howdoitech.com
Guess this is just going to be a reference thread. I was trying to get OMAPFlash to work for the VZW Nexus - toro. What I found was sbl.img is the same on all devices but xloader is not.

Been trying to find an sbl.img for the Verizon Galaxy Nexus (plenty of links to the OMAPFlash and the GSM one.) Trying to unbrick a friend's phone for them. Would be relatively simple if I could get the img file.

Anyone have this, point me in the right direction or be willing to dd mmcblk0p2 to copy this to the sdcard?

Thanks,
Kevin
 

Attachments

Last edited:

kpetrie77

Senior Member
Aug 14, 2007
280
171
0
Fort Worth
www.howdoitech.com
Disregard.

Opened bootloader.img from the Nexus factory image in HxD and blocks 0x081000 - 0x240FFF are the same as the sbl.img in OMAPFlasher.zip. Also, anyone looking for a toro .pit file to flash in Odin, this is found on blocks 00000000 - 00000FFF for xloader.img or 0023F000 - 0023FFFF for sbl.img (the pit is the same for both.)

Apparently there is something more going on with this thing that OMAPFlasher is not going to fix.
 
Last edited:

kpetrie77

Senior Member
Aug 14, 2007
280
171
0
Fort Worth
www.howdoitech.com
Re: VZW Galaxy Nexus sbl.img

Thanks, saw that one. Sorted out that the xloader.img and sbl.img are packaged IN bootloader.img last night. So is the .pit file which is identical to the gsm. It does not actually give you which block each partition starts so guessing gpt is different.

Where I am at now is that I can send the images to his gnex with OMAPFlash, just can't get it to reboot into download mode. Still black screen bricked so no idea if OMAPFlash even has the right xloader for toro or if this is just a bad emmc. Think my next step will be splitting out four different xloader.img files and try flashing.
 
Last edited:

madquack

Senior Member
May 12, 2010
704
383
63
Have you taken a look at Pit Magic, it can help you analyze .pit as well as maybe make changes to block size and maybe block count. I wish I could help/assist you further brother but I don't have access to a VZW GNex at the moment, the GF is at work with her VZW GNex till around 5pm and I just got off work at 5:30am, been up since yersterday at 4:30pm haha.

My brain is cooked! Still though, what are you able to accomplish with omapflash, if anything?

http://forum.xda-developers.com/showthread.php?t=1916936
 
Last edited:

kpetrie77

Senior Member
Aug 14, 2007
280
171
0
Fort Worth
www.howdoitech.com
Not much to this point.

The toro x-loader/MLO is DIFFERENT than the GSM one included in OMAPFlash. I extracted (four) x-loader/MLO from bootloader.img [Edit: working from bootloader-toro-primelc03.img] (128kb, see next post for blocks) and replaced MLO_4460_HS_PRO in the tuna project folder.

Both sbl.img (1792kb, blocks 00081000 - 00240FFF) and pit information (00000000 - 00000FFF) are the same as GSM so nothing required there to make OMAPFlash work for the VZW Gnex. This was a bad flash that bricked in the first place so wondering if maybe the IPL/mbr is screwed up? If it the mbr was still intact then it should go x-loader > sbl which would get me into download mode.

So far I have tried all combinations of MLO and sbl.

Semper Fi btw, was 6469. Working on this for another jarhead.
 
Last edited:
  • Like
Reactions: madquack

kpetrie77

Senior Member
Aug 14, 2007
280
171
0
Fort Worth
www.howdoitech.com
Looks like there are actually four x-loaders in the bootloader.img so guess I can try them separately.

Here is the block layout for bootloader-toro-primelc03.img
Code:
PIT          = 00000000 - 00000FFF (Samsung .pit  - toro/toroplus/maguro are all the same)
xloader.img = 00001000 - 00020FFF (?)
xloader.img = 00021000 - 00040FFF (?)
xloader.img = 00041000 - 00060FFF (GSM/32gb)
xloader.img = 00061000 - 00080FFF (CDMA/toro - confirmed)
sbl.img      = 00081000 - 00240FFF (matches "tuna" board sbl.img in OMAPFlasher - toro/toroplus/maguro are all the same)
Tried all four (attached) and no go. Possible to compare what's on your gf's nexus to the attached and find out which one is ours? I believe one of the first two is the one we are looking for.
 

Attachments

Last edited:

kpetrie77

Senior Member
Aug 14, 2007
280
171
0
Fort Worth
www.howdoitech.com
PIT Magic Analysis of 00000000 - 00000FFF
Code:
----------------------------------------------------------
PIT Magic v1.3.10 Copyright © Gaz 2012.
----------------------------------------------------------
Analysis for: toro.pit
----------------------------------------------------------


----------------------------------------------------------
<<< Pit File Start >>>
----------------------------------------------------------


----------------------------------------------------------
<<< PIT File Header Information >>>
----------------------------------------------------------

Header Magic: 0x12349876     (4 Bytes)
Entry Count:  18             (4 Bytes)

----------------------------------------------------------
Dummy Data #1 (In String and Hexadecimal Format):
----------------------------------------------------------
String:       
Hexadecimal:  00000000

----------------------------------------------------------
Dummy Data #2 (In String and Hexadecimal Format):
----------------------------------------------------------
String:       
Hexadecimal:  00000000

----------------------------------------------------------
Dummy Data #3 (In String and Hexadecimal Format):
----------------------------------------------------------
String:       
Hexadecimal:  00000000

----------------------------------------------------------
Dummy Data #4 (In String and Hexadecimal Format):
----------------------------------------------------------
String:       
Hexadecimal:  00000000

----------------------------------------------------------
Dummy Data #5 (In String and Hexadecimal Format):
----------------------------------------------------------
String:       
Hexadecimal:  00000000

----------------------------------------------------------
Dummy Data Length: (4 Bytes Per Block, 20 Bytes In Total.)
----------------------------------------------------------

Header Size: (28 Bytes)


----------------------------------------------------------
<<< PIT File Entries >>>
----------------------------------------------------------


----------------------------------------------------------
Entry Memory Address: 0x1C
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 0
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 
Block Count:                
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             gang
Flash FileName:             emmc.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0xA0
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 1
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 
Block Count:                
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             gpt
Flash FileName:             partition-table.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x124
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 2
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 
Block Count:                
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             xloader
Flash FileName:             xloader.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x1A8
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 3
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 
Block Count:                
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             sbl
Flash FileName:             sbl.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x22C
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 4
Attribute:                  1       (READ / WRITE)
Update Attribute:           0            (UNKNOWN)
Block Size:                 8,192
Block Count:                40,960
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             efs
Flash FileName:             efs.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x2B0
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 5
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 49,152
Block Count:                16,384
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             param
Flash FileName:             
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x334
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 6
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 65,536
Block Count:                8,192
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             misc
Flash FileName:             
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x3B8
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 7
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 73,728
Block Count:                8,192
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             dgs
Flash FileName:             
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x43C
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 8
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 81,920
Block Count:                16,384
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             boot
Flash FileName:             boot.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x4C0
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 9
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 98,304
Block Count:                24,448
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             recovery
Flash FileName:             recovery.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x544
----------------------------------------------------------

Binary Type:                1     (COM. PROCESSOR)
Device Type:                2                (MMC)
Identifier:                 10
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 122,880
Block Count:                32,768
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             radio
Flash FileName:             radio.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x5C8
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 11
Attribute:                  1       (READ / WRITE)
Update Attribute:           0            (UNKNOWN)
Block Size:                 155,648
Block Count:                1,339,392
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             system
Flash FileName:             system.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x64C
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 12
Attribute:                  1       (READ / WRITE)
Update Attribute:           0            (UNKNOWN)
Block Size:                 1,495,040
Block Count:                884,736
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             cache
Flash FileName:             cache.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x6D0
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 13
Attribute:                  1       (READ / WRITE)
Update Attribute:           0            (UNKNOWN)
Block Size:                 2,379,776
Block Count:                31,174,656
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             userdata
Flash FileName:             userdata.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x754
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 14
Attribute:                  1       (READ / WRITE)
Update Attribute:           0            (UNKNOWN)
Block Size:                 33,554,432
Block Count:                
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             efs-cdma
Flash FileName:             efs-cdma.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x7D8
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                1         (FILE / FAT)
Identifier:                 15
Attribute:                  1       (READ / WRITE)
Update Attribute:           0            (UNKNOWN)
Block Size:                 33,554,432
Block Count:                
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             radio-cdma
Flash FileName:             radio-cdma.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x85C
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 16
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 
Block Count:                
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             bootloader
Flash FileName:             bootloader.img
FOTA FileName:              


----------------------------------------------------------
Entry Memory Address: 0x8E0
----------------------------------------------------------

Binary Type:                0            (UNKNOWN)
Device Type:                2                (MMC)
Identifier:                 17
Attribute:                  0          (READ ONLY)
Update Attribute:           0            (UNKNOWN)
Block Size:                 122,752
Block Count:                128
File Offset (Obsolete):     0
File Size (Obsolete):       0
Partition Name:             metadata
Flash FileName:             
FOTA FileName:              


----------------------------------------------------------
<<< Pit File End >>>
----------------------------------------------------------
It is identical to I9250_partition-table-0915.pit for the GSM Nexus.
 
Last edited:
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone