Page 1 of 1

ApplePi-Baker v2 – Backup & Restore SD cards, USB drives, etc.

ApplePi-Baker v2 – Backup & Restore SD cards, USB drives, etc.

ApplePi-Baker has become well known amongst Raspberry Pi users, with a Mac running macOS, to backup and restore SD-cards. Users do not just use ApplePi-Baker for this purpose anymore – I have seen users use it for backup and restore of pretty much anything not Raspberry Pi related.

Late 2013, I created ApplePi-Baker for my own use – I just got tired of looking up the proper command-line statements.
This way, ApplePi-Baker became my personal frontend for command-line tools like “dd“, “diskutil“, “mount” etc.

Over time, the use of command-line tools came with some problems; thanks Apple for changing command-line tool output with every new version of macOS. Besides that, having to enter your “sudo” password each time was a pain as well, and came with the occasional problems for a small group of users, so that had to go as well.

About 2 years ago I decided to rebuild ApplePi-Baker from scratch, no longer using any of the command-line tools. This came with quite a few challenges, especially since Apple increased security for macOS, not allowing me to do certain things straight from my program (see also SMJobBless: Elevated Privileges in Lazarus Pascal). I’m not even mentioning the drama when it comes to supporting the different compression formats, signing applications, and 64-bit requirements.

Almost 2 years later, I proudly present ApplePi-Baker v2. – special thanks to Jeff and Mark for testing!

UPDATE: ApplePi-Baker now also support shrinking and expanding of Linux partitions!


What is ApplePi-Baker? (optional)

This chapter gives you a background on certain aspects of ApplePi-Baker, which may or may not be an interesting read.

You can skip this chapter if you’re not all that interested in these details and go straight to “Installing ApplePi-Baker“.

ApplePi-Baker is a small macOS utility that allows you to backup or restore disks.
At its core, it uses the same format as produced by “dd“, a raw byte-by-byte copy of the disk – typically with the “.IMG” file extension.

As I mentioned; IMG file format is a raw copy of every single byte of the source disk, and nothing fancy is being done with it.
This also means that if your disk is 32Gb, even though you may be using only 1 byte, your backup file will still be 32Gb!

Note : For backup and restore, ApplePi-Baker only supports nonsystem disks.

You cannot make a backup of your macOS system disk.

Note : ApplePi-Baker does not shrink (or expand) partitions.

Since macOS, oddly enough, does not natively support any of the Linux Extended File Systems (ext), we do not have the means to easily determine what part of the disk actually is useful and what part is not. Several methods can be found to shrink the IMG file, but none of them can be used with macOS.

Note : Some folks use the “.DD” extension instead of the “.IMG” extension.

The file format is the same though (not to be confused with the old “DiskDoubler” file format).

Archiving and Compression with ApplePi-Baker

Typically, the IMG file format is very well compressible.
Commonly the “.zip” and “.tar.gz” (or “.tgz”) compression methods are being used on the resulting IMG file to reduce the needed storage space for the backup. I should mention that the format “.tar.xz” (or: “.txz”) is gaining popularity.

Maybe I should explain the difference between archiving and compressing (I had to learn this myself as well) …

An Archive is basically the bundling of a collection of files, which could be just one file as well – there is no compression involved.

Compression on the other hand, is the technique to store data in a smaller size than the original data, but does not involve building an archive – it just grabs one single file (chunk of data) and tries to store it in a smaller file.

Formats like 7Zip, Zip and Rar combine the creation of an Archive, and after that the Compression of that archive.

Formats like BZip2, GZip, LZip, and XZ, are good compression methods, but do not create an archive.
With these compression methods, one typically uses “Tar” to create an archive first before compressing said archive.

ApplePi-Baker Supported Formats

ApplePi-Baker support quite a range of file formats, in part due to libarchive that is being used.
Basically, anything libarchive can read or write, ApplePi-Baker can as well.

In ApplePi-Baker however, I have limited the formats used for creating a backup intentionally, to avoid odd-ball formats that are not supported by other tools or could be used in an incorrect way (like using GZip without TAR).

Formats supported for making a Backup

ApplePi-Baker supports the following formats (selected in the Save dialog when creating a backup). The extension is based on the commonly used extension for the selected format;

  • 7Zip (extension: .7z)
  • IMG (extension: .img)
  • Tar BZip2 (extension: .tbz)
  • Tar GZip (extension: .tgz)
  • Tar LZip (extension: .tlz)
  • Tar XZ (extension: .txz)
  • Zip (extension: .zip)

Formats supported for doing a Restore

There is quite a variation out there when it comes to file formats for backups. I’ve tried to capture them all, even ones that are not commonly used. Feel free to post a comment below if a format is missing, and I will see what I can do to add this odd format.

  • 7Zip (extension: .7z, .7zip)
  • BZip (extension: .bz,. bz2, .bzip) *1
  • GZip (extension: .gz, .gzip) *1
  • IMG (extension: .img, .dd, .raw, .dump)
  • ISO (extension: .iso) *2
  • Jar (extension: .jar)
  • LZip (extension: .lzip) *1
  • Rar (extension: .rar) *3
  • Tar (extension: .tar)
  • Tar BZip2 (extension: .tbz, .tbz2,, .tar.bzip, .tar.bz2, .tar.bzip2)
  • Tar GZip (extension: .tgz, .tar.gz, .tar.gzip)
  • Tar LZip (extension: .tlz, .tar.lzip, .tar.lz)
  • Tar XZ (extension .txz, .tar.xz)
  • XZ (extension: .xz) *1
  • Zip (extension: .zip)


Notes :

*1 : These files were not created entirely correct, as they are compressed, but not archived (tar).
*2 : Be careful with ISO files, you may end up with unexpected results – see below.
*3 : Only Rar < v5 are supported (a libarchive limitation).

Some notes on File Formats

Always use TAR when using BZip2, GZip, Lzip or XZ.

(ApplePi-Baker uses TAR automatically)

One can use these compression techniques without using TAR, however, the size of the file will often not be stored in the compressed file as such. To determine what the uncompressed size will be, one often must fully decompress the file first, just to see “what came out”.

Since ApplePi-Baker (and the user) would like to know if the uncompressed data fits on their target disk, decompressing the file first would take extra time.

However; ApplePi-Baker does support files that were created without using TAR. Mostly because I made the same mistake in the past as well. But be prepared to wait a little longer when restoring a file to a disk.

Potential unexpected results with ISO files.

(Can only be used with Restore)

Flashing an ISO for a bootable USB stick … 

I have tested flashing ISO files, to a USB stick, several times with several different Linux ditributions.
This has worked really well, but this does not mean that this will work for all ISO files and may not work with all computers (when booting from said USB stick). Your mileage may vary.

After the write process has completed, macOS may inform you that “The disk you inserted was not readable by this computer“.
Do not select “Initialise”. Instead, select Eject and remove the USB device.
ISO files often do not use a filesystem as expected by your Mac, and will usually properly boot on a computer.

ApplePi-Baker basically handles almost (!) any file format you throw at it for a restore.
This implies that you can even use a so called ISO file to do a restore.

Be warned though, that ApplePi-Baker was not designed to write ISO files to (for example) a USB disk, but libarchive does support it.
By lack of testing material, I can only say: this may or may not work as expected. Please post findings in the comment section!


About Mount, Unmount and Eject

A few things you may need to know involve mounting, unmounting and ejecting disks.

Different States

Under macOS, your disk/partition can be in one of several different “states“;

  • Mounted means that a disk or partition is “ready to use and visible to the end user”.
  • Unmounted means that the system knows the disk or partition exists.
    The end-user however, cannot see or use the partition from the Finder (but can see it in “Disk Utility”).
  • Ejected a disk involves the process of physically removing a disk.
    Back in the CD/DVD days, this actually meant opening the disk tray, so the user could grab the CD or DVD. Today, for example, this means that the user can unplug a USB drive. Once a disk is”ejected”, the user and the system can no longer access the disk.

Inserting a Disk

When the user inserts a drive, a CD/DVD/BluRay, plugs in an SD-Card, or a USB stick, the system will examine the disk and will try to automatically “mount” it so the user can access the disk right away.

Obviously, this mounting can fail, and a message may state that the disk needs to be initialized – common when you have an unsupported file system, like the Linux Extended File System (not uncommon for Raspberry Pi users), on that particular disk.

Disk Change notifications

macOS has a very nice, even though complicated at times, mechanism to report one of these events to your application.

Back in the day, you’d just check and see what changed every so many seconds -adding sometimes quite a workload to your computer.
But with Apple’s Disk Arbitration, this is no longer needed, and ApplePi-Baker fully uses these capabilities, minimizing the load on your computer’s resources. You’ll notice that ApplePi-Baker picks up on disk changes pretty fast.

Writing to a Disk – Sudo Access vs Helper Tool

Note : With “writing to disk” I actually mean the process of completely erasing and overwriting an entire disk as done during a restore.

The old way: Direct or as SUDO

Back in the day, your application could just write to a disk as it pleased. Obviously a tiny bit of a security problem – malicious applications or scripts would be able to destroy anything it felt like on your disk.

To minimize the chance that this would happen, so called “sudo access” (admin access) became needed to write in such a way to your disks. In the old (1.x) version of ApplePi-Baker this was still done. The command-line tools (like “dd”) were called with sudo access rights.

This came with a lot of issues and inconveniences.
Each time you started ApplePi-Baker, you would have to enter you sudo password.
Other tools still do this, either at the beginning or when executing the write task.

The new way: Helper Tool

Apple improved its security by going a different route – the so called “Privileged Helper Tool“.

This Helper Tool is a small program, designed for one single and very specific task, and is started by launchd to execute this task when the “main” application asks it to execute for that specific task (writing to disk).
See my article on SMJobBless: Elevated Privileges in Lazarus Pascal for more technical details, if you’re interested.

However … to keep things secure, this small program will need to meet several criteria that must be met before it can even be used.

Helper Tool: Security

Before we can use a Helper Tool, the “main” application needs to have defined that this Helper Tool exists and what criteria need to be met (for example: the Helper tool needs to be signed by a particular developer – that would be me).
The Helper Tool needs to have defined what application(s) are allowed to call for it (with similar criteria).

After that, both applications need to be signed – theoretically, the user, or malicious software, can no longer changes this.

By the way; The signed result of the Helper tool is after that, no longer a simple executable file – only “launchd” can start the Helper tool!

Before the main application can use this Helper tool, the Helper tool needs to be installed (in /Library/PrivilegedHelperTools/ ) and only “launchd” can do this. For this the user needs to explicitly give permission. So without the “OK” of the user, the Helper Tool will NOT be installed (and ApplePi-Baker will NOT work).

Once installed, the user will no longer need to provide a password to use the Helper Tool.

Note : ApplePi-Baker will install the Helper Tool at first run, or after you updated ApplePi-Baker to a version of ApplePi-Baker, that came with a newer version of the Helper Tool. So at first run only, you will see the message that ApplePi-Baker wants to install a Helper Tool, for which you will need to give permission.

Shrinking and Expanding Linux Partitions

As of version 2.1.0, I’ve included a mechanism to shrink or expand IMG files.
Better said: shrink or expand Linux Ext2, Ext3 or Ext4 partitions on disks that use MBR (Master Boot record) – which is very common for Raspberry Pi images.

There are a few reasons why I implemented this.

The first reason is that SD-cards are notoriously inconsistent when it comes to capacity. Even from the same brand, and the same model, can differ in size – obviously a problem when trying to restore an IMG to an SD card that is a few bytes off compared to the original.

The second reason is being able to restore to smaller or bigger SD-cards or disks.
Making a backup of a 16Gb SD card is nice, but pretty useless if you cannot restore it to a 8Gb SD-card.
Obviously this would only work if the actually used data on the original SD-card does does not exceed the capacity of the target SD-card or disk.
So this is not a generic trick that will magically turn 16Gb into 8Gb.
However, it happens quite often that of the 16Gb only a part is used, and if that part doesn’t exceed the 8Gb, then we could restore it on a 8Gb card.

Third reason would be space to store or transport backups.

Note: Using this option WILL slow down backup or restore, since multiple steps have to be taken.

Note: During backup the original disk will NOT be affected by this.

Supported Partitions

It is important to know that this only works when these criteria are met;
– The SD-card or disk has been initialized with MBR
– The partition is a Linux partition ($83)
– The partition has a Ext2, Ext3 or Ext4 filesystem

Shrink IMG Process

During a backup, if you enabled this option, ApplePi-Baker will first make a full backup to an IMG file.
Once completed, it will extract the Linux partition, check it’s file system integrity, and resize that partition to its minimum.
After resizing, the partition tables (in the IMG file) will be updated to reflect the size change as well.
After that everything will be glued back together, resulting potentially in a much smaller IMG file.

If you enabled compressing, the result will be compressed after that.

Expand IMG process

This step is thought to use the maximum available space on a disk or SD-card.

As with the shrinking process, the Linux partition will be extracted from the IMG file.
In case the original was compressed, it will need to be decompressed first – ApplePi-Baker will handle that automatically for you.
After that the partition will be resized, so the entire IMG will use as much space as possible of the target disk or SD-card.
Naturally, the partition table will be updated as well, to match the change.

Installing ApplePi-Baker

Before we can get started, we obviously will need to download an install ApplePi-Baker.

After downloading the DMG file, simply double click the DMG file, and drag “ApplePi-Baker” to your “Applications” folder.

Catalina Versions … 

For those running macOS Catalina: make sure your Mac is up to date and running at least
The initial release of cataline (10.15) came with a bug preventing tools like ApplePi-Baker to work properly.

It is recommended to use at least ApplePi-Baker v.2.2.0 (older version can be problematic under Catalina)

MacOS Catalina users and Full Disk Access … 

Catalina introduces yet some more hurdles. ApplePi-Baker will not write (restore) to disks due to Catalina throwing a sandbox error (System Policy: deny(1) file-write-data ).

To use ApplePi-Baker, you’ll need to add ApplePi-Baker to the security exceptions for full disk access:

Open “System PreferencesSecurity & PrivacyPrivacy“.
From the list on the left select “Full Disk Access“.
Click the padlock, and unlock your settings.
Now click “+” button to add ApplePi-Baker to the exception list.

You will have to restart ApplePi-Baker or even reboot your Mac (to “refresh” the privileged Helpertool), but now writing should work under Cataline without the need for running it as sudo.

Catalina - Give ApplePi-Baker Full Disk Access

Catalina – Give ApplePi-Baker Full Disk Access


Download ApplePi-Baker

  I have created a shortcut to the download for those wanting to use this in formulas (like brew etc) or link from their website.
– The direct download link to the latest version will always be
– And a shorter link to this article:

Please like ApplePi-Baker at … 

And if you’re interested in reading another person’s opinion, please check out Wolfgang’s article on his website:

DOWNLOAD - ApplePi-Baker V2 (64 bits) 

Filename:  ApplePi-Baker-v2.2.3.dmg
Platform:  Apple macOS
Version:  2.2.3
Size:  4.1 MB
Date:  2019-11-24

Direct reference link:
 Download Now 

Rather use the old v1.x version? Here it is: 64bit, signed and notarized (works under Catalina). 

For those who’d rather stick with the old version, I’ve created one last v1.x version of ApplePi-Baker (64bit,signed,notarized) which does work under Cataline.

Note: You will get a request for your permission for ApplePi-Baker to access your external drive – please confirm this request, otherwise it will not work.

DOWNLOAD - ApplePi Baker (64 bit) 

Filename:  ApplePi-Baker-1.9.9.dmg
Platform:  Apple macOS
Version:  1.9.9
Size:  2.4 MB
Date:  2019-10-13

Direct reference link:
 Download Now 

First Run of ApplePi-Baker

The first time you start ApplePi-Baker (recommended to run ApplePi-Baker from you “Applications” folder!), it will display a message, asking you to install the Helper Tool.

ApplePi-Baker - Install Helper Tool

ApplePi-Baker – Install Helper Tool

The Helper tool will be installed, by launchd, in /Library/PrivilegedHelperTools/.

The purposes of the Helper Tool is to read or write a disk directly (where in the past the so called “sudo” password was needed).

After installation, you will not need your admin password anymore, not even when in the future when you start ApplePi-Baker again. Your password by the way is not stored anywhere. This request is fully handled by macOS and ApplePi-Baker has nothing to do with it.

The only time a password will be asked is to install or update the Helper Tool.
Installation of the Helper Tool takes place when it is missing or when it needs to update an existing Helper Tool.

Theme Support

With the arrival of official “Dark Theme” support in macOS 10.1 (mojave), we can now use this for ApplePi-Baker as well.
Support for macOS older than Mojave may vary – if possible I do recommend upgrading to the latest macOS version anyway, but I do realize that not all Macs are supported with the latest and greatest macOS.

By default, ApplePi-Baker uses the Theme set by the system (Use System Theme).

You can however force ApplePi-Baker to use the classic Light Theme (Aqua) or the newer Dark Theme.

The setting for this can be found in the ApplePi-Baker menu.

ApplePi-Baker - Theme Settings

ApplePi-Baker – Theme Settings

ApplePi-Baker - Light vs Dark Theme

ApplePi-Baker – Light vs Dark Theme

Uninstall ApplePi-Baker

I’ll be the first one to say that I want to keep my Mac as clean as possible, and not every program is constantly needed or even the way you’d wanted the program to be. So here the details on Installing/Removing ApplePi-Baker;

  1. Drag ‘ApplePi-Baker” from “Applications” to the Trash, and empty the Trash after that.
  2. Delete the Preferences directory /Users/<yourusername>/Library/Preferences/ApplePi-Baker.
  3. And finally unload and delete the Helper Tool in Terminal (sudo access is needed):

sudo launchctl unload /Library/LaunchDaemons/com.tweaking4all.ApplePiBakerHelper.plist
sudo rm /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper


Basic Tasks

In this chapter, I’ll go through of the basic tasks one would go through creating a backup or doing a restore.
The next chapter will show some of the additional functions you can find in ApplePi-Baker.

One thing to keep in mind; the window has been divided in 3 vertical parts; Select Disk, Backup and Restore.
The general idea is:

  • Select a Disk
  • Choose an Action (backup or restore)
  • Based on the chosen action; select a file
  • Wait for completion of the task at hand

Step 1A – Select a Disk

Click in the leftmost column on the “Select a disk” text or the hard drive icon.
A popup menu will appear, listing the available supported disks.

If no disks are listed, then there are no suitable drives for backup or restore found.
Remember: the system disk(s) are NOT supported.

ApplePi-Baker -Select a Disk

ApplePi-Baker -Select a Disk

After a disk has been selected, the selected disk will be listed under the icon, like show below in figure 5.
The red little “x” can be used to remove the selected disk.

Selected Disk listed

Selected Disk listed

Step 1B – Selecting Multiple Disks (Restore Only!)

Since ApplePi-Baker now supports writing to multiple disk – for Restore Only – you can click on the disk icon again and add more disks.

When using multiple disks, disks will be written to in sequence, kind-a like so:
– Read a block from the source, write that block to disk 1, write that block to disk 2,
– Again, read a block from the source, write that block to disk 1, write that block to disk 2,
– And again, read another new block from the source, write that block to disk 1, write that block to disk 2,
– etc.

Note :
– You can add a disk only once of course,…
– The selected disks will be listed in alphabetical order, not matter in what order you added them.

Selected Multiple Disks

Selected Multiple Disks

Step 2 – Backup or Restore

In this next step, you can select what you’d like to do: Make a Backup, or Do a Restore.
Again: click on the icon of the action you’re looking for.

Note :
– When selecting a “Read-Only” disk, then you can only make a Backup – the “Restore” option will remain grayed out.
– If you selected more than one disk, then you can only do a Restore – the “Backup” option will be grayed out.
– Naturally, if you did both (read-only and multiple disks), then neither Backup or Restore will be available.

Warning :
Not all SD-card readers seem to honor the “Read-Only” lock found on older SD cards.
In that case, your Mac will see it as a device it can write to – and actually WILL write to in case you selected a restore!

Based on your selection, a file dialog will open.

Backup: Here you determine where to store the file and in what format (selector at the bottom, center).
Restore: Here you can select the file you’d like to use for Restore. The format requirements will be detected automatically. Incase an archive has multiple files, you will be presented a dialog allowing you to select the file (in the Archive) that you wish to use.

For TBZ, TGZ, TLZ and TXZ files, by default “Find First File in Archive” mode is enabled. This means that ApplePi-Baker will grab the first file it finds.
This makes using these files a lot faster, but can be problematic when an archive contains more than one file. See “Enable Full Archive Seek Mode” for more details.

Step 3 – Coffee and a cookie

In this step you’ll just have to wait for the task to complete.

ApplePi-Baker also shows a percentage indicator on it’s Dock icon, and when the process has been completed (and ApplePi-Baker does not have focus) the dock icon will bounce (as expected with regular macOS applications).

Dock Icon show Progress

Dock Icon show Progress

Note: If you enabled Resizing the Linux Partitions, several other steps will follow (and shown).

In the ApplePi-Baker window, a few estimates will be displayed as well:

  • Average speed, which of course can change over time, but compared to the older ApplePi-Baker I have seen matching or better speeds.
  • Estimated completion time, which indicates at what time ApplePi-Baker expects to finish the job.
  • Time Left, which tells you how many hours, minutes, and/or seconds the process still will take.

The big “ Abort” button, well … it’s there just for decoration. Haha, just kidding. Obviously it’s there to abort a job.

Easy to read Progress

Easy to read Progress

Additional Functions and Options

Obviously, since this is a little bit of a hobby project, things went a little out of control, and while exploring things, I have added some functions I’d figured to be useful.

At the bottom of the window, you will see a few icons. “Functions” on the left and “Options” on the right.

ApplePi-Baker Functions and Options
Icon Purpose
ApplePi-Baker - Advanced Disk Panel Advanced Disk Panel
Reveals more details about the disks connected to your Mac and offers additional disk functions, like mount, unmount, create NOOBs, etc. – more about this below.
ApplePi-Baker - Website Help Go to
This icon opens this particular page – in case you need help.
ApplePi-Baker - About About ApplePi-Baker
Here you’ll find version information and credits.
ApplePi-Baker - show Log Window Show Log-Window
Opens a small log window below ApplePi-Baker with messages. Personally I prefer this over notifications, and I can see what happened while i was not paying attention.
Shrink or Expand IMG Resize Linux Partitions
When enabled during backup, the Linux partition in the backup will be resized to its minimum size.
When enabled during restore, the Linux partition will be expanded to utilize all available disk space.
Select FirstFile Mode Enable Full Archive Seek Mode
This is specific for Tar BZip, Tar GZip, Tar LZip and Tar XZ archives, and affects only these formats. See explanation below.
ApplePi-Baker - Auto Eject Auto Eject
When enabled, your disk(s) will be ejected after Restore completion.
(where Eject = Unmount all partitions and Eject disk)
ApplePi-Baker - Enable SSH Enable SSH
This tries to enable SSH on Raspberry Pi images, by saving a file “ssh” on the first mounted partition. This effectively enables SSH, ideal for a headless Raspberry Pi setup.
Note : your Raspberry Pi images has to support this for this to actually enable SSH.
ApplePi-Baker - Enable Notifications Notifications
When enable, notifications will be displayed in the macOS notifications. Quite annoying actually.

Shrink or Expand IMG

During backup: This will shrink a Linux partition in an IMG file, if found, to its bare minimum, so a restore can be done at a later time to a target disk or SD-card of a different size (target disk or SD-card should be the same size or bigger than the resulting IMG file size).

During restore: The Linux partition will be resized on the target disk or SD-card, so that the IMG will use all available space.

Note that this option will take a bunch of extra steps and will slow down the backup or restore process.

Enable Full Archive Seek Mode

This is ONLY for Tar BZip, Tar GZip, Tar LZip and Tar XZ archives, and affects only these formats!

For TBZ, TGZ, TLZ and TXZ files, Apple-Pi Baker will have to seek through the entire archive to find all entries, which can be slow process.
Since the first entry is found instantly, and since these archives typically have only on file entry, ApplePi-Baker by default grabs the first file entry it finds.

Under normal circumstances this should not be a problem.

However, if the archive contains more than one file entry, this can become a problem.
Say the IMG author added a “readme.txt” file, the ApplePi-Baker could by mistake take that file, resulting in a failed restore.

If you have an archive in this format, holding more than one file entry, then you may want to enable the “Full Archive Seek” mode.
Apple-Pi-baker will then find all file entries and if more than one file was found, a list will be presented to select from.

Log Window

If you’re keen on checking what is going on when ApplePi-Baker is running, or we need more information when things aren’t going all that well, then the Log Window can become in handy.

You can toggle the visibility, by clicking the “Show Log-Window” button.
Right clicking the log, offers a few options:

  • Copy Log to Clipboard (so you can easily post or email the log)
  • Save Log to File
  • Clear the log
Log Window

Log Window

Advanced Disk Panel

The original intent of ApplePi-Baker was to keep things simple for the user.

However,… after all these years I have seen enough users doing exotic things with my applications (which is awesome by the way!), and have seen the need for more information when troubleshooting. All this made me add this Advanced Disk Panel, and the more information I found, the more I kept adding. Remember – this is a hobby for me and it’s just fun to find all this kind of information.

Advanced Disk Information

In the Advanced Disk Panel, we can see of all the disks (visible to you or not) attached to your Mac – including mounted ISO/DMG/IMG files.

The devices printed in orange are not supported for Backup/Restore with ApplePi-Baker, as those are system disks.
More precise; these are disks that cannot be ejected – I may refine that in the future.

Note : in the upper right corner, you’ll see a disk icon. When this icon is gray (you can click it), only supported disks will be shown.

Per disk, you’ll see how it is connected, what brand/model disk it is (if provided by the manufacturer), capacity, devicename (in /dev/) and what partitions it has.

Per partition you’ll see the device name (/dev/diskXsY), it’s label and what type of partition it is – size and file system included, if applicable.

Note : If a partition is printed in Italic, then this means that this partition is NOT mounted.


Tinkering with System Disks and System Partitions … at your own risk!

If you get the insane idea to Eject your system disk (I’ll admit it, I have actually tried it!), then the system will tell you that it cannot eject the disk and nothing bad (should) happen. The same goes for mounting or unmounting.
That at least has been my experience.

No matter what my experiences are:
Please try not to tinker around with the system disks (like mounting the EFI partition) unless you really know what you’re doing.

Advanced Disk Panel

Advanced Disk Panel

CoreStorage Chaos

With Apples more recent way of dealing with disks (CoreStorage), you’ll potentially see some “funny” things.

In the example below:

It suggests I have two big disks (disk0 – 1 Tb, disk 1 – 744Gb)
However, My 1Tb SSD (disk0) actually holds a virtual image for disk1 and I really only have one SSD in this Mac (disk0).

Look at partition /dev/disk0s2 – an “Apple File System (AFPS) Physical Storage”.
Fusion disk users will see something similar, maybe even with an additional layer in between.

Now, if you look at /dev/disk1, then you’ll see “Synthesized Disk – Physical Store on partition /dev/disk0s2”.
So the fake (virtual) “/dev/disk1” actually lives on /dev/disk0s2.

These virtual disks come with a problem when analyzing these disks – the partitions on this disk are flexible in size and are sized as needed. These partitions do not have a fixed size (unlike normal-old-school-straight-forward-regular-plain partitions). Hence the phrase “(virtual)”, where as other partitions show an actual size.

Accessing Disk Functions

Right clicking (or CTRL + Left click) a disk or partition will reveal a popup menu with some practical functions you may appreciate.

Availability of functions does depend on what item you selected.

Extra Disk Functions

Extra Disk Functions

As you can see, quite a few options:


ApplePi-Baker Disk Functions
Function Purpose
Select this Disk (/dev/diskX) Add the selected disk to your disk selection for backup or restore
(double click does the same)
Eject Disk Ejects a disk (unmount all partitions and eject disk)
Mount Volume This will try to Mounts a Volume (partition)
Unmount Volume Tries to Unmount a Volume
Reveal in Finder If a volume is mounted, then this will open it in Finder
Prepare Disk for NOOBs use Erase a disk, and makes a single FAT partition for NOOBs use
Expand All Expand all disks in the list, so you can see all details
Collapse All Collapse all disks in the list, so you just see the disks and no details
Copy Structure to Clipboard as Text This Copies the entire tree of disks and information to your clipboard
Copy All Drive Details to Clipboard as Text Copy all internal details of all disks onto your clipboard
Copy Partition Table Info from Selected Disk  Copies partition info from the selected disk (for debugging)
Copy Partition Table Info from IMG file Copies partition info from the selected IMG file (for debugging)
Close Advanced Disk Panel Close the Advanced Disk Panel view

Reporting Feedback and/or Issues

When running into issue, feel free to place a comment below …
Please keep in mind that this is a hobby for me, so do not confuse this with me being your 24/7 helpdesk.

Reporting issues …

ALWAYS mention what macOS and ApplePi-Baker version you’re using.

To make it easier, I’ve added a function in the “About” window.

Open “About” (click ApplePi-Baker - About), right click the version info in the upper left corner and select “Copy Version Information“.
Paste that with your issue/comment!


NEVER post huge lists!

To keep things readable, please please pretty please do not post huge lists or log dumps.
It makes things unreadable and hard to find for other users.

IF a log or list is needed, I’ll let you know,…
In case you really feel you really must post a list or a log, then please post them in the Raspberry Pi Forum or the MacOS X Software forum.

Donation options

Donations are very much appreciated, but not required. Donations will be used for web-hosting expenses, project hardware or a motivational boost (a drink or snack). Thank you very much for those have donated already! It's truly AwEsOmE to see that folks like our articles and small applications.

