Wednesday, August 13, 2008

How to install application in iPhone with iTunes

sooner a quick guide for How to install application in iPhone with iTunes will be published till than wait.

iPhone 2.0 problems

Many comments on various issues in 2.0 or 2.0.1 upgrades. Many questions have been answered numerous times. I am adding a summary of a lot of the problems and solutions in this post for reference. I can also update it over time if we need it.

Problem: Mail App crashes after my update.
Solution: This is caused by the sync of the backup from iTunes. The permissions on the mail folder are incorrect (it’s owned by root). The easiest fix is to run bossprefs, click more, and click “fix user dir permissions”. You may need to reboot.

Problem: I have AT&T or a contract carrier. I jailbroke with your guide and now I have no service.
Solution: You activated and you shouldn’t have. iTunes will activate for you but because you clicked the activate button, iTunes did not get to activate. Now your account is not validated. You need to redo the steps and not check activation on your image.

Problem: I have an unlocked 2g phone. I updated to 2.0. Now I get incorrect SIM.
Solution: You did not activate and unlock. Redo the steps and make sure you activate and unlock. In winpwn, this is “activate” and configure boot neuter on the last tab. (See my guide). On osx, this is saying “I am not legit” when asked in pwnage.

Problem: Winpwn IPSW will not complete. It just errors out.
Solution: This one is caused because the size of the image is larger than the partition space. Generally resizing the partition to 550mb solves it.

Problem: I cant restore my custom firmware. I just get error 6, 1, 2, (something low).
Solution: This has multiple causes. Generally, you are not in DFU mode. See DFU guide. Winpwn solution after ruling out the above: Delete the device file (x12220000_4_Recovery.ipsw) in your iTunes folder. (Search for the file). This can also be caused by using the incorrect firmware image (a 3g on a 2g for example).

Problem: My appstore apps are all crashing.
Solution: Sync them back on using iTunes. Should solve it. If not, uninstall them all then sync them on with iTunes.

Problem: I already restored my backup but iTunes keeps telling me I need to restore my backup.
Solution: See my post on this.

Problem: My installer has (insert problem here).
Solution: Installer 4 is not ready for use. See my post on it. Use Cydia.

Problem: I did not install Cydia and installed only installer. I cant install Cydia or any apps now.
Solution: Redo the pwning with Cydia in the image. (Yes, start over).

Problem: Cydia just crashes when I load it. I cant get it to work at all. Cydia sucks!
Solution: Your pwnage install is corrupted. See this post on it.

Problem: In pwnage, I can’t download any of your packages.
Solution: Yes, only telesphoreo works. Skip this and install them from Cydia afterwards.

Problem: I have a 2g iPhone and need it unlocked. All the bootneuter settings are greyed out and I cant select anything. Why?
Solution: You selected a 3g firmware on your 2g iPhone. Download the correct firmware and start again.

Problem: After installing an app, I get a spinning wheel for a long time.
Solution: SpringBoard for 2.0 sucks. It may take 5-10 minutes in some cases to add a new app. There is no solution but to wait it out. This is much worse on appstore apps once you get a load of them. See this post.

Problem: I am in DFU mode and I just get error 1604, 1602, 1601 (some 160x). I am pulling my hair out! What do I do?!
Solution: This one sucks. There’s no single answer for it. Here are some possible suggestions:

Validate you are using the correct firmware. You can get this if you are using an incompatible firmware (3g for 2g for example).
Restart your computer and try again.
Try another computer
Try switching USB ports
Uninstall and reinstall iTunes 7.7

Tuesday, August 12, 2008

How to Hard Reset Your iPhone


To perform a hard reset on your iPhone you can follow these steps:

Step One
Press and hold the Home button and the Sleep/Wake button at the same time.


Step Two
The iPhone screen will go black after a few seconds. Release both buttons once the Apple logo appears on the screen.

How to Put an iPhone Into Recovery Mode


To put the iPhone into recovery mode so you can do an iTunes firmware restore follow these steps:

Step One
Open iTunes and connect the iPhone to your Mac.


Step Two
Press and hold the Home button and the Sleep/Wake button at the same time.


Step Three
As soon as the screen goes black release the Sleep/Wake button. Continue holding the home button until you iTunes pops up a message telling you that it has detected an iPhone in recovery mode.


