Friday, December 28, 2007

Download mp3 or ringtones directly to your Iphone and sync without using Itunes

Now MNPlight has been released and this is probably amongst the best Iphone applications that has come out till yet.

Goto http://movenplay.gforge.inria.fr/ for installer source and other instructions, do check out the HOWTOS section.

After you have installed it follow the below instructions,

Downloading MP3 Files
1. Switch off the Iphone and then back on, this will enable the MNPlight safari plugin.
2. click the MNP icon, it will launch safari and open the application in it.
3. look for preferences, click it, choose level of expertise greater than 1.
3. go to bottom, there is a section 'Imported links' and below are three small text boxes for Mime-type, Extensions and Description.
4. In the Mime-type, fill in audio/mpeg, in Extensions box, tap in mp3 and in the description box enter any suitable description like mp3 files.
5. press Add, the values will appear below the textboxes, then at the bottom press 'kill safari'
6. Ralaunch safari, goto any mp3 link(Indians with Airtel sims can goto live.airtelworld.com to download mp3 ringtones), as soon as you click the mp3, a green button saying 'download' will appear and clicking it will start the download.


Syncing the files to Ipod database
7. Now that you have downloaded the file, it is saved on the location /var/root/Downloads in the Iphone file system,
8. Now goto to main MNPlight screen and click playlists, in the Import songs section, in the Directory field enter /var/root/Downloads (take care that you enter the first 'D' in 'Downloads' as 'D' and not 'd') and click 'import songs from directory', it will show a screen saying a few things and that the operation was 'Done !'
9. It will put the song in your ipod library and also make a playlist of the latest songs imported, open Ipod, go to playlists and see if the new playlist has been added and listen to the downloaded song.
10. You are done, additionally use the Sendsong program from installer if you want to export the downloaded song as your ringtones.

P.S. I have just provided these steps so that Indian users can download ringtones from the Airtel live website, I absolutely abhor Piracy and am against it. Please do not use the above methods to download mp3s from illegal sources, if you like a song go and buy the original album, this is the only way to show your appreciation to your favorite artists and musicians.

Also I would just love it if apple soon launches the Itunes India store, waiting for it eagerly!!!!

Also do check out this MNPlight app thoroughly as apart from the above things it has a wide range of other features like importing your google calendar to Iphone(though it has a little problems with time-zones right now, am sure they will be soon solved), accessing Iphone filesystem on your computer, sending files between two iphones, listening to online radios and many other things, Simply a truly great app!!! Kudos to the MNPlight team.

Take Care All

Tuesday, December 25, 2007

No Service Curse(NSC) on the Iphone

If you too are one of the unlucky ones like me who got their Iphones from the States and after a few days of normal usage it started displaying 'No Service' aka NSC. If you have tried out all the software solutions like virginizing, downgrading, upgrading and others but are still stuck with NSC, you might want to have a look at this Hackint0sh topic.

I am the guy with the screen name 'nochinta'

PS - Before applying any hardware solutions, try the software solutions at this, this and this page.

Take Care All
Download links for the file required to edit the edge settings [OBSOLETE]

Please Note: This is an old post, now you can configure airtel live automatically by adding my source www.kansara.in/installer.xml to your installer sources, for more info go here [Update: 31/03/2008]

1. Proxy.pac file - here.
Download the file and put in your proxy server settings from instructions given here. If you are already on Airtel Live, no need to edit this file.

2. Preferences.plist.edited file - here. Just Download this file and rename it to preferences.plist and upload to your iphone to the location /private/var/root/Library/Preferences/SystemConfiguration/, no need to make any changes to the file!!!

3. Preferences.plist.original - here. In case you require the original file for some reasons.

Take Care All
A quick tip to make use of the visual voice mail button on the dialer screen

Hey guys,
Now the visual voice mail button right now on our iphones just occupies the dialer space and does nothing. This small tip will help you make use of it. This will enable you to use the voicemail button as a shortcut or a speed dial button to dial a number that you dial very frequently or perhaps you can even use it to call your voice mailbox.

Go to the dialer screen and tap in the following code: *5005*86*YourNumber# (replace YourNumber with the number you want to dial) and press the call button, the rotating disc will appear and voila! Your voicemail button is now activated.

Press the voice mail button and it will begin the call to your favorite number.

Take Care All.

Saturday, December 22, 2007

A Quick Update on Configuring proxy server settings for edge on your Iphone [OBSOLETE]

Please Note: This is an old post, now you can configure airtel live automatically by adding my source www.kansara.in/installer.xml to your installer sources, for more info go here [Update: 31/03/2008]

This is in reference to my earlier post regarding configuring 'Airtel Live on your Iphone'. I would just like to inform people that this is a universal solution, you just have to put in your proxy server and port address in the proxy.pac file. Even if you are in a network in Australia or Singapore or Hong Kong or any place that requires you to set up a proxy server to configure edge on your phone, this solution should work for you.

One more tip - All those who are not interested in going through the tedious method of installing OpenSSh on the iphone and then installing WinSCP on their windows pc to access the iphone's file system, can now install Samba File server from the BigBoss repository, "BigBoss's Apps and things". Just add this source in your installer, http://sleepers.net/~iphone/repo.xml . For instruction on how to configure your iphone and computer to access the iphone's file system with the samba server goto this page http://signalblue.com/iphone/

Note: This Solution requires wifi on your comp and will also require you to setup an ad-hoc(peer-to-peer) connection between your iphone and your comp.

