• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

HELP! Original lockscreen or how to edit motorola lockscreen =S

Search This thread

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
i whant to edit or remove the motorola lockscreen...

But i can't, if i try to edit it, it doesn't work any more or doesn't work as before...

If not, remove this lockscreen and use the original android lockscreen.

i'm making a rom and i'm stucked with this.... and the background color of some items...
 

breezasib

Senior Member
Oct 19, 2008
141
34
In the froyo ROMs:

Decompile the framework-res.apk
Replace keyguard_screen_tab_unlock.xml
Replace the zz_moto_jog_tab pngs
If you also edit the integers.xml you can fix the problem where the sound slider is not right justified.

<integer name="config_lock_screen_slider_padding_left">58</integer>
<integer name="config_lock_screen_slider_padding_right">0</integer>
<integer name="config_lock_screen_slider_padding_top">58</integer>
<integer name="config_lock_screen_slider_padding_bottom">55</integer>


Bingo AOSP lock screen :)
defy_lockscreen.png
 

Attachments

  • XMLs.zip
    2 KB · Views: 113
Last edited:

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
Thanks!! but one more question for you my friend :D

I use 7zip to extract files from framework-res.apk but XML files, seems strange =S

rare simbols, and i can't understand anything
 

Perilla_

Senior Member
Mar 31, 2009
709
147
Cádiz
OnePlus 6
If you cant see the content of an xml, you can use axmlprinter2 to SEE this, but with that tool you cant change the xml, need to be done with hex editor.

There is a kitchen to do this? I think it can be done with apk manager.
 

breezasib

Senior Member
Oct 19, 2008
141
34
And how to do the same in 2.1 ROMs ? I'd love to get back original lockscreen - motorolas suck with green wallpaper ,)

Slightly different in 2.1:

You have to change the zz_moto_keyguard_screen_tab_unlock.xml in the framework-res.apk

And set the clockopia font in the digitalclock within the framework.jar
 

Attachments

  • zz_moto_keyguard_screen_tab_unlock.zip
    945 bytes · Views: 50
Last edited:

|ErosizeD|

Senior Member
Jan 23, 2010
850
504
okay i will try it, so to decompile and compile the apk i need to use apk manager and to see what is inside the XML, axmlprinter2?

EDIT:

Where are the XML styles to edit the background opacity/color and style??

THanks!
 
Last edited:

4305ms

Senior Member
Aug 20, 2010
133
3
Gothenburg
Nice! Almost to easy!

Q: When im alredy at it- cant i change the color and shape on the original sliders just by using other .png's? (i would like to have just plain gray circles and no "sliders".. and i'd like to change the clock to Digital clock widget by Maze- Im running with WidgetLocker now but.. you know how it is- ending a cal and your right back on the stock one- and somtimes it flaches by when locking/unlocking. And damn, I whant perfection!


Running Froyo btw.
 

vlaant

New member
Sep 16, 2008
1
0
You have done a great work on bringing native lockscreen to Defy. Thanks a lot! There is one more thing I would also love to have. It is Froyo call answer/hangup bars.. I'm curious do you have any thoughts on customizing blurphone.apk? Looking forward for the updates.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    In the froyo ROMs:

    Decompile the framework-res.apk
    Replace keyguard_screen_tab_unlock.xml
    Replace the zz_moto_jog_tab pngs
    If you also edit the integers.xml you can fix the problem where the sound slider is not right justified.

    <integer name="config_lock_screen_slider_padding_left">58</integer>
    <integer name="config_lock_screen_slider_padding_right">0</integer>
    <integer name="config_lock_screen_slider_padding_top">58</integer>
    <integer name="config_lock_screen_slider_padding_bottom">55</integer>


    Bingo AOSP lock screen :)
    defy_lockscreen.png