ModMyMoto - Software Modding Forums and Updates for Motorola Phones
Arrow_TcatSponsored Links

Arrow_TcatTag Cloud
Tags

Arrow_TcatLatest Threads
Mark Forums ReadMark Read


Arrow_TcatTop Posters
Top Posters

Arrow_TcatModMyGphone Forum
Android Forum | GPhone Forum

Welcome to the ModMyMoto - Software Modding Forums and Updates for Motorola Phones forums.

You are currently viewing our boards as a guest which gives you limited access to view most posts and access our guides section. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, download files, and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Go Back   ModMyMoto - Software Modding Forums and Updates for Motorola Phones : Mod YOUR Moto : Linux MotoModding
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
  #1  
Old 10-22-2006, 04:11 PM
jovanovm offline
Maybe Modder
 
Join Date: Oct 2006
Location: Easton, PA
Posts: 44
BST Feedback: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jovanovm
Using your SLVR in Linux [Guide]

Hey guys, a bunch of us at slvrhackers.net were trying to figure out a way to use our sexy L7 phones with Linux. Now, after a little bit of research, and some (thorough) testing, I figured you'd might find this detailed guide useful. It's for Ubuntu/Debian, but should work fine for other distributions using Synaptic. Everybody else use your own favorite package manager.

1) Syncing mobile iTunes with Amarok
  • This player is absolutely amazing, and I personally think it's the best on any platform, but besides that, it also syncs your star/ratings and album art and all that lovely jobbly stuff with your phone. How? well it's simple:
  • You need to uninstall amarok if you already have it:
    sudo apt-get remove amarok amarok-arts amarok-xine amarok-gstreamer
  • Then install ruby 1.8 (amarok won't compile with 1.9)
    sudo apt-get install ruby ruby-1.8
  • Then install some additional helpful libraries
    sudo apt-get install kdelibs4-dev subversion unsermake automake1.9 kdebase-dev build-essential libgstreamer-plugins0.8-dev libxine-dev libmp4v2-dev libfaad2-dev
  • Get the latest version of libgpod from CVS
    cvs -z3 -d:pserver:anonymous@gtkpod.cvs.sourceforge.net:/cvsroot/gtkpod co -P libgpod
  • Get the latest amarok-svn script from http://ionline.barbanet.com/jocke/am.../amarok-svn.sh
  • Run the script
    chmod 755 amarok-svn.sh
    ./amarok-svn.sh
  • Follow the installation instructions, but select "Use sudo" and when asked to pass any options to the script, click "Yes" and put in:
    --with-libgpod --withmp4v2
  • After 15 minutes or so, amarok should pop-up in your menu, ready to be used.
  • Once you've populated your media library, go to:
    Settings/Configure Amarok/Media Devices/Add Device...
  • Select Apple Media iPod Device... put in the mount point of your phone (should be /media/ipod) and give it a nice name
  • The next time your phone plugs in, you should see it in the player's portable devices, and you can upload/download songs just as if you were using an iPod/Zen/whatever...
2) Flashing your phone in Linux
  • Get libusb so the phone can actually be accessed by your system:
    sudo apt-get install libusb-0.1-4 libusb-dev
  • Download flasher from http://inhex.net/dion/flasher.tar.gz
  • Compile and install flasher
    tar -xzvf flasher.tar.gz
    ./configure
    make
    sudo make install
    sudo make clean
  • Switch your phone manually to FLASH mode by turning it off, and then pressing *, # and Power on the phone at the same time
  • Connect your phone, and see what device it is (/dev/yourphone)
  • Run this command in a terminal window
    sudo flasher -d /dev/yourphone nameofmonsterpack.shx
  • If all goes well, your phone should have a nice new monsterpack after reinstallation. Please do not hold me responsible if your phone gets bricked, though, I've only tried it on mine, and can't guarantee that it will work for you.
3) Editing Seems and other info
  • If you don't have libusb, see in section 2 howto get it, if you do, continue..
  • Install this interesting stuff
    sudo apt-get install cvs
    sudo apt-get install libqt3-mt-dev
    sudo apt-get install zlib1g-dev
  • Install moto4lin (when it asks you for a password just hit Enter... it might give you an error, so just ignore it)
    cvs
    -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/moto4lin login
    cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/moto4lin co -P moto4lin
  • Compile moto4lin
    cd moto4lin
    qmake
    make
    sudo make install
    sudo make clean
  • Run moto4lin to input the SLVR settings: (thanks to http://moto4lin.sourceforge.net/wiki/SLVR_L7)
    moto4lin
    Use /dev/yourphone as the device (should be /dev/ttyACM0)
    Go to Settings/Preferences and put this info in:
    AT Vendor ID 22b8
    AT Product ID
    4902
    P2K Vendor ID
    22b8
    P2K Product ID 4901
    Quit the app, and it will save your settings...
  • Run moto4lin as root to access your device:
    sudo moto4lin
  • Goto Settings/Preferences/Switch to P2K to switch your phone to P2K mode and then click Connect and Update list to use it and see your files...
  • Enjoy :)
This is it for now guys, I hope you enjoy using your phone under linux. Please let me know what/how works for you.

If you'd like to use this on another distro, it should be pretty simple, just remember to use your own package manager instead of sudo apt-get. Kudos to the guys from the Amarok team and moto4lin for making this possible.

