Rockbox Technical Forums

Installation / Removal => Manual Installation => Apple - Installation/Removal => Topic started by: mookee on March 02, 2017, 02:01:31 PM

Title: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: mookee on March 02, 2017, 02:01:31 PM
hi!

my first ipod and rockbox , and its a mc293 6gen 160gb

i downloaded and installed macports for snowleopard ,

i downloaded mks5lboot

i downloaded bootloader-ipod6g.ipod

ALL INTO /Users/mookee/Downloads ... my downloaddirectory

and i managed to to open rockbox utility 1.4 - finding the device - choosing additional themes and starting the installation


that worked fine and its basicaly:


    Connect your iPod in normal mode (iTunes/file transfer).
    Download Rockbox Utility for your operating system.
    When Rockbox Utility opens, select the checkbox named Show disabled targets, and point the installer to your iPod's mount point.
    On the installation screen make sure that Rockbox is selected and Bootloader is not selected (it should be grayed out anyway). You can install themes or the game files if you want.
    Start the Rockbox installation.
    Download the bootloader in .ipod format.
    Download mks5lboot for your operating system. Alternatively, you can build it from the source code.
    You need to have package libusb installed using Homebrew (brew install libusb) or MacPorts (port install libusb) in order to run mks5lboot.


---------------------------------

so far so good


NOW i am stucked:

    Start mks5lboot from a terminal with the following command-line: mks5lboot --dfuscan -l. It should scan for DFU devices every second.


i just entered " mks5lboot --dfuscan -l  " into mac terminal but it only says command not found...

what now please?



further:




    It is important to stop iTunes (dock icon -> Quit) and iTunesHelper (using Activity monitor, find the process and select Quit or Force quit if it keeps restarting) BEFORE continuing to the next step. Otherwise iTunes will put your iPod in wrong mode, and you will not be able to proceed with the installation.
    Put your iPod in DFU mode
    When the device is detected, press CTRL+C to terminate the scan process, and proceed to the next step.
    Start mks5lboot from a terminal with the following command-line: mks5lboot --bl-inst path/to/bootloader-ipod6g.ipod, providing the correct path to bootloader-ipod6g.ipod that you downloaded earlier.
    When the instllation is complete, you should have Rockbox up and running!


the next critical point here will be

mks5lboot --bl-inst path/to/bootloader-ipod6g.ipod


is it mks5lboot --bl-inst /Users/mookee/Downloads/bootloader-ipod6g.ipod


???


whats wrong ?

please help !)


thanks best christoph




Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: saratoga on March 02, 2017, 02:34:13 PM
>i just entered " mks5lboot --dfuscan -l  " into mac terminal but it only says command not found...

On OSX terminal the command probably needs a ./ Before mks5lboot since I don't think the terminal has the current working folder on the path by default.  Also double check that you're in the right folder.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: mookee on March 03, 2017, 02:51:13 AM
hi, thanks!

you mean like

./mks5lboot --dfuscan -l

? sorry, am not into these things..


and with the directory, you mean the bootloader directory?

the path is right, i just dont know exactly if the terminal comand will be??


also, if i allready did the rockboxutility installation as i said and interuptet when i got to mks5lboot,

do i have to repeat the RB installation now, or just start at mks5lboot, or even have to restore the ipod in itunes and repeat it all??


thanks a lot!

best christoph

Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: mookee on March 04, 2017, 04:00:46 AM
can i just continue to try on ./ mks5lboot --dfuscan -l or do i have install rockbox again or even restore the ipod bevore that?????

please


thanks , best c.



wellll, so after three days desperatly waiting for an answer i asume that just nobody knows... hmm

so i will just try


Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: mookee on March 05, 2017, 04:49:20 AM
one more thing.

can i destroy my ipod by that procedure


or (as long as i stay to the installation plan) is the worst that i have to restore it via itunes??
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: mookee on March 05, 2017, 04:56:38 PM

well, finaly used a PC for installig rockbox...

worked like charm more or less


thanks anyway ,

best christoph




Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: sduck on February 03, 2018, 05:45:37 PM
I have exactly this same error. Command not found after entering "mks5lboot --dfuscan -1" into terminal. Terminal is set to the same directory as I have the mks5lboot.dms file, I've done all the other instructions according to the page at https://files.freemyipod.org/~user890104/bootloader-ipodclassic.html. This is on a new mac running latest version of high sierra. I've also tried using windows to set it up, it won't recognize dfu mode even though the ipod is definitely in dfu mode - something about installing itunes, which I have already installed.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: saratoga on February 03, 2018, 07:53:20 PM
I have exactly this same error. Command not found after entering "mks5lboot --dfuscan -1" into terminal.

