Ft1Byh0hl / spacemonkey_root

Process for rooting Space Monkey device
24 stars 8 forks source link

Quick question about this project #6

Open nfdavenport opened 3 years ago

nfdavenport commented 3 years ago

First, thanks for trying to help out the other guy who had a question/issue. That's just cool and also unfortunate for him. Anyway, my question...

What's the purpose of this project, is it root and use the whole device with other software/os? Or is the primary aim to just get access to the harddrive. I luckily don't need anything on mine, I just want to use the HDD if possible. Yank it out, throw it in an enclosure and format it. Is this possible without your project or is that the what this whole thing is about. I've got a V2, thanks!

Ft1Byh0hl commented 3 years ago

The original purpose was to get root access and unlock the HDD so it could be used like any other disk.

The V2 board has a different processor than the V1, and Vivint changed a bunch of things from what they did with the V1. When I checked in 2017, the V2 booted from flash, whereas the V1 booted from the HDD by default. This means it is not possible to perform the V1 procedure as documented in this spacemonkey_root project.

However, I was able to unlock the disk using the following procedure:

  1. Separate the female SATA power and data connections on a SATA data+power extender cable
  2. Using the female ends of the extender cable, connect SATA power and data to the Space Monkey V2 disk
  3. Connect the male ends of the extender cable to to Space Monkey V2 SATA connector
  4. Boot the Spacemonkey V2
  5. Wait for a minute or so
  6. Disconnect the female end of the SATA data cable at the drive, leaving the power connector in place and the disk powered on
  7. Connect a separate SATA data cable from the disk to a second Linux machine
  8. Run: “hdparm --user-master u --security-set-pass pass /dev/sdX; hdparm --security-disable pass /dev/sdX”, where /dev/sdX matches the device path on the second Linux machine

Because the Spacemonkey uses proprietary SATA connectors, I had to buy an extender cable like this one and separate the data and power portions at the female end with a knife. I suppose you could get by with separate data and power extenders if those exist.

Ft1Byh0hl commented 3 years ago

Note that you can't use this method to get root access on the V2. The V2 OS is in flash and it doesn't execute anything from the HDD.

nfdavenport commented 3 years ago

Thank you for the quick response, that answered what I needed to know.

On Sun, Dec 27, 2020 at 7:03 PM Ft1Byh0hl notifications@github.com wrote:

Note that you can't use this method to get root access on the V2. The V2 OS is in flash and it doesn't execute anything from the HDD.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ft1Byh0hl/spacemonkey_root/issues/6#issuecomment-751548114, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL4X5SXIGSNVSTESSZGZODSW7RPTANCNFSM4VLEH2DQ .

Ft1Byh0hl commented 3 years ago

Here are my disassembly photos: https://photos.app.goo.gl/bIM6nU55CrZUKxbR2.

k4zo commented 2 years ago

Small issue, when I plugged the drive into the Linux machine and turned it on, it asked me for a password anyway