Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP DSA

7th October 2012, 01:27 AM   |  #1  
OP Senior Member
Thanks Meter: 5,141
 
3,491 posts
Join Date:Joined: May 2011
More
Hi guys,

I created a same thread a while ago for the SII - here These same mods can be applied to the SIII Samsung ICS & JellyBean ROMS

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:
<bool name="config_showNavigationBar">false</bool>
Change to:

Code:
<bool name="config_showNavigationBar">true</bool>
4 Way Rotation:
Code:
<bool name="config_allowAllRotations">false</bool>
Change to:

Code:
<bool name="config_allowAllRotations">true</bool>
Lock Screen Rotation:
Code:
<bool name="config_enableLockScreenRotation">false</bool>
Change to:

Code:
<bool name="config_enableLockScreenRotation">true</bool>
and

Code:
<bool name="lockscreen_isPortrait">true</bool>
change to

Code:
<bool name="lockscreen_isPortrait">false</bool>
Disable Keyboard Switch In StatusBar When Typing
Code:
<bool name="show_ongoing_ime_switcher">true</bool>
Change to:

Code:
<bool name="show_ongoing_ime_switcher">false</bool>
Unplugging From USB doesn't Turn Screen On
Code:
<bool name="config_unplugTurnsOnScreen">true</bool>
Change to:

Code:
<bool name="config_unplugTurnsOnScreen">false</bool>
To remove 'Unlock lockscreen with menu key' For AOSP Lockscreen:
Code:
<bool name="config_disableMenuKeyInLockScreen">false</bool>
Change to:

Code:
<bool name="config_disableMenuKeyInLockScreen">true</bool>
To remove Help Overlay for Touchwiz Lockscreen:
Code:
<bool name="config_isHelpOverlayEnabled">true</bool>
Change to:

Code:
<bool name="config_isHelpOverlayEnabled">false</bool>
To permanently disable Multi Windows:
Code:
<bool name="config_multiWindowControlbar">true</bool>
Change to:

Code:
<bool name="config_multiWindowControlbar">false</bool>

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:
<bool name="def_install_non_market_apps">false</bool>
Change to:

Code:
<bool name="def_install_non_market_apps">true</bool>
To disable the lockscreen completely:
Code:
<bool name="def_lockscreen_disabled">false</bool>
Change to:

Code:
<bool name="def_lockscreen_disabled">true</bool>
To enable Wifi from boot:
Code:
<bool name="def_wifi_on">false</bool>
Change to:

Code:
<bool name="def_wifi_on">true</bool>

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, 0x7f090128 #sysscope_normal

    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/PackageManagerService.smali
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
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2012-10-07-00-18-38[1].jpg
Views:	2933
Size:	24.5 KB
ID:	1381671  
Last edited by DSA; 27th May 2013 at 11:20 PM.
The Following 36 Users Say Thank You to DSA For This Useful Post: [ View ]
7th October 2012, 06:24 AM   |  #2  
bala_gamer's Avatar
Recognized Contributor
Flag Madurai-Chennai
Thanks Meter: 6,610
 
11,470 posts
Join Date:Joined: Mar 2011
Donate to Me
More
Much appreciated .. thanks for your work , hope you add some more data in the near future
The Following 2 Users Say Thank You to bala_gamer For This Useful Post: [ View ]
7th October 2012, 07:48 AM   |  #3  
Senior Member
Thanks Meter: 96
 
527 posts
Join Date:Joined: Oct 2010
Donate to Me
Is it possible to mod jelly bean touchwiz for jelly bean animation? Such as opening application the jelly bean touchwiz still follow ics animation.

Sent from my GT-I9300 using xda premium
7th October 2012, 10:56 AM   |  #4  
OP Senior Member
Thanks Meter: 5,141
 
3,491 posts
Join Date:Joined: May 2011
More
Quote:
Originally Posted by bala_gamer

Much appreciated .. thanks for your work , hope you add some more data in the near future

Thanks man

