Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
1 answers
14724 views
How to SSH on alphine linux with iSH on ipad?
Iam trying out linux on Ipad through the iSH app, however, i cant seem to find my username it always returns 'root' when i do whoami. So now iam confused how I can ssh into another computer or even how to ssh into my ipad, as Ive tried multiple commands to find my ip on the ipad however it just does...
Iam trying out linux on Ipad through the iSH app, however, i cant seem to find my username it always returns 'root' when i do whoami. So now iam confused how I can ssh into another computer or even how to ssh into my ipad, as Ive tried multiple commands to find my ip on the ipad however it just doesnt work. e.g I try ifconfig -a but its shows /proc/net/dev: No such file or directory. curl ifconfig.me works for the public ip, but i need the host ip for ssh which doesnt show me. Another example :
Mathewss-iPad:~# hostname -I

hostname: unrecognized option: I
BusyBox v1.31.1 () multi-call binary.

Usage: hostname [OPTIONS] [HOSTNAME | -F FILE]

Get or set hostname or DNS domain name

        -s      Short
        -i      Addresses for the hostname
        -d      DNS domain name
        -f      Fully qualified domain name
        -F FILE Use FILE's content as hostname
issues: Can't SSH into our out to any devices because: 1. Cant find hostname just 'root' 2. Cant retrieve host ip address 3. But everything works as normal in linux apk installing packages, making folders, changing directories etc.
Mj _ (21 rep)
Sep 14, 2021, 09:30 AM • Last activity: Jul 23, 2025, 02:03 AM
5 votes
1 answers
1985 views
Is there any way to syncronize notifications between a Linux desktop and iOS?
I use `notify-send` and `dunst` for my notification system on my desktop. After a research, I found out that there are a few commercial solutions for sending push notifications to iOS devices, and I even wrote a script using Pushover. However, I did not find any way to get notifications from the iPh...
I use notify-send and dunst for my notification system on my desktop. After a research, I found out that there are a few commercial solutions for sending push notifications to iOS devices, and I even wrote a script using Pushover. However, I did not find any way to get notifications from the iPhone displayed on my desktop. (Preferably using a unified notification system, for example using notify-send). I know that OSX has very good support for this, so I guess it's not impossible, but I did not find any working solution. Of course, the best solution would be to get full sync, including removing a notification from both places if it has been read in one place. A lot of this is already solved, of course. E-mail, Facebook, etc. notifications gets "synced" out-of-the-box basically. I'm ok with having to write scripts, including having to write customized filters, etc. If there's no full solutions, I'm satisfied with getting the building blocks only, especially something that sends the iOS notifications to my desktop somehow. EDIT: I added the tag Bluetooth because I learned that OSX does this using Bluetooth LE. Looking up Bluetooth LE support still did not help me, though.
kdani (191 rep)
Dec 15, 2015, 07:06 PM • Last activity: Jul 12, 2025, 10:08 AM
11 votes
3 answers
29473 views
How to transfer files from linux to iphone?
I have the ```libimobiledevice``` family and ```ifuse``` package installed. When I connect my iPhone to Linux via USB cable I get the prompt to allow access. When I confirm, I can access the ```DCIM``` folder on gnome file explorer. However no other folders appear. Also I can only move photos and vi...
I have the
family and
package installed. When I connect my iPhone to Linux via USB cable I get the prompt to allow access. When I confirm, I can access the
folder on gnome file explorer. However no other folders appear. Also I can only move photos and videos from the phone to my desktop and not the other way around. When I try to do that, I get an error:
There was an error copying the file into gphoto2://-Apple_Inc._iPh...123456789AB/DCIM/202304__.
Error writing file: -108: No such file or directory
How can I access documents other than photos and videos? How can I inject a file into iphone from linux?
zpc5679 (111 rep)
Apr 4, 2023, 07:12 AM • Last activity: May 6, 2025, 02:36 PM
0 votes
0 answers
94 views
Arch Linux - idevicerestore: Device failed to enter restore mode
I am trying to restore an dusty old iPhone. I forgot the passcode so it's deactivated now. I installed the idevicerestore AUR from https://aur.archlinux.org/packages/idevicerestore. I put the iPhone in recovery (the screen that shows computer and cable) and connected it to my Arch system. ``` bash >...
I am trying to restore an dusty old iPhone. I forgot the passcode so it's deactivated now. I installed the idevicerestore AUR from https://aur.archlinux.org/packages/idevicerestore . I put the iPhone in recovery (the screen that shows computer and cable) and connected it to my Arch system.
bash
> sudo idevicerestore --erase --latest
Found device in Recovery mode
Identified device as d211ap, iPhone10,5
The following firmwares are currently being signed for iPhone10,5:
   16.7.11 (build 20H360)
