Post Reply

[Q] Modify Stock Lockscreen

OP galamdring

26th March 2012, 10:01 PM   |  #1  
OP Member
Thanks Meter: 19
 
31 posts
Join Date:Joined: Mar 2012
Hey all, been a reader for a couple months now, first time poster.

I am running Supercharged 5.2 on the Atrix 2 (MB865)
Replacing the lockscreen with an App isn't an option for me if I want to keep my work email on the phone.
I'm wondering if there is any way to make modifications to the lockscreen? I love the changes that were made for Supercharged, but I would like to take it a step further, but don't know where to start.
If possible, I would love to be able to convince the phone that something such as widgetlocker was the built-in lockscreen.

Anyone have any ideas? Or a starting direction?
26th March 2012, 10:38 PM   |  #2  
tmease1's Avatar
Senior Member
Flag Indiana
Thanks Meter: 364
 
1,413 posts
Join Date:Joined: Dec 2010
More
This is probably not what you are looking for but i use widgetlocker and it works good for me if i give it superuser permissions.

Sent from my MB865 using xda premium
26th March 2012, 11:04 PM   |  #3  
alteredlikeness's Avatar
Recognized Contributor
Flag reflecting on Indra's net
Thanks Meter: 5,318
 
2,410 posts
Join Date:Joined: Mar 2012
Donate to Me
More
Quote:
Originally Posted by galamdring

Hey all, been a reader for a couple months now, first time poster.

I am running Supercharged 5.2 on the Atrix 2 (MB865)
Replacing the lockscreen with an App isn't an option for me if I want to keep my work email on the phone.
I'm wondering if there is any way to make modifications to the lockscreen? I love the changes that were made for Supercharged, but I would like to take it a step further, but don't know where to start.
If possible, I would love to be able to convince the phone that something such as widgetlocker was the built-in lockscreen.

Anyone have any ideas? Or a starting direction?

You going to have to break apart the framework-res.apk and add a lock screen image (i think the zz_moto_lockscreen_sd_door.png file is missing from SCV5), possibly edit the related xml file, then put it back together and push it to your phone with adb... i've never done it but i'm sure with some proper searching and researching, you could pull it off..

the lockscreen image should be in /system/framework/framework-res.apk --> open the apk --> framework-res.apk/res/drawable-hdpi

Attached is the stock lock screen, if you can manage to slip it in there...without bricking your phone
Attached Thumbnails
Click image for larger version

Name:	zz_moto_lockscreen_sd_door.jpg
Views:	115
Size:	47.7 KB
ID:	966955  
Last edited by alteredlikeness; 26th March 2012 at 11:30 PM. Reason: added essential "brick" comment (BE CAREFUL!)
The Following User Says Thank You to alteredlikeness For This Useful Post: [ View ]
29th March 2012, 05:49 PM   |  #4  
alteredlikeness's Avatar
Recognized Contributor
Flag reflecting on Indra's net
Thanks Meter: 5,318
 
2,410 posts
Join Date:Joined: Mar 2012
Donate to Me
More
Did you figure it out yet? I managed to swap the lockscreen on the atrixblaze rom to the stock lockscreen (just to see if i could).. and it was pretty simple.

You need an apk tool like APK Manager or the MultiTool (i did it with APK Manager, since i read that there may be some issues with the MultiTool), then copy to your computer, and using APK Manager "extract zip" the framework-res.apk, swap out the lockscreen image file, and re-zip the apk with the APK Manager (it gets more complicated if you're editing xml files, but for images only this works well). Copy the modified framework-res.apk to your sd card, then using root explorer, copy it to your /system folder (you need to copy it here before moving it to the framework folder so you can change the permissions). Change the permissions to chmod 644 (like shown in the 3rd attached pic), then MOVE (do not copy) to the framework folder. It will ask you if you want to overwrite - say yes. Reboot. And done.

But, I didn't see a lockscreen file in SCV5, so this may not work for you at all. You could try to add it and hope that everything that references that image is still intact in the xml files..

NOTE: Please install the CWM on Boot before you try swapping your framework-res.apk, it can save you a lot of trouble if something goes wrong
Attached Thumbnails
Click image for larger version

Name:	1332856569831.jpg
Views:	108
Size:	34.6 KB
ID:	971740   Click image for larger version

Name:	1332910632832.jpg
Views:	91
Size:	68.0 KB
ID:	971741   Click image for larger version

Name:	permissions.png
Views:	75
Size:	15.1 KB
ID:	971742  
The Following User Says Thank You to alteredlikeness For This Useful Post: [ View ]
29th March 2012, 09:17 PM   |  #5  
OP Member
Thanks Meter: 19
 
31 posts
Join Date:Joined: Mar 2012
Thank you for the suggestions. I actually haven't been able to get the CWM on boot to work with SCV5.2.
I ended up finding a different way around. When it comes right down to it I hate the stock lockscreen. If I wanted to be stuck with a simple slide to unlock, I would just go back to the iPhone.
Was frustrating the hell out of me that my work email could place that kind of restriction on me.
So I hunted, and found an email app that used the webDav interface instead of directly accessing the Exchange Server, thus no device admin.
Maildroid was what worked for me with Exchange 2010.

Then to get the calendar on my phone, I used the Google Calendar Sync on my work computer, so no more need for device admin for any of it.

Got WidgetLocker and loving it.
29th March 2012, 10:39 PM   |  #6  
alteredlikeness's Avatar
Recognized Contributor
Flag reflecting on Indra's net
Thanks Meter: 5,318
 
2,410 posts
Join Date:Joined: Mar 2012
Donate to Me
More
Quote:
Originally Posted by galamdring

Thank you for the suggestions. I actually haven't been able to get the CWM on boot to work with SCV5.2.
I ended up finding a different way around. When it comes right down to it I hate the stock lockscreen. If I wanted to be stuck with a simple slide to unlock, I would just go back to the iPhone.
Was frustrating the hell out of me that my work email could place that kind of restriction on me.
So I hunted, and found an email app that used the webDav interface instead of directly accessing the Exchange Server, thus no device admin.
Maildroid was what worked for me with Exchange 2010.

Then to get the calendar on my phone, I used the Google Calendar Sync on my work computer, so no more need for device admin for any of it.

Got WidgetLocker and loving it.

Ahhhh. Yea, I hooked up to my work email at one time and it made me put on a pin or screen lock. So, I uninstalled it - don't really need my work email on my phone - or i can just check it through the web.
Glad you found a work-around though.. this may help some others with a similar issue.
30th March 2012, 03:16 PM   |  #7  
OP Member
Thanks Meter: 19
 
31 posts
Join Date:Joined: Mar 2012
Yeah, I hunted for days to try to find some form of work around. Most of the email apps either only support exchange 2007 or have the same device admin forced settings.
30th March 2012, 09:08 PM   |  #8  
nephillim's Avatar
Senior Member
Flag Danville
Thanks Meter: 27
 
137 posts
Join Date:Joined: Apr 2008
More
Isn't there a "Corporate Sync" somewhere for Accounts that will sync your exchange email without requiring the Security? I could have swore I saw it somewhere.....
30th March 2012, 09:39 PM   |  #9  
OP Member
Thanks Meter: 19
 
31 posts
Join Date:Joined: Mar 2012
I had seen a patch to the built in email app, but I couldn't get it to work with the blur crapola. I would like to try cyanogen, but until we get an unlocked bootloader or Jim and lfaber get safestrap working, guess I'm stuck.

Thanks for the responses. Nice to finally join a community that's all about helping and doesn't tolerate trolls.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes