1. niels97oet's Avatar
    Hello guys,

    So I have my iPhone 4 Rooted (NOT Jailbroken) and I want to speed up the animations of the iPhone. Is there a filesystem file I can edit to speed the animations up? I did some research and what FakeClockUp does, is what I can't find anywhere (cause it's a Substrate add-on, right?)

    So, this is my research:

    According to the source code of FakeClockUp, the settings in the PreferenceLoader does the following:
    Code:
    <dict>
                            <key>cell</key>
                            <string>PSLinkListCell</string>
                            <key>default</key>
                            <string>0.4</string>
                            <key>defaults</key>
                            <string>jp.novi.FakeClockUp</string>
                            <key>detail</key>
                            <string>PSListItemsController</string>
                            <key>key</key>
                            <string>duration</string> So, This is the Duration set trigger, right?
                            <key>label</key>
                            <string>Animation Speed</string>
                            <key>PostNotification</key>
                            <string>jp.novi.FakeClockUp.preferencechanged</string>
                            <key>validTitles</key>
                            <array>
                                    <string>x10.0</string>
                                    <string>x 5.0</string>
                                    <string>x 3.3</string>
                                    <string>x 2.5</string>
                                    <string>x 2.0</string>
                                    <string>x 1.6</string>
                                    <string>x 1.4</string>
                                    <string>x 1.2</string>
                                    <string>x 1.1</string>
                                    <string>x 1.0</string>
                                    <string>x 1/2</string>
                                    <string>x 1/3</string>
                                    <string>x 1/4</string>
                                    <string>x 1/5</string>
                                    <string>x 1/6</string>
                                    <string>x 1/7</string>
                                    <string>x 1/8</string>
                                    <string>x 1/9</string>
                                    <string>x 1/10</string>
                            </array>
                            <key>validValues</key>
                            <array>
                                    <string>0.1</string>
                                    <string>0.2</string>
                                    <string>0.3</string>
                                    <string>0.4</string>
                                    <string>0.5</string>
                                    <string>0.6</string>
                                    <string>0.7</string>
                                    <string>0.8</string>
                                    <string>0.9</string>
                                    <string>1.0</string>
                                    <string>2.0</string>
                                    <string>3.0</string>
                                    <string>4.0</string>
                                    <string>5.0</string>
                                    <string>6.0</string>
                                    <string>7.0</string>
                                    <string>8.0</string>
                                    <string>9.0</string>
                                    <string>10.0</string>
                            </array>
                    </dict>
    The settings are linked to the Tweak.xm file, which does the following:

    Code:
    static float durMulti = 1.0;
    static BOOL FCEditing = NO;
    static BOOL disableOnEdit = YES;
    
    %hook CAAnimation
    - (void)setDuration:(NSTimeInterval)duration
    {
      if (FCEditing && disableOnEdit) {
        %orig(duration);      // So this is where the duration 'Key' from the settings comes in //
      } else {
        %orig(duration * durMulti);
      }
    }
    %end
    Source: https://github.com/novi/FakeClockUp



    So, My question is: How do I do this without Jailbreaking, but with just editing the filesystem?



    Thanks!

    Niels
    Niels97Oet - On YouTube, Twitter and Please read again I only give one warning - thanks!
    2013-11-03 02:11 PM
LINK TO POST COPIED TO CLIPBOARD