Select the firmware you want to restore: 1
Selected firmware 16.7.11 (build 20H360)
Verifying 'iPhone_5.5_P3_16.7.11_20H360_Restore.ipsw'...
Checksum matches.
Extracting BuildManifest from IPSW
Product Version: 16.7.11
Product Build: 20H360 Major: 20
INFO: device serial number is (Redacted)
Device supports Image4: true
Variant: Customer Erase Install (IPSW)
This restore will erase your device data.
################################ [ WARNING ] #################################
# You are about to perform an *ERASE* restore. ALL DATA on the target device #
# will be IRREVERSIBLY DESTROYED. If you want to update your device without  #
# erasing the user data, hit CTRL+C now and restart without -e or --erase    #
# command line switch.                                                       #
# If you want to continue with the ERASE, please type YES and press ENTER.   #
##############################################################################
> YES
Checking IPSW for required components...
All required components found in IPSW
Using cached filesystem from 'iPhone_5.5_P3_16.7.11_20H360_Restore/087-86694-034.dmg'
Found ECID (Redacted)
Getting ApNonce in recovery mode... 46 ff 9b 29 8a 49 07 17 ce 02 bd f3 53 a0 06 12 6b 4b d8 ab b4 01 22 4a 54 0e 4e 2b 8f ab e6 d7 
Trying to fetch new SHSH blob
Getting SepNonce in recovery mode... 81 a4 c3 a2 f6 7f 55 d2 97 fe 3b 2b 27 14 cb c5 af 37 ee 7d 
Request URL set to https://gs.apple.com/TSS/controller?action=2 
Sending TSS request attempt 1... response successfully received
Received SHSH blobs
Extracting iBEC.d21.RELEASE.im4p...
Personalizing IMG4 component iBEC...
Sending iBEC (1100442 bytes)...
Recovery Mode Environment:
iBoot build-version=iBoot-8422.142.2.700.1
iBoot build-style=RELEASE
Sending RestoreLogo...
Extracting applelogo@3x~iphone.im4p...
Personalizing IMG4 component RestoreLogo...
Sending RestoreLogo (20538 bytes)...
Extracting AppleAVE2FW_H10.im4p...
Personalizing IMG4 component AVE...
Sending AVE (1083621 bytes)...
Extracting adc-nike-d21.im4p...
Personalizing IMG4 component ISP...
Sending ISP (8952981 bytes)...
Extracting 087-86719-037.dmg.trustcache...
Personalizing IMG4 component RestoreTrustCache...
Sending RestoreTrustCache (12860 bytes)...
ramdisk-size=0x20000000
Extracting 087-86719-037.dmg...
Personalizing IMG4 component RestoreRamDisk...
Sending RestoreRamDisk (106962072 bytes)...
Extracting DeviceTree.d211ap.im4p...
Personalizing IMG4 component RestoreDeviceTree...
Sending RestoreDeviceTree (41931 bytes)...
Extracting kernelcache.release.iphone10...
Personalizing IMG4 component RestoreKernelCache...
Sending RestoreKernelCache (18221277 bytes)...
Waiting for device to enter restore mode...
ERROR: Device failed to enter restore mode.
During "Sending iBEC...", the device goes blank then shows the usual Apple Logo shows. The Apple Logo persists until "Sending RestoreKernelCache (18221277 bytes)..." finishes. During "Waiting for device to enter restore mode..." the screen goes blank, then Apple logo, but iPhone is back to the computer-and-cable screen, at which point I get "ERROR: Device failed to enter restore mode." Afterwards, the phone boots to the computer-and-cable screen, indicating that idevicerestore bricked the phone. Is the tool out-of-date, or is the AUR out-of-date, or is there another problem? Any suggestions would be appreciated, thank you!
Hyunbin Yoo (175 rep)
Apr 22, 2025, 01:52 AM
0 votes
1 answers
69 views
systemd DNS resolver broken by USB-connected iPhone - how to prevent?
Today, on my Ubuntu 22.04.5 computer, I discovered two unknown nameservers in `/etc/resolv.conf` (symlink to `/run/systemd/resolve/resolv.conf`): ``` nameserver fe80::e0eb:40ff:fe79:e364%36 # Does not belong nameserver 172.20.10.1 # Does not belong nameserver 192.168.1.1 # Correct nameserver search...
Today, on my Ubuntu 22.04.5 computer, I discovered two unknown nameservers in /etc/resolv.conf (symlink to /run/systemd/resolve/resolv.conf):
nameserver fe80::e0eb:40ff:fe79:e364%36     # Does not belong
nameserver 172.20.10.1                      # Does not belong
nameserver 192.168.1.1                      # Correct nameserver
search .
As a result, all local hostnames on my intranet (e.g., *myhost*) were failing to resolve. Rerunning sudo systemd restart systemd-resolved.service did not change anything. I finally tracked down the problem to my iPhone 8 which was connected by a USB cable to the computer. The iPhone was running a Personal Hotspot, and **systemd** was treating it as my primary nameserver, overriding 192.168.1.1. How can I prevent this problem from happening in the future when my iPhone is connected to the computer? Is there some way to tell **systemd** to ignore the iPhone's hotspot? Thank you very much.
DanB (488 rep)
Oct 28, 2024, 01:34 PM • Last activity: Oct 28, 2024, 03:35 PM
-2 votes
3 answers
298 views
What does this $PATH output mean?
I ran in terminal: echo $PATH the output is this: /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.crypt...
I ran in terminal: echo $PATH the output is this: /usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin Is anyone familiar with those directories? I am worried it is malware. Any info is appreciated!
AEC0202 (1 rep)
Jul 21, 2024, 08:31 PM • Last activity: Aug 2, 2024, 05:57 AM
0 votes
0 answers
98 views
.pfx S/MIME certificate generated with openssl - password is not recognised when imported on an iPhone
I have recently obtained an S/MIME certificate from a CA to use with Thunderbird on a Linux system. I used the following command in CLI : openssl pkcs12 -export -in certificate.crt -inkey private_key.pem -certfile cert_CA.crt -out my-cert.pfx I then installed my-cert.pfx in Thunderbird and this work...
I have recently obtained an S/MIME certificate from a CA to use with Thunderbird on a Linux system. I used the following command in CLI : openssl pkcs12 -export -in certificate.crt -inkey private_key.pem -certfile cert_CA.crt -out my-cert.pfx I then installed my-cert.pfx in Thunderbird and this works just fine. I proceeded to also import the same .pfx file onto my iPhone bu this results in an error when asked for certificate password. Entering the established certificate password doesn't work as per instructions and it looks like it's not recognised, even though I am sure I have used the correct password ?!? I am not sure but I suspect that by default the openssl command may have encrypted the output .pfx certificate file with a different encryption to that which iOS expects by default, and so the same certificate password is not recognised correctly. Any suggestions as to what may be the problem and how to generate a .pfx file using openssl in CLI so that iOS will accept the set certificate password ? I had used the Windows Certificate Manager Tool to export my private key and this required setting a certificate password (no other option was available). Thanks in advance for any suggestions on how to correctly generate and import the .pfx certificate file to work on my iOS devices...
davos (1 rep)
Apr 28, 2024, 08:58 AM
0 votes
1 answers
1610 views
Where to get IPA files for 32-bit iPad Mini
I have an old iPad Mini (2013 model) that I thought to resurrect as a screen for a Raspberry Pi with VNC Viewer, but when I try to download the app (or any app) via App Store I get an error with "the app is not compatible with your iPad".  I dig a bit and I found that s...
I have an old iPad Mini (2013 model) that I thought to resurrect as a screen for a Raspberry Pi with VNC Viewer, but when I try to download the app (or any app) via App Store I get an error with "the app is not compatible with your iPad".  I dig a bit and I found that such model has 32-bit architecture and that most apps are no longer supporting those builds.  Is there any place, like an archive, where I can get such 32-bit versions of the apps (mainly VNC, but if I get the change of getting some others, then better)?  If so, how could I install them? For reference, >A **.ipa** file is an iOS and iPadOS application archive file which stores an iOS/iPadOS app.     — Wikipedia
Xandor19 (21 rep)
Dec 27, 2022, 08:58 PM • Last activity: Sep 25, 2023, 07:56 AM
0 votes
1 answers
155 views
gvsf (GNOME virtual file system) on usb-ios, when I git clone, I get: fatal: could not set 'core.filemode' to 'false' , due to OS service to rename
I usb-connect my ios device on my linux laptop. The linux system mounts a gvfs point to it (`/run/user/1000/gvfs/afc:host=xxxxxxxxxx,port=3`), I change directory there, I can `rsync` back and forth, but I wish to clone a git repository who lives in my laptop (`/home/user/repo.git`). ```git clone /ho...
I usb-connect my ios device on my linux laptop. The linux system mounts a gvfs point to it (/run/user/1000/gvfs/afc:host=xxxxxxxxxx,port=3), I change directory there, I can rsync back and forth, but I wish to clone a git repository who lives in my laptop (/home/user/repo.git).
clone /home/user/repo.git
It will mist-behave:
Cloning into 'repo'...
error: chmod on /run/user/1000/gvfs/afc:host=xxxxxxxxx,port=3/com.lhy.iMarkdown/repo/.git/config.lock failed: Operation not supported
fatal: could not set 'core.filemode' to 'false'
And, sudo git clone /home/user/repo.git will give fatal: could not create work tree dir 'repo': Permission denied. --- This explanation by @torek (https://stackoverflow.com/users/1256452/torek) of git clone answering the same situation but for a samba mount point: https://stackoverflow.com/a/50242563 Will say the process fails on the third and last step when git clone uses invokes the OS service to rename the file. --- In this case, GVfs mounts a removable foreign operating system that has storage (https://askubuntu.com/a/1035122) . This is why sudoing does not work as GVfs makes the mount point usable only by the user who mounted it. --- It would be very comfortable to connect my ios device to my linux laptop and use git in it to repositories in my local device/network. Does anyone know how to make this smooth, please? It would be good to leave the configuration in /etc/fstab so that the whole interaction be as natural as any other storage point that I plug and use. Please it does not make sense to rsync things that are on a git repository back and forth and re-create git. People might have worked around such issues using git on restrictive environments/boxes/devices/storages.
Bruno Schroeder (25 rep)
Mar 14, 2023, 04:52 PM • Last activity: Mar 21, 2023, 12:08 AM
1 votes
1 answers
5597 views
Black Screen while installing Kali Linux on Mac M1 through UTM
Whenever I try to install Linux through [UTM][1], I get a black screen after the installation. Does anyone know what we need to do to solve this problem? [1]: https://getutm.app/
Whenever I try to install Linux through UTM , I get a black screen after the installation. Does anyone know what we need to do to solve this problem?
Hvaandres (119 rep)
Jan 17, 2023, 05:13 PM • Last activity: Mar 3, 2023, 11:51 PM
23 votes
5 answers
37326 views
I have high io stat. High writes. But what files are being written?
avg-cpu: %user %nice %system %iowait %steal %idle 11.50 0.02 5.38 0.07 0.00 83.04 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util sdc 0.01 89.92 0.26 41.59 3.36 457.19 22.01 0.23 5.60 0.09 0.38 sdb 0.10 15.59 0.40 14.55 8.96 120.57 17.33 0.04 2.91 0.07 0.11 sda 0.13 45....
avg-cpu: %user %nice %system %iowait %steal %idle 11.50 0.02 5.38 0.07 0.00 83.04 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util sdc 0.01 89.92 0.26 41.59 3.36 457.19 22.01 0.23 5.60 0.09 0.38 sdb 0.10 15.59 0.40 14.55 8.96 120.57 17.33 0.04 2.91 0.07 0.11 sda 0.13 45.37 0.96 8.09 20.06 213.56 51.63 0.02 2.64 0.16 0.14 sde 0.01 31.83 0.09 11.34 0.94 103.56 18.29 0.04 3.52 0.14 0.16 sdd 0.01 48.01 0.13 19.81 1.58 202.16 20.44 0.11 5.62 0.13 0.25 Is there a way to know what files are being written? 457 kB/s Also this other linux machine have this same problem. avg-cpu: %user %nice %system %iowait %steal %idle 20.50 0.00 46.48 20.74 0.00 12.28 Device: rrqm/s wrqm/s r/s w/s rkB/s wkB/s avgrq-sz avgqu-sz await svctm %util sda 0.17 11.61 0.99 3.51 36.65 59.43 42.70 0.10 23.20 3.84 1.73 sdb 0.55 224.18 24.30 97.45 246.48 1287.12 25.19 3.96 32.53 7.88 95.91 sdd 0.53 226.75 25.56 90.96 283.50 1271.69 26.69 3.43 29.44 8.22 95.75 sdc 0.00 1.76 0.28 0.06 4.73 7.26 70.41 0.00 12.00 2.12 0.07 dm-0 0.00 0.00 1.11 14.77 36.41 58.92 12.01 1.00 62.86 1.09 1.74 dm-1 0.00 0.00 0.04 0.12 0.17 0.49 8.00 0.00 21.79 2.47 0.04 dm-2 0.00 0.00 0.01 0.00 0.05 0.01 8.50 0.00 7.90 2.08 0.00 1200 write request per second for a server that host nothing
user4951 (10749 rep)
Jan 6, 2013, 03:36 AM • Last activity: Sep 27, 2022, 01:32 PM
1 votes
0 answers
1258 views
Connect iPad to Linux computer using ethernet over USB C (forming a "mini-network")
I teach a class which requires me to switch between projecting my ipad (handwritten notes) and my computer desktop (code, simulations, etc.). To do this, I installed uxplay which allows me to host an airplay server on my computer, and I have no issues mirroring my ipad on my home network. However, t...
I teach a class which requires me to switch between projecting my ipad (handwritten notes) and my computer desktop (code, simulations, etc.). To do this, I installed uxplay which allows me to host an airplay server on my computer, and I have no issues mirroring my ipad on my home network. However, the network at my job is not compatible with airplay, so I need a different solution. I noticed that if I turn off wifi on the laptop and iphone, and then tether my computer to the iphone using USB, my laptop gets an IP address and I can mirror the iphone to the Linux computer (again, using uxplay). Now I'd like to make it so that when the ipad (which does not have LTE and does not have the tethering option) is plugged into the Linux computer, it will obtain a "local" IP address from my laptop (i.e., not on the work network), and I could launch uxplay using this "mini network" and mirror my ipad. I have seen a similar setup for the raspberry pi, but don't have enough knowledge to adapt it to my situation: https://www.hardill.me.uk/wordpress/2019/11/02/pi4-usb-c-gadget/ In particular, I don't understand what the shell script does...
iPadLinuxUser (11 rep)
Jan 16, 2022, 11:50 AM
1 votes
1 answers
866 views
idevicerestore fails to compile on Ubuntu 15.04
Trying to compile idevicerestore, but it fails midway through. Heres the log libtoolize: linking file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: linking file `m4/libtool.m4' libtoolize: linking file `m4/ltoptions.m4' libtoolize: linking file `m4/ltsugar.m4' li...
Trying to compile idevicerestore, but it fails midway through. Heres the log libtoolize: linking file `./ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'. libtoolize: linking file `m4/libtool.m4' libtoolize: linking file `m4/ltoptions.m4' libtoolize: linking file `m4/ltsugar.m4' libtoolize: linking file `m4/ltversion.m4' libtoolize: linking file `m4/lt~obsolete.m4' libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. configure.ac:11: installing './compile' checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /home/nikola/Desktop/idevicerestore/missing: Unknown `--is-lightweight' option Try `/home/nikola/Desktop/idevicerestore/missing --help' for more information configure: WARNING: 'missing' script is too old or missing checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... @ checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for libimobiledevice... yes checking for libplist... yes checking for libzip... yes checking for libcurl... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands make all-recursive make: Entering directory '/home/nikola/Desktop/idevicerestore' Making all in src make: Entering directory '/home/nikola/Desktop/idevicerestore/src' gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-idevicerestore.o -MD -MP -MF .deps/idevicerestore-idevicerestore.Tpo -c -o idevicerestore-idevicerestore.o test -f 'idevicerestore.c' || echo './'idevicerestore.c idevicerestore.c: In function ‘main’: idevicerestore.c:381:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "RestoreBehavior", plist_new_string((client->flags & FLAG_ERASE) ? "Erase" : "Update")); ^ idevicerestore.c:382:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "Variant", plist_new_string((client->flags & FLAG_ERASE) ? "Customer Erase Install (IPSW)" : "Customer Upgrade Install (IPSW)")); ^ idevicerestore.c:383:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(build_identity, "Info", info); ^ idevicerestore.c:426:5: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "Path", plist_new_string(tmpstr)); ^ idevicerestore.c:428:5: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(comp, "Info", info); ^ idevicerestore.c:431:6: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, compname, comp); ^ idevicerestore.c:433:7: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, "RestoreDeviceTree", plist_copy(comp)); ^ idevicerestore.c:446:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "Path", plist_new_string(tmpstr)); ^ idevicerestore.c:448:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(comp, "Info", info); ^ idevicerestore.c:449:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, "iBSS", comp); ^ idevicerestore.c:454:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "Path", plist_new_string(tmpstr)); ^ idevicerestore.c:456:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(comp, "Info", info); ^ idevicerestore.c:457:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, "iBEC", comp); ^ idevicerestore.c:470:7: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "Path", plist_copy(kc)); ^ idevicerestore.c:472:7: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(comp, "Info", info); ^ idevicerestore.c:473:7: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, "KernelCache", comp); ^ idevicerestore.c:474:7: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, "RestoreKernelCache", plist_copy(comp)); ^ idevicerestore.c:486:6: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "Path", plist_copy(rd)); ^ idevicerestore.c:488:6: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(comp, "Info", info); ^ idevicerestore.c:489:6: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, "RestoreRamDisk", comp); ^ idevicerestore.c:503:5: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(info, "Path", plist_copy(os)); ^ idevicerestore.c:505:5: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(comp, "Info", info); ^ idevicerestore.c:506:5: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(manifest, "OS", comp); ^ idevicerestore.c:510:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(build_identity, "Manifest", manifest); ^ idevicerestore.c: In function ‘fixup_tss’: idevicerestore.c:1108:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss, "RestoreLogo", plist_copy(node2)); ^ idevicerestore.c:1116:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss, "RestoreDeviceTree", plist_copy(node2)); ^ idevicerestore.c:1124:4: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss, "RestoreKernelCache", plist_copy(node2)); ^ mv -f .deps/idevicerestore-idevicerestore.Tpo .deps/idevicerestore-idevicerestore.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-common.o -MD -MP -MF .deps/idevicerestore-common.Tpo -c -o idevicerestore-common.o test -f 'common.c' || echo './'common.c mv -f .deps/idevicerestore-common.Tpo .deps/idevicerestore-common.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-tss.o -MD -MP -MF .deps/idevicerestore-tss.Tpo -c -o idevicerestore-tss.o test -f 'tss.c' || echo './'tss.c tss.c: In function ‘tss_create_request’: tss.c:90:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "@APTicket", plist_new_bool(1)); ^ tss.c:91:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "@BBTicket", plist_new_bool(1)); ^ tss.c:92:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "@HostIpAddress", plist_new_string("192.168.0.1")); ^ tss.c:93:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "@HostPlatformInfo", plist_new_string("mac")); ^ tss.c:94:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "@Locality", plist_new_string("en_US")); ^ tss.c:97:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "@UUID", plist_new_string(guid)); ^ tss.c:100:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "@VersionInfo", plist_new_string("libauthinstall-107.3")); ^ tss.c:101:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "ApBoardID", plist_new_uint(board_id)); ^ tss.c:102:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "ApChipID", plist_new_uint(chip_id)); ^ tss.c:103:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "ApECID", plist_new_string(ecid_string)); ^ tss.c:105:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "ApNonce", plist_new_data(nonce, nonce_size)); ^ tss.c:107:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "ApProductionMode", plist_new_bool(1)); ^ tss.c:108:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "ApSecurityDomain", plist_new_uint(security_domain)); ^ tss.c:109:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, "UniqueBuildID", plist_new_data(unique_build_data, unique_build_size)); ^ tss.c:140:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(tss_request, key, tss_entry); ^ mv -f .deps/idevicerestore-tss.Tpo .deps/idevicerestore-tss.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-img3.o -MD -MP -MF .deps/idevicerestore-img3.Tpo -c -o idevicerestore-img3.o test -f 'img3.c' || echo './'img3.c mv -f .deps/idevicerestore-img3.Tpo .deps/idevicerestore-img3.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-ipsw.o -MD -MP -MF .deps/idevicerestore-ipsw.Tpo -c -o idevicerestore-ipsw.o test -f 'ipsw.c' || echo './'ipsw.c mv -f .deps/idevicerestore-ipsw.Tpo .deps/idevicerestore-ipsw.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-normal.o -MD -MP -MF .deps/idevicerestore-normal.Tpo -c -o idevicerestore-normal.o test -f 'normal.c' || echo './'normal.c mv -f .deps/idevicerestore-normal.Tpo .deps/idevicerestore-normal.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-dfu.o -MD -MP -MF .deps/idevicerestore-dfu.Tpo -c -o idevicerestore-dfu.o test -f 'dfu.c' || echo './'dfu.c mv -f .deps/idevicerestore-dfu.Tpo .deps/idevicerestore-dfu.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-recovery.o -MD -MP -MF .deps/idevicerestore-recovery.Tpo -c -o idevicerestore-recovery.o test -f 'recovery.c' || echo './'recovery.c mv -f .deps/idevicerestore-recovery.Tpo .deps/idevicerestore-recovery.Po gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -I/usr/include/libxml2 -I/usr/lib/x86_64-linux-gnu/libzip/include -g -O2 -MT idevicerestore-restore.o -MD -MP -MF .deps/idevicerestore-restore.Tpo -c -o idevicerestore-restore.o test -f 'restore.c' || echo './'restore.c In file included from /usr/include/string.h:634:0, from restore.c:24: restore.c: In function ‘restore_device_callback’: restore.c:185:30: error: ‘idevice_event_t’ has no member named ‘uuid’ client->uuid = strdup(event->uuid); ^ restore.c:185:30: error: ‘idevice_event_t’ has no member named ‘uuid’ client->uuid = strdup(event->uuid); ^ restore.c:185:30: error: ‘idevice_event_t’ has no member named ‘uuid’ client->uuid = strdup(event->uuid); ^ restore.c:185:30: error: ‘idevice_event_t’ has no member named ‘uuid’ client->uuid = strdup(event->uuid); ^ restore.c:185:30: error: ‘idevice_event_t’ has no member named ‘uuid’ client->uuid = strdup(event->uuid); ^ restore.c:185:30: error: ‘idevice_event_t’ has no member named ‘uuid’ client->uuid = strdup(event->uuid); ^ restore.c:185:30: error: ‘idevice_event_t’ has no member named ‘uuid’ client->uuid = strdup(event->uuid); ^ restore.c: In function ‘restore_send_root_ticket’: restore.c:577:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(dict, "RootTicketData", plist_new_data(data, (uint64_t)len)); ^ restore.c: In function ‘restore_send_kernelcache’: restore.c:626:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(dict, "KernelCacheFile", blob); ^ restore.c: In function ‘restore_send_nor’: restore.c:700:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(dict, "LlbImageData", plist_new_data(llb_data, (uint64_t) llb_size)); ^ restore.c:724:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(dict, "NorImageData", norimage_array); ^ restore.c: In function ‘restore_device’: restore.c:821:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "AutoBootDelay", plist_new_uint(0)); ^ restore.c:823:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "BootImageType", plist_new_string("UserOrInternal")); ^ restore.c:826:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "CreateFilesystemPartitions", plist_new_bool(1)); ^ restore.c:827:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "DFUFileType", plist_new_string("RELEASE")); ^ restore.c:828:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "DataImage", plist_new_bool(0)); ^ restore.c:831:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "FirmwareDirectory", plist_new_string(".")); ^ restore.c:833:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "FlashNOR", plist_new_bool(1)); ^ restore.c:837:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "KernelCacheType", plist_new_string("Release")); ^ restore.c:841:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "NORImageType", plist_new_string("production")); ^ restore.c:845:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "RestoreBootArgs", plist_new_string(client->restore_boot_args)); ^ restore.c:847:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "RestoreBundlePath", plist_new_string("/tmp/Per2.tmp")); ^ restore.c:848:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "RootToInstall", plist_new_bool(0)); ^ restore.c:851:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "SystemImage", plist_new_bool(1)); ^ restore.c:854:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(spp, "16", plist_new_uint(160)); ^ restore.c:855:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(spp, "32", plist_new_uint(320)); ^ restore.c:856:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(spp, "64", plist_new_uint(640)); ^ restore.c:857:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(spp, "8", plist_new_uint(80)); ^ restore.c:860:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "SystemImageType", plist_new_string("User")); ^ restore.c:862:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "SystemPartitionPadding", spp); ^ restore.c:865:3: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "UUID", plist_new_string(guid)); ^ restore.c:869:2: warning: ‘plist_dict_insert_item’ is deprecated (declared at /usr/include/plist/plist.h:339): use plist_dict_set_item instead [-Wdeprecated-declarations] plist_dict_insert_item(opts, "UpdateBaseband", plist_new_bool(0)); ^ restore.c:874:18: error: too few arguments to function ‘restored_start_restore’ restore_error = restored_start_restore(restore); ^ In file included from restore.c:25:0: /usr/include/libimobiledevice/restore.h:64:18: note: declared here restored_error_t restored_start_restore(restored_client_t client, plist_t options, uint64_t version); ^ Makefile:574: recipe for target 'idevicerestore-restore.o' failed make: *** [idevicerestore-restore.o] Error 1 make: Leaving directory '/home/nikola/Desktop/idevicerestore/src' Makefile:402: recipe for target 'all-recursive' failed make: *** [all-recursive] Error 1 make: Leaving directory '/home/nikola/Desktop/idevicerestore' Makefile:333: recipe for target 'all' failed make: *** [all] Error 2 I had to shorten the log because it was way too big! Hopefully this is enough.
nik123 (25 rep)
Oct 17, 2015, 07:43 PM • Last activity: Dec 17, 2021, 10:10 PM
1 votes
0 answers
40 views
Select one out of 2 specific files, copy and rename it
I need help running code locally using a terminal app called NewTerm2 on my iPhone (this app has limited functionality but it's more comfortable with unix commands) Here's the case: I have this tree `/Library/Themes/"Variable Folder"/Bundles/com.apple.springboard/some images.png` (Variable Folder ca...
I need help running code locally using a terminal app called NewTerm2 on my iPhone (this app has limited functionality but it's more comfortable with unix commands) Here's the case: I have this tree /Library/Themes/"Variable Folder"/Bundles/com.apple.springboard/some images.png (Variable Folder can be any name) Variable Folders might contain several images but the ones I'm interested in are only Image1 or Image2, **to be clear, some could contain only one of these 2** I need to: 1- copy one of the 2 patterns only, "Image1.png" or "Image2.png" 2- rename the copied image "Variable Folder.png" and place it in another location. So I started with this code applying to Image1
/Library/Themes/"Variable Folder"/Bundles/com.apple.springboard
"Image1.png" /var/mobile/Documents/Dock-Temp/"Variable Folder.png"
But it worked only for the Variable folders containing Image1, so I modified it to this:
/Library/Themes/"Variable Folder"/Bundles/com.apple.springboard
. -type f \( -name "Image1.png" -or -name "Image2.png" \) | head -n 1 | sed 's|^./||' | xargs cp /var/mobile/Documents/Dock-Temp/"Variable Folder.png"
head -n 1 gets the first result from find, sed 's|^./||' removes ./ before file name But only the part of code up to xargs works, I'd be grateful if someone helps me find the error
Tito (73 rep)
May 28, 2021, 01:40 PM
6 votes
6 answers
668 views
List only sub-directories containing two specific files
I'm running the following code on iOS using my iPhone's terminal, to be clear, this command is run within my jailbroken iphone using a slim terminal tweak called New Term 2: ``` cd /var/mobile/Library/Widgets find . -maxdepth 3 -name 'index.html' -printf "%h\n" ``` This returns the list of the folde...
I'm running the following code on iOS using my iPhone's terminal, to be clear, this command is run within my jailbroken iphone using a slim terminal tweak called New Term 2:
cd /var/mobile/Library/Widgets
find . -maxdepth 3 -name 'index.html' -printf "%h\n"
This returns the list of the folders containing index.html. I'd like to know how to add another file: Config_extra.js (if it exists, it'll be located in the same folder as index.html) to the search in a way that the results show **only folders containing both files** Thanks in advance
Tito (73 rep)
May 11, 2021, 10:07 AM • Last activity: May 12, 2021, 03:56 PM
0 votes
1 answers
436 views
Can't copy contents to my iPad or iPhone
I can't seem to be able to transfer files from my laptop (which has Pop!_OS 19.10) to my iOS devices. Specifically, while copying the file to any of my apps on iPad/iPhone (inside Documents on iPad/iPhone), the progress indicator on the file manager seems stuck and doesn't move forward at all after...
I can't seem to be able to transfer files from my laptop (which has Pop!_OS 19.10) to my iOS devices. Specifically, while copying the file to any of my apps on iPad/iPhone (inside Documents on iPad/iPhone), the progress indicator on the file manager seems stuck and doesn't move forward at all after pasting the file. (See below). Image I can, however, do it the other way around - copy files from my iPad to my laptop. Using the same cable and device, I can do transfers from a Windows machine so I'm guessing the problem is not with my iPad(I recently updated to iOS 13) or my cables. I have also tried it on multiple USB ports. My device seems paired with my laptop since trying idevicepair pair gave me SUCCESS: Paired with device XYZ How can I go about fixing this?
3141bishwa (1 rep)
Dec 18, 2019, 04:24 PM • Last activity: Sep 1, 2020, 07:30 AM
2 votes
0 answers
399 views
How to access iOS notes with ifuse?
I'm using [ifuse](https://wiki.archlinux.org/index.php/IOS#The_iFuse_Way) to sync my iOS device with Linux. Accessing photos (DCIM folder etc.) among other files and folders works, how can I access the notes though?
I'm using [ifuse](https://wiki.archlinux.org/index.php/IOS#The_iFuse_Way) to sync my iOS device with Linux. Accessing photos (DCIM folder etc.) among other files and folders works, how can I access the notes though?
jjk (445 rep)
May 18, 2020, 09:26 AM • Last activity: May 18, 2020, 09:42 AM
1 votes
0 answers
883 views
Connecting iOS devices to KVM guest
I'm trying to connect an iPad to a MacOS guest via KVM. The MacOS guest runs fine, PCIe passthrough to a K4000 also works. OS is Fedora 31, 5.5.10-200.fc31.x86_64. Libvirt/virsh is 5.6.0, QEMU is qemu-4.1.1-1.fc31. I'm using this fragment to connect: The iPad tries to connect, then it seems to disco...
I'm trying to connect an iPad to a MacOS guest via KVM. The MacOS guest runs fine, PCIe passthrough to a K4000 also works. OS is Fedora 31, 5.5.10-200.fc31.x86_64. Libvirt/virsh is 5.6.0, QEMU is qemu-4.1.1-1.fc31. I'm using this fragment to connect: The iPad tries to connect, then it seems to disconnect and then re-connect, but again to the host instead of the guest. Newer iOS devices seem to re-connect after first being plugged in to change USB descriptors. No usbmuxd is installed as the system is headless/no GUI. I then created a udev rule to automatically attach the device to the guest when plugged in. Now, when the iPad is plugged in, it seems to repeatedly get attached and detached from the guest, freezing it. If left plugged in, both the iPad and the MacOS guest will eventually crash and reboot. Any way to get the iPad connected to the guest without a PCIe passthrough of one of the USB controllers? As the system doesn't have that many USB ports anyway, and there is only a single PCI (no e) slot left, I still want to try to find a software solution, instead of using a guest-dedicated USB controller.
Alexander Gräf (111 rep)
Mar 29, 2020, 03:43 AM
0 votes
1 answers
1680 views
Command to get ssl certificate pinning from certificate
There is a new certificate in PEM format. How to get from it (using OpenSSL?) a format expected by iOS? (example: [Alamofire/Source/ServerTrustEvaluation.swift](https://github.com/Alamofire/Alamofire/blob/master/Source/ServerTrustEvaluation.swift)) I've tried using something like: openssl x509 -in n...
There is a new certificate in PEM format. How to get from it (using OpenSSL?) a format expected by iOS? (example: [Alamofire/Source/ServerTrustEvaluation.swift](https://github.com/Alamofire/Alamofire/blob/master/Source/ServerTrustEvaluation.swift)) I've tried using something like: openssl x509 -in newcertificate.crt -outform der |openssl dgst -sha256 -binary |openssl enc -base64 But it doesn't generate output like debug in iOS library. I can of course get pinning from debug in library - but I would like to receive the same pinning using OpenSSL command.
undefine (1450 rep)
Apr 9, 2018, 10:06 AM • Last activity: Feb 27, 2020, 11:23 AM
13 votes
4 answers
11880 views
Private VPN compression for faster Internet
### Background: I'm a student, and currently the Wi-Fi connection at my school is very slow (dead slow). I have an 8Gb 4G data-plan, but even with that, I'm running short at the end of the month. I have set up a Debian headless at home (which has a 400 Mbps connection), and I'm already using it as a...
### Background: I'm a student, and currently the Wi-Fi connection at my school is very slow (dead slow). I have an 8Gb 4G data-plan, but even with that, I'm running short at the end of the month. I have set up a Debian headless at home (which has a 400 Mbps connection), and I'm already using it as an automated Seedbox, an L2TP-IPSec VPN, a BTSync server, and an Apache server. I started building two months ago — knowing I wouldn't get blazing fast internet connection — so I'm rather new to Debian ### Here is my question: Is it possible to **efficiently compress data over a private VPN**? I know some iPhone and Android apps like [Onavo Extend](http://www.onavo.com/apps/iphone_extend) can achieve that, and I was wondering how I could put this kind of system in place (if it is indeed effective enough) so that my 4G-data usage would be lighter. If I ever come to installing/building such VPN, it should be compatible with: * Debian (the server), * Mac OS (my computer), * and iOS (my phone). If you have any other suggestion on how I could speed up my school's WiFi. I did some tests on it; ping www.google.com times out, arp -a takes a long time, but eventually displays a few peers, and any speedtest (when the bad connection gives me Internet access) return 0.28 Mbps Down-Speeds.
LaX (437 rep)
Sep 12, 2014, 05:50 PM • Last activity: Feb 25, 2020, 01:59 PM
Showing page 1 of 20 total questions