Quote:
Originally Posted by w1nter456

Is it possible to mod jelly bean touchwiz for jelly bean animation? Such as opening application the jelly bean touchwiz still follow ics animation.

Sent from my GT-I9300 using xda premium

I think you mean: have ICS animation instead of jellybean animation in a jellybean rom yes?
Thats possible, you need to replace the files in frameworks-res.apk/res/anim

Upload your framework and i will do it
The Following User Says Thank You to DSA For This Useful Post: [ View ]
7th October 2012, 11:15 AM   |  #5  
Senior Member
Thanks Meter: 96
 
527 posts
Join Date:Joined: Oct 2010
Donate to Me
Quote:
Originally Posted by Darkside Agent


I think you mean: have ICS animation instead of jellybean animation in a jellybean rom yes?
Thats possible, you need to replace the files in frameworks-res.apk/res/anim

Upload your framework and i will do it

Sorry, I actually meant that Samsung using the old style which is already jelly bean version but the touchwiz still following ics transition animation. I hope to have original jelly bean animation stock experience on it. Then which 1 should I upload the framework? Cm10 or twframework? I don't know is which 1 related although I have a little knowledge about it.
You're the second person that really won my heart on it, the first one is gm kernel. I'm really appreciate it.

Sent from my GT-I9300 using xda premium
Last edited by w1nter456; 7th October 2012 at 11:13 AM.
7th October 2012, 02:00 PM   |  #6  
OP Senior Member
Thanks Meter: 5,141
 
3,491 posts
Join Date:Joined: May 2011
More
Sorry, i dont understand
The Following User Says Thank You to DSA For This Useful Post: [ View ]
7th October 2012, 02:15 PM   |  #7  
Senior Member
Thanks Meter: 96
 
527 posts
Join Date:Joined: Oct 2010
Donate to Me
Quote:
Originally Posted by Darkside Agent

Sorry, i dont understand

Hi, as we all know, Samsung android 4.1.1 jelly bean does give us some new feature, however some are missing like full project butter, animation still follow old android 4.0 and etc. Simple said, it is just unfinished software. Therefore, I hope we can try to improve like aosp jelly bean experience. I wish to have true aosp jelly bean animation like galaxy nexus, not samsung modified animation.

Sent from my GT-I9300 using xda premium
7th October 2012, 02:48 PM   |  #8  
pashinator's Avatar
Senior Member
Flag Wirral
Thanks Meter: 70
 
712 posts
Join Date:Joined: Nov 2010
More
i havent got an s3 yet but what darkside said is right, in frameworkd res apk is anim folder, decompile first obviously, then replace.
thats the animation that you get when you switch tasks, if you meen the overall interface i would recommend a rom that has a framework that looks like aosp but has touchwiz or an aosp rom like cm10 aokp or just plain jellybean

Sent from my Transformer using XDA Premium HD app
7th October 2012, 03:56 PM   |  #9  
Senior Member
Thanks Meter: 96
 
527 posts
Join Date:Joined: Oct 2010
Donate to Me
Quote:
Originally Posted by pashinator

i havent got an s3 yet but what darkside said is right, in frameworkd res apk is anim folder, decompile first obviously, then replace.
thats the animation that you get when you switch tasks, if you meen the overall interface i would recommend a rom that has a framework that looks like aosp but has touchwiz or an aosp rom like cm10 aokp or just plain jellybean

Sent from my Transformer using XDA Premium HD app

Hi, I not that greedy, i m just want a true jelly bean animation on my Samsung touchwiz, just when opening a application the animation fly out, that's all , because that is only Samsung didn't implement it.

Sent from my GT-I9300 using xda premium
Last edited by w1nter456; 7th October 2012 at 04:02 PM.
8th October 2012, 12:18 AM   |  #10  
OP Senior Member
Thanks Meter: 5,141
 
3,491 posts
Join Date:Joined: May 2011
More
Added links to repacked apk manager and apktool in first post

The Following 2 Users Say Thank You to DSA For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes