Anyone got Firefly Media Server to work with jb 1.1.3?

Discussion in 'iOS Jailbreak & Cydia' started by orochics, Jan 28, 2008.

  1. orochics

    orochics New Member

    Joined:
    Jan 10, 2008
    Messages:
    6
    Likes Received:
    0
    Firefly Media Server for jb 1.1.3 w/ How To.

    I was wondering if anyone got Firefly Media Server to work with jb 1.1.3? I cant find a zip file/ manual instructions if anyone could point me to a download link to that file maybe ill try a crack at manually installing it. I just get an error when i try to install it from apptapp (not sure what error, im in the process of rejailbreaking to 1.1.3 to see if that will fix it.
  2. orochics

    orochics New Member

    Joined:
    Jan 10, 2008
    Messages:
    6
    Likes Received:
    0
    Since I finally found the proper firefly zip used in the installer script, I found what was going wrong and wrote up a how to on installing Firefly Media Server on 1.1.3. Basically the mt-daapd.conf just needed updating due to the music library changing locations on the disk. All credit goes to Copycoders & Mike Ter Louw, I just typed up the below. It should be accurate (its what I used to install it on my ipod touch, but post if you have problems.


    Requirements
    ------------
    OpenSSH
    UIctl

    Items you may need
    ------------------
    Putty for SSHing into your ipod
    FileZilla for SCPing into your ipod


    How To
    ------

    Download fireflymediaserver-svn1586-r1-updated1.1.3.zip
    (now coral cached, post if you cant dl it)

    Extract the zip file wherever you want.


    Copy the sbin folder to /sbin on your ipod
    Set the permissions of /sbin/mt-daapd to 755

    Copy the usr folder to /usr
    Issue the following commands in a terminal

    /bin/ln -s -f /usr/lib/libid3tag.0.3.0.dylib /usr/lib/libid3tag.dylib
    /bin/ln -s -f /usr/lib/libid3tag.0.3.0.dylib /usr/lib/libid3tag.0.dylib


    Copy the Library folder to /Library


    Copy the etc folder to the /etc folder on your Ipod


    to index your music, either run:

    /sbin/mt-daapd -c /etc/mt-daapd.conf -f -s -n

    or start the daemon and use the web page to index your music.

    http://root:dottie@127.0.0.1:3689


    Use UIctl to start and stop the daemon
  3. retroneo

    retroneo New Member

    Joined:
    Oct 11, 2007
    Messages:
    10
    Likes Received:
    0
    thanks for working this out, going to try now.
  4. krystal k.

    krystal k. New Member

    Joined:
    Dec 20, 2007
    Messages:
    53
    Likes Received:
    1
    Device:
    iPhone 3G (Black)
    Can you please send me by the way, the mobile store app folder (itunes store) from your ipod touch 1.1.3, 'cause i got an error when trying to play a song preview in itunes store "cannot play song preview", need for now a newfresh one folder, thanks if possible

    Please Register or Log in to view images

  5. retroneo

    retroneo New Member

    Joined:
    Oct 11, 2007
    Messages:
    10
    Likes Received:
    0
    even after following this i can't get firefly to start in UIctl :-(

    or via launchctl in ssh
  6. ipodtoouchhacker

    ipodtoouchhacker New Member

    Joined:
    Jan 27, 2008
    Messages:
    203
    Likes Received:
    8
    open ssh eh? it wont work for me in jb 1.1.3
  7. orochics

    orochics New Member

    Joined:
    Jan 10, 2008
    Messages:
    6
    Likes Received:
    0
    ill downgrade again today and make sure it works, i used ipodtouchmaster's 1.1.3 soft upgrade jb from installer, both firefly and itunes preview from the store works on both
  8. orochics

    orochics New Member

    Joined:
    Jan 10, 2008
    Messages:
    6
    Likes Received:
    0
    Redid jb 1.1.1 -> 1.1.3 and firefly install



    Put ipod Touch in recovery mode.

    Restored to firmware 1.1.1 using file iPod1,1_1.1.1_3A110a_Restore.ipsw
    Jailbreak 1.1.1 by going to www.jailbreakme.com.
    Upgraded Installer to v3.0b10 as propted.
    Used Installer to Install Oktoprep as found under "Tweaks (1.1.1)"
    Set Auto Lock to Never.

    Upgraded to 1.1.2 Firmware using the file iPod1,1_1.1.2_3B48b_Restore.ipsw
    Ran jailbreak 1.1.2 software from my PC (installing SSH, although I didn't need it right now anyway)
    Added http://ipodtouchmaster.com/files/repo.xml to installer's repo
    Installed OpenSSH, Services and BSD Subsystem 2.0 as reccomended.
    Ran "1.1.3 Jailbreak+iPhone Apps!" from ipodtouchmaster's repo.
    Waited forever...


    After the soft upgrade to 1.1.3 is finished I sync'd my music collection to my ipod so I had some music to index in firefly media server when the time comes.

    I used Putty for running commmands over SSH, and FileZilla for SCPing files to my iPod, use any method you wish, as long as you get things done

    Please Register or Log in to view images



    Downloaded fireflymediaserver-svn1586-r1-updated1.1.3.zip
    (now coral cached, post if you cant download it)

    Extracted contents.


    Copied the etc folder to /etc
    File exists with the following permissions/ownership
    Code:
    # ls -la mt-daapd.conf
    -rw-r--r--   1 root  wheel  8187 Jan 31 16:28 mt-daapd.conf
    
    copied the Library folder to /Library
    File exists with the following permissions/ownership
    Code:
    ls -la org.fireflymediaserver.mt-daapd.plist
    -rw-r--r--   1 root  wheel  1034 Jan 31 16:29 org.fireflymediaserver.mt-daapd.plist
    
    copied sbin folder to /sbin
    Changed the permissions to 755
    Code:
    # chmod 755 mt-daapd
    # ls -la mt-daapd
    -rwxr-xr-x   1 root  wheel  282620 Jan 31 16:35 mt-daapd
    
    Copied usr folder to /usr

    issued the following commands (although ive seen other repo's that did not include these commands, I would add them) No need to change permissions/owner as everyone can read these files.

    /bin/ln -s -f /usr/lib/libid3tag.0.3.0.dylib /usr/lib/libid3tag.dylib
    /bin/ln -s -f /usr/lib/libid3tag.0.3.0.dylib /usr/lib/libid3tag.0.dylib

    Code:
    # /bin/ln -s -f /usr/lib/libid3tag.0.3.0.dylib /usr/lib/libid3tag.dylib
    # /bin/ln -s -f /usr/lib/libid3tag.0.3.0.dylib /usr/lib/libid3tag.0.dylib
    # ls -la libid3*
    -rw-r--r--   1 root  wheel  81304 Jan 31 16:42 libid3tag.0.3.0.dylib
    lrwxr-xr-x   1 root  wheel     30 Jan 31 16:42 libid3tag.0.dylib -> /usr/lib/libid3tag.0.3.0.dylib
    lrwxr-xr-x   1 root  wheel     30 Jan 31 16:42 libid3tag.dylib -> /usr/lib/libid3tag.0.3.0.dylib
    
    No need to change permissions/ownership in the the rest of the /usr files for mt-daapd
    Code:
    # ls -la /usr/local/share/mt-daapd
    total 1040
    drwxr-xr-x   4 root  wheel     204 Jan 31 16:44 .
    drwxr-xr-x   3 root  wheel     102 Jan 31 16:44 ..
    drwxr-xr-x   3 root  wheel    1258 Jan 31 16:44 admin-root
    drwxr-xr-x   2 root  wheel     136 Jan 31 16:44 plugins
    -rw-r--r--   1 root  wheel  526336 Jan 31 16:44 songs3.db
    -rw-r--r--   1 root  wheel    2576 Jan 31 16:44 songs3.db-journal
    
    Issued the command to index my files (since I was already at a terminal)

    /sbin/mt-daapd -c /etc/mt-daapd.conf -f -s -n

    Code:
    # /sbin/mt-daapd -c /etc/mt-daapd.conf -f -s -n
    Firefly Version svn-1586: Starting with debuglevel 2
    Plugin loaded: rsp/svn-1586
    Plugin loaded: daap/svn-1586
    Starting signal handler
    Initializing database
    Starting mp3 scan
    Starting playlist scan
    Updating playlists
    Scanned 1096 songs in 702 seconds
    Closing database
    Done!
    
    Firefly Media Server is now finished installing, obviously don't run the installer for this since it will just replace files, and we don't wanna do that.

    Lastly I installed UIctl and tested starting org.fireflymediaserver.mt-daapd without a problem (ive always used "load -w" if that ever makes a difference.)

    The web panel loads up just fine as well at http://root:dottie@127.0.0.1:3689


    iirc I did the same steps so it should be working fine /shrug
  9. orochics

    orochics New Member

    Joined:
    Jan 10, 2008
    Messages:
    6
    Likes Received:
    0
    try "load -w" if you havent already, but you will need to make sure you set the permissions to 755 for /sbin/mt-daapd as org.fireflymediaserver.mt-daapd calls this file as either root/mobile user, in either case this insures the file /sbin/mt-daapd is executeable.
  10. yashrg

    yashrg Member

    Joined:
    Mar 15, 2008
    Messages:
    169
    Likes Received:
    0
    anyone got it working on v1.1.4?

Share This Page