Coder Social home page Coder Social logo

itztravelintime / tinu Goto Github PK

View Code? Open in Web Editor NEW
478.0 31.0 35.0 19.29 MB

TINU: The open tool to create bootable macOS installers.

License: GNU General Public License v2.0

Swift 99.95% Shell 0.05%
bootable-macos-installer macos vanilla hackintosh installer usb-drive macosx efi-partition clover tool

tinu's Introduction

TINU

AppIcon

TINU is the open tool to create bootable macOS installers.

[TINU Is Not Unibe**t]

This software is intended to be used to create a bootable macOS installer for computers capable of running Apple's macOS. This app, among other things, is also a GUI for the createinstallmedia executable that could be found in any macOS installer app from Mavericks up to the latest versions.

It allows you to easily create a macOS install media without messing around with command line stuff and without using Disk Utility, and also detects and prevents the most common errors with the creation of bootable vanilla macOS installers.

For the latest Source code check out the development branch!

Features:

  • No need for guides or instructions! Just follow the very simple on-screen indications to very easily start the bootable macOS installer creation process.
  • Fully open: You can see how this program works and you can freely contribute to it! (See the Repository rules and the Note that sections of this page)
  • Support for multiple languages (currently just Italian and English, but more will be added with future updates once the system which allows it gets improved)
  • Can work with every macOS installer app that has the createinstallmedia executable inside its internal resources folder (including also beta and newly released installers).
  • 100% clean using the official apple's method: The bootable macOS installers created with this tool are made using the official apple's createinstallmedia method, just as if you created them using the command line, this ensures the best and the cleanest results avoiding all the problems that modded installers have.
  • Does not require any special preparations. Just open the program, make sure you have a big enough USB drive plugged in (see the Requirements section) and have a macOS installer app on your disk.
  • No need to use Disk Utility first. TINU can format your drive or partition for you, if it's necessary.
  • Integrated downloads from Apple for lots of macOS/OS X installer apps (to access them open the app, go to the menu bar, and then Tools->Download a macOS installer).
  • Integrated EFI partition mounter tool.
  • Automatic Clover and OpenCore EFI folder installer.
  • Tested to work on all the latest macOS releases.
  • Makes use of the latest Swift 5 language and the latest Xcode release.

(To suggest a new feature please contact us.)

Requirements:

  • A computer that runs Mac OS X Yosemite or later.
  • A drive or a partition (to turn into a macOS installer) of least 8 GB (9+ GB for a Catalina installer or 12+ GB for installers of Big Sur and later macOS versions). NOTE: partitions are usable only if they belong to a drive which uses the GUID partition format.
  • A copy of a ".app" macOS/Mac OS X installer (Mavericks or newer versions are supported), it's recommended to have the app placed into the /Applications folder or in the root of a volume connected to your computer (excepted the drive/volume you want to turn into your macOS install media).

Download:

Building/Compiling requirements:

  • Xcode 12.0 or newer.
  • An internet connection.

Frequently asked questions (FAQs):

https://github.com/ITzTravelInTime/TINU/wiki/FAQs

Useful links and contacts:

Thread (English) on insanelymac.com:

Thread (Italian) on insanelymac.com:

Thread (English-German) on hackintosh-forum.de:

Contact the project creator (ITzTravelInTime aka Pietro):

Swift packages used:

Repository rules:

  • Respect the GNU GPL license please!
  • If you want to create your own modified fork of TINU please let the project maintainers know! In this way your changes/fixes can be integrated into the main repo of the app.
  • If you believe that your changes may help with the project, create your own fork, apply your changes to it and then create a pull/merge request to the default branch here to let the changes be applyed more easily by the repository maintainers, and also have you credited by github for your work.
  • Create an issue here on GitHub for any problems, bugs, bug fixes, spelling or grammar errors, mis-placements or just for suggestions (ones from designers and developers are always especially welcome).

Note that:

  • We (the project creator and other people involved with the project) assume no responsibility for any use of this app or source code; use them at your own risk!
  • We (the project creator and other people involved with the project) do not guarantee support to you; this is only an open source project done in our free time, not a product released by a company!
  • This project is born only for educational and demonstrative purposes, it's not intended to be used for commercial purposes. It's released in the hope that it could be useful to you.
  • Changes to the provided source code are documented using the git commit history, so for any detailed info about any changes made please use that.

