Category Archives: Labs

[MacOS] Enable and Disable Hibernation

OSX supports real hibernation not only that sleep mode that costs electricity. It really supports it. But you gotta enable or disable it manually. So what to do:

  • open terminal window (I assume you’re logged in with your normal user account)
  • to disable hibernation, and enable standard sleep
    enter this: sudo pmset -a hibernatemode 0
  • to enable hibernation when closing the lid
    enter this: sudo pmset -a hibernatemode 1

Enjoy folks…

[MacOS] Change Time Machine’s Backup Intervalls

We all know Time Machine is handy (at least since update 10.5.2 which fixed tons of issues). But one thing is not very handy: we usually cannot change the intervall of the backups. Before I will show you a simple solution please do me the favor to tell me:

Where do you come from?

View Results

Loading ... Loading ...

Do the following (I assume you’re logged in with your normal user account):

  • open terminal
  • for 30 minutes intervalls enter this:
    sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 1800
  • for 60 minutes intervalls (standard) enter this:
    sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 3600
  • for 6 hours intervalls enter this:
    sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 21600
  • for 12 hours intervalls enter this:
    sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 43200
  • and so on…

The simple formula is just a conversion from minutes or hours to seconds. Means: 1800 seconds = 30 minutes…
You can also go smack to the /System/Library/LaunchDaemons/com.apple.backupd-auto file and edit it using a texteditor and change the StartInterval values. But I feel like the solution above might be faster… Kudos fly to mactricksandtips.com.

[ID59] Was the information provided above helpful?

View Results

Loading ... Loading ...

[iPhone] Convert Avi’s to iPhone mp4’s for free

“and first for something complete different”: Muzaq… coding or administrating system can’t do without gooood muzaq. Check our latest tunes here :-)

english

Deutschsprachige Version weiter unten…

Sadly but the iPhone and the iPod Touch doesn’t understand a regular DivX, XviD or anything else in AVI containers. So if you don’t like commercial software either there is a very nice way using the VideoLanClient MediaPlayer. Follow these steps:

  1. Download VLC (link) for your platform and install it.
  2. start VLC Media Player
  3. click “File -> Open File” – a dialog pops up
  4. Browse” to the file you wanna convert (see pic for reference)
  5. Enable “Streaming/Saving” and click on “Settings” – a new dialog pops up

    openfiledialog

  6. here you choose the name and folder of the then converted file (means: target filename and folder)
  7. choose “Encapsulation” as “mp4
  8. choose “Video” as “mp4v”
  9. set video’s bitrate to “512 - 2048” kb/s (problems may occur above 2500 kb/s – btw: there is no need to convert an xvid with 800kb/s to mp4 with 2000kb/s. My experience says: 1024kb/s is way sufficient for the iPhone’s little display)
  10. choose “Audio” as “mp4a
  11. set audio’s bitrate to “64 - 256” kb/s (I am really satisfied with 192kb/s but don’t hesitate to play with these configs)
    Window2en
  12. click “OK” ;-) – you will land in the first window again
  13. click here “OK" aswell
  14. transcoding will begin
  15. [Update] after transcoding you can start iTunes and import the movie into your iTunes’ movie database, then just sync it with your iPhone

Prolly some errors occur with dropped frames or something: you can almost forget them. So far I didn’t have any video that did not play properly on the iPhone…

This howto is based on notes by Tim Fick.

deutsch

See above for english language version…

