MultiDrive – free backup, clone & wipe disk utility from Atola Technology

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 4th, 2016, 13:06 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
Trying to recover data from a 256GB MacBook Pro Retina SSD drive. According to the user shortly after installing the El Capitan upgrade the computer froze, and after rebooting it would hang on a gray screen. Supposedly they did not reformat or otherwise fiddle with the drive after that but of course that should be taken with a handful of salt. I have made a clean DD image of the drive and it did not report any bad sectors. However when the image is mounted in R-Studio it detects the EFI System partition, the Recovery Volume, and a 232GB volume but can only detect contents of the recovery volume and reports a GPT tables error 0x103. Scan for lost HFS file system in both R-Studio and UFS Explorer turns up only the recovery volume and a RAW scan for file types finds only two junk files. When the disk image is opened in hex editor the first information that shows up is this:
Image
which goes on and ends with
Image
followed by a gap and then again starts with this
Image
ending here
Image

After that there is another gap and then what appears to be blocks of encrypted data starting and ending at the following offsets with gaps between them:
0000320000 thru 00003FFFC0
0000420000 thru 00004FFFC0
0000520000 thru 00005FFFC0
0000620000 thru 00006FFFC0
0000720000 etc etc
all the way to
3A01020000
Image
thru 3A010FFFC0
Image
followed by whitespace and finally
Image


Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 4th, 2016, 13:18 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
My initial suspicion is that perhaps following El Capitan update the user was prompted to enable FileVault encryption on the disk and when they did so the computer may have frozen or slowed down to the point that they thought it was frozen, prompting them to force power off which resulted in a corrupt partition table and partially or wholely encrypted drive.

Last item of interest, R-Studio detects 232GB partition and shows the name Macintosh HD partition and appears to show the expected partition offset but under HFS information is only detects a 619.89MB vol size, this also mirrors what Testdisk found when scanning partition. See pic:
Image


Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 8th, 2016, 21:24 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
Anybody? Other people out there coming across mysterious data loss issues with these retina SSDs?


Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 8th, 2016, 22:06 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 16960
Location: Australia
Text dumps are not useful. I speak hex and expect that most others would prefer this format, too. Without seeing the hex, ISTM that the first screenshots could be 32-bit FATs.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 10th, 2016, 17:30 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
HEX DUMP attached of offset 0x00027040 thru 0x00055450


Attachments:
hexdump01.zip [64.1 KiB]
Downloaded 514 times
Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 10th, 2016, 17:36 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
0X001B0E40 thru 0x001DF250


Attachments:
hexdump02.zip [64.1 KiB]
Downloaded 549 times
Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 10th, 2016, 17:40 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
0x00320000 thru 0x003FFFF0


Attachments:
hexdump03.zip [882.71 KiB]
Downloaded 639 times
Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 10th, 2016, 19:44 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 16960
Location: Australia
hexdump01 and hexdump02 are identical. They do look like part of a 32-bit FAT. ISTM that the first small 200MB partition (Recovery Volume) is just a FAT32 volume.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 10th, 2016, 21:29 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
Those are probably the EFI System partition which is apparently FAT-like: https://en.wikipedia.org/wiki/EFI_system_partition

Here's another partial dump of the next chunk that shows up


Attachments:
hexdump04.zip [573.83 KiB]
Downloaded 557 times
Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 10th, 2016, 21:34 
Offline

Joined: March 24th, 2010, 21:08
Posts: 111
Location: California
I'm assuming encryption since running RAW file scans in R-Studio, UFS Explorer and PhotoRec turned up almost nothing (and OS upgrade does sometimes ask to enable File Vault) but I supposed some sort of controller error or logic board problem could have just scrambled the data so badly that it is completely unrecognizable.


Top
 Profile  
 
 Post subject: Re: MacBook Pro Retina 256GB SSD Recovery
PostPosted: February 10th, 2016, 23:05 
Offline
User avatar

Joined: September 8th, 2009, 18:21
Posts: 16960
Location: Australia
I have no experience with HFS/HFS+, but searching for "Mac" and "619.89" turns up quite a few discussions.

For example ...

http://webcache.googleusercontent.com/s ... p?id=21435

Code:
Partition    File System   Label          Size         Flag
/dev/sda1    fat32         EFI            200.00 MiB   boot
/dev/sda2    hfs+          Macintosh HD   232.48 GiB   
/dev/sda3    hfs+          Recovery HD    619.89 MiB   
/dev/sda4    ext3                         204.77 GiB   boot
unallocated                               128.00 MiB
/dev/sda5    linux-swap                   7.33 GiB
unallocated                               20.26 GiB

Therefore, ISTM that you should have 3 partitions -- a 200MiB EFI FAT32 partition, a 233GiB "Macintosh HD" partition, and a 619.89 MiB Recovery partition.

I would start by examining sectors 0,1,2 in hex mode.

_________________
A backup a day keeps DR away.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 38 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group