[MOD][GUIDE][ICS][JB] Multi Mods Guide | Updated 26/05/13

Search This thread

DSA

Senior Member
May 15, 2011
4,740
5,777
Hi guys,


To enable these mods you need:
apktool 1.5.2 or the latest APK Manager
smali/baksmali
Knowledge of decompiling/recompiling
knowledge of how to read logcats

framework-res.apk
services.jar
SecSettings.apk
SecSettingsProvider.apk


framework-res.apk

Navigate to: /res/values/bools.xml

On Screen Nav Buttons (GNexus Style):

Code:
[CENTER]<bool name="config_showNavigationBar">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="config_showNavigationBar">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

4 Way Rotation:

Code:
[CENTER]<bool name="config_allowAllRotations">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="config_allowAllRotations">[COLOR="red"]true[/COLOR]</bool>[/CENTER]

Lock Screen Rotation:

Code:
[CENTER]<bool name="config_enableLockScreenRotation">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="config_enableLockScreenRotation">[COLOR="red"]true[/COLOR]</bool>[/CENTER]

and

Code:
[CENTER]<bool name="lockscreen_isPortrait">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

change to

Code:
[CENTER]<bool name="lockscreen_isPortrait">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

Disable Keyboard Switch In StatusBar When Typing

Code:
[CENTER]<bool name="show_ongoing_ime_switcher">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="show_ongoing_ime_switcher">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

Unplugging From USB doesn't Turn Screen On

Code:
[CENTER]<bool name="config_unplugTurnsOnScreen">[COLOR="red"]true[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="config_unplugTurnsOnScreen">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

To remove 'Unlock lockscreen with menu key' For AOSP Lockscreen:

Code:
[CENTER]<bool name="config_disableMenuKeyInLockScreen">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="config_disableMenuKeyInLockScreen">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

To remove Help Overlay for Touchwiz Lockscreen:

Code:
[CENTER]<bool name="config_isHelpOverlayEnabled">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="config_isHelpOverlayEnabled">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

To permanently disable Multi Windows:

Code:
[CENTER]<bool name="config_multiWindowControlbar">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="config_multiWindowControlbar">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]


Brightness Values:

res/values/arrays

