Posted by: dynamicmethods | December 27, 2010

Step by Step In-App Purchase

Steps:

A. Setup App

B. Setup Product & App Purchase Type Model Define.

C. Product Purchase Transaction

D. SandBox Testing

Step A:   Setup App.

1.

Certificate is an essential element to submit or test an application on iphone. It comes with code sign(Signatures) which would verified when an application is submitted on apple store or when tested on iphone.

One has to through 2 step procedure to create a certificate from developer portal. I simply copied those two from “iphone developer portal”

1.1 Generating Certificate Signing Request

1.2 Submitting a Certificate Signing Request for Approval

1.3 Downloading and Installing Certificate .

1.4 Generating App ID.

1.5 create a Provisioning file for our Xcode and final step for creating binary which would submit it to Appstore.

1.1 Generating a Certificate Signing Request:

1.1.1 Open the Utilities folder and launch Keychain Access from the Applications folder.

1.1.2 Set the value of Online Certificate Status Protocol (OCSP) and Certificate Revocation List (CRL) to “off” in the Preferences Menu.

1.1.3 Select Keychain Access -> Certificate Assistant -> Request a Certificate from a Certificate Authority.

1.1.4 Fill in your email address in User Email Address Field. Confirm that this email address is same as provided at the time of registering as iPhone developer.

1.1.5 Fill in your name in the Common Name field. Confirm that this name is same as provided at the time of registering as iPhone developer.

1.1.6 It is not necessary to have an Certificate Authority (CA). The ‘Required’ message would be eliminated after finishing the following step.

1.1.7 Click the ‘save to disk’ radio button if prompted, choose ‘Let me specify key pair information’ and proceed.

1.1.8 If  you choose ‘Let me specify key pair’ option then one has provide a file name and click ‘Save’. Select ‘2048 bits’ for Key Size and ‘RSA’ for the algorithm in next screen and proceed.

1.1.9 CSR file would created on the desktop by Certificate Authority.

1.2  Submitting a Certificate Signing Request for Approval:

1.2.1 Once CSR file is created log in to the iPhone developer program portal and go to ‘Certificates’> ‘Development’ and select ‘Add Certificate’.

1.2.2 Click the ‘Choose file’ button, select your CSR and click ‘Submit’. The portal will reject the CSR if Key Size is not set to 2048 bit at the time of CSR creation.

1.2.3 This will followed by notification to Team Admins by email of the certificate request.

1.2.4 The change in the certificate status would informed by email on approval or rejection of the CSR by Team Admin.

1.3  Download/Installing Certificate on your machine

1.3.1 Once the CSR is approved the Team Members and Team Admins can download their certificates via the ‘Certification’ section of the Program Portal.  Choose ‘Download’ next to the certificate name to download your iPhone development certificate to your local machine.

1.3.2 Once this is done double-click the .cer file to launch Keychain Access and install your certificate.

On installation of certificate on your MAC the next step is to create an App ID.

1.4 Generate an App ID:

1.4.1 Go to ‘App IDs’ and click ‘App ID’ after logging in to iPhone developer program portal.

1.4.2 Populate the ‘App Id Name’ field with your application name (that is – FirstApp) and in ‘App Id’ enter something like com.yourdomain.applicationname (i.e com.dynamicmethods.firstapp) and click submit.

1.4.3 Please do note down the “App Id” as this would be utilized in Info.plist, bundle identifier tag.

1.5  create a Provisioning file for our Xcode and final step for creating binary which would submit it to Appstore.

1.5.1 After you navigate to ‘Provisioning’> ‘Distribution’ click ‘Add Profile’ in iphone developer program portal.

1.5.2 Choose “App Store” in “Distribution Method”.

1.5.3 In “Profile Name” enter your application name (i.e firstapp) which will be your provisioning profile name as well.

1.5.4 In “App ID” select the app name(i.e. firstapp) which you created in Step 1.4.

1.5.5 After downloading the Provisioning profile copy it to your/YourUserName/Library/MobileDevice/Provisioning Profile.

B. Setup Product & App Purchase Type Model Define.

Now We are ready setup Product which you want to sell thru App.

