[Modding][HowTo] Guide to Jailbreak a Homey Pro 2023

Disclaimer: Jailbreaking your Homey Pro may void its warranty and potentially cause irreversible damage. Proceed at your own risk.

Note: It is recommended to create a backup of your Homey Pro before proceeding with the jailbreak process

:green_circle: Pro about jailbreaking :green_circle:

  1. Hardware Utilization: By modifying the software on your Homey Pro, you can take full advantage of the capabilities of the Raspberry Pi CM4 module. This allows for more efficient resource utilization, potentially improving performance and enabling more demanding applications.
  2. Enhanced Monitoring and Debugging: Modifying the software can provide greater access to system logs, debugging tools, and performance monitoring. This can be useful for troubleshooting issues, identifying bottlenecks, or gaining deeper insights into the operation of your Homey Pro.
  3. Community Contributions: Modifying the software often encourages community involvement, fostering collaboration and the sharing of custom scripts, plugins, or modifications. This can lead to a broader range of community-driven enhancements and innovations for your Homey Pro.

:red_circle: Contra about jailbreaking :red_circle:

  1. Limited Warranty and Support: Modifying the software on your Homey Pro may void the manufacturerā€™s warranty and reduce the level of support available. If you encounter issues or need assistance, you may have to rely on the community or self-help resources, rather than official channels.
  2. Device Bricking Risk: There is a possibility that during the modification process, you could make a mistake or encounter compatibility issues that result in your Homey Pro becoming inoperable or ā€œbricked.ā€ This can be challenging to recover from and may require technical expertise to resolve.
  3. Need for Re-jailbreaking after Updates: When you modify the software on your Homey Pro, you will typically need to reapply the modifications or ā€œre-jailbreakā€ the device after every official software update. This can be time-consuming and require you to repeat the customization process, reinstall plugins, and reconfigure settings.
  4. Security Vulnerabilities: Modifying the software can introduce potential security risks to your Homey Pro. Custom modifications may not benefit from regular security updates or patches, leaving your device more susceptible to exploits or unauthorized access.
  5. Complexity and Technical Expertise: Modifying the software on your Homey Pro requires a certain level of technical expertise and familiarity with the underlying technologies. This can be a barrier for individuals who are less experienced or comfortable with advanced software modifications.

Requirements

Fast way

Currently in Work in Progressā€¦

Guide for Linux/MacOS

  1. Build USB-boot tools as written in the GitHub.
  2. Install EXT4 drivers, if needed.
  3. Connect the Homey Pro in recovery mode by pressing the pin on the underside of the device and then connecting it to your computer via USB-C.
  4. Run USB-boot by entering the command sudo ./rpiboot in the terminal.
  5. Identify the two ROOT partitions (containing /etc/, /var/, /home/...).
  6. Copy paste & replace (extracted, so it the folders inside) this file (Virus Total) in ROOT A & ROOT B
  7. Start Homey Pro 2023
  8. SSH to the Homey with user: homey-pro and password pro on port 2222 :tada:

Guide for Windows 10

  1. Install USB Tools (Download Here) & Install EXT4 drivers, if needed.
  2. Connect the Homey Pro in recovery mode by pressing the pin on the underside of the device and then connecting it to your computer via USB-C.
  3. Run rpitools on windows (Find it using your start menu)
  4. Let the magic happenā€¦
  5. Identify the two ROOT partitions (containing /etc/, /var/, /home/...).
  6. Copy paste & replace (extracted, so it the folders inside) this file (Virus Total) in ROOT A & ROOT B
    6.1 Unmount /eject /user /rootA and /rootB via LinuxFS
  7. Start Homey Pro 2023
  8. SSH to the Homey with user: homey-pro and password pro on port 2222 :tada:

Also thanks to @robertklep for the hints :slight_smile:

12 Likes

ā€“ Reserved ā€“

Proved to be working :wink: Thank you @spkesDE for this guide.

Maybe for Windows users, always try to unmount/eject /user /rootA and /rootB via LinuxFS FIRST before dismounting the other partitions, just to ensure all modifications were written.

2 Likes

Also did the jailbreak, used the Raspberry Pi Desktop VM
Works perfect.

Now curious but expect it will be overwritten every Firmware release.

1 Like

It will, firmware update overwrite at least one root partition and switch to it.

Is it possible to do the same to the old 2019 model?

Sadly, no.

1 Like

Iā€™m trying to do this on my new 2023 model, but I canā€™t find any partitions with etc/var/home directories.
I can find 3 partitions AUTOBOOT/ROOTA/ROOTB

Do I still just add the files to the partitions?

It should be ROOTA and ROOTB. They should be a couple of folders (etc, var, home, libā€¦) and a VERSION file.

That is the right partition.

Are you sure you mean ROOTA/ROOTB and not BOOTA/BOOTB?

:+1: I was wondering the same, because those 3 basically mounts first by default and then the ROOTA/B and USERā€¦

Anyway @rihanna , please keep in mind the risks, unless you really know what you are doing :wink:

Also avoid submitting any support ticket when jailbreaked, itā€™s clear that any such support request might be and probably will be denied.

AUTOBOOT/BOOTA/BOOTB are all FAT32 partition, which most OSā€™es support out of the box. The others are all ext4, which only Linux supports out of the box.

3 Likes

You are right. Itā€™s BOOTA/B. I might have some problems with my ext4fuse.

ext4fuse will not automatically mount the ext4 partitions, you have to do that manually.

But using ext4fuse will not be able to perform the jailbreak at all, since itā€™s a read-only implementation (@spkesDE).

1 Like

I tried the Paragon trial and it worked.
I got confused as I didnā€™t expect so many partitions and with so similar names.
But I have it working now. Thanks.

1 Like

Do we know why there are two root partitions? Is one used to restore e.g.? If so, is it safer to modify only the active one, leaving one pristine?

Edit: Yeah, looks like it. /dev/sda6 has a version file at the root with 10.0.1, while /dev/sda8 has one with 10.0.2

1 Like
2 Likes

For macOS, I ran an Ubuntu 22.04 VM in UTM, sharing the Homey USB connection to the VM so I could mount the partitions there.

You can also use extFS for Mac. Tip: donā€™t set your Macā€™s date to somewhere far in the future before you install it, because then it may extend the trial period to that date instead of just 10 days :wink:

3 Likes

Can anyone help me, i have done every step. But when iā€™m trying to login, it says connection refused.

Homey is on the latest software, 10.0.3 and connected with lan on a fixed local ip adress

Experimental SSH is disabled

And maked the files executabel

Thanks!