Ok also für das Land der Filmfreunde eine kurze Übersetzung mit deutschen Bildern… Ihr kennt möglicherweise das Problem schon: das iPhone kann mit den allermeisten Eurer Videos nichts anfangen, außer mit diesem merkwürdigen .mp4 Format, mit dem sich Euer DVD Player oder das XBMC gar nicht gut vertragen. Das iPhone braucht also mal wieder eine Extrawurst und die lassen sich viele Hersteller von Konvertierungsprogrammen gerne ein wenig bezahlen. Im Folgenden findet Ihr allerdings eine Anleitung, bei der Ihr mit einem einzigen kostenlosen Tool (dem VideoLan Client) nach iPhone kompatiblem .mp4 konvertiert. Die Fotos sind von der Mac Version, der VLC sieht aber unter Windows (nahezu) identisch aus…

  1. VLC herunterladen (link) und installieren
  2. dann den VLC Media Player starten
  3. klick “Ablage -> Datei öffnen” (unter Windows wird das “Datei -> Datei öffnen sein”) und ein Dialogfenster wird sich öffnen
  4. Durchsuchen“, um die zu konvertierende Datei auszuwählen (siehe Bild)
  5. Haken rein bei “Streamen/Sichern” and klick auf “Einstellungen” – und es öffnet sich ein neues Dialogfenster
    Window1dt
  6. hier wählt Ihr nun den Zielnamen und das Zielverzeichnis
  7. als “Verkapselungsmethode” (schon ein geiles Wort auf Deutsch, tsts…) nehmt Ihr “mp4
  8. dann “Video” auf “mp4v” stellen
  9. und die Videobitrate zwischen “512 - 2048” kb/s festlegen (ab 2500 kb/s soll es wohl Probleme geben mit der Wiedergabe auf dem iPhone – aber es macht ohnehin keinen Sinn ein 800kb/s XViD nach 2000kb/s mp4 zu transkodieren. In meinen Fällen haben 1024kb/s für das Minidisplay the iPhones vollkommen ausgereicht und ich meine vollkommen ausgereicht)
  10. dann noch “Audio” auf “mp4a” stellen
  11. und die Audio Bitrate zwischen “64 - 256” kb/s festlegen (mir reichen 192kb/s vollkommen ;-)
    Window2dt
  12. dann auf “OK” klicken und Ihr landet wieder in dem ersten Dialogfenster
  13. hier dann auch einfach “OK" klicken
  14. und die Konvertierung beginnt
  15. [Update] nach der Konvertierung startet Ihr iTunes und importiert den Film in die lokale iTunes Filmdatenbank. Diese kann dann aufs iPhone synchronisiert werden.

Enjoy

[MacOS] Read HFS+ Drives and DMG Images on Windows

english

As a dualbooter you are often confronted with the problem that you just saved a file on the other system. While being on OS X this is not a too big problem since you can at least access those NTFS (read only) and Fat32 (read/write support) drives. But being confronted with Microsoft Windows you are stuck.

But hey wait: try this nice Java Open Source Project: Catacombae HFS Explorer (link). It opens and extracts files from drives and images formatted in HFS+. Sadly it seems not be able to write to those disks. For having read and write access to your HFS+ disks I strongly recommend Macdrive 7.

tomanisch

Jeder von MacBook Pro oder Hackintosh Dualbootern kennt die Situation, dass wir gerade nach Microsoft Windows gebootet haben, aber eine bestimmte Datei leider eben unter OS X liegt. Für Leute, die nur lesend auf ihre OSX Partition zugreifen wollen, gibt es das Open Source Projekt Catacombae HFS Explorer (link). Schreiben kann dieses Programm auf HFS+ Dateisysteme aber leider noch nicht. Um lesend und schreibend auf die OS X Partition zuzugreifen, empfehle ich Macdrive 7.

[MacOS] Enable Quartz Extreme 2D

english

T_h_e___f_a_s_t___w_a_y

  • open terminal
  • enter: sudo defaults write /Library/Preferences/com.apple.windowserver Quartz2DExtremeEnabled 1
  • By the way: you may find this command on the net aswell: sudo defaults write /Library/Preferences/com.apple.windowserver Quartz2DExtremeEnabled -boolean YES – it does perfectly the same like the first command and is only a matter of taste!
  • then reboot and be happy.

There is also another way via using QuartzDebug (search for it on the net, it required the Development tools on the Leopard disk)…

[MacOS] Experiences with Sapphire ATI HD 2600XT 256MB (Device ID 9588)

Abstract

After having had too much hazzle with the Gigabyte ATI x1650 (Device ID 71c6) I decided to buy a new graphics card. What made me buy that ATI (or in general an ATI card) again?

Where to obtain

German users are provided with a link to Amazon.de where they can buy exactly the graphics card I used for the following howto. But in contrast to my fellow german users the american users cannot be provided with such a link, because Amazon.com doesn’t offer that card. Search it elsewhere or just order from the german Amazon store using this link: Sapphire RADEON HD 2600 XT PCIe ). This should be most hazzle-free way for you…

How to install (_t_h_e___h_a_z_z_l_e___f_r_e_e___w_a_y_)

Ok so, after having bought this new graphic card, don’t just install it yet into your tower or desktop. Instead boot your system into OS X while having your old graphics card installed. Follow those steps:

  1. Login into OS X as root.
  2. Get the new Netkas Natit Driver (link)
  3. install it to /System/Library/Extensions/
  4. Make sure you set the right permissions to the Natit.kext : open terminal and type: chown -R root:wheel /System/Library/Extensions/Natit.kext
  5. shutdown your system, unplug electricity and replace your graphics cards
  6. plug power chord and boot your system.
  7. you should be done…