After you to set up the samba server, place the proxy.pac file at this location: \\192.168.1.200\Root\var\root and the preferences.plist file to this location: \\192.168.1.200\Root\var\root\Library\Preferences\SystemConfiguration. Don't forget to backup your original preferences.plist file.

This should also get your Edge network to work on the Iphone.

Take Care All

P.S. If you need the proxy.pac file and the preferences.plist file just leave me a comment and your email address, i'd be more than happy to email it to you.

As soon as you get the files, just edit the proxy.pac file as per your requirement by following the instructions in this post and paste the preferences.plist file to the specified location, no need to edit it as I'll send you the edited file, :)

Tuesday, December 18, 2007

Get Airtel Live working on your Iphone [OBSOLETE]

Please Note: This is an old post, now you can configure airtel live automatically by adding my source www.kansara.in/installer.xml to your installer sources, for more info go here [Update: 31/03/2008]
Okay guys, here I would list out as to how to get airtel live working on your Iphone.
I myself learnt to configure this from http://arashpayan.com/blog/index.php/category/technology/, so all credit goes to the author of this page.

Things required:
1. Jailbroken unlocked iphone, :)
2. OpenSSH installed on Iphone(as you will have to access the filesystem)
3. NetServices installed on you iphone(from installer source http://homepage.mac.com/hartsteins/copycoders/copycoders.xml , though Services App will also do, if it is the latest one and displays your IP address)
3. WINSCP installed on your PC
4. A good text editor(though wordpad will do).

Now we begin,

1. Open wordpad and paste the code below:

function FindProxyForURL(url, host)
{
if (isInNet(myIpAddress(), "10.0.0.0", "255.0.0.0"))
return "PROXY 100.1.200.99:8080";
else
return "DIRECT";
}

Note in the above block of text that the proxy used by airtel is 100.1.200.99 and the port is 8080, so in this place if hutch(vodafone now) or bsnl or Idea users insert their proxy and port address, things should be fine with them too.

2. Save the file as proxy.pac and save it on your pc. Make sure you save it as proxy.pac and not as proxy.pac.txt or proxy.pac.rtf.

3. SSH to your Iphone and goto the location /private/root/ and paste the file proxy.pac to this location.

4. Now on your phone goto the location /private/var/root/Library/Preferences/SystemConfiguration/ , here you will find a file preferences.plist, copy this file to your PC.

5.Now, open the file in your text editor(i recommend if you use Windows XP, instead of opening in notepad, open it in wordpad, as in notepad the tabs and indentations in the file are not that convenient to see and edit), and search in the file for this code:

<key>DeviceName</key>
<string>ip1<string>


Please Note: The file has multiple instances of "DeviceName", so make sure you just locate the place where "DeviceName" is succeeded by "ip1" and not by something like ip2 or en0.

6. okay now the code around the place where you located the above lines is somewhat like this

           <key>Interface</key>
<dict>
<key>DeviceName</key>
<string>ip1</string>
<key>Hardware</key>
<string>com.apple.CommCenter</string>
<key>Type</key>
<string>com.apple.CommCenter</string>
</dict>
<key>com.apple.CommCenter</key>
<dict>
<key>AllowNetworkAccess</key>
<integer>1</integer>
<key>Available</key>
<integer>1</integer>
<key>Setup</key>

7. We will place our text in between this block of code like this(the text in red is the code you have to insert)

           <key>Interface</key>
<dict>
<key>DeviceName</key>
<string>ip1</string>
<key>Hardware</key>
<string>com.apple.CommCenter</string>
<key>Type</key>
<string>com.apple.CommCenter</string>
</dict>
<key>Proxies</key>
<dict>
<key>ProxyAutoConfigEnable</key>
<integer>1</integer>
<key>ProxyAutoConfigURLString</key>
<string>file:///private/var/root/proxy.pac</string>
</dict>
<key>com.apple.CommCenter</key>
<dict>
<key>AllowNetworkAccess</key>
<integer>1</integer>
<key>Available</key>
<integer>1</integer>
<key>Setup</key>

Please Note: Please make sure that when adding this code you maintain all the indentation in the file and provide proper tabbing as above and do not disturb the original indentation of the file.

8. Save the file.

9. SSH again to your phone and go again to the location /private/var/root/Library/Preferences/SystemConfiguration/ , rename the original preferences.plist to preferences.plist.original and upload the file you edited on the PC to this location.

10. Close the SSH connection, turn off SSH on phone too.

11. On your Iphone goto Settings-->General-->Network-->Edge. In this window fill airtelfun.com as your apn, leave username and password blank.

12. Come to home screen, switch off the iphone by pressing the power button for five seconds and then slide to power off. Switch it on again.

13. Now open NetServices to make sure Edge is turned on while Wifi is off. Close NetServices.

14. Open safari and open the page live.airtelworld.com and let it load for sometime. It normally does not open for the very first time you load it.

15. Close Safari, Open NetServices again, if at the bottom it displays your ip address as something like 10.x.x.x, congrats, you can now use airtel live to browse the web.

16. Again open Safari and reload live.airtelwolrd.com or maybe www.google.com or any other site, :).



A few Points to take care of:
1. If you have any doubts, please drop in a line in the comments section.
2. Do not mess up the preferences.plist file, do exactly as listed above, if you fail to paste it properly in the correct location, the phone might need to be restored, if you have any doubts or require the proxy.pac file and preferences.plist file, post your email in comments, I will email you both files that I have edited and are working fine on my 1.1.1 Iphone.

Take Care All