Please note that clicking affliate links, like the ones from Amazon, may result in a small commission for us - which we highly appreciate as well.


There are 445 comments. You can read them below.
You can post your own comments by using the form below, or reply to existing comments by using the "Reply" button.

  • May 14, 2019 - 4:53 PM - JohnSeed Comment Link

    Nice job! It’s like McDonalds – I’m loving it! 



    • May 15, 2019 - 3:51 AM - hans - Author: Comment Link

      Thanks John for taking the time to place a compliment – it’s very much appreciated! 



  • May 19, 2019 - 3:39 AM - Gaetan Comment Link

    Hi ! That’s a great new to know ApplePie Baker has been updated. Very good job, can’t know any other tool on macos as simple and efficient ! Work great for my monthy Raspberry Pi 1:1 backup :) Thanks a lot !



    • May 19, 2019 - 11:15 AM - hans - Author: Comment Link

      Thanks Gaetan!

      So glad to hear you like the update! 
      Thanks for taking the time to post a Thank-You – it’s a good motivator to keep going.

      And … I may have a really awesome surprise for the next release (v2.1 – already working on it). 



  • May 21, 2019 - 5:16 PM - hans - Author: Comment Link


    I released ApplePi-Baker 2 a few weeks back, and while working with Jeff, one of the beta testers, I started testing shrinking images … which initially failed horribly, but in the latest iteration seems successful.

    So … right now I’m looking for folks, willing to test this feature.

    The idea is to shrink a Linux partition on backup, and expand it on restore, so backups from larger SD cards may fit on smaller SD cards.

    Additionally, ApplePi-Baker will now avoid including unused disk space in the backup.

    Since I have very little examples to play with (Raspbian, RetroPie and LibreElec have been working great this way), I’m looking for folks with real life situations, to see how well this may or may not work.

    Reply here, or send me an email at webmaster at if you’re interested in testing.



    • May 22, 2019 - 7:02 AM - hans - Author: Comment Link

      I did find a bug that impacted the speed.
      If anyone is interested in testing the “fix” then please let me know. 



    • May 23, 2019 - 8:59 AM - hans - Author: Comment Link

      Open invite to test 2.1.0 beta (download here).

      Version 2.1.0 comes with some major changes;

      – significant speed impact (while testing, backup almost 3 times as fast as before),
      – optimized backup (parts of the disk that are not partitioned will be skipped),
      – option the shrink or expand Linux partitions on your Mac.

      Since I have a limited number of Macs to test with, I’d love to hear feedback from other Mac users.



  • May 23, 2019 - 8:31 AM - Jimm Comment Link

    Does 2.0 work with Mojave? I get this error after clicking open on the security pop-up

    Access Violation

    Press OK to ignore and risk data corruption 

    Press Abort to kill the program

    Installing ApplePi-Baker-v2.0.0

    I’m running macOS 10.14.5

    Also, wanted to say you have a great program.



    • May 23, 2019 - 8:56 AM - hans - Author: Comment Link

      Hi Jimm!

      Thanks for the compliment!

      Yes it should work on Mojave (tested with 10.14.4 and 10.14.5).
      Unfortunately the message is rather vague (and I really wish I could improve on that).
      Did you mean that this happens when you start APB, and it asks for permission to install the Helper Tool?

      If you’d like, you can try the 2.1.0 beta (download here), which has some changes.

      Some of the changes are;
      – Improved timing (between main application and Helper Tool),
      – significant impact on speed, 
      – optimized backup (parts of the disk that are not partitioned will be skipped),
      – option the shrink or expand Linux partitions on your Mac.

      Since there have been a lot of changes, I’m not sure if it addresses the error you run into, but I’d love to find out what may be causing this.



      • May 23, 2019 - 10:05 AM - JImm Comment Link

        2.1.0 is doing the same thing.

        After installing the app, I go to the application folder right click the app, click open

        macOS asks if I want to run the app downloaded from the internet (gatekeeper), click open

        that is when I get the error message, when ApplePi-Baker is trying to open. APB never has a chance to ask to run the helper.

        If you need any logs or anything else I can do please let me know.



      • May 24, 2019 - 3:41 AM - hans - Author: Comment Link

        I’ve just uploaded a new version 2.1.0 – this time with a little less strict timing for the Helper Tool.
        Please let me know if this resolves the issue 

        Background; at startup APB checks if the Helper Tool is responding and I only gave it 0.1 second to reply during initial start, which may or may not be too short for some systems.



      • May 24, 2019 - 4:25 AM - hans - Author: Comment Link

        Forgot to ask: what kind of Mac do you have? (model/cpu/memory/disk)



        • May 24, 2019 - 5:58 AM - Jimm Comment Link

          the new 2.1.0 is doing the same thing (I downloaded from the link provided from previous comment.)

          here are my system specs:

          MacBook Pro (Retina, 13-inch, Mid 2014)

          Processor 2.8 GHz Intel Core i5

          Memory 16GB 1600MHz DDR3

          Hard Drive 512GB

          Graphics Intel Iris 1536 MB



        • May 24, 2019 - 7:18 AM - hans - Author: Comment Link

          Thanks Jim,

          I tried to reach out by email, but email is bouncing (maybe a typo in your email)?
          I have a beta version available for you – would you be willing to email me at webmaster at tweaking4all dot com?



          • May 29, 2019 - 8:20 AM - xavier Comment Link

            Hello, i have the same problem with beta 2.1

            Access violation.

            Press OK to ignore and risk data corruption.

            Press Abort to kill the program.


          • May 29, 2019 - 8:51 AM - hans - Author: Comment Link

            Hi Xavier,

            thanks for reporting. 
            Can you tell me what the build number is of the version you’re testing? (can be found in the about section)
            Did you experience this with 2.0.0 as well?


          • May 29, 2019 - 9:12 AM - hans - Author: Comment Link

            I’ve added an extra check to v2.1.0 build 90 (delete the previous one, the new one has the same filename, you can download it here).


          • Nov 19, 2019 - 12:33 PM - Gregory Boland Comment Link

            As its been a few months since these people have been posting I wonder was there ever a solution to this issue?  I have experienced it as well on 10.14.5 (Mojave), and also when I download the latest 2.2.1.  I also tried 2.1.0.  If there is anything I can do to help, please let me know, as this product used to save me so much time, and would love to get it working again.



            Gregory Boland

          • Nov 19, 2019 - 2:46 PM - hans - Author: Comment Link

            Hi Greg,

            thank you for your patience.

            I’m a little at a loss here what may be causing issues.
            I’ve tested v2.2.1 on Catalina (10.15.1) and Mojave, and on all my 3 Mac’s it runs fine (Mac Pro, MacBook Pro 0216 and a Macbook 12″). 
            Catalina 10.15 (the initial Catalina release) had some issues related to a bug in Catalina.

            What ever i try, I cannot reproduce the issue a handful of folks seem to run into.
            This makes it very difficult for me to debug.

            I can try to compile a debug version for those who would like to give it a try.
            It will generate quite a few messages in Console, which I then would have to review in the hope to find something that may cause this.
            But it remains problematic.

            Any info that could help mimic the situation here, would be very helpful.
            (feel free to contact me by email: webmaster at tweaking4all dot com)


  • May 30, 2019 - 1:15 PM - Flatinus Comment Link

    Hi, the other day (May 28th) I backed up the Retropie SD, everything went well.
    Today, after numerous changes between preferences and files, I decided to make another backup, but it didn’t start: I selected the card, the destination folder, but nothing starts.
    This happened with version 2.0.0, then I downloaded 2.1.0 and got the same result: nothing.

    My configuration is:
    Mac mini (Late 2012) / 2,6 GHz Intel Core i7 / 16 GB / MacOS Mojave 10.14.5 (18F132)



    • May 31, 2019 - 3:47 AM - hans - Author: Comment Link

      Hi Flatinus,

      Can you download the latest beta, test again, and copy the content of the log-window here and dito for the version info?
      Log window: open the log window, right click the log window, choose “Copy Log to Clipboard”.
      Version info: open the about, right click the version info, choose “Copy version information”.



      • May 31, 2019 - 4:31 AM - Flatinus Comment Link

        From what I read on this page, the last beta is version 2.1.0 and it’s exactly the one I used last night, correct me if I’m wrong.
        Yesterday, I had thought of inserting the log, but I read that I didn’t post too long messages.
        I’m going to do another test and then put the log.



        • May 31, 2019 - 4:44 AM - Flatinus Comment Link

          Among other things, this v. 2.1.0 seems to be faster than v. 2.0.0…



          • May 31, 2019 - 5:35 AM - hans - Author: Comment Link

            Yes, it should be up to 3x faster than 2.0.0.
            I did spend quite a bit of time trying to fine tune things. Glad you noticed! 


      • May 31, 2019 - 4:35 AM - hans - Author: Comment Link

        Awesome, thank you for paying attention to not posting long logs! It’s truly very much appreciated.
        I’m just trying to avoid that folks post logs that cover multiple pages 
        The log window log’s should be pretty short, and if you prefer, you can also email me the log (webmaster at or start a forum topic.
        After close to 3,000 downloads, I’ve had hardly any beta testers, so all the input you can provide is welcome!



        • May 31, 2019 - 4:42 AM - Flatinus Comment Link

          Ok, someone out there call an exorcist now it works, half an hour ago no!
          If it can be useful, the last sentence of the log is saved in the browser history, which, in fact, gave an error:

          applepi baker ERROR - Incorrect CLONE Command Parameters

          I keep the situation under control, I’ll make a few backups a day and as soon as the problem arises I’ll immediately submit it.



        • May 31, 2019 - 5:37 AM - hans - Author: Comment Link

          Haha … well, I’ve noticed MacOS going a little bonkers when one interrupts the restore process (which does not apply to your situation), where a USB stick or SD card needs to be removed and reinserted for the Mac to know what to do with it.

          Keep an eye on the “Incorrect CLONE Command Parameters” message, I’d need to see more of the log to know what is happening, but usually this should not happen.



          • May 31, 2019 - 5:54 AM - Flatinus Comment Link

            Last night I restarted the system, but still didn’t start. The only error that appeared in the log was that of the Helper Tool, then solved with the v. 2.1.0
            The “Incorrect CLONE Command Parameters” appeared only this morning, but restarting the application a couple of times it disappeared and – at the same time – the backup started.
            Tonight I’ll make another backup and do the same all weekend, if there are problems I’ll inform you immediately.
            Feel free to contact me via email and consider me a beta tester, it’ll be a pleasure and it seems like the least I can do.


    • May 31, 2019 - 3:48 AM - hans - Author: Comment Link

      p.s. what is the advanced disk panel showing for this drive?



      • May 31, 2019 - 4:46 AM - Flatinus Comment Link

        At the moment I can’t view it because the backup has started, I’ll write it later.



      • May 31, 2019 - 5:26 AM - Flatinus Comment Link
        /dev/disk3:        Generic STORAGE DEVICE Media  (64 GB)
             External Drive  (USB)
             Generic STORAGE DEVICE (rev.0828)
                 ▹ /dev/disk3s1     "boot"                  60 MB    Windows FAT16
                 ▹ /dev/disk3s2     "Untitled 2"         64 GB    Linux (Ext2/Ext3/Ext4)


      • May 31, 2019 - 5:38 AM - hans - Author: Comment Link

        Looks like a normal USB stick or SD card. Hmm. Let’s keep an eye on this! 



        • May 31, 2019 - 5:43 AM - Flatinus Comment Link

          Samsung EVO Plus / 64 GB / U3 / 10 Class
          The twin that I use on my YI4K+ Action Camera.



  • May 31, 2019 - 6:53 AM - hans - Author: Comment Link

    UPDATE: ApplePi-Baker v2.1.0 available

    The new version can SHRINK IMG and EXPAND IMG.
    meaning; it can shrink (during backup) or expand (during restore) Linux partitions.

    Version 2.1.0 is also much faster – during tests up to 3x faster!



  • Jun 1, 2019 - 5:51 AM - hans - Author: Comment Link

    UPDATE: ApplePi-Baker 2.1.1 available

    Bug fix concerning directories that have [ and ] in the directory or filename.
    Thanks Fabio for catching it! 



  • Jun 1, 2019 - 4:27 PM - hans - Author: Comment Link

    UPDATE: ApplePi-Baker 2.1.2 available

    Fixes a cosmetic bug, where certain buttons were not properly visible.
    This did affect Mac’s with without a discrete GPU (eg. Mac’s with only an integrated Intel chip for graphics).



  • Jun 2, 2019 - 4:11 PM - hans - Author: Comment Link

    UPDATE: ApplePi-Baker 2.1.3 available

    Fixed bug when restoring an IMG, that has no Linux partition, yet “expand” partition has been enabled.
    Fixed minor cosmetic bug with buttons being enabled or not during backup or restore.



  • Jun 3, 2019 - 1:48 PM - OutsourcedGuru Comment Link

    Great job, Hans! I’ve been holding off on updating my macOS since I use your program so much; I wasn’t about to lose it to an update. ;)



    • Jun 4, 2019 - 3:54 AM - hans - Author: Comment Link

      Thanks OutsourcedGuru! 

      I hope it meets your expectations, and it’s awesome to hear you’re such a fan! Nice! 



  • Jun 5, 2019 - 7:00 AM - Jo St Comment Link

    Thanks, it looks like a great application!
    Unfortunately, after I select the disk and click on Restore, nothing happens but for a log being written that reads: Restore Cancelled – No file selected. As I am neither prompted to select a file after clicking Restore nor see an option to select a file before clicking I’m not sure what to do…
    I’m running OS X El Capitan 10.11.6 on an old MacBookPro (mid-2009) that doesn’t support anything newer.Is that the issuie?
    Here is the complete log entry (after several reboots and retries):

    13:52:30  Found Correct HelperTool version (1.5)
    13:52:36  Drive added to list: /dev/disk2 (64 GB APPLE SD Card Reader)
    13:52:50  Restore Cancelled - No file selected
    13:53:14  Restore Cancelled - No file selected

    Jo St

    • Jun 5, 2019 - 7:40 AM - hans - Author: Comment Link

      Hi Jo St,

      unfortunately, I no longer have access to a machine (or virtual machine) running El Capitan.
      So it’s impossible that this may be the reason.

      I’ve just looked through the code, and it seems to skip the OpenDialog function completely (since you’re not offered to select a file).
      I’ll have to touch base with the Lazarus team and see if this is a known issue for El Capitan, since it is something I cannot even test.
      If I’d create a super simple program that just opens the file dialog, could you test it?



      • Jun 5, 2019 - 4:40 PM - Jo St Comment Link

        Hi Hans, 

        Thanks for the quick answer!

        I found the problem and it had nothing to do with your application itself but a problem of writing permissions turning off and on during the process. 

        In case somebody else encounters a similar problem:

        The device to insert the micro sd card into the standard sd card reader has a common read only vs read/write mode switch. It was set to read/write, but it seems it was a little to long for the old mac book reader. After setting it half between read only and read/write it the computer consistently understood the setting instead of switching between having and not having writing permissions.

        This seems to have happened quite a few people with other sd cards, too.

        As expected, your application now works just fine.




        Jo St

      • Jun 5, 2019 - 4:58 PM - hans - Author: Comment Link

        It is indeed a common problem – my old MacBook Pro would do the same thing. Insert Read/write, and the notch seems to hit the side and switches to read only or somewhere in the middle. That’s why I got an extra SD card reader. The funny thing with that one is that it totally ignores the switch and writes to the SD card even if it’s switched to read-only, and actually overwrites the SD card. 

        I would not have expected that error though … but I’m glad you did get it working 



  • Jun 5, 2019 - 9:21 AM - brigitte Comment Link

    Hey Hans!

    Thanks for this useful tool -great work :) 

    but I’m a bit confused – I downloaded version 2.1.3 from the website but the app says I have version 2.1.0 installed – thanks for your help :) 



    • Jun 5, 2019 - 9:25 AM - hans - Author: Comment Link

      Hi Brigitte!

      Thanks for reporting!
      That would probably be because I forgot to update the info.plist … 

      No worries, if the application show 2.1.3 in the top part of its window, then it really is 2.1.3.
      Maybe I’ll create a script to automate updating the version number – it has happened before that I forgot (so many steps to take before I can distribute the application, and this would be the one I forget every now and then). 



  • Jun 8, 2019 - 4:13 AM - Steve Comment Link

    I am having a similar problem to that I have seen in previous threads. I am trying to use 2.1.3 on a brand new MacBook Pro and get the Access violation error when trying to run the program.

    Here is a short piece of the log

    Process: ApplePiBaker [4951]

    Path: /Applications/

    Identifier: com.tweaking4all.ApplePiBaker

    Version: 2.1.0 (2.1.0)

    Code Type: X86-64 (Native)

    Parent Process: ??? [1]

    Responsible: ApplePiBaker [4951]

    User ID: 501

    Date/Time: 2019-06-08 11:10:46.838 +0200

    OS Version: Mac OS X 10.14.4 (18E2035)

    Report Version: 12

    Bridge OS Version: 3.4 (16P4756)

    Anonymous UUID: DFB73457-8A11-1666-7123-A5C6B36921EB

    Sleep/Wake UUID: 8F9C357F-148D-416E-A012-01976704263F

    Time Awake Since Boot: 6200 seconds

    Time Since Wake: 1200 seconds

    System Integrity Protection: enabled

    Crashed Thread: 0 Dispatch queue:

    Exception Type: EXC_BAD_ACCESS (SIGABRT)

    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000013

    Exception Note: EXC_CORPSE_NOTIFY



    • Jun 8, 2019 - 7:19 AM - hans - Author: Comment Link

      Hi Steve,

      Thanks for reporting! Since I’m traveling, it will be a challenge to debug.
      Does APB crash right away at start? 
      I’d be interested in seeing some version info (see: “About” and right click the version info to copy it).
      Did the Helper tool get installed (if yes: remove it , so it gets reinstalled: delete /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper)



      • Jun 8, 2019 - 8:29 AM - Steve Comment Link

        It doesn’t even start.

        Opening the app immediately gives the error access violation

        Click ok and wait for a few moments and the following error arrives

        ApplePiBaker quit unexpectedly (and then the log I provided)

        Just a thought, when I set up my new MBP, I chose to use the disk encryption, could this have any thing to do with it?



        • Jun 8, 2019 - 8:32 AM - Steve Comment Link

          Sorry, and no, there are no files in that given location for the help



        • Jun 9, 2019 - 8:35 AM - hans - Author: Comment Link

          Ouch that’s not good. 

          I do not think encryption has anything to do with it – but in all honesty, I’ve never used encryption on my disk (nervous about losing everything and not being able to access the disk on a different machine – but maybe that should not be a valid reason anymore).

          It sounds like it is trying to setup the Helper Tool and it somehow gets stuck there. I’ll try to compile a debug version today or tomorrow, so we can see some messages in Console. Especially since you’re not seeing the Helper in “/Library/PrivilegedHelperTools/”.

          In the meanwhile, you could try downloading APB again and see if the download got corrupted somehow (which I doubt will be the case).



          • Jun 9, 2019 - 8:42 AM - Steve Comment Link

            I tried with a fresh download and had the same issues. I even tried with an earlier version I found linked on here but again, the same issue

            I will happily hand over the logs when the debug version lands. And thanks for the support and this great tool


          • Jun 9, 2019 - 8:48 AM - hans - Author: Comment Link

            I wanted to say; thanks for having a problem hahaha … but that just sounds wrong 

            I’m on vacation right now, so I’ll have to find a moment to recompile 2.1.3 with debug info.
            I’ve seen something like this before, and thought I had resolved it, but I guess I was wrong.
            The time I did see this before, was because it was tested on an old and slow Mac – but that is not the case here.


          • Jun 9, 2019 - 8:50 AM - Steve Comment Link

            No rush Hans, enjoy your vacation


          • Jun 9, 2019 - 8:52 AM - hans - Author: Comment Link

            Thanks Steve 

            I’ll admit though, that now that more people use the new version, I’m excited to get that issue resolved. So don’t be surprised when you see a test version earlier than tomorrow 


          • Jun 9, 2019 - 10:40 AM - hans - Author: Comment Link

            Alrighty, I’ve created a debug version. You can download it here.

            For debugging, open “Console” (in Applications/Utilities) before starting APB.
            Now in Console you can set a filter (upper right corner). Enter “APPLEPIBAKER” (without the double quotes) and press ENTER.
            It now should filter most of the messages and only show the ones related to APB.

            Next; start the application and do your thing.
            You’ll see all kinds of messages fly by.

            Once done, you can select and copy the messages (⌘A, ⌘C) and then paste it into an email to webmaster at tweaking4ll dot com. 


          • Jun 10, 2019 - 3:17 AM - Steve Comment Link

            Hi Hans,

            Email is on the way to you

            Thanks again


          • Jun 10, 2019 - 8:07 AM - hans - Author: Comment Link

            Thanks again Steve! 


  • Jun 9, 2019 - 6:59 AM - David Comment Link

    Hi there

    Long time user of Apple Pi Baker – so thank you!!

    In getting ready for Catalina I discovered version 2.13 – but unfortunatley I am unable to restore a disk img to an sd card, that I can still do on the “old” 32 bit version.

    I keep getting 

    12:57:06 — START RESTORE

    12:57:06 Restore Started – Restoring File to Disk

    12:57:06 Destination – /dev/disk4 (126 GB Generic MassStorageClass)

    12:57:06 Disk Presence Check – Selected Disk Found

    12:57:06 Source – File: /Volumes/homes/DS916/Vita/Transend 128gb.img

    12:57:06 Source – Trying to determine source size

    12:57:06 Source – Source is a Raw File

    12:57:06 Source – Size = 126,437,294,079 bytes

    12:57:06 Destination – Verifying Disk Capacity

    12:57:06 Destination – Max disk capacity is 126,437,294,080 bytes

    12:57:06 Disk Size Check – Capacity of Selected Disk PASSED

    12:57:06 Unmounting – Attempting Unmount of all Partition(s) of selected Disk

    12:57:06 Skipping unmount – No mounted partitions found on /dev/disk4

    12:57:06 UnMount – Waiting for unmount co complete

    12:57:06 UnMount – Waiting for unmount co complete – 1 Disk unmounted.

    12:57:06 Unmounting – Completed

    12:57:06 Starting Helper Tool

    12:57:07 ERROR – Unable to open destination /dev/disk4



    • Jun 9, 2019 - 8:38 AM - hans - Author: Comment Link

      Hi David,

      I’m sorry to hear you’re running into issues.

      What do you see in the advanced view when looking at /dev/disk4 – it would be helpful for me to resolve the issue.
      It looks like there are no partitions on the disk? As a temporary fix: apply NOOBS – also in the advanced view – and try a restore again.



      • Jun 9, 2019 - 9:02 AM - David Comment Link

        Preparing for noobs didnt work I’m afraid

        In Advanced view shows partitions etc



      • Jun 9, 2019 - 9:28 AM - hans - Author: Comment Link

        Something is blocking exclusive access to /dev/disk4 for some reason.
        This can happen when there is something wrong with the partition table, or when another application is blocking access.

        You can try this:
        Open ‘Disk Utility” and choose “Unmount” for disk4.
        Once unmounted (not eject!) , try APB again.

        Even though it’s strange that the partities appear to unmount just fine (message in the log file). But the conflicting message that there appear to be no partitions on /dev/disk4 is confusing. I must have goofed up somehow.

        It is also a little weird that the old APB works just fine.
        The new APB follows Apple “official” guidelines, so I’m not sure why it would fail opening the disk.

        I’d love to resolve this issue. I’m sure you will not be the only one running into this. 

        In the about you should see something like this;

        ApplePi-Baker version: 2.1.3 (Build 98)

        (Helper Tool version 1.5)

        Do the version, build and helper tool version match?



        • Jun 9, 2019 - 11:07 AM - David Comment Link

          Yes, checked – the version numbers are exactly as above



        • Jun 9, 2019 - 4:56 PM - David Dean Comment Link

          Yes, version numbers match 


          David Dean

        • Jun 10, 2019 - 8:05 AM - hans - Author: Comment Link

          Hi David,

          did you try unmounting through Disk Utility first as well? Did that work?

          If you’re up for it, I’ve posted a debug version (a comment a little higher up, here), maybe the debug log can show us why the disk in inaccessible for APB.



          • Jun 10, 2019 - 8:53 AM - iconfessimageek Comment Link

            Hi there

            Just tried unmounting in Disk Utility and that worked!


          • Jun 10, 2019 - 9:31 AM - hans - Author: Comment Link

            Alright, so MacOS isn’t giving access to the disk quick enough.
            So I’ll try to give APB a little bit more time if needed.

            Can you test other disks or SD-cards?


          • Jun 10, 2019 - 11:25 AM - iconfessimageek Comment Link

            Yes, just tried it on a 32gb Toshiba card – same result – could not find disk – then I unmounted it and it worked


          • Jun 10, 2019 - 11:45 AM - hans - Author: Comment Link

            Interesting and a little weird hahah.

            OK I’ll try to create a test version that waits a little longer, even though MacOS seems to report the disks unmounted.
            Are you by any chance using and tools to mount different file systems, like FUSE, Paragon ExtFS, etc?
            Or some sorts of disk cleaner (removing hidden Mac files from Windows disks etc), or any AntiVirus software?
            Something is delaying the unmount, would be interesting to find out what is doing that. 


          • Jan 12, 2020 - 2:24 PM - Everitt Comment Link

            I’m using 2.2.3 (build 1) (Helper Tool 1.8.2) on OS 10.14.1 and I have the same issue myself, also resolved by unmounting in Disc Utility. 


          • Jan 12, 2020 - 2:27 PM - Everitt Comment Link

            As a follow-up to my previous comment, I noticed that spotlight was indexing when I had the problem. I suspect this is related. 


          • Jan 13, 2020 - 4:43 AM - Hans - Author: Comment Link

            Very interesting find …

            You could try if disabling indexing for that drive by adding the drive to the privacy field in Spotlight:

            System preferences” – “Spotlight” – “Privacy” tab, drag the drive into the list there.

            Now a few notes on that:

            1. I suspect this method would only exclude one particular disk from indexing, so other disks would be indexed in the future nonetheless or would have to be added individually.
            2. APB forces an unmount using system API’s, which makes me believe that Apple may have dropped the ball there, since Spotlight prevents this (if your finding is indeed what is happening – which is not unlikely), or there is an API call that stops Spotlight from indexing (which I’m not aware of).
            3. On all the Macs I have tested, I did not encounter this problem (2013 Mac Pro, 2016 MacBook Pro, 2017 Macbook, 2013 MacBook Pro – all running Catalina 10.15.1 or 1015.2), so this would somehow be a specific setting on certain Macs?
            If this indeed resolves the issue, then I may have to do a bug report with Apple (see point 2).
            How did you determine Spotlight was running?
            Also an interesting side note: I could not find Spotlight in “Security & Privacy” (alling disk or file access). Hmm … makes me wonder.
            Please let me know what your findings are.


        • Jun 25, 2019 - 11:33 AM - Ralf Comment Link

          Hi Hans,

          thank you sooo much for this handy tool. It really saves a lot of typing and time when performing a backup of an RASPI installation.

          But: I’m facing the same issue under Mojave 10.14.5 on my MBP 2015 !

          Unmounting the card solves the problem for me too. I hope you’ll be able to find a workaround for this behavior of OSX :-)





          • Jun 25, 2019 - 4:03 PM - hans - Author: Comment Link

            Thanks Ralf!
            As soon as I get back home, I’ll look into it.
            Still wish I could reproduce the issue, but I’ll see what I can find.
            Any info you can provide is appreciated 


  • Jun 9, 2019 - 7:41 AM - Danny Comment Link

    I have problems:

    14:24:33 Found Correct HelperTool version (1.5)

    14:27:01 Drive added to list: /dev/disk3 (32 GB Apple Built In SDXC Reader)

    14:27:02 — START BACKUP

    14:27:28 Backup Started – Making Disk to File Backup

    14:27:28 Source – Disk: /dev/disk3 (32 GB Apple Built In SDXC Reader) (31,914,983,424 bytes)

    14:27:28 Destination – File: /Users/drapple/Desktop/backup.img

    14:27:28 Shrink IMG Enabled – Temporary IMG file: “backup.tmp”

    14:27:29 Backup started

    14:28:12 Partition Mounted – /dev/disk1s1

    14:28:19 Partition Unmounted – /dev/disk1s1

    14:36:44 Completed – Cloning Completed

    14:36:58 Finished – Completed in 9 minutes and 30 seconds, average speed 27.8 MB/sec

    14:37:02 Resizing – Attempting IMG shrinking

    14:37:03 RESIZE – Attempting to MINIMIZE a Linux partition in the IMG file “backup.tmp”

    14:37:03 RESIZE – ERROR: Source IMG File does not exist

    14:37:03 Resize Error – Source IMG File does not exist

    14:37:33 — START BACKUP

    14:37:40 Backup Started – Making Disk to File Backup

    14:37:40 Source – Disk: /dev/disk3 (32 GB Apple Built In SDXC Reader) (31,914,983,424 bytes)

    14:37:40 Destination – File: /Users/drapple/Desktop/

    14:37:40 Shrink IMG Enabled – Temporary IMG file: “backup.tmp”

    14:37:42 Backup started

    Why dosn’t  work the RESIZE ? The Backufile is after the prozess delet :-(



    • Jun 9, 2019 - 8:40 AM - hans - Author: Comment Link

      Hi Danny!

      Thank you for reporting the issue.
      There seems to be a bug in the resize function where the tmp file somehow isn’t recognized.
      I assume you have enough disk space to store roughly 2x32Gb.

      Does it fail when you do not use compression?



      • Jun 9, 2019 - 10:05 AM - Danny Comment Link

        I have enough free space, but what’s funny: without the option in 7-zip fomart he does it right, 32gb sd card and 4.7gb image file



      • Jun 9, 2019 - 10:10 AM - hans - Author: Comment Link

        That’s good info!
        So the issue is compression related.
        Note: I found that the good old ZIP format appears faster than most other formats, and compression is similar to the other good compressing formats.

        Well, now I at least know where to look 

        I’m trying to make a build, but am running into some Apple issues. Apps need to be signed these days, and a free individual account should do the trick, which it doesn’t. So I’ve just paid $99 for a full membership, but … I still cannot download the new certificates. I contacted Apple for support, but it’s a Sunday so I’ll have to wait for them to get back to me … 



        • Jun 22, 2019 - 11:47 PM - burnt Comment Link

          i am getting the same error when i try to use the shrink feature when backing up, saving as IMG.

          i didn’t try any of the compressed options yet

          APB v2.1.3 build 98

          OSX 10.11.6 el capitan

          thank you!



        • Jun 23, 2019 - 11:50 AM - hans - Author: Comment Link

          Hi Burnt!

          Thanks for reporting.
          I’ll be working on it, when I get back from vacation (July 1st).

          If you can, post the error message (if any).
          Also check your available disk space (need about twice the space of the SD card to be free).



          • Jun 23, 2019 - 4:25 PM - burnt Comment Link

            actually i had the same thing as the person who commented on your v2.1.3 page

            i turned my computer off last night before i went to bed.

            turned it back on this morning and tried it again and it worked.

            i had just installed the new version for the first time last night so maybe needed a reboot to clean something up?

            i got the same error message as above the first time

            “Source IMG file does not exist” after saving the backup and starting the attempt to resize.

            anyway, the shrinking worked this morning and i was successfully able to restore the image to a different micro SD card using Etcher and then expanding my filesystem with raspi-config.  

            worked like a charm :)


          • Jun 23, 2019 - 4:35 PM - burnt Comment Link

            oh also, would it be possible to make it so we could shrink pre-existing image files we have already made?

            its so much faster restoring the shrunk file then the full image.

            enjoy your vacay! 


          • Jun 25, 2019 - 8:24 AM - hans - Author: Comment Link

            Hi Burnt,

            once I get back from vacation, I’ll have to look and see why rebooting your Mac would have made a difference (I assume you rebooted).

            As for shrinking previously made IMG’s; what you could do is simply mount the IMG file (double click in Finder).
            APB should now see it as a drive, and you should be able to make a backup of that, with the shrinking option on.
            I’ll add “shrink IMG file” to my “Ideas and ToDo list” though, seem like a good function to have.


          • Jun 25, 2019 - 8:47 AM - hans - Author: Comment Link

            Just out of curiosity; why are you using Etcher to restore the IMG?


          • Jun 27, 2019 - 10:18 AM - burnt Comment Link

            yes i did reboot.  or rather to be specific i completely shutdown, went to sleep, woke up and turned it back on.

            i usually use APB to restore but i used etcher in this case b/c i had trouble resizing and restoring w/ APB.

            maybe it was working and i just got impatient but i waited 5-10 minutes after the timer said the resizing would be finished, and by then the program was “not responding” and wouldn’t move on to the next step.

            i could have waited longer or tried it again or tried restoring without resizing w/ APB but tbh i was a tired of wrestling w/ my situation for days and just wanted to move on to the next step of my project.

            also the first time i installed v2 over my old version it would not let me open it.

            i had to uninstall the program completely, then i rebooted, then i tried installing v2 again and everything was okay.  first i thought it was maybe b/c v2 was not supported by el capitan but glad i tried again when my head was a bit clearer.

            thanks tho for everything.  APB has made my pi life so much easier :)


          • Jun 27, 2019 - 2:01 PM - hans - Author: Comment Link

            Glad that APB is making life easier … 
            I’ll try to make it even easier in the future. Some bugs seem to surface that did not appear with the beta testers. So hopefully I can fine tune things to a one-in-all solution 


  • Jun 9, 2019 - 10:15 AM - Danny Comment Link

    oh that’s not nice of apple … if I should test a beta / can, even without certificate, just say :-)



    • Jun 9, 2019 - 10:20 AM - hans - Author: Comment Link

      Things like this are most certainly taking the fun out of developing applications … 

      In the meanwhile, I managed to get my certificates. I guess I wasn’t patient enough 
      I’ll post a debug version pretty soon. I’ll need to write a few instructions how to look for the proper debug messages.
      Would you be able to send me the debug info by email? (I just want to avoid that too much info is being posted here)



      • Jun 9, 2019 - 10:22 AM - Danny Comment Link

        no problem, say me how to i send this and i make it for you ;-) Thanks for very good app !!



      • Jun 9, 2019 - 10:38 AM - hans - Author: Comment Link

        Alrighty, I’ve created a debug version. You can download it here.

        For debugging, open “Console” (in Applications/Utilities) before starting APB.
        Now in Console you can set a filter (upper right corner). Enter “APPLEPIBAKER” (without the double quotes) and press ENTER.
        It now should filter most of the messages and only show the ones related to APB.

        Next; start the application and do your thing.
        You’ll see all kinds of messages fly by.
        Once done, you can select and copy the messages (⌘A, ⌘C) and then paste it into an email to webmaster at tweaking4ll dot com. 



        • Jun 9, 2019 - 11:42 AM - Danny Comment Link

          Ok thank you, the debug process is now in work ;-)



          • Jun 10, 2019 - 8:03 AM - hans - Author: Comment Link

            Thanks Danny!

            Reviewing the logs right now  … may need some extra coffee with that haha.


  • Jun 10, 2019 - 11:46 AM - Danny Comment Link

    What else would be a great feature: that you could also select a USB SSD ;-)



    • Jun 10, 2019 - 12:22 PM - hans - Author: Comment Link

      You should be able to that already.  

      If not; can you email me the Drive details?
      Go to Advanced View, right click the overview, select “Copy All Drive Details to Clipboard as Text” from the popup menu, and paste it in an email.
      Let me know which disk is the one you cannot select (so I know why it may or may not be selectable). 



  • Jun 10, 2019 - 12:02 PM - Rick Comment Link

    I decided to try the new version for the first time today in order to backup/restore. The backup worked well, but the restore is failing, saying the unmount failed. I’ve verified that the disk is actually unmounted correctly, but APB is not seeing it as such. It doesn’t see it as unmounted even if I unmount it myself using Disk Utility. Log:

    09:09:47 Disk Appeared – /dev/disk7

    09:09:47 Details Updated – Partition /dev/disk7s1

    09:09:52 Drive added to list: /dev/disk7 (32 GB Apple Built In SDXC Reader)

    09:10:05 — START RESTORE

    09:10:05 Restore Started – Restoring File to Disk

    09:10:05 Destination – /dev/disk7 (32 GB Apple Built In SDXC Reader)

    09:10:05 Disk Presence Check – Selected Disk Found

    09:10:05 Source – File: /Volumes/MacStorage/HASSBackup/2019-06-10

    09:10:05 Source – Trying to determine source size

    09:10:05 Source – Source is a Compressed File

    09:10:05 Source – Determining size of entries stored in Archive

    09:10:05 Opening Archive /Volumes/MacStorage/HASSBackup/2019-06-10

    09:10:05 Source – Size of disk.img is (32,010,928,128 bytes)

    09:10:05 Destination – Verifying Disk Capacity

    09:10:05 Destination – Max disk capacity is 32,010,928,128 bytes

    09:10:05 Disk Size Check – Capacity of Selected Disk PASSED

    09:10:05 Unmounting – Attempting Unmount of all Partition(s) of selected Disk

    09:10:05 Trying to unmount /dev/disk7

    09:10:05 UnMount – Waiting for unmount co complete

    09:10:05 UnMount – Waiting for unmount co complete – 

    09:10:05 Details Updated – Partition /dev/disk7s1

    09:10:15 UnMount – Waiting for unmount co complete – 

    09:10:15 Error – Unmounting of one or more partitions failed ()



    • Jun 10, 2019 - 12:15 PM - hans - Author: Comment Link

      Hi Rick,

      thanks for reporting. There seems to be a few users experiencing this.
      I’ll be looking into this shortly, but it will come with some challenges and testing since I cannot reproduce the issue.
      Would you be interested in testing if I get possible fix for this?



      • Jun 10, 2019 - 12:17 PM - Rick Schrader Comment Link

        I’ll be happy to help however I can. Thank you for the quick response.


        Rick Schrader

      • Jun 10, 2019 - 12:19 PM - hans - Author: Comment Link

        Awesome! Thanks Rick!

        It may take a little time, since I’m on vacation, but I’ll try to find something in the next few days 



    • Jun 10, 2019 - 12:17 PM - hans - Author: Comment Link

      p.s. David (see one of the comments above) ran into the same issue.
      A manual unmount (with Disk Utility) before doing a restore seems to be a temporary work-around (just in case you’re in a bind to do the restore).



      • Jun 10, 2019 - 12:19 PM - Rick Schrader Comment Link

        I did see the comment above and tried it, but it didn’t appear to make any difference in my case. 


        Rick Schrader

      • Jun 10, 2019 - 12:24 PM - hans - Author: Comment Link

        Cool that you did try that. Hmm … makes finding a fix a little bit more of a challenge hahah.



  • Jun 12, 2019 - 3:12 PM Comment Link

    […] download a program called ApplePi-Baker. The program can be found at the developer’s website, Tweaking4All. Scroll down until you see the green section with the heading “Download ApplePi-Baker v2.” Once […]

  • Jun 16, 2019 - 12:20 AM - Brian Ciesicki - Author: Comment Link

    Apparently none of the users or the users know the answer to this question  I find no instructions on how to “flash” DreamPi on a 4GB SDHC card usig ay program for the Macintosh like Etcher or Apple PiBaker, and have it so the Dreamcast Modem recognizes OR having the Raspberry Pi plugged into my TV have a Unix command screen.  May I have specifici instruction on how to install DreamPi on an SDHC card so that the Mode works on my Dreamcast, and teUnix-like commands appear n thescreen if  want to use “debug mode”  I require “debug” mode to do Sega Swril Gmail compatibility.

    I know you can’t speak for Etcher, but none of the DreamPi specific videos refer to a MAcintosh, and all the links are generic links dealing with Raspberrry Pi and are not specific to both the Macintosh AND DreamPi.


    Brian Ciesicki

    • Jun 16, 2019 - 10:28 AM - hans - Author: Comment Link

      Hi Brian,

      I’m unfortunately not familiar with DreamPi. However, it seems like a regular image/OS for a Raspberry Pi managing network traffic for Sega Dreamcast, so the Dreamcast can work over the Internet. I could be wrong about what it exactly does of course.

      Either way; it seems to be a IMG file, specifically for a Raspberry Pi.
      So the SD card will go into a Raspberry Pi and not the Dreamcast, or modem.

      I can also see that it’s an IMF file, compressed with 7Zip.
      ApplePiBaker is capable of decompressing on the fly, but you could of course manually decompress it as well, if you’d like.

      From what I can see, the file (DreamPi-1.6.img.7z) may or may not fit on a 4Gb SD card (I don’t know how big the file will be when decompressed).

      What I would try;

      1) Decompress the DreamPi-1.6.img.7z file which should result in a file probably called DreamPi-1.6.img.
      Check the file size and see if it does not exceed 4Gb.

      Note: Considering what it is doing (as far as I understand), it would surprise me a if the file would be larger than 4Gb.

      2) Insert your 4Gb SD card in your SD card reader (external, or internal if you Mac has an internal SD card reader).

      3) Start ApplePi-Baker

      4) Select the SD card in the “Select disk section”

      5) OPTIONAL: (I’d skip this, if the decompressed IMG file is smaller than 4Gb)

      You can check the “Expand” option – it will try to resize the IMG to fit the SD card, which means ApplePi-Baker will try to shrink or expand the IMG file to make it match the 4Gb size of your SD card. 

      Note: I’d only use this if:
          – the IMG is smaller than 4Gb and you’d like to use the full SD-card, or
          – if the IMG is larger than 4Gb and you’d like to try if it can be shrunk to fit. 

      However if the IMG is smaller than 4Gb and you don’t care about using the full disk space, then you can skip this option, and probably the best approach for a first try.

      6) In the “Restore” section, click the disk icon and select the DreamPi-1.6.img file.

      Restore should start automatically after you clicked “Open”.
      4Gb shouldn’t take too much time.

      Once completed, eject the SD card properly and insert the SD card into your Raspberry Pi.
      Next connect the Raspberry Pi to your TV or monitor and set the TV or monitor to the right input (probably something like HDMI1, HMDI2, AUX, or whichever it’s called).

      Since you mentioned a Linux shell and/or debug mode(s), connect a keyboard and optionally a mouse.

      Next connect power to the Raspberry Pi, and see it boot up DreamPi.
      Even without any of the other steps, you should see something happening on your TV/Monitor.

      Now after that is working, from what I have seen, you will need to do a few hardware modifications as well (se the DreamPi webpage), which would be your next step to get DreamPi to work with your Dreamcast.

      I hope this is helpful, feel free to ask question, especially in case I misunderstood your question.



      • Jun 19, 2019 - 12:37 AM - Brian Comment Link

        Wll, I followed your advice on Dreampi 1.7, but I heard it was buggy.   The Unix screen did NOT come up when the Radspberry Pi was plugged into either the HDMI TV or the CRT TV using composite.,\\I gues

        When I looked at he disc after finishing it, (Oh by the way, the .IMG file was 1.9 Gb,a nd when it was written, it wasn’t written in the form of an IMG file, but was broken down into a directory of at least 10 files whtdiffeet extensions.

        Does anyhting sem irregular about this?  Is yor Apple Pibaker doiung what it’s suppesod to?   IOs the .IMG file suppesed to spearatre into many different files?  And why is there no Unix command entry on eihter the HDMI TV or or the Composite to a CRT.  The cable were sending signals for toher stuff, and justdidn’t work with DreamPi 1.7

        Maybe I’ll try Dreampi 1.6, the last stabler veriosn, and se oif that works.  If not, I don’t know what’s wrong.



      • Jun 19, 2019 - 9:16 AM - hans - Author: Comment Link

        Hi Brian,

        That sounds about right. You have to remember: an IMG file is a literal 100% byte-by-byte copy of a disk.
        This includes bootsector, partitions, the directories and files on each partition, empty space, etc.

        So whatever partitions, directories, files etc were available on the original, when the copy was made of the disk (into an IMG file), is exactly what you’ll see after “restoring” an IMG file. So the IMG file is not what you will find on your disk, rather you’ll find every byte that was in the IMG file – forming a disk with partitions etc.

        As for what DreamPi should be doing or look like; I have no idea. I’m not familiar with DreamPi.
        If the screen is not showing anything, you could consider testing it with another SD card.
        If I recall correctly, at startup the Raspberry Pi could show some color pattern briefly.

        Also make sure to connect the Raspberry Pi to the TV before powering it up.


        – ApplePi-Baker, Etcher, “dd”, and other tools do just one thing; write byte by byte from the IMG file to the destination disk. None of these applications will do anything with the partitions, file or directories on the SD card.

        – Natively, your Mac may not see all partitions on the SD-card, since they may be using a filesystem (Ext2, Ext3, Ext4) that is not supported by MacOS. If you do see a partition, then this will most likely be a FAT partition (DOS/Windows) – but there will be most likely more (invisible) partitions.
        These invisible partitions can be made visible on the Mac with tools like Paragon ExtFS – however this is NOT required for DreamPi to work. The Raspberry Pi (after boot) will be able to read and see those hidden partitions.



        • Jun 20, 2019 - 12:11 AM - Brian Comment Link

          Well I tried your advice of plugging the Pi into the TV, (I used a CRT TV and a Composite output)  and when I put on the power, the screen flashed white for a little while, but after 5 minutes showed no Unix Command Line screen.  Somnething is wrong with the Unix.

          I tried it with both DreamPi 1.6 and DreamPI 1.7 and there is no unix commands, but the Pi DID turn on, as evidenced by the flash of light.  I think there’s some unix problems in either the DreamOPi file itself, OR the Apple Pi Baker is not processing it right.

          Also I noticed there are about 20 flles visible i the Boot disc, ad none of them are bigger than 5 MB, most measured in K.  Also looking at Disc Utility, there is a D1S2 on the SD card.  I assume all that information is not Mac readable, and it l;ooks like some things are missing on the DreamPi 1.7 Boot that were present in 1.6.

          =I assume the Apple Pi Baker is not working because if it were to work, then there’d at least be a Unix Command screen.  If there was a fault in DreamPi then a IUnix Screen would pop up and I have to copy and paste the Unix info to debug.  But with no unix screen,, the Flashing is done wrong.

          The People at DreamPi want me to send the whole DreamPi AND SD card to get it reflashed. I asked if there were specific direciotnds for flashing a DreamPi using a Mac, and neither not YouTube: Dreamcastic had instructions specific to BOTH DreamPi AND macintosh.  youTube: dreamcastic has a video for flashing on PC, but nothing the mac-specific links are not DreamPi specific enough.



        • Jun 20, 2019 - 9:32 AM - hans - Author: Comment Link

          Keep in mind that the “visible” partition (FAT) always has just a very few small files.
          It is the boot partition, which on boot starts the system from the invisible partition.

          Since you do see 2 partitions in Disk Utility (one visible, one invisible), this means that the card has been flashed correctly. Otherwise Disk Utility wouldn’t see them either. (not a guarantee though)

          Note: by double clicking the IMG file, if I’m not mistaken, you Mac will try to mount it as a virtual disk. The same visible and invisible partitions should now be visible in Disk Utility as well, and the visible partition should look the same as on your SD card. This only works with the uncompressed IMG file, not the 7zip file.

          Considering the amount of people using ApplePi-Baker without issues, I’d say that it’s not likely that ApplePi-Baker is failing.

          One thing you could double check is making sure that the “Expand” function is disabled (grey) in ApplePi-Baker.
          Just in case something went wrong there. If so: please let me know – the expand function has worked well for me, but by lack of testers, I still consider it “experimental” – and you would not need this function in your case anyway.

          To me it sounds like there is either something wrong with the SD card, your Raspberry Pi, or a corrupted download of the DreamPi IMG (try downloading with another browser).

          Some Tests you can do:

          1) Test a standard Raspberry Pi image, for example Raspian (download here).
          2) Boot with the Raspberry Pi connected to a HDMI capable monitor or TV (just to rule that out as an issue, see this topic).
          3) Consider using another SD card (if you have one available – SD cards are not the most reliable storage medium).
          4) Check if your power supply can keep up. If you have a more powerful power-supply, use that. I’ve had it in the past that my cheap Chinese power-supply could barely keep up, even though it claimed to be 2A, resulting in unexpected behavior of the Raspberry Pi.

          If none of these work, then I’d say most likely something is wrong with the Raspberry Pi.

          It would be interesting to see what the SD card does from the DreamPi developers – which by the way is very kind of them to do.

          p.s. when booting a failing Linux setup, there is no guarantee that you’ll see a debug window, or anything for that matter.



          • Jun 23, 2019 - 11:12 PM - Brian Ciesicki Comment Link

            A different person suggested, flash the ROM, then insert the SD card, then the TV connector,and finally, the power, with nothing else insertedx, to see if the unix command screen comes it.   If no Unix shows up, then the ROM didn’t flash right.   The first problem is making sure the flashing process works right.  Then we can continue.

            Brian Ciesicki

          • Jun 25, 2019 - 8:27 AM - hans - Author: Comment Link

            I’ll have to try the DreamPi image myself once I get back from vacation.
            Like I said; there is no reason why this would fail unless there is something else is wrong.

            The flashing needs to be correct is indeed needed. The SD card could be a problem or the downloaded file may be corrupted.
            That’s why I suggested testing another IMG file. If that one fails as well, then something is wrong with the SD card or the Raspberry Pi or the IMG file.


  • Jun 17, 2019 - 4:51 PM - Meditant Comment Link

    Very cool !!!



  • Jun 25, 2019 - 5:43 AM - flower Comment Link

    down loaded the newest version 2.1.3, and the program no longer boots. access violation?



    • Jun 25, 2019 - 8:44 AM - hans - Author: Comment Link

      Hi Flower,

      I still have to investigate this issue (only 2 or 3 users have reported this).
      I’m on vacation right now, so I’ll look at it when I get back.
      As a temporary fix; it seems with some that rebooting the Mac fixes the issue.



      • Jun 25, 2019 - 4:08 PM - Flower Comment Link

        Thanks for the quick reply, I upgraded to the Catalina beta right after I posted this and that fixed it? The new UI is gorgeous thank man this program is the best.



      • Jun 25, 2019 - 4:51 PM - hans - Author: Comment Link

        Thanks Flower! The compliment is much appreciated! 

        Oh wow, you tested it on the Beta of Catalina, nice! I didn’t dare to go there just yet.



  • Jun 25, 2019 - 7:45 PM - FlyingBoat Comment Link

    ApplePi looks great on the pages here and me thinks it’s exactly what I need to load Raspbian Buster onto a microsd card. My predicament is as follows, HP laptop bricked from endless boot loops so I went back to my late 2005 Apple iBook G4 1.42Ghz running OSX 10.4.11 Tiger and downloaded the new release 2019-06-20-Raspbian-Buster-Full zip that opened to DMG then to Boot folder. All good and because Balena-Etcher requires OSX 10.9 Mavericks or later was hopeful ApplePi might run on my 15 years old laptop, latest version 2 downloaded fine but won’t open in Tiger. Any chance the developer might be tinkering some backward compatibility or something that might allow even limited use, a work around or?





    • Jun 27, 2019 - 10:10 AM - hans - Author: Comment Link

      Hi Robert!

      Well, OSX 10.4 Tiger is indeed pretty old and will most likely not support some of the API calls using in the current version of ApplePi-Baker.
      On top of that, I’m not sure how well it would support 64 bit applications, as it may still have a 32bit processor (Core2Duo maybe?).
      So making ApplePi-Baker work for such an old MacOS version may not be an option (and I wouldn’t be able to test it).

      Maybe you’d want to use the older ApplePi-Baker v1.5.1 version (you’ll find it in this article or directly download it here).
      I know it’s not the same as the new version, but it should work on Tiger. You could even try the v1.9.x version, which may work as well.

      Hope this helps! 



      • Nov 23, 2019 - 6:10 AM - richard Comment Link

        Hello ,

        i tried your app and it gives always the error on 10.6.8

        the sudo password you entered is either incorrect or you do not have sudo rights.

        the same happens with pibaker 1.5 or 1.9




      • Nov 24, 2019 - 4:39 AM - hans - Author: Comment Link

        Hi Richard,

        Support for very old macOS version is quite a challenge. Even 10.6 (we’re at 10.15 now) Snow Leopard is already 10 years old, and Apple most certainly moves forward without considering that folks use older Mac’s. If I recall correctly, since I do not have a “target” minimum macOS version in my development tools, the minimum is 10.8, but even that I cannot confirm with certainty, so no guarantees there either.

        I’ll admit that with the v1.x versions (since it doesn’t really use anything “special”), I would have thought APB would work on old MacOS X versions, but then again; I do not have the means to test MacOS X version that are that old. 

        After some reading on the topic;
        I’ve seen others running into the issue that setting the target MacOS version has to be done manually and is not always reliable or working.
        However, I did try a recompile with the suggested command line options.
        Since I cannot test this, please feel free to test this version.
        No guarantees … but worth a try. 



  • Jun 28, 2019 - 9:07 AM - willie Comment Link

    tks! good job… in the process of switching over to the latest systems on our RPis, so this is a lifesaver: 2min, 46secs to write RPi Buster to a Samsung 32GB SDHC on a Macbook Air running Mojave… will then replicate to our music server, surveillance cams, and for setup of an LCD pandapter for IF output on the Xiegu X5105!



    • Jun 28, 2019 - 9:33 AM - hans - Author: Comment Link

      Thanks Willie! 

      I very much appreciate the feed back.
      I may still need to do some fine tuning, but hearing great results on your end is great to hear .



      • Jun 28, 2019 - 10:30 AM - willie Comment Link


        17 minutes to write a 32GB Raspbian Buster install to an .IMG file (didn’t use compression as i figured USB3.0 write to the Samsung SDHC would be faster – dunno)

        31 minutes to restore the 32GB .IMG to another Samsung SDHC…



        on the Gulf of Mexico



      • Jul 2, 2019 - 12:50 AM - hans - Author: Comment Link

        Hi Willie!

        Awesome! Glad to hear it works great on your Mac!
        Pretty cool to get a message from the Gulf of Mexico as well! 



        • Jul 2, 2019 - 12:51 AM - hans - Author: Comment Link

          p.s. backup from or restore to an uncompressed IMG file is indeed faster (if you do not use the shrink/expand option).



  • Jun 28, 2019 - 2:01 PM - Randall Comment Link

    Crashes using catalina beta 2 (10.15) on 2018 macbook pro 13″ 2.1.3 (build 98).  It crashes when click restore or clicking about. Unable to do any function without crashing.  

    Crashlog attached



    • Jun 30, 2019 - 9:49 AM - iconfessimageek Comment Link

      Same here – also on Catalina Public Beta 1



    • Jul 2, 2019 - 1:00 AM - hans - Author: Comment Link

      Hi Randall and Iconfessimageek,

      I’ve learned my lesson with Mojave the hard way, to not jump on beta’s right away.
      With other applications I’ve wasted a lot of time working around issues found in a beta release of MacOS, to in the end find out that Apple resolved these issues with its final release.

      I will however do a little test run, by trying to boot Catalina from an USB stick. Too bad Apple doesn’t make a downloadable file available so I do not have to sign up for the beta (which triggers unwanted beta updates until I unsubscribe). Some to think of it; I’ll send Apple a feedback on that topic 



  • Jul 6, 2019 - 6:28 AM - error404 Comment Link

    Version 2.1.3 (Build 98)

    02:22:57 Found Correct HelperTool version (1.5)

    02:23:05 Drive added to list: /dev/disk2 (32 GB USB 2.0 SD/MMC Reader)

    02:23:19 — START BACKUP

    02:23:36 Backup Started – Making Disk to File Backup

    02:23:36 Source – Disk: /dev/disk2 (32 GB USB 2.0 SD/MMC Reader) (31,914,983,424 bytes)

    02:23:36 Destination – File: /Users/error404/Documents/raspberry4_06072019.img

    02:23:36 Shrink IMG Enabled – Temporary IMG file: “raspberry4_06072019.tmp”

    02:23:41 Backup started

    03:42:51 Completed – Cloning Completed

    03:42:53 Finished – Completed in 1 hour, 19 minutes and 17 seconds, average speed 6.7 MB/sec

    03:42:53 Resizing – Attempting IMG shrinking

    03:42:53 RESIZE – Attempting to MINIMIZE a Linux partition in the IMG file “raspberry4_06072019.tmp”

    03:42:53 RESIZE – ERROR: Source IMG File does not exist

    03:42:53 Resize Error – Source IMG File does not exist



    • Jul 7, 2019 - 5:45 AM - hans - Author: Comment Link

      Hi Error404,

      I’ll try to work on this in the upcoming week – I just returned from a long trip.
      Thanks for reporting!



    • Jul 9, 2019 - 1:24 PM - OutsourcedGuru Comment Link

      I got this too. But I repeated the process and it worked fine the second time. I’d suggest trying again.



  • Jul 7, 2019 - 7:22 AM - Cryo Comment Link

    Hi there,

    I run into a problem, i can’t backup my pi sd card anymore.

    On the SD Card itself everything is working fine. (8GB)

    Backup with Pi Baker finishes after 7 seconds… wow i thought and the filesize is only 4mb.

    But then i realized that it doesn’t work anymore.

    With a windows computer running win32diskimager , backup size is like the sd card itself 8GB.

    On MacOS itself it shows me also a 8GB disk.

    From my perspective it will only backup the fat32 boot partition and not the whole disk.

    Any idea? Thx in advance



    • Jul 12, 2019 - 3:25 AM - hans - Author: Comment Link

      Hi Cryo,

      apologies for the late response (vacation came in between). 

      Sounds indeed like something is going wrong. A few things to check;

      1) Try with the “expand” option disabled.
      2) Check your ~/tmp directory.

      Do you have a log (from the log window)?



  • Jul 8, 2019 - 5:32 AM - Avenue33 Comment Link


    Very nice update of the tool!

    However, release 2.1.3 crashes when baking the SD card.

    APB: Partition unmounted

    Console: Crash 12:23:55.341511 +0200 ApplePiBaker RETURNING UnknownFS PLACEHOLDER: <private>

    Luckily, release 1.9.5 works fine!

    Configuration is 

    ApplePi-Baker version: 2.1.3 (Build 98)

    Operating System version:


       Version 10.14.5 (Build 18F132)

       x86-64 (64 bit application)



    • Jul 12, 2019 - 3:31 AM - hans - Author: Comment Link

      Hi Avenue33,

      apologies for the late response, I was on vacation.

      Unfortunately, the log info you’re showing isn’t telling me enough to determine why it crashed.
      To make sure you have the latest version; consider downloading again. Also consider rebooting your Mac – this seems to help for some users.

      If the problem persists; please let me know, so I can dig into it and see what the issue may be.



      • Aug 25, 2019 - 4:41 AM - Avenue33 Comment Link

        I tested with another SD card, to no avail. 

        Performing a fresh install didn’t solve the issue. 

        So I removed all the files related to ApplePiBaker and proceeded with a clean install: everything goes fine now.



      • Aug 25, 2019 - 10:15 AM - hans - Author: Comment Link

        Hi Avenue33!

        Glad to hear you have the issue resolved – too bad we don’t know what happened.
        However, your “fix” is something I’ll keep in mind when others run into the same issue.
        When you installed again and started APB, did it mention that it was updating the Helper tool? 
        Just wondering if there is something going on there.



        • Aug 25, 2019 - 3:58 PM - Avenue33 Comment Link

          Hello Hans,

          Thank you for the follow-up. 

          Yes, indeed, even when performing the fresh install, a message said it was updating the Helper tool.

          I used AppCleaner to clean the old installation of ApplePiBaker. Maybe it would be worth mentioning this procedure.

          Have a nice week!



        • Aug 26, 2019 - 4:00 AM - hans - Author: Comment Link

          Thanks Avenue33!

          We will have to keep an eye open to see if others run into this as well.
          Since .app and helper were replaced, the only file left would be the config file (/Users/<username>/Library/Preferences/ApplePi-Baker/ApplePiBaker2.ini), however this file doesn’t contain anything critical.

          Thanks for the tip though! I use App Clearner Pro every now and then (they also have the free “App Cleaner”).
          I tried finding the log file, hoping I would find something there, but I have no clue where the log files are and clicking the “Show Logs” button just opened Finder not showing anything.



  • Jul 9, 2019 - 1:21 PM - OutsourcedGuru Comment Link

    The new shrink/expand toggle is much appreciated. I bought several of the UNIREX 8GB microSD cards, in theory to avoid problems. And yet across the same manufacturer/model of microSD some are 7,969,177,600 but then some of them are showing up as 7,751,073,792!
    So now I guess I’ll have to auto-shrink all backups I make because it’s like playing Russian Roulette on some future date (whether I’ll be able to easily restore from a particular backup if I don’t use this feature).



    • Jul 12, 2019 - 3:33 AM - hans - Author: Comment Link

      Hi OutsourcedGuru,

      I know the problem you’re encountering  … I’ve had the same with my SD cards in the past.

      I would recommend testing the shrink option before relying on it 100%. After all, it is experimental, and I didn’t have enough beta testers.
      So far it has been working great on my own setup though (both shrinking and expanding have worked well, and I’ve tested with Raspbian, LibreElec and RetroPie).



  • Jul 18, 2019 - 8:42 AM - Ollivier Civiol - Author: Comment Link


    Being a Delphi developer myself, I am very impressed with this little jewel !!!

    Well done my friend, many thx.


    Ollivier Civiol

    • Jul 20, 2019 - 4:12 AM - hans - Author: Comment Link

      Hi Ollivier!

      Thank you very much – it means a lot to hear that from a fellow programmer (I do work with Delphi as well at work). 

      Thanks again!



  • Jul 19, 2019 - 3:49 AM - Wolfgang - Author: Comment Link

    Thanks so much, Hans, for keeping the development of this great tool alive!



    • Jul 20, 2019 - 4:12 AM - hans - Author: Comment Link

      Thanks Wolfgang!

      Seeing a thank-you note always makes my day – and I’m happy to hear that you like APB 



      • Jul 20, 2019 - 3:16 PM - Wolfgang - Author: Comment Link

        The new functionality which compresses images and allows to copy to cards with different sizes is a much-needed feature that I haven’t seen anywhere else. I tried it with 3 cards already and it works really well. Thanks!



      • Jul 21, 2019 - 3:19 AM - hans - Author: Comment Link

        Awesome! Thank you for sharing your experience!

        As said elsewhere in this article; I consider it experimental at the moment, although I’ve had great experiences myself using this feature.
        Unfortunately I had very limited beta-testers, so a confirmation from actual users is really great! 

        Thanks again!! 



        • Jul 22, 2019 - 12:50 PM - ollivier civiol Comment Link

          I confirm, it works like a charm !


          ollivier civiol

          • Jul 23, 2019 - 3:19 AM - hans - Author: Comment Link

            Thanks for sharing Ollivier! 
            It’s great to get confirmation!


  • Jul 28, 2019 - 2:23 PM - gold64 Comment Link

    ApplePi-Baker is definitely the easiest way I’ve seen of cloning and shrinking my SD cards in one easy step on MacOS. I can play around way more with Raspberry Pi stuff when I don’t have to worrying about losing it all.  :) Thanks so much for your work!



    • Aug 1, 2019 - 7:05 AM - hans - Author: Comment Link

      Thanks Gold64!

      Great to see positive feedback – it is very much appreciated! 



  • Aug 2, 2019 - 8:54 AM - iconfessimageek Comment Link

    Hi there

    Cant get it to work properly in Catalina – I keep getting “unable to open source”

    Works well in Mojave!

    Any ideas?

    14:52:04 Found Correct HelperTool version (1.5)

    14:52:10 Drive added to list: /dev/disk6 (128 GB Generic MassStorageClass)

    14:52:21 — START RESTORE

    14:52:21 Restore Started – Restoring File to Disk

    14:52:21 Destination – /dev/disk6 (128 GB Generic MassStorageClass)

    14:52:21 Disk Presence Check – Selected Disk Found

    14:52:21 Source – File: /Volumes/homes/DS916/Vita/Transend 128gb.img

    14:52:21 Source – Trying to determine source size

    14:52:21 Source – Source is a Raw File

    14:52:21 Source – Size = 126,437,294,079 bytes

    14:52:21 Destination – Verifying Disk Capacity

    14:52:21 Destination – Max disk capacity is 127,865,454,592 bytes

    14:52:21 Disk Size Check – Capacity of Selected Disk PASSED

    14:52:21 Unmounting – Attempting Unmount of all Partition(s) of selected Disk

    14:52:21 Trying to unmount /dev/disk6

    14:52:21 UnMount – Waiting for unmount co complete

    14:52:21 UnMount – Waiting for unmount co complete – 

    14:52:22 Partition Unmounted – /dev/disk6s1

    14:52:22 UnMount – Waiting for unmount co complete – 1 Disk unmounted.

    14:52:22 Unmounting – Completed

    14:52:22 Starting Helper Tool

    14:52:23 ERROR – Unable to open source /Volumes/homes/DS916/Vita/Transend 128gb.img



    • Aug 2, 2019 - 9:01 AM - hans - Author: Comment Link

      Hi Iconfessimageek,

      I haven’t done much testing with Catalina (on purpose – to avoid that I go insane trying to fix things, and then at final release have to undo all the work I had done to work around bugs in the Catalina beta – I had made that mistake with the Mojave beta).

      Seems you’re pulling the IMG from a Synology NAS share. Considering the file (suspected) file size; copying to your local disk may not be that convenient.
      Maybe Catalina has a bug there with access rights, or it is an intentional change in Catalina?



    • Aug 2, 2019 - 9:06 AM - hans - Author: Comment Link

      Just looking: it seems to be a  change in how Catalina handles SMB configuration.
      For example NETBIOS no longer by default being enabled (see: Stackexchange).
      Some experience no longer accessing shares, other experience problems with accessing file (see: FireCore).

      I suspect (and hope) that Apple will change this in the final release.
      Either way, it seems MacOS related.



  • Aug 2, 2019 - 11:18 AM - iconfessimageek Comment Link

    Ok, copied across the file to the same drive – get the same message



    • Aug 3, 2019 - 4:58 AM - hans - Author: Comment Link

      Sounds like a Catalina problem then. According to the beta release notes:

      NetBIOS is disabled in macOS 10.15 to speed up mounting, browsing, and connecting to SMB shares. Some older printers and file servers may require NetBIOS to connect. 

      To enable NetBIOS, you can create or edit the /etc/nsmb.conf file. If your system doesn’t already have an /etc/nsmb.conf file, use the following Terminal commands while logged in as an Administrator:

      echo "[default]" | sudo tee -a /etc/nsmb.conf
      echo "port445=both" | sudo tee -a /etc/nsmb.conf

      To disable NetBIOS, you can safely delete the /etc/nsmb.conf file.

      You could try this to see if it make a difference – I hope Apple won’t leave it this way on release, tons of folks would run into similar issues.



    • Aug 3, 2019 - 4:59 AM - hans - Author: Comment Link

      Oh wait … did you get the same message while copying? (Catalina problem)
      Or did you get the message after trying it with the copied file? (Access Rights issue, or APB issue)

      (sorry just realized your text could be interpreted two ways haha)



  • Aug 14, 2019 - 4:04 AM - schack - Author: Comment Link

    This is a completely indispensable tool for the macOS community! I thought it was a lost project so discovering the amazing work done on version 2 is like a late christmas present. Thanks for all the hard work. :-)



    • Aug 14, 2019 - 6:44 AM - hans - Author: Comment Link

      Thanks Schack for the compliment and Thank-You note – Oh and Merry Christmas of course 



  • Aug 14, 2019 - 2:48 PM Comment Link

    […] ApplePI Baker ist die Software zum Beschreiben der SD-Karten […]

  • Aug 24, 2019 - 9:47 PM - Nathan - Author: Comment Link

    Love the polished new look of version 2, especially the dark theme and circular progress bars. The switch to a helper tool is also great. Nice work!

    What do you think of PiBakery’s ability to configure things? One option I think would be really useful is to configure WiFi (possibly a toggle that just applies the current network). That could pair well with the existing SSH option to prep a card for booting a headless server.



    • Aug 25, 2019 - 4:00 AM - hans - Author: Comment Link

      Hi Nathan!

      Thank you very much for the very nice compliments – it’s very much appreciated! 

      I’ve never really used PiBakery, and do not know all the ins and outs of configuring IMG’s like this.
      From this post at StackExchange I can see there is an option (for Raspbian) to setup WiFi (see below).

      Having said that; I’ll have to think how far I want to wander off from the app’s main purpose (backup/restore).
      Especially when other options become available (eg. Audio settings, run specific scripts, etc).
      If you have an overview of options, I could think about what we could do with this.

      Quote from StackExchange post:

      Since May 2016, Raspbian has been able to copy wifi details from /boot/wpa_supplicant.conf into /etc/wpa_supplicant/wpa_supplicant.conf to automatically configure wireless network access:

      If a wpa_supplicant.conf file is placed into the /boot/ directory, this will be moved to the /etc/wpa_supplicant/ directory the next time the system is booted, overwriting the network settings; this allows a Wifi configuration to be preloaded onto a card from a Windows or other machine that can only see the boot partition.

      Since the /boot partition is accessible by any computer with an SD card reader, wifi configuration is now much simpler.

      A typical wpa_supplicant.conf file is:

      ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev

      Replace «your_ISO-3166-1_two-letter_country_code» with your ISO Country Code (such as CA for Canada), «your_SSID» with your wireless access point name and «your_PSK» with your wifi password.



      • Aug 25, 2019 - 2:29 PM - Nathan - Author: Comment Link

        Hi Hans! It could become a never-ending task once one option is available (like SSH), people may want more (like WiFi). Since it’s possible to edit a file on the FAT partition to set up WiFi, it’s not essential and more of a nice-to-have. Once configured manually on the command line, I can make a backup to form a new template for subsequent cards, so that works pretty well as is. That, or I can make a small script to copy a file or two over to /Volumes/boot.

        Once I was in the unfortunate situation of trying to set up a headless Pi at a hackathon with no Ethernet or external keyboard. I couldn’t SSH into the Pi to configure WiFi because it wasn’t on the network. After that event I got a USB to TTL serial cable to plug into the GPIO for such tasks, and of course we now can configure WiFi (and much more) on the FAT partition from a different computer.

        Once again, thanks for updating ApplePi-Baker. It looks and feels amazing!



      • Aug 26, 2019 - 3:53 AM - hans - Author: Comment Link

        Hi Nathan 

        Having the option to do a few settings and putting that in a template is something that could be very useful. I do like the idea. 
        Since I do not work with my RPI very often (so much other stuff to do), I obviously am not very experienced with all the options that can be set these days.
        I wasn’t even aware of the WiFi option.

        Having said that, I can imagine other distributions may have “other” options or different definitions of these options.
        Defining templates in a flexible way would be quite useful.

        Feel free to email me at webmaster at tweaking4all dot com to discuss this in more detail (or here!).
        A list of potential settings would be helpful.
        I can imagine there are plenty different files, file types, parameters, etc. that I’m not aware of (yet).



        • Aug 26, 2019 - 10:20 AM - Nathan - Author: Comment Link

          Hi Hans. A template, or the ability to copy over some files as part of the process might be useful. Unfortunately I’m not familiar with all the options either. I’m also not sure which options can be done on the FAT /boot partition, vs. which things may need to be done in the Linux. The reason I called out WiFi specifically is to be able to set up a Pi that people can boot up and SSH into for further config, even if the user doesn’t have a wired network.



        • Aug 27, 2019 - 3:22 AM - hans - Author: Comment Link

          I’ve been thinking about a “generic” solution.
          The reason behind that being that others would like their options to included as well, and building an interface for each option may become a pain.

          One thought would be that the user can point to a path, in which the user puts any kind of structure and/or files, that he/she wants to have copied to the FAT partition. Downside would be that it’s quickly too complex/cumbersome for the average user. 

          Granted; WiFi would be the most common option of course. So maybe I’ll build something for that specifically. 
          Let me see if I can find all the specs for WiFi. (if you have them handy; please let me know)



  • Aug 26, 2019 - 10:35 AM - Nathan - Author: Comment Link

    Hi Hans. The other day I did something silly. I had the expand linux partition option on while writing the Raspian image to a 256 GB SSD. Since my internal drive doesn’t have that much space, it failed in the end with a somewhat cryptic error message. So I tried again, failed again, and then I realized why it happened by looking at the log more closely (thanks for the log!).

    This is with ApplePi-Baker v2.1.6. This issue is that it didn’t clean up after the error. My internal drive is nearly full. So I went hunting for the file and found in /Users/nathany/tmp a 130.1 GB file called applepibaker_temporary.img. Perhaps that should be deleted automatically if the process fails?



    • Aug 27, 2019 - 3:24 AM - hans - Author: Comment Link

      Aw crap … I knew I had forgotten something.
      I’ll add this to the ToDo list. 

      I actually wanted to extend the storage check before even beginning the backup/restore, just having trouble doing a good size requirement estimate up front. So the cryptic error would make more sense since you’d have seen a warning “low disk space”. 



  • Aug 30, 2019 - 3:51 AM - Funske Comment Link

    When I want to make a backup or a restore obviously the only name I can use is ‘backup’!? Everything else leads to an error message.

    Is this correct? 



    • Aug 30, 2019 - 4:19 AM - hans - Author: Comment Link

      Hi Funske,

      ehm, no you should be able to enter any name you prefer.
      What kind of error are you getting? Does this happen with a particular filename you have in mind, or does this happen all the time?
      Also; if you go to the about/info (the “i” icon), right click the displayed version info and select “Copy Version Information” and paste it here, so I can see the details of your OS and APB version. 



      • Aug 30, 2019 - 5:17 AM - Fons Comment Link

        I found what was wrong; I had used the letter ‘ó’ instead of the ‘o’. Sorry my mistake!!

        But I have another little problem. I often get this message: “ERROR – Unable to open source /dev/disk3 and then I eject the disk and try it again in another USB-port and sometimes it works, but sometimes I get the error again.

        I use

        ApplePi-Baker version: 2.1.6 (Build 130)

        (Helper Tool version 1.5e)

        Operating System version:


           Version 10.14.6 (Build 18G87)

           x86-64 (64 bit application)



      • Aug 30, 2019 - 5:36 AM - hans - Author: Comment Link

        Oh cool that you found the issue. I’m a little surprised that such a character causes problems though.
        I just did a quick test and the file dialog didn’t even like that character, and indeed crashes.
        This should not happen, so I’ll see what I can find to “fix” that.

        As for disks being unable to open;
        – It can be that another application is using the disk, exclusive opening then would not work
        – It can be that the SD card or SD card reader are not very reliable (if you’re using one of those)

        What you can try is first unmounting the disk(s) in for example “Disk Utility”.
        Do not eject, just unmount the partition(s). The disk will still show in APB (since you didn’t eject and the disk is still connected).

        If that works, then something is accessing or locking the disk and prevents exclusive access.
        Exclusive access is needed, so that during a backup, no new data is written or data is modified by other programs while doing the backup.
        as you can imagine, if this would happen, your backup would most likely be corrupted, and you may not even realize this until it’s too late.



        • Aug 30, 2019 - 6:58 AM - Funske Comment Link

          I’ve tried your tip. 

          First I got the same error but after formatting the disk with SD Card Formatter, removed it as you described and clicked on ‘restore’ it looks like it’s working.

          Thank you for your help! 



        • Aug 30, 2019 - 9:05 AM - hans - Author: Comment Link

          Glad that worked, and you’re welcome! 



          • Aug 31, 2019 - 4:32 PM - Funske Comment Link

            Sorry Hans,

            But I keep getting errors again even when I try it your way……

            I don’t understand what I’m doing wrong!!


          • Sep 1, 2019 - 4:00 AM - hans - Author: Comment Link

            Hi Funske,

            It’s hard to troubleshoot without having the same issue myself.
            Feel free to email me at webmaster at tweaking4all dot com, maybe that allows for an easier troubleshooting.


  • Aug 30, 2019 - 9:07 AM - Aleksei Comment Link


    1.9.5 – It’s work fine.

    2.1.6 – Constantly freezes :-(

    MacOS – 10.14.6



    • Aug 30, 2019 - 9:09 AM - hans - Author: Comment Link

      Hi Alexei,

      I’d love to help you out, but could you be more specific when it freezes?
      For example; At startup? during Backup, or Restore? When inserting a new disk? During decompression?
      If the IMG was compressed; what format was being used?
      If during backup and restore: by any chance are the IMG’s files stored on a network share?



      • Aug 30, 2019 - 9:14 AM - Aleksei Comment Link

        It loads normally.

        Further anywhere may freeze.

        For example, simply by clicking on the “Open Advanced disk panel” icon or when restoring an image.



      • Aug 30, 2019 - 10:28 AM - hans - Author: Comment Link

        Thanks Aleksei!

        The video does help indeed. 
        I am wondering though why …? (obviously you don’t have the answer either)
        I cannot reproduce this on my Mac’s. 

        I assume you’ve tried a full uninstall and reinstall as well.

        To do a full uninstall:

        1. Drag ‘ApplePi-Baker” from “Applications” to the Trash, and empty the Trash after that.
        2. Delete the Preferences directory /Users/<yourusername>/Library/Preferences/ApplePi-Baker.
        3. And finally delete the Helper Tool in Finder (or Terminal): /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper

        I have seen one message from a User who had issues, who used App Cleaner to remove ApplePi-Baker and after a fresh re-install things worked.
        Obviously, not the best fix, since I still don’t know what the issue may be.

        Additionally, you could look in Console (Applications->Utilities->Console), set the filter to “applepibaker” (without the quotes), and see what is listed. Please do not post the log of Console. If the log has anything useful in it, then please email it to me. There may be personal info in the log, and the log may or may not be huge.

        Email me at webmaster at tweaking4all dot com, or simply reply to the notification email.



        • Aug 30, 2019 - 10:52 AM - Aleksei Comment Link

          Thank you very much. This helped, but only on the first start. I chose the restoration of the image, and again hung. After rebooting, it again hangs immediately when you click on the icon.



        • Aug 30, 2019 - 11:02 AM - Aleksei Comment Link
        • Sep 1, 2019 - 3:50 AM - hans - Author: Comment Link

          Thanks again,

          From what I can see in your log screenshot;
          for some odd reason, APB is taking a lot of CPU resources for more than 90 seconds – which is definitely not normal!
          I assume this is what you see when you start APB, and then click “Advanced View” (guessing from what I see in your YouTube video).

          Can you tell me more about your setup?
          For example; what kind of Mac, CPU, memory, what kind of disks are connected when you click “Advanced View”, did you try without any disks connected, or with just one disk? What kind of disk did you try? 
          When “Advanced View” is clicked, two things happen (which is one of the parts that is way more complex than with the old versions):
          1) Update the drive list if needed
          2) Create a Treeview out of that list 

          I’m almost thinking that one of your disks is frequently connecting/disconnecting? Could this be?
          With each connect/disconnect, the drivelist is refreshed in the background.
          This kind of behavior is what I have seen with bad disks or bad card readers.



  • Sep 6, 2019 - 7:20 AM - aleksei Comment Link

    Unfortunately, the IORegistryExplorer does not freeze. I repeat, freezes occur even when there are no connected SD cards or other disks at all.



    • Sep 7, 2019 - 5:24 AM - hans - Author: Comment Link

      OK, well, I’ll have to figure out where it gets stuck in enumerating devices.
      Something is “missing” (either in the IORegistry or in the APB code), where it keeps looping (this is what I suspect).
      I’ll try to look into this in the upcoming week.



      • Sep 12, 2019 - 10:13 AM - aleksei Comment Link

        Thank you very much. I will wait for a decision. If you need remote access, I can try to provide it.



      • Sep 19, 2019 - 5:56 AM - hans - Author: Comment Link

        Hi Aleksei,

        Apologies for the late response, life has a tendency to run away from me hahah.
        I didn’t forget about your issue and hope to get back to you real soon!



  • Sep 19, 2019 - 3:10 PM - Peter Galvin Comment Link

    Hi, just got a touch screen raspberry pi (a “rasptouch”).

    Trying to build an OS for it to boot.

    Used your tool to do a “restore” of the max2play image build for the touch system from this site:

    pibaker-v2 seemed to work fine. No errors, sd card has what looks like an OS in it.

    But putting the SD card into the rasptouch and powering it on, nothing happens. as if it’s not seeing anything bootable, etc.

    Did I miss a step / forget to do something?



    Peter Galvin

    • Sep 20, 2019 - 6:34 AM - hans - Author: Comment Link

      Hi Peter,

      From what I could see on the Max2Play website; the file should indeed be an IMG file that you should be able to restore to a SD card.
      You could try unzipping it before flashing the SD card – but with APB2 the libraries used for decompression are far superior to the tools I’ve used in previous APB version.

      Another thing you could try is another SD card, or another operating system (for example Raspbian).
      If the other OS works, then maybe Max2Play IMG may have issues, and those issues could even be specific for your setup.
      I don’t know if your touch screen is connected to the HDMI port or not (you could try booting with a regular monitor).



      • Sep 23, 2019 - 8:18 AM - Peter Galvin Comment Link

        It worked fine for ropieee so likely it was a bad image I started from.

        Thanks much for this tool -very useful!


        Peter Galvin

  • Sep 21, 2019 - 3:00 AM - nicolas-eric Comment Link


    I have a problem with the latest Pi Baker and the latest OSX. When I try to open the app there only comes a popup message “Apple Pi-Baker Access violation”. Any ideas how to fix that problem?





    • Sep 23, 2019 - 4:38 AM - hans - Author: Comment Link

      Hi Nicolas-Eric,

      First question of course; what is the exact version of MacOS you’re using? Mojave (latest) or Catalina (latest beta)?
      As for fixing this; we may have to take a look at the Console and see what error may be shown there.



      • Sep 23, 2019 - 8:17 AM - Peter Galvin Comment Link

        Btw I just used it to write Ropieee to a microsd card on Macos 10.14.6 and it worked fine.


        Peter Galvin

  • Sep 24, 2019 - 2:48 PM - manolo Comment Link

    Hi. Peter. First, you created a great tool! Thanks!

    In the last Catalina beta the Baker will only work when I start the app with sudo privileges. Otherwise the write process will not start. This issues has also Etcher in the last Catalina beta.




    • Sep 25, 2019 - 4:12 AM - hans - Author: Comment Link

      Hi Manolo,

      I’m not sure who Peter is … but you’re welcome and thanks for reporting the Catalina issue 

      With Catalina, Applications must be notarized. I will give that an attempt today and see if I can upload a signed/64bit/notarized version.
      I’ll do some testing with Catalina to make sure it works. I actually created an extra application to do all these extra steps – but I’m still testing it.



    • Sep 25, 2019 - 6:15 AM - hans - Author: Comment Link

      Apple has yet again done a very good attempt to take motivation away with developers …

      Catalina appears to apply sandbox rules without anyone even asking for this.
      Sandbox rules are in principle a good thing and required when distributing an application through the Apple Store.
      Due to the nature of APB, sandboxing is not used, and I have not been able to find any proper documentation on how to add disk/file write privileges. This was the whole point of creating a helper tool … 

      Running as sudo does the trick for now, but it is of course not a permanent fix.

      Output from Console:

      Sandbox: com.tweaking4all(2301) System Policy: deny(1) file-write-data /dev/rdisk3
      Violation: System Policy: deny(1) file-write-data /dev/rdisk3 
      Process: com.tweaking4all [2301]
      Path: /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper
      Load Address: 0x100000000
      Identifier: com.tweaking4all.ApplePiBakerHelper
      Version: ??? (???)
      Code Type: x86_64 (Native)
      Parent Process: launchd [1]
      Responsible: /Applications/
      User ID: 0
      Date/Time: 2019-09-25 12:27:02.921 GMT+2
      OS Version: Mac OS X 10.15 (19A573a)

      I’ll keep searching for a possible answer, but to be honest I’m quite disappointed about yet another hurdle Apple created.
      Quite a few applications seem to be hit by this issue (Etcher, WinClone, Paragon, etc etc).



    • Sep 25, 2019 - 6:20 AM - hans - Author: Comment Link

      I did find a proper fix:

      You’ll need to add ApplePi-Baker to the security exceptions for full disk access:

      Open “System Preferences” -> “Security & Privacy” -> “Privacy“.
      From the list on the left select “Full Disk Access“.
      Click the padlock, and unlock your settings.
      Now click “+” to add ApplePi-Baker to the exception list.
      You will have to restart ApplePi-Baker but now writing works under Cataline without the need for running it as sudo.

      You may need to reboot your Mac (to refresh the Helper tool privileges).



      • Sep 25, 2019 - 6:39 AM - hans - Author: Comment Link

        I’ve added a description under the “Installing” section. 



        • Sep 26, 2019 - 10:16 AM - aleksei Comment Link

          Does not help. Also freezes.



          • Sep 27, 2019 - 5:00 AM - hans - Author: Comment Link

            Yeah, I’m afraid it won’t help for the issue you’re running into.
            This “fix” is for those running Catalina Beta.

            In your case the device enumeration (my best guess, since I cannot replicate the issue) is what is going haywire (burning CPU cycles). I’m still looking into this. 


  • Sep 28, 2019 - 11:24 AM Comment Link

    […] Auf Micro SD Karte bringen. Z.B: Mit Apple PI Bakery. […]

  • Sep 29, 2019 - 2:59 PM Comment Link

    […] If you have privacy concerns regarding Etcher (now known as balenaEtcher) […] A program called ApplePi-Baker v2 is a great alternative. […]

  • Sep 30, 2019 - 5:56 AM - Paris Comment Link

    Awesome work and many thanks for putting the effort and time in making such a wonderful app which I totally prefer using over other apps ;)

    • for backups
    • for embedding ssh config in the image
    •  for making notifications optional


  • Oct 8, 2019 - 10:02 AM - Gene Comment Link

    I just downloaded the 2.1.7 version of ApplePiBaker and get the immediate Access Violation dialog other have mentioned. I see no resolution in the comments above so I’m asking for help. 

    I have a 2019 iMac running Mojave. I’ve been using the 1.9 version of ApplePi-Baker for some time quite successfully. It’s a very nice app. I wanted to install Catalina but cannot because I need APB more than I need Catalina. I believe if I could get past the access violation it would work well.

    I’ve made sure ApplePiBaker has full disk access. If it matters, I still have v1.9.5 installed.



    • Oct 10, 2019 - 11:28 AM - hans - Author: Comment Link

      Hi Gene,

      I’m surprised to hear APB 2.x crashes with an access violation, and am unable to reproduce this.
      Any changes you could mail me some of the console output (set filter to “applepi” without the quotes, and remove any private info if there is any) – you can reply to this notification email or use webmaster at tweaking4all dot com.

      For what it’s worth Catalina has it’s problems with programs like APB (Etcher is fighting the same issue).



  • Oct 10, 2019 - 4:47 AM - Mirek Comment Link

    2.1.7 version, Catalina on MacBook Pro – installed helper successfully, gave permissions as above, restarted several times… and no way to write image. Even creation of img was after several times of hanging and forced to close app. But image once created (only 5 times tried and hurray!) burned without any issue with latest Etcher. Wish to be able  make img with Etcher. Looks no way to use Catalina. Sorry.




    • Oct 10, 2019 - 4:56 AM - hans - Author: Comment Link

      Hi Mirek,

      Etcher is facing the same issue (see this open Etcher issue at Github) … and the only work around, for those where this doesn’t work, is to use the sudo approach.
      Obviously this is not the way any of us would like to work with an application on a permanent basis.

      sudo /Applications/

      I’m suspecting this is a Catalina bug, since I have yet to see anything (for other tools as well) that resolves this.
      Still actively looking into this issue though. 



  • Oct 12, 2019 - 12:57 PM - Justin Comment Link

    I updated my MacOS to Catalina and had to switch over to ApplePi-Baker 2.1.7. Backing up a SD card (~50% full 64GB) took about 3x longer than it did with the 1.x versions. Used 7zip compression like I always have. Is there something disabled by default in this version which was implicitly enabled by the older versions?   



    • Oct 12, 2019 - 6:08 PM - hans - Author: Comment Link

      Hi Justin,

      considering how many people have issues with Cataline; I’m surprised you did get it to work (unless you used the above mentioned sudo trick).
      On Mojave version 2.1.7 should be faster than any 1.x version. Using the sudo trick on my own Mac results in faster speeds as well.

      As for the compression methods: the entire mechanism I used in v1.x is no longer being used as the used tools (7za) proved problematic with certain formats, and the macOS build-in zip was not reliable either.

      I’d recommend selecting IMG (fastest), TGZip or Zip.

      I just did a quick test (in this order) by making a backup of a 8Gb USB 3 stick (minutes:second):

      ZIP   => 5:45
      TGZ  => 5:30
      IMG  => 1:20
      7ZIP => 43:21

      As you can see: 7Zip is very slow (I’m depending on a compression library, so I have no influence in making the library faster).
      As for compression result: TGZ, ZIP en 7Zip are very close in file size.



      • Oct 13, 2019 - 12:34 PM - Justin Comment Link

        Backup just worked for me on Catalina using the provided helper service. I was able to restore the 7zip image I created using 2.1.7 to a new SD card and that seems to have worked well.
        I tried to restore a 7Zip image I created with 1.x using 2.1.7 and had no luck with that. It fails right away with the message, “Nothing to do – No Archive Entry selected from Archive.” I also attempted it on another 7Zip backup image, and I got the same result, so I’m confident the archive isn’t corrupted. 
        I see you just posted a new 64bit v1.9. I’m going to see if that works any better for me.    



      • Oct 14, 2019 - 3:46 AM - hans - Author: Comment Link

        Thanks for the feedback Justin, it’s much appreciated!

        Catalina is a little weird when it comes to disk access – I’m beginning to think this is a bug in the OS, but I haven’t found an Apple developer yet that can show me a work-around.

        As for your previously made backup; you could try unzipping the backup, and double click the IMG file. Your Mac will try to mount it (as if it was a DMG). Of course only the supported filesystems will work (so on a standard Mac, ext-filesystems will not mount unless you have a tool like Paragon ExtFS).
        You can then see if the backup was done correctly.

        v1.9.9 was a surprise to me when I tested it on my Mac, but I did only a handful of tests.



  • Oct 12, 2019 - 6:41 PM - hans - Author: Comment Link


    If any is interested in using the old version (v1.9.9) – I just modified an old version for 64bit, signed etc.
    On my Mac it worked under Catalina, but I did get the request for permission so ApplePi-Baker can access external drives (confirm and it works it seems).
    Download link is right under the download linking for version 2.x (above).



  • Oct 17, 2019 - 6:07 AM - Mike Comment Link

    I’m also getting the Access Violation error (running latest Mojave) and the program fails to load immediately after that with an error:

    *** Terminating app due to uncaught exception 'NSGenericException', reason: '-[NSAlert runModal] may not be invoked inside of transaction begin/commit pair, or inside of transaction commit (usually this means it was invoked inside of a view's -drawRect: method.)'
    *** First throw call stack:
     0 CoreFoundation 0x00007fff4a972a7d __exceptionPreprocess + 256
     1 libobjc.A.dylib 0x00007fff7506da17 objc_exception_throw + 48
     2 CoreFoundation 0x00007fff4a9728af +[NSException raise:format:] + 201
     3 AppKit 0x00007fff4878f411 _NSRunModal + 156
     4 AppKit 0x00007fff48258acb -[NSAlert runModal] + 225
     5 ApplePiBaker 0x000000010011419b ApplePiBaker + 1130907
     6 ApplePiBaker 0x000000010011433b ApplePiBaker + 1131323
     7 ApplePiBaker 0x00000001000c9d95 ApplePiBaker + 826773
     8 ApplePiBaker <…>


    • Oct 17, 2019 - 6:40 AM - hans - Author: Comment Link

      Hi Mike,

      excellent reporting – this is very helpful! 

      Even though I cannot reproduce the issue (running Mojave myself on my dev Mac).
      This most likely is related to the dark theme support, where APB tries to redraw the GUI too quick.
      Which version of APB are you using? (click the (i) button, right click the version info and click “Copy Version Information”)
      If you’re using Dark Theme; can you try starting APB with the normal theme enabled?
      Like I said: I’m unable to reproduce the problem, so I may need so help figuring this one out 



      • Oct 17, 2019 - 7:41 AM - Mike Comment Link


        I tried it just before installing Catalina and now it’s no longer happening and the app works as expected. Unfortunately that means I won’t be able to provide much more info.

        However, I can tell you that I did not have Dark mode enabled – it was latest Mojave with latest APB v2 with Light mode theme enabled.

        Thanks for the tool btw, I have been using it for making my RPi backups for couple years now. 



      • Oct 17, 2019 - 8:48 AM - hans - Author: Comment Link

        Thanks Mike for the feedback – let me know if this happens again.
        Glad to hear you’re using one of my tools, awesome! 



  • Oct 20, 2019 - 6:32 AM - DJay Comment Link

    Hi there. First of all thanks for your great work on ApplePi-Baker v2.

    I do my Raspberry Backups for months now without any issue. 
    The IMG File from the backup is around 31 GB.

    Now I did a clean install of macOS Catalina 10.15 and of course also installed ApplePi-Baker v2 (2.1.7).

    Unfortunately now when I start a Backup it only takes 9 seconds and is finishing the IMG with only 78 MB. Its the same SD I used before and just a regular monthly backup. 

    There seem to be no error in the log. 

    Am I doing something wrong now because I can’t remember I had to setup any special in advance, or is this some issue with Catalina? 
    Also I get a notification at the end of 9 sec Backup which I didn’t had before mention the eject of the SD.

    Full Disc Access is given to ApplePi-Baker. 

    I hope you can help. Thanks in advance.

    13:17:34  Initialization Info
    13:17:34 - ApplePi-Baker 2.1.7 (Build 137)
    13:17:34 - macOS Version 10.15 (Build 19A602) x86-64 (64 bit application)
    13:17:34 - libarchive 3.3.3, by Tim Kientzle
    13:17:34 - liblzma 5.2.4, by Mike Kezner et al.
    13:17:34 - zlib 1.2.11, by Greg Roelofs && Mark Adler
    13:17:34 - bz2lib 1.0.6, by Julian Seward
    13:17:34 Found Correct HelperTool version (1.5f)
    13:18:08 Disk Appeared - /dev/disk3
    13:18:09 Details Updated - Partition /dev/disk3s1
    13:18:10 Details Updated - Partition /dev/disk3s6
    13:18:28 Drive added to list: /dev/disk3 (31 GB Generic STORAGE DEVICE)
    13:18:35 Backup -- START BACKUP
    13:18:52 Backup Started - Making Disk to File Backup
    13:18:52 Source - Disk: /dev/disk3 (31 GB Generic STORAGE DEVICE) (31,046,238,208 bytes)
    13:18:52 Destination - File: /Users/daniel/Documents/Raspberry Pi Backup/Pi 3/backup.img
    13:18:53 Backup started
    13:19:02 Disk Disappeared - /dev/disk3
    13:19:02 Completed - Cloning Completed
    13:19:02 Finished - Completed in 9 seconds, average speed 0.0 MB/sec
    13:19:02 Backup - Backup Completed in 9 seconds
    13:19:02 Backup -- END BACKUP


    • Oct 20, 2019 - 6:37 AM - DJay Comment Link

      /dev/disk3 (external, physical):


         0: FDisk_partition_scheme *31.0 GB disk3

         1: Windows_FAT_16 RECOVERY 66.1 MB disk3s1

         2: Linux 33.6 MB disk3s5

         3: Windows_FAT_32 boot 72.4 MB disk3s6

         4: Linux 30.9 GB disk3s7



    • Oct 20, 2019 - 7:07 AM - hans - Author: Comment Link

      Hi DJay!

      Sorry to see you’re running into issues. Considering you’re getting only 78Mb of a 32Gb backup.
      Looks like you did everything right; no shrink/expand option, and no compression – which is good when trying to eliminate issues.

      Now, coming back to Catalina: yeah, she is a beast when it comes to this. Others (like Etcher) run into the same issues.
      I’d recommend giving ApplePi-Baker v1.9.9 (download above) a try and see if that works more reliable for the time being.



      • Oct 20, 2019 - 7:13 AM - DJay Comment Link

        Hi Hans. Thanks for your fast reply and friendly comment.

        So I don’t have to worry that the IMG Backup is now 78 MB instead of 31 GB. I did the Backup with ApplePi-Baker on Mojave and it was always the size of the SD. I checked my stored Backups while we are writing. 

        Feels strange with the same SD and system on it, that the Backup is now only 78 MB. 

        I also followed your advise and tried ApplePi-Baker v1.9.9. It works but also now gives only the 78 MB. Sorry I’m so confused. :)



      • Oct 20, 2019 - 7:33 AM - hans - Author: Comment Link

        You’re absolutely right! 78 Mb doesn’t sound right to me either. 
        Considering how “dd” works, and how the new APB v2 code works; without resizing and without compression you should get a 32Gb backup for sure.
        Both copy byte by byte, everything from the SD, even if space is not assigned or used.
        So I would NOT rely on this being a good backup.

        Since both versions produce the same result; I suspecting Catalina is interfering here in some way – a reason why my main Mac still runs Mojave.
        On my test-Mac I’m running Catalina, and am seeing too many problems with a lot of applications.
        In part because 32bit support was dropped, but also in part because Apple screwed around with Security and Privacy  .

        I’m actually surprised to hear that v2 seemed to work … I’ve had a few users here where it simply won’t open the external drive.
        Is your SD in an internal card-reader maybe? (won’t fix the issue if you would have done it differently)

        Interesting test is to do a test from the command line using “dd”;

        sudo dd  bs=4M if=/dev/rdisk3 of=~/Desktop/raspberrypi.dmg

        Note: rdisk3 is the device you’ve selected before (disk3) with an “r” in front of it (r=raw).

        Catalina may ask for permission to access the disk (which seem “normal” when accessing an external disk).
        I’m curious how big the result will be (since APB 1.9.9 uses this as well).



        • Oct 20, 2019 - 7:59 AM - DJay Comment Link

          I put the microSD in a USB adapter and into the iMac USB port.

          /dev/disk4 (external, physical):


             0: FDisk_partition_scheme *31.0 GB disk4

             1: Windows_FAT_16 RECOVERY 66.1 MB disk4s1

             2: Linux 33.6 MB disk4s5

             3: Windows_FAT_32 boot 72.4 MB disk4s6

             4: Linux 30.9 GB disk4s7

          I tried 

          sudo dd bs=4M if=/dev/rdisk4 of=~/Desktop/raspberrypi.dmg

          But got

          dd: bs: illegal numeric value

          Without the bs=4M

          sudo dd if=/dev/rdisk4 of=/Users/daniel/Downloads/backup.dmg 

          dd: /dev/rdisk4: Input/output error

          155851+0 records in

          155851+0 records out

          79795712 bytes transferred in 113.388242 secs (703739 bytes/sec)

          And a backup.dmg with again 79.8 MB in the folder. 

          So I think you are right. Catalina is really a beast at the moment. :/ 

          Hopefully there will be a solution soon. Feeling worried without having a backup

          Thanks a lot trying to help and the friendly contact. 



        • Oct 21, 2019 - 7:31 AM - hans - Author: Comment Link

          Excellent testing DJay!

          You’re most welcome! 

          Just for shits and giggles: have you tried to restore the backup on another SD card to see what happens?
          I HIGHLY doubt it will work.

          Good to know though that even “dd” doesn’t seem to work properly under Catalina. Sad though.

          With Catalina it seems a mixed bag. I’ve seen APB 2.x and 1.9.9 work properly under Catalina.
          I’ve also seen APB 2.x fail. And now I know “dd” and APB 1.9.9 can fail under Catalina as well.

          I have reported the issue with Apple, but obviously with zero response 

          As a regular user you can report issue/feedback here as well.



          • Oct 21, 2019 - 7:38 AM - hans - Author: Comment Link

            To give you an idea what the issue may be related to:

            The “Security & Privacy” setting doesn’t seem to correctly handle the “Full Disk Access” option.
            Even privileged helper tools cannot access external volumes (incorrect or incomplete developer documentation!).

            When trying this from Terminal, permission will be asked to access “External Volumes” – an option not found in the security settings and “Full Disk Access” doesn’t seem to cover this. However commands line “dd” have become very unreliable for external drives (does not copy an entire disk).

            Apple Developers forum doesn’t have an answer either, and others there run into the same issue.


  • Oct 21, 2019 - 7:45 AM - DJay Comment Link

    Thanks for this. Interesting background. And of course sad something like this happens in the latest and greatest macOS. 

    I will try to backup another SD next week when I’m at home again. But as you mentioned, this would probably also end with the same result. 

    I’ll have an eye on this Thread here. Maybe something changes with the next 10.15.x update.

    Thanks again. Appreciate the friendly contact.



    • Oct 21, 2019 - 8:08 AM - hans - Author: Comment Link

      Thank you as well Djay!
      If you run into something interesting; please let me know, I’ve been searching for weeks now to find a solution.

      Oh and did you try:

      sudo /Applications/

      (it’s hard to keep up with all the conversations here haha)



      • Oct 21, 2019 - 10:02 AM - DJay Comment Link
        sudo /Applications/

        Same issue. 

        Another Idea that could be something wrong with the SD? How can I check this?

        I mean I have no problem with the SD and the system with Homebridge running is working great.

        But could there be a problem with the SD card? And most important how to get around and get at least a recent backup then at all?!



        • Oct 21, 2019 - 11:49 AM - hans - Author: Comment Link

          You could try a random USB stick – I usually test with those, since they are typically much faster (USB 3).
          In the end; reading from an SD is exactly the same as reading from USB, even an internal SD reader is connected through USB and behaves like a USB stick.

          Let me know what your findings are! 

          Thanks again for the video – it quits WAY to quick (wish I could make APB that fast ).



      • Oct 21, 2019 - 10:57 AM - DJay Comment Link

        Like to show you the whole procedure. Maybe you see something. 




        • Oct 21, 2019 - 11:46 AM - hans - Author: Comment Link

          Yeah that’s not looking good 



        • Oct 21, 2019 - 11:51 AM - hans - Author: Comment Link

          The incorrect Eject of the device – that is definitely not normal.
          And you do not have auto-eject enabled (from what I can see in the video).
          So there should not be an eject at all …



          • Oct 23, 2019 - 6:07 AM - DJay Comment Link

            Hi there. I want to give a recent feedback. 

            I found an old Backup of the SD restored it to a new (other) SD. That worked well.
            Then I updated everything on my Pi and Homebridge setup, because it was outdated.
            After this, I removed the (new) SD from Pi and startet a regular Backup with ApplePi-Baker v2, like I would do pre Catalina era.

            And everything is working like expected. After about 30 Min. I have my 31 GB Backup. 

            Strange thing, because I had no problems with the old SD before or during using it. 

            Anyway, it seems to be a personal problem and not APBv2 in general. 


          • Oct 23, 2019 - 6:20 AM - hans - Author: Comment Link

            Sounds like you found the culprit – glad to hear that. 
            Wouldn’t call it a “personal problem” though haha, that made me laugh, I think SD cards are unreliable by nature, so we all share the same potential problem hahah.


  • Oct 22, 2019 - 9:43 AM - Tim Kidd Comment Link

    Just a quick YFI – the permalink to download the latest version is broken.


    Tim Kidd

    • Oct 23, 2019 - 5:25 AM - hans - Author: Comment Link

      Thanks Tim for the heads up! Nice catch! 

      I had to replace the download manager (WPFilebase) with my home made download manager plugin and I goofed up with this link.
      Thanks to your tip I did find 2 other problematic links and fixed those as well.

      Thanks again – the link is fixed! 



  • Oct 24, 2019 - 5:10 AM Comment Link

    […] Descargar […]

  • Oct 26, 2019 - 6:56 AM - FuzzyRoll Comment Link

    Loved to use Pi-Baker earlier and was really excited to try out the new version 2, but the problem is that it freezes after about 15-20% doing any backup of my sd-cards. The process is using 100% and stops responding, first I let it be for about 40 minutes but it was still not responding, after a few tries I reinstalled the updated version 1 for Catalina and everything works perfectly, not sure why the freezes occurred only with version 2.



    • Oct 26, 2019 - 7:39 AM - hans - Author: Comment Link

      Hi FuzzyRoll!

      Thanks for reporting the issue – and I’m sorry to hear you’re running into it. Glad to hear 1.9.9 keeps you operation though.

      If you’re running Catalina, it will be a mixed bag of what does and what does not work.
      The “competition” is having the same issue to deal with and so far I have not seen a fix for it.
      I’ll test Catalina beta 10.15.1 hopefully today or tomorrow and see if Apple has payed attention to our complaints 



      • Oct 26, 2019 - 7:56 AM - FuzzyRoll Comment Link

        Hi Hans!

        Sounds great, version 2 is so sleek and looks amazing, so it is a real bummer that these problems occur, ill keep my fingers crossed that apple has payed some attention to this so this awesome app can work as intended! :D

        And a big thanks for making and developing the app!



        • Oct 26, 2019 - 8:04 AM - DJay Comment Link

          And by the way „thanks“, @Hans is there another way to support than bitcoin? Classic PayPal or „Buy me a coffee“?



          • Oct 26, 2019 - 9:00 AM - hans - Author: Comment Link

            Hi DJay!

            Thank you for willing to donate! 

            Yes you can donate through PayPal as well (hans at luijten dot net) – unfortunately, PayPal doesn’t seem to like it when place a donate button on my website.
            I’m looking into alternatives, but the services I have tried out so far, proved rip-offs (still waiting to get the money folks donated).

            Another alternative is doing your shopping at Amazon (US, DE) through my link – I’ll receive a small commission – so if you have a lot of holiday shoppings to do: please use the link .

            And finally; when you’re in the neighborhood: getting me a coffee of a beer would be awesome 


        • Oct 26, 2019 - 8:46 AM - hans - Author: Comment Link

          Thanks FuzzyRoll!

          Yeah, it has been quite a big project. The fundamental changes were quite dramatic, and took a lot of work, and strictly byt the book (from Apple).
          Imagine how “happy” I was with the changes in Catalina. 

          Oh well, I’ll keep looking for a fix 



  • Oct 26, 2019 - 9:06 AM - DJay Comment Link

    @Hans For now, it’s PayPal then. ;) Maybe also an option could be

    Best wishes to you and thanks again. 



    • Oct 26, 2019 - 11:13 AM - hans - Author: Comment Link

      Thanks again DJay!

      That will be spend on a great cup of Joe  – it’s very much appreciated!



  • Oct 27, 2019 - 5:49 AM - beir Comment Link

    apple pi baker 

    MAC OS 10.15

    PI BAKER v2.1.7

    Select disk USB or SD => OK

    Select image 2019-07-10-raspbian-buster-full-img => OK

    After it stays o 0% with a 3 colors circles turning forever

    Trying to unmount /dev/disk2



    • Oct 28, 2019 - 3:51 PM - Pierre Comment Link

      Old app 1.9.9 works fine same configuration.

      Anyone can help ?



    • Oct 29, 2019 - 2:42 AM - hans - Author: Comment Link

      Hi Beir/Pierre,

      At the moment there is some unpredictable behavior under Catalina with ApplePi-Baker and similar tools (like Etcher and such).
      Some users have no issues at all and others run into issues left and right.

      The most issues we see with v2, which follows Apple’s security protocol and API, to do things the right way (making it that I believe that Apple goofed up in Catalina).
      The version v1.9.9 that I made available on the other hand, uses Terminal commands to make backups and do restores. That version “should” cause more problems in Catalina, but somehow the Terminal commands are handled correctly.

      I’m trying to find a solution, but like other similar products, a solution has not yet been found.
      I hope to test Catalina beta – see if Apple changed something or not.
      (transition to Mojave was painful as well, in the first release darkt theme support was buggy, but with Catalina it seems that security/privacy is buggy – but I could be wrong)



  • Oct 29, 2019 - 4:25 AM - pierre Comment Link

    Hi Hans,
    I tried sudo /Applications/ => same trouble

    TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akLeft
    TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akRight
    TAnchorSide.CheckSidePosition invalid anchor control, lblRestoreIcon:TLabel akRight
    TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akLeft
    TAnchorSide.CheckSidePosition invalid anchor control, lblRestorefileToDisk:TLabel akRight
    TAnchorSide.CheckSidePosition invalid anchor control, lblRestoreIcon:TLabel akRight

    Same with dark mode off => same result.

    With balenaetcher sudo /Applications/
    Cela fonctionne.

    I hope you will find because your app is better than all others.



    • Oct 29, 2019 - 7:06 AM - hans - Author: Comment Link

      Thanks Pierre!

      Adn … thanks for the compliment! 

      The anchor messages can be ignored – these are just messages related to the GUI cosmetics and have no effect on the functionality.
      For the next release I’ve already fixed those so they will no longer appear.

      It is interesting to see how random applications seem to respond under Catalina.
      For some users there are zero issues, others can use the (temporary) sudo approach, and other (like yourself) are completely stuck.

      I’ll report back when I have a fix, but I suspect it is a problem in Catalina itself.

      Something you could try (since I cannot reproduce your specific issue); unmount (not eject!) the SD card in “Disk Utility” before using ApplePi-Baker (may still need the sudo trick). But no guarantees there. Like I said: your particular issue I cannot reproduce. Can you see the disk unmount?



      • Oct 29, 2019 - 7:59 AM - pierre Comment Link

        Hi Hans,
        unmount and cmd line same result same error messages
        unmount with gui same result same error messages
        1.9.9 still ok



      • Oct 29, 2019 - 9:15 AM - hans - Author: Comment Link

        Bummer!! Thanks for testing Pierre! 



  • Oct 30, 2019 - 5:19 AM - hans - Author: Comment Link


    Preliminary testing with Catalina 10.15.1 beta shows that Apple seems to have addressed the bug with access to external volumes and Full Disk Access permissions.
    I’ve ran several tests with the latest ApplePi-Baker on a MacBook, doing several backups and restores, with and without compression and/or resizing of partitions. All tests worked as they are supposed to (like in Mojave). 

    This is good news, if Apple doesn’t screw this up in the 10.15.1 public release 

    If anyone is running the 10.15.1 beta; your findings would be appreciated!



    • Oct 30, 2019 - 5:41 AM - hans - Author: Comment Link

      One unexpected observation:
      When your Mac blanks the screen (power saving), the read/write process is being paused when “Put hard disk to sleep when possible” is checked in your “Energy saving preferences”. I reported this as a bug, since pausing should NOT be possible at this time (I’m sure some folks will disagree).



    • Nov 3, 2019 - 2:58 AM - hans - Author: Comment Link

      Catalina 10.15.1 has been officially released a few days ago.
      Tests I have done show that the latest ApplePi-Baker is running as it should.

      Please update you macOS to 10.15.1 and let me know what your findings are 



  • Nov 8, 2019 - 3:57 AM - hans - Author: Comment Link

    UPDATE: ApplePi-Baker v2.2.1

    Minor update; Full Disk Access check has now been added to “Create NOOBS” and “Copy Partition Info from Selected Disk“.



  • Nov 9, 2019 - 2:22 AM - FuzzyRoll Comment Link

    I really want to use version 2, but I still have problems even with 2.2.1. For me it stops responding immediately after unmount of the disk and partition is done.
    I have tried with different sd cards and different disk images also. But no luck :/ 



    • Nov 9, 2019 - 3:10 AM - hans - Author: Comment Link

      Hi FuzzyRoll!

      1. To make sure APB runs fine, make sure you’re either running the latest Catalina (at least 10.15.1) or Mojave.
      2. And here comes the most annoying line in the IT world: did you try restarting your Mac (some users in the past reported this to be helpful). 
      3. If that doesn’t help: do a SMC Reset.
      4. Make sure no other applications are accessing the SD card like Virus scanners or something like that
            (if you’re running Paragon ExtFS or BlueHarvest – then don’t worry, I run those as well without any issues).

      If none of these steps help, please let me know.



      • Nov 10, 2019 - 3:38 AM - FuzzyRoll Comment Link

        Hi Hans!

        1. Yes I have the latest update installed :)

        2. No worries, I have worked in it support for more than 5 years earlier, and yes I tried to restart :)

        3. Have done an SMC but sadly no difference for me.

        4. I checked but I can’t see any program that would access the sd card over ApplePi-Baker.

        In the log when I try to restore the img I get this:

        10:26:18 Unmounting - Attempting Unmount of all Partition(s) of selected Disk
        10:26:18 Trying to unmount /dev/disk2
        10:26:19 UnMount - Waiting for unmount complete
        10:26:19 UnMount - Waiting for unmount to complete -
        10:26:19 Partition Unmounted - /dev/disk2s1

        Not sure if that helps or if the diag will get you better information. :)




        • Nov 10, 2019 - 4:36 AM - hans - Author: Comment Link

          Hi FuzzyRoll!

          maybe it is easier if we continue this conversation by email (allowing screenshots etc – if needed) – webmaster at tweaking4all dot com, or reply to this notification.
          Does /dev/disk2 have only one [mounted] partition when you start APB?



  • Nov 9, 2019 - 6:37 AM - OMogenot Comment Link

    The new version 2.2.1 (build 177) with helper tool 1.8 does not work on my MacOS 10.15.1 (build 19B88)

    The log window shows that the correct tool is found. Then I choose my scard, choose the image file to restore and then the application is blocked at “Unmounting – Waiting for unmount to complete” although the volumes are actually unmounted (waiting forever with beach ball cursor).

    By the way, the application could freeze (with beach ball cursor) as well when I ask use “About ApplePi-Baker” menu in the Apple menu. 



    • Nov 10, 2019 - 4:25 AM - hans - Author: Comment Link

      Hi OMogenot,

      sorry to hear you’re running into trouble.

      Something I absolutely hate to say, but did you try rebooting your Mac and/or resetting the SMC on your Mac?
      I’ll take a look in the code if there is any reason why it would freeze while waiting for an unmount, but as far as I recall, it waits an x number of seconds for the unmount to complete. If not completed in that timeframe will say something like “failed to unmount”. Since I use the official Apple API, certain applications can block the unmount call though …



      • Nov 12, 2019 - 2:52 AM - MarkD Comment Link

        Same issue is happening with me and I waited 30mins. Rebooting did not fix the issue.

        I have a MacBook Pro 2016, a USB C dongle with micro usb and a 64gb Samsung EVO Plus micro sd card.

        Previously have written to the card with no problem using Pi Baker when running MacOS 10.14 but it seems to no longer work in 10.15.1 

        Looking at the logs it says:

        Trying to unmount /dev/disk2
        UnMount – Waiting for unmount complete
        UnMount – Waiting for unmount to complete –
        Partition Unmounted – /dev/disk2s1

        Then it just hangs and beachballs…. I have to force quit the app.



        • Nov 12, 2019 - 3:03 AM - MarkD Comment Link

          Also tried resetting SMC and that didn’t work either



        • Nov 12, 2019 - 4:35 AM - hans - Author: Comment Link

          I’m really sorry you’re running into this issue – unfortunately, I cannot reproduce the problem, so fixing it is a challenge.

          One thing that comes to mind (since you’re running the latest Catalina and APB) is removing the helper tool and re-installing APB.
          Maybe a sketchy left-over is causing this issue.

          In Terminal:

          sudo launchctl unload /Library/LaunchDaemons/com.tweaking4all.ApplePiBakerHelper.plist
          sudo rm /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper

          This will unload the cached helpertool, and remove the helpertool itself from your disk.

          Now restart APB and the helpertool will be installed “fresh”, which will also set the proper access rights (as far as I can see, since Catalina is a little sketchy when it comes to that).



  • Nov 12, 2019 - 3:32 PM - MarkD Comment Link

    Unfortunately that didn’t work… Is there anyway to increase the verbosity of the log? or alternatively being a developer myself look at the source?



    • Nov 12, 2019 - 3:43 PM - MarkD Comment Link

      Also worth noting that Etcher works



    • Nov 13, 2019 - 3:42 AM - hans - Author: Comment Link

      Hi Mark,

      There is no way to increase the verbosity of the log. I could make a build that has extensive logging in Console.
      Opening the code is something I’m not thrilled about – I’m a little code shy.

      If you reply to this notification, maybe we can continue by email?



  • Nov 16, 2019 - 1:14 AM - Emanuel Polichronis Comment Link

    Hello, thank you for providing this free software. I managed to Backup a disk and it created a Zip file on my desktop. 

    I have the Helper Tool installed too. I try to restore and after chosing my zip file it states Attempting to Unmount. Then it goes into a Beachball and freezes. 

    I am using APB Ver 2.2.1 (Build 177) and Helper Tool Ver 1.8 (this is greyed out). On your about feature. 

    I have allowed Full Disk Access in Security and Privacy Settings. 

    I am using MacOS Catalina Ver 10.15.1 Build19B88 x86-64

    I am not computer savvy. 

    Look forward to hearing from you. Thank you.


    Emanuel Polichronis

    • Nov 16, 2019 - 5:11 AM - hans - Author: Comment Link

      Hi Emanuel!

      Sorry to hear you’re running into issue.
      I assume you already followed the steps I mentioned in a few comments above this one?

      Remove helper tool (in Terminal):

      sudo launchctl unload /Library/LaunchDaemons/com.tweaking4all.ApplePiBakerHelper.plist
      sudo rm /Library/PrivilegedHelperTools/com.tweaking4all.ApplePiBakerHelper

      Reboot Mac, and reinstall APB.

      This may or may not fix the issue. If not: the zip file you’re using – is this an existing backup or did you download it somewhere (so I can test it)?
      I cannot reproduce the problem on my 3 Mac’s, so I’m eager to find an example file 



      • Nov 16, 2019 - 5:45 AM - Emanuel Polichronis Comment Link

        Hi Hans, 

        I did read forums above mine and tried the remover help tool in Terminal and then restarted APB. I didn’t reboot Mac and reinstall APB, I just restarted APB after Terminal step as mentioned in the previous thread. After restarting APB I was prompted for a password for the Helper file installation, so I gather that worked.

        I am trying to back up an existing SD card and wrote the file successfully as a zip. Want me to email or Dropbox it to you?


        Emanuel Polichronis

      • Nov 16, 2019 - 6:11 AM - hans - Author: Comment Link

        Hi Emanuel,

        Oh sure, DropBox or We-Transfer would work! 
        I’ll give it a try and hope to run into the same issue 



  • Nov 16, 2019 - 6:27 AM - Emanuel Polichronis Comment Link

    Thank you Hans, I just Dropboxed it to you to the this address webmaster at tweaking4all dot com


    Emanuel Polichronis

  • Nov 20, 2019 - 7:44 AM - Jon Irish Comment Link

    I would really like to see an “upgrade” feature added to APB in the future if at all possible. Thanks for a very useful application!



    Jon Irish

    • Nov 20, 2019 - 8:52 AM - hans - Author: Comment Link

      Hi Jon,

      I’ve added this to my to-do list, assuming you meant notification in APB that there is a new version available.

      Unfortunately, with everything on my plate right now, it may take a bit before I can implement this.
      My website, the free apps I offer, and Apple’s recent changes, etc – it all is slowly turning into a fulltime job.
      And as you can imagine, it is not even remotely close to paying the bills 
      But yes: I will do my best to get this implemented in the near future.



      • Nov 20, 2019 - 9:07 AM - Jon Comment Link

        Thanks for the feedback Hans. I really appreciate all the time and effort that you put into this!




      • Nov 20, 2019 - 10:45 AM - hans - Author: Comment Link

        You’re welcome Jon! 



  • Nov 24, 2019 - 3:52 AM - hans - Author: Comment Link


    I’ve released v2.2.3 today.
    I hopefully addresses the issue some users seem to run into when APB crashes at startup (thanks Greg for the initial testing).
    Unfortunately, I’m not able to reproduce this issue on any of my Mac’s, so any feedback is appreciated.

    Known “issues”:

    1. Catalina (at least in 10.15.1) reports previously mounted DMG images, even though they no longer exist.
      Apple’s “Disk Utility” and “diskutil” show the same issue. I have reported the bug with Apple. Hopefully future macOS version will no longer have this bug. This means that you may see mounted disk images in the advanced view, even though they no longer are mounted.
    2. When restoring an IMG, and the resize function was used, a second file will be left behind (<yourfile>_Resized.img).
      The main reason for this is that when you’d like to flash the same IMG again, one wouldn’t need to go through the resizing process again and could use the resized.img instead. At this point I’m curious how often this would be the case, and if I should have APB remove the resized IMG automatically or not. Feedback is appreciated.


  • Dec 3, 2019 - 9:12 PM - Soheil Comment Link

    Hello, I’d like to report an issue and ask for a solution. I installed Ver 2.2.3(Build1) on macOS 10.15.1, and was trying to back up my 64GB RPi sd card. At almost the end of process (+90% done), I received an error message that the back up can not be completed and I found out that I almost ran out of disk space on my mac. Now the problem is that apparently the backed up data (+60GB) has been kept somewhere on my hard drive, and it hasn’t been released after the error occurred. I closed and reopened the ApplePi-Baker several times and tried to restart my mac but wasn’t helpful. I tried to search for any large file that has been generated on my mac but couldn’t find anything related. Would you please help me figuring out how I can free up the stolen space on my mac?





    • Dec 4, 2019 - 5:50 AM - hans - Author: Comment Link

      Hi Soheil,

      thank you for reporting the issue and apologies for the inconvenience.
      Seems I need to look at the “clean up” after an error.

      Common locations for the temporary file:


      and a file “xyz_Resized.img” in the same directory as the original file.



      • Dec 5, 2019 - 10:33 AM - Soheil Comment Link

        Hi Hans,

        Thank you for your reply. I checked my “tmp” folder and couldn’t find any large file related to ApplePi. I also searched the web for Temp directory on Mac and found another location that I accessed using “open $TMPDIR” in terminal,  but that was also unsuccessful. Is there a chance that the file is stored in another directory?



      • Dec 6, 2019 - 4:16 AM - hans - Author: Comment Link

        Hi Soheil,

        The only place where APB saves files, that I’m aware of, are potentially:


        and where the original IMG is located, for example /path/to/my.img -> /path/to/my_Resized.img

        or with a backup /path/to/my.img -> /path/to/my.tmp

        What you could try is using the Finder search function:
        – Open Finder
        – Press COMMAND+F
        – Set the criteria to “This Mac“, “File Size“, “is greater than“, “1“, and “GB“.

        This should list pretty quick all files greater than 1 Gb. Of course, I just picked 1 Gb guessing we’re looking at a large file.
        On my Mac this resulted in 26 files – and I have a lot of large files on my system.



        • Dec 7, 2019 - 3:22 PM - Soheil Comment Link

          Thanks again Hans for all your help. This way of searching for large files was actually the first thing that came to my mind and I tried it before and strangely enough, I couldn’t find any file larger than a Gigabyte related to ApplePiBaker (I just had around 10 large files on my mac). And then I thought that the software may back-up using several smaller files, which was the time I came here and asked for your help. 

          So for now, I can’t think of any other way for claiming back that ~60GB on my drive other than doing a fresh install of macOS on my MacBook (which by the way I’ve been thinking of doing it for a while!).



        • Dec 7, 2019 - 3:44 PM - Soheil Comment Link


          I just found the file blamed for all my issues, when I started to make backups for a fresh OS!! And for some reason, it doesn’t appear in the large-file search (my Pi backup name was “Pi4BackUp-Dec2019”):

          Both in Documents folder (/Users/MyName/Documents/):

          Pi4BackUp-Dec2019.tmp (56GB) 

          Pi4BackUp-Dec2019.LinuxPartition (3MB)

          hope this would help with your debugging/updates :)



        • Dec 8, 2019 - 4:31 AM - hans - Author: Comment Link

          Oh wow! That’s weird that at least the 56Gb file didn’t popup in the search …
          Well, then again, the Finder Search functionality has been kind-a poorly for me (it doesn’t search network shares properly), so I haven’t used it in quite some time.

          I will add a check in the clean up procedure to see if there is a LinuxPartition file (this is created after a backup, and is just the Linux Partition, so it can be resized).

          Thanks for posting and good to hear you’ve got your 60Gb back! 



      • Dec 6, 2019 - 4:18 AM - hans - Author: Comment Link

        p.s. if you find a file that may come from APB, or that you’re unsure of where it came from, please let me know so I can see if it needs to be added to the clean up function in APB. 



  • Dec 10, 2019 - 10:42 PM - Eduardo Comment Link

    Hello Hans, thank you for your software, much appreciated.

    May i ask a question – is it possible to backup only the contents of one single partition , and later restore this to a larger partition on another SD card? It seems i can only select a full disk, but not specific partitions.



    • Dec 11, 2019 - 4:47 AM - hans - Author: Comment Link

      Hi Eduardo,

      Thanks for the thank-you note 

      APB will only make backups or restore entire disks – the application was originally designed with Raspberry Pi, for which it is common to use the entire disk.
      Right now, optionally and if the MBR partition scheme is being used, the first Linux partition can automatically be resized to smallest (backup) and largest (restore).
      This should save you some storage when making a backup, and helps optimally use your disk on restore.

      The issue I run into, when just copying a single partition, would also come with some challenges when it comes to partition schemes and partition tables.
      So for now, I do not plan to implement something like that as it will cause tons of issues. Sorry. 



  • Dec 12, 2019 - 12:12 PM - creaimmo Comment Link

    Bonjour, je vous contact car je viens de tenter de faire une sauvegarde en activant l’option de redimensionnement de la partition EXT4 est dans mes 2 tentatives la sauvegarde fait la même taille 240GB ! du coup il m’est impossible de faire une restauration sur un plus petit disque 120GB j’ai un message m’avertissant qu’une partie sera perdu ou corrompu. Alors qu’il peut largement etre diminuer car j’ai que 9GB de données sur la partition EXT4



    • Dec 13, 2019 - 4:44 AM - hans - Author: Comment Link

      Hi Creaimmo,

      my French is horrible so I had to use Google Translate to translate your message.
      Friendly request to write in English here if possible so other users can chime in as well. 

      Hello, I am contacting you because I have just tried to make a backup by activating the resize option of the EXT4 partition. In my 2 attempts, the backup is the same size 240GB! suddenly it is impossible for me to restore on a smaller 120GB disk I have a message warning me that a part will be lost or corrupted. While it can be greatly reduced because I only have 9GB of data on the EXT4 partition

      First thing I’d check is to see if the largest Linux/Ext partition is indeed the first Linux partition. Also make sure the disk uses the MBR partition scheme (in Advanced View you can right click the drive and select “Copy Partition Table Info …” (there are 2 options; from a drive or from an IMG file).

      It should produce something like this (you can also see the text in the log window):

      Partition Table Info of /dev/disk2
        Size: 8,019,509,248 Bytes (15,663,104 Sectors)
        Partitioning Layout: Master Boot Record (MBR)
        Partition 1: FAT32 Partition
        - Start Sector = 8,192 (4,194,304 Bytes)
        - Partition Size = 1,048,576 (536,870,912 Bytes)
        Partition 2: Linux native Partition
        - Start Sector = 1,056,768 (541,065,216 Bytes)
        - Partition Size = 14,602,240 (7,476,346,880 Bytes)

        Partition 3: Empty Partition
        Partition 4: Empty Partition

      If this is the case, resize will work.

      When it comes to warnings during restore: APB doesn’t know yet what the minimum size will be on restore (I’ll improve that in a next version), so doing a restore may work just fine even though you did get a warning.



      • Dec 14, 2019 - 5:24 PM - creaimmo Comment Link

        Here are the partitions of my disk before creating the image.
        / dev / disk2: ASMT 2115 Media (240 GB)Read / WriteExternal Drive (USB)ASMT 2115 (rev. 0)Sheet music:▹ / dev / disk2s1 “RECOVERY” 66 MB Windows FAT16▹ / dev / disk2s5 “SETTINGS” 34 MB Linux (Ext2 / Ext3 / Ext4)▹ / dev / disk2s6 “root” 240 GB Linux (Ext2 / Ext3 / Ext4)
        Here is the result obtained from the img
        Size: 2,684,354,560 Bytes (5,242,880 Sectors)
          Partitioning Layout: Master Boot Record (MBR)
          Partition 1: FAT16 Score  – Start Sector = 8,192  – Size = 129,024 Sectors (66,060,288 bytes)
          Partition 2: DOS 3.3+ Extended Partition  – Start Sector = 137,216  – Size = 468,740,096 Sectors (239,994,929,152 bytes)
          Partition 3: Empty Partition
          Score 4: Empty Score
          Hex dump partition table:  > 00820300 0E8A0208 00200000 00F80100  > 008A0308 05FEFFFF 00180200 0068F01B  > 00000000 00000000 00000000 00000000  > 00000000 00000000 00000000 00000000
        The root partition in EXT4 has become DOS 3.3, why?



      • Dec 15, 2019 - 5:54 AM - hans - Author: Comment Link

        Hi Creaimmo,

        The 2 drives you’re showing seem to be quite different?
        “disk2” is missing a few partitions (disk2s2, disk2s3 and disk2s4), and the IMG does not seem to have any Linux (Ext) partitions, unless those partitions are hiding in the Extended Partition.

        Feel free to email me the full details (webmaster at tweaking4all dot com).
        And use the right-click “Copy Partition Table Info from Selected Disk” and “Copy Partition Table Info from IMG file” menu options, which makes it easier to compare.

        As far as I can see, the partition layout is not the average layout which is quite often something like this:
        Partition 1 = FAT, Partition 2 = Linux, Partition 3 and 4 = empty.



        • Mar 10, 2020 - 4:09 AM - seraphinmi Comment Link

          Hi Hans,

          First, thanks a lot for this excellent application, it is really convenient having a single place to handle backup and recovery with such great options and interface!

          I have a similar problem as Creaimmo: during backup of a 16GB SD, with resize option enabled, I end up with 16GB image file, no size reduction.

          After looking at the logs, no Linux partition found…I copy the partition table info from my SD here:

          Partition Table Info of /dev/disk2
            Size: 15,931,539,456 Bytes (31,116,288 Sectors)
            Partitioning Layout: Master Boot Record (MBR)
            Partition 1: FAT16 Partition
            – Start Sector   = 8,192 (4,194,304 Bytes)
            – Partition Size = 2,487,902 (1,273,805,824 Bytes)
            Partition 2: DOS 3.3+ Extended Partition
            – Start Sector   = 2,496,094 (1,278,000,128 Bytes)
            – Partition Size = 28,620,194 (14,653,539,328 Bytes)
            Partition 3: Empty Partition
            Partition 4: Empty Partition

          So, similar to Creaimmo situation. But, using a partition manager tool running on MS Windows, I can see a different layout, see below:

          Partitioning Layout: Master Boot Record (MBR)
            Partition 1: FAT32 = 1.19GB (Primary) (“Recovery”)
            Partition 2: Ext4 = 32MB (logical) (no name)
            Partition 3: FAT32 = 69MB (logical) (“boot”)
            Partition 4: Ext4 = 13.54GB (logical) (no name)
            So, it seems I actually have Linux (ext4) partitions on the SD, but they are not recognized as is by ApplePi Baker, nor by MacOS…

          Any Idea how I make ApplePi Baker resize identifying Partition 4 as the one to resize?

          Alos, where do you get the “partition average layout” from (Partition 1 = FAT, Partition 2 = Linux, Partition 3 and 4 = empty): NOOBS? RaspBian image?…





        • Mar 10, 2020 - 5:14 AM - Hans - Author: Comment Link

          Hi Seraphinmi,

          The partition layout you’re showing is using extended partitions, and I haven’t found a quick fix for that one yet.
          Using the default layout wa already a lot of work (since I didn’t know anything about the intricacies of partitions on that level).
          Extended partitions, GUID etc – it makes things a lot more complicated for me.

          So in short: APB won’t be able to do anything with your partition.

          I did see a post from someone who resolved this by changing their partition layout.

          The notion that the MBR is the most commonly used is based on my own experience in the past 8 years.
          Not just for RPi, but also for Android, Camera’s, etc.

          The layout is basically relying on standard primary partitions.
          Not GUI, not Extended partitions.
          It seems only recently (past year or so?) that Extended partitions seem to popup with for example NOOBs (after deploying NOOBs).

          I’d love to support the GUID and extended partitions, but it will take me a lot of reading up on it, or someone who can actually help out with that. Someone with a lot more experience in this topic.



          • Mar 10, 2020 - 9:20 AM - seraphinmi Comment Link

            Thanks for the quick reply Hans. I’ll check the post, it is very recent (Feb-2020!)


          • Mar 10, 2020 - 9:34 AM - Hans - Author: Comment Link

            You’re most welcome.
            Apologies that it probably isn’t the easiest thing to do …


  • Dec 14, 2019 - 12:40 PM Comment Link

    […] Raspbian Buster from 2019-09-26 and Apple Pi Baker 2 to prepare the micro […]

  • Dec 30, 2019 - 11:05 AM - Hamza Comment Link

    Hi Hans,

    Thank you for the great effort you are putting in this update. Im having a problem with Catalina. Every time I launch the app and choose or load any SD card the app freeze. I tried to run it through the terminal as mentioned above, but that’s not resolving the issue. I tried to uninstall and remove the helper as mentioned before the reinstall the app again and still having the same problem.



    • Dec 31, 2019 - 4:44 AM - hans - Author: Comment Link

      Hi Hamza,

      Did you update your Catalina to 10.15.2?
      What version of ApplePi-Baker are you using?

      Oh and … Happy New Year 



      • Jan 2, 2020 - 5:31 AM - Hamza Comment Link

        Hi Hans,Thanks for you reply and Happy New Year :D Please see a screenshot of my system detailsIm using Catalina 10.15.2ApplePi-Baker 2.2.3

        22:28:02  Initialization Info
        22:28:02 - ApplePi-Baker 2.2.3 (Build 1)
        22:28:02 - macOS Version 10.15.2 (Build 19C57) x86-64 (64 bit application)
        22:28:02 - libarchive 3.3.3, by Tim Kientzle
        22:28:02 - liblzma 5.2.4, by Mike Kezner et al.
        22:28:02 - zlib 1.2.11, by Greg Roelofs && Mark Adler
        22:28:02 - bz2lib 1.0.6, by Julian Seward
        22:28:02 Found Correct HelperTool version (1.8.2)



    • Jan 1, 2020 - 6:25 PM - Philip Graham Comment Link

      I’m having similar issue… I install applePi-Baker and every time I try to open a sd card I get the pop-up to give permissions which I did.

      ApplePi-Baker version: 2.2.3 (Build 1)

      (Helper Tool version 1.8.2)

      Operating System version:


         Version 10.15.2 (Build 19C57)

         x86-64 (64 bit application)


      Philip Graham

    • Jan 4, 2020 - 5:40 AM - hans - Author: Comment Link

      Hmm, that’s not good 

      It is difficult, if not impossible, to debug if I cannot reproduce the issue.
      I do see in Hamza’s screenshot that Full Disk access fails (3 times), which means APB cannot read (backup) or write (restore) to disks, which is a big problem of course.
      Did you add ApplePi-Baker in “System Preferences” – “Security & Privacy” – “Privacy“ – “Full Disk Access“?

      Apple made a little bit of a mess with their new security rules, and when APB is not added, the Full Disk Access will fail.
      Can you verify?



      • Jan 24, 2020 - 7:07 AM - Hamza Comment Link

        Hi Hans, Sorry for the late reply. Yes, I added ApplePi-Baker in “System Preferences” – “Security & Privacy” – “Privacy“ – “Full Disk Access“



      • Jan 25, 2020 - 6:13 AM - Hans - Author: Comment Link

        Apple seems pretty inconsistent when it comes to the “Full Disk Access”.
        On my Mac I have just added “ApplePiBaker” to “Full Disk Access” and it is checked.

        Looking at what has “Full Disk Access” at a later time, now shows me “com.tweaking4all.ApplePiBakerHelper” listed as well (even though it is not checked).
        Can you see if it is listed on yours? (not sure if it matters – again, Apple is a little sketchy when it comes to this)

        Also, as stupid as it may sound: did you reboot your Mac lately?
        Not sure if this helps either, but worth a try: did you try resetting the SMC?



        • Jan 29, 2020 - 3:21 AM - Hamza Comment Link

          Hi Hans,

          I don’t have (com.tweaking4all.ApplePiBakerHelper) listed, however I added it and checked, but it still the same. 

          Also restarted the device and reseted the SMC. Nothing changed. Please the screenshot below,

          Looks like its get frozen after (Partition Mounted – /dev/disk1s3)



        • Jan 29, 2020 - 3:45 AM - Hans - Author: Comment Link

          Well it seems you have done everything we can come up with.
          Can you try (if you haven’t already) starting without any external disk connected (so no USB drives or SD cards)?

          To me it is a little weird that we see “Partition Mounted – /dev/disk1s3”, since disk1 is usually a synthesized disk on disk0 (your boot drive).
          Normally one would not see this message at APB startup. Of course, it could be that your main disk is still using the old way (versus Apple’s “new” way).
          On top of that: already mounted/connected disks should not show a message at startup (which could also be where the issue takes places).



          • Jan 29, 2020 - 4:03 AM - Hamza Comment Link

            Hi Hans,

            I always start the app with SD card plugged in. When i try to open the app without any external disks, the app works fine without any problem. once i connect any external device the app froze immediately.


          • Jan 29, 2020 - 4:13 AM - Hamza Comment Link


            Ive realised something. When the SD card is connected the app works, but when i connect the external hard drive the app freeze. I think because I’m using NTFS hard drive. I use tuxera disk manager to make it compatible with the Mac. Im not sure if this is relevant or not.


          • Jan 29, 2020 - 5:22 AM - Hans - Author: Comment Link

            Good catch – this could be very relevant!

            Of course, I can’t say much about Tuxera Disk Manager since I do not use it (I use Paragon “NTFS for Mac” and “extFS for Mac” to access NTFS or Ext disks – neither of them causing any issues and working butter smooth). 

            I’m pretty sure Tuxera will “listen” or “look at” connected disks, and maybe they are not doing it the right way (or APB isn’t doing it the right way of course, but since the Paragon tools do not conflict, providing a similar service, I’d like to think this is a Tuxera specific problem).
            It may be that Tuxera blocks or interferes with the API calls APB is using to detect the available disks.
            Besides getting the mounted devices, additionally APB scans the “IORegistry” to find the device details (brand, model, connection type, size, etc).

            On that note, Seagate has made Paragon NTFS for Mac available for free.
            This is a full version and not a trial!
            I’ve tested this version on a few Macs and it works even if you do not have a Seagate disk, so this may be worth a try as an alternative to Tuxera.

            Note : if you are considering testing Paragon NTFS for Mac, then please make sure to completely uninstall Tuxera first.
            The Tuxera website/FAQ is very clear how using both will become a problem.


          • Jan 29, 2020 - 6:25 AM - Hamza Comment Link

            Hi Hans,

            I have done everything as you mentioned above, but unfortunately I’m still having the same issue.

            Please see below the screenshot



          • Jan 30, 2020 - 3:13 AM - Hans - Author: Comment Link

            Do I understand this correctly:
            So even with Tuxera completely (!) removed (and rebooting the Mac after that), connecting the external disk still causes APB to freeze?


          • Feb 1, 2020 - 1:32 AM - Hamza Comment Link

            Hi Hans,

             Unfortunately yes. when i connect the hard drive APB freezes immediately, then I closed it and reopened it again whilst the external drive connected.  It was okay until i started restoring one image from the hard drive to one sd card and it froze again.


          • Feb 1, 2020 - 5:54 AM - Hans - Author: Comment Link

            I’d really like to help resolving the issue.
            It seems something is interfering, but from a distance, and not being able to reproduce the issue, makes it very difficult to resolve the issue.
            Here I’m a little lost (also because I get tons of question each day): so APB works fine when the disk is NOT connected, right?


          • Feb 2, 2020 - 4:48 AM - Hamza Comment Link

            Hi Hans,

            I really appreciate your time trying to solve my issue. Yes, It woks fine without connecting the external hard drive. I you need to access my computer with TeamViewer I’m more than happy to do that.

            Thanks again


          • Feb 4, 2020 - 3:47 AM - Hans - Author: Comment Link

            Hi Hamza,

            I’d love to resolve the issue, and thank you for offering remote access.
            Unfortunately, without my dev tools, I wouldn’t be able to do much, and I wouldn’t want to install all that on your computer.

            My best guess is that some software is interfering because of that extra disk.
            I assume you managed to completely uninstall Tuxera (which can be hadr, since it will not be a simple “drag to the Trash”).
            This would be my first suspect.


  • Jan 3, 2020 - 10:22 AM - cedric Comment Link

    hi; happy New Year All

    I need some help.

    Running on MacBook Pro (15-inch, 2017).   version 10.14.3

    2,9 GHz Intel Core i7./ 16 Go 2133 MHz LPDDR3

    I run ApplePI bakerV1.9.5

    My problem, I tried different external hard drive, with different format Fat 32. MS-DOS (FAT32), EX FAT…. none of them have been recognized by the do not know what to do …Any help?

    Thank you if you can help.




    • Jan 4, 2020 - 5:57 AM - hans - Author: Comment Link

      Happy New Year to you too! 

      Unfortunately, support for ApplePi-Baker 1.9.x has been dropped. It’s just too hard to maintain several versions at the same time.
      The last version (1.9.9) was a quick compile to support 64bit and Catalina users when Apple’s macOS 10.1.5 release had a serious “bug”.
      Maybe that one works.

      I’d recommend using version 2.x though (it’s been a while that I have tested this under 10.14 though).

      Neither versions (1.x and 2.x) will look at the format for the disk. Both will just do a raw byte-by-byte copy of a disk, no matter what is on it, even when the disk is formatted in an exotic format (with the exception in v2 when using Shrink or Expand partitions).

      With version 1.x I’d carefully assume that the command line tools are not providing the right details, or not in the right wording.
      V1.x relied on the output of commands like diskutil and dd. Unfortunately Apple made it a habit of it, to change the output of some of these command frequently. This is one of the reasons why v2.x no longer uses these tools.



  • Jan 4, 2020 - 5:14 PM Comment Link

    […] No Mac você pode usar o Etcher ou o Apple Pi Baker […]

  • Jan 7, 2020 - 4:59 AM - Riccardo Comment Link

    Hi, I installed the latest version of ApplePiBaker (2.2.3) to backup my Raspbian (stretch) SSD and restore it on a new SSD which is slightly smaller (32,1GB vs 32,2). I selected the Shrink option but despite that in the advanced disk panel the 30GB partition is shown as “Linux Ext3/Ext4”, ApplePiBaker says it cannot find appropriate Linux partition and skips the Shrink option when doing Backup… any hint of what could be wrong?




    • Jan 7, 2020 - 5:39 AM - hans - Author: Comment Link

      Hi Riccardo,

      ApplePi-Baker’s shrink/expand function comes with some limitations/requirements:

      1) The disk needs to be using the MBR partition scheme
      2) The Linux partition needs to be a regular partition, so not a extended partition or anything like that
      3) APB will look at the first Linux partition it finds.

      Not supported are GUID partitioned disks, and Extended Partitions (MBR).

      Without the info of your disk, I can’t really say much about what may have gone wrong.
      Note: in Advanced view: right click disk, and select “Copy Partition Table Info from Selected Drive” – the info can now be pasted in a comment or and email.
      If you prefer to look at this by email: webmaster at tweaking4all dot com.



      • Jan 8, 2020 - 2:01 AM - Riccardo Comment Link


        thanks for the feedback, here you go

        [Disk Details Removed]

        And obviously disk2s7 is the partition I would hope to be able to shrink..




      • Jan 8, 2020 - 4:28 AM - hans - Author: Comment Link

        Hi Riccardo,

        I’m afraid you posted the wrong info …
        In Advanced View, right click the disk and choose “Copy Partition Table Info from Selected Drive” (you used “All Drive details” instead).

        The output should look something like this:

        Partition Table Info of /dev/disk2
          Size: 32,023,511,040 Bytes (62,545,920 Sectors)
          Partitioning Layout: Master Boot Record (MBR)
          Partition 1: FAT32 Partition
          - Start Sector = 2,048 (1,048,576 Bytes)
          - Partition Size = 62,543,872 (32,022,462,464 Bytes)
          Partition 2: Empty Partition
          Partition 3: Empty Partition
          Partition 4: Empty Partition


        • Jan 8, 2020 - 9:43 AM - Riccardo Comment Link

          Hi sorry you’re right here it is


          Partition Table Info of /dev/disk2

            Size: 32,010,928,128 Bytes (62,521,344 Sectors)

            Partitioning Layout: Master Boot Record (MBR)

            Partition 1: FAT16 Partition
            – Start Sector   = 8,192 (4,194,304 Bytes)
            – Partition Size = 3,267,199 (1,672,805,888 Bytes)

            Partition 2: DOS 3.3+ Extended Partition
            – Start Sector   = 3,275,391 (1,677,000,192 Bytes)
            – Partition Size = 59,639,169 (30,535,254,528 Bytes)

            Partition 3: Empty Partition

            Partition 4: Empty Partition

          Now it’s also clear why it didn’t work. I thought that Raspbian had Linux partition but in my case it’s actually DOS 3.3+…

          Thanks anyway!



        • Jan 9, 2020 - 5:20 AM - hans - Author: Comment Link

          Yep that is the info I was looking for. 
          The second partition is an Extended partition (eg. it is a partition that holds one or more other partitions – see this explanation).

          You’re not the first person to run into this, and to be honest it is a total mystery to me why the Raspbian team would actually do this.
          If more partitions would have been needed, they could have used the 2 empty partition slots for that (#3 and #4), and the use of an extended partition is not of these times anymore (but that is just my opinion). But then again; I do not know how they decision process was when they decided to use extended partitions.

          Since Extended Partitions come with a whole bundle of new challenges, for me as the APB developer, and since they hardly ever were used with Raspberry Pi images, I chose to not implement this. Maybe I will in the future, but it would take quite a bit of time for me to become familiar with all the technical details and with my luck, but that time GUID partitioning may become mainstream.

          Theoretically one could convert the (Logical-) partition(s) on the Extended Partition to Primary partition(s), but it would involve some work (backup all the files, remove the extended partition, create a primary partition, copy the files back, and possibly change some config files). I’ve heard Paragon Partition Manager (not free) is able to do this for you, maybe GPartEd has a function like that as well. As you can see: it will not be a quick and easy thing to do 

          Maybe a request with the Raspbian team to “ask” if extended partitions should be used during setup (this did not used to be that way).
          I noticed in this explanation that there are an excessive (IMHO) amount of partitions created when using NOOBs, to accomodate (as far as I understand) multiple OS versions/variants.

          I’ve added the option to resize partitions in an extended partition to my “to do” list, but considering the amount of work it would take, I doubt it will be any time soon. Sorry 



          • Jan 9, 2020 - 6:58 AM - Riccardo Comment Link

            Thanks a lot for your explanation and for the good work! I just used APB to create a new system from scratch on the smaller SSD and noticed that the newer Raspberry image has a better structure (see below) so maybe not worth doing all the work in APB to support a structure that has gone away…

            The only question is why the Partition 2 was expanded only to 14GB leaving 17GB of empty space on SSD… especially because the temporary image in my tmp directory was actually 32GB… maybe this partition will autoexpand once mounted in a RPi? I don’t have one here with me now to try…



            Partition Table Info of /dev/disk2

              Size: 32,010,928,128 Bytes (62,521,344 Sectors)

              Partitioning Layout: Master Boot Record (MBR)

              Partition 1: FAT32 Partition
              – Start Sector   = 8,192 (4,194,304 Bytes)
              – Partition Size = 524,288 (268,435,456 Bytes)

              Partition 2: Linux native Partition
              – Start Sector   = 532,480 (272,629,760 Bytes)
              – Partition Size = 28,903,128 (14,798,401,536 Bytes)

              Partition 3: Empty Partition

              Partition 4: Empty Partition


          • Jan 9, 2020 - 12:00 PM - hans - Author: Comment Link

            Thanks Riccardo! 

            As far as I know, the Raspbian images (used to) have a fixed size and on first boot it will resize to full size. I think it can also be started manually by calling “raspi-config” (if I remember correctly). Did you use the expand function on APB?


  • Jan 9, 2020 - 5:15 AM - Jean-Marc Verniajou Comment Link


    Thank’s a lot for all the hard work ! I would suggest adding a *0 if you read nothing else* section before the section *1 Overview* with the fellowing content or something alike:

    – After install and full disk access setup, please consider rebooting your Mac ;-)

    – If APB’s log shows access to the target disk triggers errors, please use diskutil unmountDisk with the device path that is listed in the log (example : diskutil unmountDisk /dev/disk4)




    Jean-Marc Verniajou

    • Jan 9, 2020 - 5:33 AM - hans - Author: Comment Link

      Hi Jean-Marc!

      Thanks for the suggestion – I realize this is a lot of info, I just wanted every user to have access to an explanation how AP works. It indeed has been a LOT of work to get to this point (thanks Apple!).

      I’ll consider adding a FAQ/Quick Start section at the beginning, as soon as I have time (working on another application at the moment). 
      (I’ve added it to my to-Do list)



  • Jan 17, 2020 - 1:39 PM - Ledan Comment Link

    Hi. I am using ApplePiBaker 2.2.3 an MacOS 10.12.6. The Pi Baker crashes immediatly after loading the SD drive when i click “Backup” or “Restore”. The following information is shown:

    ….Application Specific Information:
    *** Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘-[NSApplication runModalForWindow:] may not be invoked inside of transaction commit (usually this means it was invoked inside of a view’s -drawRect: method.)’
    terminating with uncaught exception of type NSException
    abort() called….

    Any ideas? I wondering, because it worked some times and suddenly no more???



    • Jan 19, 2020 - 5:22 AM - Hans - Author: Comment Link

      Hi Ledan,

      To be honest: I’m surprised it even ran on macOS 10.12.6 … I’ve never tested it on 10.12, and it was developed against the macOS SDK of 10.14.

      The error you’re seeing occurs when a window is changed or opened, while the application is updating said window.
      I’ve noticed this in previous versions (but you have the latest version), and thought I had corrected this.

      I will have to add this to my “to-do” list, since I’m in the middle of another large project.
      Since I cannot reproduce the problem on any of my Mac’s, it will be hard to test.

      Would it be OK if I contact you in the near future for testing?



      • Jan 19, 2020 - 11:54 AM - Ledan Comment Link

        Hi Hans

        since yet I am very happy with OSx 10.12.6 and not going to upgrade my mac. If I can help you can contact me directly. 




      • Jan 20, 2020 - 4:14 AM - Hans - Author: Comment Link

        Email me at: webmaster at tweaking4all dot com 



    • Apr 20, 2020 - 3:38 PM - Alden Comment Link

      I have also experiencing crashing with the same error in the console. macOS 10.13.6 on a MacBook Pro, ApplePi-Baker 2.2.3 (build 1) and Helper Tool 1.8.2. The application launches, let me select a disk, but as soon as I click to choose the restore image, the app quits with console message as above:

      Application Specific Information:
      *** Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘-[NSApplication runModalForWindow:] may not be invoked inside of transaction begin/commit pair, or inside of transaction commit (usually this means it was invoked inside of a view’s -drawRect: method.)’
      terminating with uncaught exception of type NSException
      abort() called



      • Apr 21, 2020 - 5:12 AM - Hans - Author: Comment Link

        Hi Alden,

        thanks for reporting, and sorry to hear you’re running into issues as well 

        I am having the hardest time to debug macOS 10.13.x, you could try the latest beta, but I doubt it will fix the issue.
        This seems to be an issue related to dark theme support (bug in my code). I will try to what I can do to resolve the issue.



        • May 5, 2020 - 9:50 AM - spanno Comment Link

          I have the exact same issue, with the same OS/Hardware setup. Applepibaker quits as soon as I try to select the option to create a backup.

          System Version: macOS 10.13.6 (17G12034)
          Model Name: MacBook Pro
          Model Identifier: MacBookPro8,2
          Processor Name: Intel Core i7
          Processor Speed: 2,2 GHz
          Number of Processors: 1
          Total Number of Cores: 4
          L2 Cache (per Core): 256 KB
          L3 Cache: 6 MB
          Memory: 4 GB
          Boot ROM Version:
          SMC Version (system): 1.69f4

          will fall back on version 1.9, pretty awesome too. thanks Hans!



        • May 6, 2020 - 4:12 AM - Hans - Author: Comment Link

          Thanks Spanno for confirming.

          I think this may be related to the old 10.13 macOS version. I’ll try and see if I can disable the dark theme support (or refresh) for macOS < 10.14.



          • May 6, 2020 - 5:10 AM - spanno Comment Link

            OK, cool. Let me know if you need me to test.

            thank you!


          • May 6, 2020 - 6:50 AM - Hans - Author: Comment Link

            Will do! I’ll post it here as a beta.
            Maybe a little later in the week though …


  • Jan 19, 2020 - 9:16 AM - Hans - Author: Comment Link

    Bootable USB Stick from ISO

    Since I never had really done much testing with ISO files, to create a bootable USB stick, and found it to be working great, I thought I’d post this here.

    In the past few days I’ve flashed some ISO files of Linux distributions (Ubuntu, LinuxMint, ElementaryOS, to name a few) with ApplePi-Baker straight to a USB stick.
    If the target computer supports booting from USB stick (I’ve tested this on an old Lenovo laptop) then you’ll find that this works great!

    If anyone has experience with other ISO files (for example Window 10 anyone?), then please feel free to reply to this topic, listing the ISO you’ve used.



  • Jan 19, 2020 - 4:37 PM - Kit Comment Link


    I am a beginner with Raspberry Pi. I was looking for a way to backup my SD card when I came across this post. I’ve downloaded ApplePi-Baker v2.2.3, and I’ve read your documentation, but I had two questions:

    1) When I inserted my SD card into my mac, I saw ‘boot’ and ‘RECOVERY’ show up under Devices. To backup the SD card, should I back up both ‘boot’ and ‘RECOVERY’ into separate img files? I just finished backing up ‘boot’ as an img and it took a little over a hour to do so I was wondering if I was doing this correctly.

    2) My second question is, how would I go about restoring a SD card? Would I need to select the back up img(s) of the ‘boot’ and ‘RECOVERY’ (ie. selecting them both under Select Disks(s) then click Restore) or is the backup done only with the ‘boot’ img…? 

    I’m using a Raspberry Pi4 with Raspbian and a macOS High Sierra (version 10.13.6). Again, I’m completely new to Raspberry Pi, so any advice would be much appreciated!





    • Jan 20, 2020 - 4:38 AM - Hans - Author: Comment Link

      Hi Kit,

      welcome to the Raspberry Pi community 

      As for your question:

      An IMG holds a copy of an entire disk (device), with literally every single byte found on the original disk, so this includes “empty” bytes and partitions with everything on it.

      Note that the word “disk” is used mixed (so I do understand the confusion):
      1) it can be used to indicate either a physical device – say your SD card (for example /dev/disk3) or
      2) to indicate a partition which is a section on the physical device, which potentially will shows up as a disk on your Mac (for example /dev/disk3s1).

      You mention “boot” and “recovery” – both will most likely be partitions.
      ApplePi-Baker only makes backups of entire disks (physical device), even when you select “boot” or “recovery”.
      There are several reasons for that, but simply put: you would not be able to use a backup of a single partition. At least not without adding things like a bootsector, partition table etc. which are needed for your computer or Raspberry Pi to locate the data on the physical disk.

      So when you say you made a backup of “boot” then you’d most likely made a copy of the entire SD card.
      The fact that it took this long is a reasonable indication that the entire disk was copied. This must have been a large SD card and/or your card reader is connected to a slow USB connection.

      To “test” your IMG: double click the IMG file, and open ApplePi-Baker. Now in APB go to the “advanced view” (the icon directly next to the word “Functions”).
      You IMG should show there as a disk. Click the “+” in front of the disk and you’ll see “Partitions” listed.

      Hope this clarifies that 



      • Jan 20, 2020 - 6:46 PM - Kit Comment Link

        Hi Hans,

        Thank you very much for the helpful explanation!

        You were right; I think ApplePi-Baker did copy my entire SD card when I chose to backup ‘boot’. In the Advanced Disk Panel the ‘boot’ IMG file is displaying as /dev/disk2 and under its Partitions, I can see both “recovery” and “boot” listed.

        I didn’t mention it before but I was using a 64GB SD card so, as you’ve said, maybe that’s one of the reasons why it was slow to back up.

        Thanks again for your time. This is a great program!




      • Jan 21, 2020 - 4:40 AM - Hans - Author: Comment Link

        Cool! Glad I could help! 



  • Jan 27, 2020 - 7:50 AM - Mike Comment Link

    Hey there,

    just a little idea for small improvement. I tried to make backup today but I did not know I did not have enough space for the actual backup. The error message was rather cryptic “Read/Write mismatch”. It took me way too long to figure out what was wrong. Such a stupid mistake but I think the UX could be improved here a little. 



    • Jan 28, 2020 - 4:32 AM - Hans - Author: Comment Link

      Thanks for the suggestion Mike 

      I agree, this should have been there to begin with.
      It is on my To-Do list, but I have a few other projects to finish first. Once I get to APB, I’ll most certainly add this. Something like a estimated needed space vs available space warning. And/or a check if a disk is full on read/write error.



      • Jan 28, 2020 - 5:52 AM - Mike Comment Link

        It’s all good. Thanks for this great tool! I have been using it for DYI RPi projects for years now.



      • Jan 28, 2020 - 8:11 AM - Hans - Author: Comment Link

        Thanks Mike! And thanks for using ApplePi-Baker 

        Note: did you know you can also flash an ISO file with APB to make a bootable USB stick? I just did this a couple weeks ago with some Linux ISO files. Works great.



  • Feb 12, 2020 - 10:38 AM Comment Link

    […] SD card, even it was only half full. All three of these scenarios can usually be tackled e.g. with ApplePi-Baker v2, but it fails if your starting point was NOOBS. … As I googled for a HowTo like this and […]

  • Feb 19, 2020 - 9:14 PM - Jared Comment Link

    I was wondering if it might be possible to support resize for gpt images. I have a number of embedded linux based tool sets I boot from that are configured this way, and it would add flexibility to the process of managing the USB sticks I use.



    • Feb 20, 2020 - 4:14 AM - Hans - Author: Comment Link

      Hi Jared,

      thanks for using ApplePi-Baker. 

      Support for GPT is not impossible, but GPT is a far more complex mechanism than the standard MBR partition scheme.
      Frankly, I’m wondering why GPT is even used for embedded Linux.

      Anyhoo, I noticed this post on changing your partitioning from GPT back to MBR. Not a fun thing to have to do, I understand.
      For now I unfortunately do not have the time or means to implement GPT support – building APB to adjust to Apple’s requirements already took a LOT of time (almost 2 years working on it) and I’m just one person 



  • Feb 23, 2020 - 10:38 AM - Bernhard Comment Link

    Great tool, works perfect!

    But not with corrupted cards. If you need ideas for version 3: integration of ddrescue for damaged cards. :)
    I first cloned my damaged card with ddrescue (to a card with the same size) and then I could use ApplePiBaker for backing up, resize and restore on a smaller card.



    • Mar 3, 2020 - 6:36 AM - Hans - Author: Comment Link

      Hi Bernhard!

      Excellent tip! I’ll add it to my To-Do list as an option to explore! 



  • Mar 2, 2020 - 5:51 AM - Oliver Comment Link

    Hi Hans,

    PiBaker is a great tool. Have been using it for nearly 4 years now (wow!) But the latest version leaves me kind of baffled as to which settings are in effect and which aren’t. The design is modern and cool, but alas, low contrast is really not working well with my old buggy eyes. Why is there no comprehensive settings screen, with simple checkboxes or lists? Just now I backed up a card and was certain I enabled partition resize…but the 32Gig card was saved into a 32Gig image. Please consider a nice old fashioned settings dialog for the less stylish users like me ;-)



    • Mar 3, 2020 - 6:42 AM - Hans - Author: Comment Link

      Hi Oliver!

      Thank you for the valuable feedback!

      Rearranging the interface to go with checkboxes and such will take quite a lot of work (not to mention: destroy the look I was going for). However … I could do some tests and see if I can create a high-contrast option, if you think that may help?

      For example: all the grays become black and the light grays become gray?
      Or have disabled buttons an even lighter gray, so the highlighted (enabled) buttons stand out more?

      As I’m not experiencing this issue myself, any input would be most welcome, so I can consider implementing something like this.

      Feel free to reply to the notification email or email me at webmaster at tweaking4all dot com.
      If you’d like, include a screenshot with notes, so I get a better idea what I can do.



      • Mar 3, 2020 - 7:42 AM - Oliver - Author: Comment Link

        Hi Hans,

        I thought you could just leave the UI as is, only implement a settings menu and open up a (modal) form with a more old school dialog where those settings could be implemented. BTW:  am a Delphi developer, so I applaud your choice of Language.




      • Mar 3, 2020 - 9:46 AM - Hans - Author: Comment Link

        Hi Oliver!

        A fellow Delphi developer! Cool! 

        I’ve been developing with Delphi since its first release way back when.
        The only reasons why I’m using Lazarus Pascal:
        – Development for Linux (GUI)
        – VCL (LCL) for all platforms (not a FireMonkey fan)

        I could indeed implement a settings form, let me think about the easiest way to implement that.
        I can imagine that quite a few people would rather not see this, so it will have to be optional somehow.

        I’ve added it to my To-Do list 



  • Mar 5, 2020 - 1:14 PM - Janis Comment Link

    I used this tool a lot until version 2 came out. It freezes almost immediately after startup. I tried 2.1.7 and 2.2.3.

    Macbook air with 10.15.3 (but also previous OSX versions)

    1.9.9 does work



    • Mar 6, 2020 - 3:39 AM - Hans - Author: Comment Link

      Hi Janis,

      please give the beta a try, I just released 2.2.5 as a beta.
      I cannot reproduce the issue on the 4 Macs that I can test on, so assistance of users is pretty much a must for me to fix this.
      Any help is very much appreciated.



  • Mar 7, 2020 - 7:58 AM Comment Link

    […] do this, I use ApplePi-Baker software developed by the ingenious Dutchman Hans Luitjen for macOS (he just released a brand new version […]

  • Mar 18, 2020 - 12:04 PM - Jean Comment Link

    Hi, I have a problem when I try to open the ApplePi-Baker V2 dmg file downloaded from the link on this page (ApplePi-Baker-v2.2.3.dmg), I get an error message saying that there is no filesystem to be mounted. Tried it several times, with no success at all. But I can download and run ApplePi-Baker-1.9.9.dmg without problem. Using an old 2008 iMac and macOS 10.11.6… Thanks for your help ! Jean



    • Mar 19, 2020 - 4:12 AM - Hans - Author: Comment Link

      Hi Jean,

      Sorry to hear things aren’t quite working …
      I’m not sure what to tell you. macOS 10.11 is quite old, and I have not tested APB2 with this – and I do not have a copy laying around either.
      I’ll try to create a VM in the next few days and will do some testing, but since the OS is this old, it wouldn’t surprise me if certain things simply will not work 



    • Mar 19, 2020 - 7:01 AM - Hans - Author: Comment Link

      I’ve done several attempts to find a copy of macOS 10.11.x, but Apple doesn’t provide them anymore.
      And as far as I can see, you cannot upgrade to a newer OS either (seems El Capitan is the last version that would work on your 2008 iMac).

      My recommendation for now: keep working with v1.9.9.
      I do not yet have the means to test and/or modify the current version for 10.11 – I’m truly sorry 



  • Mar 18, 2020 - 12:39 PM - Balthasar Comment Link


    I cannot give Full Disk Access to ApplePi-Baker’s privileged helper tool in 10.15.3. I tried both ApplePi-Baker version 2.2.3 and 2.2.5 beta.

    When trying to add the privileged helper tool to FullDiskAccess, your helper tool is greyed out.
    Hence, whenever I try to read an SD card, it fails the full disk access test.

    (It worked before, but I guess it was still on 10.14 when I ran it last time.)

    ApplePi-Baker version: 2.2.3 (Build 1)
    (Helper Tool version 1.8.2)

    ApplePi-Baker version: 2.2.5 (Build 21)
    (Helper Tool version 1.8.2_debug)
    Operating System version:
       Version 10.15.3 (Build 19D76)
       x86-64 (64 bit application)



    • Mar 19, 2020 - 4:18 AM - Hans - Author: Comment Link

      Hi Balthasar!

      Yeah Catalina sure has its issues 

      If you’re up for it:
      With the debug version, you’d be able to see quite a lot of messages in Console.
      Open Applications -> Utilities -> Console, on the left hand side, under Devices, select your Mac. Netx set the filter in Console to “APPLEPIBAKER” to filter out less relevant info and start APB (debug version).

      NOTE: Please do not post the log in the comments here, but do feel free to start a forum topic or email me directly (webmaster at tweaking4all dot com).
      Maybe I can see what is happening from the log. 



  • Mar 24, 2020 - 7:52 AM - Kevin Comment Link

    Hi!  Great tool.  I last used version one and it worked great to backup and restore a RetroPie image.  I have a 128g SD card I am trying to backup and restore using baker 2.0.  I seem to be running into issues.  I am running Catalina 10.15.3.  It lets me back up and chooses .zip automatically.  When I go to restore, it says it can’t unmount the disk. I will keep tinkering, but am I doing something wrong?  Should I be choosing a different format like .img.  Maybe erase/reformat the target 128g (same exact type of card by the way – Samsung EVO) before?  Sorry if this is vague.  I can get more info if needed.  



    • Mar 24, 2020 - 8:11 AM - Hans - Author: Comment Link

      Hi Kevin!

      Try using Disk Utility (Applications -> Disk Utility) to unmount the disk (do NOT eject the disk).
      APB asks macOS to unmount, through the official Apple API, and I’ve even added the option “force”.
      Yet in some rare cases, your Mac won’t unmount the drive.
      This may have to do with another application, not allowing you to unmount the drive.
      So to give it some more time, try unmounting with Disk Utility first before doing a restore.

      Hope this helps   



      • Mar 24, 2020 - 9:25 AM - Kevin Comment Link

        I think the back up worked great. It created a .cdr and I saved in the format of the DVD Master.  I hope that was right?  If so – what is next step with Baker?  Should I change the extension to .iso as I have been reading in the online forums?  I do see in baker forums that ISO may not be good?  or could be fail?  Should I do .img?  Not sure where to go from here.  Right now, on my hard drive, I have a nice, what I think would be expected, 126g .cdr file.

        Thanks so much for your help sorry to be such a newb…



      • Mar 24, 2020 - 10:42 AM - Hans - Author: Comment Link

        Hi Kevin!

        Well, originally APB was not designed to create CDR or ISO files, so I’m not sure what you’re trying to do.
        On that note: I’ve restored bootable ISO files to USB sticks with APB (like Linux Live CD’s, and install CD’s) and they seem to work.

        Not sure which baker forum you’re referring to?

        The native format would be an IMG file.
        Since quite a lot of compression could be done, using something like ZIP or TGZ (I’d recommend TGZ) can reduce the file size significantly.

        On that note: an IMG file (or a after decompressing a compressed IMG file) can be written with most tools that support the IMG format – it is in essence a “raw” copy of every byte (used or not) of the disk. Tools like “dd” support this as well, as does Win32Diskimager, and a couple other tools out there.

        So the best format for speed would be IMG, and the best format for size would be TGZ (or TXZ).

        An other advantage of an IMG file (or ISO file) would be that most Operating Systems (macOS included) can mount them directly (if not compressed with ZIP, TGZ or TXZ), so if you ever need access to a file from your backup, you could simply mount the file and access the file you’re looking for. On that note: mounting only works if your operating system supports the filesystem used in the backup.
        Most Raspberry Pi / Linux backups will have a “Ext” filesystem and your Mac doesn’t natively read that.
        For that you could use a 3rd party tool like OSXFuse (free, but is not the fastest) or Paragon ExtFS (not free but performs very well).



  • Apr 1, 2020 - 11:54 PM - Alex Comment Link

    First things first, THANK YOU, ApplePi-Baker is spectacular and solves in one utility all of my rpi-image-related problems. Couldn’t be more appreciative! Do you have a preferred method for donating cash? I don’t have any bitcoin.

    Second things second, I noticed an odd behavior that uses a lot of CPU: I restored a (previously resized, if it matters) .img to an SD card, and walked away for dinner. When I came back, my MBP fan was on, and it looks like ApplePi-Baker’s “your image is flashed!” prompt spins and burns cycles rather than the thread sleeping on user response. The app was at 99% CPU, sustained since presumably flashing finished. Not a big deal, but also probably not intended.

    And lastly, all the version info:

    ApplePi-Baker version: 2.2.3 (Build 1)

    (Helper Tool version 1.8.2)

    Operating System version:


       Version 10.14.6 (Build 18G3020)

       x86-64 (64 bit application)

    Hope the apocalypse is treating you well!



    • Apr 2, 2020 - 6:29 AM - Hans - Author: Comment Link

      Hi Alex!

      Thank you for the very nice compliment – it is very much appreciated.
      You can donate (not required, but most certainly welcome) through PayPal (send it to hans at luijten dot net).

      Oh wow, a 99% spike in CPU and a running fan. Something must be going bonkers (excellent that you posted the version details – most people forget that). I see that you’re using 2.2.1, maybe you’d like to try the current version (2.2.3) or the beta (2.2.5).
      No guarantees that either of them is better – but overtime I did make a few changes.
      Note: probably a good idea to save a copy of 2.2.1 first, since it mostly seems to work well for you (you can rename the app in your Applications directory – the helpertool will correct itself if you decide to switch back).

      Let me know if either made a difference. Testing under 10.14.x is a little challenging for me (I have to run it in a VM, which comes with other issues not related to APB).



  • Apr 5, 2020 - 7:37 AM - Franc Comment Link

    Hi, and thanks for building and sharing this Pi(++) tool. After downloading, dragging to Applications folder and dbl clicking to launch, up pops this  Warning window: 

    The following disk images couldn’t be opened.

    Image: ApplePi-Baker-v2.2.3.c  Reason: no mountable file systems.

    My MBP is running ElCap 10.11.6

    How big is the ApplePi download file supposed to be on disk? My copy says 6,204,629,298 (6.2 GB).

    Any suggestions welcome. Thanks in advance.



    • Apr 5, 2020 - 7:45 AM - Franc Comment Link

      Sorry, file size previously stated is wrong. Correct size is 4,123,030 bytes (4.1 MB on disk). 

      Re-downloaded and re-launched, same warning, same problem. 



    • Apr 5, 2020 - 8:01 AM - Hans - Author: Comment Link

      Hi Franc,

      a file-size of 4.1 Mb is correct for the release version.
      I do see however that you’re using a very old macOS version – so the problem could be related to that.
      Just to make sure, I have downloaded 2.2.3 again and the DMG opened just fine under Catalina.

      I have no means to test APB under 10.11.x 

      You could try v1.9.9 – even though no longer maintained, and based on the old version, it may still work just fine for you.
      If that DMG doesn’t work either, you can give the zipped 32 v1.9.5 a try.



      • Apr 5, 2020 - 8:36 AM - Franc Comment Link

        Thanks Hans. 

        My file system is still HFS, could that be the issue? 

        I checked the downloaded .dmg file (hdiutil attach -noverify -nomount) and below is the info:

        $ diskutil list

        /dev/disk4 (disk image):


           0: GUID_partition_scheme +20.0 MB disk4

           1: 7C3457EF-0000-11AA-AA11-00306543ECAC 20.0 MB disk4s1

        $diskutil info /dev/disk4

           Device Identifier: disk4

           Device Node: /dev/disk4

           Whole: Yes

           Part of Whole: disk4

           Device / Media Name: Disk Image

           Volume Name: Not applicable (no file system)

           Mounted: Not applicable (no file system)

           File System: None

           Content (IOContent): GUID_partition_scheme

           OS Can Be Installed: No

           Media Type: Generic

           Protocol: Disk Image

           SMART Status: Not Supported

           Total Size: 20.0 MB (19999232 Bytes) (exactly 39061 512-Byte-Units)

           Volume Free Space: Not applicable (no file system)

           Device Block Size: 512 Bytes

           Read-Only Media: Yes

           Read-Only Volume: Not applicable (no file system)

           Device Location: External

           Removable Media: Yes

           Media Removal: Software-Activated

           Virtual: Yes

           OS 9 Drivers: No

           Low Level Format: Not supported



        • Apr 5, 2020 - 8:44 AM - Hans - Author: Comment Link

          I can only guess that macOS 10.11 doesn’t support the compressed DMG format I have used, and/or the fact that it is notarized and/or signed. I quickly made a zipped version of the beta – you can give it a try.



      • Apr 5, 2020 - 9:21 AM - Franc Comment Link

        Thanks again Hans. I downloaded  v1.9.9 and it launched just fine. Haven’t used it, but I’m assuming it will work fine. 





        • Apr 5, 2020 - 9:22 AM - Hans - Author: Comment Link

          I’m pretty confident 1.9.9 will work just fine … you’d miss out on some of the new features, but it will get the job done for sure. 

          Stay healthy!



  • Apr 10, 2020 - 2:16 PM - Bill Jackson Comment Link

    I seem to be having an odd problem with the shrink/expand function   v2.2.3 running on MacOS High Sierra

    I took my 8GB Sandisk MicroSD out of my Pi, made a backup with the shrink option on it.  Finished, no issues reported

    Then I took my 8GB noname MicroSD and restored the  backup with the expand option on it.  The reason is that it’s a couple of slightly smaller than the Sandisk  and I wanted to have a second card to run experiments on without killing my main configuration.

    Anyway, the card boots up fine but….

    This is a headless Pi and I can’t ssh into it.  It get connection refused.  On the original I can ssh into it as much as I like.  I even tried restoring the shrunk backup file onto the larger card (after making a non-shrunk backup!) and it suffers the same fate.  

    Restoring the non-shrunk backup gets me back to where I was. 



    Bill Jackson

    • Apr 11, 2020 - 4:16 AM - Hans - Author: Comment Link

      Hi Bill!

      Sorry to hear you’re running into issue.

      As far as I recall, SSH on most RPI images is enabled with a simple little text file.
      Resizing should not affect this though … 

      If this applies to your image, from what I’ve read you only need to place a file named “ssh” on to the boot partition.
      Since I never really used this option, you may want to check if it is still there.

      Having said that: the resize function only affects the Linux partition, and not the boot partition.
      So I’m guessing something else is triggering this issue.

      For example: if you’ve setup SSH to be done without a password then you may need to update the keys on your computer.



      • Apr 17, 2020 - 4:44 PM - Bill Jackson Comment Link

        yea, something is really strange.  

        I had a chance today to put a “head” on the system and a keyboard and found that SSHD is not starting when the system boots.  

        a systemctl status –full ssh gives me this:

        ssh service: main process exited , code = exited, status =127/n/a

        unit ssh.service entered failed state

        ssh.service holdout timer over, scheduling restart

        stopping OpenBSD secure shell server…

        Starting Open BSD secure shell server…

        ssh.service start request repeated too quickly, refusing to start

        Failed to start OpenBSD secure shell server

        Unit ssh.service entered failed state

        IF I try to run sshD directly I get:

        # sudo sshd -T

        Inconsistency deterred by get-dynamic-info.h: 124: elf_get_dynamic_info: Assertion ‘info[19]->d_un_.d_val == sizeof (Elf32Rel’ failed!

        I’ve repeatedly made backups without shrinking the partition sizes and restored them to the same card and it works just fine.  But if I make a backup trying to shrink the partition sizes and restoring them to the original card or the slightly smaller card I get this.

        BTW, it would be a cool option to  have a way to take an already done backup and shrink it so that you can put it on a smaller card.  I suspect that all of the “code” to do that is already “in there” 


        Bill Jackson

      • Apr 18, 2020 - 6:49 AM - Hans - Author: Comment Link

        Hi Bill!

        That is indeed a strange thing to happen. Shrink/Expand doesn’t do anything with … 
        It suggests it may be corrupted somehow, but I cannot reproduce the issue here.
        (this is usually where testers come in, but there usually are very few users willing to do testing)

        Could you test this with another SD card?
        SD cards, and especially noname cards, tend to be unreliable [over time].

        As for shrinking an already existing IMG file: there is a method for that! 
        See the method described in the comment below yours (here).
        On your Mac, simply double click the IMG file, and your Mac will try to mount it (which may fail, if your Mac doesn’t have special tools installed to recognize EXT file systems). Even if it fail though, the IMG will appear as a disk in APB. Simply make a backup of that device with shrink enabled (should go very fast).



        • Apr 19, 2020 - 8:18 AM - bill jackson Comment Link

          I’ve restored the shrunk image onto two cards, the original one as well as the “smaller” one. 

          Back up full-size on “larger” card and restore to larger card – OK

          Backup shrink from larger card, restore to larger card – not ok

          Backup shrink from larger card, restore to smaller card – not OK

          If you want I can find a way to get the images to you and you can check them.   The images are about 1.5GB in ZIP format.

          Hmmmm…. Maybe I should try this in IMG format to see if that helps?


          bill jackson

          • May 6, 2020 - 10:22 AM - Bill Jackson Comment Link

            Well, I bought some more cards, unfortunately 8GB are pretty much no more available so I got two 16G cards. I can now

            1: backup the 8GB with the shrink option turned on and restore it to the 16G card with the expand option turned on. The result is a resized (larger)partition on the card
            2: back up the 16GB with the shrink option turned on and restore it to the 8G card and it is successful

            What’s odd though is that backing up from the 8G to the smaller 8G still fails. Some more investigation has found that it is not entirely erasing the smaller 8G and starting over there is a 4G partition on there and it remains. AND it has an older version of Raspbian on it so this is an older configuration that is not getting erased even though Apple Pie baker is telling me that it succeeded.

            More investigation coming, but apparently the issue is not with the shrink/expand process but something isn’t going right with my smaller 8G card and Apple Pie Baker doesn’t see it as a failure on the restore.

            Bill Jackson

          • May 7, 2020 - 5:14 AM - Hans - Author: Comment Link

            Interesting find. 

            Curious what else you will discover – it could be helpful.
            Not sure why the 4Gb partition remains. Did you mean “remains in the IMG” or on the disk that you use to restore to? The latter would be very odd.
            If it is in the IMG then the 4Gb partition may not be a EXT formatted standard partition.
            What does APB show when it comes to the IMG (you can mount the IMG by double clicking it in Finder, APB will then show the partitioning)?


        • Apr 20, 2020 - 5:32 AM - Hans - Author: Comment Link

          This is so weird … but I’d like to see what I can do to find what is causing this.

          We could “share” the file with WeTransfer (use webmaster at tweaking4all dot com as the target email address), or through DropBox …

          Trying the IMG format would not be a bad idea, although theoretically this should not make a difference. It would narrow down where the problem may be though. Ya never know 



  • Apr 13, 2020 - 4:46 AM - Pascal Comment Link


    first of all, WELL DONE! ApplePi-Baker is a really nice tool! Thanks for developing!

    I would like to report one bug (access violation while restoring) and one feature wish :)

    My specs


    Version: 2.2.3 Build 1

    Helper Tool Version: 1.8.2


    macOS Version 10.15.4 / Catalina (Build 19E287)

    64 Bit application MBP 2019

    My goal

    I automatically create monthly dd Backups of my Raspberry Pi 4 Model B (Raspbian) with RaspiBackup and store this Backup to a mounted USB Stick. Because of the dd backup (.img), the backups are as huge as the size of my SD Card. So I searched for a shrink / expand tool, to shrink the backup, store the backup in my cloud (manual) and if I need the backup, restore and expand it to a new SD Card.

    Feature wish

    To reach my goal, I have to RESTORE my backup to a disk and then I can BACKUP the backup^^ with the new shrink option. The resulting small .img file can be stored to my cloud system, until I need it. If I need it, I RESTORE the file to a new SD-Card and it should work for me.

    My wish:

    It would be really great, if I could miss the first RESTORE process… So you just have to enable the shrink option to a file (.img) not only in combination with the BACKUP process. 


    The mentioned second RESTORE of the shrinked .img file sometimes results in a “access violation” error, If I take the raw .img file. When I enabled zipping, the process works perfectly.

    Best Regards!



    • Apr 13, 2020 - 8:20 AM - Hans - Author: Comment Link

      Hi Pacal!

      Thanks for the compliments 

      I’m not quite sure I understand your request (apologies for that).
      Are you saying that you have made a backup, and you want to shrink the backup afterwards?

      If so:
      On a Mac that should be possible by mounting the IMG file (just double click it in Finder).
      It will appear as a device (possibly not visible in Finder though – but definitely listed in Disk Utility).

      I just did a quick test with a LibreElec image (EXT filesystem). It appeared on my computer as /dev/disk5, and I was able to make a backup, with shrink enabled, from /dev/disk5 (which went very fast). Restoring the backup to an SD card worked and the RPI booted as usual.

      Note: I have Paragon ExtFS installed, so my Mac won’t complain about EXT filesystems. Not sure if this plays a role.
      I did disable it for a second tes, but the primary partition of LibreElec is FAT32 and it still worked just fine.

      Does this answer your question?



  • Apr 21, 2020 - 8:32 AM - Chris Comment Link


    I backup yesterday my RPI3B+ Sd card on my Mac, and saved it as a image. Today I needed to restore the backup, but apply gives me the following message:

    The selected Archive has 0 erntries. Select the one you wish to use from the list below.

    And then there is no option to choose from. yesterday I received the OK message that my card has back upped. Why is this happening. do you know?



    • Apr 24, 2020 - 5:11 AM - Hans - Author: Comment Link

      Hi Chris,

      Interesting problem, and sorry to hear you ran into this one.

      Normally this would mean you have compressed the backup, but for some reason there is nothing to be found in the archive.
      Can you decompress the file and see what is in there?
      The extracted file, if you found one, should work – but it sounds like there may not be a file, or the filename is somehow wrong.



  • Apr 25, 2020 - 5:00 AM - Xsy Comment Link

    Hi guys,

    Great tool here! I am having an issue trying to shrink an image however.

    I have a 256GB image (252.54GB to be exact) and my SD card is 249.51GB. Log below:

    Trying to use the re-size option but it appears to fail really close to the end with the error: 00:38:30 Initialization Info
    00:38:30 – ApplePi-Baker 2.2.3 (Build 1)
    00:38:30 – macOS Version 10.15.4 (Build 19E287) x86-64 (64 bit application)
    00:38:30 – libarchive 3.3.3, by Tim Kientzle
    00:38:30 – liblzma 5.2.4, by Mike Kezner et al.
    00:38:30 – zlib 1.2.11, by Greg Roelofs && Mark Adler
    00:38:30 – bz2lib 1.0.6, by Julian Seward
    00:38:30 Found Correct HelperTool version (1.8.2)
    00:38:36 Full Disk Access First Test: FAILED
    00:38:37 Full Disk Access Second Test: SUCCESS
    00:38:42 Drive added to list: /dev/disk2 (1 TB WD My Passport 0741)
    00:38:42 Drive added to list: /dev/disk3 (250 GB APPLE SD Card Reader)
    00:38:44 Drive removed from list (/dev/disk2 (1 TB WD My Passport 0741))
    00:38:44 Drive removed from list (/dev/disk3 (250 GB APPLE SD Card Reader))
    00:38:50 Drive added to list: /dev/disk3 (250 GB APPLE SD Card Reader)
    00:39:05 Restore — START RESTORE
    00:39:05 Restore Started – Restoring File to Disk
    00:39:05 Destination – /dev/disk3 (250 GB APPLE SD Card Reader)
    00:39:05 Disk Presence Check – Selected Disk Found
    00:39:05 Source – File:
    00:39:05 Source – Trying to determine source size
    00:39:05 Source – Source is a Raw IMG File
    00:39:05 Source – Size = 252,539,425,279 bytes
    00:39:05 Destination – Verifying Disk Capacity
    00:39:05 Destination – Max disk capacity is 249,510,756,352 bytes
    00:39:05 Warning – Selected Disk Too Small
    00:39:08 Ignoring Disk Too Small – /dev/disk3
    00:39:08 Disk Size Check – Capacity of Selected Disk PASSED
    00:39:08 Unmounting – Attempting Unmount of all Partition(s) of selected Disk
    00:39:08 Trying to unmount /dev/disk3
    00:39:08 UnMount – Waiting for unmount to complete
    00:39:08 UnMount – Waiting for unmount to complete – No disk(s) unmounted yet.
    00:39:08 Partition Unmounted – /dev/disk3s1
    00:39:09 UnMount – Waiting for unmount to complete – 1 Disk unmounted.
    00:39:10 Unmounting – Completed
    00:39:10 Expanding – Disabled expanding partition, no Linux Partition found
    00:39:10 Resize IMG – Resizing and Rebuilding IMG file
    00:39:10 RESIZE – Attempting to RESIZE a Linux partition in the IMG file
    00:39:10 RESIZE – Find Ext2/3/4 partition and determine size and location
    00:39:10 RESIZE – STATS:
    00:39:10 File Size : 252,539,425,280 Bytes (493,241,065 Sectors)
    00:39:10 Linux Partition : 252,489,093,632 Bytes (493,142,761 Sectors)
    00:39:10 Starts at : Byte 50,331,648 (Sector 98,304)
    00:39:10 Linux Target Size : 249,459,376,128 Bytes
    00:39:10 RESIZE – Extracting Ext2/3/4 Linux partition
    00:54:31 Details Updated – Partition /dev/disk1s3
    01:19:02 Details Updated – Partition /dev/disk1s3
    03:06:30 RESIZE – Verifying and Fixing extracted Linux Partition
    03:08:05 RESIZE – Expanding Linux Partition to 249,459,376,128 Bytes
    03:08:06 RESIZE – Creating new IMG file and Updating Partition Table IMG file
    03:40:49 Details Updated – Partition /dev/disk1s3
    05:48:04 RESIZE – ERROR: Read/Write Error while copying Linux partition
    05:48:06 Error – Read/Write Error while copying Linux partition

    Can anyone help?



    • Apr 26, 2020 - 5:23 AM - Hans - Author: Comment Link

      Hi Xsy,

      Just a quick initial thoughts: 

      – It may be that the IMG cannot be made that small (this would mean that the disk IMG would be very full, so this may be unlikely)
      – The SD card lock slides to read-only (happens on my Unibody MacBook Pro all the time grrrr)
      – Not likely, but not impossible: the IMG is corrupted
      – Your SD card could be a fake, so it really doesn’t have this capacity (noname SD card, or SD card from eBay/China?)

      The IMG is not compressed it seems, so that wouldn’t be an issue either.



      • Apr 26, 2020 - 7:44 AM - Xsy Comment Link

        Thanks for your reply.

        It’s not the Lock switch as by card doesn’t have one.
        It’s not fake as I have verified the space and purchased from a reputable supplier.
        The image is fine and have verified by hash.

        I think it must be that the image is already pishrunk. But that is odd as I wouldn’t expect it to be that big.

        Any other ideas?



      • Apr 27, 2020 - 6:03 AM - Hans - Author: Comment Link

        Hmm ,… OK … Do you have enough diskspace on your Mac left?
        Resizing the disk would require at least an additional 250Gb free space on your Mac disk.



        • Apr 27, 2020 - 6:14 AM - Xsy77 Comment Link

          Hi Hans,

          I could make a partition on my USB HDD. What format should It be? And do I just use Pi Baker to write the image to it?



        • Apr 27, 2020 - 6:24 AM - Hans - Author: Comment Link

          You can use any external USB disk, no special formatting needed, as long as you Mac can read/write to it.
          Maybe it helps if explain how the resizing works:

          1) APB takes your IMG file and determines the Linux Partition.
          2) The Linux partition from the IMG is copied to your Mac’s harddisk (so we do not change the original backup).
          3) The extracted Linux partition (app. 249Gb in your case), will then be resized.
          4) When done, the original backup will be copied to a new IMG file with the new resized partition inserted.

          You can already guess that this can take up quite some disk space.
          Unfortunately, under macOS I have not found a way to resize the partition on the fly (during a restore).



          • Apr 27, 2020 - 7:01 AM - Xsy Comment Link

            Hi Hans, thanks again for your reply.

            The disk has about 500GB free and is currently formatted as HFS+.

            It has some important stuff on it (including the image I am trying to resize) so would prefer to partition it off. Should I create a 256GB exFAT partition and then use Pibaker to flash this partition with the image?


        • Apr 27, 2020 - 6:25 AM - Hans - Author: Comment Link

          I hope that made sense 

          Anyhoo: all these actions take place on the disk of your Mac.
          You should start by copying the original IMG to your USB disk (as you would normally do in Finder with drag and drop).
          Then open de IMG from the USB disk in APB for a restore.



          • Apr 27, 2020 - 7:04 AM - xsy77 Comment Link

            My Mac disk is only 128GB so is completely useless here I’m afraid.

            I have at my disposal:

            1x 128GB SD Card
            1x 249GB SG Card
            1x 250GB USB HDD
            1x 1TB USB HDD
            1x MacBook Air with 128GB SSD

            The image file I am working with is currently 253GB.


          • Apr 27, 2020 - 9:17 AM - Hans - Author: Comment Link

            You don’t have to create a disk.

            Step 1 – Copy the IMG file to the disk with plenty of free space (eg. the 1Tb disk?), just with Finder, nothing special needed.

            Step 2 – Open APB and select the file we just copied (to the 1Tb disk if there is enough space left).

            I’m not sure how much space you have left on the 1Tb disk, but I’m guessing you’d need at least 512Gb free, probably more. We need 256Gb for the IMG file that we copied to the 1Tb disk. We need additionally about 250Gb for the extracted Linux partition. And finally, we need the amount of space the resized Linux partition will become. So worse case I’d ball park it at about 750 Gb space needed. 
            So it looks pretty tight for what you have available.

            Note: APB will create its temporary file (the extracted Linux partition) in the same directory as were the IMG file is located, which you selected for a restore.


  • May 4, 2020 - 5:46 AM - Hans - Author: Comment Link

    As I’m always pleased to see others enjoying my applications:
    If you’re interested in reading another person’s opinion, please check out Wolfgang’s article on his website:



  • May 5, 2020 - 10:04 PM - Brian Comment Link

    I had Backup and Restore success when I first installed in March but now having failures during Restore

    MacBook Air (11-inch, Mid 2012)
    Mac OS Catalina 10.15.4
    ApplePi-Baker 2.2.3

    Starting with 16 GB SD card from Raspberry Pi Raspbian
    Backup was successful

    Restore to a new 16 GB SD card
    Last lines from the console
    18:30:46 RESIZE – STATS:
    18:30:46 File Size : 10,182,787,072 Bytes (19,888,256 Sectors)
    18:30:46 Linux Partition : 9,905,963,008 Bytes (19,347,584 Sectors)
    18:30:46 Starts at : Byte 276,824,064 (Sector 540,672)
    18:30:46 Linux Target Size : 15,653,666,816 Bytes
    18:30:46 RESIZE – Extracting Ext2/3/4 Linux partition
    18:31:37 RESIZE – Verifying and Fixing extracted Linux Partition
    18:31:38 RESIZE – Expanding Linux Partition to 15,653,666,816 Bytes
    18:31:39 RESIZE – Creating new IMG file and Updating Partition Table IMG file
    18:33:17 RESIZE – ERROR: Read/Write Error while copying Linux partition
    18:33:21 Error – Read/Write Error while copying Linux partition

    22 GB available on Mac at the failure time

    Thanks for your help



    • May 6, 2020 - 4:22 AM - Hans - Author: Comment Link

      Hi Brian,

      The 16Gb card backup will probably need more than 22 Gb of disk-space to resize.
      It creates a new IMG based on the original backup (which remains untouched) by first extracting the Linux partition (10Gb) and then combining it with the rest of the “new” IMG (16Gb). So you’d need at least 26 Gb (probably a little bit more). 



      • May 6, 2020 - 12:09 PM - Brian Comment Link

        Thanks for the response. There was an Xcode update and after reboot there was more free space on the Mac disk.

        Restore worked fine!

        Great software!



        • May 7, 2020 - 5:15 AM - Hans - Author: Comment Link


          Yeah having 22Gb left on your disk is not much, especially when it is the main disk of your Mac.
          Glad to hear it worked though!   



  • May 6, 2020 - 7:07 AM - Duff8402 Comment Link

    Good morning everyone!
    Trying to get this installed and I keep getting the following error after downloading:
    “ApplePi-Baker-v2.2.3.dmg” is damaged and can’t be opened. You should move it to the Trash.
    Chrome downloaded this file today at 7:05 AM from



    • May 6, 2020 - 8:03 AM - Hans - Author: Comment Link

      Thanks for reporting Duff8402! 

      Unfortunately, I cannot reproduce the issue. Which version of macOS are you using?
      I just tested the link on this page, and it downloaded OK, opened OK, and the application ran OK.



      • May 6, 2020 - 8:26 AM - Duff8402 Comment Link

        I’m on Catalina 10.15.4 (19E287). I actually just bought this MacBook, Monday. My old one finally bit the dust.
        I did a quick screen recording if that helps



      • May 7, 2020 - 5:07 AM - Hans - Author: Comment Link

        Looks like GateKeeper is showing this message. 

        I’m on the same Catalina version, and tried it on a Mac Pro (2013 trashcan) and a 15″ MBP (2016).
        Just to make sure but did you set the security setting for “Allow apps downloaded from:” to “App Store and identified developers” ?
        (under System Preferences -> Security -> General)

        for others reading this, a reference screenshot of the error:



        • May 7, 2020 - 9:10 AM - Duff8402 Comment Link

          It is set like that now, but I pulled my old MacBook’s hard drive and linked it up with the new to migrate everything last night…so it very well could have pulled that setting from the old hard drive… Either way, it works now. Thanks much Hans!



        • May 7, 2020 - 10:38 AM - Hans - Author: Comment Link




  • May 9, 2020 - 8:32 AM - Bob Comment Link

    Thanks for your work.
    Unfortunately the app keeps crashing on my Catalina 10.15.4 ..
    I try to backup a microSD card and after 30% I get a message “/dev/disk2 disappeared” and the app will no longer respond. /dev/disk2 is a timemachine NAS which is offline at the moment.

    Another bug: I just launch Applepi baker, click on “Open the advanced disk panel” and the app hangs.

    Is there anyway I could help you sort this out ?



    • May 9, 2020 - 10:10 AM - Hans - Author: Comment Link

      Hi Bob,

      Those are definitely interesting problems, which I’d like to see resolved s well of course.

      A disk disappearing, especially during backup, is something related to macOS (macOS reports to APB that the disk disappeared, APB itself will not eject a disk while doing a backup).
      This can have several reasons. I noticed this with the internal SD card reader of one of my older Macs as well – this is why I switched to an external (USB) card-reader.
      So that could be a reason, but there are more reasons why this could happen (albeit rare). For example: some SD cards are not reliable.

      If you can test with another card-reader, then I would try this for sure.
      Testing with another SD card could be worth a try as well.
      (just to eliminate these two being a potential issue)

      Having APB hang when opening Advanced view, is something that may be related to APB, but could also be related to previous two issues.
      Best way to test this: remove all SD cards and external USB drives, and see if it hangs or not.
      If all goes well: do the same test again with any USB sticks or USB harddrives (not SD cards or SD card-readers).
      If still goes well: try the SD card. It may very well be that the unexpected disappearing of the drive keeps APB occupied while trying to determine the connected devices.

      Let me know what your findings are, and I’ll do my best to help out where I can 



      • May 9, 2020 - 10:47 AM - Bob Comment Link


        I was not clear enough sorry.
        I can reproduce the bug: I don’t have any usb stick or any SD card connected, the NAS is powered down, user disconnected from the NAS, no timemachine backup in progress. Launch ApplePiBaker, click on “open the advanced disk tab”, APB hangs.



      • May 10, 2020 - 4:48 AM - Hans - Author: Comment Link

        Thanks for clarifying, and apologies for not getting that right away .

        I’ve seen 2 other users (one running Hackintosh) running into that issue, but I cannot reproduce the issue on any of my Mac’s (MBP 13″ 2013, MPB 15″ 2016, MB 12″ 2016, MacPro 2013 – all running Catalina 10.15.3 or 10.15.4).  – Weh opening Advanced View, APB will ask macOS for the devices and it will dig through the IORegistry of macOS to find details. My guess is that going through the IORegistry is triggering this, but I cannot put my finger on it .

        I’ll dig through the code again, to see if I can find an obvious “spot” where this may happen, but it will be difficult to find.



  • May 10, 2020 - 12:10 PM - Sebastian Comment Link

    Hi Hans,
    I really like your program ApplePi Baker. At the moment I use the latest version 2.2.3.
    I noticed, that if I compress the image by 7z, your program only seems to use one core on my MacBookPro.
    Maybe you can add multicore support.
    Best regards,



    • May 11, 2020 - 5:05 AM - Hans - Author: Comment Link

      Hi Sebastian,

      Thanks for the compliment – good to hear you like APB 

      For compression and decompression I use a Linux library, so I have no control (that I’m aware of) over the amount of cores being used.
      On that note: I wouldn’t use 7z, instead I’d recommend using tgz (tar gzip) or txz (tar xz).
      Both offer faster compression/decompression, and 7z appears less reliable (in my experience anyway).



  • May 21, 2020 - 3:53 AM - sam Comment Link

    sorry for my English
    I have a macbook from mid 2012
    under catalina with apple pi baker V2
    when i want to make an image of a sd card it stops at 50 percent
    I cannot burn an image on an SD card
    I do not understand the old version worked very well
    Thank you for your help



    • May 21, 2020 - 4:30 AM - Hans - Author: Comment Link

      Hi Sam,

      no worries about your English – I understand what you’re saying 

      First question: does the old version still work correctly with the same SD card and SD card reader? (you can download v1.9.9 to test this)

      Since you Macbook is from 2012, I assume you’re using the internal SD card reader, which is not the most reliable in my experience.
      I do not know if you have an external SD card reader, it would be worth giving that a try.

      Also keep in mind that SD cards can become unreliable as well (notoriously known for that).
      So testing with another SD card, if you have one, would be good too.

      – did you use the shrink/expand function?
      – I presume APB has Full Disk access in your security settings (otherwise you wouldn’t get to 50%)
      – Does the log mention anything (for example: at which point it “stops”)?



      • May 21, 2020 - 4:45 AM - sam Comment Link

        thanks for your very quick response
        I just made a backup of my SD card but for the format I chose .img
        it works for the moment
        but from time to time it tells me that the application does not respond and I do not know if it is normal
        I use a usb key card reader
        it already worked with this version of apple pie baker
        it works again
        I do not know why :)



      • May 21, 2020 - 5:03 AM - Hans - Author: Comment Link

        Nice to hear that it work again, just not so nice that we don’t quite know why it failed before. 

        There are a few standard reasons why APB may stop;
        – Another application is intervening (eg. Anti Virus, File System tools, thumbnail generators, disk inspectors, etc)
        – The SD card or SD card reader is not the most reliable (test another card or SD card reader).
        – SD card or SD card reader makes “poor” contact and loses contact every now and then (clean the contacts).

        Note: if you want to use compression, like ZIP etc:
        I found TGZ (Tar GZip) and TXZ (Tar XZ) to work best. 7Zip is notoriously a trouble maker, and ZIP is slower and sometimes less efficient.



        • May 21, 2020 - 9:37 AM - sam Comment Link

          ok thank’s a lot I still can’t burn an image on an SD card
          the application at one time does not respond
          I will wait for the next update :)
          I’m doing with etcher for the moment
          Thank you very much for your work



          • May 22, 2020 - 4:56 AM - Hans - Author: Comment Link

            Thanks Sam!

            Well, if Etcher works, then APB should as well of course.
            Let me know if you observe anything that could trigger this, so I can look at it for a next release. 


  • May 21, 2020 - 4:50 PM - Thomas Dietrich Comment Link

    Dear Hans,

    after a long time I am coming with maybe stupid question for the reason of a failure I got with APB 2.1.3 on Mac OS 10.14.6.
    Using a 16GB SD Card for a shrinked Backup on my Mac Mini, the backup passed through, but there was no file generated on my Mac Mini. Please look at the attached log file.

    23:14:14 Found Correct HelperTool version (1.5)
    23:14:28 Drive added to list: /dev/disk5 (16 GB Generic- MicroSD/M2)
    23:14:49 — START BACKUP
    23:15:55 Backup Started – Making Disk to File Backup
    23:15:55 Source – Disk: /dev/disk5 (16 GB Generic- MicroSD/M2) (15,931,539,456 bytes)
    23:15:55 Destination – File: /Users/thomas/Documents/Raspi und OpenHAB/Raspi Backups/
    23:15:55 Shrink IMG Enabled – Temporary IMG file: “20200521_Raspi_backup_16GB.tmp”
    23:15:59 Backup started
    23:29:18 Completed – Cloning Completed
    23:29:18 Finished – Completed in 13 minutes and 22 seconds, average speed 19.9 MB/sec
    23:29:18 Resizing – Attempting IMG shrinking
    23:29:18 RESIZE – Attempting to MINIMIZE a Linux partition in the IMG file “20200521_Raspi_backup_16GB.tmp”
    23:29:18 RESIZE – ERROR: Source IMG File does not exist
    23:29:18 Resize Error – Source IMG File does not exist know that 75% of all failures are sitting in front the computer, but what was mine?

    Thanks in advance for your support of your great software.

    Best regards


    Thomas Dietrich

    • May 22, 2020 - 5:17 AM - Hans - Author: Comment Link

      Hi Thomas,

      don’t worry, in my opinion there are not really any “stupid” questions.

      Well, a few things I’d check first:

      1) How much disk space is left on your macos disk?
          (You’d need, worse case scenario: 3x 16Gb free disk space before you begin with the backup)

      2) Can you see if it really create the file(s) in your “/Users/thomas/Documents/Raspi und OpenHAB/Raspi Backups” directory.
          (check while APB is running, it may remove the files after it completed its task).

      (keep in mind: this could of course also be a bug in APB)



      • May 22, 2020 - 3:27 PM - Thomas Dietrich Comment Link

        Hi Hans,

        some minutes ago I made some tests again, to reach to the bottom of the failure. The selected file attribute was zip, the card reader is a Hama USB reader only for SD cards.

        ad1.) the left available disk space are 302GB from 499GB, so there is plenty of space enough.
        ad2.) I made 3 test runs from the same 16GB SD card, the first and the last failed, the middle one succeeded. During APB run including shrinking option the files appeared in the dedicated folder. But for the failed ones disappeared short before finalization of APB process. The succeeded one passed fine through the APB process in the dedicated folder and appeared complete after end of backup, APB was still running. I switched of APB and the file was still there in the same folder.

        Will these findings help you to find an explanation for this mysterious behaviour of 2 failed and one passed shrinked backup by APB?

        Have a nice evening, thanks a lot for your support.

        Best regards



        Thomas Dietrich

      • May 23, 2020 - 5:48 AM - Hans - Author: Comment Link

        Hi Thomas,

        thanks for the thorough information!

        It surprises me a little that 1 out 3 attempts worked, and the other 2 failed. I would have expected a more consistent behaviour, which makes me think some outside factor is interfering somehow. At least we eliminated disk space as a potential issue. Hmm … I wonder what is triggering this. Do you have any other software running (eg. Anti Virus, or a disk clean tool [to remove certain mac specific files from non-macOS volumes], or anything like that). Basically any software that could “touch” or look at the source SD card? (probably not the issue, but good to check)

        Does this also happen when not using the shrink/expand option?



        • May 23, 2020 - 4:01 PM - Thomas Dietrich Comment Link

          Hi Hans,
          thanks for your friendly words.
          I will do some tests for deep-drilling of failure behaviour, I assume that I will come back next week. I have some feelings in my tummy regarding the mix of options between shrinking anf the file attributes. So I will check this with details.
          In former times I had several problems with old versions of APB, e.g. with admin passwords etc.. So now I found that the APB 2 has the shrinking option in addition beside the new source , backup and restore tab, and no request for admin pw! Simply great software as I appreciate it.

          See you soon.


          Thomas Dietrich

        • May 24, 2020 - 4:22 AM - Hans - Author: Comment Link

          Thanks Thomas!

          APB2 took a lot of work (had to learn a lot about the new security “features”), so I appreciate the kind words 

          Let me know what you find, I’d be super interested in hearing what the issue could be!

          Stay well!



          • May 24, 2020 - 6:41 AM - Thomas Dietrich Comment Link

            Dear Hans,

            could you please provide a mail adress to send a file with the findings? It will be a simple two-sided text file file and too long for the comments.
            Would need for tomorrow?


            Thomas Dietrich

          • May 24, 2020 - 11:42 AM - Hans - Author: Comment Link

            Hi Thomas!

            I greatly appreciate that!
            Feel free to email me at webmaster at tweaking4all dot com. 


          • May 25, 2020 - 4:15 PM - Thomas Dietrich Comment Link

            Hi Hans,

            I did a lot of tests for running APB with shrinking function and espec. img & zip file attribute. It was a not reproducible behaviour, so some final files were stored on my mac and some not. Strange!
            But then I found that there is new APB vers. 2.2.3, I used 2.1.0! So I did the same tests with ver 2.2.3 –> and all files passed, there is no strange behaviour any more. The tests have been executed with shrinkting function & img file attribute. It was my fault!

            So my personal theorem was confirmed, 75% of all failure at computers are sitting in front of the keyboard.

            Now APB 2.2.3 is running like a charm. Thank you very much for your support!

            Best regards

            Thomas Dietrich

          • May 26, 2020 - 4:50 AM - Hans - Author: Comment Link

            Ho Thomas!

            Thank you very much for doing the extensive tests! It is very much appreciated.
            I do a lot of tests myself, but it is always good to see other users test as well.
            After all; different environments, different users, and there is always the chance that I overlook something.

            So: Thanks again! 


Your Comment …

Do not post large files here (like source codes, log files or config files). Please use the Forum for that purpose.

Please share:
Notify me about new comments (email).
       You can also use your RSS reader to track comments.

Tweaking4All uses the free Gravatar service for Avatar display.
Tweaking4All will never share your email address with others.