Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,810,941 Members 38,966 Now Online
XDA Developers Android and Mobile Development Forum

(Guide) how To port Ics Lockscreen To Gb Devices(Qualcom)

Tip us?
 
Droidbuster
Old
#51  
Droidbuster's Avatar
Member - OP
Thanks Meter 152
Posts: 90
Join Date: Jan 2014
Quote:
Originally Posted by drakonizer View Post
@Droidbuster and @sssomnath474

Thanks to both of you I have successfully ported this to both my GB devices, one is TI OMAP and the other one is ST Ericsson (both are HDPI, which is why I thanked somnath, for his HDPI sources). I have realized that this port does not depend on the SoC, but on the device manufacturer itself (because the android.policy.jar classes vary with manufacturer), and so a small piece of advice that I would give to anyone who tried this guide and failed is:
1) To get the lockscreen, all you need is proper smalis and the fonts and the build.prop mod. The HDPI sources are only to fix the appearance of the lockscreen.

2) When changing ids in the smali, make sure you remove one "0" after the x. For example, if your public.xml id is "0x010002b", make it "0x10002b". This is actually very important, as I found out. (maybe @Droidbuster should post this in the OP).

Thanks again and hope this post helps someone!

EDIT: @Droidbuster can you tell me what font is used for the date below the time?

thanks
you need to replace other font with MyDefineSmall.ttf
The Following User Says Thank You to Droidbuster For This Useful Post: [ Click to Expand ]
 
drakonizer
Old
#52  
drakonizer's Avatar
Senior Member
Thanks Meter 139
Posts: 213
Join Date: May 2013
Location: Bangalore
I see. Also is it possible to change the format of the date? Like by adding day of the week, and making it like jellybean?

Sent from my XT760
 
Wrlk
Old
#53  
Wrlk's Avatar
Junior Member
Thanks Meter 9
Posts: 15
Join Date: Apr 2014
Location: Mumbai

 
DONATE TO ME
Figured it out ...
M using this in my next Release .. thanks
Sent from my Micromax A57 NINJA 3


Team CyanoKat {NINJA 3}
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes