-
-
Notifications
You must be signed in to change notification settings - Fork 150
blobsaver on Linux
airsquared edited this page May 29, 2021
·
19 revisions
blobsaver can be installed from releases like the other OS's for 64-bit x86 machines. If you're using a Raspberry Pi or any other architecture, you will need to compile blobsaver yourself.
- Download the source code for the release you want. I would recommend using the source code of the latest release instead of downloading the latest commit, which may contain bugs.
- Compile this fork of tsschecker on your device and replace the file in
dist/linux/tsschecker
with your tsschecker compiled for ARM. - Install JDK 16 for your computer.
- Install the libraries
libimobiledevice
andlibirecovery
, which should be in your distribution's default repositories. - Run
./gradlew build
in the root of the repository and you should have the the compiled files in the directorybuild/distributions
You may get an error about being unable to load native libraries when trying to read from device.
- Make sure you have libimobiledevice and libirecovery installed.
- The libraries might be installed as
libimobiledevice-1.0.so
instead oflibimobiledevice.so
orlibirecovery-1.0.so
instead oflibirecovery.so
. If so, you can create a symlink. For example:ln -s /usr/lib/libimobiledevice-1.0 /usr/lib/libimobiledevice.so
orln -s /usr/lib/libirecovery-1.0 /usr/lib/libirecovery.so
.
Most distributions come with systemd, but if you prefer not to use systemd for saving blobs automatically in the background you can set it up using something like cron instead. Once you have your auto-save settings set up with your devices enabled, set up cron or something else to call blobsaver with the --background-autosave
argument at the interval you want. /path/to/blobsaver --background-autosave
.