Also, I take absolutely no responsibility for anything that might happen to your phone as a result of this guide. It's just here to help people out in figuring out how to use their SLVR with Linux (However, the info here can be used on other P2K phones, and the Amarok stuff works with any mobile iTunes phone)

Ciao...

Last edited by jovanovm; 10-22-2006 at 04:13 PM. Reason: Changing font in a section to make it more readable
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
The Following User Says Thank You to jovanovm For This Useful Post:
MacMan (03-19-2007)
  #2  
Old 10-22-2006, 04:17 PM
poetic_folly's Avatar
poetic_folly offline
Site Owner
 
Join Date: Sep 2006
Location: good old Tampa, FL
Posts: 7,522
BST Feedback: (4)
Thanks: 629
Thanked 49 Times in 21 Posts
Send a message via AIM to poetic_folly Send a message via MSN to poetic_folly
Nice. Moto4Lin is also used in OS X, and you can see many guides on how to use it in the guides section. I should make some screenshots for Linux too... or can you.
__________________

thanks for the sig, ruud.
Visit our new iPhone forum and check it out!
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #3  
Old 10-22-2006, 05:48 PM
iNoxious's Avatar
iNoxious offline
Maybe Modder
 
Join Date: Oct 2006
Posts: 20
BST Feedback: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
wait WAIT wait.... is this a new linux based OS for P2k devices (like MontaVista or Qtopia)? Or.... is this the way to sync with P2k devices if u dont use a Windows OS..?
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #4  
Old 10-22-2006, 05:56 PM
poetic_folly's Avatar
poetic_folly offline
Site Owner
 
Join Date: Sep 2006
Location: good old Tampa, FL
Posts: 7,522
BST Feedback: (4)
Thanks: 629
Thanked 49 Times in 21 Posts
Send a message via AIM to poetic_folly Send a message via MSN to poetic_folly
Second option.
__________________

thanks for the sig, ruud.
Visit our new iPhone forum and check it out!
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #5  
Old 10-23-2006, 10:36 AM
jovanovm offline
Maybe Modder
 
Join Date: Oct 2006
Location: Easton, PA
Posts: 44
BST Feedback: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jovanovm
thanks guys

thanks for clearing that up poetic_folly, you beat me to it.
what kind of screenshots should we put up?
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #6  
Old 10-23-2006, 11:33 AM
jovanovm offline
Maybe Modder
 
Join Date: Oct 2006
Location: Easton, PA
Posts: 44
BST Feedback: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jovanovm
also..

I'm using this very cool script called Transkode which has the ability to change the bitrate of the files you transfer to your phone.

anybody who's interested can find it at:
http://www.kde-apps.org/content/show.php?content=2751

copy the script to /usr/apps/amarok/scripts or wherever you installed your amarok, and then in amarok under script manager run it and configure its options to suit the phone (max 160kbps)
then go to Settings/Configure Amarok../Media Devices and configure your device to transcode before transferring and do it "whenever possible" because that's the only way it will work..
drag your files over, click transfer.. and voila! it will work on-the-fly ...

mind you, you should have transcode to do this and python and some other stuff, but most of you guys do anyway...

enjoy.
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #7  
Old 10-23-2006, 01:44 PM
poetic_folly's Avatar
poetic_folly offline
Site Owner
 
Join Date: Sep 2006
Location: good old Tampa, FL
Posts: 7,522
BST Feedback: (4)
Thanks: 629
Thanked 49 Times in 21 Posts
Send a message via AIM to poetic_folly Send a message via MSN to poetic_folly
hey jovanovm, screenshots of each step make the guide worthy of hosting in the guides section, if you wanna do it that'd be great, or one of us can get to it later as well! Used to be Linux users were all the geeks and didn't need screenshots, but its getting so popular there are more n00bs on as well, or youngsters to the linux world, so screenshots help a lot!

Great info, of course, by the way!
__________________

thanks for the sig, ruud.
Visit our new iPhone forum and check it out!
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #8  
Old 10-24-2006, 11:17 PM
jovanovm offline
Maybe Modder
 
Join Date: Oct 2006
Location: Easton, PA
Posts: 44
BST Feedback: (0)
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to jovanovm
mon sieur poetic

I thought about it too, that's why I asked which screenshots to post, because.. well... it's mostly command line, lol, that's why I figured it would be kind of silly to post screenshots of my terminal window... just of the amarok stuff?

btw, if anybody's interested i can write a quick script for ubuntu that would automate all this, but I don't know if there are that many people here that use it.... so if people want that, no problem.

so yeah, just let me know what i should shoot on my screen hihi....
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #9  
Old 10-25-2006, 12:32 AM
poetic_folly's Avatar
poetic_folly offline
Site Owner
 
Join Date: Sep 2006
Location: good old Tampa, FL
Posts: 7,522
BST Feedback: (4)
Thanks: 629
Thanked 49 Times in 21 Posts
Send a message via AIM to poetic_folly Send a message via MSN to poetic_folly
You don't need screenshots of all your terminal junk, yeah, maybe just when you open and close it, but yeah, a script would be awesome.

At the moment we don't have an Ubuntu crowd, but there isn't a solid place for Linux Motorola modding enthusiasts to chat yet, so we might as well start one here!
__________________

thanks for the sig, ruud.
Visit our new iPhone forum and check it out!
StumbleUponDelicious Digg Reddit Newsvine Google Yahoo Reply With Quote
  #10  
Old 10-26-2006, 06:42 AM