LockInfo without Winterboard [Some Assembly Required]

Discussion in 'Jailbreaks and iOS Hacks' started by ViViDboarder, Sep 8, 2009.

  1. ViViDboarder macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #1
    UPDATE Oct. 5th '09 David Ashman has REMOVED the winterboard requirement!!! :D Now if you DL the app in Cydia it will install without forcing the install of Winterboard as well. It also now has a Native theme so you don't even have to install a theme. If you want a theme and still don't want Winterboard, you should be able to theme it the same way I mentioned in this thread.

    UPDATE Nov 19th '09 There have been a lot of questions on how to theme Native Rendering without Winterboard. Here is how you do it.

    First you need to download the theme. You can do this over the internet if you have a .zip or you may have to do it from the command line and get it from Cydia. You do this using my instructions below that I have altered here for you:

    If you can find a .zip then SKIP these 2 steps and go to Step 3.

    Step 1 Download the .deb for the Theme
    You are going to need command line access for this, so either use WinSCP, Terminal or MobileTerminal.
    Run
    Code:
    su root
    apt-get --download-only install com.whatever.theme
    This should download the latest .deb file. Obviously you need to replace com.whatever.theme with the id for the package, you can see that on the info page in Cydia for the theme you want.

    Step 2 Extract the files from the deb
    We are going to do this so we can install MANUALLY so Cydia doesn't know it's there and won't bug us about Winterboard.
    from the command line we need to EXTRACT the .deb to a folder we can use. We'll use the home directory or wherever you are already at.

    Code:
    dpkg -x /var/cache/apt/archives/com.whatever.theme*.deb ./myTheme/
    Now we have the contents of the theme in myTheme.

    Step 3
    Now you can follow the directions I have posted in the link below. The directions talk about Gruppled and downloading the .zip file. Just pretend Gruppled is your theme name and if you did the dpkg stuff you don't need a .zip file.

    Here is the link.

    http://forums.macrumors.com/showpost.php?p=8836779&postcount=1235

    ALL DONE!




    All below instructions are outdated and saved for archiving. See above for current instructions.

    I really don't like using Winterboard when I can have things run with less processes, so here's what I did to get LockInfo on my 3G without Winterboard.

    I assumed that I could disable Winterboard in SBSettings after copying my Lockinfo theme into my /Library/Lockinfo folder. I emailed David Ashman for confirmation.

    I FOUND A BETTER METHOD THAT WILL WORK PERFECTLY WITH CYDIA. PLEASE WAIT UNTIL TONIGHT FOR ME TO TEST AND POST IT. NEW METHOD WILL WORK FOR THEMES AS WELL.

    UPDATE: http://forums.macrumors.com/showpost.php?p=8487985&postcount=12

    It worked like a charm. I did this all with iFile, but probably easier via some client on the computer.

    Warning: ALWAYS backup your files.

    EDIT: If you have Winterboard at the moment, then follow this directly, if not Skip ahead and do Part 3 FIRST then come back here.

    Part 1
    First thing I did was copy my /Library/LockInfo folder and rename it _LockInfo so I'd have a backup. Then I just did what he said. Pasted the contents of the com.ashman.LockInfo to /Library/Lockinfo/ from my Gruppled theme folder.

    Next, to get some of the springboard elements to work you have to modify your Springboard.app... Backing up is VERY important here.

    I looked in the Themes/Gruppled/com.apple.springboard/ and put the images in there in my springboard.app file. I renamed all the originals from *.png to *.png.backup. The reason I did this so so I can create a script to restore my springboard by just doing
    Code:
    mv *.backup *
    which should replace all my files that I modified with the originals.


    Part 2
    Now I wanted to REMOVE Winterboard, but LockInfo has it listed as a dependency! Oh no! We know this isn't actually the case though. ;)

    You can go into Cydia now and remove Winterboard if you want (Make sure it's enabled in SBSettings before you do). This will remove Lockinfo BUT it will leave the files you pasted into the folder for this mod.

    You'll have to reboot your phone and you'll see your lockscreen is very uninformative. No worries, we're about to change that. :D

    Part 3
    Next, download the .deb for lockinfo

    http://david.ashman.com/beta/lockinfo_1.0.69_iphoneos-arm.deb

    Run that on the phone via your favorite command line interface (ssh or MobileTerminal) from root user with the command
    Code:
    dpkg --force-depends -i lockinfo*.deb
    (I use *.deb because I don't like typing out the long name in mobile terminal :cool:)

    Once that installs it will tell you it did NOT install Winterboard. Just respring your phone and you'll see your Lockinfo pop right back up!

    Enjoy!
     
  2. polobreaka macrumors 6502a

    Joined:
    Aug 10, 2009
    Location:
    Huntington Beach, CA
    #2
    so you will need winterboard first? or can i just do this without winterboard installed?
     
  3. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #3
    You can do it without. I just did it with so I could customize my theme. If you don't have winterboard installed for any part of this you can just copy the files from the theme folder wherever you unzip it. Doesn't need to be in /var/stash/Themes.XXXX/ or anything.

    You can just skip the install winterboard part though. :D Let me point that out in my post with an edit.

    Done! Broken into 3 parts and includes instructions for those without winterboard.
     
  4. ezekel macrumors regular

    Joined:
    Jun 4, 2004
    Location:
    Royal Oak
    #4
    Thanks for the hard work. the steps worked flawlessly. So much faster than winterboard version.:D
     
  5. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #5
    Yea, I just realized a problem when trying to DL any other package from Cydia... It tries to bundle Winterboard as well. :( This sucks. I guess I can manually DL and install EVERYTHING but I'd like to get Cydia back. :D
     
  6. hecticsix macrumors member

    Joined:
    Jun 17, 2009
    #6
    hi,

    i'm a complete newbie, can u further detail the steps for PART 3 ?...

    My laptop is down, so can i do everything from my iphone ?

    i got to step 2 ...

    i downloaded the .deb file to my iphone to my var/mobile/library/downloads folder.. and then i copied it into the lockinfo folder.

    i then run mobile terminal on my phone -> root# dpkg --force-depends -i lockinfo*.deb

    but i get a error saying cannot access archive, no file or directory..

    thanks for helping~~:eek:

    btw,

    for part 1 i paste the two png.backup files into springboard.app folder but i didn't run the script -> mv *.backup *

    as...i don't know how to 'run the script' ...

    help~
     
  7. hecticsix macrumors member

    Joined:
    Jun 17, 2009
    #7
    Can anyone further explain to me part 3?

    Thks :)
     
  8. hecticsix macrumors member

    Joined:
    Jun 17, 2009
    #8
  9. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #9
    Sorry, I've been away. I'll try to answer this quick now.

    You have to download that file. If you have Safari Download plugin you can just click that link in safari. If not you can type wget ___ where ___ is the link URL up there. That will download from the commandline. But for that you have to have wget installed from Cydia already.

    As for that script. Don't run it. I was saying you could use that to restore and remove this if you did the setup like me.

    Also, when you run the dpkg you have to make sure you're in the same directory that you downloaded the file. So do an 'ls' to check.

    Should work. If there are any more questions I'll try to answer a little faster :p
     
  10. hecticsix macrumors member

    Joined:
    Jun 17, 2009
  11. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #11
    I have a new method that won't mess with Cydia and let it forget about installing Winterboard. (Rather not tell Cydia that LockInfo is even installed.) I'll post the directions tonight when I get a chance. :D
     
  12. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #12
    New Method

    This method is the same no matter if you have Winterboard installed or not.

    Step 1
    Uninstall Winterboard :D (and lockinfo if you already have it.) If you already had a theme then back the theme that you were using up.

    Step 2 Download the .deb for Lockinfo
    You are going to need commandline access for this, so either use WinSCP, Terminal or MobileTerminal.
    Run
    Code:
    su root
    apt-get --download-only install com.ashman.lockinfo
    This should download the latest .deb file.

    Step 3 Extract the files from the deb
    We are going to do this so we can install MANUALLY so Cydia doesn't know it's there and won't bug us about Winterboard.
    from the command line we need to EXTRACT the .deb to a folder we can use. We'll use the homedirectory or wherever you are already at.

    Code:
    dpkg -x /var/cache/apt/archives/com.ashman.lockinfo*.deb ./LockinfoEx/
    Now we have the contents of LockInfo in LockinfoEx. Now you can paste whatever theme into the proper folders in THIS temp folder we just made and do the rest of the mods as described in Part 1 in the ORIGINAL post.

    Step 4 Installing LockInfo
    Now that you have the folder all set up we can "install" our folder.
    Navigate to your LockinfoEx folder using cd.
    Now we are going to copy all the contents to your / directory
    Code:
    cp -r ./* /
    will do the trick (BE CAREFUL when using this command! Make sure it's on the right directory)

    Step 5 Reboot
    Reboot your phone and you should be all good to go.

    NOTES:
    This can be done with Themes as well. You just do
    Code:
    apt-get --download-only install NameOfTheme 
    dpkg - x /var/cache/apt/archives/NameOfTheme ./NameOfTheme
    Now that you have the files, just paste them where they belong.

    Whenever I overwrite a system file I name the original *.backup so I can restore them to the originals using a .sh command.

    TO UNINSTALL:
    You'll note that it's not listed in Cydia anymore as installed.
    To uninstall you can just install LockInfo with Cydia and then Uninstall Winterboard with Cydia (Install will force install of WB and uninstall of WB will force removal of Lockinfo)
    You will then have to restore all your Springboard.app mods from *.png.backup to *.png. I named them in this way so you can use a batch command to easily do this.

    I'll clean this up later and put it all in the top post. :p
     
  13. jck1634 macrumors regular

    jck1634

    Joined:
    Mar 16, 2009
    #13
    Hi I really want to be able to do this, but I'm a complete novice when it comes to terminal commands. Any chance you can take the time out to give us novices, step by step instructions?

    just so you know, I was fine all the way up to step three. it's the installing lock info and pasting the themes into the folder using terminal that I don't understand. Is there a way to do it using cyberduck?
     
  14. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #14
    Definitely, pasting the themes to the folder is probably easiest with something like Cyberduck

    Here you go:

    Assuming you already have extracted the .deb to LockinfoEX/ and your theme is in whatever folder theTheme/... Here's what you do

    copy everything in theTheme/Bundles/com.ashman.LockInfo/
    to LockinfoEX/ These files should include settings.js, LockBackground.html, and a few folders. Just paste them right into LockinfoEX/

    Next, if you want to modify the springboard, make SURE to back things up... (rename the original files to whatever.backup so you can restore them later)

    After backing up, copy all images from theTheme/Bundles/com.apple.springboard/ to /System/Library/CoreServices/Springboard.app/ I can't stress enough how important backing up is here.

    Lastly
    You will need to Look up online the location of each image in theTheme/UIImages/ or any other directory to find out where they need to be pasted. You can generally find them online if you just google the filename. Again... remember to BACKUP the files that you are replacing.

    That's that. :D
     
  15. jck1634 macrumors regular

    jck1634

    Joined:
    Mar 16, 2009
    #15
    Thanks! That clears a lot up. Will give it a try when I get home! ;)
     
  16. nfshp253 macrumors newbie

    Joined:
    Sep 29, 2009
    #16
    Hello, I have followed your instructions to install LockInfo, but it doesn't show up. It shows up in Settings though. Do I need to install a theme for it to work? I have already installed JSOD...
    There seems to be a problem using themes, I've just installed Grupple's theme, but I can't select it or do anything! Help!
     
  17. zoara macrumors newbie

    Joined:
    Sep 29, 2009
    #17
    ---edit---
    I fixed the below. First rule of the Internet is that five minutes after posting a question, you find the answer yourself. I installed APT 0.7 Strict from Cydia...
    ---edit---

    Hello,

    I get a problem very early on in this howto. When I try the apt-get command, I simply get this:

    Code:
    sh: apt-get: command not found
    Having a poke around without rally having a clue what I am doing, it looks like there are several support files and directories for apt on my iPhone, but no apt-get. Am I missing something obvious?

    Just to double check, I should be sshing into my phone and running these commands from there, right?

    I'd really appreciate help with this as I love LockInfo (specifically the Matte UI theme) but I can't stand the slowdowns that Winterboard causes my poor lowly 3G...

    Thanks!
     
  18. nfshp253 macrumors newbie

    Joined:
    Sep 29, 2009
    #18
    Can anyone please help me?
     
  19. zoara macrumors newbie

    Joined:
    Sep 29, 2009
    #19
    Try sliding the "Native Rendering" slider from Off to On. You'll find this in the "LockInfo" entry in System Preferences.

    Otherwise, did you get an error message when you typed the
    Code:
    cp -r ./* /
    command? I did, and I managed to work around that one; see the post I am about to write, below.
     
  20. zoara macrumors newbie

    Joined:
    Sep 29, 2009
    #20
    Hi,

    I am able to get LockInfo installed and working, but my attempts to install the Matte UI have given me a slightly worrying "dead iPhone" screen and a stern warning from Mobile Substrate that I really shouldn't have done what I did. Fortunately it recovered (and I got the same thing three more times while trying different things).

    Here's what I did. Can you tell me where I went wrong?

    Firstly, I successfully used the apt-get and dpkg commands to create the LockInfoEx folder. I was able to install the basic (no plugins) LockInfo by slightly altering the cp command; if I use it as it is, it refuses to overwrite the /Library/Themes folder as on the phone this is a pointer/shortcut of some kind instead of a real folder.

    So - when in the LockInfoEx folder - I used
    Code:
    cp -r ./System/* /System
    cp -r ./Library/Themes/* /Library/Themes
    After rebooting, it worked! Flushed with success I then went back to the LockInfoEx folder and copied in the files for the Matte UI plugin. Digging into the LockInfo Matt UI theme, there is a Bundles folder, and this contains a structure like this:
    Code:
    com.ashman.LockInfo:
      lockinfo.html
      Private:
        imgs:
          (image files)
        imgs-slimlock:
          (image files)
        lang:
          (.js files)
        lockinfo:
          lockinfo.css
          lockinfo.js
        plugins:
          com.havrest.lockinfo.TwitterPlugin:
            (various files)
          com.havrest.lockinfo.WeatherPlugin:
            (various files)
        settings.js
      com.ashman.lockinfo.CalendarPlugin:
            (various files)
      com.ashman.lockinfo.MailPlugin:
            (various files)
      com.ashman.lockinfo.PhonePlugin
      com.ashman.lockinfo.SMSPlugin:
            (various files)
      com.ashman.LockInfoSettings:
            (various files)
      com.havrest.lockinfo.ClockPlugin:
            (various files)
      com.havrest.lockinfo.VoicemailPlugin:
            (various files)
      cx.ath.the-kenny.ThingsPlugin:
            (various files)
    
    I naively just deleted everything in ./LockInfoEx/Library/Themes/LockInfo.theme/Bundles and replaced it with the above. I then ran the above two cp commands and rebooted, only to get the dead iPhone picture.

    What am I doing wrong? I know this should be simple, but I don't really quite get where these files should be placed. I'd really appreciate some assistance with this because I've discovered LockInfo is loads faster without the overhead of Winterboard.

    Thanks!
     
  21. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #21
    I have not tested this at all with anything but Gruppled. I'll take a look.
     
  22. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #22

    Yea. You have to install the theme manually as well. So read through Part 1 in the first post. You have to copy the images and stuff from the Gruppled folder into the LockinfoEX folder (detailed directions in the other post) and then copy the folder over to your /Library/Lockinfo/. That's how you install the theme.

    Looked at what you did... Why are you copying files to /Library/Themes?
     
  23. zoara macrumors newbie

    Joined:
    Sep 29, 2009
    #23
    Um, do you mean where I do cp -r ./Library/Themes/* /Library/Themes? That's because the cp ./* / command didn't work for me, as it doesn't like the fact that /Library/Themes is not a folder but some kind of shortcut to a folder. I can try again tomorrow night and give you the exact error message if that helps.

    Or do you mean something else? I'm copying the Matte UI theme's folders (ie what's in LockInfo Matte UI.theme/Bundles) into ./LockInfoEX/Library/Themes/LockInfo.theme/Bundles simply because that's the only place that seems to fit your instructions.

    I know I'm being really slow here, and appreciate your patience; but I can't work out exactly where in the ./LockInfoEX folder that I should be putting my theme's files.

    I will give it a go with the Gruppled theme and see if I get stuck in the same way. At least that way I'll be asking questions that fit exactly what you've done. When I can do it that way, I'll take what I've learned and do it with Matte UI instead.

    Again, thanks for your patience.
     
  24. zoara macrumors newbie

    Joined:
    Sep 29, 2009
    #24
    Argh.

    I've just re-read your posts more thoroughly. I assumed that the talk of putting stuff into /Library/Lockinfo was superceded as this was what caused trouble with Cydia, but I didn't read properly. I will try again, this time putting the theme's folders into /Library/LockInfo.

    Sorry for being a bit dense :eek:
     
  25. ViViDboarder thread starter macrumors 68040

    ViViDboarder

    Joined:
    Jun 25, 2008
    Location:
    USA
    #25
    No problem! Hope it works out for you. It is a little tricky and involves very careful reading. :)
     

Share This Page