Help required to create a slider.

Discussion in 'Jailbreaks and iOS Hacks' started by Barneygumble47, Oct 3, 2010.

  1. macrumors regular

    Could anyone tell me how to put my own picture into the slide to unlock bar? or point me in the right direction.

    I have searched Google and the forums and all I can find is how to change the writing which is not what I want to do.

    Thanks in advance for any and all help.
  2. macrumors regular


    Look up on YouTube there is a tutorial
  3. macrumors regular

    I appreciate your reply but I was looking for a written tutorial as I live in the country and get a very poor broadband connection (0.5mb) so using youtube is not really a viable option for me.

  4. macrumors 68000


    2 questions first - are you on an iphone 4?

    If not, are you running iOS4?
  5. macrumors regular


    Iphone 3gs

    running 4.0.1
  6. macrumors 68000


    Well the easiest way to do it is using winterboard, and there's relatively few images to change. Do you want to do the entire lock screen from scratch or just a custom slider?
  7. macrumors regular

    Just the custom slider Thanks.
  8. macrumors 68000


    In that case
    1. SSH into your phone, navigate to your Themes.xxxxxx folder, located in /var/stash/
    2. Make a folder called "whatever.theme" (change "whatever" to what you want to name your theme)
    3. In that folder, make another folder called "Bundles"
    4. In that folder, make another folder called ""
    5. In that folder, place your slider image and name it "bottombarknobgray.png" << This is the slider /knob/, i.e. the actual lock icon or arrow that you drag across the screen
    6. If you want to change the slider /bar/, i.e. the bottom bar behind the slider knob, make another image and name it "bottombarbkgndlock.png".

    The dimensions for these images will vary depending on how you want to theme them. It may take some fiddling around to get the slider knob to match up on the slider bar. However, using the dimensions that the stock Apple images use would probably work. The stock images are located in /System/Library/PrivateFrameworks/TelephonyUI.framework

    EDIT: This is assuming you have winterboard installed, BTW
  9. macrumors regular

    Yeah I have winterboard. I'll give this a try many thanks for your help, I'll let you know how I get on.
  10. macrumors regular

    Worked a treat I just need to work on resizing my image.

  11. macrumors 68000


    Glad it worked for you.

Share This Page