Credits:

  • Apple for macOS, system icons and macOS installer apps (and their createinstallmedia executable).
  • Special thanks (for their help/feedback) to: Francesco Perchiazzi, Nicola Tomarelli, Roberto Sciortino, Raffaele Sonnessa, Ermanno Nicoletti, Tommaso Dimatore, Michele Vitiello Bonaventura, Massimiliano Faralli, Davide Dessì, Giorgio Dall'Aglio, Peter Paul Chato, Antonio De Masi, the Facebook group "Italian Hackintosh group!!", the Telegram group "Hackintosh Italia" and the community from hackintosh-forum.de .
  • Matthew Elvey for README copyediting.
  • Gianmarco Gargiulo for the current app icon and usb drive image.
  • Thomas Tempelmann for help with some UI/code bugs and some grammar/spelling mistakes.
  • Pietro Caruso (ITzTravelInTime) project creator, maintainer and main developer.

Legal info:

TINU is the open tool to create bootable macOS installers. Copyright (C) 2017-2022 Pietro Caruso (ITzTravelInTime)

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.

tinu's People

Contributors

elvey avatar itztravelintime avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tinu's Issues

Could not lunch the app into diagnostics mode

greeting
when i open the app i get the following error: “DebugScriptSudo.command” can’t be opened because TINU is not allowed to open documents in Terminal.
i am on macbook pro 2021 m1 pro
Screenshot 2022-11-01 at 10 56 41

Failed process

I could not create a USB on Monterey 12.0 Beta.

[TINU] ╔═══════════════════════════════╗ [TINU] ║ ║ [TINU] ║ ║ [TINU] ║ _/_ o ║ [TINU] ║ / , _ _ , , ║ [TINU] ║ (__(_( ( (_/(_/(__ ║ [TINU] ║ Version: RE�LEASE 3.0.1 ║ [TINU] ║ Build: 107 ║ [TINU] ║ ║ [TINU] ║ Made with love using: ║ [TINU] ║ __, ║ [TINU] ║ ( o /) _/_ ║ [TINU] ║ . , , , , // / ║
[TINU] ║ ()((/(_ //_ (__ ║
[TINU] ║ /) ║
[TINU] ║ (/ ║
[TINU] ║ ║
[TINU] ║ ║
[TINU] ╚═══════════════════════════════╝
[SIP] Can't get SIP staus, due to a problem while converting the nvram output to a valid integer
[SIP] Is SIP Enabled? We don't know because the SIP status is either unsupported or unkown.
Current user is: root
Is the current user Root?: Yes
Getting diskutil data to detect storage devices
[TINU] Got diskutil data? YES
[TINU] diskutil data successfully decoded and interpreted
[TINU] Analyzing disk data to detect usable storage devices
[TINU] Drive: BSDID(rawValue: "disk0")
[TINU] Drive belongs to the boot drive
[TINU] Drive meets all the requirements
[TINU] scanning the partitions to find usable ones:
[TINU] Partition/Volume: BSDID(rawValue: "disk0s1")
[TINU] Partition/Volume content: Other file system
[TINU] Partition is not mounted, it needs to be mounted in order to be detected and usable with what we need to do later on
[TINU] Partition/Volume: BSDID(rawValue: "disk0s2")
[TINU] Partition/Volume content: Apple_APFS
[TINU] Partition is a container disk, skipping it
[TINU] Drive: BSDID(rawValue: "disk1")
[TINU] Drive is a container drive, skipping it
[TINU] Drive: BSDID(rawValue: "disk2")
[TINU] Drive meets all the requirements
[TINU] scanning the partitions to find usable ones:
[TINU] Partition/Volume: BSDID(rawValue: "disk2s1")
[TINU] Partition/Volume content: EFI
[TINU] Partition is not mounted, it needs to be mounted in order to be detected and usable with what we need to do later on
[TINU] Partition/Volume: BSDID(rawValue: "disk2s2")
[TINU] Partition/Volume content: Apple_HFS
[TINU] Partition meets all the requirements, it will be added to the detected partitions list as usable
[TINU] Drive: BSDID(rawValue: "disk3")
[TINU] Drive meets all the requirements
[TINU] scanning the partitions to find usable ones:
[TINU] Partition/Volume: BSDID(rawValue: "disk3s1")
[TINU] Partition/Volume content: EFI
[TINU] Partition is not mounted, it needs to be mounted in order to be detected and usable with what we need to do later on
[TINU] Partition/Volume: BSDID(rawValue: "disk3s2")
[TINU] Partition/Volume content: Apple_HFS
[TINU] Partition meets all the requirements, it will be added to the detected partitions list as usable
[TINU] Item type: Drive
[TINU] Item display name is: Samsung SSD 980 PRO 500GB
[TINU] Item type: Drive
[TINU] Item display name is: Kingston DataTraveler 3.0
[TINU] Item type: Partition
[TINU] Item display name is: "Install macOS Monterey"
[TINU] Item type: Drive
[TINU] Item display name is: Apple UDIF salt okunur
[TINU] Item type: Partition
[TINU] Item display name is: Shared Support
[TINU] Trying to restore the other options to the default values
[TINU] Other options restored to the original values
[TINU] Starting Installer App scanning
[TINURecovery] Is Sandbox enabled? No
[TINURecovery] Keep in mind that this app has unrestricted access now!
[TINURecovery] Is this app/program running inside a macOS Recovery/Installer OS? No
[TINU] Scanning for usable apps in /Applications
[TINU] /Applications/Install macOS Monterey.app has been added to the apps list
[TINU] Scanning for usable apps in /System/Applications
[TINU] Scanning for usable apps in /System/Applications
[TINU] Scanning for usable apps in /
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/Applications
[TINU] Scanning for usable apps in /Volumes/"Install macOS Monterey"
[TINU] Scanning for usable apps in /Applications/Utilities
[TINU] Scanning for usable apps in /System/Applications/Utilities
[TINU] Scanning for usable apps in /System/Applications/Utilities
[TINU] Scanning for usable apps in /home
[TINU] Scanning for usable apps in /usr
[TINU] Scanning for usable apps in /bin
[TINU] Scanning for usable apps in /sbin
[TINU] Scanning for usable apps in /etc
[TINU] Scanning for usable apps in /var
[TINU] Scanning for usable apps in /Library
[TINU] Scanning for usable apps in /System
[TINU] Scanning for usable apps in /private
[TINU] Scanning for usable apps in /.vol
[TINU] Scanning for usable apps in /Users
[TINU] Scanning for usable apps in /Applications
[TINU] Scanning for usable apps in /opt
[TINU] Scanning for usable apps in /dev
[TINU] Scanning for usable apps in /Volumes
[TINU] Scanning for usable apps in /tmp
[TINU] Scanning for usable apps in /cores
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/sw
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/home
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/usr
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/.Spotlight-V100
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/boot
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/Previous Content
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/Library
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/.Trashes
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/System
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/mnt
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/.fseventsd
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/private
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/.DocumentRevisions-V100
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/Users
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/Applications
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/opt
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/.PreviousSystemInformation
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/Volumes
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/.TemporaryItems
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/cores
[TINU] Scanning for usable apps in /Volumes/Big SUR - Veriler/Applications/Utilities
[TINU] Scanning for usable apps in /Volumes/"Install macOS Monterey"/.fseventsd
[TINU] Scanning for usable apps in /Volumes/"Install macOS Monterey"/.Spotlight-V100
[TINU] Installer App Scanning is complete
[TINU] Trying to restore the other options to the default values
[TINU] Other options restored to the original values
[TINU] Trying to restore the other options to the default values
[TINU] Other options restored to the original values
[TINU] Everything is ready to start the creation/installation process
[TINU] Starting the process...
[TINU] ***Trying to close conflicting processes
[TINU] If those conflicting processes are running,
[TINU] they may interfere with the success of
[TINU] the "createinstallmedia" operation
[TINU] ***No conflicting processes found or conflicting processes closed with success
[TINU] ###Trying to unmount conflicting volumes
[TINU] Those volumes may be mounted images
[TINU] from inside the macOS installer app
[TINU] and may interfere with the success of
[TINU] the "createinstallmedia" operation
[TINU] Unmounting EFI partitions
[TINU] Unmounting all EFI partitions
[TINU] Getting diskutil data to detect storage devices
[TINU] Got diskutil data? YES
[TINU] diskutil data successfully decoded and interpreted
[TINU] Unmounting EFI partition BSDID(rawValue: "disk2s1")
[TINU] Try to unmount the EFI partition: BSDID(rawValue: "disk2s1")
[TINU] EFI partition unmounted with success: BSDID(rawValue: "disk2s1")
[TINU] Unmounting EFI partition BSDID(rawValue: "disk2s1") was successfoul
[TINU] Unmounting EFI partition BSDID(rawValue: "disk3s1")
[TINU] Try to unmount the EFI partition: BSDID(rawValue: "disk3s1")
[TINU] EFI partition unmounted with success: BSDID(rawValue: "disk3s1")
[TINU] Unmounting EFI partition BSDID(rawValue: "disk3s1") was successfoul
[TINU] All EFI partitions successfully unmounted
[TINU] EFI partitions unmounted correctly
[TINU] Unmounting "/Volumes/InstallESD"
[TINU] Unmounting "/Volumes/InstallESD 2"
[TINU] Unmounting "/Volumes/InstallESD 3"
[TINU] Unmounting "/Volumes/InstallESD 4"
[TINU] Unmounting "/Volumes/InstallESD 5"
[TINU] Unmounting "/Volumes/InstallESD 6"
[TINU] Unmounting "/Volumes/InstallESD 7"
[TINU] Unmounting "/Volumes/InstallESD 8"
[TINU] Unmounting "/Volumes/InstallESD 9"
[TINU] Unmounting "/Volumes/InstallESD 10"
[TINU] Unmounting "/Volumes/OS X InstallESD"
[TINU] Unmounting "/Volumes/OS X InstallESD 2"
[TINU] Unmounting "/Volumes/OS X InstallESD 3"
[TINU] Unmounting "/Volumes/OS X InstallESD 4"
[TINU] Unmounting "/Volumes/OS X InstallESD 5"
[TINU] Unmounting "/Volumes/OS X InstallESD 6"
[TINU] Unmounting "/Volumes/OS X InstallESD 7"
[TINU] Unmounting "/Volumes/OS X InstallESD 8"
[TINU] Unmounting "/Volumes/OS X InstallESD 9"
[TINU] Unmounting "/Volumes/OS X InstallESD 10"
[TINU] ###Conflicting volumes unmounted with success or already unmounted
[TINU] @@@ Starting drive format process
[TINU] The disk needs to be unmounted, in order to be formatted
[TINU] Disk that will be unmounted: disk2
[CommandSudo] Executing /usr/sbin/diskutil with args ["unmountDisk", "disk2"] with administrator privileges
[CommandSudo] Executed command: /usr/sbin/diskutil unmountDisk disk2
[CommandSudo] Exit code: 1
[CommandSudo] Output:
[CommandSudo] Error:
[CommandSudo] Unmount of disk2 failed: at least one volume could not be unmounted
[CommandSudo] Unmount was dissented by PID 257 (/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Support/mds_stores)
[CommandSudo] Dissenter parent PPID 1 (/sbin/launchd)
[CommandSudo] Executing /usr/sbin/diskutil with args ["eraseDisk", "JHFS+", ""Install macOS Monterey"", "/dev/disk2"] with administrator privileges
[CommandSudo] Executed command: /usr/sbin/diskutil eraseDisk JHFS+ "Install macOS Monterey" /dev/disk2
[CommandSudo] Exit code: 0
[CommandSudo] Output:
[CommandSudo] Started erase on disk2
[CommandSudo] Unmounting disk
[CommandSudo] Creating the partition map
[CommandSudo] Waiting for partitions to activate
[CommandSudo] Formatting disk2s2 as Mac OS Extended (Journaled) with name "Install macOS Monterey"
[CommandSudo] Initialized /dev/rdisk2s2 as a 58 GB case-insensitive HFS Plus volume with a 8192k journal
[CommandSudo] Mounting disk
[CommandSudo] Finished erase on disk2
[CommandSudo] Error:
[TINU] @@@Volume format process ended with success
[TINU] The application that will be used is: /Applications/Install macOS Monterey.app
[TINU] The target drive is: /Volumes/"Install macOS Monterey"
[TINU] The script that will be performed is (including quotes): /Applications/Install macOS Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/"Install macOS Monterey" --applicationpath /Applications/Install macOS Monterey.app --nointeraction
[CommandSudo] Executing /Applications/Install macOS Monterey.app/Contents/Resources/createinstallmedia with args ["--volume", "/Volumes/"Install macOS Monterey"", "--applicationpath", "/Applications/Install macOS Monterey.app", "--nointeraction"] with administrator privileges
[TINU] Installer creation process started
[TINU] ******************************************
[TINU] Note that:
[TINU] -This process may take a lot of time (usually between 5 and 50 minutes) especially with slow storage devices (like Hard drives, SD/micro SD cards and virtual disks) and slow machines (like most virtual machines), so be patient and wait for it to finish
[TINU] -If you feel nothing is happening or the program is stuck remeber that TINU is just waiting for the program, createinstallmedia, to take care of the foundamental steps of this process, without knowing when it will finish his opearation. So TINU it's not stuck, it's just waiting.
[TINU] -The progress shown in the progress bar is just to give to the user the impression of busyness and that something is happening, so that's only cosmethic, but it's not actual progress since there is not a consistent way of obtaining accurate progress values during this step. TINU is just making the bar going forward by using a timer which increments it each few seconds for 50 minutes.
[TINU] -For more help or questions go to |Menu bar| -> |Help| -> |Contact us| there you will find all the links and the contacts related to this project (NOTE: this doesn't work when TINU is running in a macOS recovery environment).
[TINU] ******************************************
[TINU] Waiting for the createinstallmedia executable to finish...
[TINU] process took 18 seconds to finish
[TINU] "createinstallmedia" has finished, extracting output ...
[TINU] Output extracted:
[TINU]
[TINU] process error/s produced:
[TINU] WARNING: "--applicationpath" was deprecated in macOS 10.14, and has been removed completely in macOS 12.0.
[TINU] Please remove it from your invocation.
[TINU] Erasing disk: 0%... 10%...
[TINU] Error erasing disk error number (-69888, 0)
[TINU] An error occurred erasing the disk.
[TINU] Checking the createinstallmedia process
[TINU] Current user: root
[TINU] Main process exit code: 0
[TINU] Sub process exit code produced: 252
[TINU] Probable process outcome: Negative
[TINU] Bootable macOS installer creation failed, unknown output from "createinstallmedia" while creating the installer, please, erase this dirve with disk utility and retry
[TINU] Bootable macOS installer creation process ended
[TINU] Trying to restore the other options to the default values
[TINU] Other options restored to the original values
`

Please add an OpenCore EFI folder option

It would really be nice to add the OpenCore EFI folder in the same way as adding a Clover EFI folder.

Is there actually a difference, or will your tool accept any EFI folder including the OpenCore one? (If thats the case, maybe just add that to the text in the dialog box.)

TINU 2.1: No Install App in Applications=crash

Going to use TINU.
Old late 2009 iMac, 10.13.6 so have stored Mac OS Installers elsewhere.
Forgot to copy Mac OS Installer to Applications folder, invoked TINU and of course no Mac OS Installer found TINU=crash.
Maybe quick check Mac OS Install App is there and if not, tell user =idiot?
HTH?

(Heard U accident? Hope getting better.)

TINU on Mojave fails to download Sierra & El Capitan

On macOS 10.14.5 with TINU 3.0 beta 1 it will not show Catalina as an Option to download. When I search on the App Store or look in Software Update directly, it will show Catalina. I also had it refuse to download macOS versions multiple times: "The requested version of macOS is not available". This occurred with Mojave twice (then it finally worked), Sierra & El Capitan fails always. It's obviously not the fault of TINU, but it shows that using App Store links may not be a reliable way of getting macOS.

Could you provide additional alternate direct download links similar to what these tools are doing? dosdude1 or gibMacOS

image

image

[Suggestion] Use FileManager.default.mountedVolumeURLs(...) for fetching volumes

Consider retrieving mounted volumes for selection using something like:

let volumes = FileManager.default.mountedVolumeURLs(includingResourceValuesForKeys: [.volumeNameKey, .volumeAvailableCapacityKey, .volumeTotalCapacityKey, .volumeUUIDStringKey, .volumeIsInternalKey], options: [.skipHiddenVolumes])

With URLResourceKeys and VolumeEnumerationOptions suited to your needs.

Not working with Big Sur installer

I tried to use TINU (60) with the Big Sur Beta 1 installer app - it tells me that this is not a proper installer and can't use it.

And note that the BS installer will need 11 GB of disk space.

TINU 3.0 B2 fails to work on Catalina

Hi, I just spent ages troubleshooting an install failure on Catalina.

The install works on High Sierra.

The error in the log is: IA app name cookie write failed.

I could supply the log if you tell me where it is, I don't have Tinu running anymore atm. Otherwise, I will need to retry the install.

Secondary password prompt is not escaped

I couldn't get past the secondary password prompt. My password has '$$' in it. When I enter the '$$' as '\$\$' the secondary password prompt accepts my password. Please escape special characters from secondary password prompt.

Crash on Launch (Monterey, Beta 9)

The app crashes when trying to launch on macOS 12 (Beta 9).

Process:               TINU [51013]
Path:                  /Applications/TINU.app/Contents/MacOS/TINU
Identifier:            org.pietrocaruso.TINU
Version:               3.0 RELEASE CANDIDATE 3 (103)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2021-10-09 11:05:53.0930 -0700
OS Version:            macOS 12.0 (21A5543b)
Report Version:        12
Bridge OS Version:     6.0 (19P50542a)
Anonymous UUID:        74C57713-30FE-6674-2759-A7CF31C8115E

Sleep/Wake UUID:       308D05E0-9A7E-4F81-99C8-89344040D5CB

Time Awake Since Boot: 23000 seconds
Time Since Wake:       1778 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    Namespace SIGNAL, Code 4 Illegal instruction: 4
Terminating Process:   exc handler [51013]

ID   Vend/Dev
aa38 73bf1002
Seconds Ago   ID   Type
    69000.0   aa38 Attach
    68000.0   aa38 Eject
    68000.0   aa38 EjectFinalize
    68000.0   aa38 EjectFinalized
    68000.0   aa38 Detach


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   TINU                          	       0x10f949b66 specialized static SIP.actualStatus.getter + 1478
1   TINU                          	       0x10f94891e protocol witness for static SimulatableDetectable.actualStatus.getter in conformance SIP + 14
2   TINU                          	       0x10f947e46 static SimulatableDetectable.status.getter + 182
3   TINU                          	       0x10f7ff15d ChooseSideViewController.viewDidAppear() + 765
4   TINU                          	       0x10f8042ab @objc ChooseSideViewController.viewDidAppear() + 43
5   AppKit                        	    0x7ff81c5e2895 -[NSViewController _sendViewDidAppear] + 41
6   AppKit                        	    0x7ff81cd17fd2 -[NSView _windowDidOrderOnScreen] + 67
7   AppKit                        	    0x7ff81cd18068 -[NSView _windowDidOrderOnScreen] + 217
8   AppKit                        	    0x7ff81c5daf8b -[NSWindow _reallyDoOrderWindowAboveOrBelow:relativeTo:findKey:forCounter:force:isModal:] + 2040
9   AppKit                        	    0x7ff81c5da43c -[NSWindow _reallyDoOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 135
10  AppKit                        	    0x7ff81c5d9419 -[NSWindow _doOrderWindow:relativeTo:findKey:forCounter:force:isModal:] + 289
11  AppKit                        	    0x7ff81c5d9295 -[NSWindow orderWindow:relativeTo:] + 152
12  AppKit                        	    0x7ff81c5cde48 -[NSWindow makeKeyAndOrderFront:] + 60
13  QuickLookUI                   	    0x7ffa3617bfb6 -[QLSeamlessDocumentOpener showWindow:contentFrame:withBlock:] + 130
14  AppKit                        	    0x7ff81c6d61d3 -[NSWindowController showWindow:] + 672
15  AppKit                        	    0x7ff81c46699a NSApplicationMain + 995
16  TINU                          	       0x10f76b52d main + 13
17  dyld                          	       0x11d3454d5 start + 421

Thread 1:
0   libsystem_pthread.dylib       	    0x7ff8199b600c start_wqthread + 0

Thread 2:
0   libsystem_pthread.dylib       	    0x7ff8199b600c start_wqthread + 0

Thread 3:
0   libsystem_pthread.dylib       	    0x7ff8199b600c start_wqthread + 0

Thread 4:
0   libsystem_pthread.dylib       	    0x7ff8199b600c start_wqthread + 0


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000200000003  rbx: 0xe000000000000000  rcx: 0xfffffffe00000000  rdx: 0x0000000000000003
  rdi: 0x00006000021a2d58  rsi: 0x0000000200000003  rbp: 0x00007ff7b0797f80  rsp: 0x00007ff7b0797f10
   r8: 0x00007ff85c9613a0   r9: 0x0000000000000090  r10: 0x00000000000007fb  r11: 0x00005ffef28237b0
  r12: 0x00007ff85c9cc968  r13: 0x00007ff7b0797f20  r14: 0xd000000000000017  r15: 0x8000000000000000
  rip: 0x000000010f949b66  rfl: 0x0000000000010246  cr2: 0x00007ff85b05a540
  
Logical CPU:     6
Error Code:      0x00000000 
Trap Number:     6

Thread 0 instruction stream:
  ce 04 00 48 89 de 31 d2-4c 89 f9 4d 89 fd e8 c7  ...H..1.L..M....
  29 00 00 48 89 df e8 c1-7a 01 00 31 c0 80 3d ba  )..H....z..1..=.
  3c 06 00 00 75 06 8b 05-ae 3c 06 00 48 8d 65 d8  <...u....<..H.e.
  5b 41 5c 41 5d 41 5e 41-5f 5d c3 48 8d 3d a0 39  [A\A]A^A_].H.=.9
  06 00 48 8d 35 b1 ee ff-ff e8 72 7b 01 00 80 3d  ..H.5.....r{...=
  89 3c 06 00 00 0f 84 67-fa ff ff e9 6f fa ff ff  .<.....g....o...
 [0f]0b 0f 0b 66 0f 1f 44-00 00 83 ff 7f 7f 21 ff  ....f..D......!.	<==
  cf 83 ff 3f 77 68 55 48-89 e5 b0 01 48 8d 0d 5f  ...?whUH....H.._
  00 00 00 48 63 14 b9 48-01 ca 5d ff e2 31 c0 c3  ...Hc..H..]..1..
  81 ff ff 01 00 00 7e 1b-81 ff 00 02 00 00 74 35  ......~.......t5
  81 ff 00 04 00 00 74 30-81 ff 00 08 00 00 75 2e  ......t0......u.
  b0 0b c3 81 ff 80 00 00-00 74 20 81 ff 00 01 00  .........t .....

Binary Images:
       0x10f767000 -        0x10f98efff org.pietrocaruso.TINU (3.0 RELEASE CANDIDATE 3) <38967f9c-b69b-3b8b-8371-9ccabf2a5b88> /Applications/TINU.app/Contents/MacOS/TINU
    0x7ff81c463000 -     0x7ff81d2ecfff com.apple.AppKit (6.9) <e680649a-14df-3843-ab10-0e4dfcd77654> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7ffa360df000 -     0x7ffa36202fff com.apple.QuickLookUIFramework (5.0) <ccd33338-1d0a-3e4c-a81e-1878d4afb066> /System/Library/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI
       0x11d340000 -        0x11d3abfff dyld (*) <0fc1161d-234a-3882-8160-4e110aaefb7e> /usr/lib/dyld
    0x7ff8199b4000 -     0x7ff8199bffff libsystem_pthread.dylib (*) <b8298a2d-2637-30a9-910e-7ba9c7dffccd> /usr/lib/system/libsystem_pthread.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)
Writable regions: Total=1.4G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.4G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        1 
ColorSync                          216K       24 
CoreServices                        92K        1 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           278.3M       45 
MALLOC guard page                   48K       10 
MALLOC_MEDIUM (reserved)         720.0M        6         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.0M        5 
Stack                             10.0M        5 
VM_ALLOCATE                         20K        5 
__DATA                            27.5M      452 
__DATA_CONST                      27.3M      296 
__DATA_DIRTY                      1507K      192 
__FONT_DATA                          4K        1 
__LINKEDIT                       637.9M        9 
__OBJC_RO                         81.5M        1 
__OBJC_RW                         3120K        2 
__TEXT                           451.0M      474 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                      138.8M       18 
shared memory                      784K       17 
===========                     =======  ======= 
TOTAL                              2.8G     1569 
TOTAL, minus reserved VM space     1.7G     1569 

TINU fails to format usb drive - Mojave 10.14.1

I have a handful of usb 2.0 and 3.0 thumbsticks, all 16 or 32 gigs that I tried and all of them the application couldn't format it. In the logs it says:

Process failed, drive format or partition table changement failed, please erase this drive manually with disk utility and then retry

However, if I format manually with disk utility, which works just fine, TINU still tried to format it anyway.

PC: Macbook Pro (13-inch, 2017) running Mojave 10.14.1 (latest as of today)

Logs:

Trying to restore the other options to the default values
Other options restored to the original values
Trying to restore the other options to the default values
Other options restored to the original values
Trying to restore the other options to the default values
Other options restored to the original values
Asking user for autentication
Trying to do user authentication using security foundation APIs
Authentivcation with security foundation APIs completed with success
Starting the process ...


***Trying to close conflicting processes
Process "createinstallmedia" does not needs to be closed
*** "createinstallmedia" closed with sucess or already closed
Process "InstallAssistant" does not needs to be closed
*** "InstallAssistant" closed with sucess or already closed
Process "InstallAssistant_plain" does not needs to be closed
*** "InstallAssistant_plain" closed with sucess or already closed
Process "InstallAssistant_springboard" does not needs to be closed
*** "InstallAssistant_springboard" closed with sucess or already closed
***No conflicting processes found or confilicting processes closed with sucess


###Trying to unmount conficting volumes
    Unmounting EFI partitions
      Unmounting EFI partition disk0s1
    EFI partitions unmounted correctly
    Unmounting "InstallESD"
###Conflicting volumes unmounted with success or already unmounted


Starting extra opertaions before launching the executable
Finished extra opertaions before launching the executable


---Starting drive format process
Formatting disk and change partition scheme with the command:
       diskutil eraseDisk JHFS+ "Install macOS Mojave" /dev/disk2
Asking for password
----Volume format process fail: 
         Format script output: 
Started erase on disk2
Unmounting disk
Creating the partition map
Waiting for partitions to activate
Formatting disk2s2 as Mac OS Extended (Journaled) with name Install macOS Mojave
Process failed, drive format or partition table changement failed, please erase this drive manually with disk utility and then retry
macOS install media creation process ended
    Unmounting EFI partitions
Trying to restore the other options to the default values
Other options restored to the original values
      Unmounting EFI partition disk0s1
    EFI partitions unmounted correctly
    Unmounting "InstallESD"

Every time you open the terminal and enter the password, have you considered using the privileged assistant? In this way, you don't have to open the terminal every time. This is very helpful for user interaction!

First of all. Thank you for your tool program. It's great. However, every time you open the terminal and enter the password, it will make others feel bored over time. Have you considered using the privileged assistant? In this way, you don't have to open the terminal every time. This is very helpful for user interaction!

Suggestion

I really love the concept of this app. One thing I noticed while testing is if you have many drives, the app doesnt resize and show all of the them. It cuts off like 4 and a half wide.
Screen Shot 2021-10-29 at 9 32 50 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.