danzamoyo
Posts : 7 Points : 20 Respect : 9 Join date : 28/03/2013
| Subject: [MOD][HOWTO] change ICS lockscreen animation to Honeycomb style (ripple) Thu Apr 11, 2013 12:36 pm | |
| In this Tutorial i will show on how to make our ICS lockscreen animation to Honeycomb style (ripple).DISCLAIMER: ALL OF THE LINKS THAT I USED HERE ARE FROM [You must be registered and logged in to see this link.]I DIDNT OWN ANYTHING HERE..!!CREDITS WILL ALWAYS GOES TO: [You must be registered and logged in to see this link.]Things that you'll needed: 1. framework.jar (you'll find it in system/framework) 2. framework-res.apk (same as above) 3. APKTOOL (YOU MUST KNOW HOW TO USE IT) 4. Eyes and Brain.. Steps: framework.jar1. Decompile framework.jar using apktool or whatever program that u have on ur computer that capable of decompiling and compiling. 2. after that go to \smali\com\android\internal\widget\multiwaveview" and find the MultiWaveView.smali3. open/edit it on your favorite text editor (i prefer NOTEPAD++)4. find this code. or go to line 15 and 17: - Code:
-
.field private static final CHEVRON_ANIMATION_DURATION:I = 0x352 .field private static final CHEVRON_INCREMENTAL_DELAY:I = 0xa0
make it like this: - Code:
-
.field private static final CHEVRON_ANIMATION_DURATION:I = 0xfa0 .field private static final CHEVRON_INCREMENTAL_DELAY:I = 0x320
after that 5. find this code or go to line 4112: - Code:
-
const-wide/16 v12, 0x352 make it like this - Code:
-
const-wide/16 v12, 0xfa0 find this code or go to line 4074: - Code:
-
mul-int/lit16 v3, v2, 0xa0 make it like this - Code:
-
mul-int/lit16 v3, v2, 0x320 6. after that find this code or go to line 3861: - Code:
-
add-float/2addr v14, v8 find this code or go to line 3971: - Code:
-
add-float/2addr v14, v1 - THEN DELETE THEM NOTE: DELETE ONLY THAT ARE UNDER " mWaveCenterX " - SAVE AND COMPILE - Now lets go to framework-res.apkDownload resources download resources (PNGs - WVGA only): [You must be registered and logged in to see this link.]you can find more resources here [You must be registered and logged in to see this link.]or you can also make your own 1. Decompile your framework-res.apk2. after that to go res/drawable-hdpi : and put the resource PNG's (the one that you download above) 3. go to /res/values/arrays.xml : NOTE: if you want to make the camera appeared on lockscreen, DO THIS if you dont want skipped this step.and find this code or go to line 499 : - Code:
-
<array name="lockscreen_targets_with_camera"> <item>@drawable/ic_lockscreen_unlock</item> <item>@null</item> <item>@drawable/ic_lockscreen_camera</item> <item>@null</item> </array> <array name="lockscreen_target_descriptions_with_camera"> <item>@string/description_target_unlock</item> <item>@null</item> <item>@string/description_target_camera</item> <item>@null</item> </array>
make it like this - Code:
-
<array name="lockscreen_targets_with_camera"> <item>@drawable/ic_lockscreen_unlock</item> </array> <array name="lockscreen_target_descriptions_with_camera"> <item>@string/description_target_unlock</item> </array>
4. open res/values/dimens.xml find this code or go to line 30 and 31: - Code:
-
<dimen name="keyguard_lockscreen_outerring_diameter">270.0dip</dimen> <dimen name="multiwaveview_target_placement_radius">135.0dip</dimen>
make it like this: - Code:
-
<dimen name="keyguard_lockscreen_outerring_diameter">220.0dip</dimen> <dimen name="multiwaveview_target_placement_radius">120.0dip</dimen>
COMPILE AND FINISH..!! YAHOO..!! DO IT AT YOU OWN RISK...!! PAG KABADO KA WAG KA NA...!!
Last edited by danzamoyo on Thu Apr 11, 2013 1:11 pm; edited 3 times in total (Reason for editing : post as sticky) | |
|
Admin
ADMIN
Posts : 202 Points : 305 Respect : 40 Join date : 25/03/2013 Age : 34 Location : Muntinlupa City
| Subject: Re: [MOD][HOWTO] change ICS lockscreen animation to Honeycomb style (ripple) Thu Apr 11, 2013 12:44 pm | |
| topic moved to flare general discussion good guide ganda colors, tas pag may code ka use mo eto next time.. "[ code ] [ / code ]" without spaces
Last edited by Admin on Sun Apr 14, 2013 5:46 pm; edited 1 time in total | |
|
edoylism
Posts : 2 Points : 2 Respect : 0 Join date : 03/04/2013
| Subject: Re: [MOD][HOWTO] change ICS lockscreen animation to Honeycomb style (ripple) Sun Apr 14, 2013 5:03 am | |
| Sir? Paano po itaas ng kunti ang lockscreen handle? | |
|
pables
Posts : 1 Points : 1 Respect : 0 Join date : 05/09/2013
| Subject: Re: [MOD][HOWTO] change ICS lockscreen animation to Honeycomb style (ripple) Thu Sep 05, 2013 9:04 am | |
| panu itaas an lockscreen? | |
|
Sponsored content
| Subject: Re: [MOD][HOWTO] change ICS lockscreen animation to Honeycomb style (ripple) | |
| |
|