1.1 Setup Product

1.1.1  Login http://developer.apple.com and go to itune connect and select Manage in App Purchase Link.

1.1.2 Click Create New and Select your app (i.e firstapp)

1.1.3  Fill up product details such as

  • Reference Name: common name for the product. I used “Product-A”. This name is non-editable, and it will not be displayed in the App Store.
  • Product ID: unique id for your app. Typically of the form com.yourdomain.appname.productsku, but it can be whatever you want. It does not need to have your app’s App ID as a prefix.
    • Type: You have 3 choices:
      • Non-consumable: only pay once (use this if you want a free-to-pro-upgrade product
      • Consumable: pay for every download
      • Subscription: recurring payment
    • Price Tier: price of the product. See the price matrix for the different tiers.
    • Cleared for Sale: check this now. If you don’t, you will get back an invalid product ID during testing.
    • Language to Add: Pick one. The following two fields will appear:
      • Displayed Name: Name of your product shown to your user. I chose “Buy Product A”.
      • Description: What the product does. The text you enter here is sent along with the Displayed Name and Price when you fetch an SKProduct in code.
    • Screenshot: Your feature in action. Despite the text on the screen about the screenshot submission triggering the product review process , you can safely add the screenshot now without the product being submitted for review. After saving the product, just choose the “Submit with app binary” option. This will tie the product to the app binary, so when you finally submit the 100% complete app binary, the product will be submitted as well.
  1. Click “Save”

1.6 Integration Code Add into your app.

To access the product data, we need to use the StoreKit framework. Testing only possible on device. not on simulator

  1. Add the StoreKit framework to your project.
  2. Add a reference to a SKProduct to your .h file:

// AppPurchaseManager.h

#import <StoreKit/StoreKit.h>

#define ProductsFetchedNotification @”ProductsFetchedNotification”

@interface AppPurchaseManager : NSObject <SKProductsRequestDelegate>

{

SKProduct *buyProductA;

SKProductsRequest *productsRequest;

}

AppPurchaseManager is a singleton class that handles every in app purchase for our app. It make easy integration within entire app.

Request the product, and implement the delegate protocol in the corresponding .m file:

// AppPurchaseManager.m

- (void)requestbuyProductAData
{
NSSet *productIdentifiers = [NSSet setWithObject:@"com.dynamicmethods.firstapp.productA" ];
productsRequest = [[SKProductsRequest alloc] initWithProductIdentifiers:productIdentifiers];
productsRequest.delegate = self;
[productsRequest start];

// we will release the request object in the delegate callback
}

#pragma mark -
#pragma mark SKProductsRequestDelegate methods

- (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response
{
NSArray *products = response.products;
buyProductA = [products count] == 1 ? [[products firstObject] retain] : nil;
if (buyProductA)
{
NSLog(@”Product title: %@” , buyProductA.localizedTitle);
NSLog(@”Product description: %@” , buyProductA.localizedDescription);
NSLog(@”Product price: %@” , buyProductA.price);
NSLog(@”Product id: %@” , buyProductA.productIdentifier);
}

for (NSString *invalidProductId in response.invalidProductIdentifiers)
{
NSLog(@”Invalid product id: %@” , invalidProductId);
}

// finally release the reqest we alloc/init’ed in requestbuyProductAData
[productsRequest release];

[[NSNotificationCenter defaultCenter] postNotificationName:ProductsFetchedNotification object:self userInfo:nil];
}


Posted by: dynamicmethods | August 21, 2010

Paper Craft

Paper Craft

Posted by: prafulkvaja | July 10, 2009

Spring MVC validation Configuration

Spring MVC validation Configuration

Commons Validation

Pros:

Optimal use of use of resources: JavaScript validations are provided when JavaScript is enabled, and server-side validations are guaranteed.

A single point of maintenance: both client-side and server-side validations are generated from the same configuration and use the same error message.

Cons:

Lack of data conversions and transformations

The generated JavaScript is no modal, it does not engage until the form is submitted.

Spring Validation

Pros:

Server-side validation is easy to implement org.springframework.validation.Validator.

Use the same error message as commons validation. Easy internationalization.

Cons:

Spring client-side validation is in development progress, need standard version.

Configuration:

1. WEB-INF/validation-rules.xml

default validation rules such as email , creditcard, date validation rules.

2. WEB-INF/validation.xml

User-defined form validation rules.

<form-validation>

<formset>

<form>

<field property=”username” depends=”required”>

<arg0 key=”signonusername”/>

</field>

<field property=”password” depends=”required”>

<arg0 key=”signonpassword”/>

</field>

<field property=”lastName” depends=”required”>

<arg0 key=”accountfirstname”/>

</field>

<field property=”firstName” depends=”required”>

<arg0 key=”accountlastname”/>

</field>

<field property=”email” depends=”required, email”>

<arg0 key=”accountemail”/>

</field>

</form>

</formset>

</form-validation>

3. Web-INF/dms-servlet.xml add bean configuration

<bean class=”org.springmodules.commons.validator.DefaultValidatorFactory”>

<property name=”validationConfigLocations”>

<list>

<value>/WEB-INF/validator-rules.xml</value>

<value>/WEB-INF/validation.xml</value>

</list>

</property>

</bean>

<!–  Validating the Spring way –>

<bean id=”userValidator”/>

<!–Commons Validation define –>

<bean class=”org.springmodules.commons.validator.DefaultBeanValidator”>

<property ref=”validatorFactory”/>

</bean>

4.Web-INF/dms-servlet.xml Add validator property in Spring contoller

<bean id=”createUserController”>

<property name=”commandName” value=”account”/>

<property name=”formView” value=”createUser”/>

<property name=”successView” value=”redirect:logout.jsp”/>

<property name=”serviceLocator” ref=”serviceLocator”/>

<property name=”validators”>

<list>

<ref bean=”beanValidator”/>      <!–Commons Server-side validation –>

<ref bean=”userValidator”/>       <!–Spring validation –>

</list>

</property>

5. WEB-INF/classes/message_en_US.properties (English version) Add error message for the validation.

# — validator errors –

errors.required= {0} is required.

errors.minlength={0} can not be less than {1} characters.

errors.maxlength={0} can not be greater than {1} characters.

errors.invalid={0} is invalid.

6. Add class Dms.view.validator.UserValidator Spring server-side validator class.

7. Modify taglibs.jsp add jsp file tag definition

<%@ tglib uri=”http://www.springmodules.org/tags/commons-validator” prefix=”validator” %>

8. Modify /jsp/createUser.jsp add commons validation tag

Modify:

<form method=”post” action=”<c:url value=”/createUser.html”/>”>

Add in the last line:

<validator:javascript formName=”account”

staticJavascript=”false” xhtml=”true” cdata=”false”/>

<script

src=”<c:url value=”/scripts/validator.jsp”/>”></script>

9: Add /scripts/validator.jsp

<%@ page contentType=”javascript/x-javascript” %>

<%@ taglib uri=”http://www.springmodules.org/tags/commons-validator” prefix=”validator” %>

<validator:javascript dynamicJavascript=”false” staticJavascript=”true”/>

Posted by: dynamicmethods | May 9, 2009

Deploy xcode project from iPhone Simulator to an actual device

1] First, we need to create something called as a Certificate Request (CSR). This is done through the Keychain Access Utility that is located in  /Applications/Utility on a mac machine.

2] After the CSR file is created on our machine, we have to submit it to the iPhone Program Portal.

3] You then gotta wait for an approval from Apple.

4] After approval you download the CSE from the Program Portal.

5] After you download the certificate you need to add it back again to the keychain. This is the most simple step in this process, just double click and the certificate will be added to the keychain. But,this is important, don’t miss this one, you should download the certificate to that same machine that generated the CSR for the certificate.

6] This is not the end. Even if you have compiled the code you wont be able to put it on the phone. For that you need the “Provisioning Profile”.

7] Create the Provisioning Profile on the Program Portal and download it to your machine, add it to Xcode – the IDE used for COCOA – iPhone     programming and then put it on the phone.

8] After this you’re ready to put the app on iphone and test.

These are the steps to just test your app on your own iPhone

To distribute your app you have to follow the same steps from creating the CSR and profile but instead of a DEVELOPER CERTIFICATE you have to apply for DISTRIBUTORS CERTIFICATE and then instead of the PROVISIONING PROFILE you have to get the DISTRIBUTION PROFILE.

Posted by: dynamicmethods | May 4, 2009

Maemo Platform

The Maemo platform is the core software stack that runs on mobile devices such as the Nokia N810. The Maemo platform is built in large parts of open source components. The Maemo SDK provides an open development environment for applications on top of the Maemo platform.

Maemo Value small.png

The Maemo platform consists of the software stack from the Linux kernel to the Maemo APIs and the Hildon UI framework. Commercially available devices running on Maemo come with the pre-installed Hildon UI and a set of applications delivered by Nokia. It is possible to develop other UIs on top of the Hildon UI framework. As an example, the Maemo SDK is delivered with a generic UI, the so-called Plankton theme.

