Hello all! This is basicly a easy build.prop mod for changing lockscreen on mtk devices like Alcatel ot-991, ot-918, Spice Mi-350n Hero 7300, Star A3...
What Is Required :
Weel if u had all mentioned above u have to find build.prop file. On alcatel stock roms that file is used to be in custpack folder but often is in system folder. When u find it open it and search for line :
and now depending on what device you have that number/letter could be for example :
>>HERO 7300<<
*LOCK_SCREEN_ORI:I = 1
*LOCK_SCREEN_SLIDE:I = 2
*LOCK_SCREEN_SENSE:I = 3
*LOCK_SCREEN_SENSE_G11:I = 4
*LOCK_SCREEN_GLASS:I = 5
*LOCK_SCREEN_SENSE_G11_PLUS:I = 6
*LOCK_SCREEN_SENSE_PLUS:I = 7
*LOCK_SCREEN_GLASS_G2:I = 8
*LOCK_SCREEN_IPHONE:I = 9
*LOCK_SCREEN_SENSE_G14:I = a
*LOCK_SCREEN_WAVE:I = b
*LOCK_SCREEN_ROLLER:I = c
>>STAR A3<<
*LOCK_SCREEN_ORI:I = 1
*LOCK_SCREEN_SLIDE:I = 2
*LOCK_SCREEN_SENSE:I = 3
*LOCK_SCREEN_SENSE_G11:I = 4
*LOCK_SCREEN_GLASS:I = 5
*LOCK_SCREEN_SENSE_G11_PLUS:I = 6
*LOCK_SCREEN_SENSE_PLUS:I = 7
*LOCK_SCREEN_GLASS_G2:I = 8
*LOCK_SCREEN_IPHONE:I = 9
>>SPICE Mi-350n<<
*LOCK_SCREEN_ORI:I = 0x1
*LOCK_SCREEN_SLIDE:I = 0x2
*LOCK_SCREEN_WINDBELL:I = 0x3
>>ALCATEl OT-991 / OT-918<<
*LOCK_SCREEN_ORI:I = 0x1
*LOCK_SCREEN_SLIDE:I = 0x2
*LOCK_SCREEN_JRD:I = 0x3
and this is how it should look like in case of OT-991/918
Attachment 2216448 Attachment 2216502 Attachment 2216450
lockscreen1 lockscreen2 lockscreen3
...but if you having custom rom there is a chance that developers already modify strings so u can't make that chances.
Best way is to decompile android.policy.jar (if u dont know how find it here) and search for LockPatternKeyguardView.smali which is located in :
When u open "LockPatternKeyguardView.smali" look for ... (or something like that) :
As u can see in this case, /Alcatel ot-991/ there is 3 lock screens (bolded strings). So that is the best to find out what number u have to write after "curlockscreen" string in build.prop.
Little explanation - "JRD" is Alcatel lockscreen - vertical pull down (pict. 3), "ORI" is Gingerbread original - horizontal slide (pict. 1) and "SLIDE" in this case is pull up lock with weekdays in bootom (pict. 2).
Oh and one last thing if u miss the number/letter that is not present in android.policy (for example u write 22 instead of 2) it should be fine, just ur lockscreen is gonna be set to default one.
After changing build.prop push it back to folder and reboot phone.
What Is Required :
PHP Code:
? Rooted phone
? Notepad++(for opening build.prop files)
? Android Commander
? Tool for decompiling jar files - apkmanager/apktool/virtous or...
Quote:
curlockscreen=[number/letter] |
>>HERO 7300<<
*LOCK_SCREEN_ORI:I = 1
*LOCK_SCREEN_SLIDE:I = 2
*LOCK_SCREEN_SENSE:I = 3
*LOCK_SCREEN_SENSE_G11:I = 4
*LOCK_SCREEN_GLASS:I = 5
*LOCK_SCREEN_SENSE_G11_PLUS:I = 6
*LOCK_SCREEN_SENSE_PLUS:I = 7
*LOCK_SCREEN_GLASS_G2:I = 8
*LOCK_SCREEN_IPHONE:I = 9
*LOCK_SCREEN_SENSE_G14:I = a
*LOCK_SCREEN_WAVE:I = b
*LOCK_SCREEN_ROLLER:I = c
>>STAR A3<<
*LOCK_SCREEN_ORI:I = 1
*LOCK_SCREEN_SLIDE:I = 2
*LOCK_SCREEN_SENSE:I = 3
*LOCK_SCREEN_SENSE_G11:I = 4
*LOCK_SCREEN_GLASS:I = 5
*LOCK_SCREEN_SENSE_G11_PLUS:I = 6
*LOCK_SCREEN_SENSE_PLUS:I = 7
*LOCK_SCREEN_GLASS_G2:I = 8
*LOCK_SCREEN_IPHONE:I = 9
>>SPICE Mi-350n<<
*LOCK_SCREEN_ORI:I = 0x1
*LOCK_SCREEN_SLIDE:I = 0x2
*LOCK_SCREEN_WINDBELL:I = 0x3
>>ALCATEl OT-991 / OT-918<<
*LOCK_SCREEN_ORI:I = 0x1
*LOCK_SCREEN_SLIDE:I = 0x2
*LOCK_SCREEN_JRD:I = 0x3
and this is how it should look like in case of OT-991/918
Attachment 2216448 Attachment 2216502 Attachment 2216450
lockscreen1 lockscreen2 lockscreen3
...but if you having custom rom there is a chance that developers already modify strings so u can't make that chances.
Best way is to decompile android.policy.jar (if u dont know how find it here) and search for LockPatternKeyguardView.smali which is located in :
Quote:
com/android/internal/policy/impl |
When u open "LockPatternKeyguardView.smali" look for ... (or something like that) :
Quote:
# static fields .field static final ACTION_EMERGENCY_DIAL:Ljava/lang/String; = "com.android.phone.EmergencyDialer.DIAL" .field private static final DEBUG:Z = false .field static final DEBUG_CONFIGURATION:Z = false .field private static final EMERGENCY_CALL_TIMEOUT:I = 0x2710 .field public static final LOCK_SCREEN_JRD:I = 0x3 .field public static final LOCK_SCREEN_ORI:I = 0x1 .field public static final LOCK_SCREEN_SLIDE:I = 0x2 .field private static final TAG:Ljava/lang/String; = "LockPatternKeyguardView" |
As u can see in this case, /Alcatel ot-991/ there is 3 lock screens (bolded strings). So that is the best to find out what number u have to write after "curlockscreen" string in build.prop.
Little explanation - "JRD" is Alcatel lockscreen - vertical pull down (pict. 3), "ORI" is Gingerbread original - horizontal slide (pict. 1) and "SLIDE" in this case is pull up lock with weekdays in bootom (pict. 2).
Oh and one last thing if u miss the number/letter that is not present in android.policy (for example u write 22 instead of 2) it should be fine, just ur lockscreen is gonna be set to default one.
After changing build.prop push it back to folder and reboot phone.