What happens if you use the command I suggested in the first reply to this thread?
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: sduck on February 04, 2018, 12:56:47 AM
I have exactly this same error. Command not found after entering "mks5lboot --dfuscan -1" into terminal.

What happens if you use the command I suggested in the first reply to this thread?

Tried it - same problem. I've got terminal running out of the same directory as I put the mks5lboot.dms file. Terminal by default opens into the user home directory, which is where I put those 2 files. It should be able to find it - if I Ls the directory it's there.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: saratoga on February 04, 2018, 11:11:37 AM
Post the terminal log.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: sduck on February 04, 2018, 04:27:25 PM
Last login: Sat Feb  3 17:05:29 on console
MacBook-Pro-2:~ stephendrake$ ls
Applications            Movies
ClamXAV Quarantine         Music
Creative Cloud Files (archived) (1)   Pictures
Desktop               Sites
Documents            Wine Files
Downloads            bootloader-ipod6g.ipod
Dropbox               geocaching stuff
Icon?               mks5lboot.dms
Library
MacBook-Pro-2:~ stephendrake$ mks5lboot --dfuscan -1
-bash: mks5lboot: command not found
MacBook-Pro-2:~ stephendrake$

Oh, and in case you're wondering, yes, I installed homebrew and then the libusb package as per the directions prior to doing any of this.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: saratoga on February 04, 2018, 05:33:15 PM
Yes, as I said above I'm not sure that will work on MacOS.  If you add the ./ does it work? 

Also, why don't you have a copy of mks5lboot in that folder?  Did you rename it to "mks5lboot.dms"?
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: sduck on February 04, 2018, 08:47:22 PM
Yes, as I said above I'm not sure that will work on MacOS.  If you add the ./ does it work? 

It should work - I've used terminal to execute these kinds of things many times before, so understand how it works. The default way terminal works is based in the root of the user folder, so I moved the files needed there. If I add the ./ I get:

Last login: Sun Feb  4 15:24:25 on ttys000
MacBook-Pro-2:~ stephendrake$ ls
Applications            Movies
ClamXAV Quarantine         Music
Creative Cloud Files (archived) (1)   Pictures
Desktop               Sites
Documents            Wine Files
Downloads            bootloader-ipod6g.ipod
Dropbox               geocaching stuff
Icon?               mks5lboot.dms
Library
MacBook-Pro-2:~ stephendrake$ ./mks5lboot --dfuscan -1
-bash: ./mks5lboot: No such file or directory
MacBook-Pro-2:~ stephendrake$

...because it's looking in the root of the disk, not the user folder.


Also, why don't you have a copy of mks5lboot in that folder?  Did you rename it to "mks5lboot.dms"?

That's the way that file came when I downloaded it - I didn't rename it. Perhaps it's some kind of compressed version - but nothing I have recognizes it. I did try renaming it without the extension - same message.

BTW I appreciate your taking the time for this!
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: saratoga on February 05, 2018, 03:47:31 PM
I don't have a Mac so I can't help you with MacOS specific questions, but in terms of unix, you're getting the command not found error because the file you're trying to run doesn't exist.  You need to download the file (and it should have the exact name as the command you're trying to run), and then (depending on how your terminal is setup) run the command given (possible with the ./). 
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: sduck on February 05, 2018, 05:12:16 PM
Thanks again. Maybe I'll someday be able to find a working copy of mks5lboot. There is an option to build one, but I don't have the tools or skills involved.

Perhaps there is a fix to the windows version problem I'm having - after detecting that I've put the ipod into DFU mode, it spits out the error that I don't have the right usb driver, that i need to install itunes - however, I've already got it installed.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: GreyBeast on February 08, 2018, 12:59:26 PM
Hi there! The 32- and 64-bit versions of mks5lboot for Windows OS shown here, about halfway down the page, work perfectly well: https://www.freemyipod.org/wiki/Restore_iPod_without_iTunes

Someone I had asked for help pointed out to me that I was using a Mac version, instead of Linux or Windows.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: sduck on February 08, 2018, 06:23:42 PM
Thanks. I'm looking for a working mac version though.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: GreyBeast on February 09, 2018, 12:14:13 PM
Try here, about 2/3 down the page:

https://files.freemyipod.org/~user890104/bootloader-ipodclassic.html
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: sduck on February 14, 2018, 06:03:56 PM
Thanks. That one doesn't work, as per earlier in this thread.

Edit: got it all installed using a windows 7 machine.
Title: Re: ipod 6g latest - MAC installation - how to execute mks5lboot during installation
Post by: GreyBeast on February 15, 2018, 12:28:27 PM
Cool!