Rockbox General > Rockbox General Discussion
iPod: disable boot to original firmware with "hold"-button
Tron:
--- Quote from: whiskers75 on December 31, 2012, 04:57:40 AM --- if (button_was_held || (btn==BUTTON_MENU)) {
/* If either the hold switch was on, or the Menu button was held, then
try the Apple firmware */
--- End quote ---
That worked, it sufficed to remove the "button_was_held" from the first line, thus only allowing the Menu-Button to boot into the original firmware. I compiled the bootloader and it works.
However, I neglected the fact that Rockbox resets to default values when that switch is on. I don't think it is too dangerous to remove that, too. If I someday should run into trouble, a reflash should cure any warped settings.
I found the following in apps/main.c:
--- Quote --- /* Reset settings if the hold button is turned on */
if (button_hold())
#endif
{
splash(HZ*2, str(LANG_RESET_DONE_CLEAR));
settings_reset();
}
else
--- End quote ---
Is that the correct location? Disabling the if-loop should do it, I think...
whiskers75:
Yes, but it would be advisable to leave it in or change the button as that is really for your safety should you near-brick it. ;)
Although, it is true that you can ALWAYS go into disk mode and reflash.
(I have an iPod Mini 1G that doesn't work with Rockbox)
soap:
--- Quote from: whiskers75 on December 31, 2012, 10:42:46 AM ---Yes, but it would be advisable to leave it in or change the button as that is really for your safety should you near-brick it. :)
--- End quote ---
If you near-brick it one should still be able to boot into Apple's disk mode, no?
whiskers75:
Yes. (Updated post.)
whiskers75:
By the way, I can make a custom build for you with these tweaks enabled :)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version