Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#10188 - RockLock plugin - locks your player with a 4-digit code

Attached to Project: Rockbox
Opened by Mattitiah Curtis (motionman95) - Monday, 04 May 2009, 00:33 GMT+2
Task Type Patches
Category Plugins
Status Unconfirmed
Assigned To No-one
Player Type Sansa c200
Severity Low
Priority Normal
Reported Version Version 3.2
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

This is a plugin that locks your player with a 4-digit code. The default code is "0000", until you change it.
   RockLock.diff (7 KiB)
 RockLock.c |  325 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 CATEGORIES |    2 
 2 files changed, 327 insertions(+)

This task depends upon

Comment by Mattitiah Curtis (motionman95) - Monday, 04 May 2009, 00:37 GMT+2
First diff was in complete - this is an updated diff with the proper changes...

   RockLock2.diff (7.2 KiB)
 RockLock.c |  325 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 CATEGORIES |    1 
 SOURCES    |    1 
 3 files changed, 327 insertions(+)

Comment by Mattitiah Curtis (motionman95) - Monday, 04 May 2009, 00:46 GMT+2
As an added note, this plugin currently will only work on a Sansa C200, as I have not yet added the keypad codes.
Comment by Gman (Thecoolgman) - Monday, 04 May 2009, 05:22 GMT+2
Nice. Any know how this would be done on the iPod 5th Gen?
Comment by Antoine Cellerier (dionoea) - Monday, 04 May 2009, 14:17 GMT+2
Can't the user just power off the device to get past the lock?
Comment by Mattitiah Curtis (motionman95) - Monday, 04 May 2009, 14:24 GMT+2
@dionea: For now, yes, but I plan on putting the AutoRock feature to use to get past that problem.
Comment by Hilton Shumway (HIllshum) - Tuesday, 05 May 2009, 18:29 GMT+2
Just boot the OF or recovery/disk mode and your free.
Comment by Hilton Shumway (HIllshum) - Tuesday, 05 May 2009, 18:30 GMT+2
And again, CATEGORIES and SOURCES are alphabetical....
Comment by Mattitiah Curtis (motionman95) - Friday, 08 May 2009, 06:34 GMT+2
Updates:

Keypads for all other targets added
Modifications in main.c for AutoRock.
   RockLock_3.diff (12.6 KiB)
 main.c             |    4 
 plugins/RockLock.c |  470 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 plugins/CATEGORIES |    1 
 plugins/SOURCES    |    1 
 4 files changed, 474 insertions(+), 2 deletions(-)

Comment by David Hall (Soap) - Saturday, 09 May 2009, 04:26 GMT+2
I agree that no matter how this is implemented in Rockbox a savvy user can bypass it - BUT this is an often requested feature and I applaud your work on it.
Comment by Mattitiah Curtis (motionman95) - Saturday, 09 May 2009, 04:28 GMT+2
Thanks. For this plugin to really offer protection, there would have to be more modifications in main.c.
Comment by David Hall (Soap) - Saturday, 09 May 2009, 04:31 GMT+2
For this plugin to really offer protection the OF would need to be disabled on dual-boot targets and the bootloader would need to be where the lock code is run. ;)
Comment by Frank Gevaerts (fg) - Saturday, 27 June 2009, 23:59 GMT+2
Any reason why this diff wasn't made from the root of the checkout?
Comment by Gman (Thecoolgman) - Sunday, 28 June 2009, 00:30 GMT+2
I would just love for some one to do this for the 5G iPod
Comment by Will Hauck (moonscapex) - Friday, 09 October 2009, 22:20 GMT+2
Needs Resync

Loading...