Change the following values (Taken from mattiadj's brightness fix thread - thanks)


Code:
    <integer-array name="config_autoBrightnessLevels">
        <item>0</item>
        <item>1</item>
        <item>20</item>
        <item>150</item>
        <item>400</item>
        <item>800</item>
        <item>1500</item>
        <item>3000</item>
        <item>6000</item>
        <item>9000</item>
        <item>15000</item>
    </integer-array>
    <integer-array name="config_autoBrightnessHysteresisLevels">
        <item>0</item>
        <item>2</item>
        <item>50</item>
        <item>110</item>
        <item>320</item>
        <item>900</item>
        <item>2000</item>
        <item>6000</item>
        <item>8000</item>
        <item>10000</item>
        <item>12000</item>
    </integer-array>
    <integer-array name="config_autoBrightnessLcdBacklightValues">
        <item>30</item>
        <item>30</item>
        <item>50</item>
        <item>60</item>
        <item>80</item>
        <item>100</item>
        <item>120</item>
        <item>150</item>
        <item>190</item>
        <item>210</item>
        <item>230</item>
        <item>255</item>
    </integer-array>
    <integer-array name="config_autoBrightnessButtonBacklightValues">
        <item>255</item>
        <item>200</item>
        <item>100</item>
        <item>0</item>
        <item>0</item>
    </integer-array>
    <integer-array name="config_autoBrightnessKeyboardBacklightValues ">
        <item>255</item>
        <item>200</item>
        <item>100</item>
        <item>0</item>
        <item>0</item>
    </integer-array>


SecSettingsProvider.apk


To enable installation of non market (3rd party) apps by default:

Navigate to: /res/values/bools.xml

Code:
[CENTER]<bool name="def_install_non_market_apps">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="def_install_non_market_apps">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

To disable the lockscreen completely:

Code:
[CENTER]<bool name="def_lockscreen_disabled">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="def_lockscreen_disabled">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

To enable Wifi from boot:

Code:
[CENTER]<bool name="def_wifi_on">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

Change to:

Code:
[CENTER]<bool name="def_wifi_on">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

SecSettings.apk

To enable Device Status Info "Normal" Instead Of "Modified":

Navigate to: smali/com/android/settings/deviceinfo/Status.smali

Search for:
Code:
.method private changeSysScopeStatus()V

Change entire method to:

Code:
.method private changeSysScopeStatus()V
    .locals 2

    const-string v0, "sysscope_status"

    invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;

    move-result-object v0

    const v1, [COLOR="deepskyblue"]0x7f090128 #sysscope_normal[/COLOR]

    invoke-virtual {p0, v1}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V

    return-void
.end method

Now navigate to /res/values/public

Search for "sysscope_normal" (Without quotes) - take the 0x7 number associated with it and paste it over the number in the above code with #sysscope_normal at the side of it (the one given isn't correct for your phone)

services.jar

To disable signature checks on system apps:

Navigate to: /smali/com/android/server/pm

Search for
Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I

Change entire method to:

Code:
.method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
    .locals 7

    const-string p0, "DSA:"

    const-string p1, "Skip signatures check"

    invoke-static {p0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I

    const/4 v6, 0x0

    return v6
.end method

I'll be adding more mods to this over the coming weeks
Please no more requests for ICS/Stock animations, thats not what this thread is for

Update 26/05/13
framework-res.apk:
Added mod for disabling help overlay on Touchwiz lockscreen
Added brightness fix values
Added mod to disable MultiWindow

SecSettingsProvider.apk:
- Enable Wifi from boot
- Install non market apps by default
- To disable the lockscreen completely

SecSettings.apk:
- To enable Device Status Info "Normal" Instead Of "Modified"

Services.jar:
- To disable signature checks on system apps

Update 24/01/13
Added mod for AOSP Lockscreen menu key disable
Reuploaded APK Manager folder for users (Includes apktool 1.5.1 and latest relevant aapt)​

Thanks:
jovy23
Wanam
Mattiadj
 

Attachments

  • Screenshot_2012-04-26-20-48-27.jpg
    Screenshot_2012-04-26-20-48-27.jpg
    16 KB · Views: 3,449
  • android.software.sip.voip.zip
    659 bytes · Views: 396
Last edited:

Siberian Tiger

Retired Senior Moderator / Tiger's Eye
Dec 4, 2010
4,724
6,930
Piraeus
Hi, i couldn't find this posted anywhere so i thought i would share it

To enable 4 way lockscreen rotation & 4 way screen rotation you need:

Working ics apktool (google it, theres plenty on xda)
framework-res.apk from any deodexed ICS ROM (preferably with ICS lockscreen)


Setup i am using:
Apex launcher
Apex screen rotation set to auto rotate
ICS Lockscreen (Not tested on stock)

Decompile framework-res.apk

Navigate to: /res/values/bools.xml






Recompile.

When recompiling with apktool, you should get an error message just before it finishes the build. When its finished, ignore the created .apk and navigate to C:\Users\'your name'\framework-res\build\apk - take the resources.arsc from that folder, open your existing framework-res.apk with winzip/winrar etc and paste the resources.arsc over the existing one

Done, you now have 4 way lockscreen rotation & 4 way screen rotation :)

Nice one DSA :)
 
  • Like
Reactions: Diliban and DSA

DSA

Senior Member
May 15, 2011
4,740
5,777
OP updated with new mods

If anyone has problems performing these mods, let me know and i will do it for you
 

Kirot

Senior Member
Nov 29, 2011
136
34
Alajuela
OP updated with new mods

If anyone has problems performing these mods, let me know and i will do it for you
I'll take you up on that one OP, I'm trying to do the CRT, disable the keyboard icon on notification

I decompile the apk and made the necessary changes to the xml file, but when I try to compile it again I get several errors and while I can get a general idea of what do they say I don't know how to solve them, could you help me with this?
 

DSA

Senior Member
May 15, 2011
4,740
5,777
Hi

Have you followed the instruction regarding recompiling? ie ignore the error...Have you copied the resource.arsc file over?

If you are still having issues, upload the framework file and i will sort it
 
Last edited:

Galactus

Senior Member
Dec 28, 2009
5,990
2,156
London
Hey mate, I take it these steps would work on a custom rom. Looking to add the CRT effect and disable the ime switcher on Crysis Sensation rom.
 

Galactus

Senior Member
Dec 28, 2009
5,990
2,156
London
I stopped because the option for the CRT effect was already set in the roms framework, although it doesn't work so god knows lol
 

Galactus

Senior Member
Dec 28, 2009
5,990
2,156
London
Genius lol. On another note, would you have any idea why the screen flashes with the crt effect sometimes. Might just leave it off, kinda annoying when it happens lol
 