The iPhone will look like this:

How to Create Custom Ringtones for an iPhone

Using iTunes 7.5 or higher you are able to create custom ringtones for your 1.1.2 or higher iPhone. This method may not work after a firmware update but for now everything works great.

Follow these instructions to make your ringtone and put it on the iPhone.

Step One
Open iTunes by clicking its icon in the dock.


Step Two
Check to see if you have a Ringtones category within your Library. You will find this on the left side of the iTunes window. If you DO have Ringtone category then you can skip to Step Four.


Step Three
Quit iTunes then open a new Finder window by clicking its icon in the dock.


Select Go To Folder... from the Finder's Go menu.


A popup window will appear. Type ~/Music/iTunes/iTunes Music/ into the entryfield and click the Go button.


Select New Folder from the File menu.


This will create a new folder in the Finder window. Select the folder and press the Enter key. This will allow you to rename the folder. Rename the new folder to Ringtones.


You can now restart iTunes. You should now have a Ringtones category on the left!

Step Four
Select a song from your library that you would like to use as a ringtone.


Hold down Control on the keyboard and click the song. From the popup menu select Get Info.


From the window that appears select the Options tab. Check the box next to Start Time and enter a start time for your ringtone. Check the box next to Stop Time and enter a stop time for your ringtone. NOTE***: The first time i tried this I attempted a ringtone 36 seconds long. It would not sync to my iPhone. I'd recommend you keep your ringtone at around 30 seconds long.


Step Five
Press the play button to test your ringtone and make sure it sounds okay. If it doesn't you can go back and modify the start and stop time till it does. Once you are satisfied then Control+Click the song and select Convert Selection to AAC from the popup menu.


You will notice that a copy of the song appears in your library. This copy is the shortened song to be used as your ringtone.


Before you forget go back into the original song's options and uncheck the Start Time and Stop Time so it will play normally.

Step Six
Drag the newly created track to your Desktop.


With the newly created track still selected in iTunes press the Delete key on your keyboard. A popup will appear asking to confirm its removal from the library. Click the Remove button. Another popup will appear asking you what to do with the file. Click the Move to Trash button.




Step Seven
Rename the file you dragged to your desktop to .m4r from .m4a. Do this by selecting the file then pressing the Enter key on your keyboard.


Step Eight
Once you have renamed the file on your desktop add it back to iTunes by double clicking on it. You will notice that the track now appears under the Ringtones category in iTunes.


Step Nine
In iTunes select your iPhone from the list of Devices on the left. Then select the Ringtones tab.

Check the box next to Sync Ringtones and select to either sync All Ringtones or to sync only specific ones.

Finally, click the Sync button at the bottom right to sync your newly created ringtone with your iPhone.


Step Ten
To use your new ringtone with your iPhone select Settings from your iPhone's springboard.


Select Sounds from the Settings menu.


Select Ringtone from the Sounds menu.


You will see your newly created ringtone under the custom category! Press to select it!

Dictionary of iPhone Terminology

Here is a dictionary of iPhone terms to help you understand the words commonly used in the iPhone community. We will be adding terms regularly. If you would like to see a term added please request it in the comments!


Activation
When you first purchase your iPhone all you can do is call 911 until you activate with AT&T (or similar). If you are using an official Apple carrier carrier then you can activate through iTunes; otherwise you will have to perform a hack to activate your iPhone. Once activated it becomes an iPod touch with camera and bluetooth at which point you will want to proceed to jailbreak and possibly unlock it for use on other carriers.

Baseband
The Baseband controls the interaction between the Phone part of the iPhone and the operating system. Whenever the iPhone needs to talk to cell towers-- whether for voice or data-- it works through the Baseband. The Baseband is responsible for making sure the sim-card is valid and for getting Signal. When you unlock your iPhone the baseband is modified to allow communication to other wireless carriers. The latest baseband version is 04.04.05_G and it corresponds to the 1.1.4 firmware.

