Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: georgebous on February 22, 2019, 02:43:49 AM

Title: No music showing in Apple Firmware when booted on ipod classic.
Post by: georgebous on February 22, 2019, 02:43:49 AM
Hi,

I recently installed Rockbox on my ipod classic 7G MSATA iFlash 256GB.

Rockbox works great but I'm also looking to use the Apple Firmware but when I reset and turn the HOLD switch on it boots the Apple firmware but shows no music and when connected to iTunes says it needs restoring.

However when I connect to my PC without Apple firmware loaded (normal Rockbox) all my music and playlists show up in itunes.

I have tried restoring my ipod with iTunes, reloading all my music then testing it and resinstalling Rockbox but this didn't work.

Any suggestions?

Thanks
George
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: Chronon on February 23, 2019, 08:22:53 PM
It sounds like you're running into some trouble related to the iFlash adapter.

There's a sticky about it:
http://forums.rockbox.org/index.php/topic,52561.0.html (http://forums.rockbox.org/index.php/topic,52561.0.html)
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: Frankenpod on February 24, 2019, 02:30:28 AM
(a)How are you syncing - with iTunes or with drag-and-drop?

Obviously if you aren't syncing with iTunes then the Apple firmware won't see the tracks because they won't be in the right place/format, though I assume you know that, and so you, by implication of your question, must be syncing with iTunes?  Thus making rockbox file-browser useless, but presumably you are using the database, so are successfully building it?

(b)How many tracks do you have?  The OF can't cope with too many due to the database size issue.  It won't 'see' them if they exceed a certain number (that varies depending on other factors).  That's the primary reason for using rockbox on modded ipods and the main reason for not bothering with the OF (why do you want to use the OF at all anyway?  To connect with a device that demands it?)
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: georgebous on February 24, 2019, 07:55:52 AM
Hi,

Sorry for not specifying before. So I have been using the ipod with iflash mSata and Apple firmware for sometime before installing Rockbox.

The reason I want to be able to use both is because my partner and I share the iPod and she wants to keep using the Apple firmware so I'm hoping I can get this to work.

I tried restoring the ipod, moving all music over in iTunes. iPod works fine at this stage. I then install Rockbox and it has no problem building a database from iPod_Control.

All the music shows up in Rockbox and in iTunes but when I boot to OF on the iPod it shows no music.
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: Frankenpod on February 24, 2019, 08:44:44 AM
When you say rockbox builds database 'from ipod_Control' I assume you mean from the tags in the tracks?

Normally I'd say the music not appearing in OF would be due to there being too many tracks for it to cope with (that's exactly what happens when OF database gets too large - OF can no longer see any of them).  But you seem to be saying the iPod does actually work in the OF, with all your tracks, before you install rockbox?  So it's the installation of Rockbox bootloader that somehow makes the OF stop working?

It definitely worked fine before then, with the full music library on there, and after reboots?

How many tracks are on there?

edit - or is it the building of the database by rockbox that leads to the tracks disapearing in OF?  It's possible, I suppose, when rockbox writes to the disk it corrupts it, due to the known issues rockbox has with modded drives.
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: georgebous on February 24, 2019, 01:37:11 PM
So I've been using the ipod with OF for about a year and have only just installed Rockbox, which I'm very happy with. Before installing Rockbox the Apple OF worked absolutely fine. Somehow Rockbox bootloader stops the OF seeing any music.

However when connected via USB in normal Rockbox, iTunes can see all the music on the iPod.
When I connect by USB with OF enabled, iTunes says the iPod needs restoring and shows nothing.

It definitely worked fine for a long period of time before installing Rockbox.

I'll try restore the ipod, load all my music in iTunes, test the ipod works, then install Rockbox. I'll see if OF works without building the database at this stage.
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: Frankenpod on February 24, 2019, 03:23:21 PM
I admit I'm stumped, assuming it's not writing the database corrupting the disk.

I assume you installed rockbox in the standard way, with the files from freemyipod (not here)?

Have you asked on the head-fi thread?  Plenty of people on there have done the SSD mod (I gave up on that ages ago, before the dual-boot loader was available, and went for sd cards instead).

Edit - oh, I suppose there's also the 'putting the SSD in an external enclosure and rewriting the MBR' to try.  As I remember it the SSD pod would sometimes get into a state that coudn't be recovered from without removing the drive from the ipod and doing that.
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: georgebous on February 24, 2019, 05:00:45 PM
OK,

So just restored the ipod. Loaded all my music back on with itunes. Installed rockbox and immediately opened OF and all my music was showing and it worked perfectly, as did iTunes. I decided to load some more music onto the ipod that I didn't already have on there using itunes with OF loaded on the ipod.

I have now ejected it, loaded rockbox, and built the database in Rockbox. Just switched back to OF and all my music is still showing and working. I don't know if loading more music on with itunes after installing Rockbox made a difference but it seems to be working fine now.

Thanks for your help. Will keep you posted if the problem arises again.
Title: Re: No music showing in Apple Firmware when booted on ipod classic.
Post by: chris_s on February 24, 2019, 05:36:32 PM
edit - or is it the building of the database by rockbox that leads to the tracks disapearing in OF?  It's possible, I suppose, when rockbox writes to the disk it corrupts it, due to the known issues rockbox has with modded drives.
I could easily see that happening. From my experience with an iPod 4G, I've had contents of the iPod_Control subdirectory corrupt more than once during normal usage before I turned off DMA (Rockbox's implementation appears to have issues on this model even when using the original hard drive).