Boot iPhone or iPod Touch in verbose mode

To boot your iPhone or iPod touch always in verbose mode, which is actually very useless, but looks cool, follow these steps:

  1. Make sure BSD Subsystem is installed
  2. Make sure Term-vt100 is installed, or you are able to set up a ssh session via your mac or pc
  3. Open up the terminal on your portable or computer and type the folowing command:
    nvram boot-args="-v"
  4. and enter:
    reboot
  5. Done.
  6. To go back to the normal boot logo:
    nvram boot-args=
Related Entries:
Fix for Weather icon not changing
Remove Application space limit
Removing Dropear SSH from iPhone or iPod Touch
How to make screenshots on iPhone or iPod Touch
Merging the Music & Video icons
Comments (4)  Permalink

Fix for Weather icon not changing

On non-fahrenheit regions, the weather icon sometimes doesn't change to the themed-icon.
To fix this problem folow these steps:

In the info.plist file in the weather.app, delete the following key with the PropertyList editor:
SBIconClass

Done :).
Related Entries:
Boot iPhone or iPod Touch in verbose mode
Remove Application space limit
Removing Dropear SSH from iPhone or iPod Touch
How to make screenshots on iPhone or iPod Touch
Merging the Music & Video icons
Comments (6)  Permalink

iPod Touch 1.1.1 to 1.1.2 upgrade guide

This guide describes how to upgrade from 1.1.1 to 1.1.2 including the jailbreak hack.
  1. First we're going to restore the device, in order to upgrade the device properly. On my first attempt, I skipped this step, but after upgrading, my springboard woudn't load anymore. Fire up itunes, and click restore. If it doesn't restore to 1.1.1 (i.e.: it restores to 1.1.2) download here 1.1.1, hold alt when clicking on restore, and select the downloaded 1.1.1. firmware file.
  2. Next step is jailbreaking the clean 1.1.1 install, just browse to http://jailbreakme.com and click on "install appsnap"
  3. Next, open up Installer, browse to the Patches section, and install Oktoprep. This prepares 1.1.1 touches for jailbreaking the 1.1.2 firmware.
  4. Now you're ready to install the 1.1.2 firmware. Open iTunes again and click on "upgrade". If the 1.1.2 firmware doesn't show up, download it here, hold alt when clicking "upgrade" and select the downloaded file
  5. Let iTunes do its work, when it finishes the upgrade proces, quit iTunes and download 1.1.2-jailbreak.zip
  6. Unzip the files in the archive to ~/Desktop/jailbreak, open terminal and type:
    cd ~/Desktop/jailbreak
    ./osx
    and let the application do its work.
  7. To install the iphone apps, like mail etc, download this archive, and extract Weather.app, MobileMail.app, Stock.app, Maps.app, MobileNotes to /Applications/, GMM.framework to /System/Library/Frameworks/ and MobileMailSettings.bundle to /System/Library/PreferenceBundles/.
  8. To extend your Application folder size, read this blogpost.
  9. For merging the Music and Video icons, read this blogpost.

Related Entries:
Boot iPhone or iPod Touch in verbose mode
Fix for Weather icon not changing
Remove Application space limit
Removing Dropear SSH from iPhone or iPod Touch
How to make screenshots on iPhone or iPod Touch
Comments (76)  Permalink

Remove Application space limit

1.1.1 / 1.1.2 only


From blog.psmxy.org

Apple’s 1.1.1 firmware is much larger than 1.0.2 was. That leaves much less space for installing 3rd-party applications. Couple that with the fact the Installer.app 3.0 doesn’t tell you how much free space you have left, and you have a recipe for disaster. Additionally, I found that by default, you cannot have more than 80 application directories in /Applications, or the SpringBoard crashes and will not start. What’s a person to do? Well, I don’t know what you will do, but this is what I did (Note: if you screw up your iPhone, I take no responsibility):

  1. I installed SummerBoard, which allows for more than 80 application directories in /Applications
  2. I remounted the Media partition without the noexec option, moved my entire /Applications directory to /var/root/Applications, and made /Applications a symbolic link that points to private/var/root/Applications.
