Archive

Archive for June, 2010

iOS 4 Cydia Fixed…

June 23, 2010 Leave a comment

The Problems that I have before where the Cydia always stuck in Downloading Packages forever (hang), it is now no longer exist, Saurik just updated Cydia to support iOS 4, some of them that got updated are:

1. Cydia
2. MobileSubstrate
3. UIKit Tools

Just update Cydia to the newest version, and it’ll be OK.

Categories: iPhone

iOS 4 First Look on iPhone 3G

June 23, 2010 Leave a comment

I upgraded the firmware into iPhone 3G iOS 4 with baseband 5.13.04

Restore using Apple Stock Firmware
Jailbreak using Redsn0w 0.95b-3
Unlock using ultrasn0w 0.93

The Result:

1. Cydia broken (this is due to redsn0w still in beta), need to reorganize and put the source repo to this : http://apt.saurik.com/cydia-3.7
2. Cydia is not fully working in iOS 4, this will cause downloading packages forever (hang). Since I enabled multitasking in my iOS 4, here’s the trick, let the download running, and I check for WiFi connection (check in the windows or mac), if it’s still connecting, meaning it’s still downloading, if it’s already disconnected, meaning it’s hang, so just double tap the home button, then press hold the cydia icon on the multitask bar, then remove it. Then rerun cydia again, and voila, the packages are updated ok. Perhaps stable redsn0w release will fix this.
3. xSellize repo is working
4. Hackulo.us repo is not working, I really need this repo since I am needing the AppSync 4.0 it provided, xSellize doesn’t provide the AppSync 4.0 yet, so this is your best bet. After several trials it still won’t install the AppSync 4.0 due to the broken source, so to overcome this, the trick is, add the xSellize repo, it will update the dependencies that Hackulo.us needed, and after add xSellize repo, voila AppSync 4.0 is installable.
5. Live Debugging still working in iOS 4 if you are using AppSync 4.0, just follow my previous post about Live Debugging on Jailbroken iPhone.
6. Installing Install0us is working perfectly.
7. All my unsigned Apps is now working perfectly using AppSync 4.0
8. A lot of Cydia’s Apps is not working, some are: Mobile Terminal, Cycorder, mxTube, SbSettings (some features are not working), and more….

What I like about iOS 4:
1. Folder, it’s nice to be able to organize things easily now, instead of using Cydia’s Categories, it gives you nice animation when you open a folder, and it will give your folder a smart name based on its content, this is cool.
2. Multitask, I always have problems using Backgrounder, it’s slowing down the app’s quit, but with Apple multitask, I can quit fast and remove the app from the multitask bar easily, no need something like Android TaskKiller.
3. Nice Look and Feel.

What I don’t like about iOS 4:
1. Dozens of Cydia’s Apps is not working, it always crashed, and yet the app still in the multitasking bar, I hate this. I need Cycorder.

Well, now I am waiting for iPhone SDK 4.0 to come out, and do some works on it….

Surprised again, now the hit is 116 per day, it’s getting bigger…

Categories: iPhone

iPhone 3G, 3G[s] Unlock for Firmware 5.12.01-5.13.04

June 22, 2010 Leave a comment

Good News,

For you who accidentally lock your iPhone into firmware 5.12.01 like me, you can unlock it now using ultrasn0w,
The dev team said it can unlock all firmwares since 3.0, which means it can unlock up to the latest version 5.13.04 baseband which is the baseband that iOS 4 included.

Just add a repo to your cydia into repo666.ultrasn0w.com, install it, then reboot it, voila it worked for me… 5 bars full with TSEL network..

And another good news too, you can now jailbreak and hacktivate your iPhone 3G using iOS 4 with multitasking and home screen wallpaper by default using redsn0w 0.95 beta, I suggest you to switch on the verbose mode boot, since I hate to wait if my phone is booting or bricked by only seeing Apple logo, verbose mode give me informations what’s going and what’s wrong with the device, if it kernel panic, it will says so in the verbose mode.

I got surprised of how much visitors came to my blog, in a daily basis it was 55 hit per day, wow, and it’s getting bigger…

Categories: iPhone

Xcode 4

June 20, 2010 Leave a comment

Just saw a Xcode 4,

One of the thing that I am desperately want to have it in Xcode is integrated Interface Builder, and wow, Apple did made IB integrated in the Xcode.. Why I wanted it so bad, is because I hate to switch between program when designing interface and code from interface builder to Xcode, and this thing will make my life much easier.

Categories: Mac Programming

Big Hit

June 18, 2010 Leave a comment

Couple days busy doing daily works, just reopen the blog, and see a big hit on my blog, seems like you guys having the same problem with me couple weeks ago,
I got 98 hits for the Jailbreak iPhone debugging in just 3 days, well that number seems to be big for me, since I don’t expect people would see my sketch code and safe keeping, but I am glad if my writing help you guys…

Categories: General

Debug iPhone Apps on Jailbroken iPhone 3G with XCode 3.2.2 – Another Safe Keeping

June 6, 2010 26 comments

Been updated the XCode and iPhone SDK into 3.2, now I am ready to debug my apps directly on my jailbroken iPhone 3G. This hacks will save you $99 from paying Apple just to code for fun or perhaps profit.

Needed steps are:
1. Jailbreak your iPhone.
2. Install AppSync or Installd Patch, mine is using AppSync.
3. Download and Install XCode 3.2.2 bundled with iPhone SDK 3.2.
4. Find for Info.plist in the /Developer/Platforms/iPhoneOS.platform/
You’ll find Info.plist, this if you install Xcode on /Developer.
Then do the following:

