.Plist Tweaks and Hacks

Plist hacks/tweaks

-This is a list of .plist hacks and tweaks

-Before using these tweaks please backup the files you are editing, incase you would need to revert back to how it was.

-If you are unexperienced with plist editing i will show you how you can edit all these files using your jailbroken ipod/ipad/iphone. You can find a how-to here.

-Also most of these tweaks/hacks will be able to be implemented without a jailbreak, a guide to do so will be put up in the coming days.

-.Plist Hacks and Tweaks

-How to disable persistant/continuous wifi.(for ipod 4g/ipad, ios 4.x to 5.x)

1. First you will need to Navigate to: /System/Library/LaunchDaemons/

2.Rename com.apple.apsd.plist to com.apple.apsd.plist%

3.Restart you device

-Increase the Megapixels of you ipod/iphone camera

1.Navigate to: /system/library/frameworks/avfoundation.framework/n81/avcapturesession.plist

2.<key>AVCaptureSessionPresetPhoto</key>, under this key you will find <string>Back Facing 1MP Photo</string>

within that string you will need to edit <key>Width</key> <integer>960</integer> </dict> into… <key>Width</key> <integer>1280</integer> </dict>

3.Then down about 23-24 lines you will find the following <key>Sensor</key> <dict>, within this key you will need to edit <key>Width</key> <integer>960</integer> </dict> into <key>Width</key> <integer>1280</integer> </dict>

4.Last you will need to go up a few lines until you see the preview key, there you will need to change: <key>Preview</key> <dict> <key>Height</key> <integer>720</integer> to <key>Preview</key> <dict> <key>Height</key> <integer>540</integer>

5.Then restart your iphone/ipod

-Enable HDR on your ipod touch 4G

1.Navigate to: /system/library/frameworks/avdoundation.framework/n81/avcapturesession.plist

2.Locate the following section <key>AVCaptureSessionPresetPhoto</key> <dict> <key>Description</key> <string>Back Facing 1MP Photo</string>

3.Add the following to the line above:

<key>HDR</key>

<true/>

4.And then underneath that add the line:

<key>ChromaNoiseReduction</key>

<true/>

5.Then naviage to…\System\Library\CoreServices\Springboard.app\N81AP .plist

6.Underneath line 6 which is <capabilities> and then <dict> add <key>camera-flash</key>     <true/>     <key>hdr-image-capture</key>     <true/> <true/>

7.It should look like this:

<key>compatibilities</key>
<dict>
    <key>camera-flash</key>
    <true/>
    <key>hdr-image-capture</key>
    <true/>

-Enable Battery Percentage(ios 4.3x to 4.5x)

1.Navigate to:
/var/mobile/Library/Preferences/com.apple.springboard.plist

2.Add the code

<key>SBShowBatteryLevel</key>

<true/>

3.Restart your ipod

4.Then to enable it go to General-Usage-Enable Battery Percentage

-How to change the carrier name(ios 4.2x to 4.3x)

1.Navigate to:

System/Library/CoreServices/Springboard.app/N81AP.plist

2.fine the key: <key>device-name</key>

<string>iPod</string>

and change it into

<key>device-name</key>         <string>Here you may place any word you want</string>

3.Restart your device

-How to enable Usage Stats:

1.Navigate to /Applications/Preferences.app/General.plist

2.Look for the following entry in the .plist: <string>USAGE</string>             <key>requiredCapabilities</key>             <array>                 <string>cellular-data</string>             </array>

3.replace the above entry with:

<string>USAGE</string>             <key>requiredCapabilities</key>             <array>                 <dict>                     <key>unified-ipod</key>                     <false/>                 </dict>             </array>         </dict>

4.Then Navigate to: /Applications/Preferences.app/Usage Statistics.plist

5.Within this plist, replace the following:

<dict> <key>cell</key> <string>PSGroupCell</string> <key>label</key> <string>USAGE_HEADER</string> <key>requiredCapabilities</key> <array> <string>telephony</string> </array> </dict> <dict> <key>get</key> <string>usageElapsed:</string> <key>label</key> <string>USAGE_ELAPSED</string> <key>requiredCapabilities</key> <array> <string>telephony</string> </array> </dict> <dict> <key>get</key> <string>standbyElapsed:</string> <key>label</key> <string>STANDBY_ELAPSED</string> <key>requiredCapabilities</key> <array> <string>telephony</string> </array> </dict>

With:

<dict>
            <key>cell</key>
            <string>PSGroupCell</string>
            <key>label</key>
            <string>USAGE_HEADER</string>
            <key>xxxxxxxxxCapabilities</key>
            <array>
                <string>telephony</string>
            </array>
        </dict>
        <dict>
            <key>get</key>
            <string>usageElapsed:</string>
            <key>label</key>
            <string>USAGE_ELAPSED</string>
            <key>xxxxxxxxxxCapabilities</key>
            <array>
                <string>telephony</string>
            </array>
        </dict>
        <dict>
            <key>get</key>
            <string>standbyElapsed:</string>
            <key>label</key>
            <string>STANDBY_ELAPSED</string>
            <key>xxxxxxxxCapabilities</key>
            <array>
                <string>telephony</string>
            </array>
        </dict>

6. Reboot and check your stats in the settings app.