Maemo platform is based on Linux operating system which itself inherits its architecture from the Unix operating system. Linux and other open source projects contributing to the Maemo platform embrace sharing of source code, collaboration and open development model. The Maemo community promotes these values by keeping the Maemo platform open wherever feasible, by sharing source code, and by contributing code directly to the upstream projects.

Key Components of the Maemo Platform

The Maemo platform is based on the Linux operating system kernel. Linux is a monolithic kernel that supports multiple hardware platforms and is able to support a wide range of different kinds of devices from wrist watches to large server systems. Currently all devices running on the Maemo platform have an OMAP chipset, which contain a general-purpose ARM processor and a DSP unit.

Maemo Architecture

The user interface architecture of Maemo 4 is based on GNOME framework, especially the GTK+ widget set. GNOME is a leading application framework for desktop Linux systems. Maemo platform has inherited many central components such as GTK+, the GStreamer multimedia framework, the GConf configuration management, and the XML library. The Maemo platform extends GTK+/GNOME technologies by providing extensions for a mobile desktop.

Posted by: dynamicmethods | April 28, 2009

How to Transfer Files From Your iPhone Using Bluetooth(IBluetooth)

MeDevil has finally released iBluetooth making it the first iPhone app for the jailbroken iPhone to allow users to transfer files from their iPhone via Bluetooth, a feature which has been missing from the iPhone since its launch.

  • iBluetooth will allow users to transfer any file via Bluetooth to other devices. It also has a built-in file viewer which will allow users to send any file on their iPhone.
  • iBluetooth is available for 3.99 euros and you can install it on your jailbroken iPhone via Cydia. medevil hopes to bring features such as A2DP, Serial Port (needed for bluetooth GPS) etc in the future.
  • iBluetooth is also available as free cracked version.

Installation Steps  of iBluetooth on iPhone.

Step One
Press to launch Cydia from your SpringBoard


Step Two
Press to select the Sections tab at the bottom of the screen


Step Three
Press to choose System from the list of Sections.


Step Four
Press to select iBluetooth from the list of Packages.


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


Step Six
Press the Confirm button at the top right of the screen to begin installation.


Step Seven
Once the installation has completed successfully. Press the large Return to Cydia button.


Step Eight
Press the Home button to return to your SpringBoard. Notice we now have a new iBluetooth icon.


Step Nine
Press to launch Settings from your SpringBoard.

Step Ten
Press to choose General from the Settings Menu.


Step Eleven
Press to select Bluetooth from the General Menu.


Step Twelve
Move the Bluetooth toggle switch to the ON position.


Step Thirteen
Press the Home button to return to the Springboard then press the iBluetooth icon.


Step Fourteen
iBluetooth will start and inform you that it is disabling the system bluetooth. Note*: I had to enable the system bluetooth to successfully start iBluetooth. Press the large OK button.


Step Fifteen
You will now be asked to register by visiting http://www.medevil.net. Register on the site then come back and press the Get License button at the top right of the screen.


Step Sixteen
A popup will appear to let you know your license is valid. Press the large OK button.


Step Seventeen
Press the Back button at the top left of the screen.


Step Eighteen
From the iBluetooth Home Tab press the Settings icon at the top right of the screen.


