Rockbox General > Rockbox General Discussion

Remove OF on iPod Classic 120GB

(1/1)

codyteam:
Is there a possibility to remove the OF on the iPod Classic? I don't really like how when I plug it in while its off, it auto boots the OF, cluttering my iPod. Is it possible to be removed?

bobba_mosfet:
If you had searched thoroughly you might have found this:
http://forums.rockbox.org/index.php/topic,42520.0.html

...

Here is the .patch file I used when I made these modifications myself:

--- Code: ------ ipod6g.c 2019-05-13 23:17:17.212288000 +0100
+++ "ipod6g (copy 1).c" 2019-05-13 23:47:38.047876458 +0100
@@ -372,12 +372,13 @@
             btn = button_read_device();
         }
         /* Enter OF, diagmode and diskmode using ONB */
-        if ((btn == BUTTON_MENU)
+/*        if ((btn == BUTTON_MENU)
                 || (btn == (BUTTON_SELECT|BUTTON_LEFT))
                 || (btn == (BUTTON_SELECT|BUTTON_PLAY))) {
             fw = FW_APPLE;
             rc = kernel_launch_onb();
         }
+*/
     }
 
     lcd_init();
@@ -409,12 +410,13 @@
         filesystem_init();
 
         /* We wait until HDD spins up to check for hold button */
-        if (button_hold()) {
+/*        if (button_hold()) {
             fw = FW_APPLE;
             printf("Executing OF...");
             ata_sleepnow();
             rc = kernel_launch_onb();
         }
+*/
     }
 
     if (rc != 0) {

--- End code ---

I have attached the binary bootloader I compiled some time ago (rename the fake jpg extension to .ipod):

--- Quote ---bootloader-ipod6g.ipod: pre-compiled bootloader modified to prevent launching official firmware as this corrupts all disks > ~127GB (flash with # mk6gboot --bl-inst bootloader-ipod6g_modif.ipod )

--- End quote ---

codyteam:
Thank you!

Navigation

[0] Message Index

Go to full version