Circumventing issues

If anything does not work and your screen looks garbled. I recommend having an XP or Vista installed on another drive and use MediaFour’s MacDrive 7. So you can download the driver again and copy to your OSX partition and install it manually in single user mode (provide -s at OSX boottime).

id41_w2207screen

Sapphire ATI2600 XT 256MB
with HP w2207 (click to enlarge)

Final words

We hope you had some fun and we could provide you with some help here. If you are satisfied with this solution, you may consider our sponsors. They really got the coolest offers. Thanks :-)

Addendums for the german speaking community

Falls Ihr Fragen zu der Anleitung habt, bitte in die Kommentare. Wenn sich mehr als fünf deutschsprachige Leute melden, übersetze ich den Artikel. Ansonsten: wer exakt die Karte sucht, die ich verwendet habe, kauft bitte im deutschen Amazon Shop genau diese Karte hier: Sapphire RADEON HD 2600 XT PCIe 256 MB DDR3 128 Bit, Dual DVI, TV-Out, HDMI, OpenGL, DirectX10 Retail!!!

[MacOS] Enable Screen Resolution / ATI x1650 Device 71c6

english only

The following assumes:

And most likely since then you – as an ATI x1650 owner won’t be able to change the screen resolution and you have no QE/CI.After hazzling around with my system a lot I can at least offer a solution for the screen resolution problem. Requirements: you have no ATI hacks installed at all. Since I will modify the original ATINDRV.kext. I got device id 71c6 although this should not matter here. Before proceeding please do me the favor and tell me:

Where do you come from?

View Results

Loading ... Loading ...

I assume:

  • you do backups of the files you’re going to modify, don’t you?
  • you already enabled root access to your system
  • you are logged in as root
  1. copy /System/Library/Extension/ATINDRV.kext to your desktop
  2. open the ATINDRV.kext package on your desktop
  3. inside of this package go to /Contents/PlugIns/
  4. open the ATY_Wormy.kext
  5. inside this package go to /Contents/
  6. open the file: Info.plist with your Texteditor
  7. find this position:
    <key>IONameMatch</key>
    <string>ATY,Wormy</string>
  8. and replace it with this:
    <key>IONameMatch</key>
    <string>display</string>
  9. find this position:
    <key>IOProviderClass</key>
    <string>IONDRVDevice</string>
  10. and replace with this:
    <key>IOProviderClass</key>
    <string>IOPCIDevice</string>
  11. save the changes and close the texteditor
  12. replace the /System/Library/Extensions/ATINDRV.kext with the one you just edited on the desktop
  13. reboot

After reboot the screen resolution should be selectable. Tell me your experiences. I did this with an ATI x1650 which got device id 71c6.

P.S. QE/CI will not be enabled with this! This will be part two ;-)

[ID38] Was the information provided above helpful?

View Results

Loading ... Loading ...

[iPhone] Edit Edge Settings under Firmware 1.1.4 and 2.0

Update 4: (November 27th, 2008): Another formerly fast way of editing has been reported to induce other issues and has thus been removed. Some links for Windows users have been updated.

Update 3: (July 21st, 2008): Pwnage 2.0 tutorial for firmware 2.0 finished (see here). The way to reenable the EDGE settings is still applicable. Please follow part II.)_T_H_E__Z_E_N__W_A_Y_ (scroll down).

I.)_T_h_e___f_a_s_t___w_a_y_

(Outdated article removed)

II.)_T_h_e__z_e_n___w_a_y

The standard iPhone EDGE settings for Germany (means for people with legit T-Mobile iPhone service plans) are:

apn: smartsites.t-mobile
username: t-mobile
password: tm

Those settings cannot be edited and will always be applied to any T-Mobile SIM card. Problem is: customers with a non-iPhone contract cannot use EDGE then since they need different EDGE settings. Most likely those:

apn: internet.t-mobile
username: t-mobile
password: tm

To be able to change these EDGE settings in a pleasant way just do the following (I assume you got OpenSSH installed already):

1. use Cyberduck (Mac), SmartFTP (Windows) or any other SFTP capable client to connect via SFTP into your iPhone

2. go to /System/Library/Carrier Bundles/T-Mobile_Germany.bundle/ and download carrier.plist to your host

