The ModMyTM Family of Sites:
ModMyMotoModMyiModMyGphone




 
 
Register or Connect with Facebook

Discuss AppStore Apps | Browse / Search Cydia | MMi Cydia Stats




  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion
Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 09-07-2008, 04:39 PM
Green Apple
 
Join Date: Sep 2008
Device + Firmware: 3G - 2.1 and 2G 2.0.1
Operating System: XP/Vista/OSX 10.5.2/GutsyGibbon
Posts: 42
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via AIM to dapaintballer331
RiPTone 95% Done, NEED HELP. (Native ringtone creator & downloader)

Here is what the program does.
It allows you to search for iTunes Previews, and use them as ringtones.
It also searches through Seeqpod's full mp3 database, and crops them successfully.

The problem is:
I cannot move the m4r files from /private/var/mobile/Library/Downloads/ into /Library/*Ringtones/ (*=symlink) because the user "mobile" doesn't have permission to do this. The only way to do this now is to ssh in, and that would defeat the purpose of having a native iPhone app to crop & download the ringtones for you.

What I need:
Someone who can write a (python script/java app/any app) that has proper permissions.

BigBoss said:
Quote:
I think [python scripts] could [move ringtones] if they are run with +a attributes. In otherwords, when your python app gets launched, that's the python interpretter. That would get root permissions with +s attributes and it should be good. You can male nice GUI apps put of python.
What I was thinking:
Maybe a second copy of ssh can be installed with a password only BigBoss or somebody knows. My program can gain root permissions using this (is there a sudo alternative?) and move all m4r files to /Library/*Ringtones/

If you can help me please send me a PM, or a PM Asking for my e-mail address (if you can't use google).

Last edited by dapaintballer331; 09-07-2008 at 04:55 PM.. Reason: title fix.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #2  
Old 09-07-2008, 05:00 PM
jakecigar's Avatar
iPhoneaholic
 
Join Date: Aug 2007
Device + Firmware: 2 x 3G iPhone 2.2, pwned
Operating System: OS X 10.5.6
Location: San Francisco, CA
Posts: 475
Thanks: 24
Thanked 108 Times in 93 Posts
Send a message via AIM to jakecigar Send a message via Yahoo to jakecigar Send a message via Skype™ to jakecigar

Cydia does it! it runs as ROOT, not mobile, the trick is just a simple 1 line shell script that runs cydia as a +s'ed code file.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #3  
Old 09-07-2008, 05:16 PM
nickswagger's Avatar
iPhoneaholic
 
Join Date: Mar 2008
Device + Firmware:  White 3GS 32Gb 3.0
Operating System:  OSX
Location: Illinois
Posts: 369
Thanks: 37
Thanked 21 Times in 16 Posts

i would definately like to see this, hopefully someone can do it soon
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #4  
Old 09-07-2008, 05:20 PM
Green Apple
 
Join Date: Sep 2008
Device + Firmware: 3G - 2.1 and 2G 2.0.1
Operating System: XP/Vista/OSX 10.5.2/GutsyGibbon
Posts: 42
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via AIM to dapaintballer331

I didn't mention an important part: My app is a webapp. The reason I didn't use c+xcode is primarily because ffmpeg isn't ported to the iPhones yet. That is important, because it is what my server uses to crop&convert mp3s. (Yes, the user gets to chose start time & tone duratation).

I guess this is an app request then, I will post it in development.
I just need someone to make an app, or release a python-base+python-script+springboard icon package to move the m4rs.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #5  
Old 09-07-2008, 05:26 PM
jakecigar's Avatar
iPhoneaholic
 
Join Date: Aug 2007
Device + Firmware: 2 x 3G iPhone 2.2, pwned
Operating System: OS X 10.5.6
Location: San Francisco, CA
Posts: 475
Thanks: 24
Thanked 108 Times in 93 Posts
Send a message via AIM to jakecigar Send a message via Yahoo to jakecigar Send a message via Skype™ to jakecigar

if it runs in safari, you're pretty much out of luck without an extra obj c (maybe python) program to handle a custom URL!

if it runs in a webview, you may have better luck
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #6  
Old 09-07-2008, 06:39 PM
Green Apple
 
Join Date: Sep 2008
Device + Firmware: 3G - 2.1 and 2G 2.0.1
Operating System: XP/Vista/OSX 10.5.2/GutsyGibbon
Posts: 42
Thanks: 0
Thanked 4 Times in 3 Posts
Send a message via AIM to dapaintballer331

Yea, I know safari can't do it. I'm hoping someone in app requests can help. I spent a lot of time on this and I hope someone can finish it off.

Right now, the only way to do this, to to tell users:

Install MobileTermnal.
Type:
"sudo cp /private/var/mobile/Library/Downloads/*.m4r /Library/Ringtones/"
Then enter your root password (if you installed openssh it is alpine, unless you changed it).
Which is a lot for people to memorize for a friggin' ringtone

Last edited by dapaintballer331; 09-07-2008 at 06:39 PM.. Reason: Automerged Doublepost
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
  #7  
Old 09-07-2008, 07:52 PM
iPhone? More like MyPhone
 
Join Date: Sep 2007
Posts: 178
Thanks: 2
Thanked 20 Times in 11 Posts

I wish you the best of luck. If this gets completed this will be my favorite app ever. Something about Ringtone on Demand just makes me gleeful.

I hope you have good luck.
Digg StumbleUpon Delicious Reddit Newsvine Google Yahoo Thanks Reply With Quote
Reply

  Apple Forums & iPhone Forums, Mods, Hacks, News, Themes, Downloads, and more! | ModMyi.com > 3rd Party Apps For iPhone | iPod Touch > Native iPhone / iPod Touch App Discussion

Tags
permissions, ringtone

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



Go to Top
ModMyI

All times are GMT -6. The time now is 03:38 AM. Powered by vBulletin® Version 3.8.4
If you need Dedicated Server Hosting, you should check out SingleHop. | Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.0 Copyright © 2007-09 by ModMy, LLC. All rights reserved.

iPhone News / iPhone Forums / Apple News / Apple Forums / RSS / Contact Us / / Top