Bootloader
There are at least two bootloaders in the iPhone. One is the ARM Core Bootloader and deals with the Operating System, the other is the Baseband Bootloader. Bootloaders make sure that when the iPhone boots it is doing things in the right order, and getting everything done. Currently the iPhone has shipped with two different Baseband Bootloaders (3.9 and 4.6). The 3.9BL allowed us to load a hacked baseband which matches the firmware version. Apple changed this feature in the 4.6 BL and made it require a baseband of a newer firmware version. This is why the Dev Team has released a 3.9 fakeblank BL which allows you to load a hacked baseband matching your firmware version.

DFU Mode
DFU means Device Firmware Update. If a restore using Recovery Mode doesn't work you will want to use DFU Mode as a last resort. When placing your iPhone into DFU Mode it does not load the OS before attempting the restore. Hold the Sleep/Wake and Home buttons for 10 seconds. Just before you would normally see the Apple logo, release the Sleep/Wake button and keep hold the Home button until an iTunes detects an iPhone in recovery mode. NOTE**: This is really tricky to get the timing right it will take a few attempts. If you are in DFU Mode your screen will be black with nothing displayed.

Firmware
The firmware version you have installed on the iPhone is similar to the version of the operating system on your computer. Newer firmware versions usually add new features, fix bugs, and improve stability. iPhones first shipped with 1.0.x firmware. iPhones now are shipping with 1.1.4 and version 1.2 (2.0 Beta) is available to select developers.

Installer.app
Installer.app is a UIKit based package manager for the iPhone. It works by downloading packages over WiFi (wireless networking) or EDGE. It supports installing, updating and uninstalling applications from multiple sources. You will use Installer.app to install a majority of your iPhone applications.

Jailbreak
The process of gaining access to the iPhone's root filesystem, allowing third-party applications to run on the device. In general once you jailbreak you will have Installer.app on your SpringBoard. You can use Installer to install most every application you would need on your iPhone.

OOB or OTB
Used to refer to the firmware version your iPhone came with "Out of the Box". ie. If you have a 1.1.2 OTB iPhone that means your iPhone came with the 1.1.2 firmware preinstalled.

Recovery Mode
If you want to do a clean restore you can put your iPhone into recovery mode to do so. Hold the Sleep/Wake and Home buttons until the iPhone reboots. Once you see the Apple logo, release the Sleep/Wake button and keep hold the Home button until an iTunes logo and the usb cable appear on screen. You can then use iTunes to restore your firmware.

Secpack
A Secpack is similar to a password for the Bootloader. When passed to the bootloader, it authorizes write access to the Baseband.

SDK
SDK is short for Software Development Kit and it's basically a library of software that helps you develop applications and utilities. Apple has just released the iPhone SDK which is the set of tools needed to create applications that run on the iPhone.

Unlock
The process of Unlocking allows your iPhone to use any GSM sim card. Currently Apple has limited the use of the iPhone to a select few wireless carriers. The iPhone must be unlocked before you can use any carrier of your choice.

How to Enable Your iPhones Screenshot Feature

These are instructions on how to enable and take screenshots using the built in iPhone screenshot feature. This feature was first discovered by RiP Dev while working on an update to Caterpillar.

You must have 1.1.3 or higher firmware installed on your iPhone to enable this feature.

Step One
Make sure you have added iClarified as an installer source. You can find instructions on how to do this here.

Step Two
Press to launch Installer from your SpringBoard.


Step Three
Press to select the Install tab at the bottom of the screen.


Step Four
Press to select iClarified from the list of Categories.


Step Five
Press to select Screenshot Enabler from the list of Packages.


Step Six
Press the Install button at the top right of the screen.


Step Seven
Press the large red Install button that appears.


Step Eight
You will be notified that you must be on the 1.1.3 or newer firmware. Press the large OK button.


Step Nine
A notifications will appear telling you how to use the new screenshot feature. Press the large OK button.


Step Nine
You will be returned to the Categories menu once installation is complete. Press the Home button to return to your SpringBoard.


-----
Now to take a screenshot simply hold down the Home button and toggle the Silent Switch. You will notice the screen flash white.
-----

Step Ten
To view the screenshot you just took, press the Photos icon on your SpringBoard.


Step Eleven
Press to select Camera Roll from the list of Photo Albums.


Step Twelve
Press to select the small thumbnail of your screenshot.


Step Thirteen
Now you can see your high quality iPhone screenshot. You can easily sync this to your computer just as you would with any other photo!



THANKS***: Thanks to RiP Dev for discovering this neat too