Today I installed for test on my iPad, iOS 4.3b2. Unfortunelly I don’t have an developer account and my UDID is not registered anyware so…I was stuck on the Recovery screen. Researching on internet, I found that you can bypass this very easly.
This is how you need to do in order to bypass UDID activation and jailbreak iOS 4.3b2:
1. If you already had a jailbroken phone/ipad/ipod and you modified the hosts file from (windows: c:\windows\system32\drivers\etc) – (mac: /private/etc/hosts) comment out the line: 74.208.105.171 gs.apple.com
I suggest to download TinyUmbrella http://thefirmwareumbrella.blogspot.com/ and save your SHSH blobs for 4.2.1 and 4.3b2 so you can restore in future.
2. Now put your iPad in DFU mode pressing Main button + Power Button same time and wait 10 seconds, after that release the Power Button but keep Main Button pressed another 10 seconds.
3. Restore iDevice to iOS 4.3b2 (Press to download; search for: iPad1,1_4.3_8F5153d_Restore.ipsw)
4. After restore put device again in DFU mode using redsn0w 0.9.7b6 Mac only (press to download) or redsn0w 0.9.6b8 Windows only (press to download). Now click browse for the iOS 4.2.1 firmware (press to download). Look at the images bellow:


Connect your device TURNED OFF. Press Next and follow instructions how to put in DFU mode.
redsn0w will jailbreak your iPad and will install Cydia.
5. After reboot you will notice that you are still in recovery mode. In order to bypass this, connect iPad to your computer, now using iSpirt for windows (press to download) or iPhone Explorer for Mac (press to download) browse to /System/Library/CoreServices/SystemVersion.plist like in the picture attached bellow:

Remove:
<key>ReleaseType</key>
<string>Beta</string>
6. After pressing Save button just reboot the iPad, let him boot normally to Recovery Screen connected to computer, then open iTunes and it will automatically activate your iPad.
7. In order to use the iPad in jailbreak state you will need to shutdown again. Then put it normally like in Step 2 in DFU mode. Download tetheredboot-syshalt-4.3b2.zip (press to download), unzip then open tetheredboot.bat (not the .exe one) and he will start to upload the new patched kernel and boot tethered state (it will appear a white screen, don’t worry, just wait he will, boot into SpringBoard in around 40 seconds).


Here are some screenshots that prove is working.


IMPORTANT!!
Every time you will reboot the iPad, need to connect him at computer in DFU mode, and boot tethered using tetheredboot.bat
I want to present some of my top 10 applications and customizations I use on my iPhone.
For the start you should have an jailbreaked iPhone, I`ll not cover how to do that here. Now open Cydia application (this comes with jailbreak) and add at sources these repos:
http://www.sinfuliphonerepo.com/
http://www.cmdshft.ipwn.me/apt/
http://cydia.hackulo.us
http://cydia.myrepospace.com/hackstor/
http://cydia.xsellize.com
http://rpetri.ch/repo
http://apt.dmytro.me
http://cydia.myrepospace.com/ukakotar/
After fresh install of iOS on iPhone, I usually install this aplications witch I consider mandatory in day by day usage:
1. AppsSync
Let`s you install applications that are not from AppStore and syncronize them with iTunes
2. Push Doctor
Installs certificates for Push Notifications and Youtube
3. Youtube2
Let`s you download videos from Youtube
4. zToggle
Disables Wallpaper & Multitasking on iOS 4
5. Respring
Restarts the springboard
6. SwitcherMod
Adds functionality on multitasking bar
7. Remove Recents
Auto removes recents applications from multitasking bar (not the ones active)
8. Attachment Saver
Let`s you save attachments from e-mail to iPhone
9. Recent/CallLog Delete 1.4
One of the best applications that iOS 4 lacks by default, let`s you delete one by one recent calls log.
10. USB Drive
This aplication is awsome, let`s you reserve space from your flash memory and acts like a USB Drive using the USB cable.
On iOS 4 (3gs) I usually disable the wallpaper because it seems that the springboard is running more smooth without wallpaper. Also I remove these services (using SSH):
cd /System/Library/LaunchDaemons
and then remove files using: rm –rf file
com.apple.DumpPanic.plist
com.apple.ReportCrash.(Different Things).plist
com.apple.CrashHouseKeeping.plist
com.apple.stackshot.server.plist
com.apple.tcpdump.server.plist
com.apple.chud.chum.plist
com.apple.chud.pilotfish.plist
Recently I had done some research about Java VM running on iPhone devises. At the moment Apple does not support java application and from what Steve Jobs said, there is not plan in the future to do so. Lucky we can have Java VM on our iPhones.
In order to do this you will need of course to jailbreak you iPhone and install OpenSSH and APT-Strict application from Cydia, then SSH to your iPhone IP with username: root and password: alpine and trype to install java this commands:
1. apt-get update
2. apt-get upgrade
3. apt-get install jamvm jikes classpath iphone-java
Here is an example of HelloJava application:
Create a new file with command nano HelloJava.java and write the code from bellow.
public class HelloJava {
public static void main(String args[]) {
System.out.println(“Hello, Java”);
}
}
Now ctrl+x to save and exit then compile the source file:
jikes –cp /usr/lib/rt.jar HelloJava.java
Now you can run the application using:
java HelloJava

I search a lot on internet how to do this, and I found some info from Anastas Stoyanovsky. Most people posted that if you install libgcc on iOS 4 it will crash at boot but this is not true.
Here is what you need to do in order to be able to compile and run a C application on iphone:
1. You will need to Jailbreak the iPhone first, search on google for more info.
2. Install OpenSSH from Cydia.
3. Connect iPhone to your wireless network and SSH to it.
4. Download this application using: wget http://www.syshalt.net/pub/iphone/gcc-iphone/fake-libgcc_1.0_iphoneos-arm.deb
5. Install libcc using: dpkg –i fake-libgcc_1.0_iphoneos-arm.deb
6. Install iphone-gcc using this command: apt-get install iphone-gcc
(you can download this version from my website: iphone-gcc if does not work on your device the one that is installed by default)
7. Download using: wget http://www.syshalt.net/iphone/gcc-iphone/sdk-2.0-headers.tar.gz
8. Untar with command: tar -xvzf sdk-2.0-headers.tar.gz
9. Enter in the new created folder with: cd include-2.0-sdk-ready-for-iphone
10. Copy all files to include folder with command: cp –r * /usr/include
11. Now type: cd .. in order to return to the previous folder
12. Download using: wget http://www.syshalt.net/iphone/gcc-iphone/gcc_files.tar.gz
13. Untar with command: tar -xvzf gcc_files.tar.gz
14. Enter in the new created folder with command: cd gcc_files
15. Copy all files to /usr/lib using command: cp –r * /usr/lib
16. Install ldid to sign the application (this will prevent iOS to kill the application at startup) using: apt-get install ldid
17. Sign your compilet aplication using: ldid –S <application>
18. Run the application using: ./<application>
Suggestion: Install using: apt-get install nano
This will help you code easy directly from terminal.
Here is an example of hello world using C and gcc to compile on iPhone iOS 4:
I used nano hello.c in terminal to open a new files and writed this simple application:
#include <stdio.h>
int main()
{
printf("hello, world\n");
return 0;
}
and then CTRL+X to save it, then I typed: gcc –o hello hello.c and after that ldid –S hello
Now you can run your application using ./hello