3. since you can’t edit this carrier.plist you first need to convert it
3.1. on OS X you can do it by installing the plist editor contained in Apple’s Developer Tools (bundled with XCode) on your Leopard or Tiger Retail installation DVD or available via download here (site requires registration. Btw: do you know Guerrillamail yet?).

3.2. Windows (and lazy OS X) users go here: http://140.124.181.188/~khchung/cgi-bin/plutil.cgi to convert the plist online. (This address seems not to exist anymore). We recommend to give

a try (warning: we did not have the time to test this yet with either one of these tools. Your feedback is highly appreciated, thanks!).

4. Opening in one of these tools above mentioned, It should most likely look like this (click picture to enlarge):

Converted Plist

5. So we need to add those tiny lines to get back EDGE editing capabilities:

<key>AllowEDGEEditing</key>
<true/>

AllowEDGEEditing

6. You will find “EDGE settings” menu under “Settings” » “General” » “Network” » “EDGE”. Enter the approprate APN and you’re done…

BTW: you can also change the APN settings permanently inside this carrier.plist file. Just locate and replace these lines:

<key>apn</key>
<string>smartsites.t-mobile</string>
<key>password</key>
<string>tm</string>
<key>username</key>
<string>t-mobile</string>

with the appropriate APN settings of your contract…

replace standard apn settings

Kudos to Volkspost (Volxpost) for his findings and his initial 1.1.3 tutorial.

[iPhone] Update, Activate, Jailbreak, and Unlock Firmware 1.1.4

english

iClarified just released a manual for jailbreaking, activating and unlocking firmware 1.1.4. Bootloader 3.9 seems to be required. They use a modified version of ZiPhone. I expect Zibri not to be happy with this. However this is not updating but recovering to 1.1.4 therefore I strongly recommend to do like iTunes recommends: to save the configuration of your iPhone automatically (means: contacts, calendar entries, text-messages, network configuration, weather etc.). I reinstalled those save configuration settings afterZiPhone activated the phone and before the unlock.

However I can confirm the howto (Mac version) works flawlessly. There is also a howto for Windows users – not tested though…

unlock114

german

Die Jungens von iClarified haben eine nette klar verständliche Anleitung verfasst, wie man Firmware 1.1.4 bearbeiten muss. Diese Anleitung benötigt Bootloader 3.9. Zum Einsatz kommt eine modifizierte Version von Zibris ZiPhone. Genau genommen ist der Prozess kein Updaten, sondern ein Recovern auf die Firmware 1.1.4. iTunes bietet deshalb vor dem Recovery-Prozess auch an, die Einstellungen zu sichern. Wenn Ihr das nicht macht, sind die Kontakte, Kalender Einträge, SMS Einträge, WLan Einstellungen, Wetter Einstellungen nach dem Recovern natürlich im Eimer. Meine Empfehlung daher, nach dem ZiPhone das Telefon aktiviert hat, könnt Ihr die gesicherten Einstellungen noch vor dem Unlock wieder in das Telefon zurückspielen…

Ihr findet das englischsprachige HowTo für Mac hier – es funktioniert einwandfrei. Eine Windows Variante gibt es ebenfalls, die ich jedoch nicht getestet habe…

[iPhone] Firmware 1.1.4, now unlockable – but be warned

english

iNdependence 1.4 beta 5 has been released (Mac only). It now supports unlocking (gunlock method by GeoHot). You can get it here. However, the author of “Windows-Mobiles” has had some shocking bad experiences with updating and unlocking using iNdependence 1.4b5. You can read his article here. So prolly stick with whatever firm you got working right now and come back regularly. We’re gonna release a tutorial when everything has become foolproof…

deutsch

iNdependence 1.4 beta 5 wurde soeben veröffentlicht (nur Mac OSX). Es beinhaltet nun auch die Möglichkeit zu unlocken mittels gunlock Methode von GeoHot. Download hier. Dummerweise findet sich auf “Windows-Mobiles” ein Artikel, in dem recht schlechte Erlebnisse mit dieser neuen iNdependence Version beschrieben werden. Updaten also weiterhin auf eigenene Gefahr. Wir empfehlen noch ein wenig zu warten. Sobald es eine Möglichkeit gibt zu aktivieren und zu unlocken, die wir als foolproof einstufen, wird sie hier als HowTo veröffentlicht…

Datentarif zu teuer? Für nur 0,09€/min gibt’s Datenverbindung via UMTS/GPRS beicallmobile