Step Nineteen
From the settings menu you can change the name and visibility of your iPhone.

You can also set a PIN for allowing incoming bluetooth connections.

Under the images section you can choose to send images as jpg instead of png. Also you can select to have images saved in your photo library.

From the file system section you can decide to show hidden files and set the save path and ftp root path.

Press Done to return to the iBluetooth Home screen.



Installation step of iBluetooth free cracked version.

  • Download this file from

http://rapidshare.com/files/208485971/iphone-bluetooth.zip

  • Now go to ‘Cydia’, click manage & then sources and now add the following Cydia repository: http://www.ispaziorepo.com/cydia/apt/
  • Now search for the iBluetooth application in Cydia and install it.
  • Extract ‘iphone-bluetooth.zip’ (The rapidshare file you downloaded earlier)

from the zip to your computer

  • Copy ‘iBluetooth_’ to the following path on your iPhone:

/Applications/iBluetooth.app (Replace the original file if asked to)

  • Terminal to your iPhone (Using Terminal on OSX or PuTTy on Windows).

IMPORTANT: don’t terminal using your SFTP client (Cyberduck etc).

  • Type in ‘su root’ and then password as ‘alpine’ – THIS IS IMPORTANT
  • Write the following below and press Enter: cd /Applications/iBluetooth.app
  • chmod 7777 iBluetooth_
  • Type in the command ‘reboot’
  • Enjoy!
Posted by: prafulkvaja | April 26, 2009

How to add Sources to Cydia

Step One
Launch Cydia by tapping on Cydia icon from your Springboard.

add-source-to-cydia-01

Step Two

Here’s Welcome screen of Cydia. Tap the Manage tab available at the bottom of the screen.

On the next screen, Tap on Sources section to get the list of Cydia sources.

add-source-to-cydia-02add-source-to-cydia-03

Step Three

Here you will see the list of Cydia sources “Entered by User” and “Installed by Packages”.

Tap on Edit button on the top right. After that you will see the Add button appears at the top Left of the screen.

add-source-to-cydia-04add-source-to-cydia-05

Step Four

By Tapping the Add Button as shown above, “Enter Cydia/APT URL” popup will appear. Here you can add your desired Cydia Source/repo.

After entering the Cydia Source press Add Source button. It will start verifying the Source URL.

add-source-to-cydia-06add-source-to-cydia-07

Step Five

Wait until Cydia download and update the sources list. When done! Press the big Return to Cydia button.
add-source-to-cydia-09add-source-to-cydia-11

Now you can see, there’s a new Source/Repo added to Cydia Sources.

By Tapping the newly added Source you will find list of packages available in that source.
add-source-to-cydia-12add-source-to-cydia-13

Posted by: prafulkvaja | April 26, 2009

How to Use Cydia

1. Click the spiffy new Cydia icon on your Springboard

You’ll see loading while it updates the sources and loads the welcome screen.

2. Upgrade Cydia

From here if you haven’t run Cydia in a while, or this is your first time running, you may get a notice about ‘Essential upgrades’. These are upgrades to the Cydia application itself that may be required for installing new packages and apps:

  • Press Upgrade Essential
  • Press Confirm to begin the download and install
  • Wait for Complete and press Close Window
  • Press the home key, and then re-open Cydia to continue

NOTE: After installing essential upgrades, it’s always a good idea to restart Cydia to make sure the new packages are reloaded. Repeat Step 1 to open Cydia again (though you probably already guessed that).

3. Update Applications

If you’ve installed applications previously you may see a numbered notification next to the “Changes” menu. This indicates that there are updates available for currently installed applications. For our walkthrough I’ll update the NES emulator I downloaded a couple of days ago.