DSA

Senior Member
May 15, 2011
4,740
5,777
Do you mean it flashes when you lock the screen? I think it's related to open apps or internet connection..but I'm not sure...
 

Kirot

Senior Member
Nov 29, 2011
136
34
Alajuela
Still no good, I used my laptop to try again with a fresh install of the sdk and still nothing...

Code:
C:\ICS Apktool>apktool d c:\framework-res.apk c:\frame
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

C:\ICS Apktool>apktool b c:\frame
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in
 c:\frame\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in
c:\frame\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation
in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
c:\frame\res\values\plurals.xml:79: error: Multiple substitutions specified in n
on-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is
 expected
c:\frame\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plur
als> is expected
c:\frame\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rUS\plurals.xml:79: error: Found tag </item> where </plur
als> is expected
c:\frame\res\values-es\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals>
 is expected
c:\frame\res\values-pt\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-pt\plurals.xml:79: error: Found tag </item> where </plurals>
 is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Mario\AppData\Local\Temp\A
PKTOOL8803180150134749875.tmp, -x, -S, c:\frame\res, -M, c:\frame\AndroidManifes
t.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
        at brut.androlib.Androlib.buildResources(Androlib.java:248)
        at brut.androlib.Androlib.build(Androlib.java:171)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Mario\AppData\Local\Temp\APKTOOL8803180150134749875.tmp, -x, -S, c:\frame\r
es, -M, c:\frame\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more
 

gh.rohit

Inactive Recognized Developer
Oct 18, 2011
6,344
4,065
Mumbai
www.rgui.net
Still no good, I used my laptop to try again with a fresh install of the sdk and still nothing...

Code:
C:\ICS Apktool>apktool d c:\framework-res.apk c:\frame
I: Loading resource table...
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

C:\ICS Apktool>apktool b c:\frame
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'policydesc_allow_htmlemail' has no default translation in
 c:\frame\res; found: en_US
aapt: warning: string 'policylab_allow_htmlemail' has no default translation in
c:\frame\res; found: en_US
aapt: warning: string 'wifi_p2p_pbc_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_display_message' has no default translation
in c:\frame\res; found: en_GB es pt
aapt: warning: string 'wifi_p2p_pin_go_negotiation_request_message' has no defau
lt translation in c:\frame\res; found: en_GB es pt
c:\frame\res\values\plurals.xml:79: error: Multiple substitutions specified in n
on-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values\plurals.xml:79: error: Found tag  where  is
 expected
c:\frame\res\values-en-rGB\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rGB\plurals.xml:79: error: Found tag  where  is expected
c:\frame\res\values-en-rUS\plurals.xml:79: error: Multiple substitutions specifi
ed in non-positional format; did you mean to add the formatted="false" attribute
?
c:\frame\res\values-en-rUS\plurals.xml:79: error: Found tag  where  is expected
c:\frame\res\values-es\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-es\plurals.xml:79: error: Found tag  where 
 is expected
c:\frame\res\values-pt\plurals.xml:79: error: Multiple substitutions specified i
n non-positional format; did you mean to add the formatted="false" attribute?
c:\frame\res\values-pt\plurals.xml:79: error: Found tag  where 
 is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Mario\AppData\Local\Temp\A
PKTOOL8803180150134749875.tmp, -x, -S, c:\frame\res, -M, c:\frame\AndroidManifes
t.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
        at brut.androlib.Androlib.buildResources(Androlib.java:248)
        at brut.androlib.Androlib.build(Androlib.java:171)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:182)
        at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\Mario\AppData\Local\Temp\APKTOOL8803180150134749875.tmp, -x, -S, c:\frame\r
es, -M, c:\frame\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
        ... 6 more

Instead of using c:/ framework path, just create cmd shortcut in the folder where you copied apktool

Then simply,

Apktool d framework-res.apk
And
Apktool b framework-res.apk

Sent from my GT-I9100 using xda premium
 
Last edited:

switchgott

Senior Member
Jan 22, 2007
1,238
120
Big thanks for this howto and the mod.

Question, do you know how to implement notification toggles
in systemui like AOKP to enable / disable wlan, gps etc?

Realy thanks
 

