HomeStoreForumsWikiiPhone Native AppsiPhone Apps modmyifone Downloadsmodmyifone Links








Cell Phone Reception

Go Back   iPhone Forums at ModMyiFone.com - iPhone | iPod Touch, news, apps, themes. > Members List
Register FAQ Members List READ THIS Today's Posts Mark Forums Read


MMi Super Contest | 30 winners! Over $1500 in Prizes! Enter Today!

Discuss AppStore Apps! | MMi Cydia Repo Download Stats

Get more out of ModMyiFone by joining our free community. By registering you get privileges to download files from our downloads section and you may also post your questions in our forums! It's fast, free, and easy!

2.0 Unlock|Jailbreak OS X / Windows | iPhone 3G Detailed Review w/Pics! | Developers - Port Your Apps to 2.0

BigBoss BigBoss is offline

Developer

Visitor Messages

Showing Visitor Messages 1 to 1 of 1
  1. 08-08-2008 05:55 AM - permalink
    alk
    Dear BigBoss,

    I am having some troubles with plug-in I prepared for BossPrefs 1.73 installed on my iphone. I have 1.1.1 firmware (user root) and would like to toggle edge proxy on and off via the BossPrefs interface. I've read your guide several times and prepared my own EdgeProxy to be located in services subfolder.
    The file contains four lines:
    cp /var/preferences/proxy.edge /var/preferences/proxy.pac
    cp /var/preferences/proxy.off /var/preferences/proxy.pac
    cmd grep 127.0.0.1 /var/preferences/proxy.pac
    /Applications/BossPrefs.app/edge.png

    You see, to toggle proxy on and off I replace the autoconfig file proxy.pac
    To check the toggle state I grep the "127.0.0.1" in proxy.pac and if the string found toggle assumed to be on.
    Unfortunately, it doesn't work as I like. When I start BossPrefs it checks its own state and shows EdgeProxy off despite the fact that current proxy.pac contains "127.0.0.1" pattern. Does it mean that there is no way to check it like this?
    Moreover, it is really tricky to figure out how BossPrefs 1.73 works under 1.1.1.
    Does this version use "mobile" user account to start its plugins?
    I noticed that even cp commands did not work from inside BossPrefs until I changed the permission of /private/var/preferences directory from 755 to 777, root is the owner of this directory.
    I have tried to make some .sh scripts and used "exist" statement in third line.
    I found some examples on this page
    iPhone in Canada Forums - The Canadian iPhone Online Community - How To disable Auto-Loading Images in HTML Mail
    My scripts contained the same above cp commands plus extra command to create or remove dummy file. Its presence should signal BossPrefs of plugin state.
    I put scripts in the scripts subdirectory, set them to 755 but they failed to start as far as I noticed toggling my plugin in Bossprefs. Changing the button to OFF and ON left files in /var/preferences untouched.
    Please help to me to debug the case.
    Thanks in advance.

About Me

  • Signature
    -BigBoss
    Please don't private message me for generic iPhone help. If you need further assistance, join an IRC channel such as #iphone on efnet or irc.osx86.hu and ask for help there. If you don't know what IRC is, google mIRC (PC) or colloquy (MAC). (I do accept private messages for help on one of my apps).

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: 09-02-2008 06:43 AM
  • Join Date: 08-29-2007
  • Referrals: 5
ModMyMoto.com - ModMyGPhone.com - ModMyiFone.com - Dedicated Server Hosting by SingleHop - iPhone Wallpapers - iPhone forums | iPod touch forums, news, themes, apps, games, unlock, jailbreak community - ModMyiFone.com RSS Feeds - Contact Us - Link to us - Archive - Privacy Statement - - Top
Copyright © 2007-08 by ModMy, LLC. All rights reserved. You may not copy anything on this site unless you link to the original.
All times are GMT -6. The time now is 08:23 PM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
ModMyiFone.com is an independent publication and has not been authorized, sponsored, or otherwise approved by Apple, Inc or Cisco Systems, Inc. The information contained on this site is for educational purposes only.
Forum skin by poetic_folly