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)

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.

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 … 

DOWNLOAD - ApplePi-Baker V2 

Platform: Mac OS X
Filename: ApplePi-Baker-v2.1.6.dmg
Version: 2.1.6
Size: 3.8 MiB
Date: August 25, 2019
 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 delete the Helper Tool in Finder (or Terminal): /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.


There are 184 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).


  • 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. 


        • 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! 



  • 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.



Your Comment …

Friendly request to 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.