Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Remove OF on iPod Classic 120GB
« previous next »
  • Print
Pages: [1]

Author Topic: Remove OF on iPod Classic 120GB  (Read 1317 times)

Offline codyteam

  • Member
  • *
  • Posts: 63
  • Why hello there!
Remove OF on iPod Classic 120GB
« on: August 27, 2019, 11:36:35 AM »
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?
Logged
Info!:Im sorry if i ask too many questions.I just really want the best out of rockbox
---------------------------------------------------------
Devices rockboxed:Sansa Clip +(dead),iPod 6th Generation

Offline rockbox_dev123

  • Member
  • *
  • Posts: 164
Re: Remove OF on iPod Classic 120GB
« Reply #1 on: August 27, 2019, 04:09:30 PM »
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: [Select]
--- 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) {

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 )

* bootloader-ipod6g.ipod.jpg (99.91 kB, 112x54 - viewed 518 times.)
Logged

Offline codyteam

  • Member
  • *
  • Posts: 63
  • Why hello there!
Re: Remove OF on iPod Classic 120GB
« Reply #2 on: August 27, 2019, 04:27:10 PM »
Thank you!
Logged
Info!:Im sorry if i ask too many questions.I just really want the best out of rockbox
---------------------------------------------------------
Devices rockboxed:Sansa Clip +(dead),iPod 6th Generation

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  Remove OF on iPod Classic 120GB
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.1 seconds with 21 queries.