Top Liked Posts

  • There are no posts matching your filters.
  • 34
    Hi guys,


    To enable these mods you need:
    apktool 1.5.2 or the latest APK Manager
    smali/baksmali
    Knowledge of decompiling/recompiling
    knowledge of how to read logcats

    framework-res.apk
    services.jar
    SecSettings.apk
    SecSettingsProvider.apk


    framework-res.apk

    Navigate to: /res/values/bools.xml

    On Screen Nav Buttons (GNexus Style):

    Code:
    [CENTER]<bool name="config_showNavigationBar">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="config_showNavigationBar">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    4 Way Rotation:

    Code:
    [CENTER]<bool name="config_allowAllRotations">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="config_allowAllRotations">[COLOR="red"]true[/COLOR]</bool>[/CENTER]

    Lock Screen Rotation:

    Code:
    [CENTER]<bool name="config_enableLockScreenRotation">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="config_enableLockScreenRotation">[COLOR="red"]true[/COLOR]</bool>[/CENTER]

    and

    Code:
    [CENTER]<bool name="lockscreen_isPortrait">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    change to

    Code:
    [CENTER]<bool name="lockscreen_isPortrait">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

    Disable Keyboard Switch In StatusBar When Typing

    Code:
    [CENTER]<bool name="show_ongoing_ime_switcher">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="show_ongoing_ime_switcher">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

    Unplugging From USB doesn't Turn Screen On

    Code:
    [CENTER]<bool name="config_unplugTurnsOnScreen">[COLOR="red"]true[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="config_unplugTurnsOnScreen">[COLOR="red"]false[/COLOR]</bool>[/CENTER]

    To remove 'Unlock lockscreen with menu key' For AOSP Lockscreen:

    Code:
    [CENTER]<bool name="config_disableMenuKeyInLockScreen">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="config_disableMenuKeyInLockScreen">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    To remove Help Overlay for Touchwiz Lockscreen:

    Code:
    [CENTER]<bool name="config_isHelpOverlayEnabled">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="config_isHelpOverlayEnabled">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

    To permanently disable Multi Windows:

    Code:
    [CENTER]<bool name="config_multiWindowControlbar">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="config_multiWindowControlbar">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]


    Brightness Values:

    res/values/arrays

    Change the following values (Taken from mattiadj's brightness fix thread - thanks)


    Code:
        <integer-array name="config_autoBrightnessLevels">
            <item>0</item>
            <item>1</item>
            <item>20</item>
            <item>150</item>
            <item>400</item>
            <item>800</item>
            <item>1500</item>
            <item>3000</item>
            <item>6000</item>
            <item>9000</item>
            <item>15000</item>
        </integer-array>
        <integer-array name="config_autoBrightnessHysteresisLevels">
            <item>0</item>
            <item>2</item>
            <item>50</item>
            <item>110</item>
            <item>320</item>
            <item>900</item>
            <item>2000</item>
            <item>6000</item>
            <item>8000</item>
            <item>10000</item>
            <item>12000</item>
        </integer-array>
        <integer-array name="config_autoBrightnessLcdBacklightValues">
            <item>30</item>
            <item>30</item>
            <item>50</item>
            <item>60</item>
            <item>80</item>
            <item>100</item>
            <item>120</item>
            <item>150</item>
            <item>190</item>
            <item>210</item>
            <item>230</item>
            <item>255</item>
        </integer-array>
        <integer-array name="config_autoBrightnessButtonBacklightValues">
            <item>255</item>
            <item>200</item>
            <item>100</item>
            <item>0</item>
            <item>0</item>
        </integer-array>
        <integer-array name="config_autoBrightnessKeyboardBacklightValues ">
            <item>255</item>
            <item>200</item>
            <item>100</item>
            <item>0</item>
            <item>0</item>
        </integer-array>


    SecSettingsProvider.apk


    To enable installation of non market (3rd party) apps by default:

    Navigate to: /res/values/bools.xml

    Code:
    [CENTER]<bool name="def_install_non_market_apps">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="def_install_non_market_apps">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    To disable the lockscreen completely:

    Code:
    [CENTER]<bool name="def_lockscreen_disabled">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="def_lockscreen_disabled">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    To enable Wifi from boot:

    Code:
    [CENTER]<bool name="def_wifi_on">[COLOR="Red"]false[/COLOR]</bool>[/CENTER]

    Change to:

    Code:
    [CENTER]<bool name="def_wifi_on">[COLOR="Red"]true[/COLOR]</bool>[/CENTER]

    SecSettings.apk

    To enable Device Status Info "Normal" Instead Of "Modified":

    Navigate to: smali/com/android/settings/deviceinfo/Status.smali

    Search for:
    Code:
    .method private changeSysScopeStatus()V

    Change entire method to:

    Code:
    .method private changeSysScopeStatus()V
        .locals 2
    
        const-string v0, "sysscope_status"
    
        invoke-virtual {p0, v0}, Lcom/android/settings/deviceinfo/Status;->findPreference(Ljava/lang/CharSequence;)Landroid/preference/Preference;
    
        move-result-object v0
    
        const v1, [COLOR="deepskyblue"]0x7f090128 #sysscope_normal[/COLOR]
    
        invoke-virtual {p0, v1}, Lcom/android/settings/deviceinfo/Status;->getString(I)Ljava/lang/String;
    
        move-result-object v1
    
        invoke-virtual {v0, v1}, Landroid/preference/Preference;->setSummary(Ljava/lang/CharSequence;)V
    
        return-void
    .end method

    Now navigate to /res/values/public

    Search for "sysscope_normal" (Without quotes) - take the 0x7 number associated with it and paste it over the number in the above code with #sysscope_normal at the side of it (the one given isn't correct for your phone)

    services.jar

    To disable signature checks on system apps:

    Navigate to: /smali/com/android/server/pm

    Search for
    Code:
    .method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I

    Change entire method to:

    Code:
    .method static compareSignatures([Landroid/content/pm/Signature;[Landroid/content/pm/Signature;)I
        .locals 7
    
        const-string p0, "DSA:"
    
        const-string p1, "Skip signatures check"
    
        invoke-static {p0, p1}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
    
        const/4 v6, 0x0
    
        return v6
    .end method

    I'll be adding more mods to this over the coming weeks
    Please no more requests for ICS/Stock animations, thats not what this thread is for

    Update 26/05/13
    framework-res.apk:
    Added mod for disabling help overlay on Touchwiz lockscreen
    Added brightness fix values
    Added mod to disable MultiWindow

    SecSettingsProvider.apk:
    - Enable Wifi from boot
    - Install non market apps by default
    - To disable the lockscreen completely

    SecSettings.apk:
    - To enable Device Status Info "Normal" Instead Of "Modified"

    Services.jar:
    - To disable signature checks on system apps

    Update 24/01/13
    Added mod for AOSP Lockscreen menu key disable
    Reuploaded APK Manager folder for users (Includes apktool 1.5.1 and latest relevant aapt)​

    Thanks:
    jovy23
    Wanam
    Mattiadj
    3
    no worries, always glad to share :)
    2
    Hi, i couldn't find this posted anywhere so i thought i would share it

    To enable 4 way lockscreen rotation & 4 way screen rotation you need:

    Working ics apktool (google it, theres plenty on xda)
    framework-res.apk from any deodexed ICS ROM (preferably with ICS lockscreen)


    Setup i am using:
    Apex launcher
    Apex screen rotation set to auto rotate
    ICS Lockscreen (Not tested on stock)

    Decompile framework-res.apk

    Navigate to: /res/values/bools.xml






    Recompile.

    When recompiling with apktool, you should get an error message just before it finishes the build. When its finished, ignore the created .apk and navigate to C:\Users\'your name'\framework-res\build\apk - take the resources.arsc from that folder, open your existing framework-res.apk with winzip/winrar etc and paste the resources.arsc over the existing one

    Done, you now have 4 way lockscreen rotation & 4 way screen rotation :)

    Nice one DSA :)
    2
    Thanx, always nice to have the mods collected in one place.
    2
    Hello DSA,
    The actual AOSP based rotation animation is a bit sluggish while the iOS's and the TW5 is very smooth. So could we optimize this framework / porting the SIII's to the AOSP's is it possible :rolleyes: ??

    sorry, i didnt create this thread for animations

    hey together
    given that jkay's mod doesn't work on jb i wanted to make a few changes myself.

    thought i would be smart and just compare the framework-res on my phone with the original one to see what the jkay app modded.
    well, no such luck :D

    so i was wondering if anybody could point me in the right direction?

    i would like to add "screencapture" to the power button menu and remove all other items including shutdown and reboot.

    and i would like to add those buttons plus flashlight to the status bar.

    hope you guys can give me a few pointers :)

    jkays stuff is in the .jar files in the framework - mainly android.policy.jar & ext.jar

    statusbar is related to SystemUI.apk - you can diff yours against jkays for that