Item #1 is simple to do: just install it from within Installer.app. Item #2 requires a little more explanation. What follows is a little tutorial on how I did it. This tutorial assumes you know how to ssh into your iPhone and that you can do so. It also assumes you know how to edit files on your iPhone and that you have basic command line skills. First, remove the “noexec” option from the Media partition, and remount it. Note: this step may not be needed, as some of the recent jailbreak procedures remove it for you.

  1. (this step is not necessary for 1.1.2 or higher)
    ssh into your iPhone
    edit /etc/fstab
    change the second line to change “rw,noexec” to “rw”
    When you are done, the second line should look like this:
    /dev/disk0s2 /private/var hfs rw 0 2

  2. Now power your iPhone off and back on again, before proceeding. Now we’ll move the Applications directory:
    ssh into your iPhone
    cd /
    cp -pr Applications /var/root
    mv Applications Applications.old
    ln -s private/var/root/Applications /Applications

  3. Now power your iPhone off and back on again. If everything is working ok, finish up by doing this:
    ssh into your iPhone
    cd /
    rm -rf Applications.old
    Now install all the apps you want. :) Note: A few packages still get installed into the root partition, but there is plenty of room for those, at this time. The vast majority go in Applications though, which now has plenty of room. Enjoy!
Final note: I haven’t tried this, but if you restore your iPhone, the root partition gets wiped and recreated. What this means is that the /Applications symbolic link will be replaced by a new, real /Applications directory, with the default Apple apps in it. You should be able to redo everything above, except for step #3 (where you copy /Applications), to recover, and all your applications will be back - because they are on a partition that doesn’t get wiped during a restore. Note, however, that a handful of apps do install a few files outside of /Applications and those files will have been lost. A few examples of apps that do this are: Ants, Dock, OpenSSH, BSD Subsystem, and others. You will have to reinstall them to get them working again. If all else fails, you can always 1) restore 2) delete /var/root/Applications and 3) start fresh.
Related Entries:
Rearranging Application Icons
Boot iPhone or iPod Touch in verbose mode
Fix for Weather icon not changing
Removing Dropear SSH from iPhone or iPod Touch
How to make screenshots on iPhone or iPod Touch
Comments (7)  Permalink

Removing Dropear SSH from iPhone or iPod Touch

Dropbear

Dropbear SSH (which installable by iNdependence) is a requirement to do the Pre 1.1.1 Upgrade in iNdependence.

Uninstalling

This guide is for people who have jailbroken their iPod touch or iPhone, installed Installer.app, installed OpenSSH from Installer.app and no longer need the depreciated dropbear SSH server. Running 2 servers that do the exact same thing ridiculous waste of system resources. Uninstalling dropbear is quick and easy and here’s how you do it.
  1. Ensure you have OpenSSH installed by checking the uninstall portion of Installer.app, and also that you’re running it by rebooting the iPod touch/iPhone after installing it from Installer.app.
  2. Connect to your iPod touch/iPhone via SSH.
  3. Step 3: Run the following commands to remove the dropbear files.
    rm -rv /etc/dropbear/
    rm -rv /usr/bin/dropbear/
    rm -v /System/Library/LaunchDaemons/au.asn.ucc.matt.dropbear.plist
  4. Step 4: Before you start, backup this file before editing it. Then download and open /System/Library/LaunchDaemons/com.apple.update.plist in a text editor and remove any section containing dropbear references. Be very careful when editing this file as it can cause problems if damaged. Then upload the file replacing the original (making sure your backup is intact).
    Step 5: Reboot the iPod touch/iPhone. You should now be running just one SSH server.

    You should also consider installing Services.app from Installer.app and turning SSH off when you don’t need it, some have claimed that it drains your battery fairly quickly.
Related Entries:
How to make screenshots on iPhone or iPod Touch
Boot iPhone or iPod Touch in verbose mode
Fix for Weather icon not changing
Remove Application space limit
Merging the Music & Video icons
Comments (4)  Permalink

How to force your iPod Touch into restore mode

Warning: This should be used as a last resort, restoring will erase all of your data
  1. Firstly, you must have the iPod Touch plugged into your computer while doing this.

  2. To start, press and hold the home and sleep/wake button, the power off option will appear but ignore it. When the apple logo appears let go of the sleep/wake button but keep holding the home button.
  3. After a few seconds you should see the connect to iTunes image (you can let go of the home button now).

  4. Open iTunes and it should recognize your iPod Touch, if not unplug your iPod and plug it back in again.
  5. Restore your iPod Touch by clicking the "Restore" button on iTunes.
