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
Search



Donate

Rockbox Technical Forums


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

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to disable the annoying bad checksum message?
« previous next »
  • Print
Pages: [1]

Author Topic: how to disable the annoying bad checksum message?  (Read 3456 times)

Offline jessy

  • Member
  • *
  • Posts: 12
  • Sansa clip zip
how to disable the annoying bad checksum message?
« on: September 30, 2013, 02:05:36 AM »
i tried to edit the rockbox.sansa , i put the file in the clip zip, and now it bother me with bad checksum...i know that the file is different, let me load it!!!
Why it blocks me? How can i disable this check?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9140
Re: how to disable the annoying bad checksum message?
« Reply #1 on: September 30, 2013, 02:21:00 PM »
My guess is that you would need to edit the bootloader and then flash it to your device.

Why are you even having this problem though?  Generally one edits the source code so that any edits happen before the checksum is computed.
Logged

Offline jessy

  • Member
  • *
  • Posts: 12
  • Sansa clip zip
Re: how to disable the annoying bad checksum message?
« Reply #2 on: September 30, 2013, 04:39:15 PM »
i'm just exploring what i can do, i'm not a developer.
So, if i try to change something in the code, and i want to try it, i have to reinstall the bootloader every time...
There is somewhere a bootloader that doesn't block the system if the checksum is different? Or a step by step guide to remove this check?
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9140
Re: how to disable the annoying bad checksum message?
« Reply #3 on: September 30, 2013, 05:15:18 PM »
Quote from: jessy on September 30, 2013, 04:39:15 PM
So, if i try to change something in the code, and i want to try it, i have to reinstall the bootloader every time...

No, if you edit the source code the checksum will be correct and thus you will not have this problem.  You probably never need to edit the bootloader unless you're doing something strange or actively working on porting to a new device.

Quote from: jessy on September 30, 2013, 04:39:15 PM
There is somewhere a bootloader that doesn't block the system if the checksum is different? Or a step by step guide to remove this check?

No, and no.  If you want to do this, then you'll have to dig into the code.

But again, why do you want to do this?  I can't think of a reason why you would want to. 
Logged

Offline wodz

  • Developer
  • Member
  • *
  • Posts: 389
Re: how to disable the annoying bad checksum message?
« Reply #4 on: October 01, 2013, 03:02:48 AM »
Do you edit *BINARY* rockbox.sansa (in hex editor or something)? If so it is no surprise that chacksum is incorrect. This check is exactly to prevent such situation. Properly compiled binary (with source changed or not) will have proper checksum.
Logged

Offline jessy

  • Member
  • *
  • Posts: 12
  • Sansa clip zip
Re: how to disable the annoying bad checksum message?
« Reply #5 on: October 01, 2013, 03:56:36 PM »
Quote from: wodz on October 01, 2013, 03:02:48 AM
Do you edit *BINARY* rockbox.sansa (in hex editor or something)?
Exactly, i tried to edit the keyboard layout that is horrible, but i've found out that i can easily do that with kbd files (cool).
Anyway, why this check?
« Last Edit: October 01, 2013, 03:58:39 PM by jessy »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 9140
Re: how to disable the annoying bad checksum message?
« Reply #6 on: October 01, 2013, 06:57:55 PM »
Quote from: jessy on October 01, 2013, 03:56:36 PM
Exactly, i tried to edit the keyboard layout that is horrible,

You're not going to be able to do that with a hex editor.  You need the actual source code if you want to change things.

Quote from: jessy on October 01, 2013, 03:56:36 PM
Anyway, why this check?

Prevent people from breaking their players loading the wrong binary or broken files. 
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: how to disable the annoying bad checksum message?
« Reply #7 on: October 02, 2013, 09:41:10 AM »
The check is there so that people can't stupidly hex edit the binary instead of editing the source :)

Also, in case people but the wrong build on their player, or the build is corrupted in download or transfer.  There is a really really good reason for it.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  how to disable the annoying bad checksum message?
 

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

Page created in 0.056 seconds with 18 queries.