cd /Developer/Platforms/iPhoneOS.platform/
cp Info.plist Info.plist.bak
nano Info.plist

In nano press ctrl+w, find for the following string:
<key>CODE_SIGN_CONTEXT_CLASS</key>
Now, below that string there is this string:
<string>XCiPhoneOSCodeSignContext</string>

Change the string XCiPhoneOSCodeSignContext into:
<string>XCCodeSignContext</string>
find for another occurences, replace a couple time until you replace all of them.

5. Now everything is made simple since I already gather all the necessary tools from the internet to use it easily, download is available at the bottom.
6. Patch the iPhone OS plugin for Xcode, on the zip archive on the bottom it has file: xcodepatch, run it using:
# sudo sh xcodepatch
7. Run Xcode.
8. Create New iPhone Project.
9. Open the Project Settings ( Projects -> Edit Project Settings ), on the Build tab, search for code signing, it’ll show you Code Signing Identity and its child, now set both of them to value of “Don’t Code Sign”. Close the settings.
10. Add a new build phase script ( Projects -> New Build Phase -> New Run Script Build Phase ), the copy paste the test inside file: Build Phase.txt into the script window.
11. Run, the Xcode will live debug the app on your Device.

One might forget to add codesign. Since we don’t use Apple Code Sign, we create our own Code Sign, using Self Code Sign,
Steps are:

a. Open an app called Keychain Access on Applications/Utilites.
b. On Keychain Access menu, open Certificate Assistant ->Create a Certificate
c. Fill in the name of “iPhone Developer”, you must use this exact name, since the script is set to use this codesign name. Set the certificate type into Code Signing, and check the “Let me override defaults”
d. Leave the rest and continue, and keep continue until the certificate is created successfully.

Now, rerun again the Xcode…

Here is the important thing to notice, if you ever forgot to do step 9 above, you will not be able to do live debug on device, the Xcode debugger will give this message:
Error from debugger: The program being debugged is not being run

This because entitlement is needed in order to debug the app on the device, otherwise you will have to run it manually without debugging support.

File Needed : http://www.mediafire.com/file/wmwmafqnqjn/xcode-jailbreak-3-1-3.zip

Just unzip it, and run: sudo sh install.sh to install it on your Mac.

I already tested this and worked great…

Safe Keeping Complete

Categories: iPhone

Snow Leopard Safe Keeping

June 5, 2010 Leave a comment

Sold my MacBook Black now I am forced to install Snow Leopard on my Quad Core PC.

Failed several times, finally had it working stable and fast. This is for safe keeping just in case I forgot it in the future.

Specs:
P5Q SE2 Core 2 Quad 2.8GHz
RAM 4GB 800MHz
HDD SATA 320GB
nVidia GeForce 9500 GT 512MB DDR3
Realtek 8169 GigaBit Ethernet
VIA HDA Sound

Install Snow Leopard this parameter: cpus=1 maxmem=2048 -v
Must use this parameter otherwise will always reboot when Snow Leopard load kexts in the kext cache of Extentions.mkext.

Use the following:
Update 10.6.2 Combo
Intel 10.2 kernel
Realtek 8169
CMOS reset
GraphicsEnabler
NVEnabler (don’t use NVInject, otherwise I got blank blue screen when I set the resolution up to 1680×1050)
fakesmc (very much need this to fool the ACPI_SMC from waiting the power management from SMC. This is causing kernel panic if I don’t use this.
UUID
VoodooHDA

Do not install dsmos.kext cause this will lead to a kernel panic.

Install the above.
Then download VoodooHDA 0.2.6.1.
Go to /System/Library/Extensions
Remove the AppleHDA.kext to avoid kernel panic with VoodooHDA 0.2.6.1
install VoodooHDA.kext
restart
this will enable the sound, since my Snow Leopard DVD only has VoodooHDA 0.2.52, so this fix is necessary.

commands:
# cd /System/Library/Extensions
# sudo mv AppleHDA.kext AppleHDA.kext.bak
# sudo kextunload VoodooHDA.kext
# sudo mv VoodooHDA.kext VoodooHDA0.2.52.kext.bak
# sudo cp -R ~/Desktop/VoodooHDA0.2.61.kext /System/Library/Extensions/VoodooHDA.kext
# sudo chmod 755 /System/Library/Extensions/VoodooHDA.kext
# sudo chown root:wheel /System/Library/Extensions/VoodooHDA.kext
# sudo rm -R /System/Library/Extensions.mkext

Reboot, voila the Sound is now working great.

Now, the most important part of my setup is ability to write to NTFS, some are using NTFS-3G, but this one is causing kernel panic on my Snow Leopard, I found out that Snow Leopard has native Read Write support for NTFS, only it is being disabled by default, here it is the solution to activate Snow Leopard native NTFS RW.

# diskutil info /Volumes/NTFSVOLUME
copy UUID to clipboard
# sudo cp /etc/fstab /etc/fstab.bak
# sudo nano /etc/fstab

fill this on the nano editor:

UUID=[Paste from clipboard] none ntfs rw

Mine is:
UUID=F6FA7796-A504-4E8D-AB98-E7D60D1D5898 none ntfs rw
UUID=53C4F1DC-E4A1-4634-AE16-6689578B1B6F none ntfs rw

Since I have 2 NTFS partitions on my hard drive.

Reboot, and it will be able to write to NTFS natively, and it’s fast, I think faster than NTFS-3G.

Safe keeping complete…

Categories: Mac Programming