To update applications:

  • Press Changes
  • Press Upgrade All (#) [top right of screen]
  • Press Confirm to begin download and installation

You’ll notice on the last shot that NES has disappeared from the list and the notification
(red 1) on the changes option has been removed.

NOTE: Changes also contains applications that have recently been added or changed, this is a good place to go to find new applications on a regular basis.

4. Installing New Applications

Let’s install something new. I love Pac-Man, and it just so happens that the developer of Mac-Man, a great Pac-Man clone, is available on Cydia under the games category.

To install an application:

  • Press Install [on the bottom]
  • Browse through categories to Games
  • Press Macman
  • Press Install on top right
  • Press Confirm to begin the download and installation

You will see it run through a series of steps . . . Downloading . . . Preparing . . . Complete.

  • Press Close Window

Now Macman is successfully installed, you should be able to hit your home key, wait for your homescreen to refresh, and a tempting new Macman icon will be waiting for you.

Let’s go eat some ghosts!

5. Removing or Reinstalling Applications

Ok, so now you have an application installed, but you don’t really want to play it anymore. Removing it is as simple as a few taps:

  • Open Cydia again
  • Press Manage
  • Scroll and find Macman
  • Press Macman
  • Press Modify [top right of the screen]
  • Press Remove (you could reinstall if you were having issues with the application, like it wouldn’t start)
  • Press Confirm to begin removing the app
  • Once you see Complete, press home and the Macman icon should be gone

6. Searching for Applications

One of my favorite features of Cydia is Searching.

I can find an app without having to go through countless categories because I can’t remember where it was located:

  • Press Search
  • Type part of the application name or description in the search box at top

The list is filtered as you type, and all matching applications are shown. Select one to install and follow step 4 above.

Remember a lot of applications you might have seen in Installer.app previously are not yet available because the developers haven’t updated them to work on the new 2.0 software.

Check the Changes section in Cydia daily for updates.

Posted by: prafulkvaja | April 26, 2009

How to Jailbreak iPhone 3G With Windows

iTunes 8 installed (make sure to reboot). – Download iTunes

Note: If you have already upgraded your iPhone to firmware 2.1 skip step 2.

Step One

Create a folder on your desktop called Pwnage.

Download the following files and place them in this Pwnage folder you just created on your desktop:

Unzip the QuickPwn21-1.zip file inside the Pwnage folder.
Step Two
Launch iTunes and connect your iPhone 3G to the computer via USB cable.

Select your iPhone from the list of devices on the left side navigation bar. Now hold down shift while clicking the Restore button.

Navigate to the Pwnage folder you created on your desktop and select the 2.1 firmware ipsw file. Double click the ipsw file or select it and click the Open button to proceed.

Step Three
Once iTunes has finished upgrading your iPhone 3G to the 2.1 firmware you may launch QuickPwn 2.1 from the Pwnage folder you created on your desktop.

Step Four
Make sure you iPhone 3G is still connected to the computer via USB cable then click the blue arrow to proceed.

Step Five
Click the Browse button to locate your iPhone 3G firmware.

Step Six
Select the 2.1 firmware ipsw file from the Pwnage folder you created on your desktop then double click the ipsw file or select it then click the Open button.

Step Seven
QuickPwn will check to verify that the ipsw file is valid. After completetion of the verification, click the blue arrow button to proceed.

Step Eight
You can now select whether to Add Cydia, Add Installer, or Replace Boot Logos. Select the ones you would like to perform then click the clue arrow button.  Installing Cydia and Installer is highly recommended to enjoy the full jailbreak experience.

Step Nine
QuickPwn will now ask you to confirm your iPhone 3G is still connected via USB cable before it continues. Click the blue arrow button to proceed.

Step Ten
QuickPwn will now automatically put your iPhone into recovery mode. Once its in recovery mode you will be prompted to: Hold the Home button for 5 seconds, Hold the Home and Power buttons for 10 seconds, then release the Power button and continuing holding the Home button until your iPhone is in DFU mode.

Note: Pay attention and do exactly as it says

Step Eleven
Once QuickPwn detects your iPhone 3G in DFU mode it will begin the jailbreaking process.

Step Twelve
Once jailbreaking is complete QuickPwn will inform you that it was successfull.

Posted by: prafulkvaja | April 26, 2009

How to Jailbreak iPhone 3G With MacOS

Make sure you have iTunes 8.0.2.

Step One
Make a folder called “Pwnage” on the desktop. In it, you will need a couple of things. PwnageTool 2.2.5, found here or here
You will also need the 2.2.1 iPhone firmware.
2.2.1 (3G): iPhone1,2_2.2.1_5H11_Restore.ipsw

Step Two
Double click to mount PwnageTool 2.2.5 then drag the PwnageTool icon into the Pwnage folder.

Then from the Pwnage folder double click to launch the PwnageTool application.

Click Ok if presented with a warning.

Step Three
Click to select Expert Mode from the top menu bar

Step Four
Click to select your iPhone. A check-mark will appear over the image of the phone.

Step Five
Click the blue arrow button to continue. You will be brought to the “Browse for IPSW” page. On my laptop, it automatically found the IPSW. If PwnageTool doesn’t automatically find the ipsw file you can click Browse for IPSW….

Click to select the found IPSW file, a checkmark will appear next to it. Then click the blue arrow button to continue.

Step Six
You will then be brought to a menu with 7 choices. Click to select General then click the blue arrow button.

The General settings allows you to decide the partition size. Click activate the phone and Disable partition wipe-out. Click the blue arrow button.

NOTE*: Deselect Activate if you have an iPhone legitimately activated on an official carrier.
NOTE*: You may need to increase the size of the root partition slightly. My first attempt failed at creating the IPSW until I increased the size to about 695 MB.

The Bootneuter settings are greyed out for the 3G iPhone. Click the blue arrow button.

The Cydia settings menu allows you to create custom packages so you do not have to manually install the necessary them later.

Click to select the Download packages tab. Then click the Refresh button to display all the available packages. Double clicking the package you want will download it and make it available in the Select Packages tab.

Checkmark the ones you want then Click the blue arrow button.

The Custom Packages Settings menu displays listed package settings for your custom IPSW. For know leave these settings as is. Click the blue arrow button to continue.

The Custom Logos Settings menu allows you to add your own images as boot logos. Click the Browse button to select your Boot logo and Recovery logo. If you would like to use the iClarified ones they can be found here: Boot Logo, Recovery Logo

Remember the rules for them: RGB or Grayscale format with Alpha channel and dimension bellow 320×480…

Click the blue arrow button to continue.

Step Seven
You are now ready to begin the pwnage process! Click the Build button to select it then click the Blue arrow button to begin.

Step Eight
You will be asked to save your custom .ipsw file. Save it to your Pwnage folder you created on your Desktop.

Your IPSW is not being built. Please allow up to 10 minutes.

You will be asked to enter your administrator password. Do this then click the OK button.

When prompted if your iPhone has been Pwned before, we clicked No. It allows for a more thorough restore.

You will be asked to turn off the device. Make sure it is connected to the USB port.

Step Nine
Be ready to follow directions now. It will ask you to hold the home button and the power button for 10 seconds. Then, you will have to release the power button and hold the home button for 10 seconds to enter DFU.

If you fail, it will show you a message. Click Yes. Unplug the iPhone from the USB. Turn it off, then turn it back on. Plug it back into the USB and turn off the iPhone when prompted.

When done correctly, Pwnage 2.2 will display a message telling your that it successfully entered DFU mode. iTunes will also pop-up.

IMPORTANT***: If you have Mac OS X 10.5.6 you may have an issue with putting your iPhone into DFU mode. The easiest option is to use a USB hub between your iPhone and the computer. Another option is to run this automator script. NOTE*: Make sure the script completes properly. If the files are not replaced properly you will lose keyboard and mouse upon reboot. Later today we will post a third alternative for enabling DFU mode on your Mac.

Step Ten
In iTunes, hold the Alt/Option button and click Restore.

Step Eleven
Navigate to the Pwnage folder on your desktop using the dialog window that appears. Select the custom IPSW that was created (iPhone1,2_2.2.1_5H11_Custom_Restore.ipsw) and click the Open button.

Step Twelve
iTunes will now restore the firmware on your iPhone. This can also take up to 10 minutes.

If you so desire you may restore from a previous backup to keep all your settings or set your iPhone up fresh.

Step Thirteen
Once the restore is completed your iPhone will reboot and you will notice Cydia is present on the SpringBoard!


Older Posts »

Categories

Follow

Get every new post delivered to your Inbox.