Open SSH/Icon Customization Tutorial?

Discussion in 'Jailbreaks and iOS Hacks' started by Knowlege Bomb, Oct 25, 2015.

  1. Knowlege Bomb macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #1
    So it's been a couple of years since I really got into the deep customizations but I downloaded Cyberduck this morning and have OpenSSH up and running. Problem is I'm having a hard time finding the app icon folder in the file system.

    All of the tutorials I've dug up on Google are from 2011 and before. I have a couple of themes and each of them has icons I want to use. Can anybody help or point me to an updated step-by-step?

    I'm also not having any luck with Mobile Terminal. The latest one immediately crashes when opening. Thanks for any help!
     
  2. HankHowdy macrumors 68040

    HankHowdy

    Joined:
    Dec 2, 2012
    Location:
    Victorville CA
    #2

    Try iFile. Much easier and convenient. You won't need a computer. You have access to the entire file system on your device.
     
  3. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #3
    Will that allow me to delete/swap icons between themes?
     
  4. HankHowdy macrumors 68040

    HankHowdy

    Joined:
    Dec 2, 2012
    Location:
    Victorville CA
    #4
    The complete file system is available with iFile. It's a file browser. You can do whatever you want, just like Android.
     
  5. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #5
    Thanks. Just want to make sure before purchasing.
     
  6. HankHowdy macrumors 68040

    HankHowdy

    Joined:
    Dec 2, 2012
    Location:
    Victorville CA
    #6
    You don't have to purchase it. There are some features that are locked if you don't buy a license.
     
  7. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #7
    So I have one unthemed icon I'm looking to change. I have the .png that I'd like to use.

    I'm in the Bundles folder of the theme I'm using. At this point I'm lost because everything I'm finding as far as tutorial is outdated.
     
  8. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #8
    You'll need to find the bundleid of the app you want or theme.

    To do that, go to

    /var/mobile/containers/bundle/application/

    In this folder, you will find a list of folders on containing the user installed applications.

    Find the one you want, then click on the folder. Then open the iTunes metadata plist file. Open it in a property list viewer. Scroll to the item called softwareversionbundleid.
    That's the bundle id you need to write down.

    Go back to your image and rename it with this format.
    (Bundleid)@2x.png

    If your image is for a 6 plus, change the 2 to a 3. Make sure the file type is png, not just the extension name, or this will not work. Also make sure you have the correct dimensions. 180x180 for plus, 120x120 for 4-6s.

    Now, go to
    /var/db/stash
    I'm not sure if the folder name here is universal, so just click on folders until you find one containing another folder called themes. Inside that folder, find the theme you want to add it to. Make your own theme is easy if you follow the pattern you will see, but it creates more error. Now, place the renamed icon inside your selected theme's iconBundles folder.

    After that, respring and it should work. If not, try toggling the theme in anemone or winter board or using a different themes folder.
     
  9. 9fiftyfive macrumors member

    9fiftyfive

    Joined:
    Oct 26, 2015
    #9

    OpenSSH doesn't have an icon because it's a command line package (at least it doesn't on iOS 8 and 9). I haven't yet been able to get any terminal emulator to work on iOS 9 either. If you want to execute commands via command line, use your computer.
     
  10. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #10
    Wow! Great write-up! Thank you for taking the time.

    I was looking for the app icon within the bundles folder, not an SSH icon.
     
  11. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #11
    No problem. Let me know if it works and if you have anymore questions.
     
  12. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #12
    Got one for ya.

    I resized, renamed and uploaded the icon to my phone. I created the file in var/db/stash but I can't find a way to upload through iFile. What's the next step?
     
  13. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #13
    So you have the image correctly named right? Just press edit in the top right, then select the image. Press the clipboard in the bottom right and copy. Then, go to the theme's folder and do the same thing, but this time paste.
     
  14. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #14
    image.png

    This is what I get when I hit edit then "+" within the folder for that icon. It's not giving me a way to select an image.
     
  15. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #15
    No dont use the plus. Use edit and then paste
     
  16. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #16
    image.png

    No option for paste.
     
  17. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #17
  18. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #18
    Yes.
     
  19. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #19
    I just did it in iFile and it works. You are copying the image from within iFile right? Not from the photos app? Did you purchase an iFile license?
     
  20. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #20
    That's where I'm going wrong. How would I copy an item in my camera roll from within iFile?

    I didn't see anything about a license when I installed iFile. Everything seems to be working though.
     
  21. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #21
    Don't worry about the license unless you want to search. Go to this folder
    /var/mobile/Media/DCIM/100APPLE
    Then you get to look through all the pics. Fun!! Last photo is the most recent
     
  22. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #22
    That folder is showing stuff I've recently deleted and the icon is nowhere to be found. :confused:
     
  23. darricksailo macrumors 601

    darricksailo

    Joined:
    Dec 18, 2012
    #23
    in ifile, at the bottom, do you see a globe?

    tap that globe and it should start a "web server"

    now on your computer, type in that ip address & port shown

    navigate to the desired directory and upload your file. make sure that both the owner and group permissions is "mobile" or else it might not work

    you also need to clear the app icon cache for the new app icon to get updated. If the icon cache folder has not changed in iOS 9, it should be the /var/mobile/Library/Caches/com.apple.IconsCache folder. Just delete the com.apple.IconsCache folder and respring
     
  24. iphonedude2008 macrumors 65816

    iphonedude2008

    Joined:
    Nov 7, 2009
    Location:
    Irvine, CA
    #24
    I forgot about the icon cache. Good catch. Yeah if the image isnt in your DCIM, its in the super complicated mess photo storage folder. Use SSH or web server as suggested.
     
  25. Knowlege Bomb thread starter macrumors 601

    Knowlege Bomb

    Joined:
    Feb 14, 2008
    Location:
    Madison, WI
    #25
    Is it just me or is this 1326x more complicated than it was back in the early days of jailbreaking?

    I'll give this a go later this evening. I appreciate all of your help.
     

Share This Page