Related Entries:
Boot iPhone or iPod Touch in verbose mode
Fix for Weather icon not changing
iPod Touch 1.1.1 to 1.1.2 upgrade guide
Remove Application space limit
Removing Dropear SSH from iPhone or iPod Touch
Comments (4)  Permalink

Merging the Music & Video icons

Merging the Music/Video icons


This allows you to merge the Music and Video icons into one iPod icon, like the iPhone uses.

  1. FTP into /Applications/MobileMusicPlayer
  2. Open up Info.plist in Property List Editor
  3. Change UIRoleInfo>0>Platforms>0 from M68 to N45.
  4. Change UIRoleInfo>1>Platforms>0 from N45 to M68.
  5. Add a com.apple.mobileipod-MediaPlayer item in /System/Library/CoreServices/Springboard.app/N45AP.plist

  6. Note: I can confirm that the above method does work. However, a few little tips:
    If you get the iPod app to show up, but then still have the separated Music/Videos icons on your springboard, go into System>Library>CoreServices>SpringBoard.app and edit N45AP.plist
    Edit the "special" section and add 2 entries for display identifiers of com.apple.mobileipod-AudioPlayer and com.apple.mobileipod-VideoPlayer and they'll be hidden next time Sprinboard.app restartsiPhone iPod Touch
Related Entries:
Rearranging Application Icons
Boot iPhone or iPod Touch in verbose mode
Fix for Weather icon not changing
Remove Application space limit
Removing Dropear SSH from iPhone or iPod Touch
Comments (5)  Permalink

Rearranging Application Icons

    How to download the plist file

  1. Make sure that you have followed the jailbreaking guide, and that your iPod touch is jailbroken.
    SFTP into your iPod. Navigate to /System/Library/CoreServices/Springboard.app. Create a backup of the file N45AP.plist. Download the file.
  2. This is a binary XML file currently, which makes it hard to edit. To edit it, we need to convert it to an ASCII XML file.
    On Mac OS X, open the file with Property List Editor (In Utilities folder, or Developers folder). Then, save the file again. This will create an ASCII XML file.
  3. Also: To convert the plist via Terminal, simply cd into the folder that holds the .plist you want to convert and issue the command
    plutil -convert xml1 N45AP.plist and it will convert it for you. (There's no need to convert back before putting it on the fs afterwards)

  4. To change what is on the button bar


  5. Open N45AP.plist in a plain text editor, such as TextEdit, Notepad, TextMate, or SubEthaEdit.
    Find the part of your N45AP.plist that says this:
    buttonBar
  6. The part in between and is the application identifier for the applications on the button bar. To change the order that they are displayed, change the application identifiers that are already there. To find an application identifier, open up Info.plist in /Applications/YourAppName.app/Info.plist. It will be similar to com.apple.mobilemail. Below are several other application identifiers. Also, you can show more than four icons in the button bar by just adding more sections.
  7. When you're finished, save the file back to your iPod Touch.

  8. Application Identifiers


    Official Apps

    Calculator: com.apple.calculator
    Calendar: com.apple.mobilecal
    Clock: com.apple.mobiletimer
    Contacts: com.apple.MobileAddressBook
    Demo App: com.apple.DemoApp
    iPod: com.apple.mobileipod
    - Music: com.apple.mobileipod-AudioPlayer
    - Videos: com.apple.mobileipod-VideoPlayer
    iTunes Store: com.apple.MobileStore
    Maps: com.apple.Maps
    Mail: com.apple.mobilemail
    Notes: com.apple.mobilenotes
    Photos: com.apple.mobileslideshow-Photos
    Safari: com.apple.mobilesafari
    Stocks: com.apple.stocks
    Settings: com.apple.Preferences
    Weather: com.apple.weather
    YouTube: com.apple.youtube
    Un-Official Apps

    Apollo: com.google.code.apolloim
    Balls: com.grudgnor.Balls
    Books: com.zacharybrewstergeisz.books
    Chat: com.twenty08.MobileChat
    Colloquy: com.googlecode.mcolloquy
    Customize: com.thespicychicken.customize
    Doom: org.swhite.iphone.doom
    FiveDice: com.borngraphics.fivedice
    Finder: com.googlecode.MobileFinder
    iBlackJack: com.mccarron.iblackjack
    Installer: com.nullriver.iphone.Installer
    Installer(3.0): com.apptapp.Installer
    iPong: com.jonathansaggau.iPong
    iSplit: com.kroo.iSplit
    iWoman: com.nullriver.iphone.iWoman
    Labyrinth: com.loodberg.carl.labyrinth
    Lights Off: org.deliciousmonster.lightsoff
    Lockbox: com.googlecode.iphonelockbox
    Mines: net.mm-3.iphone.mines
    MusicQuiz: iphonemusicquiz.com.google.code
    Navizon: com.mexens.iphone.navizon
    NES: com.natetrue.iphone.nesapp
    PDFViewer: com.sadun.pdfviewer
    PigShooter: com.spiffytech.pigshooter
    Preview: com.google.code.MobilePreview
    RSS: com.google.code.mobile-rss
    Services: com.byhoffman.iphone-apps.services
    Sketches: com.latenitesoft.Sketches
    SMBPrefs: com.apptapp.SummerBoard
    Stumbler: com.googlecode.iphone-wireless.applications.Stumbler
    Sudoku: org.zackb.sudoku
    Term-vt100: com.googlecode.mobileterminal.Term-vt100
    Tetrominos: com.google.code.tetrominos
    TextEdit: com.google.code.MobileTextEdit
    ToDoList: com.include7.mobiletodolist
    TTR: net.ations.cre.ttr
    VNsea: com.creed.vnsea
    weDict: com.hongtao.weDict

    To change the general list display order

  9. Follow pretty much the same method as for changing the button bar order, but look for this section instead of the section above:
  10. iconList
  11. Then, save the file.

  12. Updating your iPod


  13. To update your iPod, SFTP the file back into /System/Library/CoreServices/Springboard.app/N45AP.plist.
  14. Reboot your iPod.
  15. Enjoy!
  16. iPhone iPod Touch
Related Entries:
Merging the Music & Video icons
Remove Application space limit
Boot iPhone or iPod Touch in verbose mode
Fix for Weather icon not changing
Removing Dropear SSH from iPhone or iPod Touch
Comments (3)  Permalink

Jailbreak

Mac:

Automatic Jailbreak (by AriX), use iJailbreak to unlock the iPod Touch, follow the instructions given.
Download: http://code.google.com/p/ijailbreak/

Windows:

Automatic Jailbreak, use TouchFree (by http://www.slovix.com/) to unlock the iPod Touch, follow the instructions given.
Download: http://www.slovix.com/touchfree/

Installing and Starting SSH

    Files you need:
    INdependence: http://independence.googlecode.com/

  1. Now what we'll be doing is installing SSH and SFTP so that we can fix Syncing and move new applications to your iPod. To begin we'll need to open up the application INdependence. This step is extremely easy, but can be easily messed up by using hard reboot instead of using Slide to Power Off.
  2. Make sure to use Slide to Power Off from here on out!

  3. Move to the SSH tab under INdependence and click Remove SSH (to remove the Jailbreaks version of ssh).
  4. Now click Install SSH/SFTP/SCP. Follow the directions they give you, which will be rebooting twice. Once complete, reboot once more using Slide to Power Off.
  5. At last click on Change Password, User: root Pass:Alpine

  6. To confirm that you have SSH running, type the following command:
  7. ssh -l root your.ipods.ip.address NOTE: Do not take this command literally. First find out your iPod's ip address under Wireless Settings and replace the phrase "your.ipods.ip.address" with the actual iPod ip address.
    NOTE 2: In the above command, -l is an L, not a 1.

    How to SFTP

    Files you need:
    Cyberduck- http://cyberduck.ch/

  8. Download and open CyberDuck. Once running, log into your iPod Touch by using the same IP as above, the username root, and the password alpine.

  9. Make sure to use SFTP and not regular FTP. Once logged in, you will be presented with the folders on your iPod Touch.

  10. Correcting permissions

  11. At last we're going to correct the permissions in order to run the applications properly.
  12. You will then need to connect via SSH in Terminal to your iPod again. From above:
    ssh -l root your.ipods.ip.address We're going to get a CHMOD out of the way because it's convenient:
    chmod -R a+x /Applications/*
Related Entries:
Boot iPhone or iPod Touch in verbose mode
Fix for Weather icon not changing
Remove Application space limit
Removing Dropear SSH from iPhone or iPod Touch
How to make screenshots on iPhone or iPod Touch
Comments (0)  Permalink
1-9/9