-How to unify the video and music app(4.3x

Go to System/Library/CoreServices/SpringBoard.app/N81AP.plist

Add

		<key>unified-ipod</key>
		<true/>

after the <dict> under <key>capabilities</key>.

Then go to /private/var/stash/Applications.pwn/Preferences.app/Settings.plist

Change

					<key>unified-ipod</key>
					<false/>

to

Code:
					<key>unified-ipod</key>
					<true/>

in

<dict>
			<key>bundle</key>
			<string>ConferenceRegistrationSettings</string>
			<key>isController</key>
			<false/>
			<key>requiredCapabilities</key>
			<array>
				<dict>
					<key>telephony</key>
					<false/>
					<key>unified-ipod</key>
					<false/>
					<key>venice</key>
					<true/>
				</dict>
			</array>
			<key>restrictByID</key>
			<string>com.apple.mobilephone</string>
		</dict>

[Finally, reboot the device]

-How to increase RAM with dynamic pager(this shouldn’t be used for a long period of time)

Navigate to: /System/Library/LaunchDaemons

Create a new plist called com.apple.dynamic_pager.plist (name really doesn’t matter, just keep the naming format of com.apple.*.plist)

Set the file permission to 755

Inside the *.plist file, paste the following code:

For a 512mb ram increase:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>KeepAlive</key>
	<true/>
	<key>Label</key>
	<string>com.apple.dynamic_pager</string>
	<key>OnDemand</key>
	<false/>
	<key>ProgramArguments</key>
	<array>
		<string>/sbin/dynamic_pager</string>
		<string>-F</string>
		<string>/private/var/vm/swapfile</string>
		<string>-H</string>
		<string>25165824</string>
		<string>-L</string>
		<string>564133888</string>
		<string>-S</string>
		<string>536870912</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>

For a 256mb ram increase:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>EnableTransactions</key>
	<true/>
	<key>KeepAlive</key>
	<true/>
	<key>Label</key>
	<string>com.apple.dynamic_pager</string>
	<key>OnDemand</key>
	<false/>
	<key>ProgramArguments</key>
	<array>
		<string>/sbin/dynamic_pager</string>
		<string>-F</string>
		<string>/private/var/vm/swapfile</string>
		<string>-H</string>
		<string>10485760</string>
		<string>-L</string>
		<string>285212672</string>
		<string>-S</string>
		<string>268435456</string>
	</array>
	<key>RunAtLoad</key>
	<true/>
</dict>
</plist>

Navigate to: /Library/Preferences

Create a new plist called com.apple.virtualMemory.plist (name really doesn’t matter, just keep the naming format of com.apple.*.plist)

Set the file permission to 755

Inside the *.plist file, paste the following code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>UseEncryptedSwap</key>
	<false/>
</dict>
</plist>

-Change the slide to unlock text(4.2x to 4.3x)

Navigate to:

System/library/CoreServices/SpringBoard.app/English.lproj/SpringBoard.strings

Look for the following label:

"AWAY_LOCK_LABEL" = "slide to unlock"

Change the “slide to unlock” to anything you want.

Save the file, and reboot the device.

-How to disable “almost” all ads in mobile safari

Navigate to: /etc/

and replace your host file (can be done using iFile folks) with this.

Finally, reboot device

Simple right?

-How to disable iAds(4.3x)

Now you must install terminal for this (get it in cydia).

1. Use iFile to add this file to your temp folder.
2. Open mobile terminal (you can get this from cydia)
3. type in: su root –> hit: enter –> enter your password (default password=alpine) –> hit: enter –> type in: dpkg -i /tmp/iAdsKiller.deb –> hit: enter
4. leave mobile terminal and reboot device.

-How to remove the apple dock(4.3x)

Please remove all apps from the dock before using this tweak

Steps:

Then, navigate to:

/System/Library/CoreServices/SpringBoard.app

There, delete (after creating a backup, for restoring purposes):

SBDockBG@2x.png

Finally reboot your device.
-Disable Apple’s Multitasking

Navigate to: \System\Library\CoreService\SpringBoard.app\N81AP. plist

Edit:

<key>multitasking</key>
<true/>

To:

<key>multitasking</key>
<false/>

Finally, reboot the device.

-Enable Screensaver for ipod touch

Navigate to:

/var/stash/Applications/DemoApp/Info.plist

Edit

<key>SBAppTags</key>
<array>
<string>hidden</string>
</array>

To:

<key>SBAppTags</key>
<array>
<string>visible</string>
</array>

Next place a video called “Demo.mov” into

var/mobile

Sample Demo.mov file:

OSX Leopard Intro rotated and resized for Retina Display

http://www.mediafire.com/?mk8bj1xv1mrsubn

OSX Leopard Intro rotated and resized for all other iDevices

http://www.mediafire.com/?zm8qx9s328gaaa7

Finally, reboot your device and enjoy your video tweak.

-How to enable multitasking gestures on ipad/ipod/iphone

navigate to: iPod/System/Library/CoreServices/SpringBoard.app > N81AP.plist

Add:

<key>multitasking-gestures</key>
		<true/>

Finally, restart your ipod

-Enable Multitasking on Cydia

Navigate to: /var/stash/Applications/Cydia.app/Info.plist

Edit:

Code:
<key>UIApplicationExitsOnSuspend</ key>
<true/>

to:

<key>UIApplicationExitsOnSuspend</ key>
<false/>

Finally, reboot your device.

-Dont worry more will be added so check back often!