Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 30th, 2010  |  syntax: None  |  size: 0.68 KB  |  views: 162  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. === modified file 'bootloader/ipodnano2g.c'
  2. --- bootloader/ipodnano2g.c     2010-02-17 15:57:53 +0000
  3. +++ bootloader/ipodnano2g.c     2010-04-30 16:18:52 +0000
  4. @@ -65,7 +65,8 @@
  5.      bool holdstatus=false;
  6.  
  7.      /* System font is 6 pixels wide */
  8. -    printf("Hold MENU+SELECT to");
  9. +    printf("Insert USB cable, or");
  10. +    printf("hold MENU+SELECT to");
  11.      printf("reboot then SELECT+PLAY");
  12.      printf("for disk mode");
  13.      lcd_update();
  14. @@ -81,6 +82,10 @@
  15.              }
  16.              lcd_update();
  17.          }
  18. +        if (power_input_status() == POWER_INPUT_MAIN_CHARGER) {
  19. +            memcpy((void *)0x0002bf00, "diskmodehotstuff\1\0\0\0", 20);
  20. +            system_reboot();
  21. +        }
  22.      }
  23.  }