Running iTunes 10 under MacOS 10.12 Sierra in ten steps

apple.pngWith the release of iTunes 11 Apple modified a lot the popular music manager, bloating the interface and removing popular features such as opening playlists in multiple windows. Many users chose to stay behind, but if you install the latest versions of MacOS (neé OS X) you will get the newer version even if you don’t want it.

As a musician, I use iTunes a lot and rely on some of the capabilities of iTunes 10. Stil, I recently decided to update to Sierra and wanted to retain such capabilities and also to be able to share the iTunes library with my Snow Leopard installation, which isn’t going to go away anytime soon.

As I quickly found out, iTunes 10 is actually quite happy to run under Sierra, but it opens with an “error -42401” and refuses to cooperate with iDevices and to work correctly on the store.


uploaded_image


In this article we’re going to patch iTunes 10 to fix the -42401 iTunes error while maintaining the full capabilities of the Mac App store.

At several points during this guide the system will ask for your administration password. This happens when it needs to modify files your user doesn’t have permissions to change and it’s quite normal.

1) Recover iTunes 10.7 from Apple or from your old installation.

2) Using Pacifist extract the "iTunes.app" bundle from “iTunesX" dragging it on your desktop, then rename it tu “iTunes10” (note: there is a .app hidden extension) and move it to your Applications folder.

3) Ctrl-click on the iTunes10 app to bring up the contextual menu and navigate into the Contents folder inside the bundle.


uploaded_image


4) Back to Pacifist, drag the "/System/Library/PrivateFramework/CoreFP.framework" framework into the Contents folder inside the "iTunes10.app" bundle.


uploaded_image


5) Rename “CoreFP.framework” to “CoFP.framework”. This is necessary as we’re now going to patch the iTunes executable with an hex editor and need to maintain the same length of the string we’re going to change.


uploaded_image



6) Change the file permissions of iTunes10’s "MacOS" folder using Terminal (/Applications/Utilities/Terminal). The command to give is
sudo chmod -R 777 /Applications/iTunes10.app/Contents/MacOS

You’ll be asked for your administrator password, it’s normal for the cursor not to move.


uploaded_image


7) Open the iTunes executable inside the MacOS folder with an hex editor (I use HexEdit http://hexedit.sf.net) and use the Find & Replace feature to replace

/System/Library/PrivateFrameworks/CoreFP.framework

with

/Applications/iTunes10.app/Contents/CoFP.framework


There should be a couple of occurrences of the string.
Save and quit.


uploaded_image



The applications is now patched but it won’t run yet, as the executable has been modified and won’t match the code signature of the bundle. We’re now going to remove the signature.

7) Download stripcodesig and move the folder on your desktop. It's possible the system won’t let you run the executable it at first instance, saying it comes from an unidentified developer, control-click on it and select open and you’ll be given an option to run it anyway. Do so.

8) Open a Terminal window and give this command to strip the signature:
~/Desktop/stripcodesig/stripcodesig /Applications/iTunes10.app/Contents/MacOS/iTunes /Applications/iTunes10.app/Contents/MacOS/iTunes-stripped



uploaded_image



9) Replace the old iTunes executable with the stripped one:

mv /Applications/iTunes10.app/Contents/MacOS/iTunes-stripped /Applications/iTunes10.app/Contents/MacOS/iTunes


10) Set the right permissions to the new executable and enjoy iTunes 10!
chmod 755 /Applications/iTunes10.app/Contents/MacOS/iTunes





Addendum:
You Will want to disable the latest iTunes from running automatically. to do so give this command:
sudo chmod -x /Applications/iTunes.app/Contents/MacOS/iTunes

You might need to give it again if you ever update iTunes from the App Store. If you want to run iTunes 12 (or whatever) again just give the opposite command:

sudo chmod +x /Applications/iTunes.app/Contents/MacOS/iTunes

If you open iTunes while olding down the Option (alt) key you’ll be given an option to select a different iTunes library. This way you can still use the newer iTunes if you need to interface with an iDevice that’s not supported by the older version.


uploaded_image


And if iTunes 12 updates your library don’t despair: just close the application immediately and restore the old library file from the backup that’s automatically generated in the Previous iTunes Libraries folder inside you ~/Music/iTunes folder.


uploaded_image

Pubblicato Giovedi 16 Marzo 2017 - 16:41 (letto 3356 volte)
Comment Commenti (0) Print Stampa


« Notizia precedente | Nessuna notizia più recente

Le ultime notizie relative a questo argomento

Read 25 anni di Macintosh (24/01/2009 - 03:53) letto 10179 volte
Read Apple rilascia i sorgenti di Mac OS X 10.5 (31/10/2007 - 16:38) letto 5569 volte
Read Riflessioni da post keynote (12/06/2007 - 00:29) letto 5771 volte
Read Steve Jobs alla WWDC (10/06/2007 - 23:59) letto 5271 volte
Read 2 anni (06/06/2007 - 14:51) letto 4860 volte
Read Apple sottovaluta una potenziale vulnerabilità? (09/05/2007 - 16:44) letto 4984 volte
Read Apple rilascia i sorgenti Darwin 8.9, semthex abbandona lo sviluppo di OSx86 (19/04/2007 - 00:40) letto 5033 volte
Read Apple e EMI liberano i loro pezzi (02/04/2007 - 23:11) letto 5009 volte
Read Steve: togli i DRM! (12/03/2007 - 07:51) letto 5618 volte

Tutte le notizie relative a questo argomento
apple.png

 
Calendario
Data: 03/08/2020
Ora: 19:37
« Agosto 2020 »
Lu Ma Me Gi Ve Sa Do
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
 
Utenti
Persone on-line:
admins 0 amministratori
users 0 utenti
guests 1 ospiti
 
Cerca