Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,808,356 Members 39,071 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
DSA
Old
(Last edited by DSA; 27th May 2013 at 10:20 PM.)
#1  
DSA's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,024
Posts: 3,414
Join Date: May 2011
Location: The Darkside Of Android

 
DONATE TO ME
Default [MOD][GUIDE][ICS][JB] Multi Mods Guide | Updated 26/05/13

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:	2882
Size:	24.5 KB
ID:	1381671  

Every time you don't use search or read the OP, a kitten, bunny, baby turtle, and fuzzy Harp Seal are killed.
The most important post on XDA you will read
The Following 36 Users Say Thank You to DSA For This Useful Post: [ Click to Expand ]
 
bala_gamer
Old
#2  
bala_gamer's Avatar
Recognized Contributor
Thanks Meter 6,548
Posts: 11,332
Join Date: Mar 2011
Location: Madurai-Chennai

 
DONATE TO ME
Much appreciated .. thanks for your work , hope you add some more data in the near future
DEVICE : 9505 ARCTIC BLUE || MODEM : NC6 || PRIMARY : SOKP || KERNEL : KTOONSEZ || DPI : 320 || LAUNCHER : BUZZ || APPS : 200+ || BATTERY BACKUP : ~~~
|| temp fix for screen smearing in s4 || SenseWiz Theme || multi dpi apps || S3 CPU/GPU overclocking guide || New to Android/s3? Read the FAQ here ||

Oldies : Galaxy S3,S2,SL|| Nokia X6,5230,N73
The Following 2 Users Say Thank You to bala_gamer For This Useful Post: [ Click to Expand ]
 
w1nter456
Old
#3  
Senior Member
Thanks Meter 96
Posts: 527
Join Date: 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
 
DSA
Old
#4  
DSA's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,024
Posts: 3,414
Join Date: May 2011
Location: The Darkside Of Android

 
DONATE TO ME
Quote:
Originally Posted by bala_gamer View Post
Much appreciated .. thanks for your work , hope you add some more data in the near future
Thanks man

Quote:
Originally Posted by w1nter456 View Post
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

Every time you don't use search or read the OP, a kitten, bunny, baby turtle, and fuzzy Harp Seal are killed.
The most important post on XDA you will read
The Following User Says Thank You to DSA For This Useful Post: [ Click to Expand ]
 
w1nter456
Old
(Last edited by w1nter456; 7th October 2012 at 10:13 AM.)
#5  
Senior Member
Thanks Meter 96
Posts: 527
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by Darkside Agent View Post

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
 
DSA
Old
#6  
DSA's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,024
Posts: 3,414
Join Date: May 2011
Location: The Darkside Of Android

 
DONATE TO ME
Sorry, i dont understand

Every time you don't use search or read the OP, a kitten, bunny, baby turtle, and fuzzy Harp Seal are killed.
The most important post on XDA you will read
The Following User Says Thank You to DSA For This Useful Post: [ Click to Expand ]
 
w1nter456
Old
#7  
Senior Member
Thanks Meter 96
Posts: 527
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by Darkside Agent View Post
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
 
pashinator
Old
#8  
pashinator's Avatar
Senior Member
Thanks Meter 70
Posts: 712
Join Date: Nov 2010
Location: Wirral
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

Devices:
Current
Phone: Samsung Galaxy S III I9300
Tablet: Asus Nexus 7 2013 FHD 32GB
Old
Phone: LG Optimus GT540
Tablet: Asus EEE Pad Transformer TF101
 
w1nter456
Old
(Last edited by w1nter456; 7th October 2012 at 03:02 PM.)
#9  
Senior Member
Thanks Meter 96
Posts: 527
Join Date: Oct 2010

 
DONATE TO ME
Quote:
Originally Posted by pashinator View Post
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
 
DSA
Old
#10  
DSA's Avatar
Recognized Contributor / Recognized Developer - OP
Thanks Meter 5,024
Posts: 3,414
Join Date: May 2011
Location: The Darkside Of Android

 
DONATE TO ME
Added links to repacked apk manager and apktool in first post

Every time you don't use search or read the OP, a kitten, bunny, baby turtle, and fuzzy Harp Seal are killed.
The most important post on XDA you will read

The Following 2 Users Say Thank You to DSA For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes