5,598,233 Members 47,308 Now Online
XDA Developers Android and Mobile Development Forum

[Advance]-[Theming Guide] for Galaxy Core

Tip us?
 
Omkar$
Old
(Last edited by Omkar$; 7th December 2013 at 09:59 AM.)
#1  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Default [Advance]-[Theming Guide] for Galaxy Core

[B]So here Illl share my knowledge on theming with u guys

Don't know how to decompile and recompile apk go here
http://forum.xda-developers.com/show....php?t=2558961


Ok finally you are ready to start, i will start with simple Mods

Wallpaper Scroll

 
Decompile SecLauncher2.apk
Go to \res\values folder and open bools.xml file with Notepad++.
Then change code indicated in Red To Blue
Code:
true
To:
Code:
false
Save the file, recompile and push the apk to your phone.
See Easy



4 Lockscreen Shortcuts

 
Decompile SecSettings.apk and go to smali/com/android/settings/lockscreenshortcut/LockScreenShortcutSettings.smali
Open this file with notpad++ and change the followingRedLines to Blue

Code:
# direct methods
.method static constructor ()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 79
    const/4 v0, 0x3

    sput v0, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->MAX_SHORTCUT_ICON:I
To:
Code:
# direct methods
.method static constructor ()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 79
    const/4 v0, 0x4

    sput v0, Lcom/android/settings/lockscreenshortcut/LockScreenShortcutSettings;->MAX_SHORTCUT_ICON:I
Recompile and Done
There is also a guide for 5 Lockscreen shortcuts by Mirko dddHere




Sent from my GT-I8262 using XDA Premium 4 mobile app
The Following 2 Users Say Thank You to Omkar$ For This Useful Post: [ Click to Expand ]
 
Omkar$
Old
(Last edited by Omkar$; 7th December 2013 at 09:57 AM.)
#2  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Water Ripple Effect+Toggle

 

android.policy.jar
com/android/internal/policy/impl/sec/CircleLockScreen.smali
Code:
    .line 543
    .local v20, isRippleEffect:Z
    :goto_306
    if-nez v18, :cond_61f

    if-eqz v22, :cond_61f

    if-eqz v20, :cond_61f

    const/4 v3, 0x1

    :goto_30d
After

Code:
    .line 543
    .local v20, isRippleEffect:Z
    :goto_306
    if-nez v18, :cond_61f

    # if-eqz v22, :cond_61f

    if-eqz v20, :cond_61f

    const/4 v3, 0x1

    :goto_30d
Now for the Toggle
Secsettings.apk
com/android/settings/LockScreenSettings.smali

Code:
    .line 253
    :cond_28b
    invoke-virtual {p0}, Lcom/android/settings/LockScreenSettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;

    move-result-object v9

    iget-object v10, p0, Lcom/android/settings/LockScreenSettings;->mRippleEffect:Landroid/preference/CheckBoxPreference;

    invoke-virtual {v9, v10}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
After:

Code:
    .line 253
    :cond_28b
    invoke-virtual {p0}, Lcom/android/settings/LockScreenSettings;->getPreferenceScreen()Landroid/preference/PreferenceScreen;

    move-result-object v9

    iget-object v10, p0, Lcom/android/settings/LockScreenSettings;->mRippleEffect:Landroid/preference/CheckBoxPreference;

    #  invoke-virtual {v9, v10}, Landroid/preference/PreferenceScreen;->removePreference(Landroid/preference/Preference;)Z
Recompile and done


Sent from my GT-I8262 using XDA Premium 4 mobile app
 
Omkar$
Old
#3  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Reserved1

Sent from my GT-I8262 using XDA Premium 4 mobile app
 
Omkar$
Old
#4  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Reserved 2

Sent from my GT-I8262 using XDA Premium 4 mobile app
 
Omkar$
Old
#5  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Reserved 3

Sent from my GT-I8262 using XDA Premium 4 mobile app
 
Omkar$
Old
#6  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Reserved 4

Sent from my GT-I8262 using XDA Premium 4 mobile app
The Following User Says Thank You to Omkar$ For This Useful Post: [ Click to Expand ]
 
Omkar$
Old
#7  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Reserved last

Sent from my GT-I8262 using XDA Premium 4 mobile app
 
Omkar$
Old
#8  
Omkar$'s Avatar
Senior Member - OP
Thanks Meter 1503
Posts: 694
Join Date: Mar 2013
Location: mumbai

 
DONATE TO ME
Last 1

Sent from my GT-I8262 using XDA Premium 4 mobile app
 
zrox
Old
#9  
Senior Member
Thanks Meter 26
Posts: 129
Join Date: Jun 2013
did you give credits to its original authors op?

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Easily Configure Xposed Module Projects in Eclipse

XDA Recognized Developer rovo89‘s innovative and versatile Xposed Framework allows … more

Android Control Center Becomes Quick Control Panel, Brings Host of New Features

You may recall that back in August of last year, we talked … more

Polish Your Custom Themes with Theme Debugger

Creating a custom Android theme from scratch can be quite the laborious task. In addition to … more

Clean Up Your Logcat Code with Lib Cleaner

Some of you may think that writing code is the hardest part of development. It’s not, as the … more